Class: Google::Apis::IapV1::AccessDeniedPageSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_uriString

The URI to be redirected to when access is denied. Corresponds to the JSON property accessDeniedPageUri

Returns:

  • (String)


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