Google Cloud Resource Manager V3 Client - Class ListTagKeysRequest (0.7.2)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListTagKeysRequest.

The request message for listing all TagKeys under a parent resource.

Generated from protobuf message google.cloud.resourcemanager.v3.ListTagKeysRequest

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id} or projects/{project_number}

↳ page_size int

Optional. The maximum number of TagKeys to return in the response. The server allows a maximum of 300 TagKeys 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 ListTagKey that indicates where this listing should continue from.

getParent

Required. The resource name of the TagKey's parent.

Must be of the form organizations/{org_id} or projects/{project_id} or projects/{project_number}

Returns
TypeDescription
string

setParent

Required. The resource name of the TagKey's parent.

Must be of the form organizations/{org_id} or projects/{project_id} or projects/{project_number}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. The maximum number of TagKeys to return in the response. The server allows a maximum of 300 TagKeys to return. If unspecified, the server will use 100 as the default.

Returns
TypeDescription
int

setPageSize

Optional. The maximum number of TagKeys to return in the response. The server allows a maximum of 300 TagKeys 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 ListTagKey that indicates where this listing should continue from.

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The resource name of the TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id} or projects/{project_number}

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\ListTagKeysRequest