API hub v1 API - Class ApiHubDependenciesClientImpl (1.0.0-beta01)

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 > ApiHubDependenciesClient > ApiHubDependenciesClientImpl

Namespace

Google.Cloud.ApiHub.V1

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 used within this client.

logger ILogger

Optional 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

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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

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

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

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

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

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

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 resources.

Overrides

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 resources.

Overrides

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

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