Secret Manager V1beta1 Client - Class ListSecretVersionsResponse (1.13.0)

Reference documentation and code samples for the Secret Manager V1beta1 Client class ListSecretVersionsResponse.

Response message for SecretManagerService.ListSecretVersions.

Generated from protobuf message google.cloud.secrets.v1beta1.ListSecretVersionsResponse

Namespace

Google \ Cloud \ SecretManager \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ versions array<Google\Cloud\SecretManager\V1beta1\SecretVersion>

The list of SecretVersions sorted in reverse by create_time (newest first).

↳ next_page_token string

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

↳ total_size int

The total number of SecretVersions.

getVersions

The list of SecretVersions sorted in reverse by create_time (newest first).

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVersions

The list of SecretVersions sorted in reverse by create_time (newest first).

Parameter
NameDescription
var array<Google\Cloud\SecretManager\V1beta1\SecretVersion>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTotalSize

The total number of SecretVersions.

Returns
TypeDescription
int

setTotalSize

The total number of SecretVersions.

Parameter
NameDescription
var int
Returns
TypeDescription
$this