Google Cloud Dataproc v1 API - Class SessionTemplateControllerClientImpl (5.9.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
NameDescription
grpcClientSessionTemplateControllerSessionTemplateControllerClient

The underlying gRPC client.

settingsSessionTemplateControllerSettings

The base SessionTemplateControllerSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SessionTemplateController.SessionTemplateControllerClient GrpcClient { get; }

The underlying gRPC SessionTemplateController client

Property Value
TypeDescription
SessionTemplateControllerSessionTemplateControllerClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

Methods

CreateSessionTemplate(CreateSessionTemplateRequest, CallSettings)

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

Create a session template synchronously.

Parameters
NameDescription
requestCreateSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionTemplate

The RPC response.

Overrides

CreateSessionTemplateAsync(CreateSessionTemplateRequest, CallSettings)

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

Create a session template synchronously.

Parameters
NameDescription
requestCreateSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteSessionTemplateRequest

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

callSettingsCallSettings

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
NameDescription
requestDeleteSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListSessionTemplatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListSessionTemplatesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SessionTemplate

The RPC response.

Overrides

UpdateSessionTemplateAsync(UpdateSessionTemplateRequest, CallSettings)

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

Updates the session template synchronously.

Parameters
NameDescription
requestUpdateSessionTemplateRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSessionTemplate

A Task containing the RPC response.

Overrides