The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
[[["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-08 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eHostRule\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, which is used for defining host-matching rules in URL maps.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, with a range of versions from 1.0.0 up to 3.6.0 listed for reference.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHostRule\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eHostRule\u003c/code\u003e class include \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eHasDescription\u003c/code\u003e, \u003ccode\u003eHasPathMatcher\u003c/code\u003e, \u003ccode\u003eHosts\u003c/code\u003e, and \u003ccode\u003ePathMatcher\u003c/code\u003e, allowing for configuration of host matching and path routing.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHostRule\u003c/code\u003e can be created using two constructors, one default constructor and one that takes another HostRule as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,[]]