Interface HostProjectRegistrationServiceGrpc.AsyncService (0.1.0)

public static interface HostProjectRegistrationServiceGrpc.AsyncService

This service is used for managing the host project registrations.

Methods

createHostProjectRegistration(CreateHostProjectRegistrationRequest request, StreamObserver<HostProjectRegistration> responseObserver)

public default void createHostProjectRegistration(CreateHostProjectRegistrationRequest request, StreamObserver<HostProjectRegistration> responseObserver)

Create a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host project. A project can be registered as a host project only once. Subsequent register calls for the same project will fail.

Parameters
Name Description
request CreateHostProjectRegistrationRequest
responseObserver io.grpc.stub.StreamObserver<HostProjectRegistration>

getHostProjectRegistration(GetHostProjectRegistrationRequest request, StreamObserver<HostProjectRegistration> responseObserver)

public default void getHostProjectRegistration(GetHostProjectRegistrationRequest request, StreamObserver<HostProjectRegistration> responseObserver)

Get a host project registration.

Parameters
Name Description
request GetHostProjectRegistrationRequest
responseObserver io.grpc.stub.StreamObserver<HostProjectRegistration>

listHostProjectRegistrations(ListHostProjectRegistrationsRequest request, StreamObserver<ListHostProjectRegistrationsResponse> responseObserver)

public default void listHostProjectRegistrations(ListHostProjectRegistrationsRequest request, StreamObserver<ListHostProjectRegistrationsResponse> responseObserver)

Lists host project registrations.

Parameters
Name Description
request ListHostProjectRegistrationsRequest
responseObserver io.grpc.stub.StreamObserver<ListHostProjectRegistrationsResponse>