google-cloud-workflows-v1 1.1.0 → 2.0.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: 6ed7bfedb510b0e02ccbd2e41bd77f4ad8f6f8719d783541e5d7a60699f78ecf
4
- data.tar.gz: 8b6143c0a432bc1427894fea8471bc05b62517771191caec1bd09137c95badb9
3
+ metadata.gz: 6ece58b6e1c309c744e6ccfecf6b80c25905b570220fab6f750acf174466db62
4
+ data.tar.gz: 13d4d7d37f5de664a421636922d2b62b0925982b72b74a3018d6032e4013e3c8
5
5
  SHA512:
6
- metadata.gz: 18a16c68ab7ad76c00f16f71b35745abf1e04d0681e6e44079f8e566bc899a186f1c47ae36c2255775d4ddd4183d9bd86b2afe1b20bc3e51aac9a48ab680e223
7
- data.tar.gz: f8ac09c1aa24f3b20278bbf502d0379373d66b8b37972b788ac6b5618ea729bc68dda417e1aa0ff273508790cfd58b31a1eaa50329dd0a69233115dc04dca543
6
+ metadata.gz: 63f363e01e436d495274cef23bd6a1cf78f7d82416fc55f1d13baa3941354870a8450ee9a016458d0ce38456a028de5b85db23ef0fe6e2de7ebb25cd282564c9
7
+ data.tar.gz: 4f40a53617c43fe8835cc5c561eab99bd9065089010283823326c9e2a1bfa00e32d465936016cd867955791e72df56b7f19a96f9cf5fb16a8cc3d34a5d44c905
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 V1
24
- VERSION = "1.1.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -768,6 +768,13 @@ module Google
768
768
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
769
769
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
770
770
  # * (`nil`) indicating no credentials
771
+ #
772
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
773
+ # external source for authentication to Google Cloud, you must validate it before
774
+ # providing it to a Google API client library. Providing an unvalidated credential
775
+ # configuration to Google APIs can compromise the security of your systems and data.
776
+ # For more information, refer to [Validate credential configurations from external
777
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
771
778
  # @return [::Object]
772
779
  # @!attribute [rw] scope
773
780
  # 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
@@ -250,10 +250,10 @@ module Google
250
250
  # for a field, append a "desc" suffix.
251
251
  # If not specified, the results are returned in an unspecified order.
252
252
  # @yield [result, operation] Access the result along with the TransportOperation object
253
- # @yieldparam result [::Google::Cloud::Workflows::V1::ListWorkflowsResponse]
253
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workflows::V1::Workflow>]
254
254
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
255
255
  #
256
- # @return [::Google::Cloud::Workflows::V1::ListWorkflowsResponse]
256
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Workflows::V1::Workflow>]
257
257
  #
258
258
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
259
259
  #
@@ -305,7 +305,9 @@ module Google
305
305
  retry_policy: @config.retry_policy
306
306
 
307
307
  @workflows_stub.list_workflows request, options do |result, operation|
308
+ result = ::Gapic::Rest::PagedEnumerable.new @workflows_stub, :list_workflows, "workflows", request, result, options
308
309
  yield result, operation if block_given?
310
+ throw :response, result
309
311
  end
310
312
  rescue ::Gapic::Rest::Error => e
311
313
  raise ::Google::Cloud::Error.from_error(e)
@@ -723,6 +725,13 @@ module Google
723
725
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
724
726
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
725
727
  # * (`nil`) indicating no credentials
728
+ #
729
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
730
+ # external source for authentication to Google Cloud, you must validate it before
731
+ # providing it to a Google API client library. Providing an unvalidated credential
732
+ # configuration to Google APIs can compromise the security of your systems and data.
733
+ # For more information, refer to [Validate credential configurations from external
734
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
726
735
  # @return [::Object]
727
736
  # @!attribute [rw] scope
728
737
  # 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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.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
@@ -113,7 +112,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
113
112
  licenses:
114
113
  - Apache-2.0
115
114
  metadata: {}
116
- post_install_message:
117
115
  rdoc_options: []
118
116
  require_paths:
119
117
  - lib
@@ -121,15 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
119
  requirements:
122
120
  - - ">="
123
121
  - !ruby/object:Gem::Version
124
- version: '2.7'
122
+ version: '3.0'
125
123
  required_rubygems_version: !ruby/object:Gem::Requirement
126
124
  requirements:
127
125
  - - ">="
128
126
  - !ruby/object:Gem::Version
129
127
  version: '0'
130
128
  requirements: []
131
- rubygems_version: 3.5.23
132
- signing_key:
129
+ rubygems_version: 3.6.3
133
130
  specification_version: 4
134
131
  summary: Manage workflow definitions. To execute workflows and manage executions,
135
132
  see the Workflows Executions API.