google-apis-bigtableadmin_v2 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/bigtableadmin_v2/classes.rb +230 -57
- data/lib/google/apis/bigtableadmin_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigtableadmin_v2/representations.rb +92 -0
- data/lib/google/apis/bigtableadmin_v2.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23505e747ebc85bf53b05cdbf2a4fa2ab8735a115207cb0fa2d1dc18098f7ba0
|
4
|
+
data.tar.gz: 025fc8e88f1bc8f9217a47ab8be7c864088c3a84f4770a53b38ca6fda7b1cae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0457b6c39dca45ee89344ec042272665e9fd8f89852162c6c1aacfc98272b48431ab307d031971f4d132c123459d7abb42ce614fd5d5686e7ced1a5bb9e140ab
|
7
|
+
data.tar.gz: a37b62040490bbdf5d5b635b092ed9d21601c7f4ece4661f65789b438c51abf2de0be54783981e49bca278f210d2667d732e06bdf3a559ff6c27f9243055a13c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-bigtableadmin_v2
|
2
2
|
|
3
|
+
### v0.12.0 (2021-11-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211104
|
6
|
+
|
7
|
+
### v0.11.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.10.0 (2021-10-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210921
|
14
|
+
|
15
|
+
### v0.9.0 (2021-09-07)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210811
|
18
|
+
|
3
19
|
### v0.8.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
@@ -149,6 +149,51 @@ module Google
|
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
|
+
# Limits for the number of nodes a Cluster can autoscale up/down to.
|
153
|
+
class AutoscalingLimits
|
154
|
+
include Google::Apis::Core::Hashable
|
155
|
+
|
156
|
+
# Required. Maximum number of nodes to scale up to.
|
157
|
+
# Corresponds to the JSON property `maxServeNodes`
|
158
|
+
# @return [Fixnum]
|
159
|
+
attr_accessor :max_serve_nodes
|
160
|
+
|
161
|
+
# Required. Minimum number of nodes to scale down to.
|
162
|
+
# Corresponds to the JSON property `minServeNodes`
|
163
|
+
# @return [Fixnum]
|
164
|
+
attr_accessor :min_serve_nodes
|
165
|
+
|
166
|
+
def initialize(**args)
|
167
|
+
update!(**args)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Update properties of this object
|
171
|
+
def update!(**args)
|
172
|
+
@max_serve_nodes = args[:max_serve_nodes] if args.key?(:max_serve_nodes)
|
173
|
+
@min_serve_nodes = args[:min_serve_nodes] if args.key?(:min_serve_nodes)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# The Autoscaling targets for a Cluster. These determine the recommended nodes.
|
178
|
+
class AutoscalingTargets
|
179
|
+
include Google::Apis::Core::Hashable
|
180
|
+
|
181
|
+
# The cpu utilization that the Autoscaler should be trying to achieve. This
|
182
|
+
# number is on a scale from 0 (no utilization) to 100 (total utilization).
|
183
|
+
# Corresponds to the JSON property `cpuUtilizationPercent`
|
184
|
+
# @return [Fixnum]
|
185
|
+
attr_accessor :cpu_utilization_percent
|
186
|
+
|
187
|
+
def initialize(**args)
|
188
|
+
update!(**args)
|
189
|
+
end
|
190
|
+
|
191
|
+
# Update properties of this object
|
192
|
+
def update!(**args)
|
193
|
+
@cpu_utilization_percent = args[:cpu_utilization_percent] if args.key?(:cpu_utilization_percent)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
152
197
|
# A backup of a Cloud Bigtable table.
|
153
198
|
class Backup
|
154
199
|
include Google::Apis::Core::Hashable
|
@@ -264,7 +309,7 @@ module Google
|
|
264
309
|
end
|
265
310
|
end
|
266
311
|
|
267
|
-
# Associates `members
|
312
|
+
# Associates `members`, or principals, with a `role`.
|
268
313
|
class Binding
|
269
314
|
include Google::Apis::Core::Hashable
|
270
315
|
|
@@ -287,7 +332,7 @@ module Google
|
|
287
332
|
# @return [Google::Apis::BigtableadminV2::Expr]
|
288
333
|
attr_accessor :condition
|
289
334
|
|
290
|
-
# Specifies the
|
335
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
291
336
|
# members` can have the following values: * `allUsers`: A special identifier
|
292
337
|
# that represents anyone who is on the internet; with or without a Google
|
293
338
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -317,8 +362,8 @@ module Google
|
|
317
362
|
# @return [Array<String>]
|
318
363
|
attr_accessor :members
|
319
364
|
|
320
|
-
# Role that is assigned to `members
|
321
|
-
#
|
365
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
366
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
322
367
|
# Corresponds to the JSON property `role`
|
323
368
|
# @return [String]
|
324
369
|
attr_accessor :role
|
@@ -382,6 +427,11 @@ module Google
|
|
382
427
|
class Cluster
|
383
428
|
include Google::Apis::Core::Hashable
|
384
429
|
|
430
|
+
# Configuration for a cluster.
|
431
|
+
# Corresponds to the JSON property `clusterConfig`
|
432
|
+
# @return [Google::Apis::BigtableadminV2::ClusterConfig]
|
433
|
+
attr_accessor :cluster_config
|
434
|
+
|
385
435
|
# Immutable. The type of storage used by this cluster to serve its parent
|
386
436
|
# instance's tables, unless explicitly overridden.
|
387
437
|
# Corresponds to the JSON property `defaultStorageType`
|
@@ -424,6 +474,7 @@ module Google
|
|
424
474
|
|
425
475
|
# Update properties of this object
|
426
476
|
def update!(**args)
|
477
|
+
@cluster_config = args[:cluster_config] if args.key?(:cluster_config)
|
427
478
|
@default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
|
428
479
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
429
480
|
@location = args[:location] if args.key?(:location)
|
@@ -433,6 +484,50 @@ module Google
|
|
433
484
|
end
|
434
485
|
end
|
435
486
|
|
487
|
+
# Autoscaling config for a cluster.
|
488
|
+
class ClusterAutoscalingConfig
|
489
|
+
include Google::Apis::Core::Hashable
|
490
|
+
|
491
|
+
# Limits for the number of nodes a Cluster can autoscale up/down to.
|
492
|
+
# Corresponds to the JSON property `autoscalingLimits`
|
493
|
+
# @return [Google::Apis::BigtableadminV2::AutoscalingLimits]
|
494
|
+
attr_accessor :autoscaling_limits
|
495
|
+
|
496
|
+
# The Autoscaling targets for a Cluster. These determine the recommended nodes.
|
497
|
+
# Corresponds to the JSON property `autoscalingTargets`
|
498
|
+
# @return [Google::Apis::BigtableadminV2::AutoscalingTargets]
|
499
|
+
attr_accessor :autoscaling_targets
|
500
|
+
|
501
|
+
def initialize(**args)
|
502
|
+
update!(**args)
|
503
|
+
end
|
504
|
+
|
505
|
+
# Update properties of this object
|
506
|
+
def update!(**args)
|
507
|
+
@autoscaling_limits = args[:autoscaling_limits] if args.key?(:autoscaling_limits)
|
508
|
+
@autoscaling_targets = args[:autoscaling_targets] if args.key?(:autoscaling_targets)
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
# Configuration for a cluster.
|
513
|
+
class ClusterConfig
|
514
|
+
include Google::Apis::Core::Hashable
|
515
|
+
|
516
|
+
# Autoscaling config for a cluster.
|
517
|
+
# Corresponds to the JSON property `clusterAutoscalingConfig`
|
518
|
+
# @return [Google::Apis::BigtableadminV2::ClusterAutoscalingConfig]
|
519
|
+
attr_accessor :cluster_autoscaling_config
|
520
|
+
|
521
|
+
def initialize(**args)
|
522
|
+
update!(**args)
|
523
|
+
end
|
524
|
+
|
525
|
+
# Update properties of this object
|
526
|
+
def update!(**args)
|
527
|
+
@cluster_autoscaling_config = args[:cluster_autoscaling_config] if args.key?(:cluster_autoscaling_config)
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
436
531
|
# The state of a table's data in a particular cluster.
|
437
532
|
class ClusterState
|
438
533
|
include Google::Apis::Core::Hashable
|
@@ -1046,6 +1141,13 @@ module Google
|
|
1046
1141
|
class Instance
|
1047
1142
|
include Google::Apis::Core::Hashable
|
1048
1143
|
|
1144
|
+
# Output only. A server-assigned timestamp representing when this Instance was
|
1145
|
+
# created. For instances created before this field was added (August 2021), this
|
1146
|
+
# value is `seconds: 0, nanos: 1`.
|
1147
|
+
# Corresponds to the JSON property `createTime`
|
1148
|
+
# @return [String]
|
1149
|
+
attr_accessor :create_time
|
1150
|
+
|
1049
1151
|
# Required. The descriptive name for this instance as it appears in UIs. Can be
|
1050
1152
|
# changed at any time, but should be kept globally unique to avoid confusion.
|
1051
1153
|
# Corresponds to the JSON property `displayName`
|
@@ -1086,6 +1188,7 @@ module Google
|
|
1086
1188
|
|
1087
1189
|
# Update properties of this object
|
1088
1190
|
def update!(**args)
|
1191
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1089
1192
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1090
1193
|
@labels = args[:labels] if args.key?(:labels)
|
1091
1194
|
@name = args[:name] if args.key?(:name)
|
@@ -1435,12 +1538,19 @@ module Google
|
|
1435
1538
|
class MultiClusterRoutingUseAny
|
1436
1539
|
include Google::Apis::Core::Hashable
|
1437
1540
|
|
1541
|
+
# The set of clusters to route to. The order is ignored; clusters will be tried
|
1542
|
+
# in order of distance. If left empty, all clusters are eligible.
|
1543
|
+
# Corresponds to the JSON property `clusterIds`
|
1544
|
+
# @return [Array<String>]
|
1545
|
+
attr_accessor :cluster_ids
|
1546
|
+
|
1438
1547
|
def initialize(**args)
|
1439
1548
|
update!(**args)
|
1440
1549
|
end
|
1441
1550
|
|
1442
1551
|
# Update properties of this object
|
1443
1552
|
def update!(**args)
|
1553
|
+
@cluster_ids = args[:cluster_ids] if args.key?(:cluster_ids)
|
1444
1554
|
end
|
1445
1555
|
end
|
1446
1556
|
|
@@ -1567,6 +1677,64 @@ module Google
|
|
1567
1677
|
end
|
1568
1678
|
end
|
1569
1679
|
|
1680
|
+
# The metadata for the Operation returned by PartialUpdateCluster.
|
1681
|
+
class PartialUpdateClusterMetadata
|
1682
|
+
include Google::Apis::Core::Hashable
|
1683
|
+
|
1684
|
+
# The time at which the operation failed or was completed successfully.
|
1685
|
+
# Corresponds to the JSON property `finishTime`
|
1686
|
+
# @return [String]
|
1687
|
+
attr_accessor :finish_time
|
1688
|
+
|
1689
|
+
# Request message for BigtableInstanceAdmin.PartialUpdateCluster.
|
1690
|
+
# Corresponds to the JSON property `originalRequest`
|
1691
|
+
# @return [Google::Apis::BigtableadminV2::PartialUpdateClusterRequest]
|
1692
|
+
attr_accessor :original_request
|
1693
|
+
|
1694
|
+
# The time at which the original request was received.
|
1695
|
+
# Corresponds to the JSON property `requestTime`
|
1696
|
+
# @return [String]
|
1697
|
+
attr_accessor :request_time
|
1698
|
+
|
1699
|
+
def initialize(**args)
|
1700
|
+
update!(**args)
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
# Update properties of this object
|
1704
|
+
def update!(**args)
|
1705
|
+
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
1706
|
+
@original_request = args[:original_request] if args.key?(:original_request)
|
1707
|
+
@request_time = args[:request_time] if args.key?(:request_time)
|
1708
|
+
end
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# Request message for BigtableInstanceAdmin.PartialUpdateCluster.
|
1712
|
+
class PartialUpdateClusterRequest
|
1713
|
+
include Google::Apis::Core::Hashable
|
1714
|
+
|
1715
|
+
# A resizable group of nodes in a particular cloud location, capable of serving
|
1716
|
+
# all Tables in the parent Instance.
|
1717
|
+
# Corresponds to the JSON property `cluster`
|
1718
|
+
# @return [Google::Apis::BigtableadminV2::Cluster]
|
1719
|
+
attr_accessor :cluster
|
1720
|
+
|
1721
|
+
# Required. The subset of Cluster fields which should be replaced. Must be
|
1722
|
+
# explicitly set.
|
1723
|
+
# Corresponds to the JSON property `updateMask`
|
1724
|
+
# @return [String]
|
1725
|
+
attr_accessor :update_mask
|
1726
|
+
|
1727
|
+
def initialize(**args)
|
1728
|
+
update!(**args)
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
# Update properties of this object
|
1732
|
+
def update!(**args)
|
1733
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
1734
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1570
1738
|
# Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
1571
1739
|
class PartialUpdateInstanceRequest
|
1572
1740
|
include Google::Apis::Core::Hashable
|
@@ -1596,31 +1764,31 @@ module Google
|
|
1596
1764
|
|
1597
1765
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1598
1766
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1599
|
-
# A `binding` binds one or more `members
|
1600
|
-
# user accounts, service accounts, Google groups, and domains (
|
1601
|
-
# A `role` is a named list of permissions; each `role` can be
|
1602
|
-
# role or a user-created custom role. For some types of Google
|
1603
|
-
# a `binding` can also specify a `condition`, which is a
|
1604
|
-
# allows access to a resource only if the expression
|
1605
|
-
# condition can add constraints based on attributes of
|
1606
|
-
# or both. To learn which resources support
|
1607
|
-
# see the [IAM documentation](https://cloud.
|
1608
|
-
# resource-policies). **JSON example:** ` "
|
1609
|
-
# resourcemanager.organizationAdmin", "members": [
|
1610
|
-
# group:admins@example.com", "domain:google.com", "
|
1611
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1612
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1613
|
-
# title": "expirable access", "description": "Does not grant
|
1614
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1615
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1616
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1617
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1618
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1619
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1620
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1621
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1622
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1623
|
-
# google.com/iam/docs/).
|
1767
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1768
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1769
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1770
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1771
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1772
|
+
# logical expression that allows access to a resource only if the expression
|
1773
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1774
|
+
# the request, the resource, or both. To learn which resources support
|
1775
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1776
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1777
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1778
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1779
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1780
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1781
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1782
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1783
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1784
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1785
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1786
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1787
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1788
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1789
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1790
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1791
|
+
# cloud.google.com/iam/docs/).
|
1624
1792
|
class Policy
|
1625
1793
|
include Google::Apis::Core::Hashable
|
1626
1794
|
|
@@ -1629,9 +1797,14 @@ module Google
|
|
1629
1797
|
# @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
|
1630
1798
|
attr_accessor :audit_configs
|
1631
1799
|
|
1632
|
-
# Associates a list of `members
|
1633
|
-
# condition` that determines how and when the `bindings` are applied.
|
1634
|
-
# the `bindings` must contain at least one
|
1800
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1801
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1802
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1803
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1804
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1805
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1806
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1807
|
+
# principals to the `bindings` in the `Policy`.
|
1635
1808
|
# Corresponds to the JSON property `bindings`
|
1636
1809
|
# @return [Array<Google::Apis::BigtableadminV2::Binding>]
|
1637
1810
|
attr_accessor :bindings
|
@@ -1794,31 +1967,31 @@ module Google
|
|
1794
1967
|
|
1795
1968
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1796
1969
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1797
|
-
# A `binding` binds one or more `members
|
1798
|
-
# user accounts, service accounts, Google groups, and domains (
|
1799
|
-
# A `role` is a named list of permissions; each `role` can be
|
1800
|
-
# role or a user-created custom role. For some types of Google
|
1801
|
-
# a `binding` can also specify a `condition`, which is a
|
1802
|
-
# allows access to a resource only if the expression
|
1803
|
-
# condition can add constraints based on attributes of
|
1804
|
-
# or both. To learn which resources support
|
1805
|
-
# see the [IAM documentation](https://cloud.
|
1806
|
-
# resource-policies). **JSON example:** ` "
|
1807
|
-
# resourcemanager.organizationAdmin", "members": [
|
1808
|
-
# group:admins@example.com", "domain:google.com", "
|
1809
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1810
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1811
|
-
# title": "expirable access", "description": "Does not grant
|
1812
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1813
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1814
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1815
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1816
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1817
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1818
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1819
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1820
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1821
|
-
# google.com/iam/docs/).
|
1970
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1971
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1972
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1973
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1974
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1975
|
+
# logical expression that allows access to a resource only if the expression
|
1976
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1977
|
+
# the request, the resource, or both. To learn which resources support
|
1978
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1979
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1980
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1981
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1982
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1983
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1984
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1985
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1986
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1987
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1988
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1989
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1990
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1991
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1992
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1993
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1994
|
+
# cloud.google.com/iam/docs/).
|
1822
1995
|
# Corresponds to the JSON property `policy`
|
1823
1996
|
# @return [Google::Apis::BigtableadminV2::Policy]
|
1824
1997
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigtableadminV2
|
18
18
|
# Version of the google-apis-bigtableadmin_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.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
|
@@ -40,6 +40,18 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class AutoscalingLimits
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AutoscalingTargets
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class Backup
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -76,6 +88,18 @@ module Google
|
|
76
88
|
include Google::Apis::Core::JsonObjectSupport
|
77
89
|
end
|
78
90
|
|
91
|
+
class ClusterAutoscalingConfig
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ClusterConfig
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
79
103
|
class ClusterState
|
80
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
105
|
|
@@ -292,6 +316,18 @@ module Google
|
|
292
316
|
include Google::Apis::Core::JsonObjectSupport
|
293
317
|
end
|
294
318
|
|
319
|
+
class PartialUpdateClusterMetadata
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class PartialUpdateClusterRequest
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
295
331
|
class PartialUpdateInstanceRequest
|
296
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
333
|
|
@@ -424,6 +460,21 @@ module Google
|
|
424
460
|
end
|
425
461
|
end
|
426
462
|
|
463
|
+
class AutoscalingLimits
|
464
|
+
# @private
|
465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
466
|
+
property :max_serve_nodes, as: 'maxServeNodes'
|
467
|
+
property :min_serve_nodes, as: 'minServeNodes'
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
class AutoscalingTargets
|
472
|
+
# @private
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
property :cpu_utilization_percent, as: 'cpuUtilizationPercent'
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
427
478
|
class Backup
|
428
479
|
# @private
|
429
480
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -476,6 +527,8 @@ module Google
|
|
476
527
|
class Cluster
|
477
528
|
# @private
|
478
529
|
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
property :cluster_config, as: 'clusterConfig', class: Google::Apis::BigtableadminV2::ClusterConfig, decorator: Google::Apis::BigtableadminV2::ClusterConfig::Representation
|
531
|
+
|
479
532
|
property :default_storage_type, as: 'defaultStorageType'
|
480
533
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BigtableadminV2::EncryptionConfig, decorator: Google::Apis::BigtableadminV2::EncryptionConfig::Representation
|
481
534
|
|
@@ -486,6 +539,24 @@ module Google
|
|
486
539
|
end
|
487
540
|
end
|
488
541
|
|
542
|
+
class ClusterAutoscalingConfig
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::BigtableadminV2::AutoscalingLimits, decorator: Google::Apis::BigtableadminV2::AutoscalingLimits::Representation
|
546
|
+
|
547
|
+
property :autoscaling_targets, as: 'autoscalingTargets', class: Google::Apis::BigtableadminV2::AutoscalingTargets, decorator: Google::Apis::BigtableadminV2::AutoscalingTargets::Representation
|
548
|
+
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
class ClusterConfig
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :cluster_autoscaling_config, as: 'clusterAutoscalingConfig', class: Google::Apis::BigtableadminV2::ClusterAutoscalingConfig, decorator: Google::Apis::BigtableadminV2::ClusterAutoscalingConfig::Representation
|
556
|
+
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
489
560
|
class ClusterState
|
490
561
|
# @private
|
491
562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -669,6 +740,7 @@ module Google
|
|
669
740
|
class Instance
|
670
741
|
# @private
|
671
742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
743
|
+
property :create_time, as: 'createTime'
|
672
744
|
property :display_name, as: 'displayName'
|
673
745
|
hash :labels, as: 'labels'
|
674
746
|
property :name, as: 'name'
|
@@ -785,6 +857,7 @@ module Google
|
|
785
857
|
class MultiClusterRoutingUseAny
|
786
858
|
# @private
|
787
859
|
class Representation < Google::Apis::Core::JsonRepresentation
|
860
|
+
collection :cluster_ids, as: 'clusterIds'
|
788
861
|
end
|
789
862
|
end
|
790
863
|
|
@@ -818,6 +891,25 @@ module Google
|
|
818
891
|
end
|
819
892
|
end
|
820
893
|
|
894
|
+
class PartialUpdateClusterMetadata
|
895
|
+
# @private
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
897
|
+
property :finish_time, as: 'finishTime'
|
898
|
+
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::PartialUpdateClusterRequest, decorator: Google::Apis::BigtableadminV2::PartialUpdateClusterRequest::Representation
|
899
|
+
|
900
|
+
property :request_time, as: 'requestTime'
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
904
|
+
class PartialUpdateClusterRequest
|
905
|
+
# @private
|
906
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
907
|
+
property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
|
908
|
+
|
909
|
+
property :update_mask, as: 'updateMask'
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
821
913
|
class PartialUpdateInstanceRequest
|
822
914
|
# @private
|
823
915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -50,10 +50,10 @@ module Google
|
|
50
50
|
# Administer your Cloud Bigtable tables
|
51
51
|
AUTH_CLOUD_BIGTABLE_ADMIN_TABLE = 'https://www.googleapis.com/auth/cloud-bigtable.admin.table'
|
52
52
|
|
53
|
-
# See, edit, configure, and delete your Google Cloud
|
53
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
54
54
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
55
55
|
|
56
|
-
# View your data across Google Cloud
|
56
|
+
# View your data across Google Cloud services and see the email address of your Google Account
|
57
57
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
58
58
|
end
|
59
59
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigtableadmin_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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
|
@@ -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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigtableadmin_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|