google-apis-bigtableadmin_v1 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac9a0fd30674ae34a0500221160e239ea464fbdc26e07ec4b0268741967e7ba3
|
4
|
+
data.tar.gz: 1b92171ef80cce45c1274b10ecc430e29da4c923635a46d7f91472aac7ad48a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c223ffe57a70076c698bb7ff47ecfcac39d6275f8fd734b4590a0237b42d586b68a9aea392d3c1a7f6bdb7c6e7a1feb6c050f83edab56fc1917cf0251156ed90
|
7
|
+
data.tar.gz: e260914c2270269a0aeac68f7bc05837df42a98f86462084f10b3def1dbc232a486a5cc228ccddf9772d04afb9005e693f35a32c9716b93c92e45805b5554d31
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-bigtableadmin_v1
|
2
2
|
|
3
|
+
### v0.3.0 (2021-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210323
|
6
|
+
* Regenerated using generator version 0.2.0
|
7
|
+
|
3
8
|
### v0.2.0 (2021-03-04)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.1.2
|
@@ -26,6 +26,13 @@ module Google
|
|
26
26
|
class Backup
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
+
# Encryption information for a given resource. If this resource is protected
|
30
|
+
# with customer managed encryption, the in-use Cloud Key Management Service (
|
31
|
+
# Cloud KMS) key version is specified along with its status.
|
32
|
+
# Corresponds to the JSON property `encryptionInfo`
|
33
|
+
# @return [Google::Apis::BigtableadminV1::EncryptionInfo]
|
34
|
+
attr_accessor :encryption_info
|
35
|
+
|
29
36
|
# Output only. `end_time` is the time that the backup was finished. The row data
|
30
37
|
# in the backup will be no newer than this timestamp.
|
31
38
|
# Corresponds to the JSON property `endTime`
|
@@ -80,6 +87,7 @@ module Google
|
|
80
87
|
|
81
88
|
# Update properties of this object
|
82
89
|
def update!(**args)
|
90
|
+
@encryption_info = args[:encryption_info] if args.key?(:encryption_info)
|
83
91
|
@end_time = args[:end_time] if args.key?(:end_time)
|
84
92
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
85
93
|
@name = args[:name] if args.key?(:name)
|
@@ -140,6 +148,11 @@ module Google
|
|
140
148
|
# @return [String]
|
141
149
|
attr_accessor :default_storage_type
|
142
150
|
|
151
|
+
# Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
|
152
|
+
# Corresponds to the JSON property `encryptionConfig`
|
153
|
+
# @return [Google::Apis::BigtableadminV1::EncryptionConfig]
|
154
|
+
attr_accessor :encryption_config
|
155
|
+
|
143
156
|
# Immutable. The location where this cluster's nodes and storage reside. For
|
144
157
|
# best performance, clients should be located as close as possible to this
|
145
158
|
# cluster. Currently only zones are supported, so values should be of the form `
|
@@ -172,6 +185,7 @@ module Google
|
|
172
185
|
# Update properties of this object
|
173
186
|
def update!(**args)
|
174
187
|
@default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
|
188
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
175
189
|
@location = args[:location] if args.key?(:location)
|
176
190
|
@name = args[:name] if args.key?(:name)
|
177
191
|
@serve_nodes = args[:serve_nodes] if args.key?(:serve_nodes)
|
@@ -367,6 +381,71 @@ module Google
|
|
367
381
|
end
|
368
382
|
end
|
369
383
|
|
384
|
+
# Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
|
385
|
+
class EncryptionConfig
|
386
|
+
include Google::Apis::Core::Hashable
|
387
|
+
|
388
|
+
# Describes the Cloud KMS encryption key that will be used to protect the
|
389
|
+
# destination Bigtable cluster. The requirements for this key are: 1) The Cloud
|
390
|
+
# Bigtable service account associated with the project that contains this
|
391
|
+
# cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the
|
392
|
+
# CMEK key. 2) Only regional keys can be used and the region of the CMEK key
|
393
|
+
# must match the region of the cluster. 3) All clusters within an instance must
|
394
|
+
# use the same CMEK key. Values are of the form `projects/`project`/locations/`
|
395
|
+
# location`/keyRings/`keyring`/cryptoKeys/`key``
|
396
|
+
# Corresponds to the JSON property `kmsKeyName`
|
397
|
+
# @return [String]
|
398
|
+
attr_accessor :kms_key_name
|
399
|
+
|
400
|
+
def initialize(**args)
|
401
|
+
update!(**args)
|
402
|
+
end
|
403
|
+
|
404
|
+
# Update properties of this object
|
405
|
+
def update!(**args)
|
406
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# Encryption information for a given resource. If this resource is protected
|
411
|
+
# with customer managed encryption, the in-use Cloud Key Management Service (
|
412
|
+
# Cloud KMS) key version is specified along with its status.
|
413
|
+
class EncryptionInfo
|
414
|
+
include Google::Apis::Core::Hashable
|
415
|
+
|
416
|
+
# The `Status` type defines a logical error model that is suitable for different
|
417
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
418
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
419
|
+
# data: error code, error message, and error details. You can find out more
|
420
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
421
|
+
# //cloud.google.com/apis/design/errors).
|
422
|
+
# Corresponds to the JSON property `encryptionStatus`
|
423
|
+
# @return [Google::Apis::BigtableadminV1::Status]
|
424
|
+
attr_accessor :encryption_status
|
425
|
+
|
426
|
+
# Output only. The type of encryption used to protect this resource.
|
427
|
+
# Corresponds to the JSON property `encryptionType`
|
428
|
+
# @return [String]
|
429
|
+
attr_accessor :encryption_type
|
430
|
+
|
431
|
+
# Output only. The version of the Cloud KMS key specified in the parent cluster
|
432
|
+
# that is in use for the data underlying this table.
|
433
|
+
# Corresponds to the JSON property `kmsKeyVersion`
|
434
|
+
# @return [String]
|
435
|
+
attr_accessor :kms_key_version
|
436
|
+
|
437
|
+
def initialize(**args)
|
438
|
+
update!(**args)
|
439
|
+
end
|
440
|
+
|
441
|
+
# Update properties of this object
|
442
|
+
def update!(**args)
|
443
|
+
@encryption_status = args[:encryption_status] if args.key?(:encryption_status)
|
444
|
+
@encryption_type = args[:encryption_type] if args.key?(:encryption_type)
|
445
|
+
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
370
449
|
# Added to the error payload.
|
371
450
|
class FailureTrace
|
372
451
|
include Google::Apis::Core::Hashable
|
@@ -609,6 +688,45 @@ module Google
|
|
609
688
|
end
|
610
689
|
end
|
611
690
|
|
691
|
+
# The `Status` type defines a logical error model that is suitable for different
|
692
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
693
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
694
|
+
# data: error code, error message, and error details. You can find out more
|
695
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
696
|
+
# //cloud.google.com/apis/design/errors).
|
697
|
+
class Status
|
698
|
+
include Google::Apis::Core::Hashable
|
699
|
+
|
700
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
701
|
+
# Corresponds to the JSON property `code`
|
702
|
+
# @return [Fixnum]
|
703
|
+
attr_accessor :code
|
704
|
+
|
705
|
+
# A list of messages that carry the error details. There is a common set of
|
706
|
+
# message types for APIs to use.
|
707
|
+
# Corresponds to the JSON property `details`
|
708
|
+
# @return [Array<Hash<String,Object>>]
|
709
|
+
attr_accessor :details
|
710
|
+
|
711
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
712
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
713
|
+
# field, or localized by the client.
|
714
|
+
# Corresponds to the JSON property `message`
|
715
|
+
# @return [String]
|
716
|
+
attr_accessor :message
|
717
|
+
|
718
|
+
def initialize(**args)
|
719
|
+
update!(**args)
|
720
|
+
end
|
721
|
+
|
722
|
+
# Update properties of this object
|
723
|
+
def update!(**args)
|
724
|
+
@code = args[:code] if args.key?(:code)
|
725
|
+
@details = args[:details] if args.key?(:details)
|
726
|
+
@message = args[:message] if args.key?(:message)
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
612
730
|
# Progress info for copying a table's data to the new cluster.
|
613
731
|
class TableProgress
|
614
732
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigtableadminV1
|
18
18
|
# Version of the google-apis-bigtableadmin_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210323"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,18 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class EncryptionConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class EncryptionInfo
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class FailureTrace
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -112,6 +124,12 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class Status
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
115
133
|
class TableProgress
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
135
|
|
@@ -139,6 +157,8 @@ module Google
|
|
139
157
|
class Backup
|
140
158
|
# @private
|
141
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
+
property :encryption_info, as: 'encryptionInfo', class: Google::Apis::BigtableadminV1::EncryptionInfo, decorator: Google::Apis::BigtableadminV1::EncryptionInfo::Representation
|
161
|
+
|
142
162
|
property :end_time, as: 'endTime'
|
143
163
|
property :expire_time, as: 'expireTime'
|
144
164
|
property :name, as: 'name'
|
@@ -163,6 +183,8 @@ module Google
|
|
163
183
|
# @private
|
164
184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
165
185
|
property :default_storage_type, as: 'defaultStorageType'
|
186
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BigtableadminV1::EncryptionConfig, decorator: Google::Apis::BigtableadminV1::EncryptionConfig::Representation
|
187
|
+
|
166
188
|
property :location, as: 'location'
|
167
189
|
property :name, as: 'name'
|
168
190
|
property :serve_nodes, as: 'serveNodes'
|
@@ -224,6 +246,23 @@ module Google
|
|
224
246
|
end
|
225
247
|
end
|
226
248
|
|
249
|
+
class EncryptionConfig
|
250
|
+
# @private
|
251
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
252
|
+
property :kms_key_name, as: 'kmsKeyName'
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
class EncryptionInfo
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
property :encryption_status, as: 'encryptionStatus', class: Google::Apis::BigtableadminV1::Status, decorator: Google::Apis::BigtableadminV1::Status::Representation
|
260
|
+
|
261
|
+
property :encryption_type, as: 'encryptionType'
|
262
|
+
property :kms_key_version, as: 'kmsKeyVersion'
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
227
266
|
class FailureTrace
|
228
267
|
# @private
|
229
268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -292,6 +331,15 @@ module Google
|
|
292
331
|
end
|
293
332
|
end
|
294
333
|
|
334
|
+
class Status
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :code, as: 'code'
|
338
|
+
collection :details, as: 'details'
|
339
|
+
property :message, as: 'message'
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
295
343
|
class TableProgress
|
296
344
|
# @private
|
297
345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigtableadmin_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v1/v0.3.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|