1.2.0 (latest) 1.1.0 1.0.0

    public sealed class ApiHubDependenciesClientImpl : ApiHubDependenciesClient

Reference documentation and code samples for the API hub v1 API class ApiHubDependenciesClientImpl.

ApiHubDependencies client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ApiHubDependenciesClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt) \> ApiHubDependenciesClientImpl

## Inherited Members

[ApiHubDependenciesClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DefaultEndpoint) [ApiHubDependenciesClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DefaultScopes) [ApiHubDependenciesClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ServiceMetadata) [ApiHubDependenciesClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateAsync_System_Threading_CancellationToken_) [ApiHubDependenciesClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_Create) [ApiHubDependenciesClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ShutdownDefaultChannelsAsync) [ApiHubDependenciesClient.CreateDependencyAsync(CreateDependencyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependencyAsync_Google_Cloud_ApiHub_V1_CreateDependencyRequest_System_Threading_CancellationToken_) [ApiHubDependenciesClient.CreateDependency(string, Dependency, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependency_System_String_Google_Cloud_ApiHub_V1_Dependency_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.CreateDependencyAsync(string, Dependency, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependencyAsync_System_String_Google_Cloud_ApiHub_V1_Dependency_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.CreateDependencyAsync(string, Dependency, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependencyAsync_System_String_Google_Cloud_ApiHub_V1_Dependency_System_String_System_Threading_CancellationToken_) [ApiHubDependenciesClient.CreateDependency(LocationName, Dependency, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependency_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ApiHub_V1_Dependency_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.CreateDependencyAsync(LocationName, Dependency, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependencyAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ApiHub_V1_Dependency_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.CreateDependencyAsync(LocationName, Dependency, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependencyAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_ApiHub_V1_Dependency_System_String_System_Threading_CancellationToken_) [ApiHubDependenciesClient.GetDependencyAsync(GetDependencyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependencyAsync_Google_Cloud_ApiHub_V1_GetDependencyRequest_System_Threading_CancellationToken_) [ApiHubDependenciesClient.GetDependency(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependency_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.GetDependencyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependencyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.GetDependencyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependencyAsync_System_String_System_Threading_CancellationToken_) [ApiHubDependenciesClient.GetDependency(DependencyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependency_Google_Cloud_ApiHub_V1_DependencyName_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.GetDependencyAsync(DependencyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependencyAsync_Google_Cloud_ApiHub_V1_DependencyName_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.GetDependencyAsync(DependencyName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependencyAsync_Google_Cloud_ApiHub_V1_DependencyName_System_Threading_CancellationToken_) [ApiHubDependenciesClient.UpdateDependencyAsync(UpdateDependencyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_UpdateDependencyAsync_Google_Cloud_ApiHub_V1_UpdateDependencyRequest_System_Threading_CancellationToken_) [ApiHubDependenciesClient.UpdateDependency(Dependency, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_UpdateDependency_Google_Cloud_ApiHub_V1_Dependency_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.UpdateDependencyAsync(Dependency, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_UpdateDependencyAsync_Google_Cloud_ApiHub_V1_Dependency_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.UpdateDependencyAsync(Dependency, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_UpdateDependencyAsync_Google_Cloud_ApiHub_V1_Dependency_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [ApiHubDependenciesClient.DeleteDependencyAsync(DeleteDependencyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependencyAsync_Google_Cloud_ApiHub_V1_DeleteDependencyRequest_System_Threading_CancellationToken_) [ApiHubDependenciesClient.DeleteDependency(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependency_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.DeleteDependencyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependencyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.DeleteDependencyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependencyAsync_System_String_System_Threading_CancellationToken_) [ApiHubDependenciesClient.DeleteDependency(DependencyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependency_Google_Cloud_ApiHub_V1_DependencyName_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.DeleteDependencyAsync(DependencyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependencyAsync_Google_Cloud_ApiHub_V1_DependencyName_Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.DeleteDependencyAsync(DependencyName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependencyAsync_Google_Cloud_ApiHub_V1_DependencyName_System_Threading_CancellationToken_) [ApiHubDependenciesClient.ListDependencies(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ListDependencies_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.ListDependenciesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ListDependenciesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.ListDependencies(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ListDependencies_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ApiHubDependenciesClient.ListDependenciesAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ListDependenciesAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [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.ApiHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.md.txt)

## Assembly

Google.Cloud.ApiHub.V1.dll

## Remarks

This service provides methods for various operations related to a
\[Dependency\]\[google.cloud.apihub.v1.Dependency\] in the API hub.

## Constructors

### ApiHubDependenciesClientImpl(ApiHubDependenciesClient, ApiHubDependenciesSettings, ILogger)

    public ApiHubDependenciesClientImpl(ApiHubDependencies.ApiHubDependenciesClient grpcClient, ApiHubDependenciesSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `ApiHubDependenciesApiHubDependenciesClient` The underlying gRPC client. |
| `settings` | `ApiHubDependenciesSettings` The base [ApiHubDependenciesSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesSettings.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

### GrpcClient

    public override ApiHubDependencies.ApiHubDependenciesClient GrpcClient { get; }

The underlying gRPC ApiHubDependencies client

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

**Overrides** [ApiHubDependenciesClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GrpcClient)

### 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** [ApiHubDependenciesClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_LocationsClient)

## Methods

### CreateDependency(CreateDependencyRequest, CallSettings)

    public override Dependency CreateDependency(CreateDependencyRequest request, CallSettings callSettings = null)

Create a dependency between two entities in the API hub.

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

**Overrides** [ApiHubDependenciesClient.CreateDependency(CreateDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependency_Google_Cloud_ApiHub_V1_CreateDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateDependencyAsync(CreateDependencyRequest, CallSettings)

    public override Task<Dependency> CreateDependencyAsync(CreateDependencyRequest request, CallSettings callSettings = null)

Create a dependency between two entities in the API hub.

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

**Overrides** [ApiHubDependenciesClient.CreateDependencyAsync(CreateDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_CreateDependencyAsync_Google_Cloud_ApiHub_V1_CreateDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteDependency(DeleteDependencyRequest, CallSettings)

    public override void DeleteDependency(DeleteDependencyRequest request, CallSettings callSettings = null)

Delete the dependency resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteDependencyRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

**Overrides** [ApiHubDependenciesClient.DeleteDependency(DeleteDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependency_Google_Cloud_ApiHub_V1_DeleteDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteDependencyAsync(DeleteDependencyRequest, CallSettings)

    public override Task DeleteDependencyAsync(DeleteDependencyRequest request, CallSettings callSettings = null)

Delete the dependency resource.

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

**Overrides** [ApiHubDependenciesClient.DeleteDependencyAsync(DeleteDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_DeleteDependencyAsync_Google_Cloud_ApiHub_V1_DeleteDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDependency(GetDependencyRequest, CallSettings)

    public override Dependency GetDependency(GetDependencyRequest request, CallSettings callSettings = null)

Get details about a dependency resource in the API hub.

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

**Overrides** [ApiHubDependenciesClient.GetDependency(GetDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependency_Google_Cloud_ApiHub_V1_GetDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDependencyAsync(GetDependencyRequest, CallSettings)

    public override Task<Dependency> GetDependencyAsync(GetDependencyRequest request, CallSettings callSettings = null)

Get details about a dependency resource in the API hub.

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

**Overrides** [ApiHubDependenciesClient.GetDependencyAsync(GetDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_GetDependencyAsync_Google_Cloud_ApiHub_V1_GetDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListDependencies(ListDependenciesRequest, CallSettings)

    public override PagedEnumerable<ListDependenciesResponse, Dependency> ListDependencies(ListDependenciesRequest request, CallSettings callSettings = null)

List dependencies based on the provided filter and pagination parameters.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDependenciesRequest` 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** |
| `PagedEnumerableListDependenciesResponseDependency` | A pageable sequence of [Dependency](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.Dependency.md.txt) resources. |

**Overrides** [ApiHubDependenciesClient.ListDependencies(ListDependenciesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ListDependencies_Google_Cloud_ApiHub_V1_ListDependenciesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListDependenciesAsync(ListDependenciesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListDependenciesResponse, Dependency> ListDependenciesAsync(ListDependenciesRequest request, CallSettings callSettings = null)

List dependencies based on the provided filter and pagination parameters.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListDependenciesRequest` 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** |
| `PagedAsyncEnumerableListDependenciesResponseDependency` | A pageable asynchronous sequence of [Dependency](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.Dependency.md.txt) resources. |

**Overrides** [ApiHubDependenciesClient.ListDependenciesAsync(ListDependenciesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_ListDependenciesAsync_Google_Cloud_ApiHub_V1_ListDependenciesRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateDependency(UpdateDependencyRequest, CallSettings)

    public override Dependency UpdateDependency(UpdateDependencyRequest request, CallSettings callSettings = null)

Update a dependency based on the
\[update_mask\]\[google.cloud.apihub.v1.UpdateDependencyRequest.update_mask\]
provided in the request.

The following fields in the \[dependency\]\[google.cloud.apihub.v1.Dependency\]
can be updated:

- \[description\]\[google.cloud.apihub.v1.Dependency.description\]

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

**Overrides** [ApiHubDependenciesClient.UpdateDependency(UpdateDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_UpdateDependency_Google_Cloud_ApiHub_V1_UpdateDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateDependencyAsync(UpdateDependencyRequest, CallSettings)

    public override Task<Dependency> UpdateDependencyAsync(UpdateDependencyRequest request, CallSettings callSettings = null)

Update a dependency based on the
\[update_mask\]\[google.cloud.apihub.v1.UpdateDependencyRequest.update_mask\]
provided in the request.

The following fields in the \[dependency\]\[google.cloud.apihub.v1.Dependency\]
can be updated:

- \[description\]\[google.cloud.apihub.v1.Dependency.description\]

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

**Overrides** [ApiHubDependenciesClient.UpdateDependencyAsync(UpdateDependencyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ApiHubDependenciesClient.md.txt#Google_Cloud_ApiHub_V1_ApiHubDependenciesClient_UpdateDependencyAsync_Google_Cloud_ApiHub_V1_UpdateDependencyRequest_Google_Api_Gax_Grpc_CallSettings_)