Google Cloud Channel V1 Client - Class ImportCustomerRequest (1.0.1)

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

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.

Generated from protobuf field string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

hasDomain

setDomain

Required. Customer domain.

Generated from protobuf field string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCloudIdentityId

Required. Customer's Cloud Identity ID

Generated from protobuf field string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

hasCloudIdentityId

setCloudIdentityId

Required. Customer's Cloud Identity ID

Generated from protobuf field string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];

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}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];

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}

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL];

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}

Generated from protobuf field string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setCustomer

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

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

Generated from protobuf field string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCustomerIdentity

Returns
TypeDescription
string