Class: Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::DeviceClaim
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androiddeviceprovisioning_v1/classes.rb,
lib/google/apis/androiddeviceprovisioning_v1/representations.rb,
lib/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
-
#additional_service ⇒ String
The Additional service registered for the device.
-
#google_workspace_customer_id ⇒ String
The ID of the Google Workspace account that owns the Chrome OS device.
-
#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.
-
#vacation_mode_expire_time ⇒ String
The timestamp when the device will exit ‘vacation mode’.
-
#vacation_mode_start_time ⇒ String
The timestamp when the device was put into ‘vacation mode’.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceClaim
constructor
A new instance of DeviceClaim.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceClaim
Returns a new instance of DeviceClaim.
608 609 610 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 608 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_service ⇒ String
The Additional service registered for the device.
Corresponds to the JSON property additionalService
574 575 576 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 574 def additional_service @additional_service end |
#google_workspace_customer_id ⇒ String
The ID of the Google Workspace account that owns the Chrome OS device.
Corresponds to the JSON property googleWorkspaceCustomerId
579 580 581 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 579 def google_workspace_customer_id @google_workspace_customer_id end |
#owner_company_id ⇒ Fixnum
The ID of the Customer that purchased the device.
Corresponds to the JSON property ownerCompanyId
584 585 586 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 584 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
589 590 591 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 589 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
594 595 596 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 594 def section_type @section_type end |
#vacation_mode_expire_time ⇒ String
The timestamp when the device will exit ‘vacation mode’. This value is present
iff the device is in 'vacation mode'.
Corresponds to the JSON property vacationModeExpireTime
600 601 602 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 600 def vacation_mode_expire_time @vacation_mode_expire_time end |
#vacation_mode_start_time ⇒ String
The timestamp when the device was put into ‘vacation mode’. This value is
present iff the device is in 'vacation mode'.
Corresponds to the JSON property vacationModeStartTime
606 607 608 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 606 def vacation_mode_start_time @vacation_mode_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
613 614 615 616 617 618 619 620 621 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 613 def update!(**args) @additional_service = args[:additional_service] if args.key?(:additional_service) @google_workspace_customer_id = args[:google_workspace_customer_id] if args.key?(:google_workspace_customer_id) @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) @vacation_mode_expire_time = args[:vacation_mode_expire_time] if args.key?(:vacation_mode_expire_time) @vacation_mode_start_time = args[:vacation_mode_start_time] if args.key?(:vacation_mode_start_time) end |