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 available for the \u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e class within the Google Cloud Batch V1 API is version 2.13.0, and the current context is version 2.10.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAllocationPolicy.Types.NetworkPolicy\u003c/code\u003e is a class that describes network configurations for VM instances within the Google Cloud Batch V1 API, inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements the interfaces: \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is found within the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace and \u003ccode\u003eGoogle.Cloud.Batch.V1.dll\u003c/code\u003e assembly.\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, where the second one takes another \u003ccode\u003eNetworkPolicy\u003c/code\u003e as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy\u003c/code\u003e class contains the property \u003ccode\u003eNetworkInterfaces\u003c/code\u003e, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e of \u003ccode\u003eAllocationPolicy.Types.NetworkInterface\u003c/code\u003e and represents the network configurations.\u003c/p\u003e\n"]]],[],null,[]]