View Source GoogleApi.IAP.V1.Model.AttributePropagationSettings (google_api_iap v0.20.2)
Configuration for propagating attributes to applications protected by IAP.
Attributes
-
enable(type:boolean(), default:nil) - Optional. 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) - Optional. 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 ofwhereis true for every item. - inin: Returns true ifcontains. - selectByName.selectByName(): Returns the attribute inwith the givenname, otherwise returns empty. - emitAs.emitAs(): Sets thename field to the givenfor 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 providedorto 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) - Optional. 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.