Google Cloud Channel V1 Client - Class CloudIdentityCustomerAccount (2.1.0)

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

Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ existing bool

Returns true if a Cloud Identity account exists for a specific domain.

↳ owned bool

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.

↳ customer_name string

If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

↳ customer_cloud_identity_id string

If existing = true, the Cloud Identity ID of the customer.

↳ customer_type int

If existing = true, the type of the customer.

↳ channel_partner_cloud_identity_id string

If existing = true, and is 2-tier customer, the channel partner of the customer.

getExisting

Returns true if a Cloud Identity account exists for a specific domain.

Returns
Type Description
bool

setExisting

Returns true if a Cloud Identity account exists for a specific domain.

Parameter
Name Description
var bool
Returns
Type Description
$this

getOwned

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.

Returns
Type Description
bool

setOwned

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.

Parameter
Name Description
var bool
Returns
Type Description
$this

getCustomerName

If owned = true, the name of the customer that owns the Cloud Identity account.

Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

Returns
Type Description
string

setCustomerName

If owned = true, the name of the customer that owns the Cloud Identity account.

Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomerCloudIdentityId

If existing = true, the Cloud Identity ID of the customer.

Returns
Type Description
string

setCustomerCloudIdentityId

If existing = true, the Cloud Identity ID of the customer.

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomerType

If existing = true, the type of the customer.

Returns
Type Description
int

setCustomerType

If existing = true, the type of the customer.

Parameter
Name Description
var int
Returns
Type Description
$this

getChannelPartnerCloudIdentityId

If existing = true, and is 2-tier customer, the channel partner of the customer.

Returns
Type Description
string

setChannelPartnerCloudIdentityId

If existing = true, and is 2-tier customer, the channel partner of the customer.

Parameter
Name Description
var string
Returns
Type Description
$this