class Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction

Attributes

action[RW]

Action to be taken on the Chrome OS device. Corresponds to the JSON property `action` @return [String]

deprovision_reason[RW]

Only used when the action is `deprovision`. With the `deprovision` action, this field is required. Note: The deprovision reason is audited because it might have implications on licenses for perpetual subscription customers. Corresponds to the JSON property `deprovisionReason` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 1354
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 1359
def update!(**args)
  @action = args[:action] if args.key?(:action)
  @deprovision_reason = args[:deprovision_reason] if args.key?(:deprovision_reason)
end