Google Cloud Channel V1 Client - Class ImportCustomerRequest (1.6.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ImportCustomerRequest.

Request message for CloudChannelService.ImportCustomer

Generated from protobuf message google.cloud.channel.v1.ImportCustomerRequest

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ domain string

Required. Customer domain.

↳ cloud_identity_id string

Required. Customer's Cloud Identity ID

↳ parent string

Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

↳ auth_token string

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

↳ overwrite_if_exists bool

Required. Choose to overwrite an existing customer if found. This must be set to true if there is an existing customer with a conflicting region code or domain.

↳ channel_partner_id string

Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.

↳ customer string

Optional. Specifies the customer that will receive imported Cloud Identity information. Format: accounts/{account_id}/customers/{customer_id}

getDomain

Required. Customer domain.

Returns
TypeDescription
string

hasDomain

setDomain

Required. Customer domain.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCloudIdentityId

Required. Customer's Cloud Identity ID

Returns
TypeDescription
string

hasCloudIdentityId

setCloudIdentityId

Required. Customer's Cloud Identity ID

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParent

Required. The resource name of the reseller's account.

Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

Returns
TypeDescription
string

setParent

Required. The resource name of the reseller's account.

Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAuthToken

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization.

See https://support.google.com/a/answer/7643790 for more details.

Returns
TypeDescription
string

setAuthToken

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization.

See https://support.google.com/a/answer/7643790 for more details.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOverwriteIfExists

Required. Choose to overwrite an existing customer if found.

This must be set to true if there is an existing customer with a conflicting region code or domain.

Returns
TypeDescription
bool

setOverwriteIfExists

Required. Choose to overwrite an existing customer if found.

This must be set to true if there is an existing customer with a conflicting region code or domain.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getChannelPartnerId

Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.

Returns
TypeDescription
string

setChannelPartnerId

Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomer

Optional. Specifies the customer that will receive imported Cloud Identity information.

Format: accounts/{account_id}/customers/{customer_id}

Returns
TypeDescription
string

setCustomer

Optional. Specifies the customer that will receive imported Cloud Identity information.

Format: accounts/{account_id}/customers/{customer_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomerIdentity

Returns
TypeDescription
string