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

create(Instance request, String parent, {String? instanceId, String? $fields}) Future<Operation>
Creates a new Instance in a given project and location.
delete(String name, {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.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
getInstanceHealth(String name, {String? $fields}) Future<GetInstanceHealthResponse>
Checks whether a notebook instance is healthy.
isUpgradeable(String notebookInstance, {String? type, String? $fields}) Future<IsInstanceUpgradeableResponse>
Checks whether a notebook instance is upgradable.
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListInstancesResponse>
Lists instances in a given project and location.
migrate(MigrateInstanceRequest request, String name, {String? $fields}) Future<Operation>
Migrates an existing User-Managed Notebook to Workbench Instances.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(RegisterInstanceRequest request, String parent, {String? $fields}) Future<Operation>
Registers an existing legacy notebook instance to the Notebooks API server.
report(ReportInstanceInfoRequest request, String name, {String? $fields}) Future<Operation>
Allows notebook instances to report their latest instance information to the Notebooks API server.
reportEvent(ReportInstanceEventRequest request, String name, {String? $fields}) Future<Operation>
Reports and processes an instance event.
reset(ResetInstanceRequest request, String name, {String? $fields}) Future<Operation>
Resets a notebook instance.
rollback(RollbackInstanceRequest request, String name, {String? $fields}) Future<Operation>
Rollbacks a notebook instance to the previous version.
setAccelerator(SetInstanceAcceleratorRequest request, String name, {String? $fields}) Future<Operation>
Updates the guest accelerators of a single Instance.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
setLabels(SetInstanceLabelsRequest request, String name, {String? $fields}) Future<Operation>
Replaces all the labels of an Instance.
setMachineType(SetInstanceMachineTypeRequest request, String name, {String? $fields}) Future<Operation>
Updates the machine type of a single Instance.
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
updateConfig(UpdateInstanceConfigRequest request, String name, {String? $fields}) Future<Operation>
Update Notebook Instance configurations.
updateMetadataItems(UpdateInstanceMetadataItemsRequest request, String name, {String? $fields}) Future<UpdateInstanceMetadataItemsResponse>
Add/update metadata items for an instance.
updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request, String name, {String? $fields}) Future<Operation>
Updates the Shielded instance configuration of a single Instance.
upgrade(UpgradeInstanceRequest request, String name, {String? $fields}) Future<Operation>
Upgrades a notebook instance to the latest version.
upgradeInternal(UpgradeInstanceInternalRequest request, String name, {String? $fields}) Future<Operation>
Allows notebook instances to call this endpoint to upgrade themselves.

Operators

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