class ProjectsAndroidAppsSha extends Resource (View source)

The "sha" collection of methods.

Typical usage is:

 $firebaseService = new Google\Service\FirebaseManagement(...);
 $sha = $firebaseService->projects_androidApps_sha;

Methods

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

Adds a ShaCertificate to the specified AndroidApp. (sha.create)

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

Removes a ShaCertificate from the specified AndroidApp. (sha.delete)

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

Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.

Details

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

Adds a ShaCertificate to the specified AndroidApp. (sha.create)

Parameters

string $parent

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.

ShaCertificate $postBody
array $optParams

Optional parameters.

Return Value

ShaCertificate

Exceptions

Exception

FirebaseEmpty delete(string $name, array $optParams = [])

Removes a ShaCertificate from the specified AndroidApp. (sha.delete)

Parameters

string $name

The resource name of the ShaCertificate to remove from the parent AndroidApp, in the format: projects/PROJECT_IDENTIFIER/androidApps/APP_ID /sha/SHA_HASH Refer to the ShaCertificate name field for details about PROJECT_IDENTIFIER, APP_ID, and SHA_HASH values. You can obtain the full resource name of the ShaCertificate from the response of ListShaCertificates or the original CreateShaCertificate.

array $optParams

Optional parameters.

Return Value

FirebaseEmpty

Exceptions

Exception

ListShaCertificatesResponse listProjectsAndroidAppsSha(string $parent, array $optParams = [])

Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.

(sha.listProjectsAndroidAppsSha)

Parameters

string $parent

The resource name of the parent AndroidApp for which to list each associated 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.

array $optParams

Optional parameters.

Return Value

ListShaCertificatesResponse

Exceptions

Exception