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

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffefb9b2f53566b7a1daf8189189bf0d48be02a21bb0c874edea7fadc2b97ff2
4
- data.tar.gz: 439a5e7ddaf7359a7fdaaa27aa20eef8ba06ef20891f14f80c20326e963c143b
3
+ metadata.gz: c8936a9f04c27b5ebc03157f70a34407206685807c47616ff5cbb5727562cab1
4
+ data.tar.gz: 2262be706db5994e4c5ee0cfa98e204fac9e4701972b51f50807988d09ae6a77
5
5
  SHA512:
6
- metadata.gz: 0c7d87f03197e14aed4c8c5981c2523a393098247ef4c24cbdb195cf7390712c5232018e4250f6a3e5ce7bb09ab43b245c1073d14976a3f8b73167a39cd31e69
7
- data.tar.gz: 8d3e5952aa56fdbe787dd2dafe814baea4c538aa9c8e32adbe147780e09a6121a3547efdf4df3a060147b343643840e24af996bb8219b8dd2f011c8e0904ad58
6
+ metadata.gz: b0783ffb978604bbb0f0b1c923f2a54632abc6b222356e17e096b63ace9dbc220949c23e4d20cd80d890c1463b49065ae831f4766af7f7780b56b615da7dfee7
7
+ data.tar.gz: 0f85dd3e37d060a28697a72bf8bec8ce3300d6855abff434f45fba2716b498c0842092d920876406f7dfb8ba20a2c16f9e004023a51001009c918ebe255a0540
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 2.7+.
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
@@ -2674,6 +2674,13 @@ module Google
2674
2674
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2675
2675
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2676
2676
  # * (`nil`) indicating no credentials
2677
+ #
2678
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2679
+ # external source for authentication to Google Cloud, you must validate it before
2680
+ # providing it to a Google API client library. Providing an unvalidated credential
2681
+ # configuration to Google APIs can compromise the security of your systems and data.
2682
+ # For more information, refer to [Validate credential configurations from external
2683
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2677
2684
  # @return [::Object]
2678
2685
  # @!attribute [rw] scope
2679
2686
  # 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
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Instance
25
25
  module V1
26
- VERSION = "1.5.0"
26
+ VERSION = "1.6.0"
27
27
  end
28
28
  end
29
29
  end
@@ -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: 1.5.0
4
+ version: 1.6.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-01-08 00:00:00.000000000 Z
10
+ date: 2025-01-29 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.24.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.24.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: '2.7'
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.5.23
128
- signing_key:
125
+ rubygems_version: 3.6.2
129
126
  specification_version: 4
130
127
  summary: API Client library for the Cloud Spanner Instance Admin V1 API
131
128
  test_files: []