Class: Google::Apis::AndroidmanagementV1::MediaUnmountEvent

Inherits:
Object
  • Object
show all
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 unmounted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MediaUnmountEvent

Returns a new instance of MediaUnmountEvent.



3469
3470
3471
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3469

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

Instance Attribute Details

#mount_pointString

Mount point. Corresponds to the JSON property mountPoint

Returns:

  • (String)


3461
3462
3463
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3461

def mount_point
  @mount_point
end

#volume_labelString

Volume label. Redacted to empty string on organization-owned managed profile devices. Corresponds to the JSON property volumeLabel

Returns:

  • (String)


3467
3468
3469
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3467

def volume_label
  @volume_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3474
3475
3476
3477
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3474

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