public sealed class StatefulPolicyPreservedStateNetworkIp : IMessage<StatefulPolicyPreservedStateNetworkIp>, IEquatable<StatefulPolicyPreservedStateNetworkIp>, IDeepCloneable<StatefulPolicyPreservedStateNetworkIp>, IBufferMessage, IMessage
These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted.
Check the AutoDelete enum for the list of possible values.
[[["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 available for \u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e is 3.6.0, with version 3.5.0 also being directly linked on the page.\u003c/p\u003e\n"],["\u003cp\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, as part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, in addition to inheriting members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e, the first is the default empty constructor, and the second constructor accepts another \u003ccode\u003eStatefulPolicyPreservedStateNetworkIp\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains an \u003ccode\u003eAutoDelete\u003c/code\u003e property, a string, that defines whether stateful IPs will be released during certain operations and if the IP reservation should be deleted when no longer in use, and there is a boolean \u003ccode\u003eHasAutoDelete\u003c/code\u003e to check if the property is set.\u003c/p\u003e\n"]]],[],null,[]]