google-cloud-spanner-admin-instance-v1 1.6.0 → 2.0.0

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: bf75e79dc6992f78f469f612fb12aee20e517db5a9b49e7e7e64a8069e2e33dc
4
+ data.tar.gz: 5f024a5cb570eb39a95900fe55f711b543427d516189658d4d061285937f21f1
5
5
  SHA512:
6
- metadata.gz: b0783ffb978604bbb0f0b1c923f2a54632abc6b222356e17e096b63ace9dbc220949c23e4d20cd80d890c1463b49065ae831f4766af7f7780b56b615da7dfee7
7
- data.tar.gz: 0f85dd3e37d060a28697a72bf8bec8ce3300d6855abff434f45fba2716b498c0842092d920876406f7dfb8ba20a2c16f9e004023a51001009c918ebe255a0540
6
+ metadata.gz: 883618bbc695994ed05b142876b734310a6197cb42b86dc39a7f1e65e3575c11178a72e8800e8d318474f9a5c97bc6a6e5f1150697930983142a4c9b5c5f518e
7
+ data.tar.gz: a268fd86d430f882c432a9ec4d1d38135a5436548f3faca0b490562c83188627be78100550c42adf8d199600bddb6990e0dea8166fd31eb9242ef1809d601102
@@ -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
@@ -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.0"
27
27
  end
28
28
  end
29
29
  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
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.0
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: 2025-02-07 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.3
126
126
  specification_version: 4
127
127
  summary: API Client library for the Cloud Spanner Instance Admin V1 API
128
128
  test_files: []