| java.lang.Object | |
| ↳ | com.google.firebase.projectmanagement.FirebaseProjectManagement |
This class is the entry point for all Firebase Project Management actions.
You can get an instance of FirebaseProjectManagement via getInstance(FirebaseApp),
and then use it to modify or retrieve information about your Firebase project, as well as create,
modify, or retrieve information about the Android or iOS Apps in your Firebase project.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AndroidApp |
createAndroidApp(String packageName)
Creates a new Android App in the associated Firebase project and returns an
AndroidApp
reference to it. | ||||||||||
| AndroidApp |
createAndroidApp(String packageName, String displayName)
Creates a new Android App in the associated Firebase project and returns an
AndroidApp
reference to it. | ||||||||||
| ApiFuture<AndroidApp> |
createAndroidAppAsync(String packageName)
Asynchronously creates a new Android App in the associated Firebase project and returns an
ApiFuture that will eventually contain the AndroidApp reference to it. | ||||||||||
| ApiFuture<AndroidApp> |
createAndroidAppAsync(String packageName, String displayName)
Asynchronously creates a new Android App in the associated Firebase project and returns an
ApiFuture that will eventually contain the AndroidApp reference to it. | ||||||||||
| IosApp |
createIosApp(String bundleId, String displayName)
Creates a new iOS App in the associated Firebase project and returns an
IosApp
reference to it. | ||||||||||
| IosApp |
createIosApp(String bundleId)
Creates a new iOS App in the associated Firebase project and returns an
IosApp
reference to it. | ||||||||||
| ApiFuture<IosApp> |
createIosAppAsync(String bundleId, String displayName)
Asynchronously creates a new iOS App in the associated Firebase project and returns an
ApiFuture that will eventually contain the IosApp reference to it. | ||||||||||
| ApiFuture<IosApp> |
createIosAppAsync(String bundleId)
Asynchronously creates a new iOS App in the associated Firebase project and returns an
ApiFuture that will eventually contain the IosApp reference to it. | ||||||||||
| AndroidApp |
getAndroidApp(String appId)
Obtains an
AndroidApp reference to an Android App in the associated Firebase project. | ||||||||||
| static FirebaseProjectManagement |
getInstance(FirebaseApp app)
Gets the
FirebaseProjectManagement instance for the specified FirebaseApp. | ||||||||||
| static FirebaseProjectManagement |
getInstance()
Gets the
FirebaseProjectManagement instance for the default FirebaseApp. | ||||||||||
| IosApp |
getIosApp(String appId)
Obtains an
IosApp reference to an iOS App in the associated Firebase project. | ||||||||||
| List<AndroidApp> |
listAndroidApps()
Lists all Android Apps in the associated Firebase project, returning a list of
AndroidApp references to each. | ||||||||||
| ApiFuture<List<AndroidApp>> |
listAndroidAppsAsync()
Asynchronously lists all Android Apps in the associated Firebase project, returning an
ApiFuture of a list of AndroidApp references to each. | ||||||||||
| List<IosApp> |
listIosApps()
Lists all iOS Apps in the associated Firebase project, returning a list of
IosApp
references to each. | ||||||||||
| ApiFuture<List<IosApp>> |
listIosAppsAsync()
Asynchronously lists all iOS Apps in the associated Firebase project, returning an
ApiFuture of a list of IosApp references to each. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new Android App in the associated Firebase project and returns an AndroidApp
reference to it.
| packageName | the package name of the Android App to be created |
|---|
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
Creates a new Android App in the associated Firebase project and returns an AndroidApp
reference to it.
| packageName | the package name of the Android App to be created |
|---|---|
| displayName | a nickname for this Android App |
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
Asynchronously creates a new Android App in the associated Firebase project and returns an
ApiFuture that will eventually contain the AndroidApp reference to it.
| packageName | the package name of the Android App to be created |
|---|
Asynchronously creates a new Android App in the associated Firebase project and returns an
ApiFuture that will eventually contain the AndroidApp reference to it.
| packageName | the package name of the Android App to be created |
|---|---|
| displayName | a nickname for this Android App |
Creates a new iOS App in the associated Firebase project and returns an IosApp
reference to it.
| bundleId | the bundle ID of the iOS App to be created |
|---|---|
| displayName | a nickname for this iOS App |
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
Creates a new iOS App in the associated Firebase project and returns an IosApp
reference to it.
| bundleId | the bundle ID of the iOS App to be created |
|---|
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
Obtains an AndroidApp reference to an Android App in the associated Firebase project.
| appId | the App ID that identifies this Android App. |
|---|
Gets the FirebaseProjectManagement instance for the specified FirebaseApp.
FirebaseProjectManagement instance for the specified FirebaseApp
Gets the FirebaseProjectManagement instance for the default FirebaseApp.
FirebaseProjectManagement instance for the default FirebaseApp
Lists all Android Apps in the associated Firebase project, returning a list of AndroidApp references to each. This returned list is read-only and cannot be modified.
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|
Asynchronously lists all Android Apps in the associated Firebase project, returning an ApiFuture of a list of AndroidApp references to each. This returned list is read-only
and cannot be modified.
Lists all iOS Apps in the associated Firebase project, returning a list of IosApp
references to each. This returned list is read-only and cannot be modified.
| FirebaseProjectManagementException | if there was an error during the RPC |
|---|