public sealed class SubnetworkSecondaryRange : IMessage<SubnetworkSecondaryRange>, IEquatable<SubnetworkSecondaryRange>, IDeepCloneable<SubnetworkSecondaryRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SubnetworkSecondaryRange.
The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.
[[["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\u003eSubnetworkSecondaryRange\u003c/code\u003e class in the Compute Engine v1 API is 3.6.0, and documentation is available for versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e represents a secondary IP range of a subnetwork and implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has three properties that can be set: \u003ccode\u003eIpCidrRange\u003c/code\u003e specifies the IP address range for the subnetwork, \u003ccode\u003eRangeName\u003c/code\u003e gives the subnetwork a unique name, and \u003ccode\u003eReservedInternalRange\u003c/code\u003e gives a URL to a specified reserved internal range.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes properties \u003ccode\u003eHasIpCidrRange\u003c/code\u003e, \u003ccode\u003eHasRangeName\u003c/code\u003e, and \u003ccode\u003eHasReservedInternalRange\u003c/code\u003e which are used to check if the respective field has been set.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one that's empty and one that takes another \u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]