Generated from protobuf message google.cloud.secretmanager.v1.ListSecretVersionsRequest
Namespace
Google \ Cloud \ SecretManager \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getParent
Required. The resource name of the
Secret associated with the
SecretVersions to list, in
the format projects/*/secrets/* or projects/*/locations/*/secrets/*.
Returns
Type
Description
string
setParent
Required. The resource name of the
Secret associated with the
SecretVersions to list, in
the format projects/*/secrets/* or projects/*/locations/*/secrets/*.
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
ListSecretVersionsResponse.next_page_token][].
Returns
Type
Description
string
setPageToken
Optional. Pagination token, returned earlier via
ListSecretVersionsResponse.next_page_token][].
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. Filter string, adhering to the rules in
List-operation
filtering. List
only secret versions matching the filter. If filter is empty, all secret
versions are listed.
Returns
Type
Description
string
setFilter
Optional. Filter string, adhering to the rules in
List-operation
filtering. List
only secret versions matching the filter. If filter is empty, all secret
versions are listed.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The resource name of the
Secret associated with the
SecretVersions to list, in
the format projects/*/secrets/* or projects/*/locations/*/secrets/*. Please see
SecretManagerServiceClient::secretName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]