Class: Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest
 
 
- 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 assign a configuration to device.
Instance Attribute Summary collapse
- 
  
    
      #configuration  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #device  ⇒ Google::Apis::AndroiddeviceprovisioningV1::DeviceReference 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A
DeviceReferenceis 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. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomerApplyConfigurationRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CustomerApplyConfigurationRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomerApplyConfigurationRequest
Returns a new instance of CustomerApplyConfigurationRequest
      307 308 309  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 307 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#configuration ⇒ String
Required. The configuration applied to the device in the format
customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID].
Corresponds to the JSON property configuration
      293 294 295  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 293 def configuration @configuration end  | 
  
#device ⇒ Google::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 
DeviceReferenceas a parameter type because it's more flexible for the caller. To learn more about device identifiers, read Identifiers. Corresponds to the JSON propertydevice 
      305 306 307  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 305 def device @device end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      312 313 314 315  | 
    
      # File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 312 def update!(**args) @configuration = args[:configuration] if args.key?(:configuration) @device = args[:device] if args.key?(:device) end  |