[BindServiceMethod(typeof(Maintenance), "BindService")]
public abstract class Maintenance.MaintenanceBase
Reference documentation and code samples for the Maintenance v1beta API class Maintenance.MaintenanceBase.
Base class for server-side implementations of Maintenance
Namespace
Google.Cloud.Maintenance.Api.V1BetaAssembly
Google.Cloud.Maintenance.Api.V1Beta.dll
Methods
GetResourceMaintenance(GetResourceMaintenanceRequest, ServerCallContext)
public virtual Task<ResourceMaintenance> GetResourceMaintenance(GetResourceMaintenanceRequest request, ServerCallContext context)
Retrieve a single resource maintenance.
Parameters | |
---|---|
Name | Description |
request |
GetResourceMaintenanceRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskResourceMaintenance |
The response to send back to the client (wrapped by a task). |
ListResourceMaintenances(ListResourceMaintenancesRequest, ServerCallContext)
public virtual Task<ListResourceMaintenancesResponse> ListResourceMaintenances(ListResourceMaintenancesRequest request, ServerCallContext context)
Retrieve a collection of resource maintenances.
Parameters | |
---|---|
Name | Description |
request |
ListResourceMaintenancesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListResourceMaintenancesResponse |
The response to send back to the client (wrapped by a task). |
SummarizeMaintenances(SummarizeMaintenancesRequest, ServerCallContext)
public virtual Task<SummarizeMaintenancesResponse> SummarizeMaintenances(SummarizeMaintenancesRequest request, ServerCallContext context)
Retrieves the statistics of a specific maintenance.
Parameters | |
---|---|
Name | Description |
request |
SummarizeMaintenancesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskSummarizeMaintenancesResponse |
The response to send back to the client (wrapped by a task). |