共用方式為


Google Class

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

Implements

public final class Google
implements JsonSerializable<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.

static Google fromJson(JsonReader jsonReader)

Reads an instance of Google from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

fromJson

public static Google fromJson(JsonReader jsonReader)

Reads an instance of Google from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Google if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Google.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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