Google Cloud Iap V1 Client - Class AccessDeniedPageSettings (1.3.4)

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 message google.cloud.iap.v1.AccessDeniedPageSettings

Namespace

Google \ Cloud \ Iap \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ access_denied_page_uri Google\Protobuf\StringValue

The URI to be redirected to when access is denied.

↳ generate_troubleshooting_uri Google\Protobuf\BoolValue

Whether to generate a troubleshooting URL on access denied events to this application.

↳ remediation_token_generation_enabled Google\Protobuf\BoolValue

Whether to generate remediation token on access denied events to this application.

getAccessDeniedPageUri

The URI to be redirected to when access is denied.

Returns
TypeDescription
Google\Protobuf\StringValue|null

hasAccessDeniedPageUri

clearAccessDeniedPageUri

getAccessDeniedPageUriValue

Returns the unboxed value from getAccessDeniedPageUri()

The URI to be redirected to when access is denied.

Returns
TypeDescription
string|null

setAccessDeniedPageUri

The URI to be redirected to when access is denied.

Parameter
NameDescription
var Google\Protobuf\StringValue
Returns
TypeDescription
$this

setAccessDeniedPageUriValue

Sets the field by wrapping a primitive type in a Google\Protobuf\StringValue object.

The URI to be redirected to when access is denied.

Parameter
NameDescription
var string|null
Returns
TypeDescription
$this

getGenerateTroubleshootingUri

Whether to generate a troubleshooting URL on access denied events to this application.

Returns
TypeDescription
Google\Protobuf\BoolValue|null

hasGenerateTroubleshootingUri

clearGenerateTroubleshootingUri

getGenerateTroubleshootingUriValue

Returns the unboxed value from getGenerateTroubleshootingUri()

Whether to generate a troubleshooting URL on access denied events to this application.

Returns
TypeDescription
bool|null

setGenerateTroubleshootingUri

Whether to generate a troubleshooting URL on access denied events to this application.

Parameter
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$this

setGenerateTroubleshootingUriValue

Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.

Whether to generate a troubleshooting URL on access denied events to this application.

Parameter
NameDescription
var bool|null
Returns
TypeDescription
$this

getRemediationTokenGenerationEnabled

Whether to generate remediation token on access denied events to this application.

Returns
TypeDescription
Google\Protobuf\BoolValue|null

hasRemediationTokenGenerationEnabled

clearRemediationTokenGenerationEnabled

getRemediationTokenGenerationEnabledValue

Returns the unboxed value from getRemediationTokenGenerationEnabled()

Whether to generate remediation token on access denied events to this application.

Returns
TypeDescription
bool|null

setRemediationTokenGenerationEnabled

Whether to generate remediation token on access denied events to this application.

Parameter
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$this

setRemediationTokenGenerationEnabledValue

Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.

Whether to generate remediation token on access denied events to this application.

Parameter
NameDescription
var bool|null
Returns
TypeDescription
$this