Secret Manager V1 Client - Class ListSecretsResponse (1.9.7)

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

Response message for SecretManagerService.ListSecrets .

Generated from protobuf message google.cloud.secretmanager.v1.ListSecretsResponse

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ secrets
array< Google\Cloud\SecretManager\V1\Secret >

The list of Secrets 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 ListSecretsRequest.page_token to retrieve the next page.

↳ total_size
int

The total number of Secrets .

getSecrets

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

Generated from protobuf field repeated .google.cloud.secretmanager.v1.Secret secrets = 1;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setSecrets

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

Generated from protobuf field repeated .google.cloud.secretmanager.v1.Secret secrets = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Returns
Type
Description
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTotalSize

The total number of Secrets .

Generated from protobuf field int32 total_size = 3;

Returns
Type
Description
int

setTotalSize

The total number of Secrets .

Generated from protobuf field int32 total_size = 3;

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: