[BindServiceMethod(typeof(Services), "BindService")]
public abstract class ServicesBase
Base class for server-side implementations of Services
Namespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Methods
DeleteService(DeleteServiceRequest, ServerCallContext)
public virtual Task<Operation> DeleteService(DeleteServiceRequest request, ServerCallContext context)
Deletes the specified service and all enclosed versions.
Parameters | |
---|---|
Name | Description |
request | DeleteServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Google.LongRunning.Operation> | 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 the current configuration of the specified service.
Parameters | |
---|---|
Name | Description |
request | GetServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Service> | 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 all the services in the application.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListServicesResponse> | 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 the configuration of the specified service.
Parameters | |
---|---|
Name | Description |
request | UpdateServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Google.LongRunning.Operation> | The response to send back to the client (wrapped by a task). |