Class: Google::Api::MonitoredResourceDescriptor
- Inherits:
-
Object
- Object
- Google::Api::MonitoredResourceDescriptor
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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.
-
#launch_stage ⇒ ::Google::Api::LaunchStage
Optional.
-
#name ⇒ ::String
Optional.
-
#type ⇒ ::String
Required.
Instance Attribute Details
#description ⇒ ::String
66 67 68 69 |
# File 'proto_docs/google/api/monitored_resource.rb', line 66 class MonitoredResourceDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_name ⇒ ::String
66 67 68 69 |
# File 'proto_docs/google/api/monitored_resource.rb', line 66 class MonitoredResourceDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#labels ⇒ ::Array<::Google::Api::LabelDescriptor>
66 67 68 69 |
# File 'proto_docs/google/api/monitored_resource.rb', line 66 class MonitoredResourceDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#launch_stage ⇒ ::Google::Api::LaunchStage
66 67 68 69 |
# File 'proto_docs/google/api/monitored_resource.rb', line 66 class MonitoredResourceDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
66 67 68 69 |
# File 'proto_docs/google/api/monitored_resource.rb', line 66 class MonitoredResourceDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::String
66 67 68 69 |
# File 'proto_docs/google/api/monitored_resource.rb', line 66 class MonitoredResourceDescriptor include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |