google-apis-bigtableadmin_v1 0.1.0 → 0.6.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: 98d8f1552f2ca478277f1c015e104e16999d4ac873508700860980ae37d29efd
4
- data.tar.gz: 6baa595066b5f0ecea894132114369323e055d4d78c5445bf18607a4759cb1e5
3
+ metadata.gz: e820b33110cfb6687679a9211a38d7d6f6395b8b9408d6709d96ce8ac59c0a67
4
+ data.tar.gz: '087988b4e6dfe0850d140edbfc3e395cb64e280f46c903e0faae389228997a7d'
5
5
  SHA512:
6
- metadata.gz: 7c53070f6eecae80ad77fdc7fa74b487545f886e4f283f6ffc9a91dc35ca40f4d8ec7b8d9df597145c37fbc850c7d140c37ecfa80cd9b79adbaa99203f9cc3aa
7
- data.tar.gz: 4274140007651531340b30636f395c44468c21bed5b6003acebec457c096286a4e7a5e2258087aec910040ec47f957f6c7f59e91af0f849ed32d968a503c744a
6
+ metadata.gz: bcf3524c93f817b1f1bc860eb50381de699e83c8be65312b11830b77c1c797ca848c00154392534fae88d543f310823d87e1240d401aaf83af63a97bda2bd28b
7
+ data.tar.gz: 9652d0d4301677e072e726856923c4059d0dc79d1b20c59241ef23804949b25c1247c05c730eabcd72f30c31b108f3ec727b0a798545288385c2bac7e3217950
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-bigtableadmin_v1
2
2
 
3
+ ### v0.6.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.5.0 (2021-06-24)
8
+
9
+ * Regenerated using generator version 0.3.0
10
+
11
+ ### v0.4.0 (2021-05-19)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.3.0 (2021-03-30)
16
+
17
+ * Regenerated from discovery document revision 20210323
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.2.0 (2021-03-04)
21
+
22
+ * Regenerated using generator version 0.1.2
23
+
3
24
  ### v0.1.0 (2021-01-07)
4
25
 
5
26
  * Regenerated using generator version 0.1.1
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20200821"
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigtableadmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Bigtable Admin API V1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v1/v0.6.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
68
  requirements:
63
69
  - - ">="
64
70
  - !ruby/object:Gem::Version
65
- version: '2.4'
71
+ version: '2.5'
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.1.4
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Bigtable Admin API V1