Skip to content

Commit a61ad81

Browse files
1 parent 8540299 commit a61ad81

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

src/NetworkServices/AuthzExtension.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,19 @@ class AuthzExtension extends \Google\Collection
8383
* @var bool
8484
*/
8585
public $failOpen;
86+
/**
87+
* Optional. List of the Envoy attributes to forward to the extension server.
88+
* The attributes provided here are included as part of the
89+
* `ProcessingRequest.attributes` field (of type `map`), where the keys are
90+
* the attribute names. Refer to the
91+
* [documentation](https://cloud.google.com/service-extensions/docs/cel-
92+
* matcher-language-reference#attributes) for the names of attributes that can
93+
* be forwarded. If omitted, no attributes are sent. Each element is a string
94+
* indicating the attribute name.
95+
*
96+
* @var string[]
97+
*/
98+
public $forwardAttributes;
8699
/**
87100
* Optional. List of the HTTP headers to forward to the extension (from the
88101
* client). If omitted, all headers are sent. Each element is a string
@@ -238,6 +251,29 @@ public function getFailOpen()
238251
{
239252
return $this->failOpen;
240253
}
254+
/**
255+
* Optional. List of the Envoy attributes to forward to the extension server.
256+
* The attributes provided here are included as part of the
257+
* `ProcessingRequest.attributes` field (of type `map`), where the keys are
258+
* the attribute names. Refer to the
259+
* [documentation](https://cloud.google.com/service-extensions/docs/cel-
260+
* matcher-language-reference#attributes) for the names of attributes that can
261+
* be forwarded. If omitted, no attributes are sent. Each element is a string
262+
* indicating the attribute name.
263+
*
264+
* @param string[] $forwardAttributes
265+
*/
266+
public function setForwardAttributes($forwardAttributes)
267+
{
268+
$this->forwardAttributes = $forwardAttributes;
269+
}
270+
/**
271+
* @return string[]
272+
*/
273+
public function getForwardAttributes()
274+
{
275+
return $this->forwardAttributes;
276+
}
241277
/**
242278
* Optional. List of the HTTP headers to forward to the extension (from the
243279
* client). If omitted, all headers are sent. Each element is a string

src/NetworkServices/ExtensionChainExtension.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,19 @@ class ExtensionChainExtension extends \Google\Collection
8484
* @var bool
8585
*/
8686
public $failOpen;
87+
/**
88+
* Optional. List of the Envoy attributes to forward to the extension server.
89+
* The attributes provided here are included as part of the
90+
* `ProcessingRequest.attributes` field (of type `map`), where the keys are
91+
* the attribute names. Refer to the
92+
* [documentation](https://cloud.google.com/service-extensions/docs/cel-
93+
* matcher-language-reference#attributes) for the names of attributes that can
94+
* be forwarded. If omitted, no attributes are sent. Each element is a string
95+
* indicating the attribute name.
96+
*
97+
* @var string[]
98+
*/
99+
public $forwardAttributes;
87100
/**
88101
* Optional. List of the HTTP headers to forward to the extension (from the
89102
* client or backend). If omitted, all headers are sent. Each element is a
@@ -253,6 +266,29 @@ public function getFailOpen()
253266
{
254267
return $this->failOpen;
255268
}
269+
/**
270+
* Optional. List of the Envoy attributes to forward to the extension server.
271+
* The attributes provided here are included as part of the
272+
* `ProcessingRequest.attributes` field (of type `map`), where the keys are
273+
* the attribute names. Refer to the
274+
* [documentation](https://cloud.google.com/service-extensions/docs/cel-
275+
* matcher-language-reference#attributes) for the names of attributes that can
276+
* be forwarded. If omitted, no attributes are sent. Each element is a string
277+
* indicating the attribute name.
278+
*
279+
* @param string[] $forwardAttributes
280+
*/
281+
public function setForwardAttributes($forwardAttributes)
282+
{
283+
$this->forwardAttributes = $forwardAttributes;
284+
}
285+
/**
286+
* @return string[]
287+
*/
288+
public function getForwardAttributes()
289+
{
290+
return $this->forwardAttributes;
291+
}
256292
/**
257293
* Optional. List of the HTTP headers to forward to the extension (from the
258294
* client or backend). If omitted, all headers are sent. Each element is a

0 commit comments

Comments
 (0)