Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
getParent
Required. The parent (project and location) where the Feature will be
created. Specified in the formatprojects/*/locations/*.
Returns
Type
Description
string
setParent
Required. The parent (project and location) where the Feature will be
created. Specified in the formatprojects/*/locations/*.
Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Returns
Type
Description
string
setRequestId
Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The parent (project and location) where the Feature will be
created. Specified in the formatprojects/*/locations/*.
[[["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 Gke Hub V1 Client - Class CreateFeatureRequest (1.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.6 (latest)](/php/docs/reference/cloud-gke-hub/latest/V1.CreateFeatureRequest)\n- [1.0.5](/php/docs/reference/cloud-gke-hub/1.0.5/V1.CreateFeatureRequest)\n- [0.10.0](/php/docs/reference/cloud-gke-hub/0.10.0/V1.CreateFeatureRequest)\n- [0.9.5](/php/docs/reference/cloud-gke-hub/0.9.5/V1.CreateFeatureRequest)\n- [0.8.2](/php/docs/reference/cloud-gke-hub/0.8.2/V1.CreateFeatureRequest)\n- [0.7.1](/php/docs/reference/cloud-gke-hub/0.7.1/V1.CreateFeatureRequest)\n- [0.6.3](/php/docs/reference/cloud-gke-hub/0.6.3/V1.CreateFeatureRequest)\n- [0.5.6](/php/docs/reference/cloud-gke-hub/0.5.6/V1.CreateFeatureRequest) \nReference documentation and code samples for the Google Cloud Gke Hub V1 Client class CreateFeatureRequest.\n\nRequest message for the `GkeHub.CreateFeature` method.\n\nGenerated from protobuf message `google.cloud.gkehub.v1.CreateFeatureRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent (project and location) where the Feature will be\ncreated. Specified in the format `projects/*/locations/*`.\n\n### setParent\n\nRequired. The parent (project and location) where the Feature will be\ncreated. Specified in the format `projects/*/locations/*`.\n\n### getFeatureId\n\nThe ID of the feature to create.\n\n### setFeatureId\n\nThe ID of the feature to create.\n\n### getResource\n\nThe Feature resource to create.\n\n### hasResource\n\n### clearResource\n\n### setResource\n\nThe Feature resource to create.\n\n### getRequestId\n\nOptional. A request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server will guarantee\nthat for at least 60 minutes after the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### setRequestId\n\nOptional. A request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server will guarantee\nthat for at least 60 minutes after the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### static::build"]]