Reference documentation and code samples for the Google Cloud Iap V1 Client class 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.
Generated from protobuf messagegoogle.cloud.iap.v1.AccessDeniedPageSettings
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Iap V1 Client - Class AccessDeniedPageSettings (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-iap/latest/V1.AccessDeniedPageSettings)\n- [2.1.1](/php/docs/reference/cloud-iap/2.1.1/V1.AccessDeniedPageSettings)\n- [2.0.3](/php/docs/reference/cloud-iap/2.0.3/V1.AccessDeniedPageSettings)\n- [1.4.5](/php/docs/reference/cloud-iap/1.4.5/V1.AccessDeniedPageSettings)\n- [1.3.4](/php/docs/reference/cloud-iap/1.3.4/V1.AccessDeniedPageSettings)\n- [1.2.3](/php/docs/reference/cloud-iap/1.2.3/V1.AccessDeniedPageSettings)\n- [1.1.1](/php/docs/reference/cloud-iap/1.1.1/V1.AccessDeniedPageSettings)\n- [1.0.1](/php/docs/reference/cloud-iap/1.0.1/V1.AccessDeniedPageSettings) \nReference documentation and code samples for the Google Cloud Iap V1 Client class AccessDeniedPageSettings.\n\nCustom content configuration for access denied page.\n\nIAP allows customers to define a custom URI to use as the error page when\naccess is denied to users. If IAP prevents access to this page, the default\nIAP error page will be displayed instead.\n\nGenerated from protobuf message `google.cloud.iap.v1.AccessDeniedPageSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iap \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAccessDeniedPageUri\n\nThe URI to be redirected to when access is denied.\n\n### hasAccessDeniedPageUri\n\n### clearAccessDeniedPageUri\n\n### getAccessDeniedPageUriUnwrapped\n\nReturns the unboxed value from `getAccessDeniedPageUri()`\n\nThe URI to be redirected to when access is denied.\n\n### setAccessDeniedPageUri\n\nThe URI to be redirected to when access is denied.\n\n### setAccessDeniedPageUriUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\StringValue object.\n\nThe URI to be redirected to when access is denied.\n\n### getGenerateTroubleshootingUri\n\nWhether to generate a troubleshooting URL on access denied events to this\napplication.\n\n### hasGenerateTroubleshootingUri\n\n### clearGenerateTroubleshootingUri\n\n### getGenerateTroubleshootingUriUnwrapped\n\nReturns the unboxed value from `getGenerateTroubleshootingUri()`\n\nWhether to generate a troubleshooting URL on access denied events to this\napplication.\n\n### setGenerateTroubleshootingUri\n\nWhether to generate a troubleshooting URL on access denied events to this\napplication.\n\n### setGenerateTroubleshootingUriUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nWhether to generate a troubleshooting URL on access denied events to this\napplication.\n\n### getRemediationTokenGenerationEnabled\n\nWhether to generate remediation token on access denied events to this\napplication.\n\n### hasRemediationTokenGenerationEnabled\n\n### clearRemediationTokenGenerationEnabled\n\n### getRemediationTokenGenerationEnabledUnwrapped\n\nReturns the unboxed value from `getRemediationTokenGenerationEnabled()`\n\nWhether to generate remediation token on access denied events to this\napplication.\n\n### setRemediationTokenGenerationEnabled\n\nWhether to generate remediation token on access denied events to this\napplication.\n\n### setRemediationTokenGenerationEnabledUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nWhether to generate remediation token on access denied events to this\napplication."]]