public sealed class 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, with multiple previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eNetworkPolicy\u003c/code\u003e, within the Google.Cloud.Batch.V1 API, describes network configurations for VM instances.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor \u003ccode\u003eNetworkPolicy\u003c/code\u003e that takes another \u003ccode\u003eNetworkPolicy\u003c/code\u003e instance as a parameter, for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkInterfaces\u003c/code\u003e property, of type \u003ccode\u003eRepeatedField\u003c/code\u003e, is used for network configurations, allowing for the configuration of multiple network interfaces.\u003c/p\u003e\n"]]],[],null,[]]