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.



3055
3056
3057
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3055

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>)


3043
3044
3045
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3043

def disk_names
  @disk_names
end

#mount_pointString

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

Returns:

  • (String)


3048
3049
3050
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3048

def mount_point
  @mount_point
end

#nameString

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

Returns:

  • (String)


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

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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