Show / Hide Table of Contents

Class ProjectsResource.AlertsResource.ListRequest

Lists the existing alerts for the metrics scope of the project.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListAlertsResponse>
MonitoringBaseServiceRequest<ListAlertsResponse>
ProjectsResource.AlertsResource.ListRequest
Implements
IClientServiceRequest<ListAlertsResponse>
IClientServiceRequest
Inherited Members
MonitoringBaseServiceRequest<ListAlertsResponse>.Xgafv
MonitoringBaseServiceRequest<ListAlertsResponse>.AccessToken
MonitoringBaseServiceRequest<ListAlertsResponse>.Alt
MonitoringBaseServiceRequest<ListAlertsResponse>.Callback
MonitoringBaseServiceRequest<ListAlertsResponse>.Fields
MonitoringBaseServiceRequest<ListAlertsResponse>.Key
MonitoringBaseServiceRequest<ListAlertsResponse>.OauthToken
MonitoringBaseServiceRequest<ListAlertsResponse>.PrettyPrint
MonitoringBaseServiceRequest<ListAlertsResponse>.QuotaUser
MonitoringBaseServiceRequest<ListAlertsResponse>.UploadType
MonitoringBaseServiceRequest<ListAlertsResponse>.UploadProtocol
ClientServiceRequest<ListAlertsResponse>.Execute()
ClientServiceRequest<ListAlertsResponse>.ExecuteAsStream()
ClientServiceRequest<ListAlertsResponse>.ExecuteAsync()
ClientServiceRequest<ListAlertsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListAlertsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListAlertsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListAlertsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListAlertsResponse>.GenerateRequestUri()
ClientServiceRequest<ListAlertsResponse>.GetBody()
ClientServiceRequest<ListAlertsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListAlertsResponse>.ETagAction
ClientServiceRequest<ListAlertsResponse>.ModifyRequest
ClientServiceRequest<ListAlertsResponse>.ValidateParameters
ClientServiceRequest<ListAlertsResponse>.ApiVersion
ClientServiceRequest<ListAlertsResponse>.RequestParameters
ClientServiceRequest<ListAlertsResponse>.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.AlertsResource.ListRequest : MonitoringBaseServiceRequest<ListAlertsResponse>, IClientServiceRequest<ListAlertsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

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

Properties

Filter

Optional. An alert is returned if there is a match on any fields belonging to the alert or its subfields.

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<ListAlertsResponse>.HttpMethod

MethodName

Gets the method name.

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

OrderBy

Optional. A comma-separated list of fields in Alert to use for sorting. The default sort direction is ascending. To specify descending order for a field, add a desc modifier. The following fields are supported: open_time close_timeFor example, close_time desc, open_time will return the alerts closed most recently, with ties broken in the order of older alerts listed first.If the field is not set, the results are sorted by open_time desc.

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. If not set to a positive number, at most 50 alerts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

PageToken

Optional. If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results.

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

Parent

Required. The name of the project to list alerts for.

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

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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