google-apis-workflowexecutions_v1 0.38.0 → 0.39.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: faccd66b0db6ec2d2f63325dacb4ba10797160e688cc3d337f4a6291d202e8ae
4
- data.tar.gz: 549c6801bf5ef9300fe0a5883447dee5c63bc8fb415e6e101e7a964a5b03b744
3
+ metadata.gz: 8649836d64e98e541ff5b03c5c235db1b0d8813f406aef82872d9df749aefef9
4
+ data.tar.gz: 4209d3ca5fcb7c538be47fd7e68ea5013fe59ee7fd276b05d3ed71cd203789a9
5
5
  SHA512:
6
- metadata.gz: 072e65ea898e68e586dbccbfd35c6530ea9fba173d2f2f453cbff319bfaa31a7781eda494cc89569fa032ffdac8c8092aa865cc64ed08fee7186fc3f981132cb
7
- data.tar.gz: 6bcaeba7954f92f1c8d9dfea0fd9985b9d155334e0f1c307cbd690f0f386aaa8eb7f0ed5af28b8562efc101674c185e1bd90d5d06454a38bdd5409fc824388e5
6
+ metadata.gz: 6d6030cf40f8600721f9386d06bd59ef4f9d47e8f1a36f5702bf4d291c3ba96b348db4a1a9467d733a3b81f23d339e7d74c812c4d83aa05a9519a8b9ba026f31
7
+ data.tar.gz: 9655032c47edaa8fa713e8f09a4d0d949a345b2bd7ce34ac4ebd86d31c7075f7e6309759cb656e2165b348915f3c7e9893af232db4bddb6215d04dae6a190594
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-workflowexecutions_v1
2
2
 
3
+ ### v0.39.0 (2024-08-25)
4
+
5
+ * Regenerated from discovery document revision 20240813
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.38.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240715
@@ -75,6 +75,35 @@ module Google
75
75
  end
76
76
  end
77
77
 
78
+ # Request for the DeleteExecutionHistory method.
79
+ class DeleteExecutionHistoryRequest
80
+ include Google::Apis::Core::Hashable
81
+
82
+ def initialize(**args)
83
+ update!(**args)
84
+ end
85
+
86
+ # Update properties of this object
87
+ def update!(**args)
88
+ end
89
+ end
90
+
91
+ # A generic empty message that you can re-use to avoid defining duplicated empty
92
+ # messages in your APIs. A typical example is to use it as the request or the
93
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
94
+ # protobuf.Empty) returns (google.protobuf.Empty); `
95
+ class Empty
96
+ include Google::Apis::Core::Hashable
97
+
98
+ def initialize(**args)
99
+ update!(**args)
100
+ end
101
+
102
+ # Update properties of this object
103
+ def update!(**args)
104
+ end
105
+ end
106
+
78
107
  # Error describes why the execution was abnormally terminated.
79
108
  class Error
80
109
  include Google::Apis::Core::Hashable
@@ -686,6 +715,11 @@ module Google
686
715
  # @return [String]
687
716
  attr_accessor :update_time
688
717
 
718
+ # VariableData contains the variable data for this step.
719
+ # Corresponds to the JSON property `variableData`
720
+ # @return [Google::Apis::WorkflowexecutionsV1::VariableData]
721
+ attr_accessor :variable_data
722
+
689
723
  def initialize(**args)
690
724
  update!(**args)
691
725
  end
@@ -703,6 +737,7 @@ module Google
703
737
  @step_entry_metadata = args[:step_entry_metadata] if args.key?(:step_entry_metadata)
704
738
  @step_type = args[:step_type] if args.key?(:step_type)
705
739
  @update_time = args[:update_time] if args.key?(:update_time)
740
+ @variable_data = args[:variable_data] if args.key?(:variable_data)
706
741
  end
707
742
  end
708
743
 
@@ -791,6 +826,25 @@ module Google
791
826
  @subscription = args[:subscription] if args.key?(:subscription)
792
827
  end
793
828
  end
829
+
830
+ # VariableData contains the variable data for this step.
831
+ class VariableData
832
+ include Google::Apis::Core::Hashable
833
+
834
+ # Variables that are associated with this step.
835
+ # Corresponds to the JSON property `variables`
836
+ # @return [Hash<String,Object>]
837
+ attr_accessor :variables
838
+
839
+ def initialize(**args)
840
+ update!(**args)
841
+ end
842
+
843
+ # Update properties of this object
844
+ def update!(**args)
845
+ @variables = args[:variables] if args.key?(:variables)
846
+ end
847
+ end
794
848
  end
795
849
  end
796
850
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkflowexecutionsV1
18
18
  # Version of the google-apis-workflowexecutions_v1 gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240715"
25
+ REVISION = "20240813"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class DeleteExecutionHistoryRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Empty
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class Error
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -142,6 +154,12 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class VariableData
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class Callback
146
164
  # @private
147
165
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -158,6 +176,18 @@ module Google
158
176
  end
159
177
  end
160
178
 
179
+ class DeleteExecutionHistoryRequest
180
+ # @private
181
+ class Representation < Google::Apis::Core::JsonRepresentation
182
+ end
183
+ end
184
+
185
+ class Empty
186
+ # @private
187
+ class Representation < Google::Apis::Core::JsonRepresentation
188
+ end
189
+ end
190
+
161
191
  class Error
162
192
  # @private
163
193
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -324,6 +354,8 @@ module Google
324
354
 
325
355
  property :step_type, as: 'stepType'
326
356
  property :update_time, as: 'updateTime'
357
+ property :variable_data, as: 'variableData', class: Google::Apis::WorkflowexecutionsV1::VariableData, decorator: Google::Apis::WorkflowexecutionsV1::VariableData::Representation
358
+
327
359
  end
328
360
  end
329
361
 
@@ -347,6 +379,13 @@ module Google
347
379
  property :subscription, as: 'subscription'
348
380
  end
349
381
  end
382
+
383
+ class VariableData
384
+ # @private
385
+ class Representation < Google::Apis::Core::JsonRepresentation
386
+ hash :variables, as: 'variables'
387
+ end
388
+ end
350
389
  end
351
390
  end
352
391
  end
@@ -156,6 +156,41 @@ module Google
156
156
  execute_or_queue_command(command, &block)
157
157
  end
158
158
 
159
+ # Deletes all step entries for an execution.
160
+ # @param [String] name
161
+ # Required. Name of the execution for which step entries should be deleted.
162
+ # Format: projects/`project`/locations/`location`/workflows/`workflow`/
163
+ # executions/`execution`
164
+ # @param [Google::Apis::WorkflowexecutionsV1::DeleteExecutionHistoryRequest] delete_execution_history_request_object
165
+ # @param [String] fields
166
+ # Selector specifying which fields to include in a partial response.
167
+ # @param [String] quota_user
168
+ # Available to use for quota purposes for server-side applications. Can be any
169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
170
+ # @param [Google::Apis::RequestOptions] options
171
+ # Request-specific options
172
+ #
173
+ # @yield [result, err] Result & error if block supplied
174
+ # @yieldparam result [Google::Apis::WorkflowexecutionsV1::Empty] parsed result object
175
+ # @yieldparam err [StandardError] error object if request failed
176
+ #
177
+ # @return [Google::Apis::WorkflowexecutionsV1::Empty]
178
+ #
179
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
180
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
182
+ def delete_execution_history(name, delete_execution_history_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
183
+ command = make_simple_command(:post, 'v1/{+name}:deleteExecutionHistory', options)
184
+ command.request_representation = Google::Apis::WorkflowexecutionsV1::DeleteExecutionHistoryRequest::Representation
185
+ command.request_object = delete_execution_history_request_object
186
+ command.response_representation = Google::Apis::WorkflowexecutionsV1::Empty::Representation
187
+ command.response_class = Google::Apis::WorkflowexecutionsV1::Empty
188
+ command.params['name'] = name unless name.nil?
189
+ command.query['fields'] = fields unless fields.nil?
190
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
191
+ execute_or_queue_command(command, &block)
192
+ end
193
+
159
194
  # Returns all metadata stored about an execution, excluding most data that is
160
195
  # already accessible using other API methods.
161
196
  # @param [String] name
@@ -337,6 +372,8 @@ module Google
337
372
  # Required. The name of the step entry to retrieve. Format: projects/`project`/
338
373
  # locations/`location`/workflows/`workflow`/executions/`execution`/stepEntries/`
339
374
  # step_entry`
375
+ # @param [String] view
376
+ # Deprecated field.
340
377
  # @param [String] fields
341
378
  # Selector specifying which fields to include in a partial response.
342
379
  # @param [String] quota_user
@@ -354,11 +391,12 @@ module Google
354
391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
355
392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
356
393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
357
- def get_project_location_workflow_execution_step_entry(name, fields: nil, quota_user: nil, options: nil, &block)
394
+ def get_project_location_workflow_execution_step_entry(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
358
395
  command = make_simple_command(:get, 'v1/{+name}', options)
359
396
  command.response_representation = Google::Apis::WorkflowexecutionsV1::StepEntry::Representation
360
397
  command.response_class = Google::Apis::WorkflowexecutionsV1::StepEntry
361
398
  command.params['name'] = name unless name.nil?
399
+ command.query['view'] = view unless view.nil?
362
400
  command.query['fields'] = fields unless fields.nil?
363
401
  command.query['quotaUser'] = quota_user unless quota_user.nil?
364
402
  execute_or_queue_command(command, &block)
@@ -368,14 +406,13 @@ module Google
368
406
  # are ordered by their create_time.
369
407
  # @param [String] parent
370
408
  # Required. Name of the workflow execution to list entries for. Format: projects/
371
- # `project`/locations/`location`/workflows/`workflow`/executions/`execution`/
372
- # stepEntries/
409
+ # `project`/locations/`location`/workflows/`workflow`/executions/`execution`
373
410
  # @param [String] filter
374
411
  # Optional. Filters applied to the `[StepEntries.ListStepEntries]` results. The
375
412
  # following fields are supported for filtering: `entryId`, `createTime`, `
376
- # updateTime`, `routine`, `step`, `stepType`, `state`. For details, see AIP-160.
377
- # For example, if you are using the Google APIs Explorer: `state="SUCCEEDED"` or
378
- # `createTime>"2023-08-01" AND state="FAILED"`
413
+ # updateTime`, `routine`, `step`, `stepType`, `parent`, `state`. For details,
414
+ # see AIP-160. For example, if you are using the Google APIs Explorer: `state="
415
+ # SUCCEEDED"` or `createTime>"2023-08-01" AND state="FAILED"`
379
416
  # @param [String] order_by
380
417
  # Optional. Comma-separated list of fields that specify the ordering applied to
381
418
  # the `[StepEntries.ListStepEntries]` results. By default the ordering is based
@@ -393,6 +430,8 @@ module Google
393
430
  # Optional. The number of step entries to skip. It can be used with or without a
394
431
  # pageToken. If used with a pageToken, then it indicates the number of step
395
432
  # entries to skip starting from the requested page.
433
+ # @param [String] view
434
+ # Deprecated field.
396
435
  # @param [String] fields
397
436
  # Selector specifying which fields to include in a partial response.
398
437
  # @param [String] quota_user
@@ -410,7 +449,7 @@ module Google
410
449
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
411
450
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
412
451
  # @raise [Google::Apis::AuthorizationError] Authorization is required
413
- def list_project_location_workflow_execution_step_entries(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, skip: nil, fields: nil, quota_user: nil, options: nil, &block)
452
+ def list_project_location_workflow_execution_step_entries(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, skip: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
414
453
  command = make_simple_command(:get, 'v1/{+parent}/stepEntries', options)
415
454
  command.response_representation = Google::Apis::WorkflowexecutionsV1::ListStepEntriesResponse::Representation
416
455
  command.response_class = Google::Apis::WorkflowexecutionsV1::ListStepEntriesResponse
@@ -420,6 +459,7 @@ module Google
420
459
  command.query['pageSize'] = page_size unless page_size.nil?
421
460
  command.query['pageToken'] = page_token unless page_token.nil?
422
461
  command.query['skip'] = skip unless skip.nil?
462
+ command.query['view'] = view unless view.nil?
423
463
  command.query['fields'] = fields unless fields.nil?
424
464
  command.query['quotaUser'] = quota_user unless quota_user.nil?
425
465
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workflowexecutions_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.39.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-25 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-workflowexecutions_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workflowexecutions_v1/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workflowexecutions_v1
63
63
  post_install_message:
64
64
  rdoc_options: []