Google Cloud Dataproc v1 API - Class ServiceCollectionExtensions (5.13.0)

public static class ServiceCollectionExtensions

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

Static class to provide extension methods to configure API clients.

Inheritance

object > ServiceCollectionExtensions

Namespace

Microsoft.Extensions.DependencyInjection

Assembly

Google.Cloud.Dataproc.V1.dll

Methods

AddAutoscalingPolicyServiceClient(IServiceCollection, Action<AutoscalingPolicyServiceClientBuilder>)

public static IServiceCollection AddAutoscalingPolicyServiceClient(this IServiceCollection services, Action<AutoscalingPolicyServiceClientBuilder> action = null)

Adds a singleton AutoscalingPolicyServiceClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionAutoscalingPolicyServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddAutoscalingPolicyServiceClient(IServiceCollection, Action<IServiceProvider, AutoscalingPolicyServiceClientBuilder>)

public static IServiceCollection AddAutoscalingPolicyServiceClient(this IServiceCollection services, Action<IServiceProvider, AutoscalingPolicyServiceClientBuilder> action)

Adds a singleton AutoscalingPolicyServiceClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderAutoscalingPolicyServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddBatchControllerClient(IServiceCollection, Action<BatchControllerClientBuilder>)

public static IServiceCollection AddBatchControllerClient(this IServiceCollection services, Action<BatchControllerClientBuilder> action = null)

Adds a singleton BatchControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionBatchControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddBatchControllerClient(IServiceCollection, Action<IServiceProvider, BatchControllerClientBuilder>)

public static IServiceCollection AddBatchControllerClient(this IServiceCollection services, Action<IServiceProvider, BatchControllerClientBuilder> action)

Adds a singleton BatchControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderBatchControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddClusterControllerClient(IServiceCollection, Action<ClusterControllerClientBuilder>)

public static IServiceCollection AddClusterControllerClient(this IServiceCollection services, Action<ClusterControllerClientBuilder> action = null)

Adds a singleton ClusterControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionClusterControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddClusterControllerClient(IServiceCollection, Action<IServiceProvider, ClusterControllerClientBuilder>)

public static IServiceCollection AddClusterControllerClient(this IServiceCollection services, Action<IServiceProvider, ClusterControllerClientBuilder> action)

Adds a singleton ClusterControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderClusterControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddJobControllerClient(IServiceCollection, Action<JobControllerClientBuilder>)

public static IServiceCollection AddJobControllerClient(this IServiceCollection services, Action<JobControllerClientBuilder> action = null)

Adds a singleton JobControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionJobControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddJobControllerClient(IServiceCollection, Action<IServiceProvider, JobControllerClientBuilder>)

public static IServiceCollection AddJobControllerClient(this IServiceCollection services, Action<IServiceProvider, JobControllerClientBuilder> action)

Adds a singleton JobControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderJobControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddNodeGroupControllerClient(IServiceCollection, Action<NodeGroupControllerClientBuilder>)

public static IServiceCollection AddNodeGroupControllerClient(this IServiceCollection services, Action<NodeGroupControllerClientBuilder> action = null)

Adds a singleton NodeGroupControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionNodeGroupControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddNodeGroupControllerClient(IServiceCollection, Action<IServiceProvider, NodeGroupControllerClientBuilder>)

public static IServiceCollection AddNodeGroupControllerClient(this IServiceCollection services, Action<IServiceProvider, NodeGroupControllerClientBuilder> action)

Adds a singleton NodeGroupControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderNodeGroupControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddSessionControllerClient(IServiceCollection, Action<SessionControllerClientBuilder>)

public static IServiceCollection AddSessionControllerClient(this IServiceCollection services, Action<SessionControllerClientBuilder> action = null)

Adds a singleton SessionControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSessionControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddSessionControllerClient(IServiceCollection, Action<IServiceProvider, SessionControllerClientBuilder>)

public static IServiceCollection AddSessionControllerClient(this IServiceCollection services, Action<IServiceProvider, SessionControllerClientBuilder> action)

Adds a singleton SessionControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderSessionControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddSessionTemplateControllerClient(IServiceCollection, Action<SessionTemplateControllerClientBuilder>)

public static IServiceCollection AddSessionTemplateControllerClient(this IServiceCollection services, Action<SessionTemplateControllerClientBuilder> action = null)

Adds a singleton SessionTemplateControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSessionTemplateControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddSessionTemplateControllerClient(IServiceCollection, Action<IServiceProvider, SessionTemplateControllerClientBuilder>)

public static IServiceCollection AddSessionTemplateControllerClient(this IServiceCollection services, Action<IServiceProvider, SessionTemplateControllerClientBuilder> action)

Adds a singleton SessionTemplateControllerClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderSessionTemplateControllerClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddWorkflowTemplateServiceClient(IServiceCollection, Action<WorkflowTemplateServiceClientBuilder>)

public static IServiceCollection AddWorkflowTemplateServiceClient(this IServiceCollection services, Action<WorkflowTemplateServiceClientBuilder> action = null)

Adds a singleton WorkflowTemplateServiceClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionWorkflowTemplateServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddWorkflowTemplateServiceClient(IServiceCollection, Action<IServiceProvider, WorkflowTemplateServiceClientBuilder>)

public static IServiceCollection AddWorkflowTemplateServiceClient(this IServiceCollection services, Action<IServiceProvider, WorkflowTemplateServiceClientBuilder> action)

Adds a singleton WorkflowTemplateServiceClient to services.

Parameters
Name Description
services IServiceCollection

The service collection to add the client to. The services are used to configure the client when requested.

action ActionSystem.IServiceProviderWorkflowTemplateServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection