google-apis-workflows_v1 0.27.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 524012236f61f0bce1925a2cce4c535d510bba7ea6e444bbd66e12978376eaf2
4
- data.tar.gz: cb67bdc48a18707d1174fd1be32962c92c50cafb50ac8c28e81dbe2e1df101fe
3
+ metadata.gz: f078d908cceb9eada9fb88bfc5a709122a46aeeb320120b729f4a48b6e44fa07
4
+ data.tar.gz: 216d5333c5a8c2cd046bc636108d171f27777971d168b266ee8f3daf449c6285
5
5
  SHA512:
6
- metadata.gz: ad946fc9f3065dfdc88aeb7c534ec87008c30f8d2fc028cdbb90f678d6d4ca5c3a1d69455f30982294455f1f9a8ac2a655af41023ab05987e65af74e152d66cb
7
- data.tar.gz: 5e215f2c11aa7991880bc3ceb9b8ffce99b299310f1bbfe132fc41365df0e28715a6281401bd8b2d27c86ae6acb3ec46045accbd5bd5874ec224b7c6c9268f4f
6
+ metadata.gz: f322b96fc3e0d57d971ec44bfcf6a959a690bfacfc84f4e16211fe4c09a2186c6e66d799546f453eed11656d63d1866ae4f44e406584a7f3d07867f52141ac00
7
+ data.tar.gz: d74a7dae6c15826fb962f270333b854953de5972dc9a204b283c93416f274985c0e3d2c67f7d6178f0622e727925e5c09a18ca5454f12252f958ac6778b3c1d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workflows_v1
2
2
 
3
+ ### v0.29.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230906
6
+
7
+ ### v0.28.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230802
10
+
3
11
  ### v0.27.0 (2023-06-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20230619
@@ -88,6 +88,32 @@ module Google
88
88
  end
89
89
  end
90
90
 
91
+ # Response for the ListWorkflowRevisions method.
92
+ class ListWorkflowRevisionsResponse
93
+ include Google::Apis::Core::Hashable
94
+
95
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
96
+ # field is omitted, there are no subsequent pages.
97
+ # Corresponds to the JSON property `nextPageToken`
98
+ # @return [String]
99
+ attr_accessor :next_page_token
100
+
101
+ # The revisions of the workflow, ordered in reverse chronological order.
102
+ # Corresponds to the JSON property `workflows`
103
+ # @return [Array<Google::Apis::WorkflowsV1::Workflow>]
104
+ attr_accessor :workflows
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
113
+ @workflows = args[:workflows] if args.key?(:workflows)
114
+ end
115
+ end
116
+
91
117
  # Response for the ListWorkflows method.
92
118
  class ListWorkflowsResponse
93
119
  include Google::Apis::Core::Hashable
@@ -204,13 +230,13 @@ module Google
204
230
  # @return [String]
205
231
  attr_accessor :name
206
232
 
207
- # The normal response of the operation in case of success. If the original
208
- # method returns no data on success, such as `Delete`, the response is `google.
209
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
210
- # the response should be the resource. For other methods, the response should
211
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
212
- # example, if the original method name is `TakeSnapshot()`, the inferred
213
- # response type is `TakeSnapshotResponse`.
233
+ # The normal, successful response of the operation. If the original method
234
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
235
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
236
+ # response should be the resource. For other methods, the response should have
237
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
238
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
239
+ # `TakeSnapshotResponse`.
214
240
  # Corresponds to the JSON property `response`
215
241
  # @return [Hash<String,Object>]
216
242
  attr_accessor :response
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkflowsV1
18
18
  # Version of the google-apis-workflows_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230619"
25
+ REVISION = "20230906"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class ListWorkflowRevisionsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class ListWorkflowsResponse
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -106,6 +112,15 @@ module Google
106
112
  end
107
113
  end
108
114
 
115
+ class ListWorkflowRevisionsResponse
116
+ # @private
117
+ class Representation < Google::Apis::Core::JsonRepresentation
118
+ property :next_page_token, as: 'nextPageToken'
119
+ collection :workflows, as: 'workflows', class: Google::Apis::WorkflowsV1::Workflow, decorator: Google::Apis::WorkflowsV1::Workflow::Representation
120
+
121
+ end
122
+ end
123
+
109
124
  class ListWorkflowsResponse
110
125
  # @private
111
126
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -391,6 +391,46 @@ module Google
391
391
  execute_or_queue_command(command, &block)
392
392
  end
393
393
 
394
+ # Lists revisions for a given workflow.
395
+ # @param [String] name
396
+ # Required. Workflow from which the revisions should be listed. Format: projects/
397
+ # `project`/locations/`location`/workflows/`workflow`
398
+ # @param [Fixnum] page_size
399
+ # The maximum number of revisions to return per page. If a value is not
400
+ # specified, a default value of 20 is used. The maximum permitted value is 100
401
+ # and values greater than 100 coerced down to 100.
402
+ # @param [String] page_token
403
+ # The page token, received from a previous ListWorkflowRevisions call. Provide
404
+ # this to retrieve the subsequent page.
405
+ # @param [String] fields
406
+ # Selector specifying which fields to include in a partial response.
407
+ # @param [String] quota_user
408
+ # Available to use for quota purposes for server-side applications. Can be any
409
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
410
+ # @param [Google::Apis::RequestOptions] options
411
+ # Request-specific options
412
+ #
413
+ # @yield [result, err] Result & error if block supplied
414
+ # @yieldparam result [Google::Apis::WorkflowsV1::ListWorkflowRevisionsResponse] parsed result object
415
+ # @yieldparam err [StandardError] error object if request failed
416
+ #
417
+ # @return [Google::Apis::WorkflowsV1::ListWorkflowRevisionsResponse]
418
+ #
419
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
420
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
421
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
422
+ def list_project_location_workflow_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
423
+ command = make_simple_command(:get, 'v1/{+name}:listRevisions', options)
424
+ command.response_representation = Google::Apis::WorkflowsV1::ListWorkflowRevisionsResponse::Representation
425
+ command.response_class = Google::Apis::WorkflowsV1::ListWorkflowRevisionsResponse
426
+ command.params['name'] = name unless name.nil?
427
+ command.query['pageSize'] = page_size unless page_size.nil?
428
+ command.query['pageToken'] = page_token unless page_token.nil?
429
+ command.query['fields'] = fields unless fields.nil?
430
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
431
+ execute_or_queue_command(command, &block)
432
+ end
433
+
394
434
  # Updates an existing workflow. Running this method has no impact on already
395
435
  # running executions of the workflow. A new revision of the workflow might be
396
436
  # created as a result of a successful update operation. In that case, the new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workflows_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workflows_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workflows_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflows_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workflows_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Workflows API V1