class Google::Apis::ManagerV1beta2::ExistingDisk

A pre-existing persistent disk that will be attached to every Replica in the Pool.

Attributes

attachment[RW]

How to attach a disk to a Replica. Corresponds to the JSON property `attachment` @return [Google::Apis::ManagerV1beta2::DiskAttachment]

source[RW]

The fully-qualified URL of the Persistent Disk resource. It must be in the same zone as the Pool. Corresponds to the JSON property `source` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/manager_v1beta2/classes.rb, line 371
def update!(**args)
  @attachment = args[:attachment] if args.key?(:attachment)
  @source = args[:source] if args.key?(:source)
end