[BindServiceMethod(typeof(MetricsServiceV2), "BindService")]
public abstract class MetricsServiceV2BaseBase class for server-side implementations of MetricsServiceV2
Inheritance
System.Object > MetricsServiceV2.MetricsServiceV2BaseNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Methods
CreateLogMetric(CreateLogMetricRequest, ServerCallContext)
public virtual Task<LogMetric> CreateLogMetric(CreateLogMetricRequest request, ServerCallContext context)Creates a logs-based metric.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateLogMetricRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<LogMetric> | The response to send back to the client (wrapped by a task). | 
DeleteLogMetric(DeleteLogMetricRequest, ServerCallContext)
public virtual Task<Empty> DeleteLogMetric(DeleteLogMetricRequest request, ServerCallContext context)Deletes a logs-based metric.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteLogMetricRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Empty> | The response to send back to the client (wrapped by a task). | 
GetLogMetric(GetLogMetricRequest, ServerCallContext)
public virtual Task<LogMetric> GetLogMetric(GetLogMetricRequest request, ServerCallContext context)Gets a logs-based metric.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetLogMetricRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<LogMetric> | The response to send back to the client (wrapped by a task). | 
ListLogMetrics(ListLogMetricsRequest, ServerCallContext)
public virtual Task<ListLogMetricsResponse> ListLogMetrics(ListLogMetricsRequest request, ServerCallContext context)Lists logs-based metrics.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListLogMetricsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<ListLogMetricsResponse> | The response to send back to the client (wrapped by a task). | 
UpdateLogMetric(UpdateLogMetricRequest, ServerCallContext)
public virtual Task<LogMetric> UpdateLogMetric(UpdateLogMetricRequest request, ServerCallContext context)Creates or updates a logs-based metric.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateLogMetricRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<LogMetric> | The response to send back to the client (wrapped by a task). |