# Vertex AI Notebooks v2 API - Class NotebookServiceClientImpl (1.3.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClientImpl)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.2.0/Google.Cloud.Notebooks.V2.NotebookServiceClientImpl)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.1.0/Google.Cloud.Notebooks.V2.NotebookServiceClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.0.0/Google.Cloud.Notebooks.V2.NotebookServiceClientImpl)

    public sealed class NotebookServiceClientImpl : NotebookServiceClient

Reference documentation and code samples for the Vertex AI Notebooks v2 API class NotebookServiceClientImpl.

NotebookService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [NotebookServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient) \> NotebookServiceClientImpl

## Inherited Members

[NotebookServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DefaultEndpoint) [NotebookServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DefaultScopes) [NotebookServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ServiceMetadata) [NotebookServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateAsync_System_Threading_CancellationToken_) [NotebookServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_Create) [NotebookServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ShutdownDefaultChannelsAsync) [NotebookServiceClient.ListInstances(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ListInstances_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.ListInstancesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ListInstancesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.ListInstances(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ListInstances_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.ListInstancesAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ListInstancesAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.GetInstanceAsync(GetInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstanceAsync_Google_Cloud_Notebooks_V2_GetInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.GetInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.GetInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.GetInstanceAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstanceAsync_System_String_System_Threading_CancellationToken_) [NotebookServiceClient.GetInstance(InstanceName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstance_Google_Cloud_Notebooks_V2_InstanceName_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.GetInstanceAsync(InstanceName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstanceAsync_Google_Cloud_Notebooks_V2_InstanceName_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.GetInstanceAsync(InstanceName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstanceAsync_Google_Cloud_Notebooks_V2_InstanceName_System_Threading_CancellationToken_) [NotebookServiceClient.CreateInstanceAsync(CreateInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceAsync_Google_Cloud_Notebooks_V2_CreateInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceCreateInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceCreateInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceCreateInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceCreateInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.CreateInstance(string, Instance, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstance_System_String_Google_Cloud_Notebooks_V2_Instance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.CreateInstanceAsync(string, Instance, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceAsync_System_String_Google_Cloud_Notebooks_V2_Instance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.CreateInstanceAsync(string, Instance, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceAsync_System_String_Google_Cloud_Notebooks_V2_Instance_System_String_System_Threading_CancellationToken_) [NotebookServiceClient.CreateInstance(LocationName, Instance, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstance_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Notebooks_V2_Instance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.CreateInstanceAsync(LocationName, Instance, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Notebooks_V2_Instance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.CreateInstanceAsync(LocationName, Instance, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Notebooks_V2_Instance_System_String_System_Threading_CancellationToken_) [NotebookServiceClient.UpdateInstanceAsync(UpdateInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstanceAsync_Google_Cloud_Notebooks_V2_UpdateInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceUpdateInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceUpdateInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceUpdateInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceUpdateInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.UpdateInstance(Instance, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstance_Google_Cloud_Notebooks_V2_Instance_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.UpdateInstanceAsync(Instance, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstanceAsync_Google_Cloud_Notebooks_V2_Instance_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.UpdateInstanceAsync(Instance, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstanceAsync_Google_Cloud_Notebooks_V2_Instance_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [NotebookServiceClient.DeleteInstanceAsync(DeleteInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceAsync_Google_Cloud_Notebooks_V2_DeleteInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceDeleteInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceDeleteInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceDeleteInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceDeleteInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DeleteInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DeleteInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DeleteInstanceAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceAsync_System_String_System_Threading_CancellationToken_) [NotebookServiceClient.DeleteInstance(InstanceName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstance_Google_Cloud_Notebooks_V2_InstanceName_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DeleteInstanceAsync(InstanceName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceAsync_Google_Cloud_Notebooks_V2_InstanceName_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DeleteInstanceAsync(InstanceName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceAsync_Google_Cloud_Notebooks_V2_InstanceName_System_Threading_CancellationToken_) [NotebookServiceClient.StartInstanceAsync(StartInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StartInstanceAsync_Google_Cloud_Notebooks_V2_StartInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceStartInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceStartInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceStartInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceStartInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.StopInstanceAsync(StopInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StopInstanceAsync_Google_Cloud_Notebooks_V2_StopInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceStopInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceStopInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceStopInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceStopInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.ResetInstanceAsync(ResetInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ResetInstanceAsync_Google_Cloud_Notebooks_V2_ResetInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceResetInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceResetInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceResetInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceResetInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.CheckInstanceUpgradabilityAsync(CheckInstanceUpgradabilityRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CheckInstanceUpgradabilityAsync_Google_Cloud_Notebooks_V2_CheckInstanceUpgradabilityRequest_System_Threading_CancellationToken_) [NotebookServiceClient.UpgradeInstanceAsync(UpgradeInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpgradeInstanceAsync_Google_Cloud_Notebooks_V2_UpgradeInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceUpgradeInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceUpgradeInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceUpgradeInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceUpgradeInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.RollbackInstanceAsync(RollbackInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_RollbackInstanceAsync_Google_Cloud_Notebooks_V2_RollbackInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceRollbackInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceRollbackInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceRollbackInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceRollbackInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DiagnoseInstanceAsync(DiagnoseInstanceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceAsync_Google_Cloud_Notebooks_V2_DiagnoseInstanceRequest_System_Threading_CancellationToken_) [NotebookServiceClient.PollOnceDiagnoseInstance(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceDiagnoseInstance_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.PollOnceDiagnoseInstanceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_PollOnceDiagnoseInstanceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DiagnoseInstance(string, DiagnosticConfig, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstance_System_String_Google_Cloud_Notebooks_V2_DiagnosticConfig_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DiagnoseInstanceAsync(string, DiagnosticConfig, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceAsync_System_String_Google_Cloud_Notebooks_V2_DiagnosticConfig_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DiagnoseInstanceAsync(string, DiagnosticConfig, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceAsync_System_String_Google_Cloud_Notebooks_V2_DiagnosticConfig_System_Threading_CancellationToken_) [NotebookServiceClient.DiagnoseInstance(InstanceName, DiagnosticConfig, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstance_Google_Cloud_Notebooks_V2_InstanceName_Google_Cloud_Notebooks_V2_DiagnosticConfig_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DiagnoseInstanceAsync(InstanceName, DiagnosticConfig, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceAsync_Google_Cloud_Notebooks_V2_InstanceName_Google_Cloud_Notebooks_V2_DiagnosticConfig_Google_Api_Gax_Grpc_CallSettings_) [NotebookServiceClient.DiagnoseInstanceAsync(InstanceName, DiagnosticConfig, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceAsync_Google_Cloud_Notebooks_V2_InstanceName_Google_Cloud_Notebooks_V2_DiagnosticConfig_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Notebooks.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2)

## Assembly

Google.Cloud.Notebooks.V2.dll

## Remarks

API v2 service for Workbench Notebooks Instances.

## Constructors

### NotebookServiceClientImpl(NotebookServiceClient, NotebookServiceSettings, ILogger)

    public NotebookServiceClientImpl(NotebookService.NotebookServiceClient grpcClient, NotebookServiceSettings settings, ILogger logger)

Constructs a client wrapper for the NotebookService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookService.NotebookServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceSettings` The base [NotebookServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### CreateInstanceOperationsClient

    public override OperationsClient CreateInstanceOperationsClient { get; }

The long-running operations client for `CreateInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.CreateInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceOperationsClient)

### DeleteInstanceOperationsClient

    public override OperationsClient DeleteInstanceOperationsClient { get; }

The long-running operations client for `DeleteInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.DeleteInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceOperationsClient)

### DiagnoseInstanceOperationsClient

    public override OperationsClient DiagnoseInstanceOperationsClient { get; }

The long-running operations client for `DiagnoseInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.DiagnoseInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceOperationsClient)

### GrpcClient

    public override NotebookService.NotebookServiceClient GrpcClient { get; }

The underlying gRPC NotebookService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookService.NotebookServiceClient` |   |

**Overrides** [NotebookServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html` |   |

**Overrides** [NotebookServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_IAMPolicyClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [NotebookServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_LocationsClient)

### ResetInstanceOperationsClient

    public override OperationsClient ResetInstanceOperationsClient { get; }

The long-running operations client for `ResetInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.ResetInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ResetInstanceOperationsClient)

### RollbackInstanceOperationsClient

    public override OperationsClient RollbackInstanceOperationsClient { get; }

The long-running operations client for `RollbackInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.RollbackInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_RollbackInstanceOperationsClient)

### StartInstanceOperationsClient

    public override OperationsClient StartInstanceOperationsClient { get; }

The long-running operations client for `StartInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.StartInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StartInstanceOperationsClient)

### StopInstanceOperationsClient

    public override OperationsClient StopInstanceOperationsClient { get; }

The long-running operations client for `StopInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.StopInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StopInstanceOperationsClient)

### UpdateInstanceOperationsClient

    public override OperationsClient UpdateInstanceOperationsClient { get; }

The long-running operations client for `UpdateInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.UpdateInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstanceOperationsClient)

### UpgradeInstanceOperationsClient

    public override OperationsClient UpgradeInstanceOperationsClient { get; }

The long-running operations client for `UpgradeInstance`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [NotebookServiceClient.UpgradeInstanceOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpgradeInstanceOperationsClient)

## Methods

### CheckInstanceUpgradability(CheckInstanceUpgradabilityRequest, CallSettings)

    public override CheckInstanceUpgradabilityResponse CheckInstanceUpgradability(CheckInstanceUpgradabilityRequest request, CallSettings callSettings = null)

Checks whether a notebook instance is upgradable.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.CheckInstanceUpgradabilityRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.CheckInstanceUpgradabilityResponse` | The RPC response. |

**Overrides** [NotebookServiceClient.CheckInstanceUpgradability(CheckInstanceUpgradabilityRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CheckInstanceUpgradability_Google_Cloud_Notebooks_V2_CheckInstanceUpgradabilityRequest_Google_Api_Gax_Grpc_CallSettings_)

### CheckInstanceUpgradabilityAsync(CheckInstanceUpgradabilityRequest, CallSettings)

    public override Task<CheckInstanceUpgradabilityResponse> CheckInstanceUpgradabilityAsync(CheckInstanceUpgradabilityRequest request, CallSettings callSettings = null)

Checks whether a notebook instance is upgradable.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.CheckInstanceUpgradabilityRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.CheckInstanceUpgradabilityResponse` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.CheckInstanceUpgradabilityAsync(CheckInstanceUpgradabilityRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CheckInstanceUpgradabilityAsync_Google_Cloud_Notebooks_V2_CheckInstanceUpgradabilityRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateInstance(CreateInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> CreateInstance(CreateInstanceRequest request, CallSettings callSettings = null)

Creates a new Instance in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.CreateInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.CreateInstance(CreateInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstance_Google_Cloud_Notebooks_V2_CreateInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateInstanceAsync(CreateInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> CreateInstanceAsync(CreateInstanceRequest request, CallSettings callSettings = null)

Creates a new Instance in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.CreateInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.CreateInstanceAsync(CreateInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_CreateInstanceAsync_Google_Cloud_Notebooks_V2_CreateInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteInstance(DeleteInstanceRequest, CallSettings)

    public override Operation<Empty, OperationMetadata> DeleteInstance(DeleteInstanceRequest request, CallSettings callSettings = null)

Deletes a single Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.DeleteInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.DeleteInstance(DeleteInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstance_Google_Cloud_Notebooks_V2_DeleteInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteInstanceAsync(DeleteInstanceRequest, CallSettings)

    public override Task<Operation<Empty, OperationMetadata>> DeleteInstanceAsync(DeleteInstanceRequest request, CallSettings callSettings = null)

Deletes a single Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.DeleteInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.DeleteInstanceAsync(DeleteInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DeleteInstanceAsync_Google_Cloud_Notebooks_V2_DeleteInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### DiagnoseInstance(DiagnoseInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> DiagnoseInstance(DiagnoseInstanceRequest request, CallSettings callSettings = null)

Creates a Diagnostic File and runs Diagnostic Tool given an Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.DiagnoseInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.DiagnoseInstance(DiagnoseInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstance_Google_Cloud_Notebooks_V2_DiagnoseInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### DiagnoseInstanceAsync(DiagnoseInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> DiagnoseInstanceAsync(DiagnoseInstanceRequest request, CallSettings callSettings = null)

Creates a Diagnostic File and runs Diagnostic Tool given an Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.DiagnoseInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.DiagnoseInstanceAsync(DiagnoseInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_DiagnoseInstanceAsync_Google_Cloud_Notebooks_V2_DiagnoseInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetInstance(GetInstanceRequest, CallSettings)

    public override Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)

Gets details of a single Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.GetInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instance` | The RPC response. |

**Overrides** [NotebookServiceClient.GetInstance(GetInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstance_Google_Cloud_Notebooks_V2_GetInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetInstanceAsync(GetInstanceRequest, CallSettings)

    public override Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)

Gets details of a single Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.GetInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instance` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.GetInstanceAsync(GetInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_GetInstanceAsync_Google_Cloud_Notebooks_V2_GetInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListInstances(ListInstancesRequest, CallSettings)

    public override PagedEnumerable<ListInstancesResponse, Instance> ListInstances(ListInstancesRequest request, CallSettings callSettings = null)

Lists instances in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ListInstancesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ListInstancesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instance` | A pageable sequence of [Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instance) resources. |

**Overrides** [NotebookServiceClient.ListInstances(ListInstancesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ListInstances_Google_Cloud_Notebooks_V2_ListInstancesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListInstancesAsync(ListInstancesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListInstancesResponse, Instance> ListInstancesAsync(ListInstancesRequest request, CallSettings callSettings = null)

Lists instances in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ListInstancesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ListInstancesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instance` | A pageable asynchronous sequence of [Instance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instance) resources. |

**Overrides** [NotebookServiceClient.ListInstancesAsync(ListInstancesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ListInstancesAsync_Google_Cloud_Notebooks_V2_ListInstancesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ResetInstance(ResetInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> ResetInstance(ResetInstanceRequest request, CallSettings callSettings = null)

Resets a notebook instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ResetInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.ResetInstance(ResetInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ResetInstance_Google_Cloud_Notebooks_V2_ResetInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### ResetInstanceAsync(ResetInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> ResetInstanceAsync(ResetInstanceRequest request, CallSettings callSettings = null)

Resets a notebook instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.ResetInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.ResetInstanceAsync(ResetInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_ResetInstanceAsync_Google_Cloud_Notebooks_V2_ResetInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### RollbackInstance(RollbackInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> RollbackInstance(RollbackInstanceRequest request, CallSettings callSettings = null)

Rollbacks a notebook instance to the previous version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.RollbackInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.RollbackInstance(RollbackInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_RollbackInstance_Google_Cloud_Notebooks_V2_RollbackInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### RollbackInstanceAsync(RollbackInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> RollbackInstanceAsync(RollbackInstanceRequest request, CallSettings callSettings = null)

Rollbacks a notebook instance to the previous version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.RollbackInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.RollbackInstanceAsync(RollbackInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_RollbackInstanceAsync_Google_Cloud_Notebooks_V2_RollbackInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### StartInstance(StartInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> StartInstance(StartInstanceRequest request, CallSettings callSettings = null)

Starts a notebook instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StartInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.StartInstance(StartInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StartInstance_Google_Cloud_Notebooks_V2_StartInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### StartInstanceAsync(StartInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> StartInstanceAsync(StartInstanceRequest request, CallSettings callSettings = null)

Starts a notebook instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StartInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.StartInstanceAsync(StartInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StartInstanceAsync_Google_Cloud_Notebooks_V2_StartInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### StopInstance(StopInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> StopInstance(StopInstanceRequest request, CallSettings callSettings = null)

Stops a notebook instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StopInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.StopInstance(StopInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StopInstance_Google_Cloud_Notebooks_V2_StopInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### StopInstanceAsync(StopInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> StopInstanceAsync(StopInstanceRequest request, CallSettings callSettings = null)

Stops a notebook instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StopInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.StopInstanceAsync(StopInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_StopInstanceAsync_Google_Cloud_Notebooks_V2_StopInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateInstance(UpdateInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> UpdateInstance(UpdateInstanceRequest request, CallSettings callSettings = null)

UpdateInstance updates an Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpdateInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.UpdateInstance(UpdateInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstance_Google_Cloud_Notebooks_V2_UpdateInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateInstanceAsync(UpdateInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> UpdateInstanceAsync(UpdateInstanceRequest request, CallSettings callSettings = null)

UpdateInstance updates an Instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpdateInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.UpdateInstanceAsync(UpdateInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpdateInstanceAsync_Google_Cloud_Notebooks_V2_UpdateInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpgradeInstance(UpgradeInstanceRequest, CallSettings)

    public override Operation<Instance, OperationMetadata> UpgradeInstance(UpgradeInstanceRequest request, CallSettings callSettings = null)

Upgrades a notebook instance to the latest version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | The RPC response. |

**Overrides** [NotebookServiceClient.UpgradeInstance(UpgradeInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpgradeInstance_Google_Cloud_Notebooks_V2_UpgradeInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpgradeInstanceAsync(UpgradeInstanceRequest, CallSettings)

    public override Task<Operation<Instance, OperationMetadata>> UpgradeInstanceAsync(UpgradeInstanceRequest request, CallSettings callSettings = null)

Upgrades a notebook instance to the latest version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.Instancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.OperationMetadata` | A Task containing the RPC response. |

**Overrides** [NotebookServiceClient.UpgradeInstanceAsync(UpgradeInstanceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.NotebookServiceClient#Google_Cloud_Notebooks_V2_NotebookServiceClient_UpgradeInstanceAsync_Google_Cloud_Notebooks_V2_UpgradeInstanceRequest_Google_Api_Gax_Grpc_CallSettings_)