Class: Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest

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 to create a customer.

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) ⇒ CreateCustomerRequest

Returns a new instance of CreateCustomerRequest



282
283
284
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 282

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

Instance Attribute Details

#customerGoogle::Apis::AndroiddeviceprovisioningV1::Company

A reseller, vendor, or customer in the zero-touch reseller and customer APIs. Corresponds to the JSON property customer



280
281
282
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 280

def customer
  @customer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



287
288
289
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 287

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