google-cloud-bigtable-admin-v2 1.14.0 → 1.15.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: 3d5183aa5e302689fb10054a69bddec8b2c346ec78d5fa80b73a700ae0c57d74
4
- data.tar.gz: 96239e6ee0c6fbf142bf897552fb3e9a1b6476493e3210ddc69138564151e449
3
+ metadata.gz: 8cfa0562140d7d3c525cf52480af3ea0f3bd89cf7b6093d26cc479dea1d2b3ca
4
+ data.tar.gz: 4caedc639fd55eecd1bd7214a1e09fb4897223abfc04d1d7d60e329f08c5771b
5
5
  SHA512:
6
- metadata.gz: a9c81fc4f66cefd27ec3a45dc34ff4fa39481b51ec917a22e77e1acf5f4d62a63377e9f5755d4d83f03a73081f390c672ebf446a203a0994eccf58adba1255f9
7
- data.tar.gz: 7cbe898db7a8fe62c04da4f2393a89aa9434278484a84379c9db49d7b31756315e268e4cffd48d14245d556708f2fcb3a0b407d2dc38b26ad19b8678400c9d80
6
+ metadata.gz: 804c574aa88c1f07abecd63d526581d39f51f126b3b95a901ddf0b0aa2b4bfede09579f6ab1c1e6ec47c64570c4094b21bb0d2450a1357dc2c48fd2814b461c3
7
+ data.tar.gz: de7b760cb520e988699a4d3901dad79abfec3e945c317610d8bfcdb9405dcd5456d3d75ac29951540ecc9b159e429aead87ea711174fdc27264bdc7e7e0bbb2f
@@ -3328,8 +3328,6 @@ module Google
3328
3328
  # @return [::String,nil]
3329
3329
  # @!attribute [rw] credentials
3330
3330
  # Credentials to send with calls. You may provide any of the following types:
3331
- # * (`String`) The path to a service account key file in JSON format
3332
- # * (`Hash`) A service account key as a Hash
3333
3331
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3334
3332
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3335
3333
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3338,7 +3336,26 @@ module Google
3338
3336
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3339
3337
  # * (`nil`) indicating no credentials
3340
3338
  #
3341
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3339
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3340
+ # is deprecated. Providing an unvalidated credential configuration to
3341
+ # Google APIs can compromise the security of your systems and data.
3342
+ #
3343
+ # @example
3344
+ #
3345
+ # # The recommended way to provide credentials is to use the `make_creds` method
3346
+ # # on the appropriate credentials class for your environment.
3347
+ #
3348
+ # require "googleauth"
3349
+ #
3350
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3351
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3352
+ # )
3353
+ #
3354
+ # client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new do |config|
3355
+ # config.credentials = credentials
3356
+ # end
3357
+ #
3358
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3342
3359
  # external source for authentication to Google Cloud, you must validate it before
3343
3360
  # providing it to a Google API client library. Providing an unvalidated credential
3344
3361
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -135,7 +135,7 @@ module Google
135
135
  # @param options [::Gapic::CallOptions, ::Hash]
136
136
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
137
137
  #
138
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
138
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
139
139
  # Pass arguments to `list_operations` via keyword arguments. Note that at
140
140
  # least one keyword argument is required. To specify no parameters, or to keep all
141
141
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -148,6 +148,17 @@ module Google
148
148
  # The standard list page size.
149
149
  # @param page_token [::String]
150
150
  # The standard list page token.
151
+ # @param return_partial_success [::Boolean]
152
+ # When set to `true`, operations that are reachable are returned as normal,
153
+ # and those that are unreachable are returned in the
154
+ # [ListOperationsResponse.unreachable] field.
155
+ #
156
+ # This can only be `true` when reading across collections e.g. when `parent`
157
+ # is set to `"projects/example/locations/-"`.
158
+ #
159
+ # This field is not by default supported and will result in an
160
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
161
+ # service or product specific documentation.
151
162
  #
152
163
  # @yield [response, operation] Access the result along with the RPC operation
153
164
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -632,8 +643,6 @@ module Google
632
643
  # @return [::String,nil]
633
644
  # @!attribute [rw] credentials
634
645
  # Credentials to send with calls. You may provide any of the following types:
635
- # * (`String`) The path to a service account key file in JSON format
636
- # * (`Hash`) A service account key as a Hash
637
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
638
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
639
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -642,7 +651,26 @@ module Google
642
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
652
  # * (`nil`) indicating no credentials
644
653
  #
645
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
646
674
  # external source for authentication to Google Cloud, you must validate it before
647
675
  # providing it to a Google API client library. Providing an unvalidated credential
648
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -3856,8 +3856,6 @@ module Google
3856
3856
  # @return [::String,nil]
3857
3857
  # @!attribute [rw] credentials
3858
3858
  # Credentials to send with calls. You may provide any of the following types:
3859
- # * (`String`) The path to a service account key file in JSON format
3860
- # * (`Hash`) A service account key as a Hash
3861
3859
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3862
3860
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3863
3861
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3866,7 +3864,26 @@ module Google
3866
3864
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3867
3865
  # * (`nil`) indicating no credentials
3868
3866
  #
3869
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3867
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3868
+ # is deprecated. Providing an unvalidated credential configuration to
3869
+ # Google APIs can compromise the security of your systems and data.
3870
+ #
3871
+ # @example
3872
+ #
3873
+ # # The recommended way to provide credentials is to use the `make_creds` method
3874
+ # # on the appropriate credentials class for your environment.
3875
+ #
3876
+ # require "googleauth"
3877
+ #
3878
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3879
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3880
+ # )
3881
+ #
3882
+ # client = ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new do |config|
3883
+ # config.credentials = credentials
3884
+ # end
3885
+ #
3886
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3870
3887
  # external source for authentication to Google Cloud, you must validate it before
3871
3888
  # providing it to a Google API client library. Providing an unvalidated credential
3872
3889
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -135,7 +135,7 @@ module Google
135
135
  # @param options [::Gapic::CallOptions, ::Hash]
136
136
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
137
137
  #
138
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
138
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
139
139
  # Pass arguments to `list_operations` via keyword arguments. Note that at
140
140
  # least one keyword argument is required. To specify no parameters, or to keep all
141
141
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -148,6 +148,17 @@ module Google
148
148
  # The standard list page size.
149
149
  # @param page_token [::String]
150
150
  # The standard list page token.
151
+ # @param return_partial_success [::Boolean]
152
+ # When set to `true`, operations that are reachable are returned as normal,
153
+ # and those that are unreachable are returned in the
154
+ # [ListOperationsResponse.unreachable] field.
155
+ #
156
+ # This can only be `true` when reading across collections e.g. when `parent`
157
+ # is set to `"projects/example/locations/-"`.
158
+ #
159
+ # This field is not by default supported and will result in an
160
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
161
+ # service or product specific documentation.
151
162
  #
152
163
  # @yield [response, operation] Access the result along with the RPC operation
153
164
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -632,8 +643,6 @@ module Google
632
643
  # @return [::String,nil]
633
644
  # @!attribute [rw] credentials
634
645
  # Credentials to send with calls. You may provide any of the following types:
635
- # * (`String`) The path to a service account key file in JSON format
636
- # * (`Hash`) A service account key as a Hash
637
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
638
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
639
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -642,7 +651,26 @@ module Google
642
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
643
652
  # * (`nil`) indicating no credentials
644
653
  #
645
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
646
674
  # external source for authentication to Google Cloud, you must validate it before
647
675
  # providing it to a Google API client library. Providing an unvalidated credential
648
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "1.14.0"
25
+ VERSION = "1.15.1"
26
26
  end
27
27
  end
28
28
  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-bigtable-admin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC