

# GoogleOauth2ProviderConfigInput
<a name="API_GoogleOauth2ProviderConfigInput"></a>

Input configuration for a Google OAuth2 provider.

## Contents
<a name="API_GoogleOauth2ProviderConfigInput_Contents"></a>

 ** clientId **   <a name="bedrockagentcorecontrol-Type-GoogleOauth2ProviderConfigInput-clientId"></a>
The client ID for the Google OAuth2 provider.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** clientSecret **   <a name="bedrockagentcorecontrol-Type-GoogleOauth2ProviderConfigInput-clientSecret"></a>
The client secret for the Google OAuth2 provider.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Required: No

 ** clientSecretConfig **   <a name="bedrockagentcorecontrol-Type-GoogleOauth2ProviderConfigInput-clientSecretConfig"></a>
A reference to the Amazon Secrets Manager secret that stores the client secret. This includes the secret ID and the JSON key used to extract the client secret value from the secret. Required when `clientSecretSource` is set to `EXTERNAL`.  
Type: [SecretReference](API_SecretReference.md) object  
Required: No

 ** clientSecretSource **   <a name="bedrockagentcorecontrol-Type-GoogleOauth2ProviderConfigInput-clientSecretSource"></a>
The source type of the client secret. Use `MANAGED` if the secret is managed by the service, or `EXTERNAL` if you manage the secret yourself in Amazon Secrets Manager.  
Type: String  
Valid Values: `MANAGED | EXTERNAL`   
Required: No

## See Also
<a name="API_GoogleOauth2ProviderConfigInput_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/GoogleOauth2ProviderConfigInput) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/GoogleOauth2ProviderConfigInput) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/GoogleOauth2ProviderConfigInput) 