class Google::Apis::BigtableadminV1::EncryptionInfo

Encryption information for a given resource. If this resource is protected with customer managed encryption, the in-use Cloud Key Management Service ( Cloud KMS) key version is specified along with its status.

Attributes

encryption_status[RW]

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `encryptionStatus` @return [Google::Apis::BigtableadminV1::Status]

encryption_type[RW]

Output only. The type of encryption used to protect this resource. Corresponds to the JSON property `encryptionType` @return [String]

kms_key_version[RW]

Output only. The version of the Cloud KMS key specified in the parent cluster that is in use for the data underlying this table. Corresponds to the JSON property `kmsKeyVersion` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 437
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigtableadmin_v1/classes.rb, line 442
def update!(**args)
  @encryption_status = args[:encryption_status] if args.key?(:encryption_status)
  @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
end