Interface ApiHubDependenciesGrpc.AsyncService (0.2.0)

public static interface ApiHubDependenciesGrpc.AsyncService

This service provides methods for various operations related to a Dependency in the API hub.

Methods

createDependency(CreateDependencyRequest request, StreamObserver<Dependency> responseObserver)

public default void createDependency(CreateDependencyRequest request, StreamObserver<Dependency> responseObserver)

Create a dependency between two entities in the API hub.

Parameters
Name Description
request CreateDependencyRequest
responseObserver io.grpc.stub.StreamObserver<Dependency>

deleteDependency(DeleteDependencyRequest request, StreamObserver<Empty> responseObserver)

public default void deleteDependency(DeleteDependencyRequest request, StreamObserver<Empty> responseObserver)

Delete the dependency resource.

Parameters
Name Description
request DeleteDependencyRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getDependency(GetDependencyRequest request, StreamObserver<Dependency> responseObserver)

public default void getDependency(GetDependencyRequest request, StreamObserver<Dependency> responseObserver)

Get details about a dependency resource in the API hub.

Parameters
Name Description
request GetDependencyRequest
responseObserver io.grpc.stub.StreamObserver<Dependency>

listDependencies(ListDependenciesRequest request, StreamObserver<ListDependenciesResponse> responseObserver)

public default void listDependencies(ListDependenciesRequest request, StreamObserver<ListDependenciesResponse> responseObserver)

List dependencies based on the provided filter and pagination parameters.

Parameters
Name Description
request ListDependenciesRequest
responseObserver io.grpc.stub.StreamObserver<ListDependenciesResponse>

updateDependency(UpdateDependencyRequest request, StreamObserver<Dependency> responseObserver)

public default void updateDependency(UpdateDependencyRequest request, StreamObserver<Dependency> responseObserver)

Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated:

  • description
Parameters
Name Description
request UpdateDependencyRequest
responseObserver io.grpc.stub.StreamObserver<Dependency>