public sealed class MonitoredResourceMetadata : IMessage<MonitoredResourceMetadata>, IEquatable<MonitoredResourceMetadata>, IDeepCloneable<MonitoredResourceMetadata>, IBufferMessage, IMessage
Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
object. [MonitoredResource][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.
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMonitoredResourceMetadata\u003c/code\u003e class provides auxiliary metadata for \u003ccode\u003eMonitoredResource\u003c/code\u003e objects, containing information to uniquely identify a monitored resource instance.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used by Monitoring and Logging to store metadata extracted from cloud resources of various types.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMonitoredResourceMetadata\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with inheritance from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eSystemLabels\u003c/code\u003e for predefined system metadata and \u003ccode\u003eUserLabels\u003c/code\u003e for user-defined metadata labels, both of which are output-only.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods for cloning, calculating size, merging, comparing, and converting it into string.\u003c/p\u003e\n"]]],[],null,[]]