google-apis-bigtableadmin_v2 0.11.0 → 0.15.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: d59f6fb4069e5c89eb8487a0ecd024e266458b26ae5db9dc98063d1b4feda0c1
4
- data.tar.gz: 608cfd09821d76b9d5eee27f611e390c3cc6283bb0f5ec0db13167d33cc082e3
3
+ metadata.gz: 78715ac4dd3d91b161b1db156a9c945bdb4bd7c34324ad8e62a23c2ac24ab1a1
4
+ data.tar.gz: 5005d851f067582164a135534685a916a61c563adc841eef192cec153ffe6f1b
5
5
  SHA512:
6
- metadata.gz: 654a29265e89c0ee676a0f7463a0364aa24faab1a6d8e57fa5e1b1901438a4f1e41485f2c1515bd451962b9425baf1f33cf2246a31b51cf95af56a1ed6aef438
7
- data.tar.gz: d67dc4eb0b66e89dccb42325368eb417936ea48a25eab1304f8204d9e875a19dcb1acbbce44ea89c99f558bef7b3fb10b1c1ff5816c9602fd413dd44faf1f082
6
+ metadata.gz: dbba68af30973fff3663c550377148326a4d460d399963d6248c68a4a64eccd87061d2ded2006e22390c7c8546a06721ec49b2df6372a9b3a204a800b5e9d9b5
7
+ data.tar.gz: 7eda6b0db5162ccccfd7230892bf7caba67f1503d8078c501239ed6a440f80d181952b732f2f2e4d0048e100aa8e3972696a6b2669cbcbeea4961c6fe5aa160c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.15.0 (2022-02-05)
4
+
5
+ * Regenerated from discovery document revision 20220114
6
+
7
+ ### v0.14.0 (2022-01-14)
8
+
9
+ * Regenerated from discovery document revision 20211218
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.13.0 (2021-12-14)
13
+
14
+ * Regenerated from discovery document revision 20211202
15
+
16
+ ### v0.12.0 (2021-11-16)
17
+
18
+ * Regenerated from discovery document revision 20211104
19
+
3
20
  ### v0.11.0 (2021-10-20)
4
21
 
5
22
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/bigtableadmin_v2"
51
51
  client = Google::Apis::BigtableadminV2::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.
@@ -149,6 +149,52 @@ 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), and
183
+ # is limited between 10 and 80.
184
+ # Corresponds to the JSON property `cpuUtilizationPercent`
185
+ # @return [Fixnum]
186
+ attr_accessor :cpu_utilization_percent
187
+
188
+ def initialize(**args)
189
+ update!(**args)
190
+ end
191
+
192
+ # Update properties of this object
193
+ def update!(**args)
194
+ @cpu_utilization_percent = args[:cpu_utilization_percent] if args.key?(:cpu_utilization_percent)
195
+ end
196
+ end
197
+
152
198
  # A backup of a Cloud Bigtable table.
153
199
  class Backup
154
200
  include Google::Apis::Core::Hashable
@@ -264,7 +310,7 @@ module Google
264
310
  end
265
311
  end
266
312
 
267
- # Associates `members` with a `role`.
313
+ # Associates `members`, or principals, with a `role`.
268
314
  class Binding
269
315
  include Google::Apis::Core::Hashable
270
316
 
@@ -287,7 +333,7 @@ module Google
287
333
  # @return [Google::Apis::BigtableadminV2::Expr]
288
334
  attr_accessor :condition
289
335
 
290
- # Specifies the identities requesting access for a Cloud Platform resource. `
336
+ # Specifies the principals requesting access for a Cloud Platform resource. `
291
337
  # members` can have the following values: * `allUsers`: A special identifier
292
338
  # that represents anyone who is on the internet; with or without a Google
293
339
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -317,8 +363,8 @@ module Google
317
363
  # @return [Array<String>]
318
364
  attr_accessor :members
319
365
 
320
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
321
- # , or `roles/owner`.
366
+ # Role that is assigned to the list of `members`, or principals. For example, `
367
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
322
368
  # Corresponds to the JSON property `role`
323
369
  # @return [String]
324
370
  attr_accessor :role
@@ -382,6 +428,11 @@ module Google
382
428
  class Cluster
383
429
  include Google::Apis::Core::Hashable
384
430
 
431
+ # Configuration for a cluster.
432
+ # Corresponds to the JSON property `clusterConfig`
433
+ # @return [Google::Apis::BigtableadminV2::ClusterConfig]
434
+ attr_accessor :cluster_config
435
+
385
436
  # Immutable. The type of storage used by this cluster to serve its parent
386
437
  # instance's tables, unless explicitly overridden.
387
438
  # Corresponds to the JSON property `defaultStorageType`
@@ -407,8 +458,8 @@ module Google
407
458
  # @return [String]
408
459
  attr_accessor :name
409
460
 
410
- # Required. The number of nodes allocated to this cluster. More nodes enable
411
- # higher throughput and more consistent performance.
461
+ # The number of nodes allocated to this cluster. More nodes enable higher
462
+ # throughput and more consistent performance.
412
463
  # Corresponds to the JSON property `serveNodes`
413
464
  # @return [Fixnum]
414
465
  attr_accessor :serve_nodes
@@ -424,6 +475,7 @@ module Google
424
475
 
425
476
  # Update properties of this object
426
477
  def update!(**args)
478
+ @cluster_config = args[:cluster_config] if args.key?(:cluster_config)
427
479
  @default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
428
480
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
429
481
  @location = args[:location] if args.key?(:location)
@@ -433,6 +485,50 @@ module Google
433
485
  end
434
486
  end
435
487
 
488
+ # Autoscaling config for a cluster.
489
+ class ClusterAutoscalingConfig
490
+ include Google::Apis::Core::Hashable
491
+
492
+ # Limits for the number of nodes a Cluster can autoscale up/down to.
493
+ # Corresponds to the JSON property `autoscalingLimits`
494
+ # @return [Google::Apis::BigtableadminV2::AutoscalingLimits]
495
+ attr_accessor :autoscaling_limits
496
+
497
+ # The Autoscaling targets for a Cluster. These determine the recommended nodes.
498
+ # Corresponds to the JSON property `autoscalingTargets`
499
+ # @return [Google::Apis::BigtableadminV2::AutoscalingTargets]
500
+ attr_accessor :autoscaling_targets
501
+
502
+ def initialize(**args)
503
+ update!(**args)
504
+ end
505
+
506
+ # Update properties of this object
507
+ def update!(**args)
508
+ @autoscaling_limits = args[:autoscaling_limits] if args.key?(:autoscaling_limits)
509
+ @autoscaling_targets = args[:autoscaling_targets] if args.key?(:autoscaling_targets)
510
+ end
511
+ end
512
+
513
+ # Configuration for a cluster.
514
+ class ClusterConfig
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # Autoscaling config for a cluster.
518
+ # Corresponds to the JSON property `clusterAutoscalingConfig`
519
+ # @return [Google::Apis::BigtableadminV2::ClusterAutoscalingConfig]
520
+ attr_accessor :cluster_autoscaling_config
521
+
522
+ def initialize(**args)
523
+ update!(**args)
524
+ end
525
+
526
+ # Update properties of this object
527
+ def update!(**args)
528
+ @cluster_autoscaling_config = args[:cluster_autoscaling_config] if args.key?(:cluster_autoscaling_config)
529
+ end
530
+ end
531
+
436
532
  # The state of a table's data in a particular cluster.
437
533
  class ClusterState
438
534
  include Google::Apis::Core::Hashable
@@ -875,56 +971,6 @@ module Google
875
971
  end
876
972
  end
877
973
 
878
- # Added to the error payload.
879
- class FailureTrace
880
- include Google::Apis::Core::Hashable
881
-
882
- #
883
- # Corresponds to the JSON property `frames`
884
- # @return [Array<Google::Apis::BigtableadminV2::Frame>]
885
- attr_accessor :frames
886
-
887
- def initialize(**args)
888
- update!(**args)
889
- end
890
-
891
- # Update properties of this object
892
- def update!(**args)
893
- @frames = args[:frames] if args.key?(:frames)
894
- end
895
- end
896
-
897
- #
898
- class Frame
899
- include Google::Apis::Core::Hashable
900
-
901
- #
902
- # Corresponds to the JSON property `targetName`
903
- # @return [String]
904
- attr_accessor :target_name
905
-
906
- #
907
- # Corresponds to the JSON property `workflowGuid`
908
- # @return [String]
909
- attr_accessor :workflow_guid
910
-
911
- #
912
- # Corresponds to the JSON property `zoneId`
913
- # @return [String]
914
- attr_accessor :zone_id
915
-
916
- def initialize(**args)
917
- update!(**args)
918
- end
919
-
920
- # Update properties of this object
921
- def update!(**args)
922
- @target_name = args[:target_name] if args.key?(:target_name)
923
- @workflow_guid = args[:workflow_guid] if args.key?(:workflow_guid)
924
- @zone_id = args[:zone_id] if args.key?(:zone_id)
925
- end
926
- end
927
-
928
974
  # Rule for determining which cells to delete during garbage collection.
929
975
  class GcRule
930
976
  include Google::Apis::Core::Hashable
@@ -1020,13 +1066,16 @@ module Google
1020
1066
  class GetPolicyOptions
1021
1067
  include Google::Apis::Core::Hashable
1022
1068
 
1023
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
1024
- # 3. Requests specifying an invalid value will be rejected. Requests for
1025
- # policies with any conditional bindings must specify version 3. Policies
1026
- # without any conditional bindings may specify any valid value or leave the
1027
- # field unset. To learn which resources support conditions in their IAM policies,
1028
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1029
- # resource-policies).
1069
+ # Optional. The maximum policy version that will be used to format the policy.
1070
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1071
+ # rejected. Requests for policies with any conditional role bindings must
1072
+ # specify version 3. Policies with no conditional role bindings may specify any
1073
+ # valid value or leave the field unset. The policy in the response might use the
1074
+ # policy version that you specified, or it might use a lower policy version. For
1075
+ # example, if you specify version 3, but the policy has no conditional role
1076
+ # bindings, the response uses version 1. To learn which resources support
1077
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1078
+ # google.com/iam/help/conditions/resource-policies).
1030
1079
  # Corresponds to the JSON property `requestedPolicyVersion`
1031
1080
  # @return [Fixnum]
1032
1081
  attr_accessor :requested_policy_version
@@ -1047,7 +1096,8 @@ module Google
1047
1096
  include Google::Apis::Core::Hashable
1048
1097
 
1049
1098
  # Output only. A server-assigned timestamp representing when this Instance was
1050
- # created.
1099
+ # created. For instances created before this field was added (August 2021), this
1100
+ # value is `seconds: 0, nanos: 1`.
1051
1101
  # Corresponds to the JSON property `createTime`
1052
1102
  # @return [String]
1053
1103
  attr_accessor :create_time
@@ -1581,6 +1631,63 @@ module Google
1581
1631
  end
1582
1632
  end
1583
1633
 
1634
+ # The metadata for the Operation returned by PartialUpdateCluster.
1635
+ class PartialUpdateClusterMetadata
1636
+ include Google::Apis::Core::Hashable
1637
+
1638
+ # The time at which the operation failed or was completed successfully.
1639
+ # Corresponds to the JSON property `finishTime`
1640
+ # @return [String]
1641
+ attr_accessor :finish_time
1642
+
1643
+ # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
1644
+ # Corresponds to the JSON property `originalRequest`
1645
+ # @return [Google::Apis::BigtableadminV2::PartialUpdateClusterRequest]
1646
+ attr_accessor :original_request
1647
+
1648
+ # The time at which the original request was received.
1649
+ # Corresponds to the JSON property `requestTime`
1650
+ # @return [String]
1651
+ attr_accessor :request_time
1652
+
1653
+ def initialize(**args)
1654
+ update!(**args)
1655
+ end
1656
+
1657
+ # Update properties of this object
1658
+ def update!(**args)
1659
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
1660
+ @original_request = args[:original_request] if args.key?(:original_request)
1661
+ @request_time = args[:request_time] if args.key?(:request_time)
1662
+ end
1663
+ end
1664
+
1665
+ # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
1666
+ class PartialUpdateClusterRequest
1667
+ include Google::Apis::Core::Hashable
1668
+
1669
+ # A resizable group of nodes in a particular cloud location, capable of serving
1670
+ # all Tables in the parent Instance.
1671
+ # Corresponds to the JSON property `cluster`
1672
+ # @return [Google::Apis::BigtableadminV2::Cluster]
1673
+ attr_accessor :cluster
1674
+
1675
+ # Required. The subset of Cluster fields which should be replaced.
1676
+ # Corresponds to the JSON property `updateMask`
1677
+ # @return [String]
1678
+ attr_accessor :update_mask
1679
+
1680
+ def initialize(**args)
1681
+ update!(**args)
1682
+ end
1683
+
1684
+ # Update properties of this object
1685
+ def update!(**args)
1686
+ @cluster = args[:cluster] if args.key?(:cluster)
1687
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1688
+ end
1689
+ end
1690
+
1584
1691
  # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
1585
1692
  class PartialUpdateInstanceRequest
1586
1693
  include Google::Apis::Core::Hashable
@@ -1610,31 +1717,31 @@ module Google
1610
1717
 
1611
1718
  # An Identity and Access Management (IAM) policy, which specifies access
1612
1719
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1613
- # A `binding` binds one or more `members` to a single `role`. Members can be
1614
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1615
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1616
- # role or a user-created custom role. For some types of Google Cloud resources,
1617
- # a `binding` can also specify a `condition`, which is a logical expression that
1618
- # allows access to a resource only if the expression evaluates to `true`. A
1619
- # condition can add constraints based on attributes of the request, the resource,
1620
- # or both. To learn which resources support conditions in their IAM policies,
1621
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1622
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1623
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1624
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1625
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1626
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1627
- # title": "expirable access", "description": "Does not grant access after Sep
1628
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1629
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1630
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1631
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1632
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1633
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1634
- # description: Does not grant access after Sep 2020 expression: request.time <
1635
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1636
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1637
- # google.com/iam/docs/).
1720
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1721
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1722
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1723
+ # an IAM predefined role or a user-created custom role. For some types of Google
1724
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1725
+ # logical expression that allows access to a resource only if the expression
1726
+ # evaluates to `true`. A condition can add constraints based on attributes of
1727
+ # the request, the resource, or both. To learn which resources support
1728
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1729
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1730
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1731
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1732
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1733
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1734
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1735
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1736
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1737
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1738
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1739
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1740
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1741
+ # access description: Does not grant access after Sep 2020 expression: request.
1742
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1743
+ # a description of IAM and its features, see the [IAM documentation](https://
1744
+ # cloud.google.com/iam/docs/).
1638
1745
  class Policy
1639
1746
  include Google::Apis::Core::Hashable
1640
1747
 
@@ -1643,9 +1750,14 @@ module Google
1643
1750
  # @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
1644
1751
  attr_accessor :audit_configs
1645
1752
 
1646
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1647
- # condition` that determines how and when the `bindings` are applied. Each of
1648
- # the `bindings` must contain at least one member.
1753
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1754
+ # specify a `condition` that determines how and when the `bindings` are applied.
1755
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1756
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1757
+ # can be Google groups. Each occurrence of a principal counts towards these
1758
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1759
+ # example.com`, and not to any other principal, then you can add another 1,450
1760
+ # principals to the `bindings` in the `Policy`.
1649
1761
  # Corresponds to the JSON property `bindings`
1650
1762
  # @return [Array<Google::Apis::BigtableadminV2::Binding>]
1651
1763
  attr_accessor :bindings
@@ -1808,31 +1920,31 @@ module Google
1808
1920
 
1809
1921
  # An Identity and Access Management (IAM) policy, which specifies access
1810
1922
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1811
- # A `binding` binds one or more `members` to a single `role`. Members can be
1812
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1813
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1814
- # role or a user-created custom role. For some types of Google Cloud resources,
1815
- # a `binding` can also specify a `condition`, which is a logical expression that
1816
- # allows access to a resource only if the expression evaluates to `true`. A
1817
- # condition can add constraints based on attributes of the request, the resource,
1818
- # or both. To learn which resources support conditions in their IAM policies,
1819
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1820
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1821
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1822
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1823
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1824
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1825
- # title": "expirable access", "description": "Does not grant access after Sep
1826
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1827
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1828
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1829
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1830
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1831
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1832
- # description: Does not grant access after Sep 2020 expression: request.time <
1833
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1834
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1835
- # google.com/iam/docs/).
1923
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1924
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1925
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1926
+ # an IAM predefined role or a user-created custom role. For some types of Google
1927
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1928
+ # logical expression that allows access to a resource only if the expression
1929
+ # evaluates to `true`. A condition can add constraints based on attributes of
1930
+ # the request, the resource, or both. To learn which resources support
1931
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1932
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1933
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1934
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1935
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1936
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1937
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1938
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1939
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1940
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1941
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1942
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1943
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1944
+ # access description: Does not grant access after Sep 2020 expression: request.
1945
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1946
+ # a description of IAM and its features, see the [IAM documentation](https://
1947
+ # cloud.google.com/iam/docs/).
1836
1948
  # Corresponds to the JSON property `policy`
1837
1949
  # @return [Google::Apis::BigtableadminV2::Policy]
1838
1950
  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.11.0"
19
+ GEM_VERSION = "0.15.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 = "20210921"
25
+ REVISION = "20220114"
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
 
@@ -154,18 +178,6 @@ module Google
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
157
- class FailureTrace
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class Frame
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
181
  class GcRule
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -292,6 +304,18 @@ module Google
292
304
  include Google::Apis::Core::JsonObjectSupport
293
305
  end
294
306
 
307
+ class PartialUpdateClusterMetadata
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class PartialUpdateClusterRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
295
319
  class PartialUpdateInstanceRequest
296
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
321
 
@@ -424,6 +448,21 @@ module Google
424
448
  end
425
449
  end
426
450
 
451
+ class AutoscalingLimits
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :max_serve_nodes, as: 'maxServeNodes'
455
+ property :min_serve_nodes, as: 'minServeNodes'
456
+ end
457
+ end
458
+
459
+ class AutoscalingTargets
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :cpu_utilization_percent, as: 'cpuUtilizationPercent'
463
+ end
464
+ end
465
+
427
466
  class Backup
428
467
  # @private
429
468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -476,6 +515,8 @@ module Google
476
515
  class Cluster
477
516
  # @private
478
517
  class Representation < Google::Apis::Core::JsonRepresentation
518
+ property :cluster_config, as: 'clusterConfig', class: Google::Apis::BigtableadminV2::ClusterConfig, decorator: Google::Apis::BigtableadminV2::ClusterConfig::Representation
519
+
479
520
  property :default_storage_type, as: 'defaultStorageType'
480
521
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BigtableadminV2::EncryptionConfig, decorator: Google::Apis::BigtableadminV2::EncryptionConfig::Representation
481
522
 
@@ -486,6 +527,24 @@ module Google
486
527
  end
487
528
  end
488
529
 
530
+ class ClusterAutoscalingConfig
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :autoscaling_limits, as: 'autoscalingLimits', class: Google::Apis::BigtableadminV2::AutoscalingLimits, decorator: Google::Apis::BigtableadminV2::AutoscalingLimits::Representation
534
+
535
+ property :autoscaling_targets, as: 'autoscalingTargets', class: Google::Apis::BigtableadminV2::AutoscalingTargets, decorator: Google::Apis::BigtableadminV2::AutoscalingTargets::Representation
536
+
537
+ end
538
+ end
539
+
540
+ class ClusterConfig
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ property :cluster_autoscaling_config, as: 'clusterAutoscalingConfig', class: Google::Apis::BigtableadminV2::ClusterAutoscalingConfig, decorator: Google::Apis::BigtableadminV2::ClusterAutoscalingConfig::Representation
544
+
545
+ end
546
+ end
547
+
489
548
  class ClusterState
490
549
  # @private
491
550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -609,23 +668,6 @@ module Google
609
668
  end
610
669
  end
611
670
 
612
- class FailureTrace
613
- # @private
614
- class Representation < Google::Apis::Core::JsonRepresentation
615
- collection :frames, as: 'frames', class: Google::Apis::BigtableadminV2::Frame, decorator: Google::Apis::BigtableadminV2::Frame::Representation
616
-
617
- end
618
- end
619
-
620
- class Frame
621
- # @private
622
- class Representation < Google::Apis::Core::JsonRepresentation
623
- property :target_name, as: 'targetName'
624
- property :workflow_guid, as: 'workflowGuid'
625
- property :zone_id, as: 'zoneId'
626
- end
627
- end
628
-
629
671
  class GcRule
630
672
  # @private
631
673
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -820,6 +862,25 @@ module Google
820
862
  end
821
863
  end
822
864
 
865
+ class PartialUpdateClusterMetadata
866
+ # @private
867
+ class Representation < Google::Apis::Core::JsonRepresentation
868
+ property :finish_time, as: 'finishTime'
869
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::PartialUpdateClusterRequest, decorator: Google::Apis::BigtableadminV2::PartialUpdateClusterRequest::Representation
870
+
871
+ property :request_time, as: 'requestTime'
872
+ end
873
+ end
874
+
875
+ class PartialUpdateClusterRequest
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
879
+
880
+ property :update_mask, as: 'updateMask'
881
+ end
882
+ end
883
+
823
884
  class PartialUpdateInstanceRequest
824
885
  # @private
825
886
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -196,7 +196,11 @@ module Google
196
196
  execute_or_queue_command(command, &block)
197
197
  end
198
198
 
199
- # Create an instance within a project.
199
+ # Create an instance within a project. Note that exactly one of Cluster.
200
+ # serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set.
201
+ # If serve_nodes is set to non-zero, then the cluster is manually scaled. If
202
+ # cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
203
+ # enabled.
200
204
  # @param [String] parent
201
205
  # Required. The unique name of the project in which to create the new instance.
202
206
  # Values are of the form `projects/`project``.
@@ -697,7 +701,11 @@ module Google
697
701
  execute_or_queue_command(command, &block)
698
702
  end
699
703
 
700
- # Creates a cluster within an instance.
704
+ # Creates a cluster within an instance. Note that exactly one of Cluster.
705
+ # serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set.
706
+ # If serve_nodes is set to non-zero, then the cluster is manually scaled. If
707
+ # cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
708
+ # enabled.
701
709
  # @param [String] parent
702
710
  # Required. The unique name of the instance in which to create the new cluster.
703
711
  # Values are of the form `projects/`project`/instances/`instance``.
@@ -835,14 +843,20 @@ module Google
835
843
  end
836
844
 
837
845
  # Partially updates a cluster within a project. This method is the preferred way
838
- # to update a Cluster.
846
+ # to update a Cluster. To enable and update autoscaling, set cluster_config.
847
+ # cluster_autoscaling_config. When autoscaling is enabled, serve_nodes is
848
+ # treated as an OUTPUT_ONLY field, meaning that updates to it are ignored. Note
849
+ # that an update cannot simultaneously set serve_nodes to non-zero and
850
+ # cluster_config.cluster_autoscaling_config to non-empty, and also specify both
851
+ # in the update_mask. To disable autoscaling, clear cluster_config.
852
+ # cluster_autoscaling_config, and explicitly set a serve_node count via the
853
+ # update_mask.
839
854
  # @param [String] name
840
855
  # The unique name of the cluster. Values are of the form `projects/`project`/
841
856
  # instances/`instance`/clusters/a-z*`.
842
857
  # @param [Google::Apis::BigtableadminV2::Cluster] cluster_object
843
858
  # @param [String] update_mask
844
- # Required. The subset of Cluster fields which should be replaced. Must be
845
- # explicitly set.
859
+ # Required. The subset of Cluster fields which should be replaced.
846
860
  # @param [String] fields
847
861
  # Selector specifying which fields to include in a partial response.
848
862
  # @param [String] quota_user
@@ -873,8 +887,9 @@ module Google
873
887
  execute_or_queue_command(command, &block)
874
888
  end
875
889
 
876
- # Updates a cluster within an instance. UpdateCluster is deprecated. Please use
877
- # PartialUpdateCluster instead.
890
+ # Updates a cluster within an instance. Note that UpdateCluster does not support
891
+ # updating cluster_config.cluster_autoscaling_config. In order to update it, you
892
+ # must use PartialUpdateCluster.
878
893
  # @param [String] name
879
894
  # The unique name of the cluster. Values are of the form `projects/`project`/
880
895
  # instances/`instance`/clusters/a-z*`.
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.11.0
4
+ version: 0.15.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-02-07 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.15.0
62
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: []
@@ -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 V2