Reference documentation and code samples for the Secret Manager V1beta1 Client class ListSecretVersionsResponse.
Response message for SecretManagerService.ListSecretVersions.
Generated from protobuf message google.cloud.secrets.v1beta1.ListSecretVersionsResponse
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ versions | array<Google\Cloud\SecretManager\V1beta1\SecretVersion>The list of SecretVersions sorted in reverse by create_time (newest first). | 
| ↳ next_page_token | stringA token to retrieve the next page of results. Pass this value in ListSecretVersionsRequest.page_token to retrieve the next page. | 
| ↳ total_size | intThe total number of SecretVersions. | 
getVersions
The list of SecretVersions sorted in reverse by create_time (newest first).
Generated from protobuf field repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setVersions
The list of SecretVersions sorted in reverse by create_time (newest first).
Generated from protobuf field repeated .google.cloud.secrets.v1beta1.SecretVersion versions = 1;
| Parameter | |
|---|---|
| Name | Description | 
| var | array<Google\Cloud\SecretManager\V1beta1\SecretVersion> | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getNextPageToken
A token to retrieve the next page of results. Pass this value in ListSecretVersionsRequest.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 ListSecretVersionsRequest.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 SecretVersions.
Generated from protobuf field int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description | 
| int | |
setTotalSize
The total number of SecretVersions.
Generated from protobuf field int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description | 
| var | int | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |