google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.firebaserules/v1.Ruleset

Create a Ruleset from Source. The Ruleset is given a unique generated name which is returned to the caller. Source containing syntactic or semantics errors will result in an error response indicating the first error encountered. For a detailed view of Source issues, use TestRuleset. Auto-naming is currently not supported for this resource.

Create Ruleset Resource

new Ruleset(name: string, args: RulesetArgs, opts?: CustomResourceOptions);
@overload
def Ruleset(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            project: Optional[str] = None,
            source: Optional[SourceArgs] = None)
@overload
def Ruleset(resource_name: str,
            args: RulesetArgs,
            opts: Optional[ResourceOptions] = None)
func NewRuleset(ctx *Context, name string, args RulesetArgs, opts ...ResourceOption) (*Ruleset, error)
public Ruleset(string name, RulesetArgs args, CustomResourceOptions? opts = null)
public Ruleset(String name, RulesetArgs args)
public Ruleset(String name, RulesetArgs args, CustomResourceOptions options)
type: google-native:firebaserules/v1:Ruleset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RulesetArgs
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 RulesetArgs
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 RulesetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RulesetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RulesetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

Source SourceArgs

Source for the Ruleset.

Project string
source SourceArgs

Source for the Ruleset.

project String
source SourceArgs

Source for the Ruleset.

project string
source SourceArgs

Source for the Ruleset.

project str
source Property Map

Source for the Ruleset.

project String

Outputs

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

CreateTime string

Time the Ruleset was created.

Id string

The provider-assigned unique ID for this managed resource.

Metadata Pulumi.GoogleNative.FirebaseRules.V1.Outputs.MetadataResponse

The metadata for this ruleset.

Name string

Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

CreateTime string

Time the Ruleset was created.

Id string

The provider-assigned unique ID for this managed resource.

Metadata MetadataResponse

The metadata for this ruleset.

Name string

Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

createTime String

Time the Ruleset was created.

id String

The provider-assigned unique ID for this managed resource.

metadata MetadataResponse

The metadata for this ruleset.

name String

Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

createTime string

Time the Ruleset was created.

id string

The provider-assigned unique ID for this managed resource.

metadata MetadataResponse

The metadata for this ruleset.

name string

Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

create_time str

Time the Ruleset was created.

id str

The provider-assigned unique ID for this managed resource.

metadata MetadataResponse

The metadata for this ruleset.

name str

Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

createTime String

Time the Ruleset was created.

id String

The provider-assigned unique ID for this managed resource.

metadata Property Map

The metadata for this ruleset.

name String

Name of the Ruleset. The ruleset_id is auto generated by the service. Format: projects/{project_id}/rulesets/{ruleset_id}

Supporting Types

File

Content string

Textual Content.

Name string

File name.

Fingerprint string

Fingerprint (e.g. github sha) associated with the File.

Content string

Textual Content.

Name string

File name.

Fingerprint string

Fingerprint (e.g. github sha) associated with the File.

content String

Textual Content.

name String

File name.

fingerprint String

Fingerprint (e.g. github sha) associated with the File.

content string

Textual Content.

name string

File name.

fingerprint string

Fingerprint (e.g. github sha) associated with the File.

content str

Textual Content.

name str

File name.

fingerprint str

Fingerprint (e.g. github sha) associated with the File.

content String

Textual Content.

name String

File name.

fingerprint String

Fingerprint (e.g. github sha) associated with the File.

FileResponse

Content string

Textual Content.

Fingerprint string

Fingerprint (e.g. github sha) associated with the File.

Name string

File name.

Content string

Textual Content.

Fingerprint string

Fingerprint (e.g. github sha) associated with the File.

Name string

File name.

content String

Textual Content.

fingerprint String

Fingerprint (e.g. github sha) associated with the File.

name String

File name.

content string

Textual Content.

fingerprint string

Fingerprint (e.g. github sha) associated with the File.

name string

File name.

content str

Textual Content.

fingerprint str

Fingerprint (e.g. github sha) associated with the File.

name str

File name.

content String

Textual Content.

fingerprint String

Fingerprint (e.g. github sha) associated with the File.

name String

File name.

MetadataResponse

Services List<string>

Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

Services []string

Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

services List<String>

Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

services string[]

Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

services Sequence[str]

Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

services List<String>

Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

Source

Files List<Pulumi.GoogleNative.FirebaseRules.V1.Inputs.File>

File set constituting the Source bundle.

Files []File

File set constituting the Source bundle.

files List<File>

File set constituting the Source bundle.

files File[]

File set constituting the Source bundle.

files Sequence[File]

File set constituting the Source bundle.

files List<Property Map>

File set constituting the Source bundle.

SourceResponse

Files []FileResponse

File set constituting the Source bundle.

files List<FileResponse>

File set constituting the Source bundle.

files FileResponse[]

File set constituting the Source bundle.

files Sequence[FileResponse]

File set constituting the Source bundle.

files List<Property Map>

File set constituting the Source bundle.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0