    [BindServiceMethod(typeof(WorkloadIdentity), "BindService")]
    public abstract class WorkloadIdentity.WorkloadIdentityBase

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

Base class for server-side implementations of WorkloadIdentity

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> WorkloadIdentity.WorkloadIdentityBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.WorkloadIdentity.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadIdentity.V1/latest/Google.Cloud.WorkloadIdentity.V1)

## Assembly

Google.Cloud.WorkloadIdentity.V1.dll

## Methods

### GenerateServiceAgents(GenerateServiceAgentsRequest, ServerCallContext)

    public virtual Task<Operation> GenerateServiceAgents(GenerateServiceAgentsRequest request, ServerCallContext context)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WorkloadIdentity.V1/latest/Google.Cloud.WorkloadIdentity.V1.GenerateServiceAgentsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |