Google Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.Google

public final class Google

The configuration settings of the Google provider.

Constructor Summary

Constructor Description
Google()

Creates an instance of Google class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: false if the Google provider should not be enabled despite the set registration; otherwise, true.

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: false if the Google provider should not be enabled despite the set registration; otherwise, true.

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.

Methods inherited from java.lang.Object

Constructor Details

Google

public Google()

Creates an instance of Google class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: false if the Google provider should not be enabled despite the set registration; otherwise, true.

Returns:

the enabled value.

login

public LoginScopes login()

Get the login property: The configuration settings of the login flow.

Returns:

the login value.

registration

public ClientRegistration registration()

Get the registration property: The configuration settings of the app registration for the Google provider.

Returns:

the registration value.

validate

public void validate()

Validates the instance.

validation

public AllowedAudiencesValidation validation()

Get the validation property: The configuration settings of the Azure Active Directory token validation flow.

Returns:

the validation value.

withEnabled

public Google withEnabled(Boolean enabled)

Set the enabled property: false if the Google provider should not be enabled despite the set registration; otherwise, true.

Parameters:

enabled - the enabled value to set.

Returns:

the Google object itself.

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.

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.

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.

Applies to