Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesDiskMount

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

Disk mount on the instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesDiskMount

Returns a new instance of SapDiscoveryResourceInstancePropertiesDiskMount.



3053
3054
3055
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3053

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disk_namesArray<String>

Optional. Names of the disks providing this mount point. Corresponds to the JSON property diskNames

Returns:

  • (Array<String>)


3041
3042
3043
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3041

def disk_names
  @disk_names
end

#mount_pointString

Optional. Filesystem mount point. Corresponds to the JSON property mountPoint

Returns:

  • (String)


3046
3047
3048
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3046

def mount_point
  @mount_point
end

#nameString

Optional. Name of the disk. Corresponds to the JSON property name

Returns:

  • (String)


3051
3052
3053
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3051

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3058
3059
3060
3061
3062
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3058

def update!(**args)
  @disk_names = args[:disk_names] if args.key?(:disk_names)
  @mount_point = args[:mount_point] if args.key?(:mount_point)
  @name = args[:name] if args.key?(:name)
end