google-cloud-spanner-admin-instance-v1 1.6.0 → 2.0.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: c8936a9f04c27b5ebc03157f70a34407206685807c47616ff5cbb5727562cab1
4
- data.tar.gz: 2262be706db5994e4c5ee0cfa98e204fac9e4701972b51f50807988d09ae6a77
3
+ metadata.gz: 0a01b0433714a8c0b977d02e4e915970ad741bb1c5d4019fc13620fc886cc508
4
+ data.tar.gz: 429aaa105ff0bc283656923e7c07729b2ff2fff3a8d85628660fe8f55873f841
5
5
  SHA512:
6
- metadata.gz: b0783ffb978604bbb0f0b1c923f2a54632abc6b222356e17e096b63ace9dbc220949c23e4d20cd80d890c1463b49065ae831f4766af7f7780b56b615da7dfee7
7
- data.tar.gz: 0f85dd3e37d060a28697a72bf8bec8ce3300d6855abff434f45fba2716b498c0842092d920876406f7dfb8ba20a2c16f9e004023a51001009c918ebe255a0540
6
+ metadata.gz: fc3381fe9d7d0283c6416395acb46ed173ed0292e2319d95e204b596685a80c8b6f2a6c73ea27429a8e2ed96e602b796fad053a01db4ceede5e08b4cc5ca9f97
7
+ data.tar.gz: ec13ca62110358ba9f1c2cdbc6e09fe89a676a8f4a10a7c1dc939820132302166a0a3c97f65a9f06bb1f47b9b7a491c6a9d28e41572e4dbe334320710dc21b5b
@@ -2897,8 +2897,8 @@ module Google
2897
2897
 
2898
2898
  config_attr :endpoint, nil, ::String, nil
2899
2899
  config_attr :credentials, nil do |value|
2900
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2901
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2900
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2901
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2902
2902
  allowed.any? { |klass| klass === value }
2903
2903
  end
2904
2904
  config_attr :scope, nil, ::String, ::Array, nil
@@ -703,8 +703,8 @@ module Google
703
703
 
704
704
  config_attr :endpoint, nil, ::String, nil
705
705
  config_attr :credentials, nil do |value|
706
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
707
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
706
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
707
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
708
708
  allowed.any? { |klass| klass === value }
709
709
  end
710
710
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1016,10 +1016,10 @@ module Google
1016
1016
  # in
1017
1017
  # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancesResponse ListInstancesResponse}.
1018
1018
  # @yield [result, operation] Access the result along with the TransportOperation object
1019
- # @yieldparam result [::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancesResponse]
1019
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Spanner::Admin::Instance::V1::Instance>]
1020
1020
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1021
1021
  #
1022
- # @return [::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancesResponse]
1022
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Spanner::Admin::Instance::V1::Instance>]
1023
1023
  #
1024
1024
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1025
1025
  #
@@ -1071,7 +1071,9 @@ module Google
1071
1071
  retry_policy: @config.retry_policy
1072
1072
 
1073
1073
  @instance_admin_stub.list_instances request, options do |result, operation|
1074
+ result = ::Gapic::Rest::PagedEnumerable.new @instance_admin_stub, :list_instances, "instances", request, result, options
1074
1075
  yield result, operation if block_given?
1076
+ throw :response, result
1075
1077
  end
1076
1078
  rescue ::Gapic::Rest::Error => e
1077
1079
  raise ::Google::Cloud::Error.from_error(e)
@@ -1116,10 +1118,10 @@ module Google
1116
1118
  # in
1117
1119
  # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionsResponse ListInstancePartitionsResponse}.
1118
1120
  # @yield [result, operation] Access the result along with the TransportOperation object
1119
- # @yieldparam result [::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionsResponse]
1121
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition>]
1120
1122
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1121
1123
  #
1122
- # @return [::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionsResponse]
1124
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition>]
1123
1125
  #
1124
1126
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1125
1127
  #
@@ -1171,7 +1173,9 @@ module Google
1171
1173
  retry_policy: @config.retry_policy
1172
1174
 
1173
1175
  @instance_admin_stub.list_instance_partitions request, options do |result, operation|
1176
+ result = ::Gapic::Rest::PagedEnumerable.new @instance_admin_stub, :list_instance_partitions, "instance_partitions", request, result, options
1174
1177
  yield result, operation if block_given?
1178
+ throw :response, result
1175
1179
  end
1176
1180
  rescue ::Gapic::Rest::Error => e
1177
1181
  raise ::Google::Cloud::Error.from_error(e)
@@ -2473,7 +2477,7 @@ module Google
2473
2477
  retry_policy: @config.retry_policy
2474
2478
 
2475
2479
  @instance_admin_stub.list_instance_partition_operations request, options do |result, operation|
2476
- result = ::Gapic::Operation.new result, @operations_client, options: options
2480
+ result = ::Gapic::Rest::PagedEnumerable.new @instance_admin_stub, :list_instance_partition_operations, "operations", request, result, options
2477
2481
  yield result, operation if block_given?
2478
2482
  throw :response, result
2479
2483
  end
@@ -2728,7 +2732,7 @@ module Google
2728
2732
 
2729
2733
  config_attr :endpoint, nil, ::String, nil
2730
2734
  config_attr :credentials, nil do |value|
2731
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2735
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2732
2736
  allowed.any? { |klass| klass === value }
2733
2737
  end
2734
2738
  config_attr :scope, nil, ::String, ::Array, nil
@@ -558,7 +558,7 @@ module Google
558
558
 
559
559
  config_attr :endpoint, nil, ::String, nil
560
560
  config_attr :credentials, nil do |value|
561
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
561
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
562
562
  allowed.any? { |klass| klass === value }
563
563
  end
564
564
  config_attr :scope, nil, ::String, ::Array, nil
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Instance
25
25
  module V1
26
- VERSION = "1.6.0"
26
+ VERSION = "2.0.1"
27
27
  end
28
28
  end
29
29
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-spanner-admin-instance-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.6.2
125
+ rubygems_version: 3.6.8
126
126
  specification_version: 4
127
127
  summary: API Client library for the Cloud Spanner Instance Admin V1 API
128
128
  test_files: []