Class: Google::Apis::IapV1::AccessDeniedPageSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::AccessDeniedPageSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iap_v1/classes.rb,
lib/google/apis/iap_v1/representations.rb,
lib/google/apis/iap_v1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#access_denied_page_uri ⇒ String
The URI to be redirected to when access is denied.
-
#generate_troubleshooting_uri ⇒ Boolean
(also: #generate_troubleshooting_uri?)
Whether to generate a troubleshooting URL on access denied events to this application.
-
#remediation_token_generation_enabled ⇒ Boolean
(also: #remediation_token_generation_enabled?)
Whether to generate remediation token on access denied events to this application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessDeniedPageSettings
constructor
A new instance of AccessDeniedPageSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessDeniedPageSettings
Returns a new instance of AccessDeniedPageSettings.
51 52 53 |
# File 'lib/google/apis/iap_v1/classes.rb', line 51 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_denied_page_uri ⇒ String
The URI to be redirected to when access is denied.
Corresponds to the JSON property accessDeniedPageUri
35 36 37 |
# File 'lib/google/apis/iap_v1/classes.rb', line 35 def access_denied_page_uri @access_denied_page_uri end |
#generate_troubleshooting_uri ⇒ Boolean Also known as: generate_troubleshooting_uri?
Whether to generate a troubleshooting URL on access denied events to this
application.
Corresponds to the JSON property generateTroubleshootingUri
41 42 43 |
# File 'lib/google/apis/iap_v1/classes.rb', line 41 def generate_troubleshooting_uri @generate_troubleshooting_uri end |
#remediation_token_generation_enabled ⇒ Boolean Also known as: remediation_token_generation_enabled?
Whether to generate remediation token on access denied events to this
application.
Corresponds to the JSON property remediationTokenGenerationEnabled
48 49 50 |
# File 'lib/google/apis/iap_v1/classes.rb', line 48 def remediation_token_generation_enabled @remediation_token_generation_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
56 57 58 59 60 |
# File 'lib/google/apis/iap_v1/classes.rb', line 56 def update!(**args) @access_denied_page_uri = args[:access_denied_page_uri] if args.key?(:access_denied_page_uri) @generate_troubleshooting_uri = args[:generate_troubleshooting_uri] if args.key?(:generate_troubleshooting_uri) @remediation_token_generation_enabled = args[:remediation_token_generation_enabled] if args.key?(:remediation_token_generation_enabled) end |