Class: Google::Apis::AndroiddeviceprovisioningV1::GoogleWorkspaceAccount
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::GoogleWorkspaceAccount
- 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 Google Workspace customer.
Instance Attribute Summary collapse
-
#customer_id ⇒ String
Required.
-
#pre_provisioning_tokens ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleWorkspaceAccount
constructor
A new instance of GoogleWorkspaceAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleWorkspaceAccount
Returns a new instance of GoogleWorkspaceAccount.
1085 1086 1087 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1085 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_id ⇒ String
Required. The customer ID.
Corresponds to the JSON property customerId
1078 1079 1080 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1078 def customer_id @customer_id end |
#pre_provisioning_tokens ⇒ Array<String>
Output only. The pre-provisioning tokens previously used to claim devices.
Corresponds to the JSON property preProvisioningTokens
1083 1084 1085 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1083 def pre_provisioning_tokens @pre_provisioning_tokens end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1090 1091 1092 1093 |
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1090 def update!(**args) @customer_id = args[:customer_id] if args.key?(:customer_id) @pre_provisioning_tokens = args[:pre_provisioning_tokens] if args.key?(:pre_provisioning_tokens) end |