Show / Hide Table of Contents

Class RegexRewrite

The spec for modifying the path using a regular expression.

Inheritance
object
RegexRewrite
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegexRewrite : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

PathPattern

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

Declaration
[JsonProperty("pathPattern")]
public virtual string PathPattern { get; set; }
Property Value
Type Description
string

PathSubstitution

Required when path pattern is specified. Used to rewrite matching parts of the path.

Declaration
[JsonProperty("pathSubstitution")]
public virtual string PathSubstitution { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX