Class: Google::Apis::TpuV2::BootDiskConfig
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2::BootDiskConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2/classes.rb,
lib/google/apis/tpu_v2/representations.rb,
lib/google/apis/tpu_v2/representations.rb
Overview
Sets the boot disk configuration for the TPU node.
Instance Attribute Summary collapse
-
#customer_encryption_key ⇒ Google::Apis::TpuV2::CustomerEncryptionKey
Defines the customer encryption key for disk encryption.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BootDiskConfig
constructor
A new instance of BootDiskConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BootDiskConfig
Returns a new instance of BootDiskConfig.
162 163 164 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 162 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_encryption_key ⇒ Google::Apis::TpuV2::CustomerEncryptionKey
Defines the customer encryption key for disk encryption.
Corresponds to the JSON property customerEncryptionKey
160 161 162 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 160 def customer_encryption_key @customer_encryption_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
167 168 169 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 167 def update!(**args) @customer_encryption_key = args[:customer_encryption_key] if args.key?(:customer_encryption_key) end |