@@ -130,6 +130,15 @@ examples:
130
130
skip_docs : true
131
131
skip_test : true # Similar to other samples
132
132
min_version : beta
133
+ - !ruby/object:Provider::Terraform::Examples
134
+ name : " region_url_map_path_template_match"
135
+ primary_resource_id : " urlmap"
136
+ vars :
137
+ url_map_name : " urlmap"
138
+ home_backend_service_name : " home-service"
139
+ cart_backend_service_name : " cart-service"
140
+ user_backend_service_name : " user-service"
141
+ health_check_name : " health-check"
133
142
parameters :
134
143
- !ruby/object:Api::Type::ResourceRef
135
144
name : ' region'
@@ -558,6 +567,18 @@ properties:
558
567
and anchor supplied with the original URL. For regular expression grammar please
559
568
see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch,
560
569
fullPathMatch or regexMatch must be specified.
570
+ - !ruby/object:Api::Type::String
571
+ name : ' pathTemplateMatch'
572
+ description : |
573
+ For satisfying the matchRule condition, the path of the request
574
+ must match the wildcard pattern specified in pathTemplateMatch
575
+ after removing any query parameters and anchor that may be part
576
+ of the original URL.
577
+
578
+ pathTemplateMatch must be between 1 and 255 characters
579
+ (inclusive). The pattern specified by pathTemplateMatch may
580
+ have at most 5 wildcard operators and at most 5 variable
581
+ captures in total.
561
582
- !ruby/object:Api::Type::NestedObject
562
583
name : ' routeAction'
563
584
description : |
@@ -784,6 +805,23 @@ properties:
784
805
Prior to forwarding the request to the selected backend service, the matching
785
806
portion of the request's path is replaced by pathPrefixRewrite. The value must
786
807
be between 1 and 1024 characters.
808
+ - !ruby/object:Api::Type::String
809
+ name : ' pathTemplateRewrite'
810
+ description : |
811
+ Prior to forwarding the request to the selected origin, if the
812
+ request matched a pathTemplateMatch, the matching portion of the
813
+ request's path is replaced re-written using the pattern specified
814
+ by pathTemplateRewrite.
815
+
816
+ pathTemplateRewrite must be between 1 and 255 characters
817
+ (inclusive), must start with a '/', and must only use variables
818
+ captured by the route's pathTemplate matchers.
819
+
820
+ pathTemplateRewrite may only be used when all of a route's
821
+ MatchRules specify pathTemplate.
822
+
823
+ Only one of pathPrefixRewrite and pathTemplateRewrite may be
824
+ specified.
787
825
- !ruby/object:Api::Type::Array
788
826
name : ' weightedBackendServices'
789
827
description : |
0 commit comments