Cloud KMS V1 Client - Class ListCryptoKeyVersionsResponse (1.23.0)

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

Response message for KeyManagementService.ListCryptoKeyVersions.

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

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ crypto_key_versions array<Google\Cloud\Kms\V1\CryptoKeyVersion>

The list of CryptoKeyVersions.

↳ next_page_token string

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

↳ total_size int

The total number of CryptoKeyVersions that matched the query.

getCryptoKeyVersions

The list of CryptoKeyVersions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCryptoKeyVersions

The list of CryptoKeyVersions.

Parameter
Name Description
var array<Google\Cloud\Kms\V1\CryptoKeyVersion>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalSize

The total number of CryptoKeyVersions that matched the query.

Returns
Type Description
int

setTotalSize

The total number of CryptoKeyVersions that matched the query.

Parameter
Name Description
var int
Returns
Type Description
$this