Class: Google::Api::MonitoredResourceDescriptor
- Inherits:
-
Object
- Object
- Google::Api::MonitoredResourceDescriptor
- Defined in:
- lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb
Overview
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of +"gce_instance"+ and specifies the use of the labels +"instance_id"+ and +"zone"+ to identify particular VM instances.
Different APIs can support different monitored resource types. APIs generally provide a +list+ method that returns the monitored resource descriptors used by the API.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#labels ⇒ Array<Google::Api::LabelDescriptor>
Required.
-
#name ⇒ String
Optional.
-
#type ⇒ String
Required.
Instance Attribute Details
#description ⇒ String
54 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 54 class MonitoredResourceDescriptor; end |
#display_name ⇒ String
54 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 54 class MonitoredResourceDescriptor; end |
#labels ⇒ Array<Google::Api::LabelDescriptor>
54 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 54 class MonitoredResourceDescriptor; end |
#name ⇒ String
54 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 54 class MonitoredResourceDescriptor; end |
#type ⇒ String
54 |
# File 'lib/google/cloud/logging/v2/doc/google/api/monitored_resource.rb', line 54 class MonitoredResourceDescriptor; end |