Workload Identity v1 API - Class WorkloadIdentityClientImpl (1.0.0-beta01)

public sealed class WorkloadIdentityClientImpl : WorkloadIdentityClient

Reference documentation and code samples for the Workload Identity v1 API class WorkloadIdentityClientImpl.

WorkloadIdentity client wrapper implementation, for convenient use.

Inheritance

object > WorkloadIdentityClient > WorkloadIdentityClientImpl

Namespace

Google.Cloud.WorkloadIdentity.V1

Assembly

Google.Cloud.WorkloadIdentity.V1.dll

Remarks

Service describing handlers for resources

Constructors

WorkloadIdentityClientImpl(WorkloadIdentityClient, WorkloadIdentitySettings, ILogger)

public WorkloadIdentityClientImpl(WorkloadIdentity.WorkloadIdentityClient grpcClient, WorkloadIdentitySettings settings, ILogger logger)

Constructs a client wrapper for the WorkloadIdentity service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient WorkloadIdentityWorkloadIdentityClient

The underlying gRPC client.

settings WorkloadIdentitySettings

The base WorkloadIdentitySettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GenerateServiceAgentsOperationsClient

public override OperationsClient GenerateServiceAgentsOperationsClient { get; }

The long-running operations client for GenerateServiceAgents.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override WorkloadIdentity.WorkloadIdentityClient GrpcClient { get; }

The underlying gRPC WorkloadIdentity client

Property Value
Type Description
WorkloadIdentityWorkloadIdentityClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GenerateServiceAgents(GenerateServiceAgentsRequest, CallSettings)

public override Operation<GenerateServiceAgentsResponse, OperationMetadata> GenerateServiceAgents(GenerateServiceAgentsRequest request, CallSettings callSettings = null)

Creates all service agents for a given resource, location and service producer.

Parameters
Name Description
request GenerateServiceAgentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationGenerateServiceAgentsResponseOperationMetadata

The RPC response.

Overrides

GenerateServiceAgentsAsync(GenerateServiceAgentsRequest, CallSettings)

public override Task<Operation<GenerateServiceAgentsResponse, OperationMetadata>> GenerateServiceAgentsAsync(GenerateServiceAgentsRequest request, CallSettings callSettings = null)

Creates all service agents for a given resource, location and service producer.

Parameters
Name Description
request GenerateServiceAgentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationGenerateServiceAgentsResponseOperationMetadata

A Task containing the RPC response.

Overrides