Google Cloud Api Keys V2 Client - Class ListKeysRequest (0.4.5)

Reference documentation and code samples for the Google Cloud Api Keys V2 Client class ListKeysRequest.

Request message for ListKeys method.

Generated from protobuf message google.api.apikeys.v2.ListKeysRequest

Namespace

Google \ Cloud \ ApiKeys \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Lists all API keys associated with this project.

↳ page_size int

Optional. Specifies the maximum number of results to be returned at a time.

↳ page_token string

Optional. Requests a specific page of results.

↳ show_deleted bool

Optional. Indicate that keys deleted in the past 30 days should also be returned.

getParent

Required. Lists all API keys associated with this project.

Returns
Type Description
string

setParent

Required. Lists all API keys associated with this project.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Specifies the maximum number of results to be returned at a time.

Returns
Type Description
int

setPageSize

Optional. Specifies the maximum number of results to be returned at a time.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. Requests a specific page of results.

Returns
Type Description
string

setPageToken

Optional. Requests a specific page of results.

Parameter
Name Description
var string
Returns
Type Description
$this

getShowDeleted

Optional. Indicate that keys deleted in the past 30 days should also be returned.

Returns
Type Description
bool

setShowDeleted

Optional. Indicate that keys deleted in the past 30 days should also be returned.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Lists all API keys associated with this project. Please see Google\Cloud\ApiKeys\V2\ApiKeysClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApiKeys\V2\ListKeysRequest