public final class

FirebaseOptions

extends Object
java.lang.Object
   ↳ com.google.firebase.FirebaseOptions

Class Overview

Configurable Firebase options.

Summary

Nested Classes
class FirebaseOptions.Builder Builder for constructing FirebaseOptions
Public Methods
Map<String, Object> getDatabaseAuthVariableOverride()
Returns the auth variable to be used in Security Rules.
String getDatabaseUrl()
Returns the Realtime Database URL to use for data storage.
HttpTransport getHttpTransport()
Returns the HttpTransport used to call remote HTTP endpoints.
JsonFactory getJsonFactory()
Returns the JsonFactory used to parse JSON when calling remote HTTP endpoints.
String getProjectId()
Returns the Google Cloud project ID.
String getStorageBucket()
Returns the name of the Google Cloud Storage bucket used for storing application data.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Map<String, Object> getDatabaseAuthVariableOverride ()

Returns the auth variable to be used in Security Rules.

Returns

public String getDatabaseUrl ()

Returns the Realtime Database URL to use for data storage.

Returns

public HttpTransport getHttpTransport ()

Returns the HttpTransport used to call remote HTTP endpoints. This transport is used by all services of the SDK, except for FirebaseDatabase.

Returns
  • A Google API client HttpTransport instance.

public JsonFactory getJsonFactory ()

Returns the JsonFactory used to parse JSON when calling remote HTTP endpoints.

Returns
  • A Google API client JsonFactory instance.

public String getProjectId ()

Returns the Google Cloud project ID.

Returns

public String getStorageBucket ()

Returns the name of the Google Cloud Storage bucket used for storing application data.

Returns