Class: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim
- 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
A record of a device claimed by a reseller for a customer. Devices claimed
for zero-touch enrollment have a claim with the type
SECTION_TYPE_ZERO_TOUCH
. To learn more, read
Claim devices for customers.
Instance Attribute Summary collapse
-
#owner_company_id ⇒ Fixnum
The ID of the Customer that purchased the device.
-
#reseller_id ⇒ Fixnum
The ID of the reseller that claimed the device.
-
#section_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceClaim
constructor
A new instance of DeviceClaim.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceClaim
Returns a new instance of DeviceClaim
549 550 551 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 549 def initialize(**args) update!(**args) end |
Instance Attribute Details
#owner_company_id ⇒ Fixnum
The ID of the Customer that purchased the device.
Corresponds to the JSON property ownerCompanyId
537 538 539 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 537 def owner_company_id @owner_company_id end |
#reseller_id ⇒ Fixnum
The ID of the reseller that claimed the device.
Corresponds to the JSON property resellerId
542 543 544 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 542 def reseller_id @reseller_id end |
#section_type ⇒ String
Output only. The type of claim made on the device.
Corresponds to the JSON property sectionType
547 548 549 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 547 def section_type @section_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
554 555 556 557 558 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 554 def update!(**args) @owner_company_id = args[:owner_company_id] if args.key?(:owner_company_id) @reseller_id = args[:reseller_id] if args.key?(:reseller_id) @section_type = args[:section_type] if args.key?(:section_type) end |