public sealed class ListAlertPoliciesRequest : IPageRequest, IMessage<ListAlertPoliciesRequest>, IEquatable<ListAlertPoliciesRequest>, IDeepCloneable<ListAlertPoliciesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class ListAlertPoliciesRequest.
The protocol for the ListAlertPolicies
request.
Implements
IPageRequest, IMessageListAlertPoliciesRequest, IEquatableListAlertPoliciesRequest, IDeepCloneableListAlertPoliciesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ListAlertPoliciesRequest()
public ListAlertPoliciesRequest()
ListAlertPoliciesRequest(ListAlertPoliciesRequest)
public ListAlertPoliciesRequest(ListAlertPoliciesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListAlertPoliciesRequest |
Properties
Filter
public string Filter { get; set; }
Optional. 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 | |
---|---|
Type | Description |
string |
FolderName
public FolderName FolderName { get; set; }
FolderName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
OrderBy
public string OrderBy { get; set; }
Optional. 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 | |
---|---|
Type | Description |
string |
OrganizationName
public OrganizationName OrganizationName { get; set; }
OrganizationName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |
PageSize
public int PageSize { get; set; }
Optional. The maximum number of results to return in a single response.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
Optional. 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 | |
---|---|
Type | Description |
string |
ProjectName
public ProjectName ProjectName { get; set; }
ProjectName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ResourceName
public IResourceName ResourceName { get; set; }
IResourceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |