API hub v1 API - Class HostProjectRegistrationService.HostProjectRegistrationServiceBase (1.0.0-beta02)

[BindServiceMethod(typeof(HostProjectRegistrationService), "BindService")]
public abstract class HostProjectRegistrationService.HostProjectRegistrationServiceBase

Reference documentation and code samples for the API hub v1 API class HostProjectRegistrationService.HostProjectRegistrationServiceBase.

Base class for server-side implementations of HostProjectRegistrationService

Inheritance

object > HostProjectRegistrationService.HostProjectRegistrationServiceBase

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Methods

CreateHostProjectRegistration(CreateHostProjectRegistrationRequest, ServerCallContext)

public virtual Task<HostProjectRegistration> CreateHostProjectRegistration(CreateHostProjectRegistrationRequest request, ServerCallContext context)

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

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHostProjectRegistration

The response to send back to the client (wrapped by a task).

GetHostProjectRegistration(GetHostProjectRegistrationRequest, ServerCallContext)

public virtual Task<HostProjectRegistration> GetHostProjectRegistration(GetHostProjectRegistrationRequest request, ServerCallContext context)

Get a host project registration.

Parameters
Name Description
request GetHostProjectRegistrationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHostProjectRegistration

The response to send back to the client (wrapped by a task).

ListHostProjectRegistrations(ListHostProjectRegistrationsRequest, ServerCallContext)

public virtual Task<ListHostProjectRegistrationsResponse> ListHostProjectRegistrations(ListHostProjectRegistrationsRequest request, ServerCallContext context)

Lists host project registrations.

Parameters
Name Description
request ListHostProjectRegistrationsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListHostProjectRegistrationsResponse

The response to send back to the client (wrapped by a task).