AndroidApp

Example Usage

Firebase Android App Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.AndroidApp;
import com.pulumi.gcp.firebase.AndroidAppArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var basic = new AndroidApp("basic", AndroidAppArgs.builder()
.project("my-project-name")
.displayName("Display Name Basic")
.packageName("")
.sha1Hashes("2145bdf698b8715039bd0e83f2069bed435ac21c")
.sha256Hashes("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc")
.build(), CustomResourceOptions.builder()
.provider(google_beta)
.build());
}
}

Import

AndroidApp can be imported using any of these accepted formats

$ pulumi import gcp:firebase/androidApp:AndroidApp default projects/{{project}}/androidApps/{{appId}}
$ pulumi import gcp:firebase/androidApp:AndroidApp default {{project}}/{{appId}}
$ pulumi import gcp:firebase/androidApp:AndroidApp default androidApps/{{appId}}
$ pulumi import gcp:firebase/androidApp:AndroidApp default {{appId}}

Properties

Link copied to clipboard
val appId: Output<String>

The globally unique, Firebase-assigned identifier of the AndroidApp. This identifier should be treated as an opaque token, as the data format is not specified.

Link copied to clipboard
val deletionPolicy: Output<String>?

(Optional) Set to 'ABANDON' to allow the AndroidApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AndroidApp may be serving traffic. Set to 'DELETE' to delete the AndroidApp. Default to 'DELETE'.

Link copied to clipboard
val displayName: Output<String>

The user-assigned display name of the AndroidApp.

Link copied to clipboard
val etag: Output<String>

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The fully qualified resource name of the AndroidApp, for example: projects/projectId/androidApps/appId

Link copied to clipboard
val packageName: Output<String>?

Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sha1Hashes: Output<List<String>>?

The SHA1 certificate hashes for the AndroidApp.

Link copied to clipboard
val sha256Hashes: Output<List<String>>?

The SHA256 certificate hashes for the AndroidApp.

Link copied to clipboard
val urn: Output<String>