Class HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceBlockingStub (0.2.0)

public static final class HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceBlockingStub extends AbstractBlockingStub<HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service HostProjectRegistrationService.

This service is used for managing the host project registrations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
HostProjectRegistrationServiceGrpc.HostProjectRegistrationServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createHostProjectRegistration(CreateHostProjectRegistrationRequest request)

public HostProjectRegistration createHostProjectRegistration(CreateHostProjectRegistrationRequest request)

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.

Parameter
Name Description
request CreateHostProjectRegistrationRequest
Returns
Type Description
HostProjectRegistration

getHostProjectRegistration(GetHostProjectRegistrationRequest request)

public HostProjectRegistration getHostProjectRegistration(GetHostProjectRegistrationRequest request)

Get a host project registration.

Parameter
Name Description
request GetHostProjectRegistrationRequest
Returns
Type Description
HostProjectRegistration

listHostProjectRegistrations(ListHostProjectRegistrationsRequest request)

public ListHostProjectRegistrationsResponse listHostProjectRegistrations(ListHostProjectRegistrationsRequest request)

Lists host project registrations.

Parameter
Name Description
request ListHostProjectRegistrationsRequest
Returns
Type Description
ListHostProjectRegistrationsResponse