Google Cloud KMS Inventory V1 Client - Class ListCryptoKeysRequest (1.0.0)

Reference documentation and code samples for the Google Cloud KMS Inventory V1 Client class ListCryptoKeysRequest.

Request message for KeyDashboardService.ListCryptoKeys.

Generated from protobuf message google.cloud.kms.inventory.v1.ListCryptoKeysRequest

Namespace

Google \ Cloud \ Kms \ Inventory \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

↳ page_size int

Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

↳ page_token string

Optional. Pass this into a subsequent request in order to receive the next page of results.

getParent

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

Returns
Type Description
string

setParent

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/*

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned.

The maximum value is 1000; values above 1000 will be coerced to 1000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned.

The maximum value is 1000; values above 1000 will be coerced to 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. Pass this into a subsequent request in order to receive the next page of results.

Returns
Type Description
string

setPageToken

Optional. Pass this into a subsequent request in order to receive the next page of results.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The Google Cloud project for which to retrieve key metadata, in the format projects/* Please see Google\Cloud\Kms\Inventory\V1\KeyDashboardServiceClient::projectName() for help formatting this field.

Returns
Type Description
Google\Cloud\Kms\Inventory\V1\ListCryptoKeysRequest