Service Usage V1 API - Class Google::Api::Monitoring::MonitoringDestination (v0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.