ProjectsAlertPoliciesResourceApi class


ProjectsAlertPoliciesResourceApi(ApiRequester client)


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


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, {int pageSize, String filter, String pageToken, String orderBy, String $fields}) Future<ListAlertPoliciesResponse>
Lists the existing alerting policies for the workspace. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
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. [...]
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]