google-apis-workflows_v1 0.28.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: 1c7b923b6aa6ffb69f967f1351299811c3e06a6d1072c0bee0986beba3d32c50
4
- data.tar.gz: a90d26ad906ae83d91c3c84645709c8c83fd293aadcbe2095d3a91b54f8e22d8
3
+ metadata.gz: f078d908cceb9eada9fb88bfc5a709122a46aeeb320120b729f4a48b6e44fa07
4
+ data.tar.gz: 216d5333c5a8c2cd046bc636108d171f27777971d168b266ee8f3daf449c6285
5
5
  SHA512:
6
- metadata.gz: 56fd799c678ba0716124685a461abad9c39db785ad8c470ad841493428d7c17152c94741c00bafbe6864e40102d21e8455572fd590dd31a5804ada561c16643f
7
- data.tar.gz: 9fc5a0f537eb4ecbbeddf2828745049a97e6421f7912489a10abf0c71ef4afb9a310d10d01853adcdbddbc3027f9ab5e58d5ea4a2124e6b4271b50b1e15901ff
6
+ metadata.gz: f322b96fc3e0d57d971ec44bfcf6a959a690bfacfc84f4e16211fe4c09a2186c6e66d799546f453eed11656d63d1866ae4f44e406584a7f3d07867f52141ac00
7
+ data.tar.gz: d74a7dae6c15826fb962f270333b854953de5972dc9a204b283c93416f274985c0e3d2c67f7d6178f0622e727925e5c09a18ca5454f12252f958ac6778b3c1d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.28.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230802
@@ -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
@@ -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.28.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 = "20230802"
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.28.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-08-20 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.28.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