public sealed class EnableXpnHostProjectRequest : IMessage<EnableXpnHostProjectRequest>, IEquatable<EnableXpnHostProjectRequest>, IDeepCloneable<EnableXpnHostProjectRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class EnableXpnHostProjectRequest.
A request message for Projects.EnableXpnHost. See the method description for details.
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
[[["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\u003eThe latest version of the \u003ccode\u003eEnableXpnHostProjectRequest\u003c/code\u003e class is 3.6.0, with multiple previous versions available for reference, ranging from 1.0.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, and is used for sending requests to enable an XPN host project in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableXpnHostProjectRequest\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities like message handling, equality checking, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableXpnHostProjectRequest\u003c/code\u003e class has properties such as \u003ccode\u003eHasRequestId\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e, allowing users to set project IDs and request IDs for tracking and managing requests, where \u003ccode\u003eRequestId\u003c/code\u003e has to be a valid UUID.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eEnableXpnHostProjectRequest\u003c/code\u003e class, one being the default and the other allowing for the construction from an existing \u003ccode\u003eEnableXpnHostProjectRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]