Method: projects.androidApps.sha.create

Adds a ShaCertificate to the specified AndroidApp.

HTTP request

POST https://firebase.googleapis.com/v1beta1/{parent=projects/*/androidApps/*}/sha

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The resource name of the parent AndroidApp to which to add a ShaCertificate, 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.

Request body

The request body contains an instance of ShaCertificate.

Response body

If successful, the response body contains a newly created instance of ShaCertificate.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/firebase

For more information, see the Authentication Overview.