google-cloud-workflows-v1beta 0.10.0 → 0.12.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: e43f1ef671208c097caa5005c88eeb8c23ecfdd02fed08fbd8f354b29aa9458d
4
- data.tar.gz: a4cb6b771134c0fb4f256caf073d4f758058494e4460b6293e390399ab39e4bf
3
+ metadata.gz: fc670e6513b7d65badc2e7cffbc6a6c8ed8d900ceca1bef695fe098ba3881314
4
+ data.tar.gz: 436599ec838b7ed9fa63cfe360849f80d22c0b2c8f675b5de03193125d25e1c1
5
5
  SHA512:
6
- metadata.gz: 619b9098836f1ce7abe63181ed4b09c2cc0dbe64e2f80d8a622fb2f3c9eaa9ddbad6c7998a59c1b1503096564ac1ddf682994d713ca0beef86c6736adb00a7da
7
- data.tar.gz: 3b4ee6dc5d4c7459235d05c2c5fe31e8f855c7cde1f03ef511293afeabffe08fd7688d16b8a54d89206baa07e942b12e25f6414dddc045bdd765ff9485483ed1
6
+ metadata.gz: 4646ea62b0fdb14bf704711b21e82763d5796e81849b2bfd5bb9600d749b64ef71abe088ac9661344739910cdf301956131b5b7d63f028f1dab43d4e9edcad94
7
+ data.tar.gz: 84269b288618f1a8e33ad27cf800e50cf3ca79f74c82d4e1bf56fbbb5f9c1c8afa0db5d1ed333af30f69e7bfd23b89a07bc387d05e20ca29cc062d486cdfdf6b
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workflows
23
23
  module V1beta
24
- VERSION = "0.10.0"
24
+ VERSION = "0.12.0"
25
25
  end
26
26
  end
27
27
  end
@@ -746,6 +746,13 @@ module Google
746
746
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
747
747
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
748
748
  # * (`nil`) indicating no credentials
749
+ #
750
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
751
+ # external source for authentication to Google Cloud, you must validate it before
752
+ # providing it to a Google API client library. Providing an unvalidated credential
753
+ # configuration to Google APIs can compromise the security of your systems and data.
754
+ # For more information, refer to [Validate credential configurations from external
755
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
749
756
  # @return [::Object]
750
757
  # @!attribute [rw] scope
751
758
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -233,10 +233,10 @@ module Google
233
233
  # for a field, append a " desc" suffix.
234
234
  # If not specified, the results will be returned in an unspecified order.
235
235
  # @yield [result, operation] Access the result along with the TransportOperation object
236
- # @yieldparam result [::Google::Cloud::Workflows::V1beta::ListWorkflowsResponse]
236
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workflows::V1beta::Workflow>]
237
237
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
238
238
  #
239
- # @return [::Google::Cloud::Workflows::V1beta::ListWorkflowsResponse]
239
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workflows::V1beta::Workflow>]
240
240
  #
241
241
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
242
242
  #
@@ -288,7 +288,9 @@ module Google
288
288
  retry_policy: @config.retry_policy
289
289
 
290
290
  @workflows_stub.list_workflows request, options do |result, operation|
291
+ result = ::Gapic::Rest::PagedEnumerable.new @workflows_stub, :list_workflows, "workflows", request, result, options
291
292
  yield result, operation if block_given?
293
+ throw :response, result
292
294
  end
293
295
  rescue ::Gapic::Rest::Error => e
294
296
  raise ::Google::Cloud::Error.from_error(e)
@@ -700,6 +702,13 @@ module Google
700
702
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
701
703
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
702
704
  # * (`nil`) indicating no credentials
705
+ #
706
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
707
+ # external source for authentication to Google Cloud, you must validate it before
708
+ # providing it to a Google API client library. Providing an unvalidated credential
709
+ # configuration to Google APIs can compromise the security of your systems and data.
710
+ # For more information, refer to [Validate credential configurations from external
711
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
703
712
  # @return [::Object]
704
713
  # @!attribute [rw] scope
705
714
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -92,7 +91,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
92
91
  licenses:
93
92
  - Apache-2.0
94
93
  metadata: {}
95
- post_install_message:
96
94
  rdoc_options: []
97
95
  require_paths:
98
96
  - lib
@@ -100,15 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
98
  requirements:
101
99
  - - ">="
102
100
  - !ruby/object:Gem::Version
103
- version: '2.7'
101
+ version: '3.0'
104
102
  required_rubygems_version: !ruby/object:Gem::Requirement
105
103
  requirements:
106
104
  - - ">="
107
105
  - !ruby/object:Gem::Version
108
106
  version: '0'
109
107
  requirements: []
110
- rubygems_version: 3.5.23
111
- signing_key:
108
+ rubygems_version: 3.6.3
112
109
  specification_version: 4
113
110
  summary: Manage workflow definitions. To execute workflows and manage executions,
114
111
  see the Workflows Executions API.