google-apis-workflows_v1 0.18.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a5ec6a65f4029f541d72d5cd3898e187e34fe17cd3efd8dfa799c7d574f49d3
4
- data.tar.gz: acb350bfce96892e215628d5096d5c71eada71d736a46cf79161dae73f50cf86
3
+ metadata.gz: 6d363f1f3b5b881334da685d38b5055aca4aeb6c1cc1af641cd532da68d58bdf
4
+ data.tar.gz: 36d2a21dc46dab1cda04f10259df0aa5397459e62bb73829a66d127a8a11ce30
5
5
  SHA512:
6
- metadata.gz: 1c805b4f80c0a9e6ed094a9d620032c37653b61f1c2a40ce8316dab57a3e0cdef87eb2d71679a4683a6c0867ea720b838e34964cd348a123c92e7dbb1c6a8460
7
- data.tar.gz: 761119f0714e2391a8029ed76dc037bf7be011367e6777ffa1d2c415c356288ada83c08565bf5afba3ff2502579447d5af2fd85b7d462fd2fc516c4a977da7b9
6
+ metadata.gz: 35426c7951b556e1ff0687086f92c10f1e61a274b52eb690a4c39013b32e8771da8572f4a033487013c989397a2ca6f950bae24303afbb6aee98b5fa90730086
7
+ data.tar.gz: 791a4f142592b475829ab0936ea4b2c027f0666bc72a223509e38e733368ce56fc09c753f087e0cb0728ab97fcc7c3fc8cb15fec79a3ea3e48b81f9393a48346
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workflows_v1
2
2
 
3
+ ### v0.20.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230125
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.19.0 (2022-12-19)
9
+
10
+ * Regenerated from discovery document revision 20221208
11
+
3
12
  ### v0.18.0 (2022-10-27)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -103,7 +103,7 @@ module Google
103
103
  # @return [Array<String>]
104
104
  attr_accessor :unreachable
105
105
 
106
- # The workflows which match the request.
106
+ # The workflows that match the request.
107
107
  # Corresponds to the JSON property `workflows`
108
108
  # @return [Array<Google::Apis::WorkflowsV1::Workflow>]
109
109
  attr_accessor :workflows
@@ -315,7 +315,7 @@ module Google
315
315
  class Workflow
316
316
  include Google::Apis::Core::Hashable
317
317
 
318
- # Output only. The timestamp of when the workflow was created.
318
+ # Output only. The timestamp for when the workflow was created.
319
319
  # Corresponds to the JSON property `createTime`
320
320
  # @return [String]
321
321
  attr_accessor :create_time
@@ -328,8 +328,8 @@ module Google
328
328
 
329
329
  # Labels associated with this workflow. Labels can contain at most 64 entries.
330
330
  # Keys and values can be no longer than 63 characters and can only contain
331
- # lowercase letters, numeric characters, underscores and dashes. Label keys must
332
- # start with a letter. International characters are allowed.
331
+ # lowercase letters, numeric characters, underscores, and dashes. Label keys
332
+ # must start with a letter. International characters are allowed.
333
333
  # Corresponds to the JSON property `labels`
334
334
  # @return [Hash<String,String>]
335
335
  attr_accessor :labels
@@ -340,8 +340,7 @@ module Google
340
340
  # @return [String]
341
341
  attr_accessor :name
342
342
 
343
- # Output only. The timestamp that the latest revision of the workflow was
344
- # created.
343
+ # Output only. The timestamp for the latest revision of the workflow's creation.
345
344
  # Corresponds to the JSON property `revisionCreateTime`
346
345
  # @return [String]
347
346
  attr_accessor :revision_create_time
@@ -378,7 +377,7 @@ module Google
378
377
  # @return [String]
379
378
  attr_accessor :state
380
379
 
381
- # Output only. The last update timestamp of the workflow.
380
+ # Output only. The timestamp for when the workflow was last updated.
382
381
  # Corresponds to the JSON property `updateTime`
383
382
  # @return [String]
384
383
  attr_accessor :update_time
@@ -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.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220406"
25
+ REVISION = "20230125"
26
26
  end
27
27
  end
28
28
  end
@@ -234,7 +234,7 @@ module Google
234
234
  end
235
235
 
236
236
  # Creates a new workflow. If a workflow with the specified name already exists
237
- # in the specified project and location, the long running operation will return
237
+ # in the specified project and location, the long running operation returns a
238
238
  # ALREADY_EXISTS error.
239
239
  # @param [String] parent
240
240
  # Required. Project and location in which the workflow should be created. Format:
@@ -308,10 +308,16 @@ module Google
308
308
  execute_or_queue_command(command, &block)
309
309
  end
310
310
 
311
- # Gets details of a single Workflow.
311
+ # Gets details of a single workflow.
312
312
  # @param [String] name
313
- # Required. Name of the workflow which information should be retrieved. Format:
314
- # projects/`project`/locations/`location`/workflows/`workflow`
313
+ # Required. Name of the workflow for which information should be retrieved.
314
+ # Format: projects/`project`/locations/`location`/workflows/`workflow`
315
+ # @param [String] revision_id
316
+ # Optional. Optional. The revision of the workflow to retrieve. If the
317
+ # revision_id is empty, the latest revision is retrieved. The format is "000001-
318
+ # a4d", where the first 6 characters define the zero-padded decimal revision
319
+ # number. They are followed by a hyphen and 3 hexadecimal characters. (go/
320
+ # wf_adr_clh_1)
315
321
  # @param [String] fields
316
322
  # Selector specifying which fields to include in a partial response.
317
323
  # @param [String] quota_user
@@ -329,17 +335,18 @@ module Google
329
335
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
330
336
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
331
337
  # @raise [Google::Apis::AuthorizationError] Authorization is required
332
- def get_project_location_workflow(name, fields: nil, quota_user: nil, options: nil, &block)
338
+ def get_project_location_workflow(name, revision_id: nil, fields: nil, quota_user: nil, options: nil, &block)
333
339
  command = make_simple_command(:get, 'v1/{+name}', options)
334
340
  command.response_representation = Google::Apis::WorkflowsV1::Workflow::Representation
335
341
  command.response_class = Google::Apis::WorkflowsV1::Workflow
336
342
  command.params['name'] = name unless name.nil?
343
+ command.query['revisionId'] = revision_id unless revision_id.nil?
337
344
  command.query['fields'] = fields unless fields.nil?
338
345
  command.query['quotaUser'] = quota_user unless quota_user.nil?
339
346
  execute_or_queue_command(command, &block)
340
347
  end
341
348
 
342
- # Lists Workflows in a given project and location. The default order is not
349
+ # Lists workflows in a given project and location. The default order is not
343
350
  # specified.
344
351
  # @param [String] parent
345
352
  # Required. Project and location from which the workflows should be listed.
@@ -347,15 +354,15 @@ module Google
347
354
  # @param [String] filter
348
355
  # Filter to restrict results to specific workflows.
349
356
  # @param [String] order_by
350
- # Comma-separated list of fields that that specify the order of the results.
351
- # Default sorting order for a field is ascending. To specify descending order
352
- # for a field, append a " desc" suffix. If not specified, the results will be
353
- # returned in an unspecified order.
357
+ # Comma-separated list of fields that specify the order of the results. Default
358
+ # sorting order for a field is ascending. To specify descending order for a
359
+ # field, append a "desc" suffix. If not specified, the results are returned in
360
+ # an unspecified order.
354
361
  # @param [Fixnum] page_size
355
- # Maximum number of workflows to return per call. The service may return fewer
356
- # than this value. If the value is not specified, a default value of 500 will be
357
- # used. The maximum permitted value is 1000 and values greater than 1000 will be
358
- # coerced down to 1000.
362
+ # Maximum number of workflows to return per call. The service might return fewer
363
+ # than this value even if not at the end of the collection. If a value is not
364
+ # specified, a default value of 500 is used. The maximum permitted value is 1000
365
+ # and values greater than 1000 are coerced down to 1000.
359
366
  # @param [String] page_token
360
367
  # A page token, received from a previous `ListWorkflows` call. Provide this to
361
368
  # retrieve the subsequent page. When paginating, all other parameters provided
@@ -392,9 +399,9 @@ module Google
392
399
  end
393
400
 
394
401
  # Updates an existing workflow. Running this method has no impact on already
395
- # running executions of the workflow. A new revision of the workflow may be
396
- # created as a result of a successful update operation. In that case, such
397
- # revision will be used in new workflow executions.
402
+ # running executions of the workflow. A new revision of the workflow might be
403
+ # created as a result of a successful update operation. In that case, the new
404
+ # revision is used in new workflow executions.
398
405
  # @param [String] name
399
406
  # The resource name of the workflow. Format: projects/`project`/locations/`
400
407
  # location`/workflows/`workflow`
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.18.0
4
+ version: 0.20.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2023-02-05 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflows_v1/v0.20.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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Workflows API V1