1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. firebase
  5. AppCheckPlayIntegrityConfig
Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi

gcp.firebase.AppCheckPlayIntegrityConfig

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi

    An app’s Play Integrity configuration object. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by the Play Integrity API. Make sure your gcp.firebase.AndroidApp has at least one sha256_hashes present.

    To get more information about PlayIntegrityConfig, see:

    Example Usage

    Firebase App Check Play Integrity Config Minimal

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    import * as time from "@pulumi/time";
    
    const _default = new gcp.firebase.AndroidApp("default", {
        project: "my-project-name",
        displayName: "Play Integrity app",
        packageName: "package.name.playintegrity",
        sha1Hashes: ["2145bdf698b8715039bd0e83f2069bed435ac21c"],
        sha256Hashes: ["2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"],
    });
    // It takes a while for App Check to recognize the new app
    // If your app already exists, you don't have to wait 30 seconds.
    const wait30s = new time.index.Sleep("wait_30s", {createDuration: "30s"});
    const defaultAppCheckPlayIntegrityConfig = new gcp.firebase.AppCheckPlayIntegrityConfig("default", {
        project: "my-project-name",
        appId: _default.appId,
    });
    
    import pulumi
    import pulumi_gcp as gcp
    import pulumi_time as time
    
    default = gcp.firebase.AndroidApp("default",
        project="my-project-name",
        display_name="Play Integrity app",
        package_name="package.name.playintegrity",
        sha1_hashes=["2145bdf698b8715039bd0e83f2069bed435ac21c"],
        sha256_hashes=["2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"])
    # It takes a while for App Check to recognize the new app
    # If your app already exists, you don't have to wait 30 seconds.
    wait30s = time.index.Sleep("wait_30s", create_duration=30s)
    default_app_check_play_integrity_config = gcp.firebase.AppCheckPlayIntegrityConfig("default",
        project="my-project-name",
        app_id=default.app_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
    	"github.com/pulumi/pulumi-time/sdk/go/time"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := firebase.NewAndroidApp(ctx, "default", &firebase.AndroidAppArgs{
    			Project:     pulumi.String("my-project-name"),
    			DisplayName: pulumi.String("Play Integrity app"),
    			PackageName: pulumi.String("package.name.playintegrity"),
    			Sha1Hashes: pulumi.StringArray{
    				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
    			},
    			Sha256Hashes: pulumi.StringArray{
    				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// It takes a while for App Check to recognize the new app
    		// If your app already exists, you don't have to wait 30 seconds.
    		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
    			CreateDuration: "30s",
    		})
    		if err != nil {
    			return err
    		}
    		_, err = firebase.NewAppCheckPlayIntegrityConfig(ctx, "default", &firebase.AppCheckPlayIntegrityConfigArgs{
    			Project: pulumi.String("my-project-name"),
    			AppId:   _default.AppId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    using Time = Pulumi.Time;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.Firebase.AndroidApp("default", new()
        {
            Project = "my-project-name",
            DisplayName = "Play Integrity app",
            PackageName = "package.name.playintegrity",
            Sha1Hashes = new[]
            {
                "2145bdf698b8715039bd0e83f2069bed435ac21c",
            },
            Sha256Hashes = new[]
            {
                "2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc",
            },
        });
    
        // It takes a while for App Check to recognize the new app
        // If your app already exists, you don't have to wait 30 seconds.
        var wait30s = new Time.Index.Sleep("wait_30s", new()
        {
            CreateDuration = "30s",
        });
    
        var defaultAppCheckPlayIntegrityConfig = new Gcp.Firebase.AppCheckPlayIntegrityConfig("default", new()
        {
            Project = "my-project-name",
            AppId = @default.AppId,
        });
    
    });
    
    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.time.sleep;
    import com.pulumi.time.SleepArgs;
    import com.pulumi.gcp.firebase.AppCheckPlayIntegrityConfig;
    import com.pulumi.gcp.firebase.AppCheckPlayIntegrityConfigArgs;
    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 default_ = new AndroidApp("default", AndroidAppArgs.builder()        
                .project("my-project-name")
                .displayName("Play Integrity app")
                .packageName("package.name.playintegrity")
                .sha1Hashes("2145bdf698b8715039bd0e83f2069bed435ac21c")
                .sha256Hashes("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc")
                .build());
    
            // It takes a while for App Check to recognize the new app
            // If your app already exists, you don't have to wait 30 seconds.
            var wait30s = new Sleep("wait30s", SleepArgs.builder()        
                .createDuration("30s")
                .build());
    
            var defaultAppCheckPlayIntegrityConfig = new AppCheckPlayIntegrityConfig("defaultAppCheckPlayIntegrityConfig", AppCheckPlayIntegrityConfigArgs.builder()        
                .project("my-project-name")
                .appId(default_.appId())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:firebase:AndroidApp
        properties:
          project: my-project-name
          displayName: Play Integrity app
          packageName: package.name.playintegrity
          sha1Hashes:
            - 2145bdf698b8715039bd0e83f2069bed435ac21c
          sha256Hashes:
            - 2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc
      # It takes a while for App Check to recognize the new app
      # If your app already exists, you don't have to wait 30 seconds.
      wait30s:
        type: time:sleep
        name: wait_30s
        properties:
          createDuration: 30s
      defaultAppCheckPlayIntegrityConfig:
        type: gcp:firebase:AppCheckPlayIntegrityConfig
        name: default
        properties:
          project: my-project-name
          appId: ${default.appId}
    

    Firebase App Check Play Integrity Config Full

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    import * as time from "@pulumi/time";
    
    const _default = new gcp.firebase.AndroidApp("default", {
        project: "my-project-name",
        displayName: "Play Integrity app",
        packageName: "package.name.playintegrity",
        sha1Hashes: ["2145bdf698b8715039bd0e83f2069bed435ac21c"],
        sha256Hashes: ["2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"],
    });
    // It takes a while for App Check to recognize the new app
    // If your app already exists, you don't have to wait 30 seconds.
    const wait30s = new time.index.Sleep("wait_30s", {createDuration: "30s"});
    const defaultAppCheckPlayIntegrityConfig = new gcp.firebase.AppCheckPlayIntegrityConfig("default", {
        project: "my-project-name",
        appId: _default.appId,
        tokenTtl: "7200s",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    import pulumi_time as time
    
    default = gcp.firebase.AndroidApp("default",
        project="my-project-name",
        display_name="Play Integrity app",
        package_name="package.name.playintegrity",
        sha1_hashes=["2145bdf698b8715039bd0e83f2069bed435ac21c"],
        sha256_hashes=["2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"])
    # It takes a while for App Check to recognize the new app
    # If your app already exists, you don't have to wait 30 seconds.
    wait30s = time.index.Sleep("wait_30s", create_duration=30s)
    default_app_check_play_integrity_config = gcp.firebase.AppCheckPlayIntegrityConfig("default",
        project="my-project-name",
        app_id=default.app_id,
        token_ttl="7200s")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/firebase"
    	"github.com/pulumi/pulumi-time/sdk/go/time"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := firebase.NewAndroidApp(ctx, "default", &firebase.AndroidAppArgs{
    			Project:     pulumi.String("my-project-name"),
    			DisplayName: pulumi.String("Play Integrity app"),
    			PackageName: pulumi.String("package.name.playintegrity"),
    			Sha1Hashes: pulumi.StringArray{
    				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21c"),
    			},
    			Sha256Hashes: pulumi.StringArray{
    				pulumi.String("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// It takes a while for App Check to recognize the new app
    		// If your app already exists, you don't have to wait 30 seconds.
    		_, err = time.NewSleep(ctx, "wait_30s", &time.SleepArgs{
    			CreateDuration: "30s",
    		})
    		if err != nil {
    			return err
    		}
    		_, err = firebase.NewAppCheckPlayIntegrityConfig(ctx, "default", &firebase.AppCheckPlayIntegrityConfigArgs{
    			Project:  pulumi.String("my-project-name"),
    			AppId:    _default.AppId,
    			TokenTtl: pulumi.String("7200s"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    using Time = Pulumi.Time;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.Firebase.AndroidApp("default", new()
        {
            Project = "my-project-name",
            DisplayName = "Play Integrity app",
            PackageName = "package.name.playintegrity",
            Sha1Hashes = new[]
            {
                "2145bdf698b8715039bd0e83f2069bed435ac21c",
            },
            Sha256Hashes = new[]
            {
                "2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc",
            },
        });
    
        // It takes a while for App Check to recognize the new app
        // If your app already exists, you don't have to wait 30 seconds.
        var wait30s = new Time.Index.Sleep("wait_30s", new()
        {
            CreateDuration = "30s",
        });
    
        var defaultAppCheckPlayIntegrityConfig = new Gcp.Firebase.AppCheckPlayIntegrityConfig("default", new()
        {
            Project = "my-project-name",
            AppId = @default.AppId,
            TokenTtl = "7200s",
        });
    
    });
    
    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.time.sleep;
    import com.pulumi.time.SleepArgs;
    import com.pulumi.gcp.firebase.AppCheckPlayIntegrityConfig;
    import com.pulumi.gcp.firebase.AppCheckPlayIntegrityConfigArgs;
    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 default_ = new AndroidApp("default", AndroidAppArgs.builder()        
                .project("my-project-name")
                .displayName("Play Integrity app")
                .packageName("package.name.playintegrity")
                .sha1Hashes("2145bdf698b8715039bd0e83f2069bed435ac21c")
                .sha256Hashes("2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc")
                .build());
    
            // It takes a while for App Check to recognize the new app
            // If your app already exists, you don't have to wait 30 seconds.
            var wait30s = new Sleep("wait30s", SleepArgs.builder()        
                .createDuration("30s")
                .build());
    
            var defaultAppCheckPlayIntegrityConfig = new AppCheckPlayIntegrityConfig("defaultAppCheckPlayIntegrityConfig", AppCheckPlayIntegrityConfigArgs.builder()        
                .project("my-project-name")
                .appId(default_.appId())
                .tokenTtl("7200s")
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:firebase:AndroidApp
        properties:
          project: my-project-name
          displayName: Play Integrity app
          packageName: package.name.playintegrity
          sha1Hashes:
            - 2145bdf698b8715039bd0e83f2069bed435ac21c
          sha256Hashes:
            - 2145bdf698b8715039bd0e83f2069bed435ac21ca1b2c3d4e5f6123456789abc
      # It takes a while for App Check to recognize the new app
      # If your app already exists, you don't have to wait 30 seconds.
      wait30s:
        type: time:sleep
        name: wait_30s
        properties:
          createDuration: 30s
      defaultAppCheckPlayIntegrityConfig:
        type: gcp:firebase:AppCheckPlayIntegrityConfig
        name: default
        properties:
          project: my-project-name
          appId: ${default.appId}
          tokenTtl: 7200s
    

    Create AppCheckPlayIntegrityConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppCheckPlayIntegrityConfig(name: string, args: AppCheckPlayIntegrityConfigArgs, opts?: CustomResourceOptions);
    @overload
    def AppCheckPlayIntegrityConfig(resource_name: str,
                                    args: AppCheckPlayIntegrityConfigArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppCheckPlayIntegrityConfig(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    app_id: Optional[str] = None,
                                    project: Optional[str] = None,
                                    token_ttl: Optional[str] = None)
    func NewAppCheckPlayIntegrityConfig(ctx *Context, name string, args AppCheckPlayIntegrityConfigArgs, opts ...ResourceOption) (*AppCheckPlayIntegrityConfig, error)
    public AppCheckPlayIntegrityConfig(string name, AppCheckPlayIntegrityConfigArgs args, CustomResourceOptions? opts = null)
    public AppCheckPlayIntegrityConfig(String name, AppCheckPlayIntegrityConfigArgs args)
    public AppCheckPlayIntegrityConfig(String name, AppCheckPlayIntegrityConfigArgs args, CustomResourceOptions options)
    
    type: gcp:firebase:AppCheckPlayIntegrityConfig
    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 AppCheckPlayIntegrityConfigArgs
    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 AppCheckPlayIntegrityConfigArgs
    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 AppCheckPlayIntegrityConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppCheckPlayIntegrityConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppCheckPlayIntegrityConfigArgs
    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 appCheckPlayIntegrityConfigResource = new Gcp.Firebase.AppCheckPlayIntegrityConfig("appCheckPlayIntegrityConfigResource", new()
    {
        AppId = "string",
        Project = "string",
        TokenTtl = "string",
    });
    
    example, err := firebase.NewAppCheckPlayIntegrityConfig(ctx, "appCheckPlayIntegrityConfigResource", &firebase.AppCheckPlayIntegrityConfigArgs{
    	AppId:    pulumi.String("string"),
    	Project:  pulumi.String("string"),
    	TokenTtl: pulumi.String("string"),
    })
    
    var appCheckPlayIntegrityConfigResource = new AppCheckPlayIntegrityConfig("appCheckPlayIntegrityConfigResource", AppCheckPlayIntegrityConfigArgs.builder()        
        .appId("string")
        .project("string")
        .tokenTtl("string")
        .build());
    
    app_check_play_integrity_config_resource = gcp.firebase.AppCheckPlayIntegrityConfig("appCheckPlayIntegrityConfigResource",
        app_id="string",
        project="string",
        token_ttl="string")
    
    const appCheckPlayIntegrityConfigResource = new gcp.firebase.AppCheckPlayIntegrityConfig("appCheckPlayIntegrityConfigResource", {
        appId: "string",
        project: "string",
        tokenTtl: "string",
    });
    
    type: gcp:firebase:AppCheckPlayIntegrityConfig
    properties:
        appId: string
        project: string
        tokenTtl: string
    

    AppCheckPlayIntegrityConfig 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 AppCheckPlayIntegrityConfig resource accepts the following input properties:

    AppId string
    The ID of an Android App.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    TokenTtl string
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    AppId string
    The ID of an Android App.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    TokenTtl string
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    appId String
    The ID of an Android App.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    tokenTtl String
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    appId string
    The ID of an Android App.


    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    tokenTtl string
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    app_id str
    The ID of an Android App.


    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    token_ttl str
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    appId String
    The ID of an Android App.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    tokenTtl String
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppCheckPlayIntegrityConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The relative resource name of the Play Integrity configuration object
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The relative resource name of the Play Integrity configuration object
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The relative resource name of the Play Integrity configuration object
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The relative resource name of the Play Integrity configuration object
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The relative resource name of the Play Integrity configuration object
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The relative resource name of the Play Integrity configuration object

    Look up Existing AppCheckPlayIntegrityConfig Resource

    Get an existing AppCheckPlayIntegrityConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AppCheckPlayIntegrityConfigState, opts?: CustomResourceOptions): AppCheckPlayIntegrityConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            token_ttl: Optional[str] = None) -> AppCheckPlayIntegrityConfig
    func GetAppCheckPlayIntegrityConfig(ctx *Context, name string, id IDInput, state *AppCheckPlayIntegrityConfigState, opts ...ResourceOption) (*AppCheckPlayIntegrityConfig, error)
    public static AppCheckPlayIntegrityConfig Get(string name, Input<string> id, AppCheckPlayIntegrityConfigState? state, CustomResourceOptions? opts = null)
    public static AppCheckPlayIntegrityConfig get(String name, Output<String> id, AppCheckPlayIntegrityConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppId string
    The ID of an Android App.


    Name string
    The relative resource name of the Play Integrity configuration object
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    TokenTtl string
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    AppId string
    The ID of an Android App.


    Name string
    The relative resource name of the Play Integrity configuration object
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    TokenTtl string
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    appId String
    The ID of an Android App.


    name String
    The relative resource name of the Play Integrity configuration object
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    tokenTtl String
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    appId string
    The ID of an Android App.


    name string
    The relative resource name of the Play Integrity configuration object
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    tokenTtl string
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    app_id str
    The ID of an Android App.


    name str
    The relative resource name of the Play Integrity configuration object
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    token_ttl str
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
    appId String
    The ID of an Android App.


    name String
    The relative resource name of the Play Integrity configuration object
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    tokenTtl String
    Specifies the duration for which App Check tokens exchanged from Play Integrity artifacts will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

    Import

    PlayIntegrityConfig can be imported using any of these accepted formats:

    • projects/{{project}}/apps/{{app_id}}/playIntegrityConfig

    • {{project}}/{{app_id}}

    • {{app_id}}

    When using the pulumi import command, PlayIntegrityConfig can be imported using one of the formats above. For example:

    $ pulumi import gcp:firebase/appCheckPlayIntegrityConfig:AppCheckPlayIntegrityConfig default projects/{{project}}/apps/{{app_id}}/playIntegrityConfig
    
    $ pulumi import gcp:firebase/appCheckPlayIntegrityConfig:AppCheckPlayIntegrityConfig default {{project}}/{{app_id}}
    
    $ pulumi import gcp:firebase/appCheckPlayIntegrityConfig:AppCheckPlayIntegrityConfig default {{app_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi