Google Cloud Iap V1 Client - Class AccessDeniedPageSettings (1.0.1)

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

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.

getAccessDeniedPageUri

The URI to be redirected to when access is denied.

Generated from protobuf field .google.protobuf.StringValue access_denied_page_uri = 1;

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.

Generated from protobuf field .google.protobuf.StringValue access_denied_page_uri = 1;

Returns
TypeDescription
string|null

setAccessDeniedPageUri

The URI to be redirected to when access is denied.

Generated from protobuf field .google.protobuf.StringValue access_denied_page_uri = 1;

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.

Generated from protobuf field .google.protobuf.StringValue access_denied_page_uri = 1;

Parameter
NameDescription
var string|null
Returns
TypeDescription
$this

getGenerateTroubleshootingUri

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

Generated from protobuf field .google.protobuf.BoolValue generate_troubleshooting_uri = 2;

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.

Generated from protobuf field .google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Returns
TypeDescription
bool|null

setGenerateTroubleshootingUri

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

Generated from protobuf field .google.protobuf.BoolValue generate_troubleshooting_uri = 2;

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.

Generated from protobuf field .google.protobuf.BoolValue generate_troubleshooting_uri = 2;

Parameter
NameDescription
var bool|null
Returns
TypeDescription
$this