Cloud KMS V1 Client - Class ListCryptoKeysResponse (1.18.1)

Reference documentation and code samples for the Cloud KMS V1 Client class ListCryptoKeysResponse.

Response message for KeyManagementService.ListCryptoKeys.

Generated from protobuf message google.cloud.kms.v1.ListCryptoKeysResponse

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ crypto_keys array<Google\Cloud\Kms\V1\CryptoKey>

The list of CryptoKeys.

↳ next_page_token string

A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.page_token to retrieve the next page of results.

↳ total_size int

The total number of CryptoKeys that matched the query.

getCryptoKeys

The list of CryptoKeys.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCryptoKeys

The list of CryptoKeys.

Parameter
NameDescription
var array<Google\Cloud\Kms\V1\CryptoKey>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.page_token to retrieve the next page of results.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve next page of results. Pass this value in ListCryptoKeysRequest.page_token to retrieve the next page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTotalSize

The total number of CryptoKeys that matched the query.

Returns
TypeDescription
int

setTotalSize

The total number of CryptoKeys that matched the query.

Parameter
NameDescription
var int
Returns
TypeDescription
$this