Class ListAlertPoliciesRequest (2.4.0)

public sealed class ListAlertPoliciesRequest : IPageRequest, IMessage<ListAlertPoliciesRequest>, IEquatable<ListAlertPoliciesRequest>, IDeepCloneable<ListAlertPoliciesRequest>, IBufferMessage, IMessage

The protocol for the ListAlertPolicies request.

Inheritance

Object > ListAlertPoliciesRequest

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

ListAlertPoliciesRequest()

public ListAlertPoliciesRequest()

ListAlertPoliciesRequest(ListAlertPoliciesRequest)

public ListAlertPoliciesRequest(ListAlertPoliciesRequest other)
Parameter
NameDescription
otherListAlertPoliciesRequest

Properties

Filter

public string Filter { get; set; }

If provided, this field specifies the criteria that must be met by alert policies to be included in the response.

For more details, see sorting and filtering.

Property Value
TypeDescription
String

FolderName

public FolderName FolderName { get; set; }

FolderName-typed view over the Name resource name property.

Property Value
TypeDescription
FolderName

Name

public string Name { get; set; }

Required. The project whose alert policies are to be listed. The format is:

projects/[PROJECT_ID_OR_NUMBER]

Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] operation, instead.

Property Value
TypeDescription
String

OrderBy

public string OrderBy { get; set; }

A comma-separated list of fields by which to sort the result. Supports the same set of field references as the filter field. Entries can be prefixed with a minus sign to sort by the field in descending order.

For more details, see sorting and filtering.

Property Value
TypeDescription
String

OrganizationName

public OrganizationName OrganizationName { get; set; }

OrganizationName-typed view over the Name resource name property.

Property Value
TypeDescription
OrganizationName

PageSize

public int PageSize { get; set; }

The maximum number of results to return in a single response.

Property Value
TypeDescription
Int32

PageToken

public string PageToken { get; set; }

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return more results from the previous method call.

Property Value
TypeDescription
String

ProjectName

public ProjectName ProjectName { get; set; }

ProjectName-typed view over the Name resource name property.

Property Value
TypeDescription
ProjectName

ResourceName

public IResourceName ResourceName { get; set; }

IResourceName-typed view over the Name resource name property.

Property Value
TypeDescription
IResourceName