@Generated("by gapic-generator-java")
Package com.google.monitoring.metricsscope.v1
A client to Cloud Monitoring API
The interfaces provided are listed below, along with usage samples.
======================= MetricsScopesClient =======================
Service Description: Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.
Sample for MetricsScopesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (MetricsScopesClient metricsScopesClient = MetricsScopesClient.create()) {
MetricsScopeName name = MetricsScopeName.of("[METRICS_SCOPE]");
MetricsScope response = metricsScopesClient.getMetricsScope(name);
}
-
Interface Summary Interface Description CreateMonitoredProjectRequestOrBuilder DeleteMonitoredProjectRequestOrBuilder GetMetricsScopeRequestOrBuilder ListMetricsScopesByMonitoredProjectRequestOrBuilder ListMetricsScopesByMonitoredProjectResponseOrBuilder MetricsScopeOrBuilder MetricsScopesGrpc.AsyncService Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.MonitoredProjectOrBuilder OperationMetadataOrBuilder -
Class Summary Class Description CreateMonitoredProjectRequest Request for the `CreateMonitoredProject` method.CreateMonitoredProjectRequest.Builder Request for the `CreateMonitoredProject` method.DeleteMonitoredProjectRequest Request for the `DeleteMonitoredProject` method.DeleteMonitoredProjectRequest.Builder Request for the `DeleteMonitoredProject` method.GetMetricsScopeRequest Request for the `GetMetricsScope` method.GetMetricsScopeRequest.Builder Request for the `GetMetricsScope` method.ListMetricsScopesByMonitoredProjectRequest Request for the `ListMetricsScopesByMonitoredProject` method.ListMetricsScopesByMonitoredProjectRequest.Builder Request for the `ListMetricsScopesByMonitoredProject` method.ListMetricsScopesByMonitoredProjectResponse Response for the `ListMetricsScopesByMonitoredProject` method.ListMetricsScopesByMonitoredProjectResponse.Builder Response for the `ListMetricsScopesByMonitoredProject` method.MetricsScope Represents a [Metrics Scope](https://cloud.google.com/monitoring/settings#concept-scope) in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.MetricsScope.Builder Represents a [Metrics Scope](https://cloud.google.com/monitoring/settings#concept-scope) in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.MetricsScopeName MetricsScopeName.Builder Builder for locations/global/metricsScope/{metrics_scope}.MetricsScopeProto MetricsScopesClient Service Description: Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.MetricsScopesGrpc Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.MetricsScopesGrpc.MetricsScopesBlockingStub A stub to allow clients to do synchronous rpc calls to service MetricsScopes.MetricsScopesGrpc.MetricsScopesFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service MetricsScopes.MetricsScopesGrpc.MetricsScopesImplBase Base class for the server implementation of the service MetricsScopes.MetricsScopesGrpc.MetricsScopesStub A stub to allow clients to do asynchronous rpc calls to service MetricsScopes.MetricsScopesProto MetricsScopesSettings Settings class to configure an instance ofMetricsScopesClient
.MetricsScopesSettings.Builder Builder for MetricsScopesSettings.MonitoredProject A [project being monitored](https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a `Metrics Scope`.MonitoredProject.Builder A [project being monitored](https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a `Metrics Scope`.MonitoredProjectName MonitoredProjectName.Builder Builder for locations/global/metricsScopes/{metrics_scope}/projects/{project}.OperationMetadata Contains metadata for longrunning operation for the edit Metrics Scope endpoints.OperationMetadata.Builder Contains metadata for longrunning operation for the edit Metrics Scope endpoints. -
Enum Summary Enum Description OperationMetadata.State Batch operation states.