public sealed class ManagedNotebookServiceClientImpl : ManagedNotebookServiceClient
ManagedNotebookService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Notebooks.V1Assembly
Google.Cloud.Notebooks.V1.dll
Remarks
API v1 service for Managed Notebooks.
Constructors
ManagedNotebookServiceClientImpl(ManagedNotebookService.ManagedNotebookServiceClient, ManagedNotebookServiceSettings)
public ManagedNotebookServiceClientImpl(ManagedNotebookService.ManagedNotebookServiceClient grpcClient, ManagedNotebookServiceSettings settings)
Constructs a client wrapper for the ManagedNotebookService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ManagedNotebookService.ManagedNotebookServiceClient The underlying gRPC client. |
settings | ManagedNotebookServiceSettings The base ManagedNotebookServiceSettings used within this client. |
Properties
CreateRuntimeOperationsClient
public override OperationsClient CreateRuntimeOperationsClient { get; }
The long-running operations client for CreateRuntime
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteRuntimeOperationsClient
public override OperationsClient DeleteRuntimeOperationsClient { get; }
The long-running operations client for DeleteRuntime
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override ManagedNotebookService.ManagedNotebookServiceClient GrpcClient { get; }
The underlying gRPC ManagedNotebookService client
Property Value | |
---|---|
Type | Description |
ManagedNotebookService.ManagedNotebookServiceClient |
ReportRuntimeEventOperationsClient
public override OperationsClient ReportRuntimeEventOperationsClient { get; }
The long-running operations client for ReportRuntimeEvent
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ResetRuntimeOperationsClient
public override OperationsClient ResetRuntimeOperationsClient { get; }
The long-running operations client for ResetRuntime
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
StartRuntimeOperationsClient
public override OperationsClient StartRuntimeOperationsClient { get; }
The long-running operations client for StartRuntime
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
StopRuntimeOperationsClient
public override OperationsClient StopRuntimeOperationsClient { get; }
The long-running operations client for StopRuntime
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
SwitchRuntimeOperationsClient
public override OperationsClient SwitchRuntimeOperationsClient { get; }
The long-running operations client for SwitchRuntime
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateRuntime(CreateRuntimeRequest, CallSettings)
public override Operation<Runtime, OperationMetadata> CreateRuntime(CreateRuntimeRequest request, CallSettings callSettings = null)
Creates a new Runtime in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Runtime, OperationMetadata> | The RPC response. |
CreateRuntimeAsync(CreateRuntimeRequest, CallSettings)
public override async Task<Operation<Runtime, OperationMetadata>> CreateRuntimeAsync(CreateRuntimeRequest request, CallSettings callSettings = null)
Creates a new Runtime in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Runtime, OperationMetadata>> | A Task containing the RPC response. |
DeleteRuntime(DeleteRuntimeRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteRuntime(DeleteRuntimeRequest request, CallSettings callSettings = null)
Deletes a single Runtime.
Parameters | |
---|---|
Name | Description |
request | DeleteRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteRuntimeAsync(DeleteRuntimeRequest, CallSettings)
public override async Task<Operation<Empty, OperationMetadata>> DeleteRuntimeAsync(DeleteRuntimeRequest request, CallSettings callSettings = null)
Deletes a single Runtime.
Parameters | |
---|---|
Name | Description |
request | DeleteRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
GetRuntime(GetRuntimeRequest, CallSettings)
public override Runtime GetRuntime(GetRuntimeRequest request, CallSettings callSettings = null)
Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
Parameters | |
---|---|
Name | Description |
request | GetRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Runtime | The RPC response. |
GetRuntimeAsync(GetRuntimeRequest, CallSettings)
public override Task<Runtime> GetRuntimeAsync(GetRuntimeRequest request, CallSettings callSettings = null)
Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
Parameters | |
---|---|
Name | Description |
request | GetRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Runtime> | A Task containing the RPC response. |
ListRuntimes(ListRuntimesRequest, CallSettings)
public override PagedEnumerable<ListRuntimesResponse, Runtime> ListRuntimes(ListRuntimesRequest request, CallSettings callSettings = null)
Lists Runtimes in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListRuntimesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListRuntimesResponse, Runtime> | A pageable sequence of Runtime resources. |
ListRuntimesAsync(ListRuntimesRequest, CallSettings)
public override PagedAsyncEnumerable<ListRuntimesResponse, Runtime> ListRuntimesAsync(ListRuntimesRequest request, CallSettings callSettings = null)
Lists Runtimes in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListRuntimesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListRuntimesResponse, Runtime> | A pageable asynchronous sequence of Runtime resources. |
RefreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest, CallSettings)
public override RefreshRuntimeTokenInternalResponse RefreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request, CallSettings callSettings = null)
Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.
Parameters | |
---|---|
Name | Description |
request | RefreshRuntimeTokenInternalRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
RefreshRuntimeTokenInternalResponse | The RPC response. |
RefreshRuntimeTokenInternalAsync(RefreshRuntimeTokenInternalRequest, CallSettings)
public override Task<RefreshRuntimeTokenInternalResponse> RefreshRuntimeTokenInternalAsync(RefreshRuntimeTokenInternalRequest request, CallSettings callSettings = null)
Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.
Parameters | |
---|---|
Name | Description |
request | RefreshRuntimeTokenInternalRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<RefreshRuntimeTokenInternalResponse> | A Task containing the RPC response. |
ReportRuntimeEvent(ReportRuntimeEventRequest, CallSettings)
public override Operation<Runtime, OperationMetadata> ReportRuntimeEvent(ReportRuntimeEventRequest request, CallSettings callSettings = null)
Report and process a runtime event.
Parameters | |
---|---|
Name | Description |
request | ReportRuntimeEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Runtime, OperationMetadata> | The RPC response. |
ReportRuntimeEventAsync(ReportRuntimeEventRequest, CallSettings)
public override async Task<Operation<Runtime, OperationMetadata>> ReportRuntimeEventAsync(ReportRuntimeEventRequest request, CallSettings callSettings = null)
Report and process a runtime event.
Parameters | |
---|---|
Name | Description |
request | ReportRuntimeEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Runtime, OperationMetadata>> | A Task containing the RPC response. |
ResetRuntime(ResetRuntimeRequest, CallSettings)
public override Operation<Runtime, OperationMetadata> ResetRuntime(ResetRuntimeRequest request, CallSettings callSettings = null)
Resets a Managed Notebook Runtime.
Parameters | |
---|---|
Name | Description |
request | ResetRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Runtime, OperationMetadata> | The RPC response. |
ResetRuntimeAsync(ResetRuntimeRequest, CallSettings)
public override async Task<Operation<Runtime, OperationMetadata>> ResetRuntimeAsync(ResetRuntimeRequest request, CallSettings callSettings = null)
Resets a Managed Notebook Runtime.
Parameters | |
---|---|
Name | Description |
request | ResetRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Runtime, OperationMetadata>> | A Task containing the RPC response. |
StartRuntime(StartRuntimeRequest, CallSettings)
public override Operation<Runtime, OperationMetadata> StartRuntime(StartRuntimeRequest request, CallSettings callSettings = null)
Starts a Managed Notebook Runtime. Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
Parameters | |
---|---|
Name | Description |
request | StartRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Runtime, OperationMetadata> | The RPC response. |
StartRuntimeAsync(StartRuntimeRequest, CallSettings)
public override async Task<Operation<Runtime, OperationMetadata>> StartRuntimeAsync(StartRuntimeRequest request, CallSettings callSettings = null)
Starts a Managed Notebook Runtime. Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
Parameters | |
---|---|
Name | Description |
request | StartRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Runtime, OperationMetadata>> | A Task containing the RPC response. |
StopRuntime(StopRuntimeRequest, CallSettings)
public override Operation<Runtime, OperationMetadata> StopRuntime(StopRuntimeRequest request, CallSettings callSettings = null)
Stops a Managed Notebook Runtime. Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
Parameters | |
---|---|
Name | Description |
request | StopRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Runtime, OperationMetadata> | The RPC response. |
StopRuntimeAsync(StopRuntimeRequest, CallSettings)
public override async Task<Operation<Runtime, OperationMetadata>> StopRuntimeAsync(StopRuntimeRequest request, CallSettings callSettings = null)
Stops a Managed Notebook Runtime. Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
Parameters | |
---|---|
Name | Description |
request | StopRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Runtime, OperationMetadata>> | A Task containing the RPC response. |
SwitchRuntime(SwitchRuntimeRequest, CallSettings)
public override Operation<Runtime, OperationMetadata> SwitchRuntime(SwitchRuntimeRequest request, CallSettings callSettings = null)
Switch a Managed Notebook Runtime.
Parameters | |
---|---|
Name | Description |
request | SwitchRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Runtime, OperationMetadata> | The RPC response. |
SwitchRuntimeAsync(SwitchRuntimeRequest, CallSettings)
public override async Task<Operation<Runtime, OperationMetadata>> SwitchRuntimeAsync(SwitchRuntimeRequest request, CallSettings callSettings = null)
Switch a Managed Notebook Runtime.
Parameters | |
---|---|
Name | Description |
request | SwitchRuntimeRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Runtime, OperationMetadata>> | A Task containing the RPC response. |