ProjectsLocationsInstancesResource class Null safety


ProjectsLocationsInstancesResource(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(Instance request, String parent, {String? $fields}) Future<Operation>
Create an Instance.
detachLun(DetachLunRequest request, String instance, {String? $fields}) Future<Operation>
Detach LUN from Instance.
get(String name, {String? $fields}) Future<Instance>
Get details about a single server.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListInstancesResponse>
List servers in a given project and location.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
patch(Instance request, String name, {String? updateMask, String? $fields}) Future<Operation>
Update details of a single server.
reset(ResetInstanceRequest request, String name, {String? $fields}) Future<Operation>
Perform an ungraceful, hard reset on a server.
start(StartInstanceRequest request, String name, {String? $fields}) Future<Operation>
Starts a server that was shutdown.
stop(StopInstanceRequest request, String name, {String? $fields}) Future<Operation>
Stop a running server.
toString() String
A string representation of this object.


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