google-apis-bigtableadmin_v2 0.10.0 → 0.14.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: 36df6b35e1395753a628ad4f46fa24d4736271a8d60e3f11b96bbb658cde039b
4
- data.tar.gz: 2d4e4a49b175e17230deea82cefee3a32f1e6b64f38465f86a8cd9a9450a7c8b
3
+ metadata.gz: 56830f8a21e46796b355d9592c6c7d4efc89dfe58cae9612c271b6d93aa15bee
4
+ data.tar.gz: cb01935a12ffb25428b0be927aedc1bd0bd5ee906cd61172b0a1ab903509c1e6
5
5
  SHA512:
6
- metadata.gz: 9acd4de794a86ac065b36a720f4fd475c988f3b29e7ccf25eec1ec9b7498b0c7c7299f3789cf84728516645cd61ac8c0c7eb50c8d05b33cf154dc429f8d168ff
7
- data.tar.gz: d2712343da5d19d2723db92415ee51979b457702822c9c2a743ce42df9fa7263461203f1ab004b825de997981f6f341565977ad61544678c05607cc6a171ad76
6
+ metadata.gz: 70368f40009df21a68e6ea9b0cf42a24609639f82af7e0633c7d889507d6f6aa0d6f9560f8c5768dcee7f02c3930f0d056ad31947abf1c7c98b9afb3cb5006d7
7
+ data.tar.gz: 937b7d73f3194b794fd2013637032efdf16183d52267cf6d1a0cc9bc3f571e1bee751cb1fc978c92f2b27400f14a6edfc5f70a2874d791b227a8ec9ed2255a66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
2
2
 
3
+ ### v0.14.0 (2022-01-14)
4
+
5
+ * Regenerated from discovery document revision 20211218
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.13.0 (2021-12-14)
9
+
10
+ * Regenerated from discovery document revision 20211202
11
+
12
+ ### v0.12.0 (2021-11-16)
13
+
14
+ * Regenerated from discovery document revision 20211104
15
+
16
+ ### v0.11.0 (2021-10-20)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.10.0 (2021-10-02)
4
21
 
5
22
  * Regenerated from discovery document revision 20210921
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.
@@ -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
 
@@ -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` with a `role`.
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 identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
321
- # , or `roles/owner`.
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`
@@ -407,8 +457,8 @@ module Google
407
457
  # @return [String]
408
458
  attr_accessor :name
409
459
 
410
- # Required. The number of nodes allocated to this cluster. More nodes enable
411
- # higher throughput and more consistent performance.
460
+ # The number of nodes allocated to this cluster. More nodes enable higher
461
+ # throughput and more consistent performance.
412
462
  # Corresponds to the JSON property `serveNodes`
413
463
  # @return [Fixnum]
414
464
  attr_accessor :serve_nodes
@@ -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
@@ -875,56 +970,6 @@ module Google
875
970
  end
876
971
  end
877
972
 
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
973
  # Rule for determining which cells to delete during garbage collection.
929
974
  class GcRule
930
975
  include Google::Apis::Core::Hashable
@@ -1020,13 +1065,16 @@ module Google
1020
1065
  class GetPolicyOptions
1021
1066
  include Google::Apis::Core::Hashable
1022
1067
 
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).
1068
+ # Optional. The maximum policy version that will be used to format the policy.
1069
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1070
+ # rejected. Requests for policies with any conditional role bindings must
1071
+ # specify version 3. Policies with no conditional role bindings may specify any
1072
+ # valid value or leave the field unset. The policy in the response might use the
1073
+ # policy version that you specified, or it might use a lower policy version. For
1074
+ # example, if you specify version 3, but the policy has no conditional role
1075
+ # bindings, the response uses version 1. To learn which resources support
1076
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1077
+ # google.com/iam/help/conditions/resource-policies).
1030
1078
  # Corresponds to the JSON property `requestedPolicyVersion`
1031
1079
  # @return [Fixnum]
1032
1080
  attr_accessor :requested_policy_version
@@ -1047,7 +1095,8 @@ module Google
1047
1095
  include Google::Apis::Core::Hashable
1048
1096
 
1049
1097
  # Output only. A server-assigned timestamp representing when this Instance was
1050
- # created.
1098
+ # created. For instances created before this field was added (August 2021), this
1099
+ # value is `seconds: 0, nanos: 1`.
1051
1100
  # Corresponds to the JSON property `createTime`
1052
1101
  # @return [String]
1053
1102
  attr_accessor :create_time
@@ -1581,6 +1630,63 @@ module Google
1581
1630
  end
1582
1631
  end
1583
1632
 
1633
+ # The metadata for the Operation returned by PartialUpdateCluster.
1634
+ class PartialUpdateClusterMetadata
1635
+ include Google::Apis::Core::Hashable
1636
+
1637
+ # The time at which the operation failed or was completed successfully.
1638
+ # Corresponds to the JSON property `finishTime`
1639
+ # @return [String]
1640
+ attr_accessor :finish_time
1641
+
1642
+ # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
1643
+ # Corresponds to the JSON property `originalRequest`
1644
+ # @return [Google::Apis::BigtableadminV2::PartialUpdateClusterRequest]
1645
+ attr_accessor :original_request
1646
+
1647
+ # The time at which the original request was received.
1648
+ # Corresponds to the JSON property `requestTime`
1649
+ # @return [String]
1650
+ attr_accessor :request_time
1651
+
1652
+ def initialize(**args)
1653
+ update!(**args)
1654
+ end
1655
+
1656
+ # Update properties of this object
1657
+ def update!(**args)
1658
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
1659
+ @original_request = args[:original_request] if args.key?(:original_request)
1660
+ @request_time = args[:request_time] if args.key?(:request_time)
1661
+ end
1662
+ end
1663
+
1664
+ # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
1665
+ class PartialUpdateClusterRequest
1666
+ include Google::Apis::Core::Hashable
1667
+
1668
+ # A resizable group of nodes in a particular cloud location, capable of serving
1669
+ # all Tables in the parent Instance.
1670
+ # Corresponds to the JSON property `cluster`
1671
+ # @return [Google::Apis::BigtableadminV2::Cluster]
1672
+ attr_accessor :cluster
1673
+
1674
+ # Required. The subset of Cluster fields which should be replaced.
1675
+ # Corresponds to the JSON property `updateMask`
1676
+ # @return [String]
1677
+ attr_accessor :update_mask
1678
+
1679
+ def initialize(**args)
1680
+ update!(**args)
1681
+ end
1682
+
1683
+ # Update properties of this object
1684
+ def update!(**args)
1685
+ @cluster = args[:cluster] if args.key?(:cluster)
1686
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1687
+ end
1688
+ end
1689
+
1584
1690
  # Request message for BigtableInstanceAdmin.PartialUpdateInstance.
1585
1691
  class PartialUpdateInstanceRequest
1586
1692
  include Google::Apis::Core::Hashable
@@ -1610,31 +1716,31 @@ module Google
1610
1716
 
1611
1717
  # An Identity and Access Management (IAM) policy, which specifies access
1612
1718
  # 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/).
1719
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1720
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1721
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1722
+ # an IAM predefined role or a user-created custom role. For some types of Google
1723
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1724
+ # logical expression that allows access to a resource only if the expression
1725
+ # evaluates to `true`. A condition can add constraints based on attributes of
1726
+ # the request, the resource, or both. To learn which resources support
1727
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1728
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1729
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1730
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1731
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1732
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1733
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1734
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1735
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1736
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1737
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1738
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1739
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1740
+ # access description: Does not grant access after Sep 2020 expression: request.
1741
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1742
+ # a description of IAM and its features, see the [IAM documentation](https://
1743
+ # cloud.google.com/iam/docs/).
1638
1744
  class Policy
1639
1745
  include Google::Apis::Core::Hashable
1640
1746
 
@@ -1643,9 +1749,14 @@ module Google
1643
1749
  # @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
1644
1750
  attr_accessor :audit_configs
1645
1751
 
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.
1752
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1753
+ # specify a `condition` that determines how and when the `bindings` are applied.
1754
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1755
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1756
+ # can be Google groups. Each occurrence of a principal counts towards these
1757
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1758
+ # example.com`, and not to any other principal, then you can add another 1,450
1759
+ # principals to the `bindings` in the `Policy`.
1649
1760
  # Corresponds to the JSON property `bindings`
1650
1761
  # @return [Array<Google::Apis::BigtableadminV2::Binding>]
1651
1762
  attr_accessor :bindings
@@ -1808,31 +1919,31 @@ module Google
1808
1919
 
1809
1920
  # An Identity and Access Management (IAM) policy, which specifies access
1810
1921
  # 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/).
1922
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1923
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1924
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1925
+ # an IAM predefined role or a user-created custom role. For some types of Google
1926
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1927
+ # logical expression that allows access to a resource only if the expression
1928
+ # evaluates to `true`. A condition can add constraints based on attributes of
1929
+ # the request, the resource, or both. To learn which resources support
1930
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1931
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1932
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1933
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1934
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1935
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1936
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1937
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1938
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1939
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1940
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1941
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1942
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1943
+ # access description: Does not grant access after Sep 2020 expression: request.
1944
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1945
+ # a description of IAM and its features, see the [IAM documentation](https://
1946
+ # cloud.google.com/iam/docs/).
1836
1947
  # Corresponds to the JSON property `policy`
1837
1948
  # @return [Google::Apis::BigtableadminV2::Policy]
1838
1949
  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.10.0"
19
+ GEM_VERSION = "0.14.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 = "20211218"
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.10.0
4
+ version: 0.14.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-04 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.10.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v2
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.14.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:
@@ -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