Service Usage V1 API - Class Google::Api::Monitoring::MonitoringDestination (v1.5.1)

Reference documentation and code samples for the Service Usage V1 API class Google::Api::Monitoring::MonitoringDestination.

Configuration of a specific monitoring destination (the producer project or the consumer project).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metrics

defmetrics()->::Array<::String>
Returns
  • (::Array<::String>) — Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.

#metrics=

defmetrics=(value)->::Array<::String>
Parameter
  • value (::Array<::String>) — Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
Returns
  • (::Array<::String>) — Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.

#monitored_resource

defmonitored_resource()->::String
Returns
  • (::String) — The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

#monitored_resource=

defmonitored_resource=(value)->::String
Parameter
  • value (::String) — The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.
Returns
  • (::String) — The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.