ProjectsInstancesResource class

Constructors

ProjectsInstancesResource(ApiRequester client)

Methods

create(CreateInstanceRequest request, String parent, {String? $fields}) Future<Operation>
Creates an instance and begins preparing it to begin serving.
delete(String name, {String? $fields}) Future<Empty>
Deletes an instance.
get(String name, {String? fieldMask, String? $fields}) Future<Instance>
Gets information about a particular instance.
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Gets the access control policy for an instance resource.
list(String parent, {String? filter, String? instanceDeadline, int? pageSize, String? pageToken, String? $fields}) Future<ListInstancesResponse>
Lists all instances in the given project.
move(MoveInstanceRequest request, String name, {String? $fields}) Future<Operation>
Moves the instance to the target instance config.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(UpdateInstanceRequest request, String name, {String? $fields}) Future<Operation>
Updates an instance, and begins allocating or releasing resources as requested.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on an instance resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that the caller has on the specified instance resource.
toString() String
A string representation of this object.
inherited

Operators

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