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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Cloud Controls Partner V1beta Client - Class CreateCustomerRequest (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-cloudcontrolspartner/latest/V1beta.CreateCustomerRequest)\n- [0.4.0](/php/docs/reference/cloud-cloudcontrolspartner/0.4.0/V1beta.CreateCustomerRequest)\n- [0.3.0](/php/docs/reference/cloud-cloudcontrolspartner/0.3.0/V1beta.CreateCustomerRequest)\n- [0.2.2](/php/docs/reference/cloud-cloudcontrolspartner/0.2.2/V1beta.CreateCustomerRequest)\n- [0.1.4](/php/docs/reference/cloud-cloudcontrolspartner/0.1.4/V1beta.CreateCustomerRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class CreateCustomerRequest.\n\nRequest to create a customer\n\nGenerated from protobuf message `google.cloud.cloudcontrolspartner.v1beta.CreateCustomerRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudControlsPartner \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Parent resource\nFormat: `organizations/{organization}/locations/{location}`\n\n### setParent\n\nRequired. Parent resource\nFormat: `organizations/{organization}/locations/{location}`\n\n### getCustomer\n\nRequired. The customer to create.\n\n### hasCustomer\n\n### clearCustomer\n\n### setCustomer\n\nRequired. The customer to create.\n\n### getCustomerId\n\nRequired. The customer id to use for the customer, which will become the\nfinal component of the customer's resource name. The specified value must\nbe a valid Google cloud organization id.\n\n### setCustomerId\n\nRequired. The customer id to use for the customer, which will become the\nfinal component of the customer's resource name. The specified value must\nbe a valid Google cloud organization id.\n\n### static::build"]]