Class: Google::Apis::AndroidmanagementV1::MediaMountEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::MediaMountEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
Removable media was mounted.
Instance Attribute Summary collapse
-
#mount_point ⇒ String
Mount point.
-
#volume_label ⇒ String
Volume label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MediaMountEvent
constructor
A new instance of MediaMountEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MediaMountEvent
Returns a new instance of MediaMountEvent.
3430 3431 3432 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3430 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mount_point ⇒ String
Mount point.
Corresponds to the JSON property mountPoint
3422 3423 3424 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3422 def mount_point @mount_point end |
#volume_label ⇒ String
Volume label. Redacted to empty string on organization-owned managed profile
devices.
Corresponds to the JSON property volumeLabel
3428 3429 3430 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3428 def volume_label @volume_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3435 3436 3437 3438 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3435 def update!(**args) @mount_point = args[:mount_point] if args.key?(:mount_point) @volume_label = args[:volume_label] if args.key?(:volume_label) end |