public sealed class GuestAttributes : IMessage<GuestAttributes>, IEquatable<GuestAttributes>, IDeepCloneable<GuestAttributes>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class GuestAttributes.
[[["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-08 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eGuestAttributes\u003c/code\u003e class within the Google Compute Engine v1 API, with the latest version being 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGuestAttributes\u003c/code\u003e class represents an entry for guest attributes in the Compute Engine API, implementing multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eGuestAttributes\u003c/code\u003e class include \u003ccode\u003eKind\u003c/code\u003e, \u003ccode\u003eQueryPath\u003c/code\u003e, \u003ccode\u003eSelfLink\u003c/code\u003e, \u003ccode\u003eVariableKey\u003c/code\u003e, and \u003ccode\u003eVariableValue\u003c/code\u003e, allowing for querying and accessing guest attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating new \u003ccode\u003eGuestAttributes\u003c/code\u003e instances, including one that copies from an existing instance.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation also provides an overview of past versions of the \u003ccode\u003eGuestAttributes\u003c/code\u003e class, back to version 1.0.0, alongside the latest version.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class GuestAttributes (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.GuestAttributes)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.GuestAttributes) \n\n public sealed class GuestAttributes : IMessage\u003cGuestAttributes\u003e, IEquatable\u003cGuestAttributes\u003e, IDeepCloneable\u003cGuestAttributes\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Compute Engine v1 API class GuestAttributes.\n\nA guest attributes entry. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GuestAttributes \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GuestAttributes](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GuestAttributes), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GuestAttributes](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GuestAttributes), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GuestAttributes](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GuestAttributes), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nConstructors\n------------\n\n### GuestAttributes()\n\n public GuestAttributes()\n\n### GuestAttributes(GuestAttributes)\n\n public GuestAttributes(GuestAttributes other)\n\nProperties\n----------\n\n### HasKind\n\n public bool HasKind { get; }\n\nGets whether the \"kind\" field is set\n\n### HasQueryPath\n\n public bool HasQueryPath { get; }\n\nGets whether the \"query_path\" field is set\n\n### HasSelfLink\n\n public bool HasSelfLink { get; }\n\nGets whether the \"self_link\" field is set\n\n### HasVariableKey\n\n public bool HasVariableKey { get; }\n\nGets whether the \"variable_key\" field is set\n\n### HasVariableValue\n\n public bool HasVariableValue { get; }\n\nGets whether the \"variable_value\" field is set\n\n### Kind\n\n public string Kind { get; set; }\n\n\\[Output Only\\] Type of the resource. Always compute#guestAttributes for guest attributes entry.\n\n### QueryPath\n\n public string QueryPath { get; set; }\n\nThe path to be queried. This can be the default namespace ('') or a nested namespace ('/') or a specified key ('/').\n\n### QueryValue\n\n public GuestAttributesValue QueryValue { get; set; }\n\n\\[Output Only\\] The value of the requested queried path.\n\n### SelfLink\n\n public string SelfLink { get; set; }\n\n\\[Output Only\\] Server-defined URL for this resource.\n\n### VariableKey\n\n public string VariableKey { get; set; }\n\nThe key to search for.\n\n### VariableValue\n\n public string VariableValue { get; set; }\n\n\\[Output Only\\] The value found for the requested key."]]