1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebaseappcheck
  5. firebaseappcheck/v1beta
  6. DebugToken

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.firebaseappcheck/v1beta.DebugToken

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

    Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the token field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens.

    Create DebugToken Resource

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

    Constructor syntax

    new DebugToken(name: string, args: DebugTokenArgs, opts?: CustomResourceOptions);
    @overload
    def DebugToken(resource_name: str,
                   args: DebugTokenArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def DebugToken(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   app_id: Optional[str] = None,
                   display_name: Optional[str] = None,
                   token: Optional[str] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None)
    func NewDebugToken(ctx *Context, name string, args DebugTokenArgs, opts ...ResourceOption) (*DebugToken, error)
    public DebugToken(string name, DebugTokenArgs args, CustomResourceOptions? opts = null)
    public DebugToken(String name, DebugTokenArgs args)
    public DebugToken(String name, DebugTokenArgs args, CustomResourceOptions options)
    
    type: google-native:firebaseappcheck/v1beta:DebugToken
    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 DebugTokenArgs
    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 DebugTokenArgs
    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 DebugTokenArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DebugTokenArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DebugTokenArgs
    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 google_nativeDebugTokenResource = new GoogleNative.FirebaseAppCheck.V1Beta.DebugToken("google-nativeDebugTokenResource", new()
    {
        AppId = "string",
        DisplayName = "string",
        Token = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := firebaseappcheckv1beta.NewDebugToken(ctx, "google-nativeDebugTokenResource", &firebaseappcheckv1beta.DebugTokenArgs{
    AppId: pulumi.String("string"),
    DisplayName: pulumi.String("string"),
    Token: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    })
    
    var google_nativeDebugTokenResource = new DebugToken("google-nativeDebugTokenResource", DebugTokenArgs.builder()        
        .appId("string")
        .displayName("string")
        .token("string")
        .name("string")
        .project("string")
        .build());
    
    google_native_debug_token_resource = google_native.firebaseappcheck.v1beta.DebugToken("google-nativeDebugTokenResource",
        app_id="string",
        display_name="string",
        token="string",
        name="string",
        project="string")
    
    const google_nativeDebugTokenResource = new google_native.firebaseappcheck.v1beta.DebugToken("google-nativeDebugTokenResource", {
        appId: "string",
        displayName: "string",
        token: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:firebaseappcheck/v1beta:DebugToken
    properties:
        appId: string
        displayName: string
        name: string
        project: string
        token: string
    

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

    AppId string
    DisplayName string
    A human readable display name used to identify this debug token.
    Token string
    Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.
    Name string
    The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
    Project string
    AppId string
    DisplayName string
    A human readable display name used to identify this debug token.
    Token string
    Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.
    Name string
    The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
    Project string
    appId String
    displayName String
    A human readable display name used to identify this debug token.
    token String
    Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.
    name String
    The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
    project String
    appId string
    displayName string
    A human readable display name used to identify this debug token.
    token string
    Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.
    name string
    The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
    project string
    app_id str
    display_name str
    A human readable display name used to identify this debug token.
    token str
    Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.
    name str
    The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
    project str
    appId String
    displayName String
    A human readable display name used to identify this debug token.
    token String
    Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.
    name String
    The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
    project String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    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