-
- All Implemented Interfaces:
public abstract class FirebaseReleasesJanitorExtension
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<String>serviceAccountFilePathprivate final Property<String>projectIdprivate final Property<String>releaseVersionprivate final NamedDomainObjectContainer<FirebaseProjectApplicationClient>clients
-
Constructor Summary
Constructors Constructor Description FirebaseReleasesJanitorExtension(ObjectFactory objects, ProviderFactory providers)
-
Method Summary
Modifier and Type Method Description final Property<String>getServiceAccountFilePath()The path to the service account file used to authenticate with the Firebase App Distribution API. abstract Property<String>getProjectId()The unique identifier for the Firebase project. abstract Property<String>getReleaseVersion()The target version of the release that should be cleaned up. abstract NamedDomainObjectContainer<FirebaseProjectApplicationClient>getClients()A container for holding additional clients for the Firebase project, beyond those parsed from the google-services.json file. -
-
Method Detail
-
getServiceAccountFilePath
final Property<String> getServiceAccountFilePath()
The path to the service account file used to authenticate with the Firebase App Distribution API. This file should contain the private key and other credentials required to authenticate with the API. The service account should have the necessary permissions to call the App Distribution API.
-
getProjectId
abstract Property<String> getProjectId()
The unique identifier for the Firebase project. Can be found in the google-services.json file, in the "project_info" object, under the "project_number" field.
-
getReleaseVersion
abstract Property<String> getReleaseVersion()
The target version of the release that should be cleaned up. Only the latest release of this version will be kept, and all other releases of this version will be deleted upon task execution.
-
getClients
abstract NamedDomainObjectContainer<FirebaseProjectApplicationClient> getClients()
A container for holding additional clients for the Firebase project, beyond those parsed from the google-services.json file. Allows for the easy management and configuration of additional clients for the project.
-
-
-
-