Secret Manager V1beta1 Client - Class ListSecretsRequest (1.15.2)

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

Request message for SecretManagerService.ListSecrets.

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

Namespace

Google \ Cloud \ SecretManager \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the project associated with the Secrets, in the format projects/*.

↳ page_size int

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

↳ page_token string

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

getParent

Required. The resource name of the project associated with the Secrets, in the format projects/*.

Returns
Type Description
string

setParent

Required. The resource name of the project associated with the Secrets, in the format projects/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

Returns
Type Description
string

setPageToken

Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.

Parameter
Name Description
var string
Returns
Type Description
$this