Class ListSecretsResponse (1.3.0)

public sealed class ListSecretsResponse : IPageResponse<Secret>, IEnumerable<Secret>, IEnumerable, IMessage<ListSecretsResponse>, IEquatable<ListSecretsResponse>, IDeepCloneable<ListSecretsResponse>, IBufferMessage, IMessage

Response message for [SecretManagerService.ListSecrets][google.cloud.secretmanager.v1.SecretManagerService.ListSecrets].

Inheritance

System.Object > ListSecretsResponse

Implements

Google.Api.Gax.Grpc.IPageResponse<Secret>, System.Collections.Generic.IEnumerable<Secret>, System.Collections.IEnumerable, Google.Protobuf.IMessage<ListSecretsResponse>, System.IEquatable<ListSecretsResponse>, Google.Protobuf.IDeepCloneable<ListSecretsResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

ListSecretsResponse()

public ListSecretsResponse()

ListSecretsResponse(ListSecretsResponse)

public ListSecretsResponse(ListSecretsResponse other)
Parameter
NameDescription
otherListSecretsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

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

Property Value
TypeDescription
System.String

Secrets

public RepeatedField<Secret> Secrets { get; }

The list of [Secrets][google.cloud.secretmanager.v1.Secret] sorted in reverse by create_time (newest first).

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<Secret>

TotalSize

public int TotalSize { get; set; }

The total number of [Secrets][google.cloud.secretmanager.v1.Secret].

Property Value
TypeDescription
System.Int32

Methods

GetEnumerator()

public IEnumerator<Secret> GetEnumerator()

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

Returns
TypeDescription
System.Collections.Generic.IEnumerator<Secret>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
System.Collections.IEnumerator