google-apis-bigtableadmin_v1 0.5.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: dafcc1a6932cd5b89b65207e2e1204ee3c78df403533f90aa50c64881d9c1d92
4
- data.tar.gz: 3a7c52d7e221d1577df1df4847763e724401697df65951eac0d0cfac3a33eca6
3
+ metadata.gz: 0e9f17a55b881acbf69528b2380d873848cb9025494059ab61a3fed13ce6b7d6
4
+ data.tar.gz: a0059fbdb618377bedda502d16422a9fa0cc0c21a0496c4372cc23de07e6f8d2
5
5
  SHA512:
6
- metadata.gz: 70d64e428d26b0701ff1bfec66d6ec7de009b9e64310980d5ee4f22834713cd6561e51e0027f1eec0d6098926ddbe0c4b18ac3b1d1302fdad9940203c979b16a
7
- data.tar.gz: 609c18b644ce95ca1d108e628927906260f22947ef0123dcebdd262d623f241f593c2cff57dd0a7dc4cb5eb90ae566c6719bc18f885b8e1bd8e13c0352ccd67e
6
+ metadata.gz: '084d11c8e7f64a5faa0eb0e88f819613032b28748546a294c57c98e78223c9c236dcfe2ae4932d718ee56495d05cbd912a3bbc474dbda8033c97137102d9f2c6'
7
+ data.tar.gz: 94ef00d70eadbe31e2d84d7d416f6d90fa2cd333ddb3b92b9615db4e531ea05589b2c91642bef9b0b7e54df4c73d5c67ad55e49f4becc0f3a4b1d819dadebcd3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-bigtableadmin_v1
2
2
 
3
+ ### v0.9.0 (2021-11-16)
4
+
5
+ * Regenerated from discovery document revision 20211104
6
+
7
+ ### v0.8.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.7.0 (2021-09-07)
12
+
13
+ * Regenerated from discovery document revision 20210811
14
+
15
+ ### v0.6.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.5.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Bigtableadmin service in particular.)
67
67
 
@@ -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
@@ -501,6 +596,13 @@ module Google
501
596
  class Instance
502
597
  include Google::Apis::Core::Hashable
503
598
 
599
+ # Output only. A server-assigned timestamp representing when this Instance was
600
+ # created. For instances created before this field was added (August 2021), this
601
+ # value is `seconds: 0, nanos: 1`.
602
+ # Corresponds to the JSON property `createTime`
603
+ # @return [String]
604
+ attr_accessor :create_time
605
+
504
606
  # Required. The descriptive name for this instance as it appears in UIs. Can be
505
607
  # changed at any time, but should be kept globally unique to avoid confusion.
506
608
  # Corresponds to the JSON property `displayName`
@@ -541,6 +643,7 @@ module Google
541
643
 
542
644
  # Update properties of this object
543
645
  def update!(**args)
646
+ @create_time = args[:create_time] if args.key?(:create_time)
544
647
  @display_name = args[:display_name] if args.key?(:display_name)
545
648
  @labels = args[:labels] if args.key?(:labels)
546
649
  @name = args[:name] if args.key?(:name)
@@ -610,6 +713,64 @@ module Google
610
713
  end
611
714
  end
612
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
+
613
774
  # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
614
775
  class PartialUpdateInstanceRequest
615
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.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210323"
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
@@ -283,6 +354,7 @@ module Google
283
354
  class Instance
284
355
  # @private
285
356
  class Representation < Google::Apis::Core::JsonRepresentation
357
+ property :create_time, as: 'createTime'
286
358
  property :display_name, as: 'displayName'
287
359
  hash :labels, as: 'labels'
288
360
  property :name, as: 'name'
@@ -309,6 +381,25 @@ module Google
309
381
  end
310
382
  end
311
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
+
312
403
  class PartialUpdateInstanceRequest
313
404
  # @private
314
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.5.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-06-28 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v1/v0.5.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v1
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.9.0
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: []
65
65
  require_paths: