public sealed class ListSecretVersionsResponse : IPageResponse<SecretVersion>, IEnumerable<SecretVersion>, IEnumerable, IMessage<ListSecretVersionsResponse>, IEquatable<ListSecretVersionsResponse>, IDeepCloneable<ListSecretVersionsResponse>, IBufferMessage, IMessage
Response message for [SecretManagerService.ListSecretVersions][google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions].
Inheritance
System.Object > ListSecretVersionsResponseImplements
Google.Api.Gax.Grpc.IPageResponse<SecretVersion>, System.Collections.Generic.IEnumerable<SecretVersion>, System.Collections.IEnumerable, Google.Protobuf.IMessage<ListSecretVersionsResponse>, System.IEquatable<ListSecretVersionsResponse>, Google.Protobuf.IDeepCloneable<ListSecretVersionsResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.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.v1.ListSecretVersionsRequest.page_token] to retrieve the next page.
Property Value | |
---|---|
Type | Description |
System.String |
TotalSize
public int TotalSize { get; set; }
The total number of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
Property Value | |
---|---|
Type | Description |
System.Int32 |
Versions
public RepeatedField<SecretVersion> Versions { get; }
The list of [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] sorted in reverse by create_time (newest first).
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.RepeatedField<SecretVersion> |
Methods
GetEnumerator()
public IEnumerator<SecretVersion> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
System.Collections.Generic.IEnumerator<SecretVersion> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns | |
---|---|
Type | Description |
System.Collections.IEnumerator |