Google Cloud Channel V1 Client - Class ImportCustomerRequest (2.1.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
Name Description
data array

Optional. Data for populating the Message object.

↳ domain string

Required. Customer domain.

↳ cloud_identity_id string

Required. Customer's Cloud Identity ID

↳ primary_admin_email string

Required. Customer's primary admin email.

↳ 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
Type Description
string

hasDomain

setDomain

Required. Customer domain.

Parameter
Name Description
var string
Returns
Type Description
$this

getCloudIdentityId

Required. Customer's Cloud Identity ID

Returns
Type Description
string

hasCloudIdentityId

setCloudIdentityId

Required. Customer's Cloud Identity ID

Parameter
Name Description
var string
Returns
Type Description
$this

getPrimaryAdminEmail

Required. Customer's primary admin email.

Returns
Type Description
string

hasPrimaryAdminEmail

setPrimaryAdminEmail

Required. Customer's primary admin email.

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getCustomer

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

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

Returns
Type Description
string

setCustomer

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomerIdentity

Returns
Type Description
string