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\u003eThis webpage provides reference documentation for the \u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e class within the Google Cloud Batch v1 API, specifically version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy\u003c/code\u003e class describes the network configurations for VM instances and is part of the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Batch.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt includes implementation details like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as inherited members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the class, one is a parameterless constructor and the second one is takes a \u003ccode\u003eNetworkPolicy\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy\u003c/code\u003e class includes a \u003ccode\u003eNetworkInterfaces\u003c/code\u003e property of type \u003ccode\u003eRepeatedField<AllocationPolicy.Types.NetworkInterface>\u003c/code\u003e, representing network configurations.\u003c/p\u003e\n"]]],[],null,[]]