[BindServiceMethod(typeof(AppHub), "BindService")]
public abstract class AppHub.AppHubBaseReference documentation and code samples for the App Hub v1 API class AppHub.AppHubBase.
Base class for server-side implementations of AppHub
Namespace
Google.Cloud.AppHub.V1Assembly
Google.Cloud.AppHub.V1.dll
Methods
CreateApplication(CreateApplicationRequest, ServerCallContext)
public virtual Task<Operation> CreateApplication(CreateApplicationRequest request, ServerCallContext context)Creates an Application in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateApplicationRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
CreateService(CreateServiceRequest, ServerCallContext)
public virtual Task<Operation> CreateService(CreateServiceRequest request, ServerCallContext context)Creates a Service in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateServiceRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest, ServerCallContext)
public virtual Task<Operation> CreateServiceProjectAttachment(CreateServiceProjectAttachmentRequest request, ServerCallContext context)Attaches a service project to the host project.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateServiceProjectAttachmentRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
CreateWorkload(CreateWorkloadRequest, ServerCallContext)
public virtual Task<Operation> CreateWorkload(CreateWorkloadRequest request, ServerCallContext context)Creates a Workload in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateWorkloadRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
DeleteApplication(DeleteApplicationRequest, ServerCallContext)
public virtual Task<Operation> DeleteApplication(DeleteApplicationRequest request, ServerCallContext context)Deletes an Application in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteApplicationRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
DeleteService(DeleteServiceRequest, ServerCallContext)
public virtual Task<Operation> DeleteService(DeleteServiceRequest request, ServerCallContext context)Deletes a Service from an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteServiceRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest, ServerCallContext)
public virtual Task<Operation> DeleteServiceProjectAttachment(DeleteServiceProjectAttachmentRequest request, ServerCallContext context)Deletes a service project attachment.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteServiceProjectAttachmentRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
DeleteWorkload(DeleteWorkloadRequest, ServerCallContext)
public virtual Task<Operation> DeleteWorkload(DeleteWorkloadRequest request, ServerCallContext context)Deletes a Workload from an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteWorkloadRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest, ServerCallContext)
public virtual Task<DetachServiceProjectAttachmentResponse> DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest request, ServerCallContext context)Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.
| Parameters | |
|---|---|
| Name | Description | 
| request | DetachServiceProjectAttachmentRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskDetachServiceProjectAttachmentResponse | The response to send back to the client (wrapped by a task). | 
GetApplication(GetApplicationRequest, ServerCallContext)
public virtual Task<Application> GetApplication(GetApplicationRequest request, ServerCallContext context)Gets an Application in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetApplicationRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskApplication | The response to send back to the client (wrapped by a task). | 
GetDiscoveredService(GetDiscoveredServiceRequest, ServerCallContext)
public virtual Task<DiscoveredService> GetDiscoveredService(GetDiscoveredServiceRequest request, ServerCallContext context)Gets a Discovered Service in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetDiscoveredServiceRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskDiscoveredService | The response to send back to the client (wrapped by a task). | 
GetDiscoveredWorkload(GetDiscoveredWorkloadRequest, ServerCallContext)
public virtual Task<DiscoveredWorkload> GetDiscoveredWorkload(GetDiscoveredWorkloadRequest request, ServerCallContext context)Gets a Discovered Workload in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetDiscoveredWorkloadRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskDiscoveredWorkload | The response to send back to the client (wrapped by a task). | 
GetService(GetServiceRequest, ServerCallContext)
public virtual Task<Service> GetService(GetServiceRequest request, ServerCallContext context)Gets a Service in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetServiceRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskService | The response to send back to the client (wrapped by a task). | 
GetServiceProjectAttachment(GetServiceProjectAttachmentRequest, ServerCallContext)
public virtual Task<ServiceProjectAttachment> GetServiceProjectAttachment(GetServiceProjectAttachmentRequest request, ServerCallContext context)Gets a service project attachment.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetServiceProjectAttachmentRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskServiceProjectAttachment | The response to send back to the client (wrapped by a task). | 
GetWorkload(GetWorkloadRequest, ServerCallContext)
public virtual Task<Workload> GetWorkload(GetWorkloadRequest request, ServerCallContext context)Gets a Workload in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetWorkloadRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskWorkload | The response to send back to the client (wrapped by a task). | 
ListApplications(ListApplicationsRequest, ServerCallContext)
public virtual Task<ListApplicationsResponse> ListApplications(ListApplicationsRequest request, ServerCallContext context)Lists Applications in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListApplicationsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskListApplicationsResponse | The response to send back to the client (wrapped by a task). | 
ListDiscoveredServices(ListDiscoveredServicesRequest, ServerCallContext)
public virtual Task<ListDiscoveredServicesResponse> ListDiscoveredServices(ListDiscoveredServicesRequest request, ServerCallContext context)Lists Discovered Services that can be added to an Application in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListDiscoveredServicesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskListDiscoveredServicesResponse | The response to send back to the client (wrapped by a task). | 
ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest, ServerCallContext)
public virtual Task<ListDiscoveredWorkloadsResponse> ListDiscoveredWorkloads(ListDiscoveredWorkloadsRequest request, ServerCallContext context)Lists Discovered Workloads that can be added to an Application in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListDiscoveredWorkloadsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskListDiscoveredWorkloadsResponse | The response to send back to the client (wrapped by a task). | 
ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest, ServerCallContext)
public virtual Task<ListServiceProjectAttachmentsResponse> ListServiceProjectAttachments(ListServiceProjectAttachmentsRequest request, ServerCallContext context)Lists service projects attached to the host project.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListServiceProjectAttachmentsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskListServiceProjectAttachmentsResponse | The response to send back to the client (wrapped by a task). | 
ListServices(ListServicesRequest, ServerCallContext)
public virtual Task<ListServicesResponse> ListServices(ListServicesRequest request, ServerCallContext context)Lists Services in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListServicesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskListServicesResponse | The response to send back to the client (wrapped by a task). | 
ListWorkloads(ListWorkloadsRequest, ServerCallContext)
public virtual Task<ListWorkloadsResponse> ListWorkloads(ListWorkloadsRequest request, ServerCallContext context)Lists Workloads in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListWorkloadsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskListWorkloadsResponse | The response to send back to the client (wrapped by a task). | 
LookupDiscoveredService(LookupDiscoveredServiceRequest, ServerCallContext)
public virtual Task<LookupDiscoveredServiceResponse> LookupDiscoveredService(LookupDiscoveredServiceRequest request, ServerCallContext context)Lists a Discovered Service in a host project and location, with a given resource URI.
| Parameters | |
|---|---|
| Name | Description | 
| request | LookupDiscoveredServiceRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskLookupDiscoveredServiceResponse | The response to send back to the client (wrapped by a task). | 
LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest, ServerCallContext)
public virtual Task<LookupDiscoveredWorkloadResponse> LookupDiscoveredWorkload(LookupDiscoveredWorkloadRequest request, ServerCallContext context)Lists a Discovered Workload in a host project and location, with a given resource URI.
| Parameters | |
|---|---|
| Name | Description | 
| request | LookupDiscoveredWorkloadRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskLookupDiscoveredWorkloadResponse | The response to send back to the client (wrapped by a task). | 
LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest, ServerCallContext)
public virtual Task<LookupServiceProjectAttachmentResponse> LookupServiceProjectAttachment(LookupServiceProjectAttachmentRequest request, ServerCallContext context)Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.
| Parameters | |
|---|---|
| Name | Description | 
| request | LookupServiceProjectAttachmentRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskLookupServiceProjectAttachmentResponse | The response to send back to the client (wrapped by a task). | 
UpdateApplication(UpdateApplicationRequest, ServerCallContext)
public virtual Task<Operation> UpdateApplication(UpdateApplicationRequest request, ServerCallContext context)Updates an Application in a host project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateApplicationRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
UpdateService(UpdateServiceRequest, ServerCallContext)
public virtual Task<Operation> UpdateService(UpdateServiceRequest request, ServerCallContext context)Updates a Service in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateServiceRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
UpdateWorkload(UpdateWorkloadRequest, ServerCallContext)
public virtual Task<Operation> UpdateWorkload(UpdateWorkloadRequest request, ServerCallContext context)Updates a Workload in an Application.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateWorkloadRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). |