ProjectsInstancesResourceApi class


ProjectsInstancesResourceApi(ApiRequester client)


backupOperations ProjectsInstancesBackupOperationsResourceApi
backups ProjectsInstancesBackupsResourceApi
databaseOperations ProjectsInstancesDatabaseOperationsResourceApi
databases ProjectsInstancesDatabasesResourceApi
hashCode int
The hash code for this object. [...]
read-only, inherited
operations ProjectsInstancesOperationsResourceApi
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


create(CreateInstanceRequest request, String parent, {String $fields}) Future<Operation>
Creates an instance and begins preparing it to begin serving. The returned long-running operation can be used to track the progress of preparing the new instance. The instance name is assigned by the caller. If the named instance already exists, CreateInstance returns ALREADY_EXISTS. [...]
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. Returns an empty policy if an instance exists but does not have a policy set. [...]
list(String parent, {String filter, String pageToken, int pageSize, String $fields}) Future<ListInstancesResponse>
Lists all instances in the given project. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
patch(UpdateInstanceRequest request, String name, {String $fields}) Future<Operation>
Updates an instance, and begins allocating or releasing resources as requested. The returned long-running operation can be used to track the progress of updating the instance. If the named instance does not exist, returns NOT_FOUND. [...]
setIamPolicy(SetIamPolicyRequest request, String resource, {String $fields}) Future<Policy>
Sets the access control policy on an instance resource. Replaces any existing policy. [...]
testIamPermissions(TestIamPermissionsRequest request, String resource, {String $fields}) Future<TestIamPermissionsResponse>
Returns permissions that the caller has on the specified instance resource. [...]
toString() String
Returns a string representation of this object.


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