public sealed class SetLabelsVpnGatewayRequest : IMessage<SetLabelsVpnGatewayRequest>, IEquatable<SetLabelsVpnGatewayRequest>, IDeepCloneable<SetLabelsVpnGatewayRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SetLabelsVpnGatewayRequest.
A request message for VpnGateways.SetLabels. 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\u003eThis document provides reference documentation for the \u003ccode\u003eSetLabelsVpnGatewayRequest\u003c/code\u003e class in the Google Compute Engine v1 API, specifically within version 2.7.0, and outlines how to use it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetLabelsVpnGatewayRequest\u003c/code\u003e class is used to construct request messages for the \u003ccode\u003eVpnGateways.SetLabels\u003c/code\u003e method, allowing users to set labels on a VPN gateway, and it implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, \u003ccode\u003eRegionSetLabelsRequestResource\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, which are essential for constructing and sending the request to the Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the various versions of the Google Cloud Compute API, from version 1.0.0 to the latest version 3.6.0, with links to each version's documentation for \u003ccode\u003eSetLabelsVpnGatewayRequest\u003c/code\u003e, indicating the evolution of the class.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple ways you can construct this class, either through using the \u003ccode\u003eSetLabelsVpnGatewayRequest()\u003c/code\u003e method, or by passing in another \u003ccode\u003eSetLabelsVpnGatewayRequest\u003c/code\u003e to the constructor.\u003c/p\u003e\n"]]],[],null,[]]