Class: Google::Api::MonitoredResourceMetadata

Inherits:
Object
  • Object
show all
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. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.

Defined Under Namespace

Classes: UserLabelsEntry

Instance Attribute Summary collapse

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, including "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 }.

Returns:

  • (::Google::Protobuf::Struct)

    Output only. Values for predefined system metadata labels. System labels are a kind of metadata extracted by Google, including "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 }
    


124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/api/monitored_resource.rb', line 124

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.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Output only. A map of user-defined metadata labels.



124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'proto_docs/google/api/monitored_resource.rb', line 124

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