Google Cloud Appengine Admin V1 Client - Class IdentityAwareProxy (1.1.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
NameDescription
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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

getOauth2ClientId

OAuth2 client ID to use for the authentication flow.

Returns
TypeDescription
string

setOauth2ClientId

OAuth2 client ID to use for the authentication flow.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getOauth2ClientSecretSha256

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

@OutputOnly

Returns
TypeDescription
string

setOauth2ClientSecretSha256

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

@OutputOnly

Parameter
NameDescription
var string
Returns
TypeDescription
$this