From 199de731c23786191fcc2efb964de75e8cfc81c3 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 6 Dec 2022 19:13:57 +0000 Subject: [PATCH] Add Firebase AndroidApp Data Source (#6903) * Update api.yaml * Update api.yaml * Add a Datasource for Firebase AndroidApp * Add AndroidApp datasource * Add GA tags to data_source_google_firebase_android_app_test.go * Rename data_source_google_firebase_android_app_test.go to data_source_google_firebase_android_app_test.go.erb Signed-off-by: Modular Magician --- .changelog/6903.txt | 3 ++ ...data_source_google_firebase_android_app.go | 1 + ...source_google_firebase_android_app_test.go | 1 + .../docs/d/firebase_android_app.html.markdown | 51 +++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 .changelog/6903.txt create mode 100644 google/data_source_google_firebase_android_app.go create mode 100644 google/data_source_google_firebase_android_app_test.go create mode 100644 website/docs/d/firebase_android_app.html.markdown diff --git a/.changelog/6903.txt b/.changelog/6903.txt new file mode 100644 index 0000000000..bb1f1ac3b5 --- /dev/null +++ b/.changelog/6903.txt @@ -0,0 +1,3 @@ +```release-note:new-datasource +`google_firebase_android_app` +``` diff --git a/google/data_source_google_firebase_android_app.go b/google/data_source_google_firebase_android_app.go new file mode 100644 index 0000000000..71664db3c8 --- /dev/null +++ b/google/data_source_google_firebase_android_app.go @@ -0,0 +1 @@ +package google diff --git a/google/data_source_google_firebase_android_app_test.go b/google/data_source_google_firebase_android_app_test.go new file mode 100644 index 0000000000..71664db3c8 --- /dev/null +++ b/google/data_source_google_firebase_android_app_test.go @@ -0,0 +1 @@ +package google diff --git a/website/docs/d/firebase_android_app.html.markdown b/website/docs/d/firebase_android_app.html.markdown new file mode 100644 index 0000000000..da44365063 --- /dev/null +++ b/website/docs/d/firebase_android_app.html.markdown @@ -0,0 +1,51 @@ +--- +subcategory: "Firebase" +page_title: "Google: google_firebase_android_app" +description: |- + A Google Cloud Firebase Android application instance +--- + +# google\_firebase\_android\_app + +A Google Cloud Firebase Android application instance + +~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider. +See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources. + + +## Argument Reference + +The following arguments are supported: + + +* `app_id` - + (Required) + The app_ip of name of the Firebase androidApp. + + +- - - + + +* `project` - (Optional) The ID of the project in which the resource belongs. + If it is not provided, the provider project is used. + + +## Attributes Reference + +In addition to the arguments listed above, the following computed attributes are exported: + +* `id` - an identifier for the resource with format `{{name}}` + +* `name` - + The fully qualified resource name of the App, for example: + projects/projectId/androidApps/appId + +* `app_id` - + Immutable. The globally unique, Firebase-assigned identifier of the App. + This identifier should be treated as an opaque token, as the data format is not specified. + +* `display_name` - + The user-assigned display name of the App. + +* `package_name` - + The canonical package name of the Android app as would appear in the Google Play Developer Console.