Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.firebaserules/v1.Release
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 com.pulumi.googlenative.firebaserules_v1.Release("examplereleaseResourceResourceFromFirebaserulesv1", com.pulumi.googlenative.firebaserules_v1.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:
- Ruleset
Name string - Name of the
Rulesetreferred to by thisRelease. TheRulesetmust exist for theReleaseto be created. - Name string
- Format:
projects/{project_id}/releases/{release_id} - Project string
- Ruleset
Name string - Name of the
Rulesetreferred to by thisRelease. TheRulesetmust exist for theReleaseto be created. - Name string
- Format:
projects/{project_id}/releases/{release_id} - Project string
- ruleset
Name String - Name of the
Rulesetreferred to by thisRelease. TheRulesetmust exist for theReleaseto be created. - name String
- Format:
projects/{project_id}/releases/{release_id} - project String
- ruleset
Name string - Name of the
Rulesetreferred to by thisRelease. TheRulesetmust exist for theReleaseto be created. - name string
- Format:
projects/{project_id}/releases/{release_id} - project string
- ruleset_
name str - Name of the
Rulesetreferred to by thisRelease. TheRulesetmust exist for theReleaseto be created. - name str
- Format:
projects/{project_id}/releases/{release_id} - project str
- ruleset
Name String - Name of the
Rulesetreferred to by thisRelease. TheRulesetmust exist for theReleaseto 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:
- Create
Time string - Time the release was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Time the release was updated.
- Create
Time string - Time the release was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Time the release was updated.
- create
Time String - Time the release was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Time the release was updated.
- create
Time string - Time the release was created.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time 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.
- create
Time String - Time the release was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Time the release was updated.
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.