[BindServiceMethod(typeof(ApiHubDependencies), "BindService")]
public abstract class ApiHubDependencies.ApiHubDependenciesBase
Reference 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 |
CreateDependencyRequest The request received from the client. |
context |
ServerCallContext The 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 |
DeleteDependencyRequest The request received from the client. |
context |
ServerCallContext The 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 |
GetDependencyRequest The request received from the client. |
context |
ServerCallContext The 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 |
ListDependenciesRequest The request received from the client. |
context |
ServerCallContext The 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 |
UpdateDependencyRequest The request received from the client. |
context |
ServerCallContext The 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). |