ProjectsLocationsInstancesResource class

Constructors

ProjectsLocationsInstancesResource(ApiRequester client)

Properties

backups ProjectsLocationsInstancesBackupsResource
no setter
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(Instance request, String parent, {String? instanceId, String? $fields}) Future<Operation>
Creates a new Instance in a given project and location.
delete(String name, {bool? force, String? $fields}) Future<Operation>
Delete instance.
export(ExportInstanceRequest request, String name, {String? $fields}) Future<Operation>
Export instance.
get(String name, {String? $fields}) Future<Instance>
Gets details of a single Instance.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
import(ImportInstanceRequest request, String name, {String? $fields}) Future<Operation>
Import instance.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListInstancesResponse>
Lists Instances in a given project and location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Instance request, String name, {String? updateMask, String? $fields}) Future<Operation>
Update Instance.
restart(RestartInstanceRequest request, String name, {String? $fields}) Future<Operation>
Restart instance.
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

Operators

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