Skip to content

Commit

Permalink
feat(trafficdirector): update the api
Browse files Browse the repository at this point in the history
#### trafficdirector:v3

The following keys were added:
- schemas.StringMatcher.properties.custom.$ref (Total Keys: 1)
- schemas.TypedExtensionConfig (Total Keys: 5)
  • Loading branch information
yoshi-automation committed Apr 9, 2024
1 parent 51db113 commit 7e1738f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
16 changes: 14 additions & 2 deletions docs/dyn/trafficdirector_v3.discovery.html
Expand Up @@ -168,8 +168,14 @@ <h3>Method Details</h3>
},
&quot;nodeMatchers&quot;: [ # Management server can use these match criteria to identify clients. The match follows OR semantics.
{ # Specifies the way to match a Node. The match follows AND semantics.
&quot;nodeId&quot;: { # Specifies the way to match a string. [#next-free-field: 8] # Specifies match criteria on the node id.
&quot;nodeId&quot;: { # Specifies the way to match a string. [#next-free-field: 9] # Specifies match criteria on the node id.
&quot;contains&quot;: &quot;A String&quot;, # The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc.def``
&quot;custom&quot;: { # Message type for extension configuration. # Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
&quot;name&quot;: &quot;A String&quot;, # The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
&quot;typedConfig&quot;: { # The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is *xds.type.v3.TypedStruct* (or, for historical reasons, *udpa.type.v1.TypedStruct*), the inner type URL of *TypedStruct* will be utilized. See the :ref:`extension configuration overview ` for further details.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
},
&quot;exact&quot;: &quot;A String&quot;, # The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
&quot;ignoreCase&quot;: True or False, # If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher ``data`` will match both input string ``Data`` and ``data`` if set to true.
&quot;prefix&quot;: &quot;A String&quot;, # The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``abc.xyz``
Expand Down Expand Up @@ -208,8 +214,14 @@ <h3>Method Details</h3>
],
},
&quot;presentMatch&quot;: True or False, # If specified, value match will be performed based on whether the path is referring to a valid primitive value in the metadata. If the path is referring to a non-primitive value, the result is always not matched.
&quot;stringMatch&quot;: { # Specifies the way to match a string. [#next-free-field: 8] # If specified, a match occurs if and only if the target value is a string value and is matched to this field.
&quot;stringMatch&quot;: { # Specifies the way to match a string. [#next-free-field: 9] # If specified, a match occurs if and only if the target value is a string value and is matched to this field.
&quot;contains&quot;: &quot;A String&quot;, # The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc.def``
&quot;custom&quot;: { # Message type for extension configuration. # Use an extension as the matcher type. [#extension-category: envoy.string_matcher]
&quot;name&quot;: &quot;A String&quot;, # The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.
&quot;typedConfig&quot;: { # The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is *xds.type.v3.TypedStruct* (or, for historical reasons, *udpa.type.v1.TypedStruct*), the inner type URL of *TypedStruct* will be utilized. See the :ref:`extension configuration overview ` for further details.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
},
&quot;exact&quot;: &quot;A String&quot;, # The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.
&quot;ignoreCase&quot;: True or False, # If true, indicates the exact/prefix/suffix/contains matching should be case insensitive. This has no effect for the safe_regex match. For example, the matcher ``data`` will match both input string ``Data`` and ``data`` if set to true.
&quot;prefix&quot;: &quot;A String&quot;, # The input string must have the prefix specified here. Note: empty prefix is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``abc.xyz``
Expand Down
27 changes: 25 additions & 2 deletions googleapiclient/discovery_cache/documents/trafficdirector.v3.json
Expand Up @@ -128,7 +128,7 @@
}
}
},
"revision": "20240312",
"revision": "20240322",
"rootUrl": "https://trafficdirector.googleapis.com/",
"schemas": {
"Address": {
Expand Down Expand Up @@ -1192,13 +1192,17 @@
"type": "object"
},
"StringMatcher": {
"description": "Specifies the way to match a string. [#next-free-field: 8]",
"description": "Specifies the way to match a string. [#next-free-field: 9]",
"id": "StringMatcher",
"properties": {
"contains": {
"description": "The input string must have the substring specified here. Note: empty contains match is not allowed, please use regex instead. Examples: * ``abc`` matches the value ``xyz.abc.def``",
"type": "string"
},
"custom": {
"$ref": "TypedExtensionConfig",
"description": "Use an extension as the matcher type. [#extension-category: envoy.string_matcher]"
},
"exact": {
"description": "The input string must match exactly the string specified here. Examples: * ``abc`` only matches the value ``abc``.",
"type": "string"
Expand Down Expand Up @@ -1240,6 +1244,25 @@
},
"type": "object"
},
"TypedExtensionConfig": {
"description": "Message type for extension configuration.",
"id": "TypedExtensionConfig",
"properties": {
"name": {
"description": "The name of an extension. This is not used to select the extension, instead it serves the role of an opaque identifier.",
"type": "string"
},
"typedConfig": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The typed config for the extension. The type URL will be used to identify the extension. In the case that the type URL is *xds.type.v3.TypedStruct* (or, for historical reasons, *udpa.type.v1.TypedStruct*), the inner type URL of *TypedStruct* will be utilized. See the :ref:`extension configuration overview ` for further details.",
"type": "object"
}
},
"type": "object"
},
"UpdateFailureState": {
"id": "UpdateFailureState",
"properties": {
Expand Down

0 comments on commit 7e1738f

Please sign in to comment.