Dataflow v1beta3 API - Class ServiceCollectionExtensions (2.0.0-beta05)

public static class ServiceCollectionExtensions

Reference documentation and code samples for the Dataflow v1beta3 API class ServiceCollectionExtensions.

Static class to provide extension methods to configure API clients.

Inheritance

object > ServiceCollectionExtensions

Namespace

Microsoft.Extensions.DependencyInjection

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Methods

AddFlexTemplatesServiceClient(IServiceCollection, Action<FlexTemplatesServiceClientBuilder>)

public static IServiceCollection AddFlexTemplatesServiceClient(this IServiceCollection services, Action<FlexTemplatesServiceClientBuilder> action = null)

Adds a singleton FlexTemplatesServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionFlexTemplatesServiceClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddJobsV1Beta3Client(IServiceCollection, Action<JobsV1Beta3ClientBuilder>)

public static IServiceCollection AddJobsV1Beta3Client(this IServiceCollection services, Action<JobsV1Beta3ClientBuilder> action = null)

Adds a singleton JobsV1Beta3Client to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionJobsV1Beta3ClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddMessagesV1Beta3Client(IServiceCollection, Action<MessagesV1Beta3ClientBuilder>)

public static IServiceCollection AddMessagesV1Beta3Client(this IServiceCollection services, Action<MessagesV1Beta3ClientBuilder> action = null)

Adds a singleton MessagesV1Beta3Client to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionMessagesV1Beta3ClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddMetricsV1Beta3Client(IServiceCollection, Action<MetricsV1Beta3ClientBuilder>)

public static IServiceCollection AddMetricsV1Beta3Client(this IServiceCollection services, Action<MetricsV1Beta3ClientBuilder> action = null)

Adds a singleton MetricsV1Beta3Client to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionMetricsV1Beta3ClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddSnapshotsV1Beta3Client(IServiceCollection, Action<SnapshotsV1Beta3ClientBuilder>)

public static IServiceCollection AddSnapshotsV1Beta3Client(this IServiceCollection services, Action<SnapshotsV1Beta3ClientBuilder> action = null)

Adds a singleton SnapshotsV1Beta3Client to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionSnapshotsV1Beta3ClientBuilder

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

Returns
TypeDescription
IServiceCollection

AddTemplatesServiceClient(IServiceCollection, Action<TemplatesServiceClientBuilder>)

public static IServiceCollection AddTemplatesServiceClient(this IServiceCollection services, Action<TemplatesServiceClientBuilder> action = null)

Adds a singleton TemplatesServiceClient to services.

Parameters
NameDescription
servicesIServiceCollection

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

actionActionTemplatesServiceClientBuilder

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

Returns
TypeDescription
IServiceCollection