public sealed class ApiHubDependenciesClientImpl : ApiHubDependenciesClientReference documentation and code samples for the API hub v1 API class ApiHubDependenciesClientImpl.
ApiHubDependencies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ApiHub.V1Assembly
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 |
ApiHubDependenciesApiHubDependenciesClientThe underlying gRPC client. |
settings |
ApiHubDependenciesSettingsThe base ApiHubDependenciesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ApiHubDependencies.ApiHubDependenciesClient GrpcClient { get; }The underlying gRPC ApiHubDependencies client
| Property Value | |
|---|---|
| Type | Description |
ApiHubDependenciesApiHubDependenciesClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
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 |
CreateDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Dependency |
The RPC response. |
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 |
CreateDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDependency |
A Task containing the RPC response. |
DeleteDependency(DeleteDependencyRequest, CallSettings)
public override void DeleteDependency(DeleteDependencyRequest request, CallSettings callSettings = null)Delete the dependency resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteDependencyAsync(DeleteDependencyRequest, CallSettings)
public override Task DeleteDependencyAsync(DeleteDependencyRequest request, CallSettings callSettings = null)Delete the dependency resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
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 |
GetDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Dependency |
The RPC response. |
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 |
GetDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDependency |
A Task containing the RPC response. |
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 |
ListDependenciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDependenciesResponseDependency |
A pageable sequence of Dependency resources. |
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 |
ListDependenciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDependenciesResponseDependency |
A pageable asynchronous sequence of Dependency resources. |
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 |
UpdateDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Dependency |
The RPC response. |
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 |
UpdateDependencyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDependency |
A Task containing the RPC response. |