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\u003eGoogle.Cloud.Compute.V1.SubnetworkSecondaryRange\u003c/code\u003e class is 3.6.0, with multiple prior versions available dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents a secondary IP range of a subnetwork within the Compute Engine v1 API and implements 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\u003eThe class includes properties like \u003ccode\u003eIpCidrRange\u003c/code\u003e, \u003ccode\u003eRangeName\u003c/code\u003e, and \u003ccode\u003eReservedInternalRange\u003c/code\u003e to define the characteristics of the secondary IP range, such as its address range and associated name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e class has public properties to verify whether or not the \u003ccode\u003eip_cidr_range\u003c/code\u003e, \u003ccode\u003erange_name\u003c/code\u003e, or \u003ccode\u003ereserved_internal_range\u003c/code\u003e fields are set or not.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors: a parameterless one and another constructor that takes in another \u003ccode\u003eSubnetworkSecondaryRange\u003c/code\u003e parameter to create a copy of it.\u003c/p\u003e\n"]]],[],null,[]]