class Google::Apis::NotebooksV1::EncryptionConfig

Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.

Attributes

kms_key[RW]

The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/ `PROJECT_ID`/locations/`REGION`/keyRings/`KEY_RING_NAME`/cryptoKeys/`KEY_NAME“ Corresponds to the JSON property `kmsKey` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 326
def update!(**args)
  @kms_key = args[:kms_key] if args.key?(:kms_key)
end