Google Cloud Appengine Admin V1 Client - Class IdentityAwareProxy (2.0.1)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class IdentityAwareProxy.

Identity-Aware Proxy

Generated from protobuf message google.appengine.v1.Application.IdentityAwareProxy

Namespace

Google \ Cloud \ AppEngine \ V1 \ Application

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.

↳ oauth2_client_id string

OAuth2 client ID to use for the authentication flow.

↳ oauth2_client_secret string

OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field. @InputOnly

↳ oauth2_client_secret_sha256 string

Hex-encoded SHA-256 hash of the client secret. @OutputOnly

getEnabled

Whether the serving infrastructure will authenticate and authorize all incoming requests.

If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.

Returns
Type Description
bool

setEnabled

Whether the serving infrastructure will authenticate and authorize all incoming requests.

If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.

Parameter
Name Description
var bool
Returns
Type Description
$this

getOauth2ClientId

OAuth2 client ID to use for the authentication flow.

Returns
Type Description
string

setOauth2ClientId

OAuth2 client ID to use for the authentication flow.

Parameter
Name Description
var string
Returns
Type Description
$this

getOauth2ClientSecret

OAuth2 client secret to use for the authentication flow.

For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field. @InputOnly

Returns
Type Description
string

setOauth2ClientSecret

OAuth2 client secret to use for the authentication flow.

For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field. @InputOnly

Parameter
Name Description
var string
Returns
Type Description
$this

getOauth2ClientSecretSha256

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

Returns
Type Description
string

setOauth2ClientSecretSha256

Hex-encoded SHA-256 hash of the client secret.

@OutputOnly

Parameter
Name Description
var string
Returns
Type Description
$this