google-cloud-spanner-admin-instance-v1 1.5.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/client.rb +7 -0
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/operations.rb +7 -0
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/rest/client.rb +16 -5
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/rest/operations.rb +7 -0
- data/lib/google/cloud/spanner/admin/instance/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb +16 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf75e79dc6992f78f469f612fb12aee20e517db5a9b49e7e7e64a8069e2e33dc
|
4
|
+
data.tar.gz: 5f024a5cb570eb39a95900fe55f711b543427d516189658d4d061285937f21f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 883618bbc695994ed05b142876b734310a6197cb42b86dc39a7f1e65e3575c11178a72e8800e8d318474f9a5c97bc6a6e5f1150697930983142a4c9b5c5f518e
|
7
|
+
data.tar.gz: a268fd86d430f882c432a9ec4d1d38135a5436548f3faca0b490562c83188627be78100550c42adf8d199600bddb6990e0dea8166fd31eb9242ef1809d601102
|
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
|
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
|
@@ -2836,6 +2836,13 @@ module Google
|
|
2836
2836
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2837
2837
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2838
2838
|
# * (`nil`) indicating no credentials
|
2839
|
+
#
|
2840
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2841
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2842
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2843
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2844
|
+
# For more information, refer to [Validate credential configurations from external
|
2845
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2839
2846
|
# @return [::Object]
|
2840
2847
|
# @!attribute [rw] scope
|
2841
2848
|
# The OAuth scopes
|
@@ -642,6 +642,13 @@ module Google
|
|
642
642
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
643
643
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
644
644
|
# * (`nil`) indicating no credentials
|
645
|
+
#
|
646
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
647
|
+
# external source for authentication to Google Cloud, you must validate it before
|
648
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
649
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
650
|
+
# For more information, refer to [Validate credential configurations from external
|
651
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
645
652
|
# @return [::Object]
|
646
653
|
# @!attribute [rw] scope
|
647
654
|
# The OAuth scopes
|
@@ -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::
|
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::
|
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::
|
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::
|
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::
|
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
|
@@ -2674,6 +2678,13 @@ module Google
|
|
2674
2678
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2675
2679
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2676
2680
|
# * (`nil`) indicating no credentials
|
2681
|
+
#
|
2682
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2683
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2684
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2685
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2686
|
+
# For more information, refer to [Validate credential configurations from external
|
2687
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2677
2688
|
# @return [::Object]
|
2678
2689
|
# @!attribute [rw] scope
|
2679
2690
|
# The OAuth scopes
|
@@ -504,6 +504,13 @@ module Google
|
|
504
504
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
505
505
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
506
506
|
# * (`nil`) indicating no credentials
|
507
|
+
#
|
508
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
509
|
+
# external source for authentication to Google Cloud, you must validate it before
|
510
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
511
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
512
|
+
# For more information, refer to [Validate credential configurations from external
|
513
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
507
514
|
# @return [::Object]
|
508
515
|
# @!attribute [rw] scope
|
509
516
|
# The OAuth scopes
|
@@ -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
|
@@ -266,12 +266,16 @@ module Google
|
|
266
266
|
#
|
267
267
|
# This may be zero in API responses for instances that are not yet in
|
268
268
|
# state `READY`.
|
269
|
+
#
|
270
|
+
# Note: The following fields are mutually exclusive: `node_count`, `processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
269
271
|
# @!attribute [rw] processing_units
|
270
272
|
# @return [::Integer]
|
271
273
|
# The number of processing units allocated to each replica.
|
272
274
|
#
|
273
275
|
# This may be zero in API responses for instances that are not yet in
|
274
276
|
# state `READY`.
|
277
|
+
#
|
278
|
+
# Note: The following fields are mutually exclusive: `processing_units`, `node_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
275
279
|
class ReplicaComputeCapacity
|
276
280
|
include ::Google::Protobuf::MessageExts
|
277
281
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -308,19 +312,27 @@ module Google
|
|
308
312
|
# @return [::Integer]
|
309
313
|
# Minimum number of nodes allocated to the instance. If set, this number
|
310
314
|
# should be greater than or equal to 1.
|
315
|
+
#
|
316
|
+
# Note: The following fields are mutually exclusive: `min_nodes`, `min_processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
311
317
|
# @!attribute [rw] min_processing_units
|
312
318
|
# @return [::Integer]
|
313
319
|
# Minimum number of processing units allocated to the instance. If set,
|
314
320
|
# this number should be multiples of 1000.
|
321
|
+
#
|
322
|
+
# Note: The following fields are mutually exclusive: `min_processing_units`, `min_nodes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
315
323
|
# @!attribute [rw] max_nodes
|
316
324
|
# @return [::Integer]
|
317
325
|
# Maximum number of nodes allocated to the instance. If set, this number
|
318
326
|
# should be greater than or equal to min_nodes.
|
327
|
+
#
|
328
|
+
# Note: The following fields are mutually exclusive: `max_nodes`, `max_processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
319
329
|
# @!attribute [rw] max_processing_units
|
320
330
|
# @return [::Integer]
|
321
331
|
# Maximum number of processing units allocated to the instance. If set,
|
322
332
|
# this number should be multiples of 1000 and be greater than or equal to
|
323
333
|
# min_processing_units.
|
334
|
+
#
|
335
|
+
# Note: The following fields are mutually exclusive: `max_processing_units`, `max_nodes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
324
336
|
class AutoscalingLimits
|
325
337
|
include ::Google::Protobuf::MessageExts
|
326
338
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1091,6 +1103,8 @@ module Google
|
|
1091
1103
|
#
|
1092
1104
|
# This may be zero in API responses for instance partitions that are not
|
1093
1105
|
# yet in state `READY`.
|
1106
|
+
#
|
1107
|
+
# Note: The following fields are mutually exclusive: `node_count`, `processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1094
1108
|
# @!attribute [rw] processing_units
|
1095
1109
|
# @return [::Integer]
|
1096
1110
|
# The number of processing units allocated to this instance partition.
|
@@ -1100,6 +1114,8 @@ module Google
|
|
1100
1114
|
#
|
1101
1115
|
# This might be zero in API responses for instance partitions that are not
|
1102
1116
|
# yet in the `READY` state.
|
1117
|
+
#
|
1118
|
+
# Note: The following fields are mutually exclusive: `processing_units`, `node_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1103
1119
|
# @!attribute [r] state
|
1104
1120
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition::State]
|
1105
1121
|
# Output only. The current instance partition state.
|
metadata
CHANGED
@@ -1,14 +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:
|
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: 2025-
|
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.
|
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.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -109,7 +108,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
109
108
|
licenses:
|
110
109
|
- Apache-2.0
|
111
110
|
metadata: {}
|
112
|
-
post_install_message:
|
113
111
|
rdoc_options: []
|
114
112
|
require_paths:
|
115
113
|
- lib
|
@@ -117,15 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
115
|
requirements:
|
118
116
|
- - ">="
|
119
117
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
118
|
+
version: '3.0'
|
121
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
120
|
requirements:
|
123
121
|
- - ">="
|
124
122
|
- !ruby/object:Gem::Version
|
125
123
|
version: '0'
|
126
124
|
requirements: []
|
127
|
-
rubygems_version: 3.
|
128
|
-
signing_key:
|
125
|
+
rubygems_version: 3.6.3
|
129
126
|
specification_version: 4
|
130
127
|
summary: API Client library for the Cloud Spanner Instance Admin V1 API
|
131
128
|
test_files: []
|