public sealed class ListAlertPoliciesResponse : IPageResponse<AlertPolicy>, IEnumerable<AlertPolicy>, IEnumerable, IMessage<ListAlertPoliciesResponse>, IEquatable<ListAlertPoliciesResponse>, IDeepCloneable<ListAlertPoliciesResponse>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Monitoring v3 API class ListAlertPoliciesResponse.
The protocol for the ListAlertPolicies response.
Implements
IPageResponseAlertPolicy, IEnumerableAlertPolicy, IEnumerable, IMessageListAlertPoliciesResponse, IEquatableListAlertPoliciesResponse, IDeepCloneableListAlertPoliciesResponse, 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 |
RepeatedFieldAlertPolicy |
|
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 |
int |
|
Methods
GetEnumerator()
public IEnumerator<AlertPolicy> GetEnumerator()Returns an enumerator that iterates through the resources in this response.
| Returns | |
|---|---|
| Type | Description |
IEnumeratorAlertPolicy |
|