Class: Google::Api::MonitoredResourceMetadata
- Inherits:
-
Object
- Object
- Google::Api::MonitoredResourceMetadata
- Defined in:
- lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb
Overview
Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Google Stackdriver Monitoring & Logging uses an ingestion pipeline to extract metadata for cloud resources of all types , and stores the metadata in this message.
Instance Attribute Summary collapse
-
#system_labels ⇒ Google::Protobuf::Struct
Output only.
-
#user_labels ⇒ Hash{String => String}
Output only.
Instance Attribute Details
#system_labels ⇒ Google::Protobuf::Struct
Returns Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google Stackdriver. Stackdriver determines what system labels are useful and how to obtain their values. Some examples: "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System label values can be only strings, Boolean values, or a list of strings. For example:
{ "name": "my-test-instance",
"security_group": ["a", "b", "c"],
"spot_instance": false }
103 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 103 class MonitoredResourceMetadata; end |
#user_labels ⇒ Hash{String => String}
Returns Output only. A map of user-defined metadata labels.
103 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 103 class MonitoredResourceMetadata; end |