Google Cloud Cloud Controls Partner V1beta Client - Class CreateCustomerRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class CreateCustomerRequest.

Request to create a customer

Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.CreateCustomerRequest

Namespace

Google \ Cloud \ CloudControlsPartner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent resource Format: organizations/{organization}/locations/{location}

↳ customer Customer

Required. The customer to create.

↳ customer_id string

Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.

getParent

Required. Parent resource Format: organizations/{organization}/locations/{location}

Returns
Type Description
string

setParent

Required. Parent resource Format: organizations/{organization}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomer

Required. The customer to create.

Returns
Type Description
Customer|null

hasCustomer

clearCustomer

setCustomer

Required. The customer to create.

Parameter
Name Description
var Customer
Returns
Type Description
$this

getCustomerId

Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.

Returns
Type Description
string

setCustomerId

Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Parent resource Format: organizations/{organization}/locations/{location} Please see CloudControlsPartnerCoreClient::organizationLocationName() for help formatting this field.

customer Customer

Required. The customer to create.

customerId string

Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.

Returns
Type Description
CreateCustomerRequest