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.
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.
44 45 46 |
# File 'lib/google/apis/iap_v1/classes.rb', line 44 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 |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 |
# File 'lib/google/apis/iap_v1/classes.rb', line 49 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) end |