Class MetricsServiceV2Grpc.MetricsServiceV2BlockingStub (3.17.1)

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

A stub to allow clients to do synchronous rpc calls to service MetricsServiceV2.

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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateLogMetricRequest
Returns
Type Description
LogMetric

deleteLogMetric(DeleteLogMetricRequest request)

public Empty deleteLogMetric(DeleteLogMetricRequest request)

Deletes a logs-based metric.

Parameter
Name Description
request DeleteLogMetricRequest
Returns
Type Description
Empty

getLogMetric(GetLogMetricRequest request)

public LogMetric getLogMetric(GetLogMetricRequest request)

Gets a logs-based metric.

Parameter
Name Description
request GetLogMetricRequest
Returns
Type Description
LogMetric

listLogMetrics(ListLogMetricsRequest request)

public ListLogMetricsResponse listLogMetrics(ListLogMetricsRequest request)

Lists logs-based metrics.

Parameter
Name Description
request ListLogMetricsRequest
Returns
Type Description
ListLogMetricsResponse

updateLogMetric(UpdateLogMetricRequest request)

public LogMetric updateLogMetric(UpdateLogMetricRequest request)

Creates or updates a logs-based metric.

Parameter
Name Description
request UpdateLogMetricRequest
Returns
Type Description
LogMetric