Class: Google::Apis::AndroiddeviceprovisioningV1::CustomerRemoveConfigurationRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb

Overview

Request message for customer to remove the configuration from device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomerRemoveConfigurationRequest

Returns a new instance of CustomerRemoveConfigurationRequest



413
414
415
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 413

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

Instance Attribute Details

#deviceGoogle::Apis::AndroiddeviceprovisioningV1::DeviceReference

A DeviceReference is an API abstraction that lets you supply a device argument to a method using one of the following identifier types:

  • A numeric API resource ID.
  • Real-world hardware IDs, such as IMEI number, belonging to the manufactured device. Methods that operate on devices take a DeviceReference as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read Identifiers. Corresponds to the JSON property device


411
412
413
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 411

def device
  @device
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



418
419
420
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 418

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