public sealed class PolicyBasedRoute.Types.VirtualMachine : IMessage<PolicyBasedRoute.Types.VirtualMachine>, IEquatable<PolicyBasedRoute.Types.VirtualMachine>, IDeepCloneable<PolicyBasedRoute.Types.VirtualMachine>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class PolicyBasedRoute.Types.VirtualMachine.
VM instances to which this policy based route applies to.
Optional. A list of VM instance tags to which this policy based route
applies to. VM instances that have ANY of tags specified here will
install this PBR.
[[["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 document provides reference documentation for the \u003ccode\u003ePolicyBasedRoute.Types.VirtualMachine\u003c/code\u003e class within the Network Connectivity v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVirtualMachine\u003c/code\u003e class represents VM instances to which a policy-based route applies, and it is part of the \u003ccode\u003eGoogle.Cloud.NetworkConnectivity.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is version 2.9.0, however the current selected version of this webpage is version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVirtualMachine\u003c/code\u003e class 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVirtualMachine\u003c/code\u003e class has a \u003ccode\u003eTags\u003c/code\u003e property, which is a list of VM instance tags that determine which instances the policy-based route applies to.\u003c/p\u003e\n"]]],[],null,[]]