Secret Manager V1beta1 Client - Class ListSecretVersionsRequest (1.9.7)

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

Request message for SecretManagerService.ListSecretVersions.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

↳ 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 ListSecretVersionsResponse.next_page_token][].

getParent

Required. The resource name of the Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. The resource name of the Secret associated with the SecretVersions to list, in the format projects/*/secrets/*.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.

Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].

Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setPageToken

Optional. Pagination token, returned earlier via ListSecretVersionsResponse.next_page_token][].

Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this