Class: Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest
- 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
-
#customer ⇒ Google::Apis::AndroiddeviceprovisioningV1::Company
A customer resource in the zero-touch enrollment API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateCustomerRequest
constructor
A new instance of CreateCustomerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateCustomerRequest
Returns a new instance of CreateCustomerRequest
263 264 265 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer ⇒ Google::Apis::AndroiddeviceprovisioningV1::Company
A customer resource in the zero-touch enrollment API.
Corresponds to the JSON property customer
261 262 263 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 261 def customer @customer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
268 269 270 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 268 def update!(**args) @customer = args[:customer] if args.key?(:customer) end |