Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Represents a customer-managed encryption key spec that can be applied to a top- level resource.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EncryptionSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1EncryptionSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EncryptionSpec
Returns a new instance of GoogleCloudAiplatformV1beta1EncryptionSpec.
6070 6071 6072 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6070 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
Required. The Cloud KMS resource identifier of the customer managed encryption
key used to protect a resource. Has the form: projects/my-project/locations/
my-region/keyRings/my-kr/cryptoKeys/my-key
. The key needs to be in the same
region as where the compute resource is created.
Corresponds to the JSON property kmsKeyName
6068 6069 6070 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6068 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6075 6076 6077 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6075 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |