Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::RegexRewrite.
The spec for modifying the path using a regular expression.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#path_pattern
def path_pattern() -> ::String-
(::String) —
Required. The regular expression used to match against the URL path. It uses RE2 syntax with the following constraints:
- Any single character operators - Groups are allowed to have only submatch operator inside - Groups are allowed only without any char repetition, e.g. .* - Any char repetition, e.g. .*, is only allowed to be used in a single regex together with: - Empty string operators - Other repetitions - Ranges - Repetitions of ranges - Ranges are only allowed to have: - Character range - Digits range - Symbols listed in characters allowed for ranges
#path_pattern=
def path_pattern=(value) -> ::String-
value (::String) —
Required. The regular expression used to match against the URL path. It uses RE2 syntax with the following constraints:
- Any single character operators - Groups are allowed to have only submatch operator inside - Groups are allowed only without any char repetition, e.g. .* - Any char repetition, e.g. .*, is only allowed to be used in a single regex together with: - Empty string operators - Other repetitions - Ranges - Repetitions of ranges - Ranges are only allowed to have: - Character range - Digits range - Symbols listed in characters allowed for ranges
-
(::String) —
Required. The regular expression used to match against the URL path. It uses RE2 syntax with the following constraints:
- Any single character operators - Groups are allowed to have only submatch operator inside - Groups are allowed only without any char repetition, e.g. .* - Any char repetition, e.g. .*, is only allowed to be used in a single regex together with: - Empty string operators - Other repetitions - Ranges - Repetitions of ranges - Ranges are only allowed to have: - Character range - Digits range - Symbols listed in characters allowed for ranges
#path_substitution
def path_substitution() -> ::String- (::String) — Required. Required when path pattern is specified. Used to rewrite matching parts of the path.
#path_substitution=
def path_substitution=(value) -> ::String- value (::String) — Required. Required when path pattern is specified. Used to rewrite matching parts of the path.
- (::String) — Required. Required when path pattern is specified. Used to rewrite matching parts of the path.