Class: Google::Apis::IapV1::AccessDeniedPageSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::AccessDeniedPageSettings
- 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
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.
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.
37 38 39 |
# File 'generated/google/apis/iap_v1/classes.rb', line 37 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 'generated/google/apis/iap_v1/classes.rb', line 35 def access_denied_page_uri @access_denied_page_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42 43 44 |
# File 'generated/google/apis/iap_v1/classes.rb', line 42 def update!(**args) @access_denied_page_uri = args[:access_denied_page_uri] if args.key?(:access_denied_page_uri) end |