1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class FunctionServiceClientImpl : FunctionServiceClient

Reference documentation and code samples for the Cloud Functions v2 API class FunctionServiceClientImpl.

FunctionService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [FunctionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt) \> FunctionServiceClientImpl

## Inherited Members

[FunctionServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DefaultEndpoint) [FunctionServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DefaultScopes) [FunctionServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ServiceMetadata) [FunctionServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateAsync_System_Threading_CancellationToken_) [FunctionServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_Create) [FunctionServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ShutdownDefaultChannelsAsync) [FunctionServiceClient.GetFunctionAsync(GetFunctionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunctionAsync_Google_Cloud_Functions_V2_GetFunctionRequest_System_Threading_CancellationToken_) [FunctionServiceClient.GetFunction(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunction_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.GetFunctionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunctionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.GetFunctionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunctionAsync_System_String_System_Threading_CancellationToken_) [FunctionServiceClient.GetFunction(FunctionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunction_Google_Cloud_Functions_V2_FunctionName_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.GetFunctionAsync(FunctionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunctionAsync_Google_Cloud_Functions_V2_FunctionName_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.GetFunctionAsync(FunctionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunctionAsync_Google_Cloud_Functions_V2_FunctionName_System_Threading_CancellationToken_) [FunctionServiceClient.ListFunctions(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListFunctions_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListFunctionsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListFunctionsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListFunctions(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListFunctions_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListFunctionsAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListFunctionsAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.CreateFunctionAsync(CreateFunctionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionAsync_Google_Cloud_Functions_V2_CreateFunctionRequest_System_Threading_CancellationToken_) [FunctionServiceClient.PollOnceCreateFunction(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_PollOnceCreateFunction_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.PollOnceCreateFunctionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_PollOnceCreateFunctionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.CreateFunction(string, Function, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunction_System_String_Google_Cloud_Functions_V2_Function_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.CreateFunctionAsync(string, Function, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionAsync_System_String_Google_Cloud_Functions_V2_Function_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.CreateFunctionAsync(string, Function, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionAsync_System_String_Google_Cloud_Functions_V2_Function_System_String_System_Threading_CancellationToken_) [FunctionServiceClient.CreateFunction(LocationName, Function, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunction_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Functions_V2_Function_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.CreateFunctionAsync(LocationName, Function, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Functions_V2_Function_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.CreateFunctionAsync(LocationName, Function, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Functions_V2_Function_System_String_System_Threading_CancellationToken_) [FunctionServiceClient.UpdateFunctionAsync(UpdateFunctionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunctionAsync_Google_Cloud_Functions_V2_UpdateFunctionRequest_System_Threading_CancellationToken_) [FunctionServiceClient.PollOnceUpdateFunction(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_PollOnceUpdateFunction_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.PollOnceUpdateFunctionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_PollOnceUpdateFunctionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.UpdateFunction(Function, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunction_Google_Cloud_Functions_V2_Function_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.UpdateFunctionAsync(Function, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunctionAsync_Google_Cloud_Functions_V2_Function_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.UpdateFunctionAsync(Function, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunctionAsync_Google_Cloud_Functions_V2_Function_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [FunctionServiceClient.DeleteFunctionAsync(DeleteFunctionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionAsync_Google_Cloud_Functions_V2_DeleteFunctionRequest_System_Threading_CancellationToken_) [FunctionServiceClient.PollOnceDeleteFunction(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_PollOnceDeleteFunction_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.PollOnceDeleteFunctionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_PollOnceDeleteFunctionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.DeleteFunction(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunction_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.DeleteFunctionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.DeleteFunctionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionAsync_System_String_System_Threading_CancellationToken_) [FunctionServiceClient.DeleteFunction(FunctionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunction_Google_Cloud_Functions_V2_FunctionName_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.DeleteFunctionAsync(FunctionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionAsync_Google_Cloud_Functions_V2_FunctionName_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.DeleteFunctionAsync(FunctionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionAsync_Google_Cloud_Functions_V2_FunctionName_System_Threading_CancellationToken_) [FunctionServiceClient.GenerateUploadUrlAsync(GenerateUploadUrlRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GenerateUploadUrlAsync_Google_Cloud_Functions_V2_GenerateUploadUrlRequest_System_Threading_CancellationToken_) [FunctionServiceClient.GenerateDownloadUrlAsync(GenerateDownloadUrlRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GenerateDownloadUrlAsync_Google_Cloud_Functions_V2_GenerateDownloadUrlRequest_System_Threading_CancellationToken_) [FunctionServiceClient.ListRuntimesAsync(ListRuntimesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimesAsync_Google_Cloud_Functions_V2_ListRuntimesRequest_System_Threading_CancellationToken_) [FunctionServiceClient.ListRuntimes(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimes_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListRuntimesAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimesAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListRuntimesAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimesAsync_System_String_System_Threading_CancellationToken_) [FunctionServiceClient.ListRuntimes(LocationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimes_Google_Api_Gax_ResourceNames_LocationName_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListRuntimesAsync(LocationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimesAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Api_Gax_Grpc_CallSettings_) [FunctionServiceClient.ListRuntimesAsync(LocationName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimesAsync_Google_Api_Gax_ResourceNames_LocationName_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Functions.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.md.txt)

## Assembly

Google.Cloud.Functions.V2.dll

## Remarks

Google Cloud Functions is used to deploy functions that are executed by
Google in response to various events. Data connected with that event is
passed to a function as the input data.

A **function** is a resource which describes a function that should be
executed and how it is triggered.

## Constructors

### FunctionServiceClientImpl(FunctionServiceClient, FunctionServiceSettings, ILogger)

    public FunctionServiceClientImpl(FunctionService.FunctionServiceClient grpcClient, FunctionServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `FunctionServiceFunctionServiceClient` The underlying gRPC client. |
| `settings` | `FunctionServiceSettings` The base [FunctionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceSettings.md.txt) used within this client. |
| `logger` | `ILogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### CreateFunctionOperationsClient

    public override OperationsClient CreateFunctionOperationsClient { get; }

The long-running operations client for `CreateFunction`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

**Overrides** [FunctionServiceClient.CreateFunctionOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionOperationsClient)

### DeleteFunctionOperationsClient

    public override OperationsClient DeleteFunctionOperationsClient { get; }

The long-running operations client for `DeleteFunction`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

**Overrides** [FunctionServiceClient.DeleteFunctionOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionOperationsClient)

### GrpcClient

    public override FunctionService.FunctionServiceClient GrpcClient { get; }

The underlying gRPC FunctionService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `FunctionServiceFunctionServiceClient` |   |

**Overrides** [FunctionServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyClient` |   |

**Overrides** [FunctionServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_IAMPolicyClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationsClient` |   |

**Overrides** [FunctionServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_LocationsClient)

### UpdateFunctionOperationsClient

    public override OperationsClient UpdateFunctionOperationsClient { get; }

The long-running operations client for `UpdateFunction`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

**Overrides** [FunctionServiceClient.UpdateFunctionOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunctionOperationsClient)

## Methods

### CreateFunction(CreateFunctionRequest, CallSettings)

    public override Operation<Function, OperationMetadata> CreateFunction(CreateFunctionRequest request, CallSettings callSettings = null)

Creates a new function. If a function with the given name already exists in
the specified project, the long running operation will return
`ALREADY_EXISTS` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateFunctionRequest` 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** |
| `OperationFunctionOperationMetadata` | The RPC response. |

**Overrides** [FunctionServiceClient.CreateFunction(CreateFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunction_Google_Cloud_Functions_V2_CreateFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateFunctionAsync(CreateFunctionRequest, CallSettings)

    public override Task<Operation<Function, OperationMetadata>> CreateFunctionAsync(CreateFunctionRequest request, CallSettings callSettings = null)

Creates a new function. If a function with the given name already exists in
the specified project, the long running operation will return
`ALREADY_EXISTS` error.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateFunctionRequest` 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** |
| `TaskOperationFunctionOperationMetadata` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.CreateFunctionAsync(CreateFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_CreateFunctionAsync_Google_Cloud_Functions_V2_CreateFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteFunction(DeleteFunctionRequest, CallSettings)

    public override Operation<Empty, OperationMetadata> DeleteFunction(DeleteFunctionRequest request, CallSettings callSettings = null)

Deletes a function with the given name from the specified project. If the
given function is used by some trigger, the trigger will be updated to
remove this function.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteFunctionRequest` 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** |
| `OperationEmptyOperationMetadata` | The RPC response. |

**Overrides** [FunctionServiceClient.DeleteFunction(DeleteFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunction_Google_Cloud_Functions_V2_DeleteFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteFunctionAsync(DeleteFunctionRequest, CallSettings)

    public override Task<Operation<Empty, OperationMetadata>> DeleteFunctionAsync(DeleteFunctionRequest request, CallSettings callSettings = null)

Deletes a function with the given name from the specified project. If the
given function is used by some trigger, the trigger will be updated to
remove this function.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteFunctionRequest` 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** |
| `TaskOperationEmptyOperationMetadata` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.DeleteFunctionAsync(DeleteFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_DeleteFunctionAsync_Google_Cloud_Functions_V2_DeleteFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateDownloadUrl(GenerateDownloadUrlRequest, CallSettings)

    public override GenerateDownloadUrlResponse GenerateDownloadUrl(GenerateDownloadUrlRequest request, CallSettings callSettings = null)

Returns a signed URL for downloading deployed function source code.
The URL is only valid for a limited period and should be used within
30 minutes of generation.
For more information about the signed URL usage see:
<https://cloud.google.com/storage/docs/access-control/signed-urls>

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateDownloadUrlRequest` 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** |
| `GenerateDownloadUrlResponse` | The RPC response. |

**Overrides** [FunctionServiceClient.GenerateDownloadUrl(GenerateDownloadUrlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GenerateDownloadUrl_Google_Cloud_Functions_V2_GenerateDownloadUrlRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateDownloadUrlAsync(GenerateDownloadUrlRequest, CallSettings)

    public override Task<GenerateDownloadUrlResponse> GenerateDownloadUrlAsync(GenerateDownloadUrlRequest request, CallSettings callSettings = null)

Returns a signed URL for downloading deployed function source code.
The URL is only valid for a limited period and should be used within
30 minutes of generation.
For more information about the signed URL usage see:
<https://cloud.google.com/storage/docs/access-control/signed-urls>

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateDownloadUrlRequest` 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** |
| `TaskGenerateDownloadUrlResponse` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.GenerateDownloadUrlAsync(GenerateDownloadUrlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GenerateDownloadUrlAsync_Google_Cloud_Functions_V2_GenerateDownloadUrlRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateUploadUrl(GenerateUploadUrlRequest, CallSettings)

    public override GenerateUploadUrlResponse GenerateUploadUrl(GenerateUploadUrlRequest request, CallSettings callSettings = null)

Returns a signed URL for uploading a function source code.
For more information about the signed URL usage see:
<https://cloud.google.com/storage/docs/access-control/signed-urls>.
Once the function source code upload is complete, the used signed
URL should be provided in CreateFunction or UpdateFunction request
as a reference to the function source code.

When uploading source code to the generated signed URL, please follow
these restrictions:

- Source file type should be a zip file.
- No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL.

When making a HTTP PUT request, specify this header:

- `content-type: application/zip`

Do not specify this header:

- `Authorization: Bearer YOUR_TOKEN`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateUploadUrlRequest` 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** |
| `GenerateUploadUrlResponse` | The RPC response. |

**Overrides** [FunctionServiceClient.GenerateUploadUrl(GenerateUploadUrlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GenerateUploadUrl_Google_Cloud_Functions_V2_GenerateUploadUrlRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateUploadUrlAsync(GenerateUploadUrlRequest, CallSettings)

    public override Task<GenerateUploadUrlResponse> GenerateUploadUrlAsync(GenerateUploadUrlRequest request, CallSettings callSettings = null)

Returns a signed URL for uploading a function source code.
For more information about the signed URL usage see:
<https://cloud.google.com/storage/docs/access-control/signed-urls>.
Once the function source code upload is complete, the used signed
URL should be provided in CreateFunction or UpdateFunction request
as a reference to the function source code.

When uploading source code to the generated signed URL, please follow
these restrictions:

- Source file type should be a zip file.
- No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL.

When making a HTTP PUT request, specify this header:

- `content-type: application/zip`

Do not specify this header:

- `Authorization: Bearer YOUR_TOKEN`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GenerateUploadUrlRequest` 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** |
| `TaskGenerateUploadUrlResponse` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.GenerateUploadUrlAsync(GenerateUploadUrlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GenerateUploadUrlAsync_Google_Cloud_Functions_V2_GenerateUploadUrlRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFunction(GetFunctionRequest, CallSettings)

    public override Function GetFunction(GetFunctionRequest request, CallSettings callSettings = null)

Returns a function with the given name from the requested project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetFunctionRequest` 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** |
| `Function` | The RPC response. |

**Overrides** [FunctionServiceClient.GetFunction(GetFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunction_Google_Cloud_Functions_V2_GetFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFunctionAsync(GetFunctionRequest, CallSettings)

    public override Task<Function> GetFunctionAsync(GetFunctionRequest request, CallSettings callSettings = null)

Returns a function with the given name from the requested project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetFunctionRequest` 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** |
| `TaskFunction` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.GetFunctionAsync(GetFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_GetFunctionAsync_Google_Cloud_Functions_V2_GetFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListFunctions(ListFunctionsRequest, CallSettings)

    public override PagedEnumerable<ListFunctionsResponse, Function> ListFunctions(ListFunctionsRequest request, CallSettings callSettings = null)

Returns a list of functions that belong to the requested project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListFunctionsRequest` 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** |
| `PagedEnumerableListFunctionsResponseFunction` | A pageable sequence of [Function](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.Function.md.txt) resources. |

**Overrides** [FunctionServiceClient.ListFunctions(ListFunctionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListFunctions_Google_Cloud_Functions_V2_ListFunctionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListFunctionsAsync(ListFunctionsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListFunctionsResponse, Function> ListFunctionsAsync(ListFunctionsRequest request, CallSettings callSettings = null)

Returns a list of functions that belong to the requested project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListFunctionsRequest` 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** |
| `PagedAsyncEnumerableListFunctionsResponseFunction` | A pageable asynchronous sequence of [Function](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.Function.md.txt) resources. |

**Overrides** [FunctionServiceClient.ListFunctionsAsync(ListFunctionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListFunctionsAsync_Google_Cloud_Functions_V2_ListFunctionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListRuntimes(ListRuntimesRequest, CallSettings)

    public override ListRuntimesResponse ListRuntimes(ListRuntimesRequest request, CallSettings callSettings = null)

Returns a list of runtimes that are supported for the requested project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuntimesRequest` 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** |
| `ListRuntimesResponse` | The RPC response. |

**Overrides** [FunctionServiceClient.ListRuntimes(ListRuntimesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimes_Google_Cloud_Functions_V2_ListRuntimesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListRuntimesAsync(ListRuntimesRequest, CallSettings)

    public override Task<ListRuntimesResponse> ListRuntimesAsync(ListRuntimesRequest request, CallSettings callSettings = null)

Returns a list of runtimes that are supported for the requested project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListRuntimesRequest` 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** |
| `TaskListRuntimesResponse` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.ListRuntimesAsync(ListRuntimesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_ListRuntimesAsync_Google_Cloud_Functions_V2_ListRuntimesRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateFunction(UpdateFunctionRequest, CallSettings)

    public override Operation<Function, OperationMetadata> UpdateFunction(UpdateFunctionRequest request, CallSettings callSettings = null)

Updates existing function.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateFunctionRequest` 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** |
| `OperationFunctionOperationMetadata` | The RPC response. |

**Overrides** [FunctionServiceClient.UpdateFunction(UpdateFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunction_Google_Cloud_Functions_V2_UpdateFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateFunctionAsync(UpdateFunctionRequest, CallSettings)

    public override Task<Operation<Function, OperationMetadata>> UpdateFunctionAsync(UpdateFunctionRequest request, CallSettings callSettings = null)

Updates existing function.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateFunctionRequest` 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** |
| `TaskOperationFunctionOperationMetadata` | A Task containing the RPC response. |

**Overrides** [FunctionServiceClient.UpdateFunctionAsync(UpdateFunctionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Functions.V2/latest/Google.Cloud.Functions.V2.FunctionServiceClient.md.txt#Google_Cloud_Functions_V2_FunctionServiceClient_UpdateFunctionAsync_Google_Cloud_Functions_V2_UpdateFunctionRequest_Google_Api_Gax_Grpc_CallSettings_)