# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::Application::IdentityAwareProxy (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::Application::IdentityAwareProxy.

Identity-Aware Proxy

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #enabled

    def enabled() -> ::Boolean

**Returns**

- (::Boolean) --- 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.

### #enabled=

    def enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- 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**

- (::Boolean) --- 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

    def oauth2_client_id() -> ::String

**Returns**

- (::String) --- OAuth2 client ID to use for the authentication flow.

### #oauth2_client_id=

    def oauth2_client_id=(value) -> ::String

**Parameter**

- **value** (::String) --- OAuth2 client ID to use for the authentication flow.
**Returns**

- (::String) --- OAuth2 client ID to use for the authentication flow.

### #oauth2_client_secret

    def oauth2_client_secret() -> ::String

**Returns**

- (::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.

### #oauth2_client_secret=

    def oauth2_client_secret=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #oauth2_client_secret_sha256

    def oauth2_client_secret_sha256() -> ::String

**Returns**

- (::String) --- Hex-encoded SHA-256 hash of the client secret.

### #oauth2_client_secret_sha256=

    def oauth2_client_secret_sha256=(value) -> ::String

**Parameter**

- **value** (::String) --- Hex-encoded SHA-256 hash of the client secret.
**Returns**

- (::String) --- Hex-encoded SHA-256 hash of the client secret.