google-apis-bigtableadmin_v1 0.8.0 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e9f17a55b881acbf69528b2380d873848cb9025494059ab61a3fed13ce6b7d6
|
4
|
+
data.tar.gz: a0059fbdb618377bedda502d16422a9fa0cc0c21a0496c4372cc23de07e6f8d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '084d11c8e7f64a5faa0eb0e88f819613032b28748546a294c57c98e78223c9c236dcfe2ae4932d718ee56495d05cbd912a3bbc474dbda8033c97137102d9f2c6'
|
7
|
+
data.tar.gz: 94ef00d70eadbe31e2d84d7d416f6d90fa2cd333ddb3b92b9615db4e531ea05589b2c91642bef9b0b7e54df4c73d5c67ad55e49f4becc0f3a4b1d819dadebcd3
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,51 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigtableadminV1
|
24
24
|
|
25
|
+
# Limits for the number of nodes a Cluster can autoscale up/down to.
|
26
|
+
class AutoscalingLimits
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Required. Maximum number of nodes to scale up to.
|
30
|
+
# Corresponds to the JSON property `maxServeNodes`
|
31
|
+
# @return [Fixnum]
|
32
|
+
attr_accessor :max_serve_nodes
|
33
|
+
|
34
|
+
# Required. Minimum number of nodes to scale down to.
|
35
|
+
# Corresponds to the JSON property `minServeNodes`
|
36
|
+
# @return [Fixnum]
|
37
|
+
attr_accessor :min_serve_nodes
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@max_serve_nodes = args[:max_serve_nodes] if args.key?(:max_serve_nodes)
|
46
|
+
@min_serve_nodes = args[:min_serve_nodes] if args.key?(:min_serve_nodes)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# The Autoscaling targets for a Cluster. These determine the recommended nodes.
|
51
|
+
class AutoscalingTargets
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
# The cpu utilization that the Autoscaler should be trying to achieve. This
|
55
|
+
# number is on a scale from 0 (no utilization) to 100 (total utilization).
|
56
|
+
# Corresponds to the JSON property `cpuUtilizationPercent`
|
57
|
+
# @return [Fixnum]
|
58
|
+
attr_accessor :cpu_utilization_percent
|
59
|
+
|
60
|
+
def initialize(**args)
|
61
|
+
update!(**args)
|
62
|
+
end
|
63
|
+
|
64
|
+
# Update properties of this object
|
65
|
+
def update!(**args)
|
66
|
+
@cpu_utilization_percent = args[:cpu_utilization_percent] if args.key?(:cpu_utilization_percent)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
25
70
|
# A backup of a Cloud Bigtable table.
|
26
71
|
class Backup
|
27
72
|
include Google::Apis::Core::Hashable
|
@@ -142,6 +187,11 @@ module Google
|
|
142
187
|
class Cluster
|
143
188
|
include Google::Apis::Core::Hashable
|
144
189
|
|
190
|
+
# Configuration for a cluster.
|
191
|
+
# Corresponds to the JSON property `clusterConfig`
|
192
|
+
# @return [Google::Apis::BigtableadminV1::ClusterConfig]
|
193
|
+
attr_accessor :cluster_config
|
194
|
+
|
145
195
|
# Immutable. The type of storage used by this cluster to serve its parent
|
146
196
|
# instance's tables, unless explicitly overridden.
|
147
197
|
# Corresponds to the JSON property `defaultStorageType`
|
@@ -184,6 +234,7 @@ module Google
|
|
184
234
|
|
185
235
|
# Update properties of this object
|
186
236
|
def update!(**args)
|
237
|
+
@cluster_config = args[:cluster_config] if args.key?(:cluster_config)
|
187
238
|
@default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
|
188
239
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
189
240
|
@location = args[:location] if args.key?(:location)
|
@@ -193,6 +244,50 @@ module Google
|
|
193
244
|
end
|
194
245
|
end
|
195
246
|
|
247
|
+
# Autoscaling config for a cluster.
|
248
|
+
class ClusterAutoscalingConfig
|
249
|
+
include Google::Apis::Core::Hashable
|
250
|
+
|
251
|
+
# Limits for the number of nodes a Cluster can autoscale up/down to.
|
252
|
+
# Corresponds to the JSON property `autoscalingLimits`
|
253
|
+
# @return [Google::Apis::BigtableadminV1::AutoscalingLimits]
|
254
|
+
attr_accessor :autoscaling_limits
|
255
|
+
|
256
|
+
# The Autoscaling targets for a Cluster. These determine the recommended nodes.
|
257
|
+
# Corresponds to the JSON property `autoscalingTargets`
|
258
|
+
# @return [Google::Apis::BigtableadminV1::AutoscalingTargets]
|
259
|
+
attr_accessor :autoscaling_targets
|
260
|
+
|
261
|
+
def initialize(**args)
|
262
|
+
update!(**args)
|
263
|
+
end
|
264
|
+
|
265
|
+
# Update properties of this object
|
266
|
+
def update!(**args)
|
267
|
+
@autoscaling_limits = args[:autoscaling_limits] if args.key?(:autoscaling_limits)
|
268
|
+
@autoscaling_targets = args[:autoscaling_targets] if args.key?(:autoscaling_targets)
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# Configuration for a cluster.
|
273
|
+
class ClusterConfig
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# Autoscaling config for a cluster.
|
277
|
+
# Corresponds to the JSON property `clusterAutoscalingConfig`
|
278
|
+
# @return [Google::Apis::BigtableadminV1::ClusterAutoscalingConfig]
|
279
|
+
attr_accessor :cluster_autoscaling_config
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@cluster_autoscaling_config = args[:cluster_autoscaling_config] if args.key?(:cluster_autoscaling_config)
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
196
291
|
# Metadata type for the operation returned by CreateBackup.
|
197
292
|
class CreateBackupMetadata
|
198
293
|
include Google::Apis::Core::Hashable
|
@@ -502,7 +597,8 @@ module Google
|
|
502
597
|
include Google::Apis::Core::Hashable
|
503
598
|
|
504
599
|
# Output only. A server-assigned timestamp representing when this Instance was
|
505
|
-
# created.
|
600
|
+
# created. For instances created before this field was added (August 2021), this
|
601
|
+
# value is `seconds: 0, nanos: 1`.
|
506
602
|
# Corresponds to the JSON property `createTime`
|
507
603
|
# @return [String]
|
508
604
|
attr_accessor :create_time
|
@@ -617,6 +713,64 @@ module Google
|
|
617
713
|
end
|
618
714
|
end
|
619
715
|
|
716
|
+
# The metadata for the Operation returned by PartialUpdateCluster.
|
717
|
+
class PartialUpdateClusterMetadata
|
718
|
+
include Google::Apis::Core::Hashable
|
719
|
+
|
720
|
+
# The time at which the operation failed or was completed successfully.
|
721
|
+
# Corresponds to the JSON property `finishTime`
|
722
|
+
# @return [String]
|
723
|
+
attr_accessor :finish_time
|
724
|
+
|
725
|
+
# Request message for BigtableInstanceAdmin.PartialUpdateCluster.
|
726
|
+
# Corresponds to the JSON property `originalRequest`
|
727
|
+
# @return [Google::Apis::BigtableadminV1::PartialUpdateClusterRequest]
|
728
|
+
attr_accessor :original_request
|
729
|
+
|
730
|
+
# The time at which the original request was received.
|
731
|
+
# Corresponds to the JSON property `requestTime`
|
732
|
+
# @return [String]
|
733
|
+
attr_accessor :request_time
|
734
|
+
|
735
|
+
def initialize(**args)
|
736
|
+
update!(**args)
|
737
|
+
end
|
738
|
+
|
739
|
+
# Update properties of this object
|
740
|
+
def update!(**args)
|
741
|
+
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
742
|
+
@original_request = args[:original_request] if args.key?(:original_request)
|
743
|
+
@request_time = args[:request_time] if args.key?(:request_time)
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
747
|
+
# Request message for BigtableInstanceAdmin.PartialUpdateCluster.
|
748
|
+
class PartialUpdateClusterRequest
|
749
|
+
include Google::Apis::Core::Hashable
|
750
|
+
|
751
|
+
# A resizable group of nodes in a particular cloud location, capable of serving
|
752
|
+
# all Tables in the parent Instance.
|
753
|
+
# Corresponds to the JSON property `cluster`
|
754
|
+
# @return [Google::Apis::BigtableadminV1::Cluster]
|
755
|
+
attr_accessor :cluster
|
756
|
+
|
757
|
+
# Required. The subset of Cluster fields which should be replaced. Must be
|
758
|
+
# explicitly set.
|
759
|
+
# Corresponds to the JSON property `updateMask`
|
760
|
+
# @return [String]
|
761
|
+
attr_accessor :update_mask
|
762
|
+
|
763
|
+
def initialize(**args)
|
764
|
+
update!(**args)
|
765
|
+
end
|
766
|
+
|
767
|
+
# Update properties of this object
|
768
|
+
def update!(**args)
|
769
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
770
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
620
774
|
# Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
621
775
|
class PartialUpdateInstanceRequest
|
622
776
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigtableadminV1
|
18
18
|
# Version of the google-apis-bigtableadmin_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211104"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigtableadminV1
|
24
24
|
|
25
|
+
class AutoscalingLimits
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AutoscalingTargets
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class Backup
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -40,6 +52,18 @@ module Google
|
|
40
52
|
include Google::Apis::Core::JsonObjectSupport
|
41
53
|
end
|
42
54
|
|
55
|
+
class ClusterAutoscalingConfig
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ClusterConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
43
67
|
class CreateBackupMetadata
|
44
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
69
|
|
@@ -112,6 +136,18 @@ module Google
|
|
112
136
|
include Google::Apis::Core::JsonObjectSupport
|
113
137
|
end
|
114
138
|
|
139
|
+
class PartialUpdateClusterMetadata
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class PartialUpdateClusterRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
115
151
|
class PartialUpdateInstanceRequest
|
116
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
153
|
|
@@ -154,6 +190,21 @@ module Google
|
|
154
190
|
include Google::Apis::Core::JsonObjectSupport
|
155
191
|
end
|
156
192
|
|
193
|
+
class AutoscalingLimits
|
194
|
+
# @private
|
195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
196
|
+
property :max_serve_nodes, as: 'maxServeNodes'
|
197
|
+
property :min_serve_nodes, as: 'minServeNodes'
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
class AutoscalingTargets
|
202
|
+
# @private
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
+
property :cpu_utilization_percent, as: 'cpuUtilizationPercent'
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
157
208
|
class Backup
|
158
209
|
# @private
|
159
210
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -182,6 +233,8 @@ module Google
|
|
182
233
|
class Cluster
|
183
234
|
# @private
|
184
235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
+
property :cluster_config, as: 'clusterConfig', class: Google::Apis::BigtableadminV1::ClusterConfig, decorator: Google::Apis::BigtableadminV1::ClusterConfig::Representation
|
237
|
+
|
185
238
|
property :default_storage_type, as: 'defaultStorageType'
|
186
239
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BigtableadminV1::EncryptionConfig, decorator: Google::Apis::BigtableadminV1::EncryptionConfig::Representation
|
187
240
|
|
@@ -192,6 +245,24 @@ module Google
|
|
192
245
|
end
|
193
246
|
end
|
194
247
|
|
248
|
+
class ClusterAutoscalingConfig
|
249
|
+
# @private
|
250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
251
|
+
property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::BigtableadminV1::AutoscalingLimits, decorator: Google::Apis::BigtableadminV1::AutoscalingLimits::Representation
|
252
|
+
|
253
|
+
property :autoscaling_targets, as: 'autoscalingTargets', class: Google::Apis::BigtableadminV1::AutoscalingTargets, decorator: Google::Apis::BigtableadminV1::AutoscalingTargets::Representation
|
254
|
+
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class ClusterConfig
|
259
|
+
# @private
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
261
|
+
property :cluster_autoscaling_config, as: 'clusterAutoscalingConfig', class: Google::Apis::BigtableadminV1::ClusterAutoscalingConfig, decorator: Google::Apis::BigtableadminV1::ClusterAutoscalingConfig::Representation
|
262
|
+
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
195
266
|
class CreateBackupMetadata
|
196
267
|
# @private
|
197
268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -310,6 +381,25 @@ module Google
|
|
310
381
|
end
|
311
382
|
end
|
312
383
|
|
384
|
+
class PartialUpdateClusterMetadata
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
property :finish_time, as: 'finishTime'
|
388
|
+
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV1::PartialUpdateClusterRequest, decorator: Google::Apis::BigtableadminV1::PartialUpdateClusterRequest::Representation
|
389
|
+
|
390
|
+
property :request_time, as: 'requestTime'
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
class PartialUpdateClusterRequest
|
395
|
+
# @private
|
396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
397
|
+
property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV1::Cluster, decorator: Google::Apis::BigtableadminV1::Cluster::Representation
|
398
|
+
|
399
|
+
property :update_mask, as: 'updateMask'
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
313
403
|
class PartialUpdateInstanceRequest
|
314
404
|
# @private
|
315
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigtableadmin_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v1/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|