[BindServiceMethod(typeof(UptimeCheckService), "BindService")]
public abstract class UptimeCheckService.UptimeCheckServiceBase
Reference documentation and code samples for the Google Cloud Monitoring v3 API class UptimeCheckService.UptimeCheckServiceBase.
Base class for server-side implementations of UptimeCheckService
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Methods
CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest, ServerCallContext)
public virtual Task<UptimeCheckConfig> CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest request, ServerCallContext context)
Creates a new Uptime check configuration.
Parameters | |
---|---|
Name | Description |
request | CreateUptimeCheckConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskUptimeCheckConfig | The response to send back to the client (wrapped by a task). |
DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest, ServerCallContext)
public virtual Task<Empty> DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, ServerCallContext context)
Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion.
Parameters | |
---|---|
Name | Description |
request | DeleteUptimeCheckConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty | The response to send back to the client (wrapped by a task). |
GetUptimeCheckConfig(GetUptimeCheckConfigRequest, ServerCallContext)
public virtual Task<UptimeCheckConfig> GetUptimeCheckConfig(GetUptimeCheckConfigRequest request, ServerCallContext context)
Gets a single Uptime check configuration.
Parameters | |
---|---|
Name | Description |
request | GetUptimeCheckConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskUptimeCheckConfig | The response to send back to the client (wrapped by a task). |
ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest, ServerCallContext)
public virtual Task<ListUptimeCheckConfigsResponse> ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, ServerCallContext context)
Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).
Parameters | |
---|---|
Name | Description |
request | ListUptimeCheckConfigsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListUptimeCheckConfigsResponse | The response to send back to the client (wrapped by a task). |
ListUptimeCheckIps(ListUptimeCheckIpsRequest, ServerCallContext)
public virtual Task<ListUptimeCheckIpsResponse> ListUptimeCheckIps(ListUptimeCheckIpsRequest request, ServerCallContext context)
Returns the list of IP addresses that checkers run from
Parameters | |
---|---|
Name | Description |
request | ListUptimeCheckIpsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListUptimeCheckIpsResponse | The response to send back to the client (wrapped by a task). |
UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest, ServerCallContext)
public virtual Task<UptimeCheckConfig> UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, ServerCallContext context)
Updates an Uptime check configuration. You can either replace the entire
configuration with a new one or replace only certain fields in the current
configuration by specifying the fields to be updated via updateMask
.
Returns the updated configuration.
Parameters | |
---|---|
Name | Description |
request | UpdateUptimeCheckConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskUptimeCheckConfig | The response to send back to the client (wrapped by a task). |