Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesDiskMount
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesDiskMount
- 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
-
#disk_names ⇒ Array<String>
Optional.
-
#mount_point ⇒ String
Optional.
-
#name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesDiskMount
constructor
A new instance of SapDiscoveryResourceInstancePropertiesDiskMount.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_names ⇒ Array<String>
Optional. Names of the disks providing this mount point.
Corresponds to the JSON property diskNames
3041 3042 3043 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3041 def disk_names @disk_names end |
#mount_point ⇒ String
Optional. Filesystem mount point.
Corresponds to the JSON property mountPoint
3046 3047 3048 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3046 def mount_point @mount_point end |
#name ⇒ String
Optional. Name of the disk.
Corresponds to the JSON property name
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 |