google-apis-bigtableadmin_v2 0.12.0 → 0.13.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 +4 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/bigtableadmin_v2/classes.rb +45 -11
- data/lib/google/apis/bigtableadmin_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigtableadmin_v2/representations.rb +15 -0
- data/lib/google/apis/bigtableadmin_v2/service.rb +22 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 477963a3187fab50e4ea049756d82d0d878482d34b124448a30be9da06235c19
|
4
|
+
data.tar.gz: c5786a220487fa88c899fde2a66d0a4ce0a3e191096c0feec4a7585aab049159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eca62660c52b92a3e684ce952aad7d83ac5f9169539240be72dcd04075384b5348eca09b2a15b611de90caf5bb691b1e99e0989cdd4c94a99d7ab12b169ccfb
|
7
|
+
data.tar.gz: f70cf8d92a9a008d0d9b6c0148d2c18046ee8900b357241a827e3d6670ef5543508b9abbc3afde3abc83a442f96d17ddec91128d01bef3ee67cfd78c48a6fc85
|
data/CHANGELOG.md
CHANGED
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.
|
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.
|
@@ -457,8 +457,8 @@ module Google
|
|
457
457
|
# @return [String]
|
458
458
|
attr_accessor :name
|
459
459
|
|
460
|
-
#
|
461
|
-
#
|
460
|
+
# The number of nodes allocated to this cluster. More nodes enable higher
|
461
|
+
# throughput and more consistent performance.
|
462
462
|
# Corresponds to the JSON property `serveNodes`
|
463
463
|
# @return [Fixnum]
|
464
464
|
attr_accessor :serve_nodes
|
@@ -1115,13 +1115,16 @@ module Google
|
|
1115
1115
|
class GetPolicyOptions
|
1116
1116
|
include Google::Apis::Core::Hashable
|
1117
1117
|
|
1118
|
-
# Optional. The policy
|
1119
|
-
# 3. Requests specifying an invalid value will be
|
1120
|
-
# policies with any conditional bindings must
|
1121
|
-
#
|
1122
|
-
# field unset.
|
1123
|
-
#
|
1124
|
-
#
|
1118
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1119
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1120
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1121
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1122
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1123
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1124
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1125
|
+
# bindings, the response uses version 1. To learn which resources support
|
1126
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1127
|
+
# google.com/iam/help/conditions/resource-policies).
|
1125
1128
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
1126
1129
|
# @return [Fixnum]
|
1127
1130
|
attr_accessor :requested_policy_version
|
@@ -1718,8 +1721,7 @@ module Google
|
|
1718
1721
|
# @return [Google::Apis::BigtableadminV2::Cluster]
|
1719
1722
|
attr_accessor :cluster
|
1720
1723
|
|
1721
|
-
# Required. The subset of Cluster fields which should be replaced.
|
1722
|
-
# explicitly set.
|
1724
|
+
# Required. The subset of Cluster fields which should be replaced.
|
1723
1725
|
# Corresponds to the JSON property `updateMask`
|
1724
1726
|
# @return [String]
|
1725
1727
|
attr_accessor :update_mask
|
@@ -2229,6 +2231,38 @@ module Google
|
|
2229
2231
|
end
|
2230
2232
|
end
|
2231
2233
|
|
2234
|
+
# Metadata type for the operation returned by google.bigtable.admin.v2.
|
2235
|
+
# BigtableTableAdmin.UndeleteTable.
|
2236
|
+
class UndeleteTableMetadata
|
2237
|
+
include Google::Apis::Core::Hashable
|
2238
|
+
|
2239
|
+
# If set, the time at which this operation finished or was cancelled.
|
2240
|
+
# Corresponds to the JSON property `endTime`
|
2241
|
+
# @return [String]
|
2242
|
+
attr_accessor :end_time
|
2243
|
+
|
2244
|
+
# The name of the table being restored.
|
2245
|
+
# Corresponds to the JSON property `name`
|
2246
|
+
# @return [String]
|
2247
|
+
attr_accessor :name
|
2248
|
+
|
2249
|
+
# The time at which this operation started.
|
2250
|
+
# Corresponds to the JSON property `startTime`
|
2251
|
+
# @return [String]
|
2252
|
+
attr_accessor :start_time
|
2253
|
+
|
2254
|
+
def initialize(**args)
|
2255
|
+
update!(**args)
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
# Update properties of this object
|
2259
|
+
def update!(**args)
|
2260
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2261
|
+
@name = args[:name] if args.key?(:name)
|
2262
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2263
|
+
end
|
2264
|
+
end
|
2265
|
+
|
2232
2266
|
# A GcRule which deletes cells matching any of the given rules.
|
2233
2267
|
class Union
|
2234
2268
|
include Google::Apis::Core::Hashable
|
@@ -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.13.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 = "20211202"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -406,6 +406,12 @@ module Google
|
|
406
406
|
include Google::Apis::Core::JsonObjectSupport
|
407
407
|
end
|
408
408
|
|
409
|
+
class UndeleteTableMetadata
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
409
415
|
class Union
|
410
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
417
|
|
@@ -1031,6 +1037,15 @@ module Google
|
|
1031
1037
|
end
|
1032
1038
|
end
|
1033
1039
|
|
1040
|
+
class UndeleteTableMetadata
|
1041
|
+
# @private
|
1042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
property :end_time, as: 'endTime'
|
1044
|
+
property :name, as: 'name'
|
1045
|
+
property :start_time, as: 'startTime'
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1034
1049
|
class Union
|
1035
1050
|
# @private
|
1036
1051
|
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.
|
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
|
877
|
-
#
|
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.
|
4
|
+
version: 0.13.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:
|
11
|
+
date: 2022-01-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.13.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.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Bigtable Admin API V2
|