public sealed class ListSecretsResponse : IPageResponse<Secret>, IEnumerable<Secret>, IEnumerable, IMessage<ListSecretsResponse>, IEquatable<ListSecretsResponse>, IDeepCloneable<ListSecretsResponse>, IBufferMessage, IMessage
Response message for [SecretManagerService.ListSecrets][google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets].
Implements
IPageResponse<Secret>, IEnumerable<Secret>, IEnumerable, IMessage<ListSecretsResponse>, IEquatable<ListSecretsResponse>, IDeepCloneable<ListSecretsResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.SecretManager.V1Beta1Assembly
Google.Cloud.SecretManager.V1Beta1.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.secrets.v1beta1.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.secrets.v1beta1.Secret] sorted in reverse by create_time (newest first).
Property Value | |
---|---|
Type | Description |
RepeatedField<Secret> |
TotalSize
public int TotalSize { get; set; }
The total number of [Secrets][google.cloud.secrets.v1beta1.Secret].
Property Value | |
---|---|
Type | Description |
Int32 |
Methods
GetEnumerator()
public IEnumerator<Secret> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumerator<Secret> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns | |
---|---|
Type | Description |
IEnumerator |