Class Google
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.Google
-
public final class Google extends Object
The configuration settings of the Google provider.
-
-
Constructor Summary
Constructors Constructor Description Google()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Get the enabled property: <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.LoginScopes
login()
Get the login property: The configuration settings of the login flow.ClientRegistration
registration()
Get the registration property: The configuration settings of the app registration for the Google provider.void
validate()
Validates the instance.AllowedAudiencesValidation
validation()
Get the validation property: The configuration settings of the Azure Active Directory token validation flow.Google
withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.Google
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.Google
withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the Google provider.Google
withValidation(AllowedAudiencesValidation validation)
Set the validation property: The configuration settings of the Azure Active Directory token validation flow.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.- Returns:
- the enabled value.
-
withEnabled
public Google withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the Google provider should not be enabled despite the set registration; otherwise, <code>true</code>.- Parameters:
enabled
- the enabled value to set.- Returns:
- the Google object itself.
-
registration
public ClientRegistration registration()
Get the registration property: The configuration settings of the app registration for the Google provider.- Returns:
- the registration value.
-
withRegistration
public Google withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the Google provider.- Parameters:
registration
- the registration value to set.- Returns:
- the Google object itself.
-
login
public LoginScopes login()
Get the login property: The configuration settings of the login flow.- Returns:
- the login value.
-
withLogin
public Google withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.- Parameters:
login
- the login value to set.- Returns:
- the Google object itself.
-
validation
public AllowedAudiencesValidation validation()
Get the validation property: The configuration settings of the Azure Active Directory token validation flow.- Returns:
- the validation value.
-
withValidation
public Google withValidation(AllowedAudiencesValidation validation)
Set the validation property: The configuration settings of the Azure Active Directory token validation flow.- Parameters:
validation
- the validation value to set.- Returns:
- the Google object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-