Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListTagHoldsRequest.
The request message for listing the TagHolds under a TagValue.
Generated from protobuf message google.cloud.resourcemanager.v3.ListTagHoldsRequest
Namespace
Google \ Cloud \ ResourceManager \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the parent TagValue. Must be of the form: tagValues/{tag-value-id}.
↳ page_size
int
Optional. The maximum number of TagHolds to return in the response. The server allows a maximum of 300 TagHolds to return. If unspecified, the server will use 100 as the default.
↳ page_token
string
Optional. A pagination token returned from a previous call to ListTagHolds that indicates where this listing should continue from.
↳ filter
string
Optional. Criteria used to select a subset of TagHolds parented by the TagValue to return. This field follows the syntax defined by aip.dev/160; the holder and origin fields are supported for filtering. Currently only AND syntax is supported. Some example queries are: * * holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group * * origin = 35678234 * * holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group AND origin = 35678234
getParent
Required. The resource name of the parent TagValue. Must be of the form:
tagValues/{tag-value-id}.
Returns
Type
Description
string
setParent
Required. The resource name of the parent TagValue. Must be of the form:
tagValues/{tag-value-id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. The maximum number of TagHolds to return in the response. The
server allows a maximum of 300 TagHolds to return. If unspecified, the
server will use 100 as the default.
Returns
Type
Description
int
setPageSize
Optional. The maximum number of TagHolds to return in the response. The
server allows a maximum of 300 TagHolds to return. If unspecified, the
server will use 100 as the default.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. A pagination token returned from a previous call to
ListTagHolds that indicates where this listing should continue from.
Returns
Type
Description
string
setPageToken
Optional. A pagination token returned from a previous call to
ListTagHolds that indicates where this listing should continue from.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. Criteria used to select a subset of TagHolds parented by the
TagValue to return. This field follows the syntax defined by aip.dev/160;
the holder and origin fields are supported for filtering. Currently
only AND syntax is supported. Some example queries are:
holder =
//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group
AND origin = 35678234
Returns
Type
Description
string
setFilter
Optional. Criteria used to select a subset of TagHolds parented by the
TagValue to return. This field follows the syntax defined by aip.dev/160;
the holder and origin fields are supported for filtering. Currently
only AND syntax is supported. Some example queries are:
holder =
//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group
AND origin = 35678234
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The resource name of the parent TagValue. Must be of the form:
tagValues/{tag-value-id}. Please see
TagHoldsClient::tagValueName() 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 Resource Manager V3 Client - Class ListTagHoldsRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-resource-manager/latest/V3.ListTagHoldsRequest)\n- [1.0.3](/php/docs/reference/cloud-resource-manager/1.0.3/V3.ListTagHoldsRequest)\n- [0.8.5](/php/docs/reference/cloud-resource-manager/0.8.5/V3.ListTagHoldsRequest)\n- [0.7.2](/php/docs/reference/cloud-resource-manager/0.7.2/V3.ListTagHoldsRequest)\n- [0.6.1](/php/docs/reference/cloud-resource-manager/0.6.1/V3.ListTagHoldsRequest)\n- [0.5.0](/php/docs/reference/cloud-resource-manager/0.5.0/V3.ListTagHoldsRequest)\n- [0.4.1](/php/docs/reference/cloud-resource-manager/0.4.1/V3.ListTagHoldsRequest)\n- [0.3.9](/php/docs/reference/cloud-resource-manager/0.3.9/V3.ListTagHoldsRequest) \nReference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListTagHoldsRequest.\n\nThe request message for listing the TagHolds under a TagValue.\n\nGenerated from protobuf message `google.cloud.resourcemanager.v3.ListTagHoldsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ResourceManager \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the parent TagValue. Must be of the form:\n`tagValues/{tag-value-id}`.\n\n### setParent\n\nRequired. The resource name of the parent TagValue. Must be of the form:\n`tagValues/{tag-value-id}`.\n\n### getPageSize\n\nOptional. The maximum number of TagHolds to return in the response. The\nserver allows a maximum of 300 TagHolds to return. If unspecified, the\nserver will use 100 as the default.\n\n### setPageSize\n\nOptional. The maximum number of TagHolds to return in the response. The\nserver allows a maximum of 300 TagHolds to return. If unspecified, the\nserver will use 100 as the default.\n\n### getPageToken\n\nOptional. A pagination token returned from a previous call to\n`ListTagHolds` that indicates where this listing should continue from.\n\n### setPageToken\n\nOptional. A pagination token returned from a previous call to\n`ListTagHolds` that indicates where this listing should continue from.\n\n### getFilter\n\nOptional. Criteria used to select a subset of TagHolds parented by the\nTagValue to return. This field follows the syntax defined by aip.dev/160;\nthe `holder` and `origin` fields are supported for filtering. Currently\nonly `AND` syntax is supported. Some example queries are:\n\n- `holder =\n //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group`\n- `origin = 35678234`\n- `holder =\n //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group\n AND origin = 35678234`\n\n### setFilter\n\nOptional. Criteria used to select a subset of TagHolds parented by the\nTagValue to return. This field follows the syntax defined by aip.dev/160;\nthe `holder` and `origin` fields are supported for filtering. Currently\nonly `AND` syntax is supported. Some example queries are:\n\n- `holder =\n //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group`\n- `origin = 35678234`\n- `holder =\n //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group\n AND origin = 35678234`\n\n### static::build"]]