Google Cloud Monitoring v3 API - Class ListAlertPoliciesResponse (3.7.0)

public sealed class ListAlertPoliciesResponse : IPageResponse<AlertPolicy>, IEnumerable<AlertPolicy>, IEnumerable, IMessage<ListAlertPoliciesResponse>, IEquatable<ListAlertPoliciesResponse>, IDeepCloneable<ListAlertPoliciesResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Monitoring v3 API class ListAlertPoliciesResponse.

The protocol for the ListAlertPolicies response.

Inheritance

object > ListAlertPoliciesResponse

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

ListAlertPoliciesResponse()

public ListAlertPoliciesResponse()

ListAlertPoliciesResponse(ListAlertPoliciesResponse)

public ListAlertPoliciesResponse(ListAlertPoliciesResponse other)
Parameter
NameDescription
otherListAlertPoliciesResponse

Properties

AlertPolicies

public RepeatedField<AlertPolicy> AlertPolicies { get; }

The returned alert policies.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
int

Methods

GetEnumerator()

public IEnumerator<AlertPolicy> GetEnumerator()

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

Returns
TypeDescription
IEnumeratorAlertPolicy