1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebase
  5. firebase/v1beta1
  6. AndroidApp

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.firebase/v1beta1.AndroidApp

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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.

    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

    The AndroidApp resource accepts the following input properties:

    ApiKeyId string
    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 the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to androidApps.Create, then Firebase automatically associates an api_key_id with the AndroidApp. 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 associated AndroidApp. We recommend using the Google Cloud Console to manage API keys.
    DisplayName 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 its ProjectId. 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 the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
    PackageName 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.
    ApiKeyId string
    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 the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to androidApps.Create, then Firebase automatically associates an api_key_id with the AndroidApp. 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 associated AndroidApp. We recommend using the Google Cloud Console to manage API keys.
    DisplayName 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 its ProjectId. 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 the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
    PackageName 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.
    apiKeyId String
    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 the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to androidApps.Create, then Firebase automatically associates an api_key_id with the AndroidApp. 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 associated AndroidApp. We recommend using the Google Cloud Console to manage API keys.
    displayName 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 its ProjectId. 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 the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
    packageName 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.
    apiKeyId string
    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 the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to androidApps.Create, then Firebase automatically associates an api_key_id with the AndroidApp. 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 associated AndroidApp. We recommend using the Google Cloud Console to manage API keys.
    displayName 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 its ProjectId. 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 the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
    packageName 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_id str
    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 the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to androidApps.Create, then Firebase automatically associates an api_key_id with the AndroidApp. 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 associated AndroidApp. 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 its ProjectId. 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 the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
    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.
    apiKeyId String
    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 the keyString of the API key. The keyString is the value that can be found in the App's configuration artifact. If api_key_id is not set in requests to androidApps.Create, then Firebase automatically associates an api_key_id with the AndroidApp. 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 associated AndroidApp. We recommend using the Google Cloud Console to manage API keys.
    displayName 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 its ProjectId. 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 the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
    packageName 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:

    AppId 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.
    ExpireTime 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.
    AppId 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.
    ExpireTime 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.
    appId 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.
    expireTime 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.
    appId 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.
    expireTime 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.
    appId 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.
    expireTime 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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi