- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class MetricServiceGrpc.MetricServiceBlockingStub extends AbstractBlockingStub<MetricServiceGrpc.MetricServiceBlockingStub>
Manages metric descriptors, monitored resource descriptors, and time series data.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MetricServiceGrpc.MetricServiceBlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected MetricServiceGrpc.MetricServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
MetricServiceGrpc.MetricServiceBlockingStub |
createMetricDescriptor(CreateMetricDescriptorRequest request)
public MetricDescriptor createMetricDescriptor(CreateMetricDescriptorRequest request)
Creates a new metric descriptor. The creation is executed asynchronously and callers may check the returned operation to track its progress. User-created metric descriptors define custom metrics.
Parameter | |
---|---|
Name | Description |
request | CreateMetricDescriptorRequest |
Returns | |
---|---|
Type | Description |
com.google.api.MetricDescriptor |
createServiceTimeSeries(CreateTimeSeriesRequest request)
public Empty createServiceTimeSeries(CreateTimeSeriesRequest request)
Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics. This method is only for use by Google Cloud services. Use projects.timeSeries.create instead.
Parameter | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest |
Returns | |
---|---|
Type | Description |
Empty |
createTimeSeries(CreateTimeSeriesRequest request)
public Empty createTimeSeries(CreateTimeSeriesRequest request)
Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.
Parameter | |
---|---|
Name | Description |
request | CreateTimeSeriesRequest |
Returns | |
---|---|
Type | Description |
Empty |
deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
public Empty deleteMetricDescriptor(DeleteMetricDescriptorRequest request)
Deletes a metric descriptor. Only user-created custom metrics can be deleted.
Parameter | |
---|---|
Name | Description |
request | DeleteMetricDescriptorRequest |
Returns | |
---|---|
Type | Description |
Empty |
getMetricDescriptor(GetMetricDescriptorRequest request)
public MetricDescriptor getMetricDescriptor(GetMetricDescriptorRequest request)
Gets a single metric descriptor. This method does not require a Workspace.
Parameter | |
---|---|
Name | Description |
request | GetMetricDescriptorRequest |
Returns | |
---|---|
Type | Description |
com.google.api.MetricDescriptor |
getMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest request)
public MonitoredResourceDescriptor getMonitoredResourceDescriptor(GetMonitoredResourceDescriptorRequest request)
Gets a single monitored resource descriptor. This method does not require a Workspace.
Parameter | |
---|---|
Name | Description |
request | GetMonitoredResourceDescriptorRequest |
Returns | |
---|---|
Type | Description |
com.google.api.MonitoredResourceDescriptor |
listMetricDescriptors(ListMetricDescriptorsRequest request)
public ListMetricDescriptorsResponse listMetricDescriptors(ListMetricDescriptorsRequest request)
Lists metric descriptors that match a filter. This method does not require a Workspace.
Parameter | |
---|---|
Name | Description |
request | ListMetricDescriptorsRequest |
Returns | |
---|---|
Type | Description |
ListMetricDescriptorsResponse |
listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
public ListMonitoredResourceDescriptorsResponse listMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest request)
Lists monitored resource descriptors that match a filter. This method does not require a Workspace.
Parameter | |
---|---|
Name | Description |
request | ListMonitoredResourceDescriptorsRequest |
Returns | |
---|---|
Type | Description |
ListMonitoredResourceDescriptorsResponse |
listTimeSeries(ListTimeSeriesRequest request)
public ListTimeSeriesResponse listTimeSeries(ListTimeSeriesRequest request)
Lists time series that match a filter. This method does not require a Workspace.
Parameter | |
---|---|
Name | Description |
request | ListTimeSeriesRequest |
Returns | |
---|---|
Type | Description |
ListTimeSeriesResponse |