public sealed class ResourceReference : IMessage<ResourceReference>, IEquatable<ResourceReference>, IDeepCloneable<ResourceReference>, IBufferMessage, IMessage
Defines a proto annotation that describes a string field that refers to
an API resource.
The resource type of a child collection that the annotated field
references. This is useful for annotating the parent field that
doesn't have a fixed resource type.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[[["The `ResourceReference` class in the `Google.Api.CommonProtos` assembly defines a proto annotation for string fields that refer to API resources."],["`ResourceReference` implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message handling, comparison, cloning, and buffered operations."],["The class provides constructors, including a default constructor and one that accepts another `ResourceReference` for creating copies."],["It has properties `ChildType` and `Type`, which define the resource type and the child collection type for fields referencing API resources."],["The `ResourceReference` class includes methods for calculating size, cloning, comparison, hashing, merging, and string representation."]]],[]]