[BindServiceMethod(typeof(Maintenance), "BindService")]
public abstract class Maintenance.MaintenanceBaseReference 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 |
GetResourceMaintenanceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListResourceMaintenancesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SummarizeMaintenancesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |