public static class ServiceCollectionExtensionsReference documentation and code samples for the Identity and Access Management (IAM) v3beta API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Iam.V3Beta.dll
Methods
AddAccessPoliciesClient(IServiceCollection, Action<AccessPoliciesClientBuilder>)
public static IServiceCollection AddAccessPoliciesClient(this IServiceCollection services, Action<AccessPoliciesClientBuilder> action = null)Adds a singleton AccessPoliciesClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionAccessPoliciesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddAccessPoliciesClient(IServiceCollection, Action<IServiceProvider, AccessPoliciesClientBuilder>)
public static IServiceCollection AddAccessPoliciesClient(this IServiceCollection services, Action<IServiceProvider, AccessPoliciesClientBuilder> action)Adds a singleton AccessPoliciesClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderAccessPoliciesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPolicyBindingsClient(IServiceCollection, Action<PolicyBindingsClientBuilder>)
public static IServiceCollection AddPolicyBindingsClient(this IServiceCollection services, Action<PolicyBindingsClientBuilder> action = null)Adds a singleton PolicyBindingsClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionPolicyBindingsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPolicyBindingsClient(IServiceCollection, Action<IServiceProvider, PolicyBindingsClientBuilder>)
public static IServiceCollection AddPolicyBindingsClient(this IServiceCollection services, Action<IServiceProvider, PolicyBindingsClientBuilder> action)Adds a singleton PolicyBindingsClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderPolicyBindingsClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPrincipalAccessBoundaryPoliciesClient(IServiceCollection, Action<PrincipalAccessBoundaryPoliciesClientBuilder>)
public static IServiceCollection AddPrincipalAccessBoundaryPoliciesClient(this IServiceCollection services, Action<PrincipalAccessBoundaryPoliciesClientBuilder> action = null)Adds a singleton PrincipalAccessBoundaryPoliciesClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionPrincipalAccessBoundaryPoliciesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddPrincipalAccessBoundaryPoliciesClient(IServiceCollection, Action<IServiceProvider, PrincipalAccessBoundaryPoliciesClientBuilder>)
public static IServiceCollection AddPrincipalAccessBoundaryPoliciesClient(this IServiceCollection services, Action<IServiceProvider, PrincipalAccessBoundaryPoliciesClientBuilder> action)Adds a singleton PrincipalAccessBoundaryPoliciesClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderPrincipalAccessBoundaryPoliciesClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|