Method: Google::Api::MonitoredResourceMetadata#system_labels

Defined in:
proto_docs/google/api/monitored_resource.rb

#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 }
    
[View source]

131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'proto_docs/google/api/monitored_resource.rb', line 131

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