1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebaserules
  5. firebaserules/v1
  6. Release

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.firebaserules/v1.Release

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

    Create a Release. Release names should reflect the developer’s deployment practices. For example, the release name may include the environment name, application name, application version, or any other name meaningful to the developer. Once a Release refers to a Ruleset, the rules can be enforced by Firebase Rules-enabled services. More than one Release may be ’live’ concurrently. Consider the following three Release names for projects/foo and the Ruleset to which they refer. Release Name -> Ruleset Name * projects/foo/releases/prod -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/beta -> projects/foo/rulesets/uuid123 * projects/foo/releases/prod/v23 -> projects/foo/rulesets/uuid456 The relationships reflect a Ruleset rollout in progress. The prod and prod/beta releases refer to the same Ruleset. However, prod/v23 refers to a new Ruleset. The Ruleset reference for a Release may be updated using the UpdateRelease method.

    Create Release Resource

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

    Constructor syntax

    new Release(name: string, args: ReleaseArgs, opts?: CustomResourceOptions);
    @overload
    def Release(resource_name: str,
                args: ReleaseArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Release(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                ruleset_name: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None)
    func NewRelease(ctx *Context, name string, args ReleaseArgs, opts ...ResourceOption) (*Release, error)
    public Release(string name, ReleaseArgs args, CustomResourceOptions? opts = null)
    public Release(String name, ReleaseArgs args)
    public Release(String name, ReleaseArgs args, CustomResourceOptions options)
    
    type: google-native:firebaserules/v1:Release
    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 ReleaseArgs
    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 ReleaseArgs
    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 ReleaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReleaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReleaseArgs
    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 examplereleaseResourceResourceFromFirebaserulesv1 = new GoogleNative.FirebaseRules.V1.Release("examplereleaseResourceResourceFromFirebaserulesv1", new()
    {
        RulesetName = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := firebaserules.NewRelease(ctx, "examplereleaseResourceResourceFromFirebaserulesv1", &firebaserules.ReleaseArgs{
    	RulesetName: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Project:     pulumi.String("string"),
    })
    
    var examplereleaseResourceResourceFromFirebaserulesv1 = new Release("examplereleaseResourceResourceFromFirebaserulesv1", ReleaseArgs.builder()
        .rulesetName("string")
        .name("string")
        .project("string")
        .build());
    
    examplerelease_resource_resource_from_firebaserulesv1 = google_native.firebaserules.v1.Release("examplereleaseResourceResourceFromFirebaserulesv1",
        ruleset_name="string",
        name="string",
        project="string")
    
    const examplereleaseResourceResourceFromFirebaserulesv1 = new google_native.firebaserules.v1.Release("examplereleaseResourceResourceFromFirebaserulesv1", {
        rulesetName: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:firebaserules/v1:Release
    properties:
        name: string
        project: string
        rulesetName: string
    

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

    RulesetName string
    Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
    Name string
    Format: projects/{project_id}/releases/{release_id}
    Project string
    RulesetName string
    Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
    Name string
    Format: projects/{project_id}/releases/{release_id}
    Project string
    rulesetName String
    Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
    name String
    Format: projects/{project_id}/releases/{release_id}
    project String
    rulesetName string
    Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
    name string
    Format: projects/{project_id}/releases/{release_id}
    project string
    ruleset_name str
    Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
    name str
    Format: projects/{project_id}/releases/{release_id}
    project str
    rulesetName String
    Name of the Ruleset referred to by this Release. The Ruleset must exist for the Release to be created.
    name String
    Format: projects/{project_id}/releases/{release_id}
    project String

    Outputs

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

    CreateTime string
    Time the release was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Time the release was updated.
    CreateTime string
    Time the release was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Time the release was updated.
    createTime String
    Time the release was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Time the release was updated.
    createTime string
    Time the release was created.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    Time the release was updated.
    create_time str
    Time the release was created.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    Time the release was updated.
    createTime String
    Time the release was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Time the release was updated.

    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