Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-_/.
getParent
Required. Full resource name of parent. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
Returns
Type
Description
string
setParent
Required. Full resource name of parent. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
Required. The ID to use for the ServingConfig, which will become the final
component of the ServingConfig's resource name.
This value should be 4-63 characters, and valid characters
are /[a-z][0-9]-_/.
Returns
Type
Description
string
setServingConfigId
Required. The ID to use for the ServingConfig, which will become the final
component of the ServingConfig's resource name.
This value should be 4-63 characters, and valid characters
are /[a-z][0-9]-_/.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. Full resource name of parent. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
Please see ServingConfigServiceClient::catalogName() for help formatting this field.
[[["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 Retail V2 Client - Class CreateServingConfigRequest (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.CreateServingConfigRequest)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.CreateServingConfigRequest)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.CreateServingConfigRequest)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.CreateServingConfigRequest)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.CreateServingConfigRequest)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.CreateServingConfigRequest)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.CreateServingConfigRequest)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.CreateServingConfigRequest)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.CreateServingConfigRequest)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.CreateServingConfigRequest)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.CreateServingConfigRequest)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.CreateServingConfigRequest)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.CreateServingConfigRequest) \nReference documentation and code samples for the Google Cloud Retail V2 Client class CreateServingConfigRequest.\n\nRequest for CreateServingConfig method.\n\nGenerated from protobuf message `google.cloud.retail.v2.CreateServingConfigRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Full resource name of parent. Format:\n`projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`\n\n### setParent\n\nRequired. Full resource name of parent. Format:\n`projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`\n\n### getServingConfig\n\nRequired. The ServingConfig to create.\n\n### hasServingConfig\n\n### clearServingConfig\n\n### setServingConfig\n\nRequired. The ServingConfig to create.\n\n### getServingConfigId\n\nRequired. The ID to use for the ServingConfig, which will become the final\ncomponent of the ServingConfig's resource name.\n\nThis value should be 4-63 characters, and valid characters\nare /\\[a-z\\]\\[0-9\\]-_/.\n\n### setServingConfigId\n\nRequired. The ID to use for the ServingConfig, which will become the final\ncomponent of the ServingConfig's resource name.\n\nThis value should be 4-63 characters, and valid characters\nare /\\[a-z\\]\\[0-9\\]-_/.\n\n### static::build"]]