Reference documentation and code samples for the Service Management 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
def metrics() -> ::Array<::String>
Returns
- (::Array<::String>) — Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
#metrics=
def metrics=(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 section.
Returns
- (::Array<::String>) — Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
#monitored_resource
def monitored_resource() -> ::String
Returns
- (::String) — The monitored resource type. The type must be defined in Service.monitored_resources section.
#monitored_resource=
def monitored_resource=(value) -> ::String
Parameter
- value (::String) — The monitored resource type. The type must be defined in Service.monitored_resources section.
Returns
- (::String) — The monitored resource type. The type must be defined in Service.monitored_resources section.