[BindServiceMethod(typeof(ApiHubDependencies), "BindService")]
public abstract class ApiHubDependencies.ApiHubDependenciesBaseReference documentation and code samples for the API hub v1 API class ApiHubDependencies.ApiHubDependenciesBase.
Base class for server-side implementations of ApiHubDependencies
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Methods
CreateDependency(CreateDependencyRequest, ServerCallContext)
public virtual Task<Dependency> CreateDependency(CreateDependencyRequest request, ServerCallContext context)Create a dependency between two entities in the API hub.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDependencyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDependency |
The response to send back to the client (wrapped by a task). |
DeleteDependency(DeleteDependencyRequest, ServerCallContext)
public virtual Task<Empty> DeleteDependency(DeleteDependencyRequest request, ServerCallContext context)Delete the dependency resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDependencyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetDependency(GetDependencyRequest, ServerCallContext)
public virtual Task<Dependency> GetDependency(GetDependencyRequest request, ServerCallContext context)Get details about a dependency resource in the API hub.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDependencyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDependency |
The response to send back to the client (wrapped by a task). |
ListDependencies(ListDependenciesRequest, ServerCallContext)
public virtual Task<ListDependenciesResponse> ListDependencies(ListDependenciesRequest request, ServerCallContext context)List dependencies based on the provided filter and pagination parameters.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDependenciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListDependenciesResponse |
The response to send back to the client (wrapped by a task). |
UpdateDependency(UpdateDependencyRequest, ServerCallContext)
public virtual Task<Dependency> UpdateDependency(UpdateDependencyRequest request, ServerCallContext context)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 received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDependency |
The response to send back to the client (wrapped by a task). |