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.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
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 | |
---|---|
Name | Description |
services |
IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionFlexTemplatesServiceClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddFlexTemplatesServiceClient(IServiceCollection, Action<IServiceProvider, FlexTemplatesServiceClientBuilder>)
public static IServiceCollection AddFlexTemplatesServiceClient(this IServiceCollection services, Action<IServiceProvider, FlexTemplatesServiceClientBuilder> action)
Adds a singleton FlexTemplatesServiceClient 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 |
ActionIServiceProviderFlexTemplatesServiceClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddJobsV1Beta3Client(IServiceCollection, Action<JobsV1Beta3ClientBuilder>)
public static IServiceCollection AddJobsV1Beta3Client(this IServiceCollection services, Action<JobsV1Beta3ClientBuilder> action = null)
Adds a singleton JobsV1Beta3Client 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 |
ActionJobsV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddJobsV1Beta3Client(IServiceCollection, Action<IServiceProvider, JobsV1Beta3ClientBuilder>)
public static IServiceCollection AddJobsV1Beta3Client(this IServiceCollection services, Action<IServiceProvider, JobsV1Beta3ClientBuilder> action)
Adds a singleton JobsV1Beta3Client 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 |
ActionIServiceProviderJobsV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMessagesV1Beta3Client(IServiceCollection, Action<MessagesV1Beta3ClientBuilder>)
public static IServiceCollection AddMessagesV1Beta3Client(this IServiceCollection services, Action<MessagesV1Beta3ClientBuilder> action = null)
Adds a singleton MessagesV1Beta3Client 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 |
ActionMessagesV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMessagesV1Beta3Client(IServiceCollection, Action<IServiceProvider, MessagesV1Beta3ClientBuilder>)
public static IServiceCollection AddMessagesV1Beta3Client(this IServiceCollection services, Action<IServiceProvider, MessagesV1Beta3ClientBuilder> action)
Adds a singleton MessagesV1Beta3Client 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 |
ActionIServiceProviderMessagesV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMetricsV1Beta3Client(IServiceCollection, Action<MetricsV1Beta3ClientBuilder>)
public static IServiceCollection AddMetricsV1Beta3Client(this IServiceCollection services, Action<MetricsV1Beta3ClientBuilder> action = null)
Adds a singleton MetricsV1Beta3Client 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 |
ActionMetricsV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMetricsV1Beta3Client(IServiceCollection, Action<IServiceProvider, MetricsV1Beta3ClientBuilder>)
public static IServiceCollection AddMetricsV1Beta3Client(this IServiceCollection services, Action<IServiceProvider, MetricsV1Beta3ClientBuilder> action)
Adds a singleton MetricsV1Beta3Client 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 |
ActionIServiceProviderMetricsV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSnapshotsV1Beta3Client(IServiceCollection, Action<SnapshotsV1Beta3ClientBuilder>)
public static IServiceCollection AddSnapshotsV1Beta3Client(this IServiceCollection services, Action<SnapshotsV1Beta3ClientBuilder> action = null)
Adds a singleton SnapshotsV1Beta3Client 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 |
ActionSnapshotsV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSnapshotsV1Beta3Client(IServiceCollection, Action<IServiceProvider, SnapshotsV1Beta3ClientBuilder>)
public static IServiceCollection AddSnapshotsV1Beta3Client(this IServiceCollection services, Action<IServiceProvider, SnapshotsV1Beta3ClientBuilder> action)
Adds a singleton SnapshotsV1Beta3Client 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 |
ActionIServiceProviderSnapshotsV1Beta3ClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTemplatesServiceClient(IServiceCollection, Action<TemplatesServiceClientBuilder>)
public static IServiceCollection AddTemplatesServiceClient(this IServiceCollection services, Action<TemplatesServiceClientBuilder> action = null)
Adds a singleton TemplatesServiceClient 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 |
ActionTemplatesServiceClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTemplatesServiceClient(IServiceCollection, Action<IServiceProvider, TemplatesServiceClientBuilder>)
public static IServiceCollection AddTemplatesServiceClient(this IServiceCollection services, Action<IServiceProvider, TemplatesServiceClientBuilder> action)
Adds a singleton TemplatesServiceClient 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 |
ActionIServiceProviderTemplatesServiceClientBuilder An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |