class Google::Apis::ManagerV1beta2::NewDisk
A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica.
Attributes
How to attach a disk to a Replica. Corresponds to the JSON property `attachment` @return [Google::Apis::ManagerV1beta2::DiskAttachment]
If true, then this disk will be deleted when the instance is deleted. Corresponds to the JSON property `autoDelete` @return [Boolean]
If true, then this disk will be deleted when the instance is deleted. Corresponds to the JSON property `autoDelete` @return [Boolean]
If true, indicates that this is the root persistent disk. Corresponds to the JSON property `boot` @return [Boolean]
If true, indicates that this is the root persistent disk. Corresponds to the JSON property `boot` @return [Boolean]
Initialization parameters for creating a new disk. Corresponds to the JSON property `initializeParams` @return [Google::Apis::ManagerV1beta2::NewDiskInitializeParams]
Public Class Methods
# File generated/google/apis/manager_v1beta2/classes.rb, line 900 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/manager_v1beta2/classes.rb, line 905 def update!(**args) @attachment = args[:attachment] if args.key?(:attachment) @auto_delete = args[:auto_delete] if args.key?(:auto_delete) @boot = args[:boot] if args.key?(:boot) @initialize_params = args[:initialize_params] if args.key?(:initialize_params) end