Secret Manager v1beta2 API - Class ListSecretVersionsResponse (1.0.0-beta03)

public sealed class ListSecretVersionsResponse : IPageResponse<SecretVersion>, IEnumerable<SecretVersion>, IEnumerable, IMessage<ListSecretVersionsResponse>, IEquatable<ListSecretVersionsResponse>, IDeepCloneable<ListSecretVersionsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1beta2 API class ListSecretVersionsResponse.

Response message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1beta2.SecretManagerService.ListSecretVersions].

Inheritance

object > ListSecretVersionsResponse

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

Google.Cloud.SecretManager.V1Beta2.dll

Constructors

ListSecretVersionsResponse()

public ListSecretVersionsResponse()

ListSecretVersionsResponse(ListSecretVersionsResponse)

public ListSecretVersionsResponse(ListSecretVersionsResponse other)
Parameter
Name Description
other ListSecretVersionsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

A token to retrieve the next page of results. Pass this value in [ListSecretVersionsRequest.page_token][google.cloud.secretmanager.v1beta2.ListSecretVersionsRequest.page_token] to retrieve the next page.

Property Value
Type Description
string

TotalSize

public int TotalSize { get; set; }

The total number of [SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion] but 0 when the [ListSecretsRequest.filter][google.cloud.secretmanager.v1beta2.ListSecretsRequest.filter] field is set.

Property Value
Type Description
int

Versions

public RepeatedField<SecretVersion> Versions { get; }

The list of [SecretVersions][google.cloud.secretmanager.v1beta2.SecretVersion] sorted in reverse by create_time (newest first).

Property Value
Type Description
RepeatedFieldSecretVersion

Methods

GetEnumerator()

public IEnumerator<SecretVersion> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
Type Description
IEnumeratorSecretVersion