generated/google/api/monitored_resource.pb
library
Classes
-
MonitoredResource
-
An object representing a resource that can be used for monitoring, logging,
billing, or other purposes. Examples include virtual machine instances,
databases, and storage devices such as disks. The
type
field identifies a
google.api.MonitoredResourceDescriptor
object
that describes the resource's schema. Information in the labels
field
identifies the actual resource and its attributes according to the schema.
For example, a particular Compute Engine VM instance could be represented by
the following object, because the
google.api.MonitoredResourceDescriptor
for
"gce_instance"
has labels
"project_id"
, "instance_id"
and "zone"
:
-
MonitoredResourceDescriptor
-
An object that describes the schema of a
google.api.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.
-
MonitoredResourceMetadata
-
Auxiliary metadata for a
google.api.MonitoredResource
object. google.api.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.