Class AlertsResource.ListRequest
Lists the alerts.
Inheritance
Inherited Members
Namespace: Google.Apis.AlertCenter.v1beta1
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class AlertsResource.ListRequest : AlertCenterBaseServiceRequest<ListAlertsResponse>, IClientServiceRequest<ListAlertsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
CustomerId
Optional. The unique identifier of the Google Workspace account of the customer the alerts are
associated with. The customer_id
must have the initial "C" stripped (for example, 046psxkn
).
Inferred from the caller identity if not provided. Find your customer
ID.
Declaration
[RequestParameter("customerId", RequestParameterType.Query)]
public virtual string CustomerId { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
Optional. A query string for filtering alert results. For more details, see Query filters and Supported query filter fields.
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrderBy
Optional. The sort order of the list results. If not specified results may be returned in arbitrary
order. You can sort the results in descending order based on the creation timestamp using
order_by="create_time desc"
. Currently, supported sorting are create_time asc
, create_time desc
,
update_time desc
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration, pass in the value from the previous ListAlertsResponse's next_page_token field.
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()