ProjectsRegionsAutoscalingPoliciesResource class

Constructors

ProjectsRegionsAutoscalingPoliciesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(AutoscalingPolicy request, String parent, {String? $fields}) Future<AutoscalingPolicy>
Creates new autoscaling policy.
delete(String name, {String? $fields}) Future<Empty>
Deletes an autoscaling policy.
get(String name, {String? $fields}) Future<AutoscalingPolicy>
Retrieves autoscaling policy.
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListAutoscalingPoliciesResponse>
Lists autoscaling policies in the project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited
update(AutoscalingPolicy request, String name, {String? $fields}) Future<AutoscalingPolicy>
Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.

Operators

operator ==(Object other) bool
The equality operator.
inherited