Class: Google::Apis::MlV1::GoogleCloudMlV1EncryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1EncryptionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Overview
Represents a custom encryption key configuration that can be applied to a resource.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ String
The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource, such as a training job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1EncryptionConfig
constructor
A new instance of GoogleCloudMlV1EncryptionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1EncryptionConfig
Returns a new instance of GoogleCloudMlV1EncryptionConfig.
844 845 846 |
# File 'generated/google/apis/ml_v1/classes.rb', line 844 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kms_key_name ⇒ String
The Cloud KMS resource identifier of the customer managed encryption key
used to protect a resource, such as a training job. Has the form:
projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key
.
Corresponds to the JSON property kmsKeyName
842 843 844 |
# File 'generated/google/apis/ml_v1/classes.rb', line 842 def kms_key_name @kms_key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
849 850 851 |
# File 'generated/google/apis/ml_v1/classes.rb', line 849 def update!(**args) @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) end |