Google Cloud Dataproc v1 API - Class ServiceCollectionExtensions (5.5.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

MicrosoftMicrosoft.ExtensionsDependencyInjection

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

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

actionActionAutoscalingPolicyServiceClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddBatchControllerClient(IServiceCollection, Action<BatchControllerClientBuilder>)

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

Adds a singleton BatchControllerClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionBatchControllerClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddClusterControllerClient(IServiceCollection, Action<ClusterControllerClientBuilder>)

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

Adds a singleton ClusterControllerClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionClusterControllerClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddJobControllerClient(IServiceCollection, Action<JobControllerClientBuilder>)

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

Adds a singleton JobControllerClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionJobControllerClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddNodeGroupControllerClient(IServiceCollection, Action<NodeGroupControllerClientBuilder>)

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

Adds a singleton NodeGroupControllerClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionNodeGroupControllerClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddWorkflowTemplateServiceClient(IServiceCollection, Action<WorkflowTemplateServiceClientBuilder>)

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

Adds a singleton WorkflowTemplateServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionWorkflowTemplateServiceClientBuilder

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

Returns
TypeDescription
IServiceCollection