Class: Google::Apis::IapV1::ApplicationSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::ApplicationSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/iap_v1/classes.rb,
generated/google/apis/iap_v1/representations.rb,
generated/google/apis/iap_v1/representations.rb
Overview
Wrapper over application specific settings for IAP.
Instance Attribute Summary collapse
-
#access_denied_page_settings ⇒ Google::Apis::IapV1::AccessDeniedPageSettings
Custom content configuration for access denied page.
-
#cookie_domain ⇒ String
The Domain value to set for cookies generated by IAP.
-
#csm_settings ⇒ Google::Apis::IapV1::CsmSettings
Configuration for RCTokens generated for CSM workloads protected by IAP.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationSettings
constructor
A new instance of ApplicationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationSettings
Returns a new instance of ApplicationSettings.
116 117 118 |
# File 'generated/google/apis/iap_v1/classes.rb', line 116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_denied_page_settings ⇒ Google::Apis::IapV1::AccessDeniedPageSettings
Custom content configuration for access denied page. IAP allows customers to
define a custom URI to use as the error page when access is denied to users.
If IAP prevents access to this page, the default IAP error page will be
displayed instead.
Corresponds to the JSON property accessDeniedPageSettings
100 101 102 |
# File 'generated/google/apis/iap_v1/classes.rb', line 100 def access_denied_page_settings @access_denied_page_settings end |
#cookie_domain ⇒ String
The Domain value to set for cookies generated by IAP. This value is not
validated by the API, but will be ignored at runtime if invalid.
Corresponds to the JSON property cookieDomain
106 107 108 |
# File 'generated/google/apis/iap_v1/classes.rb', line 106 def @cookie_domain end |
#csm_settings ⇒ Google::Apis::IapV1::CsmSettings
Configuration for RCTokens generated for CSM workloads protected by IAP.
RCTokens are IAP generated JWTs that can be verified at the application. The
RCToken is primarily used for ISTIO deployments, and can be scoped to a single
mesh by configuring the audience field accordingly
Corresponds to the JSON property csmSettings
114 115 116 |
# File 'generated/google/apis/iap_v1/classes.rb', line 114 def csm_settings @csm_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
121 122 123 124 125 |
# File 'generated/google/apis/iap_v1/classes.rb', line 121 def update!(**args) @access_denied_page_settings = args[:access_denied_page_settings] if args.key?(:access_denied_page_settings) @cookie_domain = args[:cookie_domain] if args.key?(:cookie_domain) @csm_settings = args[:csm_settings] if args.key?(:csm_settings) end |