ProjectsLocationsInstancesResource class

Constructors

ProjectsLocationsInstancesResource(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

checkUpgradability(String notebookInstance, {String? $fields}) Future<CheckInstanceUpgradabilityResponse>
Checks whether a notebook instance is upgradable.
create(Instance request, String parent, {String? instanceId, String? requestId, String? $fields}) Future<Operation>
Creates a new Instance in a given project and location.
delete(String name, {String? requestId, String? $fields}) Future<Operation>
Deletes a single Instance.
diagnose(DiagnoseInstanceRequest request, String name, {String? $fields}) Future<Operation>
Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
get(String name, {String? $fields}) Future<Instance>
Gets details of a single Instance.
getConfig(String name, {String? $fields}) Future<Config>
Gets general backend configurations that might also affect the frontend.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String parent, {String? filter, String? orderBy, 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? requestId, String? updateMask, String? $fields}) Future<Operation>
UpdateInstance updates an Instance.
reportInfoSystem(ReportInstanceInfoSystemRequest request, String name, {String? $fields}) Future<Operation>
Allows notebook instances to report their latest instance information to the Notebooks API server.
reset(ResetInstanceRequest request, String name, {String? $fields}) Future<Operation>
Resets a notebook instance.
resizeDisk(ResizeDiskRequest request, String notebookInstance, {String? $fields}) Future<Operation>
Resize a notebook instance disk to a higher capacity.
rollback(RollbackInstanceRequest request, String name, {String? $fields}) Future<Operation>
Rollbacks a notebook instance to the previous version.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
start(StartInstanceRequest request, String name, {String? $fields}) Future<Operation>
Starts a notebook instance.
stop(StopInstanceRequest request, String name, {String? $fields}) Future<Operation>
Stops a notebook instance.
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
upgrade(UpgradeInstanceRequest request, String name, {String? $fields}) Future<Operation>
Upgrades a notebook instance to the latest version.
upgradeSystem(UpgradeInstanceSystemRequest request, String name, {String? $fields}) Future<Operation>
Allows notebook instances to upgrade themselves.

Operators

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