Google Cloud Channel V1 Client - Class CustomerIdentityOneof (1.1.1)

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.

Methods

setDomain

Sets this oneof to domain and updates its value.

Parameter
NameDescription
domain string

The new value of this oneof.

Returns
TypeDescription
Google\Cloud\Channel\V1\ImportCustomerRequest\CustomerIdentityOneofThe modified object.

setCloudIdentityId

Sets this oneof to cloud_identity_id and updates its value.

Parameter
NameDescription
cloudIdentityId string

The new value of this oneof.

Returns
TypeDescription
Google\Cloud\Channel\V1\ImportCustomerRequest\CustomerIdentityOneofThe modified object.

isDomain

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

Returns
TypeDescription
bool

isCloudIdentityId

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

Returns
TypeDescription
bool

getDomain

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

Returns
TypeDescription
string|null

getCloudIdentityId

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

Returns
TypeDescription
string|null