Google Cloud Dataproc v1 API - Class SessionTemplateControllerClientImpl (5.10.0)

public sealed class SessionTemplateControllerClientImpl : SessionTemplateControllerClient

Reference documentation and code samples for the Google Cloud Dataproc v1 API class SessionTemplateControllerClientImpl.

SessionTemplateController client wrapper implementation, for convenient use.

Inheritance

object > SessionTemplateControllerClient > SessionTemplateControllerClientImpl

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Remarks

The SessionTemplateController provides methods to manage session templates.

Constructors

SessionTemplateControllerClientImpl(SessionTemplateControllerClient, SessionTemplateControllerSettings, ILogger)

public SessionTemplateControllerClientImpl(SessionTemplateController.SessionTemplateControllerClient grpcClient, SessionTemplateControllerSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient SessionTemplateControllerSessionTemplateControllerClient

The underlying gRPC client.

settings SessionTemplateControllerSettings

The base SessionTemplateControllerSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SessionTemplateController.SessionTemplateControllerClient GrpcClient { get; }

The underlying gRPC SessionTemplateController client

Property Value
Type Description
SessionTemplateControllerSessionTemplateControllerClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

Methods

CreateSessionTemplate(CreateSessionTemplateRequest, CallSettings)

public override SessionTemplate CreateSessionTemplate(CreateSessionTemplateRequest request, CallSettings callSettings = null)

Create a session template synchronously.

Parameters
Name Description
request CreateSessionTemplateRequest

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
SessionTemplate

The RPC response.

Overrides

CreateSessionTemplateAsync(CreateSessionTemplateRequest, CallSettings)

public override Task<SessionTemplate> CreateSessionTemplateAsync(CreateSessionTemplateRequest request, CallSettings callSettings = null)

Create a session template synchronously.

Parameters
Name Description
request CreateSessionTemplateRequest

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
TaskSessionTemplate

A Task containing the RPC response.

Overrides

DeleteSessionTemplate(DeleteSessionTemplateRequest, CallSettings)

public override void DeleteSessionTemplate(DeleteSessionTemplateRequest request, CallSettings callSettings = null)

Deletes a session template.

Parameters
Name Description
request DeleteSessionTemplateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteSessionTemplateAsync(DeleteSessionTemplateRequest, CallSettings)

public override Task DeleteSessionTemplateAsync(DeleteSessionTemplateRequest request, CallSettings callSettings = null)

Deletes a session template.

Parameters
Name Description
request DeleteSessionTemplateRequest

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

A Task containing the RPC response.

Overrides

GetSessionTemplate(GetSessionTemplateRequest, CallSettings)

public override SessionTemplate GetSessionTemplate(GetSessionTemplateRequest request, CallSettings callSettings = null)

Gets the resource representation for a session template.

Parameters
Name Description
request GetSessionTemplateRequest

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
SessionTemplate

The RPC response.

Overrides

GetSessionTemplateAsync(GetSessionTemplateRequest, CallSettings)

public override Task<SessionTemplate> GetSessionTemplateAsync(GetSessionTemplateRequest request, CallSettings callSettings = null)

Gets the resource representation for a session template.

Parameters
Name Description
request GetSessionTemplateRequest

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
TaskSessionTemplate

A Task containing the RPC response.

Overrides

ListSessionTemplates(ListSessionTemplatesRequest, CallSettings)

public override PagedEnumerable<ListSessionTemplatesResponse, SessionTemplate> ListSessionTemplates(ListSessionTemplatesRequest request, CallSettings callSettings = null)

Lists session templates.

Parameters
Name Description
request ListSessionTemplatesRequest

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
PagedEnumerableListSessionTemplatesResponseSessionTemplate

A pageable sequence of SessionTemplate resources.

Overrides

ListSessionTemplatesAsync(ListSessionTemplatesRequest, CallSettings)

public override PagedAsyncEnumerable<ListSessionTemplatesResponse, SessionTemplate> ListSessionTemplatesAsync(ListSessionTemplatesRequest request, CallSettings callSettings = null)

Lists session templates.

Parameters
Name Description
request ListSessionTemplatesRequest

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
PagedAsyncEnumerableListSessionTemplatesResponseSessionTemplate

A pageable asynchronous sequence of SessionTemplate resources.

Overrides

UpdateSessionTemplate(UpdateSessionTemplateRequest, CallSettings)

public override SessionTemplate UpdateSessionTemplate(UpdateSessionTemplateRequest request, CallSettings callSettings = null)

Updates the session template synchronously.

Parameters
Name Description
request UpdateSessionTemplateRequest

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
SessionTemplate

The RPC response.

Overrides

UpdateSessionTemplateAsync(UpdateSessionTemplateRequest, CallSettings)

public override Task<SessionTemplate> UpdateSessionTemplateAsync(UpdateSessionTemplateRequest request, CallSettings callSettings = null)

Updates the session template synchronously.

Parameters
Name Description
request UpdateSessionTemplateRequest

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
TaskSessionTemplate

A Task containing the RPC response.

Overrides