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 Google Cloud Network Connectivity v1 API, with the latest being version 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyBasedRoute.Types.VirtualMachine\u003c/code\u003e class defines VM instances to which a policy-based route applies and is implemented through multiple 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 class can be constructed using either a default constructor \u003ccode\u003eVirtualMachine()\u003c/code\u003e or by copying from an existing instance using \u003ccode\u003eVirtualMachine(PolicyBasedRoute.Types.VirtualMachine other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTags\u003c/code\u003e property of the class is a list of VM instance tags, and if any of the specified tags are matched on an instance, then that instance will install the policy-based route.\u003c/p\u003e\n"],["\u003cp\u003eThe provided documentation also includes a list of available versions for this feature, ranging from version 1.0.0 up to the latest 2.9.0.\u003c/p\u003e\n"]]],[],null,[]]