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
Pulumi.
Google Native. Firebase Rules. V1. Inputs. Source Args Source
for theRuleset
.- Project string
- Source
Source
Args Source
for theRuleset
.- Project string
- source
Source
Args Source
for theRuleset
.- project String
- source
Source
Args Source
for theRuleset
.- project string
- source
Source
Args Source
for theRuleset
.- project str
- source Property Map
Source
for theRuleset
.- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Ruleset resource produces the following output properties:
- Create
Time string Time the
Ruleset
was created.- Id string
The provider-assigned unique ID for this managed resource.
- Metadata
Pulumi.
Google Native. Firebase Rules. V1. Outputs. Metadata Response 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 string Time the
Ruleset
was created.- Id string
The provider-assigned unique ID for this managed resource.
- Metadata
Metadata
Response 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 String Time the
Ruleset
was created.- id String
The provider-assigned unique ID for this managed resource.
- metadata
Metadata
Response 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 string Time the
Ruleset
was created.- id string
The provider-assigned unique ID for this managed resource.
- metadata
Metadata
Response 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
Metadata
Response 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}
- create
Time 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.
Google Native. Firebase Rules. V1. Inputs. File> File
set constituting theSource
bundle.
- files List<File>
File
set constituting theSource
bundle.
- files Sequence[File]
File
set constituting theSource
bundle.
- files List<Property Map>
File
set constituting theSource
bundle.
SourceResponse
- Files
List<Pulumi.
Google Native. Firebase Rules. V1. Inputs. File Response> File
set constituting theSource
bundle.
- Files
[]File
Response File
set constituting theSource
bundle.
- files
List<File
Response> File
set constituting theSource
bundle.
- files
File
Response[] File
set constituting theSource
bundle.
- files
Sequence[File
Response] File
set constituting theSource
bundle.
- files List<Property Map>
File
set constituting theSource
bundle.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0