Class: Google::Apis::AndroiddeviceprovisioningV1::GoogleWorkspaceAccount

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. The customer ID. Corresponds to the JSON property customerId

Returns:

  • (String)


1078
1079
1080
# File 'lib/google/apis/androiddeviceprovisioning_v1/classes.rb', line 1078

def customer_id
  @customer_id
end

#pre_provisioning_tokensArray<String>

Output only. The pre-provisioning tokens previously used to claim devices. Corresponds to the JSON property preProvisioningTokens

Returns:

  • (Array<String>)


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