From df7a53b6d4d4fe12183d79bd38ea2b5ec413895b Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 18 Nov 2020 08:47:08 -0800 Subject: [PATCH] Fix various typos in Compute api.yaml (#4244) (#337) Signed-off-by: Modular Magician --- plugins/modules/gcp_compute_region_url_map.py | 55 +++++++++-------- .../gcp_compute_region_url_map_info.py | 14 ++--- plugins/modules/gcp_compute_url_map.py | 59 +++++++++---------- plugins/modules/gcp_compute_url_map_info.py | 18 +++--- 4 files changed, 72 insertions(+), 74 deletions(-) diff --git a/plugins/modules/gcp_compute_region_url_map.py b/plugins/modules/gcp_compute_region_url_map.py index 0cea992..f29b128 100644 --- a/plugins/modules/gcp_compute_region_url_map.py +++ b/plugins/modules/gcp_compute_region_url_map.py @@ -265,8 +265,8 @@ options: suboptions: full_path_match: description: - - For satifying the matchRule condition, the path of the request must - exactly match the value specified in fullPathMatch after removing + - For satisfying the matchRule condition, the path of the request + must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. @@ -343,12 +343,11 @@ options: type: int regex_match: description: - - 'The value of the header must match the regualar expression - specified in regexMatch. For regular expression grammar, please - see: en.cppreference.com/w/cpp/regex/ecmascript For matching - against a port specified in the HTTP request, use a headerMatch - with headerName set to PORT and a regular expression that satisfies - the RFC2616 Host header''s port specifier.' + - 'The value of the header must match the regular expression specified + in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript + For matching against a port specified in the HTTP request, use + a headerMatch with headerName set to PORT and a regular expression + that satisfies the RFC2616 Host header''s port specifier.' - Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. required: false @@ -420,10 +419,10 @@ options: type: str prefix_match: description: - - For satifying the matchRule condition, the request's path must begin - with the specified prefixMatch. prefixMatch must begin with a /. - The value must be between 1 and 1024 characters. Only one of prefixMatch, - fullPathMatch or regexMatch must be specified. + - For satisfying the matchRule condition, the request's path must + begin with the specified prefixMatch. prefixMatch must begin with + a /. The value must be between 1 and 1024 characters. Only one of + prefixMatch, fullPathMatch or regexMatch must be specified. required: false type: str query_parameter_matches: @@ -467,10 +466,10 @@ options: type: str regex_match: description: - - For satifying the matchRule condition, the path of the request must - satisfy the regular expression specified in regexMatch after removing - any query parameters and anchor supplied with the original URL. - For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - For satisfying the matchRule condition, the path of the request + must satisfy the regular expression specified in regexMatch after + removing any query parameters and anchor supplied with the original + URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified. required: false type: str @@ -516,7 +515,7 @@ options: type: list allow_origin_regexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. elements: str @@ -674,7 +673,7 @@ options: type: str retry_conditions: description: - - 'Specfies one or more conditions when this retry rule applies. + - 'Specifies one or more conditions when this retry rule applies. Valid values are: * 5xx: Loadbalancer will attempt a retry if the backend service responds with any 5xx response code, or if the backend service does not respond at all, example: disconnects, @@ -1010,7 +1009,7 @@ options: type: list allow_origin_regexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. elements: str @@ -1878,7 +1877,7 @@ pathMatchers: contains: fullPathMatch: description: - - For satifying the matchRule condition, the path of the request must + - For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, @@ -1954,7 +1953,7 @@ pathMatchers: type: int regexMatch: description: - - 'The value of the header must match the regualar expression specified + - 'The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression @@ -2025,7 +2024,7 @@ pathMatchers: type: str prefixMatch: description: - - For satifying the matchRule condition, the request's path must begin + - For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. @@ -2070,7 +2069,7 @@ pathMatchers: type: str regexMatch: description: - - For satifying the matchRule condition, the path of the request must + - For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript @@ -2114,8 +2113,8 @@ pathMatchers: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed - origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - Specifies the regular expression patterns that match allowed origins. + For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. returned: success type: list @@ -2260,7 +2259,7 @@ pathMatchers: type: str retryConditions: description: - - 'Specfies one or more conditions when this retry rule applies. + - 'Specifies one or more conditions when this retry rule applies. Valid values are: * 5xx: Loadbalancer will attempt a retry if the backend service responds with any 5xx response code, or if the backend service does not respond at all, example: disconnects, @@ -2565,8 +2564,8 @@ pathMatchers: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed - origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - Specifies the regular expression patterns that match allowed origins. + For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. returned: success type: list diff --git a/plugins/modules/gcp_compute_region_url_map_info.py b/plugins/modules/gcp_compute_region_url_map_info.py index d9e9754..6228760 100644 --- a/plugins/modules/gcp_compute_region_url_map_info.py +++ b/plugins/modules/gcp_compute_region_url_map_info.py @@ -329,7 +329,7 @@ resources: contains: fullPathMatch: description: - - For satifying the matchRule condition, the path of the request + - For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. @@ -405,7 +405,7 @@ resources: type: int regexMatch: description: - - 'The value of the header must match the regualar expression + - 'The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch @@ -480,7 +480,7 @@ resources: type: str prefixMatch: description: - - For satifying the matchRule condition, the request's path must + - For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. @@ -526,7 +526,7 @@ resources: type: str regexMatch: description: - - For satifying the matchRule condition, the path of the request + - For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript @@ -574,7 +574,7 @@ resources: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. @@ -723,7 +723,7 @@ resources: type: str retryConditions: description: - - 'Specfies one or more conditions when this retry rule applies. + - 'Specifies one or more conditions when this retry rule applies. Valid values are: * 5xx: Loadbalancer will attempt a retry if the backend service responds with any 5xx response code, or if the backend service does not respond at all, example: @@ -1037,7 +1037,7 @@ resources: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. diff --git a/plugins/modules/gcp_compute_url_map.py b/plugins/modules/gcp_compute_url_map.py index 2e04570..6e78fe5 100644 --- a/plugins/modules/gcp_compute_url_map.py +++ b/plugins/modules/gcp_compute_url_map.py @@ -373,7 +373,7 @@ options: type: list allow_origin_regexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. elements: str @@ -911,8 +911,8 @@ options: suboptions: full_path_match: description: - - For satifying the matchRule condition, the path of the request must - exactly match the value specified in fullPathMatch after removing + - For satisfying the matchRule condition, the path of the request + must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. @@ -989,12 +989,11 @@ options: type: int regex_match: description: - - 'The value of the header must match the regualar expression - specified in regexMatch. For regular expression grammar, please - see: en.cppreference.com/w/cpp/regex/ecmascript For matching - against a port specified in the HTTP request, use a headerMatch - with headerName set to PORT and a regular expression that satisfies - the RFC2616 Host header''s port specifier.' + - 'The value of the header must match the regular expression specified + in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript + For matching against a port specified in the HTTP request, use + a headerMatch with headerName set to PORT and a regular expression + that satisfies the RFC2616 Host header''s port specifier.' - Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. required: false @@ -1066,10 +1065,10 @@ options: type: str prefix_match: description: - - For satifying the matchRule condition, the request's path must begin - with the specified prefixMatch. prefixMatch must begin with a /. - The value must be between 1 and 1024 characters. Only one of prefixMatch, - fullPathMatch or regexMatch must be specified. + - For satisfying the matchRule condition, the request's path must + begin with the specified prefixMatch. prefixMatch must begin with + a /. The value must be between 1 and 1024 characters. Only one of + prefixMatch, fullPathMatch or regexMatch must be specified. required: false type: str query_parameter_matches: @@ -1113,10 +1112,10 @@ options: type: str regex_match: description: - - For satifying the matchRule condition, the path of the request must - satisfy the regular expression specified in regexMatch after removing - any query parameters and anchor supplied with the original URL. - For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - For satisfying the matchRule condition, the path of the request + must satisfy the regular expression specified in regexMatch after + removing any query parameters and anchor supplied with the original + URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch, fullPathMatch or regexMatch must be specified. required: false type: str @@ -1162,7 +1161,7 @@ options: type: list allow_origin_regexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. elements: str @@ -1923,7 +1922,7 @@ options: type: list allow_origin_regexes: description: - - Specifies the regualar expression patterns that match allowed origins. + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. @@ -2420,7 +2419,7 @@ options: type: list allow_origin_regexes: description: - - Specifies the regualar expression patterns that match allowed origins. + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. @@ -2942,8 +2941,8 @@ pathMatchers: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed - origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - Specifies the regular expression patterns that match allowed origins. + For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. returned: success type: list @@ -3440,7 +3439,7 @@ pathMatchers: contains: fullPathMatch: description: - - For satifying the matchRule condition, the path of the request must + - For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. Only one of prefixMatch, @@ -3516,7 +3515,7 @@ pathMatchers: type: int regexMatch: description: - - 'The value of the header must match the regualar expression specified + - 'The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression @@ -3587,7 +3586,7 @@ pathMatchers: type: str prefixMatch: description: - - For satifying the matchRule condition, the request's path must begin + - For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. @@ -3632,7 +3631,7 @@ pathMatchers: type: str regexMatch: description: - - For satifying the matchRule condition, the path of the request must + - For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript @@ -3676,8 +3675,8 @@ pathMatchers: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed - origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - Specifies the regular expression patterns that match allowed origins. + For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. returned: success type: list @@ -4380,7 +4379,7 @@ pathMatchers: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed origins. + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. @@ -4834,7 +4833,7 @@ defaultRouteAction: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed origins. + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. diff --git a/plugins/modules/gcp_compute_url_map_info.py b/plugins/modules/gcp_compute_url_map_info.py index 3de013b..f0c7104 100644 --- a/plugins/modules/gcp_compute_url_map_info.py +++ b/plugins/modules/gcp_compute_url_map_info.py @@ -428,7 +428,7 @@ resources: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. @@ -933,7 +933,7 @@ resources: contains: fullPathMatch: description: - - For satifying the matchRule condition, the path of the request + - For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. FullPathMatch must be between 1 and 1024 characters. @@ -1009,7 +1009,7 @@ resources: type: int regexMatch: description: - - 'The value of the header must match the regualar expression + - 'The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch @@ -1084,7 +1084,7 @@ resources: type: str prefixMatch: description: - - For satifying the matchRule condition, the request's path must + - For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. @@ -1130,7 +1130,7 @@ resources: type: str regexMatch: description: - - For satifying the matchRule condition, the path of the request + - For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript @@ -1178,7 +1178,7 @@ resources: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex. @@ -1895,8 +1895,8 @@ resources: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed - origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript + - Specifies the regular expression patterns that match allowed origins. + For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. returned: success @@ -2356,7 +2356,7 @@ resources: type: list allowOriginRegexes: description: - - Specifies the regualar expression patterns that match allowed origins. + - Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.