public sealed class ListAlertPoliciesResponse : IPageResponse<AlertPolicy>, IEnumerable<AlertPolicy>, IEnumerable, IMessage<ListAlertPoliciesResponse>, IEquatable<ListAlertPoliciesResponse>, IDeepCloneable<ListAlertPoliciesResponse>, IBufferMessage, IMessageThe protocol for the ListAlertPolicies response.
Implements
IPageResponse<AlertPolicy>, IEnumerable<AlertPolicy>, IEnumerable, IMessage<ListAlertPoliciesResponse>, IEquatable<ListAlertPoliciesResponse>, IDeepCloneable<ListAlertPoliciesResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ListAlertPoliciesResponse()
public ListAlertPoliciesResponse()ListAlertPoliciesResponse(ListAlertPoliciesResponse)
public ListAlertPoliciesResponse(ListAlertPoliciesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAlertPoliciesResponse |
Properties
AlertPolicies
public RepeatedField<AlertPolicy> AlertPolicies { get; }The returned alert policies.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<AlertPolicy> |
|
NextPageToken
public string NextPageToken { get; set; }If there might be more results than were returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token in the next call to this method.
| Property Value | |
|---|---|
| Type | Description |
String |
|
TotalSize
public int TotalSize { get; set; }The total number of alert policies in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
Methods
GetEnumerator()
public IEnumerator<AlertPolicy> GetEnumerator()Returns an enumerator that iterates through the resources in this response.
| Returns | |
|---|---|
| Type | Description |
IEnumerator<AlertPolicy> |
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()| Returns | |
|---|---|
| Type | Description |
IEnumerator |
|