google-cloud-workflows-executions-v1 1.4.1 → 1.5.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: 804671167e0f47e5f2d86415410d23ccbc399216b64df02d9e38c1d74d52ad2b
4
- data.tar.gz: b71598fa58f4218f03d51a915d1b9e4e346b157dbf37cc003506b02f92c9879c
3
+ metadata.gz: f405f8b5e8dc70d892762de7716e9e84fa65dafe28b961227402ba850a06efb0
4
+ data.tar.gz: 045b03a26188c2e47caa21429fc74f674e7fa18d459f7eeeb20a1c643cfb4dd4
5
5
  SHA512:
6
- metadata.gz: 82abbc87316b188c46f921acfcd798fe7abfff80ac06dfe08c236e16160cdeaca9f450fd501504e012ee4681c6b3bedb9fde8de520e9c14ebf5e34744e12ec3f
7
- data.tar.gz: df286c5a18f8372cfced49464ee691082ced859d49a03b2797197d192a6ded6b8d711788eb80645b95f2d75e8bdb37c94b7f8215d083f25a17dda5398115b88c
6
+ metadata.gz: 79fc270ba170c31f8a658bdb6c727c8e369e564559a7d6cd57d0c0265590f506238d99ad291d06b1771596e93e91180ebba85dcde6cb4ce572d7d00eb041e91b
7
+ data.tar.gz: 7e7f5fe6b06608f85baf63e88f6028f19b2e3861057bbbc1dc31e5aeefd24a8c73dbc42d43ad7c4633f2c56212680d5825c4843a7214c42dd27d466c0e197d72
@@ -14,31 +14,8 @@ require 'google/protobuf/timestamp_pb'
14
14
 
15
15
  descriptor_data = "\n5google/cloud/workflows/executions/v1/executions.proto\x12$google.cloud.workflows.executions.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x0e\n\tExecution\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x30\n\x08\x64uration\x18\x0c \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12I\n\x05state\x18\x04 \x01(\x0e\x32\x35.google.cloud.workflows.executions.v1.Execution.StateB\x03\xe0\x41\x03\x12\x10\n\x08\x61rgument\x18\x05 \x01(\t\x12\x13\n\x06result\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12I\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x35.google.cloud.workflows.executions.v1.Execution.ErrorB\x03\xe0\x41\x03\x12!\n\x14workflow_revision_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12T\n\x0e\x63\x61ll_log_level\x18\t \x01(\x0e\x32<.google.cloud.workflows.executions.v1.Execution.CallLogLevel\x12K\n\x06status\x18\n \x01(\x0b\x32\x36.google.cloud.workflows.executions.v1.Execution.StatusB\x03\xe0\x41\x03\x12K\n\x06labels\x18\x0b \x03(\x0b\x32;.google.cloud.workflows.executions.v1.Execution.LabelsEntry\x12T\n\x0bstate_error\x18\r \x01(\x0b\x32:.google.cloud.workflows.executions.v1.Execution.StateErrorB\x03\xe0\x41\x03\x1a\xca\x01\n\x11StackTraceElement\x12\x0c\n\x04step\x18\x01 \x01(\t\x12\x0f\n\x07routine\x18\x02 \x01(\t\x12\\\n\x08position\x18\x03 \x01(\x0b\x32J.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position\x1a\x38\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x03\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x03\x12\x0e\n\x06length\x18\x03 \x01(\x03\x1a\x61\n\nStackTrace\x12S\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x41.google.cloud.workflows.executions.v1.Execution.StackTraceElement\x1az\n\x05\x45rror\x12\x0f\n\x07payload\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontext\x18\x02 \x01(\t\x12O\n\x0bstack_trace\x18\x03 \x01(\x0b\x32:.google.cloud.workflows.executions.v1.Execution.StackTrace\x1a\x83\x01\n\x06Status\x12R\n\rcurrent_steps\x18\x01 \x03(\x0b\x32;.google.cloud.workflows.executions.v1.Execution.Status.Step\x1a%\n\x04Step\x12\x0f\n\x07routine\x18\x01 \x01(\t\x12\x0c\n\x04step\x18\x02 \x01(\t\x1a\x99\x01\n\nStateError\x12\x0f\n\x07\x64\x65tails\x18\x01 \x01(\t\x12M\n\x04type\x18\x02 \x01(\x0e\x32?.google.cloud.workflows.executions.v1.Execution.StateError.Type\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tKMS_ERROR\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\x0f\n\x0bUNAVAILABLE\x10\x05\x12\n\n\x06QUEUED\x10\x06\"d\n\x0c\x43\x61llLogLevel\x12\x1e\n\x1a\x43\x41LL_LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rLOG_ALL_CALLS\x10\x01\x12\x13\n\x0fLOG_ERRORS_ONLY\x10\x02\x12\x0c\n\x08LOG_NONE\x10\x03:\x86\x01\xea\x41\x82\x01\n+workflowexecutions.googleapis.com/Execution\x12Sprojects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}\"\xed\x01\n\x15ListExecutionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x46\n\x04view\x18\x04 \x01(\x0e\x32\x33.google.cloud.workflows.executions.v1.ExecutionViewB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"v\n\x16ListExecutionsResponse\x12\x43\n\nexecutions\x18\x01 \x03(\x0b\x32/.google.cloud.workflows.executions.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9c\x01\n\x16\x43reateExecutionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\x12G\n\texecution\x18\x02 \x01(\x0b\x32/.google.cloud.workflows.executions.v1.ExecutionB\x03\xe0\x41\x02\"\xa0\x01\n\x13GetExecutionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+workflowexecutions.googleapis.com/Execution\x12\x46\n\x04view\x18\x02 \x01(\x0e\x32\x33.google.cloud.workflows.executions.v1.ExecutionViewB\x03\xe0\x41\x01\"[\n\x16\x43\x61ncelExecutionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+workflowexecutions.googleapis.com/Execution*D\n\rExecutionView\x12\x1e\n\x1a\x45XECUTION_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x32\xc3\x07\n\nExecutions\x12\xd8\x01\n\x0eListExecutions\x12;.google.cloud.workflows.executions.v1.ListExecutionsRequest\x1a<.google.cloud.workflows.executions.v1.ListExecutionsResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/*/workflows/*}/executions\x12\xe2\x01\n\x0f\x43reateExecution\x12<.google.cloud.workflows.executions.v1.CreateExecutionRequest\x1a/.google.cloud.workflows.executions.v1.Execution\"`\xda\x41\x10parent,execution\x82\xd3\xe4\x93\x02G\":/v1/{parent=projects/*/locations/*/workflows/*}/executions:\texecution\x12\xc5\x01\n\x0cGetExecution\x12\x39.google.cloud.workflows.executions.v1.GetExecutionRequest\x1a/.google.cloud.workflows.executions.v1.Execution\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/*/workflows/*/executions/*}\x12\xd5\x01\n\x0f\x43\x61ncelExecution\x12<.google.cloud.workflows.executions.v1.CancelExecutionRequest\x1a/.google.cloud.workflows.executions.v1.Execution\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\"A/v1/{name=projects/*/locations/*/workflows/*/executions/*}:cancel:\x01*\x1aU\xca\x41!workflowexecutions.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xeb\x01\n(com.google.cloud.workflows.executions.v1B\x0f\x45xecutionsProtoP\x01ZHcloud.google.com/go/workflows/executions/apiv1/executionspb;executionspb\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}b\x06proto3"
16
16
 
17
- pool = Google::Protobuf::DescriptorPool.generated_pool
18
-
19
- begin
20
- pool.add_serialized_file(descriptor_data)
21
- rescue TypeError
22
- # Compatibility code: will be removed in the next major version.
23
- require 'google/protobuf/descriptor_pb'
24
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
- parsed.clear_dependency
26
- serialized = parsed.class.encode(parsed)
27
- file = pool.add_serialized_file(serialized)
28
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
- imports = [
30
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
32
- ]
33
- imports.each do |type_name, expected_filename|
34
- import_file = pool.lookup(type_name).file_descriptor
35
- if import_file.name != expected_filename
36
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
- end
38
- end
39
- warn "Each proto file must use a consistent fully-qualified name."
40
- warn "This will become an error in the next major version."
41
- end
17
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
42
19
 
43
20
  module Google
44
21
  module Cloud
@@ -22,7 +22,7 @@ module Google
22
22
  module Workflows
23
23
  module Executions
24
24
  module V1
25
- VERSION = "1.4.1"
25
+ VERSION = "1.5.0"
26
26
  end
27
27
  end
28
28
  end
@@ -141,9 +141,10 @@ module Google
141
141
  #
142
142
  # Example of a YAML configuration::
143
143
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
144
+ # publishing:
145
+ # library_settings:
146
+ # java_settings:
147
+ # library_package: com.google.cloud.pubsub.v1
147
148
  # @!attribute [rw] service_class_names
148
149
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
150
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ module Google
155
156
  #
156
157
  # Example of a YAML configuration::
157
158
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
159
+ # publishing:
160
+ # java_settings:
161
+ # service_class_names:
162
+ # - google.pubsub.v1.Publisher: TopicAdmin
163
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
164
  # @!attribute [rw] common
164
165
  # @return [::Google::Api::CommonLanguageSettings]
165
166
  # Some settings.
@@ -190,6 +191,20 @@ module Google
190
191
  # @!attribute [rw] common
191
192
  # @return [::Google::Api::CommonLanguageSettings]
192
193
  # Some settings.
194
+ # @!attribute [rw] library_package
195
+ # @return [::String]
196
+ # The package name to use in Php. Clobbers the php_namespace option
197
+ # set in the protobuf. This should be used **only** by APIs
198
+ # who have already set the language_settings.php.package_name" field
199
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
200
+ # where possible.
201
+ #
202
+ # Example of a YAML configuration::
203
+ #
204
+ # publishing:
205
+ # library_settings:
206
+ # php_settings:
207
+ # library_package: Google\Cloud\PubSub\V1
193
208
  class PhpSettings
194
209
  include ::Google::Protobuf::MessageExts
195
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ module Google
318
333
  # service names and values are the name to be used for the service client
319
334
  # and call options.
320
335
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
336
+ # Example:
337
+ #
338
+ # publishing:
339
+ # go_settings:
340
+ # renamed_services:
341
+ # Publisher: TopicAdmin
325
342
  class GoSettings
326
343
  include ::Google::Protobuf::MessageExts
327
344
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ module Google
344
361
  #
345
362
  # Example:
346
363
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
364
+ # publishing:
365
+ # method_settings:
366
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
367
+ # # method settings for CreateFolder...
351
368
  # @!attribute [rw] long_running
352
369
  # @return [::Google::Api::MethodSettings::LongRunning]
353
370
  # Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ module Google
356
373
  #
357
374
  # Example of a YAML configuration::
358
375
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
376
+ # publishing:
377
+ # method_settings:
378
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
379
+ # long_running:
380
+ # initial_poll_delay: 60s # 1 minute
381
+ # poll_delay_multiplier: 1.5
382
+ # max_poll_delay: 360s # 6 minutes
383
+ # total_poll_timeout: 54000s # 90 minutes
367
384
  # @!attribute [rw] auto_populated_fields
368
385
  # @return [::Array<::String>]
369
386
  # List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ module Google
372
389
  #
373
390
  # Example of a YAML configuration:
374
391
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
392
+ # publishing:
393
+ # method_settings:
394
+ # - selector: google.example.v1.ExampleService.CreateExample
395
+ # auto_populated_fields:
396
+ # - request_id
397
+ # @!attribute [rw] batching
398
+ # @return [::Google::Api::BatchingConfigProto]
399
+ # Batching configuration for an API method in client libraries.
400
+ #
401
+ # Example of a YAML configuration:
402
+ #
403
+ # publishing:
404
+ # method_settings:
405
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
406
+ # batching:
407
+ # element_count_threshold: 1000
408
+ # request_byte_threshold: 100000000
409
+ # delay_threshold_millis: 10
380
410
  class MethodSettings
381
411
  include ::Google::Protobuf::MessageExts
382
412
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ module Google
428
458
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
459
  end
430
460
 
461
+ # `BatchingConfigProto` defines the batching configuration for an API method.
462
+ # @!attribute [rw] thresholds
463
+ # @return [::Google::Api::BatchingSettingsProto]
464
+ # The thresholds which trigger a batched request to be sent.
465
+ # @!attribute [rw] batch_descriptor
466
+ # @return [::Google::Api::BatchingDescriptorProto]
467
+ # The request and response fields used in batching.
468
+ class BatchingConfigProto
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
474
+ # which acts as a trigger to send a batch of messages as a request. At least
475
+ # one threshold must be positive nonzero.
476
+ # @!attribute [rw] element_count_threshold
477
+ # @return [::Integer]
478
+ # The number of elements of a field collected into a batch which, if
479
+ # exceeded, causes the batch to be sent.
480
+ # @!attribute [rw] request_byte_threshold
481
+ # @return [::Integer]
482
+ # The aggregated size of the batched field which, if exceeded, causes the
483
+ # batch to be sent. This size is computed by aggregating the sizes of the
484
+ # request field to be batched, not of the entire request message.
485
+ # @!attribute [rw] delay_threshold
486
+ # @return [::Google::Protobuf::Duration]
487
+ # The duration after which a batch should be sent, starting from the addition
488
+ # of the first message to that batch.
489
+ # @!attribute [rw] element_count_limit
490
+ # @return [::Integer]
491
+ # The maximum number of elements collected in a batch that could be accepted
492
+ # by server.
493
+ # @!attribute [rw] request_byte_limit
494
+ # @return [::Integer]
495
+ # The maximum size of the request that could be accepted by server.
496
+ # @!attribute [rw] flow_control_element_limit
497
+ # @return [::Integer]
498
+ # The maximum number of elements allowed by flow control.
499
+ # @!attribute [rw] flow_control_byte_limit
500
+ # @return [::Integer]
501
+ # The maximum size of data allowed by flow control.
502
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
503
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
504
+ # The behavior to take when the flow control limit is exceeded.
505
+ class BatchingSettingsProto
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
+ end
509
+
510
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
511
+ # used for batching, and, optionally, the fields of the response message to be
512
+ # used for demultiplexing.
513
+ # @!attribute [rw] batched_field
514
+ # @return [::String]
515
+ # The repeated field in the request message to be aggregated by batching.
516
+ # @!attribute [rw] discriminator_fields
517
+ # @return [::Array<::String>]
518
+ # A list of the fields in the request message. Two requests will be batched
519
+ # together only if the values of every field specified in
520
+ # `request_discriminator_fields` is equal between the two requests.
521
+ # @!attribute [rw] subresponse_field
522
+ # @return [::String]
523
+ # Optional. When present, indicates the field in the response message to be
524
+ # used to demultiplex the response into multiple response messages, in
525
+ # correspondence with the multiple request messages originally batched
526
+ # together.
527
+ class BatchingDescriptorProto
528
+ include ::Google::Protobuf::MessageExts
529
+ extend ::Google::Protobuf::MessageExts::ClassMethods
530
+ end
531
+
431
532
  # The organization for which the client libraries are being published.
432
533
  # Affects the url where generated docs are published, etc.
433
534
  module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module Google
469
570
  # Publish the library to package managers like nuget.org and npmjs.com.
470
571
  PACKAGE_MANAGER = 20
471
572
  end
573
+
574
+ # The behavior to take when the flow control limit is exceeded.
575
+ module FlowControlLimitExceededBehaviorProto
576
+ # Default behavior, system-defined.
577
+ UNSET_BEHAVIOR = 0
578
+
579
+ # Stop operation, raise error.
580
+ THROW_EXCEPTION = 1
581
+
582
+ # Pause operation until limit clears.
583
+ BLOCK = 2
584
+
585
+ # Continue operation, disregard limit.
586
+ IGNORE = 3
587
+ end
472
588
  end
473
589
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-executions-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -85,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: '3.1'
88
+ version: '3.2'
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - ">="