class ProjectsAndroidApps extends Resource (View source)

The "androidApps" collection of methods.

Typical usage is:

 $firebaseService = new Google\Service\FirebaseManagement(...);
 $androidApps = $firebaseService->projects_androidApps;

Methods

create(string $parent, AndroidApp $postBody, array $optParams = [])

Requests the creation of a new AndroidApp in the specified FirebaseProject.

get(string $name, array $optParams = [])

Gets the specified AndroidApp. (androidApps.get)

getConfig(string $name, array $optParams = [])

Gets the configuration artifact associated with the specified AndroidApp.

listProjectsAndroidApps(string $parent, array $optParams = [])

Lists each AndroidApp associated with the specified FirebaseProject. The elements are returned in no particular order, but will be a consistent view of the Apps when additional requests are made with a pageToken.

patch(string $name, AndroidApp $postBody, array $optParams = [])

Updates the attributes of the specified AndroidApp. (androidApps.patch)

remove(string $name, RemoveAndroidAppRequest $postBody, array $optParams = [])

Removes the specified AndroidApp from the FirebaseProject.

undelete(string $name, UndeleteAndroidAppRequest $postBody, array $optParams = [])

Restores the specified AndroidApp to the FirebaseProject.

Details

Operation create(string $parent, AndroidApp $postBody, array $optParams = [])

Requests the creation of a new AndroidApp in the specified FirebaseProject.

The result of this call is an Operation which can be used to track the provisioning process. The Operation is automatically deleted after completion, so there is no need to call DeleteOperation. (androidApps.create)

Parameters

string $parent

The resource name of the parent FirebaseProject in which to create an AndroidApp, in the format: projects/PROJECT_IDENTIFIER/androidApps Refer to the FirebaseProject name field for details about PROJECT_IDENTIFIER values.

AndroidApp $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

AndroidApp get(string $name, array $optParams = [])

Gets the specified AndroidApp. (androidApps.get)

Parameters

string $name

The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format: projects/-/androidApps/APP_ID Refer to the AndroidApp name field for details about PROJECT_IDENTIFIER and APP_ID values.

array $optParams

Optional parameters.

Return Value

AndroidApp

Exceptions

Exception

AndroidAppConfig getConfig(string $name, array $optParams = [])

Gets the configuration artifact associated with the specified AndroidApp.

(androidApps.getConfig)

Parameters

string $name

The resource name of the AndroidApp configuration to download, in the format: projects/PROJECT_IDENTIFIER/androidApps/APP_ID/config Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format: projects/-/androidApps/APP_ID Refer to the AndroidApp name field for details about PROJECT_IDENTIFIER and APP_ID values.

array $optParams

Optional parameters.

Return Value

AndroidAppConfig

Exceptions

Exception

ListAndroidAppsResponse listProjectsAndroidApps(string $parent, array $optParams = [])

Lists each AndroidApp associated with the specified FirebaseProject. The elements are returned in no particular order, but will be a consistent view of the Apps when additional requests are made with a pageToken.

(androidApps.listProjectsAndroidApps)

Parameters

string $parent

The resource name of the parent FirebaseProject for which to list each associated AndroidApp, in the format: projects/PROJECT_IDENTIFIER /androidApps Refer to the FirebaseProject name field for details about PROJECT_IDENTIFIER values.

array $optParams

Optional parameters.

Return Value

ListAndroidAppsResponse

Exceptions

Exception

AndroidApp patch(string $name, AndroidApp $postBody, array $optParams = [])

Updates the attributes of the specified AndroidApp. (androidApps.patch)

Parameters

string $name

The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).

AndroidApp $postBody
array $optParams

Optional parameters.

Return Value

AndroidApp

Exceptions

Exception

Operation remove(string $name, RemoveAndroidAppRequest $postBody, array $optParams = [])

Removes the specified AndroidApp from the FirebaseProject.

(androidApps.remove)

Parameters

string $name

Required. The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format: projects/-/androidApps/APP_ID Refer to the AndroidApp name field for details about PROJECT_IDENTIFIER and APP_ID values.

RemoveAndroidAppRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation undelete(string $name, UndeleteAndroidAppRequest $postBody, array $optParams = [])

Restores the specified AndroidApp to the FirebaseProject.

(androidApps.undelete)

Parameters

string $name

Required. The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format: projects/-/androidApps/APP_ID Refer to the AndroidApp name field for details about PROJECT_IDENTIFIER and APP_ID values.

UndeleteAndroidAppRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception