Show / Hide Table of Contents

Class ProjectsResource.AlertPoliciesResource.ListRequest

Lists the existing alerting policies for the workspace.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListAlertPoliciesResponse>
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>
ProjectsResource.AlertPoliciesResource.ListRequest
Implements
IClientServiceRequest<ListAlertPoliciesResponse>
IClientServiceRequest
Inherited Members
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.Xgafv
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.AccessToken
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.Alt
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.Callback
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.Fields
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.Key
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.OauthToken
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.PrettyPrint
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.QuotaUser
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.UploadType
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.UploadProtocol
ClientServiceRequest<ListAlertPoliciesResponse>.Execute()
ClientServiceRequest<ListAlertPoliciesResponse>.ExecuteAsStream()
ClientServiceRequest<ListAlertPoliciesResponse>.ExecuteAsync()
ClientServiceRequest<ListAlertPoliciesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListAlertPoliciesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListAlertPoliciesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListAlertPoliciesResponse>.CreateRequest(bool?)
ClientServiceRequest<ListAlertPoliciesResponse>.GenerateRequestUri()
ClientServiceRequest<ListAlertPoliciesResponse>.GetBody()
ClientServiceRequest<ListAlertPoliciesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListAlertPoliciesResponse>.ETagAction
ClientServiceRequest<ListAlertPoliciesResponse>.ModifyRequest
ClientServiceRequest<ListAlertPoliciesResponse>.ValidateParameters
ClientServiceRequest<ListAlertPoliciesResponse>.ApiVersion
ClientServiceRequest<ListAlertPoliciesResponse>.RequestParameters
ClientServiceRequest<ListAlertPoliciesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.AlertPoliciesResource.ListRequest : MonitoringBaseServiceRequest<ListAlertPoliciesResponse>, IClientServiceRequest<ListAlertPoliciesResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

Filter

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 (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).

Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListAlertPoliciesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListAlertPoliciesResponse>.MethodName

Name

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 operation, instead.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

OrderBy

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 (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).

Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type Description
string

PageSize

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

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

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.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListAlertPoliciesResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
MonitoringBaseServiceRequest<ListAlertPoliciesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX