google-cloud-cloud_dms-v1 1.4.0 → 1.5.1

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: ea4debc572f6b985690d8881415bd5ed92569cebe44ae3757354acdc31ad5820
4
- data.tar.gz: 4ca390a8030fa010d9d0793cabe5b4abeb5202b1059999bfc08adb5ddf770c01
3
+ metadata.gz: 26b9c415c009420c0a48c81bc3e4c61fa3e20ab2f9a3674119584b8bb22aef1f
4
+ data.tar.gz: d371216ca68c714141132a2528e794393352d83ff905ccce613173d0154888c6
5
5
  SHA512:
6
- metadata.gz: 30bfbb422b45e97194688f99fa5e54b37247f8ab2198483087a9c3e8ae6cbebd3c3418cd81b80072be86e656ea3ed5a7db55cad02b105dcc44f5f2abaf8aecb7
7
- data.tar.gz: bedf6e0cc8d3ada01d13cd244fe8dc939c593d62766d98cd2fc9ba19863ef17dd382426873709160b6be9a514f486588df572c9779c83970d79a5a98b71aa42c
6
+ metadata.gz: ae172279c3986542a78b1d7080d6c3a88002ee7fa192e3f63209b359030d156e116155dc4f92d46e5fac89c3f21c7f2773a5b8c2b277b5adeae8db13b8b17e60
7
+ data.tar.gz: 112d02b81594ae4ebff9c15d39209782cc84da6474191473feec7b6bad0a0096a37aa50f673660356923017815b9d691c537b22af15c31d483cb291ce00f4947
@@ -4496,8 +4496,6 @@ module Google
4496
4496
  # @return [::String,nil]
4497
4497
  # @!attribute [rw] credentials
4498
4498
  # Credentials to send with calls. You may provide any of the following types:
4499
- # * (`String`) The path to a service account key file in JSON format
4500
- # * (`Hash`) A service account key as a Hash
4501
4499
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4502
4500
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4503
4501
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4506,7 +4504,26 @@ module Google
4506
4504
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4507
4505
  # * (`nil`) indicating no credentials
4508
4506
  #
4509
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4507
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4508
+ # is deprecated. Providing an unvalidated credential configuration to
4509
+ # Google APIs can compromise the security of your systems and data.
4510
+ #
4511
+ # @example
4512
+ #
4513
+ # # The recommended way to provide credentials is to use the `make_creds` method
4514
+ # # on the appropriate credentials class for your environment.
4515
+ #
4516
+ # require "googleauth"
4517
+ #
4518
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4519
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4520
+ # )
4521
+ #
4522
+ # client = ::Google::Cloud::CloudDMS::V1::DataMigrationService::Client.new do |config|
4523
+ # config.credentials = credentials
4524
+ # end
4525
+ #
4526
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4510
4527
  # external source for authentication to Google Cloud, you must validate it before
4511
4528
  # providing it to a Google API client library. Providing an unvalidated credential
4512
4529
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -134,7 +134,7 @@ module Google
134
134
  # @param options [::Gapic::CallOptions, ::Hash]
135
135
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
136
136
  #
137
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
137
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
138
138
  # Pass arguments to `list_operations` via keyword arguments. Note that at
139
139
  # least one keyword argument is required. To specify no parameters, or to keep all
140
140
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -147,6 +147,17 @@ module Google
147
147
  # The standard list page size.
148
148
  # @param page_token [::String]
149
149
  # The standard list page token.
150
+ # @param return_partial_success [::Boolean]
151
+ # When set to `true`, operations that are reachable are returned as normal,
152
+ # and those that are unreachable are returned in the
153
+ # [ListOperationsResponse.unreachable] field.
154
+ #
155
+ # This can only be `true` when reading across collections e.g. when `parent`
156
+ # is set to `"projects/example/locations/-"`.
157
+ #
158
+ # This field is not by default supported and will result in an
159
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
160
+ # service or product specific documentation.
150
161
  #
151
162
  # @yield [response, operation] Access the result along with the RPC operation
152
163
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -631,8 +642,6 @@ module Google
631
642
  # @return [::String,nil]
632
643
  # @!attribute [rw] credentials
633
644
  # Credentials to send with calls. You may provide any of the following types:
634
- # * (`String`) The path to a service account key file in JSON format
635
- # * (`Hash`) A service account key as a Hash
636
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
637
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
638
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -641,7 +650,26 @@ module Google
641
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
651
  # * (`nil`) indicating no credentials
643
652
  #
644
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
645
673
  # external source for authentication to Google Cloud, you must validate it before
646
674
  # providing it to a Google API client library. Providing an unvalidated credential
647
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudDMS
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_dms-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC