Secret Manager v1beta2 API - Class ListSecretsResponse (1.0.0-beta02)

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

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

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

Inheritance

object > ListSecretsResponse

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

Google.Cloud.SecretManager.V1Beta2.dll

Constructors

ListSecretsResponse()

public ListSecretsResponse()

ListSecretsResponse(ListSecretsResponse)

public ListSecretsResponse(ListSecretsResponse other)
Parameter
Name Description
other ListSecretsResponse

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.v1beta2.ListSecretsRequest.page_token] to retrieve the next page.

Property Value
Type Description
string

Secrets

public RepeatedField<Secret> Secrets { get; }

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

Property Value
Type Description
RepeatedFieldSecret

TotalSize

public int TotalSize { get; set; }

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

Property Value
Type Description
int

Methods

GetEnumerator()

public IEnumerator<Secret> GetEnumerator()

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

Returns
Type Description
IEnumeratorSecret