Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class DeleteFeatureRequest.
Request message forGkeHub.DeleteFeaturemethod.
Generated from protobuf messagegoogle.cloud.gkehub.v1.DeleteFeatureRequest
Namespace
Google \ Cloud \ GkeHub \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The Feature resource name in the formatprojects/*/locations/*/features/*.
↳ force
bool
If set to true, the delete will ignore any outstanding resources for this Feature (that is,FeatureState.has_resourcesis set to true). These resources will NOT be cleaned up or modified in any way.
↳ request_id
string
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).
getName
Required. The Feature resource name in the formatprojects/*/locations/*/features/*.
Returns
Type
Description
string
setName
Required. The Feature resource name in the formatprojects/*/locations/*/features/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getForce
If set to true, the delete will ignore any outstanding resources for
this Feature (that is,FeatureState.has_resourcesis set to true). These
resources will NOT be cleaned up or modified in any way.
Returns
Type
Description
bool
setForce
If set to true, the delete will ignore any outstanding resources for
this Feature (that is,FeatureState.has_resourcesis set to true). These
resources will NOT be cleaned up or modified in any way.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getRequestId
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
Parameter
Name
Description
name
string
Required. The Feature resource name in the formatprojects/*/locations/*/features/*.
[[["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 DeleteFeatureRequest (1.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.6 (latest)](/php/docs/reference/cloud-gke-hub/latest/V1.DeleteFeatureRequest)\n- [1.0.5](/php/docs/reference/cloud-gke-hub/1.0.5/V1.DeleteFeatureRequest)\n- [0.10.0](/php/docs/reference/cloud-gke-hub/0.10.0/V1.DeleteFeatureRequest)\n- [0.9.5](/php/docs/reference/cloud-gke-hub/0.9.5/V1.DeleteFeatureRequest)\n- [0.8.2](/php/docs/reference/cloud-gke-hub/0.8.2/V1.DeleteFeatureRequest)\n- [0.7.1](/php/docs/reference/cloud-gke-hub/0.7.1/V1.DeleteFeatureRequest)\n- [0.6.3](/php/docs/reference/cloud-gke-hub/0.6.3/V1.DeleteFeatureRequest)\n- [0.5.6](/php/docs/reference/cloud-gke-hub/0.5.6/V1.DeleteFeatureRequest) \nReference documentation and code samples for the Google Cloud Gke Hub V1 Client class DeleteFeatureRequest.\n\nRequest message for `GkeHub.DeleteFeature` method.\n\nGenerated from protobuf message `google.cloud.gkehub.v1.DeleteFeatureRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The Feature resource name in the format\n`projects/*/locations/*/features/*`.\n\n### setName\n\nRequired. The Feature resource name in the format\n`projects/*/locations/*/features/*`.\n\n### getForce\n\nIf set to true, the delete will ignore any outstanding resources for\nthis Feature (that is, `FeatureState.has_resources` is set to true). These\nresources will NOT be cleaned up or modified in any way.\n\n### setForce\n\nIf set to true, the delete will ignore any outstanding resources for\nthis Feature (that is, `FeatureState.has_resources` is set to true). These\nresources will NOT be cleaned up or modified in any way.\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"]]