# Identity-Aware Proxy V1 API - Class Google::Cloud::Iap::V1::AccessDeniedPageSettings (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.1 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_denied_page_uri

    def access_denied_page_uri() -> ::Google::Protobuf::StringValue

**Returns**

- ([::Google::Protobuf::StringValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-StringValue)) --- The URI to be redirected to when access is denied.

### #access_denied_page_uri=

    def access_denied_page_uri=(value) -> ::Google::Protobuf::StringValue

**Parameter**

- **value** ([::Google::Protobuf::StringValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-StringValue)) --- The URI to be redirected to when access is denied.
**Returns**

- ([::Google::Protobuf::StringValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-StringValue)) --- The URI to be redirected to when access is denied.

### #generate_troubleshooting_uri

    def generate_troubleshooting_uri() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Whether to generate a troubleshooting URL on access denied events to this application.

### #generate_troubleshooting_uri=

    def generate_troubleshooting_uri=(value) -> ::Google::Protobuf::BoolValue

**Parameter**

- **value** ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Whether to generate a troubleshooting URL on access denied events to this application.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Whether to generate a troubleshooting URL on access denied events to this application.

### #remediation_token_generation_enabled

    def remediation_token_generation_enabled() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Whether to generate remediation token on access denied events to this application.

### #remediation_token_generation_enabled=

    def remediation_token_generation_enabled=(value) -> ::Google::Protobuf::BoolValue

**Parameter**

- **value** ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Whether to generate remediation token on access denied events to this application.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Whether to generate remediation token on access denied events to this application.