Show / Hide Table of Contents

Class ProjectsResource.AlertPoliciesResource.ListRequest

Lists the existing alerting policies for the workspace.

Inheritance
System.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(Nullable<Boolean>)
ClientServiceRequest<ListAlertPoliciesResponse>.GenerateRequestUri()
ClientServiceRequest<ListAlertPoliciesResponse>.GetBody()
ClientServiceRequest<ListAlertPoliciesResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListAlertPoliciesResponse>.ETagAction
ClientServiceRequest<ListAlertPoliciesResponse>.ModifyRequest
ClientServiceRequest<ListAlertPoliciesResponse>.RequestParameters
ClientServiceRequest<ListAlertPoliciesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class 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
System.String name

Properties

Filter

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
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Monitoring.v3.Data.ListAlertPoliciesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Monitoring.v3.Data.ListAlertPoliciesResponse>.MethodName

Name

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

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

OrderBy

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
System.String

PageSize

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
System.Nullable<System.Int32>

PageToken

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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Monitoring.v3.Data.ListAlertPoliciesResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Monitoring.v3.MonitoringBaseServiceRequest<Google.Apis.Monitoring.v3.Data.ListAlertPoliciesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top