Class: Google::Api::MonitoredResourceMetadata
- Inherits:
-
Object
- Object
- Google::Api::MonitoredResourceMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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.
Defined Under Namespace
Classes: UserLabelsEntry
Instance Attribute Summary collapse
-
#system_labels ⇒ ::Google::Protobuf::Struct
Output only.
-
#user_labels ⇒ ::Google::Protobuf::Map{::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 }.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'proto_docs/google/api/monitored_resource.rb', line 123 class MonitoredResourceMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#user_labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Output only. A map of user-defined metadata labels.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'proto_docs/google/api/monitored_resource.rb', line 123 class MonitoredResourceMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class UserLabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |