Google Cloud Channel V1 Client - Class CustomerIdentityOneof (1.9.4)

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

Wrapper class for the oneof customer_identity defined in message ImportCustomerRequest. Only one item should be set on an instance of this class.

If multiple items are set on the instance, the last one is used.

Namespace

Google \ Cloud \ Channel \ V1 \ ImportCustomerRequest

Methods

setDomain

Sets this oneof to domain and updates its value.

Parameter
Name Description
domain string

The new value of this oneof.

Returns
Type Description
Google\Cloud\Channel\V1\ImportCustomerRequest\CustomerIdentityOneof The modified object.

setCloudIdentityId

Sets this oneof to cloud_identity_id and updates its value.

Parameter
Name Description
cloudIdentityId string

The new value of this oneof.

Returns
Type Description
Google\Cloud\Channel\V1\ImportCustomerRequest\CustomerIdentityOneof The modified object.

isDomain

Returns true if this oneof is set to the field domain.

Returns
Type Description
bool

isCloudIdentityId

Returns true if this oneof is set to the field cloud_identity_id.

Returns
Type Description
bool

getDomain

Returns domain if this oneof is set to the field domain, null otherwise.

Returns
Type Description
string|null

getCloudIdentityId

Returns cloudIdentityId if this oneof is set to the field cloud_identity_id, null otherwise.

Returns
Type Description
string|null