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 \u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e class in the Compute Engine v1 API represents a secondary IP range within a subnetwork.\u003c/p\u003e\n"],["\u003cp\u003eThis class is available in multiple versions, with version 3.6.0 being the latest and the documentation includes versions back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eIt 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eIpCidrRange\u003c/code\u003e for defining the IP range and \u003ccode\u003eRangeName\u003c/code\u003e for naming the range, which is used when adding an alias IP range to a virtual machine.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e class one default, and the other takes another \u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e object to copy its properties.\u003c/p\u003e\n"]]],[],null,[]]