Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebase/v1beta1.AndroidApp
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Requests the creation of a new AndroidApp in the specified FirebaseProject. The result of this call is an Operation
which can be used to track the provisioning process. The Operation
is automatically deleted after completion, so there is no need to call DeleteOperation
.
Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist
on Google Cloud even though it will be deleted from Pulumi state.
Create AndroidApp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AndroidApp(name: string, args?: AndroidAppArgs, opts?: CustomResourceOptions);
@overload
def AndroidApp(resource_name: str,
args: Optional[AndroidAppArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AndroidApp(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_key_id: Optional[str] = None,
display_name: Optional[str] = None,
etag: Optional[str] = None,
name: Optional[str] = None,
package_name: Optional[str] = None,
project: Optional[str] = None,
sha1_hashes: Optional[Sequence[str]] = None,
sha256_hashes: Optional[Sequence[str]] = None)
func NewAndroidApp(ctx *Context, name string, args *AndroidAppArgs, opts ...ResourceOption) (*AndroidApp, error)
public AndroidApp(string name, AndroidAppArgs? args = null, CustomResourceOptions? opts = null)
public AndroidApp(String name, AndroidAppArgs args)
public AndroidApp(String name, AndroidAppArgs args, CustomResourceOptions options)
type: google-native:firebase/v1beta1:AndroidApp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AndroidAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AndroidAppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AndroidAppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AndroidAppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AndroidAppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var androidAppResource = new GoogleNative.Firebase.V1Beta1.AndroidApp("androidAppResource", new()
{
ApiKeyId = "string",
DisplayName = "string",
Etag = "string",
Name = "string",
PackageName = "string",
Project = "string",
Sha1Hashes = new[]
{
"string",
},
Sha256Hashes = new[]
{
"string",
},
});
example, err := firebase.NewAndroidApp(ctx, "androidAppResource", &firebase.AndroidAppArgs{
ApiKeyId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Etag: pulumi.String("string"),
Name: pulumi.String("string"),
PackageName: pulumi.String("string"),
Project: pulumi.String("string"),
Sha1Hashes: pulumi.StringArray{
pulumi.String("string"),
},
Sha256Hashes: pulumi.StringArray{
pulumi.String("string"),
},
})
var androidAppResource = new AndroidApp("androidAppResource", AndroidAppArgs.builder()
.apiKeyId("string")
.displayName("string")
.etag("string")
.name("string")
.packageName("string")
.project("string")
.sha1Hashes("string")
.sha256Hashes("string")
.build());
android_app_resource = google_native.firebase.v1beta1.AndroidApp("androidAppResource",
api_key_id="string",
display_name="string",
etag="string",
name="string",
package_name="string",
project="string",
sha1_hashes=["string"],
sha256_hashes=["string"])
const androidAppResource = new google_native.firebase.v1beta1.AndroidApp("androidAppResource", {
apiKeyId: "string",
displayName: "string",
etag: "string",
name: "string",
packageName: "string",
project: "string",
sha1Hashes: ["string"],
sha256Hashes: ["string"],
});
type: google-native:firebase/v1beta1:AndroidApp
properties:
apiKeyId: string
displayName: string
etag: string
name: string
packageName: string
project: string
sha1Hashes:
- string
sha256Hashes:
- string
AndroidApp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AndroidApp resource accepts the following input properties:
- Api
Key stringId - The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the
AndroidApp
. Be aware that this value is the UID of the API key, not thekeyString
of the API key. ThekeyString
is the value that can be found in the App's configuration artifact. Ifapi_key_id
is not set in requests toandroidApps.Create
, then Firebase automatically associates anapi_key_id
with theAndroidApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests,api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp
. We recommend using the Google Cloud Console to manage API keys. - Display
Name string - The user-assigned display name for the
AndroidApp
. - Etag 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. Learn more about
etag
in Google's AIP-154 standard. This etag is strongly validated. - Name string
- The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber
(recommended) or itsProjectId
. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be theProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId
). - Package
Name string - Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
- Project string
- Sha1Hashes List<string>
- The SHA1 certificate hashes for the AndroidApp.
- Sha256Hashes List<string>
- The SHA256 certificate hashes for the AndroidApp.
- Api
Key stringId - The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the
AndroidApp
. Be aware that this value is the UID of the API key, not thekeyString
of the API key. ThekeyString
is the value that can be found in the App's configuration artifact. Ifapi_key_id
is not set in requests toandroidApps.Create
, then Firebase automatically associates anapi_key_id
with theAndroidApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests,api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp
. We recommend using the Google Cloud Console to manage API keys. - Display
Name string - The user-assigned display name for the
AndroidApp
. - Etag 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. Learn more about
etag
in Google's AIP-154 standard. This etag is strongly validated. - Name string
- The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber
(recommended) or itsProjectId
. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be theProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId
). - Package
Name string - Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
- Project string
- Sha1Hashes []string
- The SHA1 certificate hashes for the AndroidApp.
- Sha256Hashes []string
- The SHA256 certificate hashes for the AndroidApp.
- api
Key StringId - The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the
AndroidApp
. Be aware that this value is the UID of the API key, not thekeyString
of the API key. ThekeyString
is the value that can be found in the App's configuration artifact. Ifapi_key_id
is not set in requests toandroidApps.Create
, then Firebase automatically associates anapi_key_id
with theAndroidApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests,api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp
. We recommend using the Google Cloud Console to manage API keys. - display
Name String - The user-assigned display name for the
AndroidApp
. - etag 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. Learn more about
etag
in Google's AIP-154 standard. This etag is strongly validated. - name String
- The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber
(recommended) or itsProjectId
. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be theProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId
). - package
Name String - Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
- project String
- sha1Hashes List<String>
- The SHA1 certificate hashes for the AndroidApp.
- sha256Hashes List<String>
- The SHA256 certificate hashes for the AndroidApp.
- api
Key stringId - The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the
AndroidApp
. Be aware that this value is the UID of the API key, not thekeyString
of the API key. ThekeyString
is the value that can be found in the App's configuration artifact. Ifapi_key_id
is not set in requests toandroidApps.Create
, then Firebase automatically associates anapi_key_id
with theAndroidApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests,api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp
. We recommend using the Google Cloud Console to manage API keys. - display
Name string - The user-assigned display name for the
AndroidApp
. - etag 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. Learn more about
etag
in Google's AIP-154 standard. This etag is strongly validated. - name string
- The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber
(recommended) or itsProjectId
. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be theProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId
). - package
Name string - Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
- project string
- sha1Hashes string[]
- The SHA1 certificate hashes for the AndroidApp.
- sha256Hashes string[]
- The SHA256 certificate hashes for the AndroidApp.
- api_
key_ strid - The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the
AndroidApp
. Be aware that this value is the UID of the API key, not thekeyString
of the API key. ThekeyString
is the value that can be found in the App's configuration artifact. Ifapi_key_id
is not set in requests toandroidApps.Create
, then Firebase automatically associates anapi_key_id
with theAndroidApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests,api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp
. We recommend using the Google Cloud Console to manage API keys. - display_
name str - The user-assigned display name for the
AndroidApp
. - etag str
- 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. Learn more about
etag
in Google's AIP-154 standard. This etag is strongly validated. - name str
- The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber
(recommended) or itsProjectId
. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be theProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId
). - package_
name str - Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
- project str
- sha1_
hashes Sequence[str] - The SHA1 certificate hashes for the AndroidApp.
- sha256_
hashes Sequence[str] - The SHA256 certificate hashes for the AndroidApp.
- api
Key StringId - The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the
AndroidApp
. Be aware that this value is the UID of the API key, not thekeyString
of the API key. ThekeyString
is the value that can be found in the App's configuration artifact. Ifapi_key_id
is not set in requests toandroidApps.Create
, then Firebase automatically associates anapi_key_id
with theAndroidApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests,api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp
. We recommend using the Google Cloud Console to manage API keys. - display
Name String - The user-assigned display name for the
AndroidApp
. - etag 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. Learn more about
etag
in Google's AIP-154 standard. This etag is strongly validated. - name String
- The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber
(recommended) or itsProjectId
. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be theProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId
). - package
Name String - Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
- project String
- sha1Hashes List<String>
- The SHA1 certificate hashes for the AndroidApp.
- sha256Hashes List<String>
- The SHA256 certificate hashes for the AndroidApp.
Outputs
All input properties are implicitly available as output properties. Additionally, the AndroidApp resource produces the following output properties:
- App
Id string - Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified. - Expire
Time string - Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the
DELETED
state. - Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The lifecycle state of the App.
- App
Id string - Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified. - Expire
Time string - Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the
DELETED
state. - Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The lifecycle state of the App.
- app
Id String - Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified. - expire
Time String - Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the
DELETED
state. - id String
- The provider-assigned unique ID for this managed resource.
- state String
- The lifecycle state of the App.
- app
Id string - Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified. - expire
Time string - Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the
DELETED
state. - id string
- The provider-assigned unique ID for this managed resource.
- state string
- The lifecycle state of the App.
- app_
id str - Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified. - expire_
time str - Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the
DELETED
state. - id str
- The provider-assigned unique ID for this managed resource.
- state str
- The lifecycle state of the App.
- app
Id String - Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified. - expire
Time String - Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the
DELETED
state. - id String
- The provider-assigned unique ID for this managed resource.
- state String
- The lifecycle state of the App.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.