Google Cloud Resource Manager V3 Client - Class ListTagHoldsRequest (0.4.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

Required. The resource name of the parent TagValue. Must be of the form: tagValues/{tag-value-id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A pagination token returned from a previous call to ListTagHolds that indicates where this listing should continue from.

Returns
TypeDescription
string

setPageToken

Optional. A pagination token returned from a previous call to ListTagHolds that indicates where this listing should continue from.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
  • origin = 35678234
  • holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group AND origin = 35678234
Returns
TypeDescription
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
  • origin = 35678234
  • holder = //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group AND origin = 35678234
Parameter
NameDescription
var string
Returns
TypeDescription
$this