View Source GoogleApi.IAP.V1.Model.AttributePropagationSettings (google_api_iap v0.18.0)
Configuration for propagating attributes to applications protected by IAP.
Attributes
-
enable
(type:boolean()
, default:nil
) - Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set output credentials. -
expression
(type:String.t
, default:nil
) - Raw string CEL expression. Must return a list of attributes. A maximum of 45 attributes can be selected. Expressions can select different attribute types fromattributes
:attributes.saml_attributes
,attributes.iap_attributes
. The following functions are supported: - filter.filter(, )
: Returns a subset ofwhere
is true for every item. - inin
: Returns true ifcontains
. - selectByName.selectByName()
: Returns the attribute inwith the given
name, otherwise returns empty. - emitAs.emitAs()
: Sets thename field to the given
for propagation in selected output credentials. - strict.strict()
: Ignores thex-goog-iap-attr-
prefix for the providedwhen propagating with the `HEADER` output credential, such as request headers. - append `.append()` OR `.append()`: Appends the provided
orto the end of
. Example expression:attributes.saml_attributes.filter(x, x.name in ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())
-
outputCredentials
(type:list(String.t)
, default:nil
) - Which output credentials attributes selected by the CEL expression should be propagated in. All attributes will be fully duplicated in each selected output credential.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.