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 v1alpha 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 1.0.0-alpha31, part of the Batch v1alpha API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkPolicy\u003c/code\u003e describes network configurations for VM instances and is found within the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \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 has two constructors: a default \u003ccode\u003eNetworkPolicy()\u003c/code\u003e and a copy constructor \u003ccode\u003eNetworkPolicy(NetworkPolicy other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkPolicy\u003c/code\u003e contains a \u003ccode\u003eNetworkInterfaces\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e for network configurations.\u003c/p\u003e\n"]]],[],null,[]]