google-cloud-rapid_migration_assessment-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: 399672d7f95b43974e303670a47a97aa06ef2f097171e58ffbed1170691d0f5c
4
- data.tar.gz: 7f941406e0bcf51859c8dbf01d745a739e9ef3f82dff4438cec125cc78a32a13
3
+ metadata.gz: 9048bc8b0b8b77b79337712b55dcff46cd6b193e82ce3da63bb888af3f95a856
4
+ data.tar.gz: e3a2f39fbb426f40ef8c9ad1581bc3a41d7988d9693deeed4a94fccc0599c676
5
5
  SHA512:
6
- metadata.gz: efb8dba34ae2b895acdecfc9cc1d96f709eb0275818038903f76d240443e19e945164fdc2c60d68237d0bef15f207b89dea204aff337371e926d87cb23afdb25
7
- data.tar.gz: '098d491cc8b97d744f17bac0fc7b03ae90c3faac6202c56f596b8b0b0b630cfe288453b0914eefaa78dd9f05302f6b4d76bc3257a25ffe3564a57d9039fecefa'
6
+ metadata.gz: ae1fcc57a6c4a561feeb8a3466d2bc9569ce7dc676d2f5b31a8b5f143f83871375edef2d5e276d7f7033ab47c749399709a14d975ad04b70e944bc8d6ef552e9
7
+ data.tar.gz: c7eeb0816a52a84224b2365180045dc868949a7fde848f9c66a03c9e07eb2416873d6c0d42a3666570a8372ed275ce439f9bfb5a8b79b0ccb72295bfa55ac750
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
@@ -1302,6 +1302,13 @@ module Google
1302
1302
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1303
1303
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1304
1304
  # * (`nil`) indicating no credentials
1305
+ #
1306
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1307
+ # external source for authentication to Google Cloud, you must validate it before
1308
+ # providing it to a Google API client library. Providing an unvalidated credential
1309
+ # configuration to Google APIs can compromise the security of your systems and data.
1310
+ # For more information, refer to [Validate credential configurations from external
1311
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1305
1312
  # @return [::Object]
1306
1313
  # @!attribute [rw] scope
1307
1314
  # 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
@@ -529,10 +529,10 @@ module Google
529
529
  # @param order_by [::String]
530
530
  # Hint for how to order the results.
531
531
  # @yield [result, operation] Access the result along with the TransportOperation object
532
- # @yieldparam result [::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsResponse]
532
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::RapidMigrationAssessment::V1::Collector>]
533
533
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
534
534
  #
535
- # @return [::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsResponse]
535
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::RapidMigrationAssessment::V1::Collector>]
536
536
  #
537
537
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
538
538
  #
@@ -584,7 +584,9 @@ module Google
584
584
  retry_policy: @config.retry_policy
585
585
 
586
586
  @rapid_migration_assessment_stub.list_collectors request, options do |result, operation|
587
+ result = ::Gapic::Rest::PagedEnumerable.new @rapid_migration_assessment_stub, :list_collectors, "collectors", request, result, options
587
588
  yield result, operation if block_given?
589
+ throw :response, result
588
590
  end
589
591
  rescue ::Gapic::Rest::Error => e
590
592
  raise ::Google::Cloud::Error.from_error(e)
@@ -1222,6 +1224,13 @@ module Google
1222
1224
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1223
1225
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1224
1226
  # * (`nil`) indicating no credentials
1227
+ #
1228
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1229
+ # external source for authentication to Google Cloud, you must validate it before
1230
+ # providing it to a Google API client library. Providing an unvalidated credential
1231
+ # configuration to Google APIs can compromise the security of your systems and data.
1232
+ # For more information, refer to [Validate credential configurations from external
1233
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1225
1234
  # @return [::Object]
1226
1235
  # @!attribute [rw] scope
1227
1236
  # 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RapidMigrationAssessment
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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-rapid_migration_assessment-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
@@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
112
111
  licenses:
113
112
  - Apache-2.0
114
113
  metadata: {}
115
- post_install_message:
116
114
  rdoc_options: []
117
115
  require_paths:
118
116
  - lib
@@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
118
  requirements:
121
119
  - - ">="
122
120
  - !ruby/object:Gem::Version
123
- version: '2.7'
121
+ version: '3.0'
124
122
  required_rubygems_version: !ruby/object:Gem::Requirement
125
123
  requirements:
126
124
  - - ">="
127
125
  - !ruby/object:Gem::Version
128
126
  version: '0'
129
127
  requirements: []
130
- rubygems_version: 3.5.23
131
- signing_key:
128
+ rubygems_version: 3.6.3
132
129
  specification_version: 4
133
130
  summary: The Rapid Migration Assessment service is our first-party migration assessment
134
131
  and planning tool.