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

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

Methods

__construct

Constructor.

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

setParent

Required. Lists all API keys associated with this project.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Returns
TypeDescription
int

setPageSize

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. Requests a specific page of results.

Returns
TypeDescription
string

setPageToken

Optional. Requests a specific page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getShowDeleted

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

Returns
TypeDescription
bool

setShowDeleted

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this