ProjectsAlertPoliciesResourceApi class

Constructors

ProjectsAlertPoliciesResourceApi(ApiRequester client)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(AlertPolicy request, String name, { String $fields }) → Future<AlertPolicy>
Creates a new alerting policy. [...]
delete(String name, { String $fields }) → Future<Empty>
Deletes an alerting policy. [...]
get(String name, { String $fields }) → Future<AlertPolicy>
Gets a single alerting policy. [...]
list(String name, { String orderBy String pageToken int pageSize, String filter String $fields }) → Future<ListAlertPoliciesResponse>
Lists the existing alerting policies for the project. [...]
patch(AlertPolicy request, String name, { String updateMask String $fields }) → Future<AlertPolicy>
Updates an alerting policy. You can either replace the entire policy with a new one or replace only certain fields in the current alerting policy by specifying the fields to be updated via updateMask. Returns the updated alerting policy. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited