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 provided content details the \u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e class within the Google Cloud Batch v1 API, focusing on its structure and available versions.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to define VM instance network configurations within the Batch service and is part of the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions ranging from 1.0.0 to the latest 2.13.0, allowing users to navigate to the documentation of specific versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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 it has the \u003ccode\u003eNetworkInterfaces\u003c/code\u003e property that is a list of \u003ccode\u003eAllocationPolicy.Types.NetworkInterface\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy\u003c/code\u003e class has two constructors \u003ccode\u003eNetworkPolicy()\u003c/code\u003e and \u003ccode\u003eNetworkPolicy(AllocationPolicy.Types.NetworkPolicy other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]