Google Cloud Resource Manager V3 Client - Class ListTagKeysRequest (1.0.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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
ListTagKeysRequest