def __init__(__self__, *, enabled: Optional[pulumi.Input[bool]]=None, oauth2_client_id: Optional[pulumi.Input[str]]=None, oauth2_client_info: Optional[pulumi.Input['BackendServiceIAPOAuth2ClientInfoArgs']]=None, oauth2_client_secret: Optional[pulumi.Input[str]]=None):
    "\n        Identity-Aware Proxy\n        :param pulumi.Input[bool] enabled: Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.\n        :param pulumi.Input[str] oauth2_client_id: OAuth2 client ID to use for the authentication flow.\n        :param pulumi.Input['BackendServiceIAPOAuth2ClientInfoArgs'] oauth2_client_info: [Input Only] OAuth client info required to generate client id to be used for IAP.\n        :param pulumi.Input[str] oauth2_client_secret: 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 oauth2ClientSecretSha256 field. @InputOnly\n        "
    if (enabled is not None):
        pulumi.set(__self__, 'enabled', enabled)
    if (oauth2_client_id is not None):
        pulumi.set(__self__, 'oauth2_client_id', oauth2_client_id)
    if (oauth2_client_info is not None):
        pulumi.set(__self__, 'oauth2_client_info', oauth2_client_info)
    if (oauth2_client_secret is not None):
        pulumi.set(__self__, 'oauth2_client_secret', oauth2_client_secret)
Identity-Aware Proxy
:param pulumi.Input[bool] enabled: Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
:param pulumi.Input[str] oauth2_client_id: OAuth2 client ID to use for the authentication flow.
:param pulumi.Input['BackendServiceIAPOAuth2ClientInfoArgs'] oauth2_client_info: [Input Only] OAuth client info required to generate client id to be used for IAP.
:param pulumi.Input[str] oauth2_client_secret: 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 oauth2ClientSecretSha256 field. @InputOnly
def __init__(__self__, *, enabled: Optional[pulumi.Input[bool]]=None, oauth2_client_id: Optional[pulumi.Input[str]]=None, oauth2_client_info: Optional[pulumi.Input['BackendServiceIAPOAuth2ClientInfoArgs']]=None, oauth2_client_secret: Optional[pulumi.Input[str]]=None):
    "\n        Identity-Aware Proxy\n        :param pulumi.Input[bool] enabled: Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.\n        :param pulumi.Input[str] oauth2_client_id: OAuth2 client ID to use for the authentication flow.\n        :param pulumi.Input['BackendServiceIAPOAuth2ClientInfoArgs'] oauth2_client_info: [Input Only] OAuth client info required to generate client id to be used for IAP.\n        :param pulumi.Input[str] oauth2_client_secret: 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 oauth2ClientSecretSha256 field. @InputOnly\n        "
    if (enabled is not None):
        pulumi.set(__self__, 'enabled', enabled)
    if (oauth2_client_id is not None):
        pulumi.set(__self__, 'oauth2_client_id', oauth2_client_id)
    if (oauth2_client_info is not None):
        pulumi.set(__self__, 'oauth2_client_info', oauth2_client_info)
    if (oauth2_client_secret is not None):
        pulumi.set(__self__, 'oauth2_client_secret', oauth2_client_secret)