Class MetricsServiceV2Grpc.MetricsServiceV2BlockingStub (3.14.1)

public static final class MetricsServiceV2Grpc.MetricsServiceV2BlockingStub extends AbstractBlockingStub<MetricsServiceV2Grpc.MetricsServiceV2BlockingStub>

Service for configuring logs-based metrics.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MetricsServiceV2Grpc.MetricsServiceV2BlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected MetricsServiceV2Grpc.MetricsServiceV2BlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MetricsServiceV2Grpc.MetricsServiceV2BlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createLogMetric(CreateLogMetricRequest request)

public LogMetric createLogMetric(CreateLogMetricRequest request)

Creates a logs-based metric.

Parameter
NameDescription
requestCreateLogMetricRequest
Returns
TypeDescription
LogMetric

deleteLogMetric(DeleteLogMetricRequest request)

public Empty deleteLogMetric(DeleteLogMetricRequest request)

Deletes a logs-based metric.

Parameter
NameDescription
requestDeleteLogMetricRequest
Returns
TypeDescription
Empty

getLogMetric(GetLogMetricRequest request)

public LogMetric getLogMetric(GetLogMetricRequest request)

Gets a logs-based metric.

Parameter
NameDescription
requestGetLogMetricRequest
Returns
TypeDescription
LogMetric

listLogMetrics(ListLogMetricsRequest request)

public ListLogMetricsResponse listLogMetrics(ListLogMetricsRequest request)

Lists logs-based metrics.

Parameter
NameDescription
requestListLogMetricsRequest
Returns
TypeDescription
ListLogMetricsResponse

updateLogMetric(UpdateLogMetricRequest request)

public LogMetric updateLogMetric(UpdateLogMetricRequest request)

Creates or updates a logs-based metric.

Parameter
NameDescription
requestUpdateLogMetricRequest
Returns
TypeDescription
LogMetric