public sealed class AllocationPolicy.Types.NetworkPolicy : IMessage<AllocationPolicy.Types.NetworkPolicy>, IEquatable<AllocationPolicy.Types.NetworkPolicy>, IDeepCloneable<AllocationPolicy.Types.NetworkPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.NetworkPolicy.
NetworkPolicy describes VM instance network configurations.
[[["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-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e class is 2.13.0, as part of the Google Cloud Batch V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e, is used to define network configurations for VM instances, and it implements several 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\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and has properties such as \u003ccode\u003eNetworkInterfaces\u003c/code\u003e, which is of type \u003ccode\u003eRepeatedField\u003c/code\u003e and represents the network configurations.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple previous versions available, ranging from 1.0.0 to 2.12.0, with each link redirecting to specific documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy\u003c/code\u003e class contains two constructors, one default and another accepting an existing \u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e object as input.\u003c/p\u003e\n"]]],[],null,[]]