google-apis-bigtableadmin_v1 0.7.0 → 0.11.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: ae4bf01180bed59f4e579516539ed7c2829ebd234d4bbc78a3db6a8434b6663e
4
- data.tar.gz: bbbcbaaba8cf179aec7d60c0bbce4affa85902fd921b0146f8cd994328e77931
3
+ metadata.gz: ccdf8c0e2b1863bf0a6f5e4a4ed6fdb88be711da3f7eb752f5c6bcd8ca198c50
4
+ data.tar.gz: 8e127e4839bbd61ac287272a10f504c655db33151faa5feaba7469f777556acc
5
5
  SHA512:
6
- metadata.gz: 26b5aceba4148aaec4f98207309ce6c329d2ea7a6e0ade203d8a3ee43ffed3fa33f5cd525b375be8e508c1046311a56ff09b289fa91f8717d94858664f6a0bc3
7
- data.tar.gz: 8d903b730345a22df8a4cf6ff1a02e1e17a34713dada81a6453b618e30a36bb3baf3a01c40f825d888519029e95f42d4913e4f1a2f4d97593c913a9932f54f7c
6
+ metadata.gz: 5e1382090d43a0fff1fedfc825dd5c390fc220960a29071679a85fa386a5564bd1c01386936d662ec9dddea50752812dd87e7e38e29a900e2f38ab4e5b34b020
7
+ data.tar.gz: 31aa23b61907aec7f603ae21c3113683065304ee73910a4794b0c54030992cd66d6a8a72d985cc8d384f45d5a78643552fdfb0d1419e89ff79be2526a32ceaf9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigtableadmin_v1
2
2
 
3
+ ### v0.11.0 (2022-01-14)
4
+
5
+ * Regenerated from discovery document revision 20211218
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.10.0 (2021-12-14)
9
+
10
+ * Regenerated from discovery document revision 20211202
11
+
12
+ ### v0.9.0 (2021-11-16)
13
+
14
+ * Regenerated from discovery document revision 20211104
15
+
16
+ ### v0.8.0 (2021-10-20)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.7.0 (2021-09-07)
4
21
 
5
22
  * Regenerated from discovery document revision 20210811
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/bigtableadmin_v1"
51
51
  client = Google::Apis::BigtableadminV1::BigtableAdminService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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`
@@ -167,8 +217,8 @@ module Google
167
217
  # @return [String]
168
218
  attr_accessor :name
169
219
 
170
- # Required. The number of nodes allocated to this cluster. More nodes enable
171
- # higher throughput and more consistent performance.
220
+ # The number of nodes allocated to this cluster. More nodes enable higher
221
+ # throughput and more consistent performance.
172
222
  # Corresponds to the JSON property `serveNodes`
173
223
  # @return [Fixnum]
174
224
  attr_accessor :serve_nodes
@@ -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
@@ -446,63 +541,14 @@ module Google
446
541
  end
447
542
  end
448
543
 
449
- # Added to the error payload.
450
- class FailureTrace
451
- include Google::Apis::Core::Hashable
452
-
453
- #
454
- # Corresponds to the JSON property `frames`
455
- # @return [Array<Google::Apis::BigtableadminV1::Frame>]
456
- attr_accessor :frames
457
-
458
- def initialize(**args)
459
- update!(**args)
460
- end
461
-
462
- # Update properties of this object
463
- def update!(**args)
464
- @frames = args[:frames] if args.key?(:frames)
465
- end
466
- end
467
-
468
- #
469
- class Frame
470
- include Google::Apis::Core::Hashable
471
-
472
- #
473
- # Corresponds to the JSON property `targetName`
474
- # @return [String]
475
- attr_accessor :target_name
476
-
477
- #
478
- # Corresponds to the JSON property `workflowGuid`
479
- # @return [String]
480
- attr_accessor :workflow_guid
481
-
482
- #
483
- # Corresponds to the JSON property `zoneId`
484
- # @return [String]
485
- attr_accessor :zone_id
486
-
487
- def initialize(**args)
488
- update!(**args)
489
- end
490
-
491
- # Update properties of this object
492
- def update!(**args)
493
- @target_name = args[:target_name] if args.key?(:target_name)
494
- @workflow_guid = args[:workflow_guid] if args.key?(:workflow_guid)
495
- @zone_id = args[:zone_id] if args.key?(:zone_id)
496
- end
497
- end
498
-
499
544
  # A collection of Bigtable Tables and the resources that serve them. All tables
500
545
  # in an instance are served from all Clusters in the instance.
501
546
  class Instance
502
547
  include Google::Apis::Core::Hashable
503
548
 
504
549
  # Output only. A server-assigned timestamp representing when this Instance was
505
- # created.
550
+ # created. For instances created before this field was added (August 2021), this
551
+ # value is `seconds: 0, nanos: 1`.
506
552
  # Corresponds to the JSON property `createTime`
507
553
  # @return [String]
508
554
  attr_accessor :create_time
@@ -617,6 +663,63 @@ module Google
617
663
  end
618
664
  end
619
665
 
666
+ # The metadata for the Operation returned by PartialUpdateCluster.
667
+ class PartialUpdateClusterMetadata
668
+ include Google::Apis::Core::Hashable
669
+
670
+ # The time at which the operation failed or was completed successfully.
671
+ # Corresponds to the JSON property `finishTime`
672
+ # @return [String]
673
+ attr_accessor :finish_time
674
+
675
+ # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
676
+ # Corresponds to the JSON property `originalRequest`
677
+ # @return [Google::Apis::BigtableadminV1::PartialUpdateClusterRequest]
678
+ attr_accessor :original_request
679
+
680
+ # The time at which the original request was received.
681
+ # Corresponds to the JSON property `requestTime`
682
+ # @return [String]
683
+ attr_accessor :request_time
684
+
685
+ def initialize(**args)
686
+ update!(**args)
687
+ end
688
+
689
+ # Update properties of this object
690
+ def update!(**args)
691
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
692
+ @original_request = args[:original_request] if args.key?(:original_request)
693
+ @request_time = args[:request_time] if args.key?(:request_time)
694
+ end
695
+ end
696
+
697
+ # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
698
+ class PartialUpdateClusterRequest
699
+ include Google::Apis::Core::Hashable
700
+
701
+ # A resizable group of nodes in a particular cloud location, capable of serving
702
+ # all Tables in the parent Instance.
703
+ # Corresponds to the JSON property `cluster`
704
+ # @return [Google::Apis::BigtableadminV1::Cluster]
705
+ attr_accessor :cluster
706
+
707
+ # Required. The subset of Cluster fields which should be replaced.
708
+ # Corresponds to the JSON property `updateMask`
709
+ # @return [String]
710
+ attr_accessor :update_mask
711
+
712
+ def initialize(**args)
713
+ update!(**args)
714
+ end
715
+
716
+ # Update properties of this object
717
+ def update!(**args)
718
+ @cluster = args[:cluster] if args.key?(:cluster)
719
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
720
+ end
721
+ end
722
+
620
723
  # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
621
724
  class PartialUpdateInstanceRequest
622
725
  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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210811"
25
+ REVISION = "20211218"
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
 
@@ -82,31 +106,31 @@ module Google
82
106
  include Google::Apis::Core::JsonObjectSupport
83
107
  end
84
108
 
85
- class FailureTrace
109
+ class Instance
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
88
112
  include Google::Apis::Core::JsonObjectSupport
89
113
  end
90
114
 
91
- class Frame
115
+ class OperationProgress
92
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
117
 
94
118
  include Google::Apis::Core::JsonObjectSupport
95
119
  end
96
120
 
97
- class Instance
121
+ class OptimizeRestoredTableMetadata
98
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
123
 
100
124
  include Google::Apis::Core::JsonObjectSupport
101
125
  end
102
126
 
103
- class OperationProgress
127
+ class PartialUpdateClusterMetadata
104
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
129
 
106
130
  include Google::Apis::Core::JsonObjectSupport
107
131
  end
108
132
 
109
- class OptimizeRestoredTableMetadata
133
+ class PartialUpdateClusterRequest
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
112
136
  include Google::Apis::Core::JsonObjectSupport
@@ -154,6 +178,21 @@ module Google
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
181
+ class AutoscalingLimits
182
+ # @private
183
+ class Representation < Google::Apis::Core::JsonRepresentation
184
+ property :max_serve_nodes, as: 'maxServeNodes'
185
+ property :min_serve_nodes, as: 'minServeNodes'
186
+ end
187
+ end
188
+
189
+ class AutoscalingTargets
190
+ # @private
191
+ class Representation < Google::Apis::Core::JsonRepresentation
192
+ property :cpu_utilization_percent, as: 'cpuUtilizationPercent'
193
+ end
194
+ end
195
+
157
196
  class Backup
158
197
  # @private
159
198
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -182,6 +221,8 @@ module Google
182
221
  class Cluster
183
222
  # @private
184
223
  class Representation < Google::Apis::Core::JsonRepresentation
224
+ property :cluster_config, as: 'clusterConfig', class: Google::Apis::BigtableadminV1::ClusterConfig, decorator: Google::Apis::BigtableadminV1::ClusterConfig::Representation
225
+
185
226
  property :default_storage_type, as: 'defaultStorageType'
186
227
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BigtableadminV1::EncryptionConfig, decorator: Google::Apis::BigtableadminV1::EncryptionConfig::Representation
187
228
 
@@ -192,6 +233,24 @@ module Google
192
233
  end
193
234
  end
194
235
 
236
+ class ClusterAutoscalingConfig
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::BigtableadminV1::AutoscalingLimits, decorator: Google::Apis::BigtableadminV1::AutoscalingLimits::Representation
240
+
241
+ property :autoscaling_targets, as: 'autoscalingTargets', class: Google::Apis::BigtableadminV1::AutoscalingTargets, decorator: Google::Apis::BigtableadminV1::AutoscalingTargets::Representation
242
+
243
+ end
244
+ end
245
+
246
+ class ClusterConfig
247
+ # @private
248
+ class Representation < Google::Apis::Core::JsonRepresentation
249
+ property :cluster_autoscaling_config, as: 'clusterAutoscalingConfig', class: Google::Apis::BigtableadminV1::ClusterAutoscalingConfig, decorator: Google::Apis::BigtableadminV1::ClusterAutoscalingConfig::Representation
250
+
251
+ end
252
+ end
253
+
195
254
  class CreateBackupMetadata
196
255
  # @private
197
256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,23 +322,6 @@ module Google
263
322
  end
264
323
  end
265
324
 
266
- class FailureTrace
267
- # @private
268
- class Representation < Google::Apis::Core::JsonRepresentation
269
- collection :frames, as: 'frames', class: Google::Apis::BigtableadminV1::Frame, decorator: Google::Apis::BigtableadminV1::Frame::Representation
270
-
271
- end
272
- end
273
-
274
- class Frame
275
- # @private
276
- class Representation < Google::Apis::Core::JsonRepresentation
277
- property :target_name, as: 'targetName'
278
- property :workflow_guid, as: 'workflowGuid'
279
- property :zone_id, as: 'zoneId'
280
- end
281
- end
282
-
283
325
  class Instance
284
326
  # @private
285
327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -310,6 +352,25 @@ module Google
310
352
  end
311
353
  end
312
354
 
355
+ class PartialUpdateClusterMetadata
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :finish_time, as: 'finishTime'
359
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV1::PartialUpdateClusterRequest, decorator: Google::Apis::BigtableadminV1::PartialUpdateClusterRequest::Representation
360
+
361
+ property :request_time, as: 'requestTime'
362
+ end
363
+ end
364
+
365
+ class PartialUpdateClusterRequest
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV1::Cluster, decorator: Google::Apis::BigtableadminV1::Cluster::Representation
369
+
370
+ property :update_mask, as: 'updateMask'
371
+ end
372
+ end
373
+
313
374
  class PartialUpdateInstanceRequest
314
375
  # @private
315
376
  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.7.0
4
+ version: 0.11.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-09-13 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.7.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.11.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:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Bigtable Admin API V1