Secret Manager V1beta1 Client - Class ListSecretsResponse (1.15.4)

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

Response message for SecretManagerService.ListSecrets.

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

Namespace

Google \ Cloud \ SecretManager \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ secretsarray<Secret>

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

↳ next_page_tokenstring

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

↳ total_sizeint

The total number of Secrets.

getSecrets

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSecrets

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

Parameter
NameDescription
vararray<Secret>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getTotalSize

The total number of Secrets.

Returns
TypeDescription
int

setTotalSize

The total number of Secrets.

Parameter
NameDescription
varint
Returns
TypeDescription
$this