google-apis-bigtableadmin_v2 0.2.0 → 0.3.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: 3db44f27583ae41aa04c1c1ffd6551591ea6de110ac871ab5a2542eb71e8ea08
4
- data.tar.gz: ba7646af70f667028f37f56a683d2c6abbece6df6327e12df96720e8a1513ab0
3
+ metadata.gz: b9e7c3cb9b490411e6fa96e9bee85618e4c1b933125439aba06ea148f5f72029
4
+ data.tar.gz: 63ce699196eaa6c75dde186020b95a829b78ad2c68657709b7e630a542e67cdf
5
5
  SHA512:
6
- metadata.gz: e7a14276b9605656bb8f792f34aaf7497931bfee4e9d1332b7ba9328d2b6ecda237caf9bf3cd4fde233b9ba58a8de920bbb49628402745144ae2ab12411cb32e
7
- data.tar.gz: 26dcad7b50abff9f0cbab1d6b675095c77f8bb772cf3959f709264ec32a236edcb2b651886a99b99d9e9a9aff0c1833a2c5162bcf98412cec7207c3f7deebd20
6
+ metadata.gz: fe9bca968c7f935eb65ba607ec6e4372d492adeece857346c9d348a30a519a0fed0ebb65d0c0e8451645eb408b3611b3f9219681e3f947582232eedac77400cb
7
+ data.tar.gz: '07377739e3c9ee2deeaf1f81058838b72d0e9a0667c30ba4c6bf45628d1b4c51df0cfa00de001b2ff8514bac3f7f589be59ac4ce2e44df7abc44a9ff63111f46'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-bigtableadmin_v2
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
@@ -153,6 +153,13 @@ module Google
153
153
  class Backup
154
154
  include Google::Apis::Core::Hashable
155
155
 
156
+ # Encryption information for a given resource. If this resource is protected
157
+ # with customer managed encryption, the in-use Cloud Key Management Service (
158
+ # Cloud KMS) key version is specified along with its status.
159
+ # Corresponds to the JSON property `encryptionInfo`
160
+ # @return [Google::Apis::BigtableadminV2::EncryptionInfo]
161
+ attr_accessor :encryption_info
162
+
156
163
  # Output only. `end_time` is the time that the backup was finished. The row data
157
164
  # in the backup will be no newer than this timestamp.
158
165
  # Corresponds to the JSON property `endTime`
@@ -207,6 +214,7 @@ module Google
207
214
 
208
215
  # Update properties of this object
209
216
  def update!(**args)
217
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
210
218
  @end_time = args[:end_time] if args.key?(:end_time)
211
219
  @expire_time = args[:expire_time] if args.key?(:expire_time)
212
220
  @name = args[:name] if args.key?(:name)
@@ -380,6 +388,11 @@ module Google
380
388
  # @return [String]
381
389
  attr_accessor :default_storage_type
382
390
 
391
+ # Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
392
+ # Corresponds to the JSON property `encryptionConfig`
393
+ # @return [Google::Apis::BigtableadminV2::EncryptionConfig]
394
+ attr_accessor :encryption_config
395
+
383
396
  # Immutable. The location where this cluster's nodes and storage reside. For
384
397
  # best performance, clients should be located as close as possible to this
385
398
  # cluster. Currently only zones are supported, so values should be of the form `
@@ -412,6 +425,7 @@ module Google
412
425
  # Update properties of this object
413
426
  def update!(**args)
414
427
  @default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
428
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
415
429
  @location = args[:location] if args.key?(:location)
416
430
  @name = args[:name] if args.key?(:name)
417
431
  @serve_nodes = args[:serve_nodes] if args.key?(:serve_nodes)
@@ -423,6 +437,15 @@ module Google
423
437
  class ClusterState
424
438
  include Google::Apis::Core::Hashable
425
439
 
440
+ # Output only. The encryption information for the table in this cluster. If the
441
+ # encryption key protecting this resource is customer managed, then its version
442
+ # can be rotated in Cloud Key Management Service (Cloud KMS). The primary
443
+ # version of the key and its status will be reflected here when changes
444
+ # propagate from Cloud KMS.
445
+ # Corresponds to the JSON property `encryptionInfo`
446
+ # @return [Array<Google::Apis::BigtableadminV2::EncryptionInfo>]
447
+ attr_accessor :encryption_info
448
+
426
449
  # Output only. The state of replication for the table in this cluster.
427
450
  # Corresponds to the JSON property `replicationState`
428
451
  # @return [String]
@@ -434,6 +457,7 @@ module Google
434
457
 
435
458
  # Update properties of this object
436
459
  def update!(**args)
460
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
437
461
  @replication_state = args[:replication_state] if args.key?(:replication_state)
438
462
  end
439
463
  end
@@ -732,6 +756,71 @@ module Google
732
756
  end
733
757
  end
734
758
 
759
+ # Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster.
760
+ class EncryptionConfig
761
+ include Google::Apis::Core::Hashable
762
+
763
+ # Describes the Cloud KMS encryption key that will be used to protect the
764
+ # destination Bigtable cluster. The requirements for this key are: 1) The Cloud
765
+ # Bigtable service account associated with the project that contains this
766
+ # cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the
767
+ # CMEK key. 2) Only regional keys can be used and the region of the CMEK key
768
+ # must match the region of the cluster. 3) All clusters within an instance must
769
+ # use the same CMEK key. Values are of the form `projects/`project`/locations/`
770
+ # location`/keyRings/`keyring`/cryptoKeys/`key``
771
+ # Corresponds to the JSON property `kmsKeyName`
772
+ # @return [String]
773
+ attr_accessor :kms_key_name
774
+
775
+ def initialize(**args)
776
+ update!(**args)
777
+ end
778
+
779
+ # Update properties of this object
780
+ def update!(**args)
781
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
782
+ end
783
+ end
784
+
785
+ # Encryption information for a given resource. If this resource is protected
786
+ # with customer managed encryption, the in-use Cloud Key Management Service (
787
+ # Cloud KMS) key version is specified along with its status.
788
+ class EncryptionInfo
789
+ include Google::Apis::Core::Hashable
790
+
791
+ # The `Status` type defines a logical error model that is suitable for different
792
+ # programming environments, including REST APIs and RPC APIs. It is used by [
793
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
794
+ # data: error code, error message, and error details. You can find out more
795
+ # about this error model and how to work with it in the [API Design Guide](https:
796
+ # //cloud.google.com/apis/design/errors).
797
+ # Corresponds to the JSON property `encryptionStatus`
798
+ # @return [Google::Apis::BigtableadminV2::Status]
799
+ attr_accessor :encryption_status
800
+
801
+ # Output only. The type of encryption used to protect this resource.
802
+ # Corresponds to the JSON property `encryptionType`
803
+ # @return [String]
804
+ attr_accessor :encryption_type
805
+
806
+ # Output only. The version of the Cloud KMS key specified in the parent cluster
807
+ # that is in use for the data underlying this table.
808
+ # Corresponds to the JSON property `kmsKeyVersion`
809
+ # @return [String]
810
+ attr_accessor :kms_key_version
811
+
812
+ def initialize(**args)
813
+ update!(**args)
814
+ end
815
+
816
+ # Update properties of this object
817
+ def update!(**args)
818
+ @encryption_status = args[:encryption_status] if args.key?(:encryption_status)
819
+ @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
820
+ @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
821
+ end
822
+ end
823
+
735
824
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
736
825
  # CEL is a C-like expression language. The syntax and semantics of CEL are
737
826
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -1849,7 +1938,8 @@ module Google
1849
1938
  # Output only. Map from cluster ID to per-cluster table state. If it could not
1850
1939
  # be determined whether or not the table has data in a particular cluster (for
1851
1940
  # example, if its zone is unavailable), then there will be an entry for the
1852
- # cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `FULL`
1941
+ # cluster with UNKNOWN `replication_status`. Views: `REPLICATION_VIEW`, `
1942
+ # ENCRYPTION_VIEW`, `FULL`
1853
1943
  # Corresponds to the JSON property `clusterStates`
1854
1944
  # @return [Hash<String,Google::Apis::BigtableadminV2::ClusterState>]
1855
1945
  attr_accessor :cluster_states
@@ -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.2.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.1.2"
22
+ GENERATOR_VERSION = "0.2.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
@@ -136,6 +136,18 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class EncryptionConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class EncryptionInfo
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class Expr
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -415,6 +427,8 @@ module Google
415
427
  class Backup
416
428
  # @private
417
429
  class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::BigtableadminV2::EncryptionInfo, decorator: Google::Apis::BigtableadminV2::EncryptionInfo::Representation
431
+
418
432
  property :end_time, as: 'endTime'
419
433
  property :expire_time, as: 'expireTime'
420
434
  property :name, as: 'name'
@@ -463,6 +477,8 @@ module Google
463
477
  # @private
464
478
  class Representation < Google::Apis::Core::JsonRepresentation
465
479
  property :default_storage_type, as: 'defaultStorageType'
480
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::BigtableadminV2::EncryptionConfig, decorator: Google::Apis::BigtableadminV2::EncryptionConfig::Representation
481
+
466
482
  property :location, as: 'location'
467
483
  property :name, as: 'name'
468
484
  property :serve_nodes, as: 'serveNodes'
@@ -473,6 +489,8 @@ module Google
473
489
  class ClusterState
474
490
  # @private
475
491
  class Representation < Google::Apis::Core::JsonRepresentation
492
+ collection :encryption_info, as: 'encryptionInfo', class: Google::Apis::BigtableadminV2::EncryptionInfo, decorator: Google::Apis::BigtableadminV2::EncryptionInfo::Representation
493
+
476
494
  property :replication_state, as: 'replicationState'
477
495
  end
478
496
  end
@@ -564,6 +582,23 @@ module Google
564
582
  end
565
583
  end
566
584
 
585
+ class EncryptionConfig
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :kms_key_name, as: 'kmsKeyName'
589
+ end
590
+ end
591
+
592
+ class EncryptionInfo
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :encryption_status, as: 'encryptionStatus', class: Google::Apis::BigtableadminV2::Status, decorator: Google::Apis::BigtableadminV2::Status::Representation
596
+
597
+ property :encryption_type, as: 'encryptionType'
598
+ property :kms_key_version, as: 'kmsKeyVersion'
599
+ end
600
+ end
601
+
567
602
  class Expr
568
603
  # @private
569
604
  class Representation < Google::Apis::Core::JsonRepresentation
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.2.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-03-08 00:00:00.000000000 Z
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_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigtableadmin_v2/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigtableadmin_v2
57
57
  post_install_message:
58
58
  rdoc_options: []