public interface ListAlertPoliciesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getFilter()
If provided, this field specifies the criteria that must be met by
alert policies to be included in the response.
|
com.google.protobuf.ByteString |
getFilterBytes()
If provided, this field specifies the criteria that must be met by
alert policies to be included in the response.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getOrderBy()
A comma-separated list of fields by which to sort the result.
|
com.google.protobuf.ByteString |
getOrderByBytes()
A comma-separated list of fields by which to sort the result.
|
int |
getPageSize()
The maximum number of results to return in a single response.
|
String |
getPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) 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.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) 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.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getFilter()
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](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 5;com.google.protobuf.ByteString getFilterBytes()
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](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 5;String getOrderBy()
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](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 6;com.google.protobuf.ByteString getOrderByBytes()
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](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 6;int getPageSize()
The maximum number of results to return in a single response.
int32 page_size = 2;String getPageToken()
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.
string page_token = 3;com.google.protobuf.ByteString getPageTokenBytes()
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.
string page_token = 3;Copyright © 2023 Google LLC. All rights reserved.