Reference documentation and code samples for the Cloud Logging API class Google::Cloud::Logging::ResourceDescriptor.
ResourceDescriptor
Describes a type of monitored resource supported by Stackdriver Logging.
Each ResourceDescriptor has a type name, such as cloudsql_database,
gae_app, or gce_instance. It also specifies a set of labels that
must all be given values in a Resource instance to represent an actual
instance of the type.
ResourceDescriptor instances are read-only. You cannot create your own
instances, but you can list them with Project#resource_descriptors.
A detailed description of the monitored resource type, which is used
in documentation.
#labels
deflabels()->Array<LabelDescriptor>
A set of definitions of the labels that can be used to describe
instances of this monitored resource type. For example, Cloud SQL
databases must be labeled with their database_id and their region.