Documentation ¶
Index ¶
- type Release
- type ReleaseArgs
- type ReleaseArray
- type ReleaseArrayInput
- type ReleaseArrayOutput
- type ReleaseInput
- type ReleaseMap
- type ReleaseMapInput
- type ReleaseMapOutput
- type ReleaseOutput
- func (o ReleaseOutput) CreateTime() pulumi.StringOutput
- func (o ReleaseOutput) Disabled() pulumi.BoolOutput
- func (ReleaseOutput) ElementType() reflect.Type
- func (o ReleaseOutput) Name() pulumi.StringOutput
- func (o ReleaseOutput) Project() pulumi.StringOutput
- func (o ReleaseOutput) RulesetName() pulumi.StringOutput
- func (o ReleaseOutput) ToReleaseOutput() ReleaseOutput
- func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput
- func (o ReleaseOutput) UpdateTime() pulumi.StringOutput
- type ReleaseState
- type Ruleset
- type RulesetArgs
- type RulesetArray
- type RulesetArrayInput
- type RulesetArrayOutput
- type RulesetInput
- type RulesetMap
- type RulesetMapInput
- type RulesetMapOutput
- type RulesetMetadata
- type RulesetMetadataArgs
- type RulesetMetadataArray
- type RulesetMetadataArrayInput
- type RulesetMetadataArrayOutput
- func (RulesetMetadataArrayOutput) ElementType() reflect.Type
- func (o RulesetMetadataArrayOutput) Index(i pulumi.IntInput) RulesetMetadataOutput
- func (o RulesetMetadataArrayOutput) ToRulesetMetadataArrayOutput() RulesetMetadataArrayOutput
- func (o RulesetMetadataArrayOutput) ToRulesetMetadataArrayOutputWithContext(ctx context.Context) RulesetMetadataArrayOutput
- type RulesetMetadataInput
- type RulesetMetadataOutput
- func (RulesetMetadataOutput) ElementType() reflect.Type
- func (o RulesetMetadataOutput) Services() pulumi.StringArrayOutput
- func (o RulesetMetadataOutput) ToRulesetMetadataOutput() RulesetMetadataOutput
- func (o RulesetMetadataOutput) ToRulesetMetadataOutputWithContext(ctx context.Context) RulesetMetadataOutput
- type RulesetOutput
- func (o RulesetOutput) CreateTime() pulumi.StringOutput
- func (RulesetOutput) ElementType() reflect.Type
- func (o RulesetOutput) Metadatas() RulesetMetadataArrayOutput
- func (o RulesetOutput) Name() pulumi.StringOutput
- func (o RulesetOutput) Project() pulumi.StringOutput
- func (o RulesetOutput) Source() RulesetSourceOutput
- func (o RulesetOutput) ToRulesetOutput() RulesetOutput
- func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
- type RulesetSource
- type RulesetSourceArgs
- func (RulesetSourceArgs) ElementType() reflect.Type
- func (i RulesetSourceArgs) ToRulesetSourceOutput() RulesetSourceOutput
- func (i RulesetSourceArgs) ToRulesetSourceOutputWithContext(ctx context.Context) RulesetSourceOutput
- func (i RulesetSourceArgs) ToRulesetSourcePtrOutput() RulesetSourcePtrOutput
- func (i RulesetSourceArgs) ToRulesetSourcePtrOutputWithContext(ctx context.Context) RulesetSourcePtrOutput
- type RulesetSourceFile
- type RulesetSourceFileArgs
- type RulesetSourceFileArray
- type RulesetSourceFileArrayInput
- type RulesetSourceFileArrayOutput
- func (RulesetSourceFileArrayOutput) ElementType() reflect.Type
- func (o RulesetSourceFileArrayOutput) Index(i pulumi.IntInput) RulesetSourceFileOutput
- func (o RulesetSourceFileArrayOutput) ToRulesetSourceFileArrayOutput() RulesetSourceFileArrayOutput
- func (o RulesetSourceFileArrayOutput) ToRulesetSourceFileArrayOutputWithContext(ctx context.Context) RulesetSourceFileArrayOutput
- type RulesetSourceFileInput
- type RulesetSourceFileOutput
- func (o RulesetSourceFileOutput) Content() pulumi.StringOutput
- func (RulesetSourceFileOutput) ElementType() reflect.Type
- func (o RulesetSourceFileOutput) Fingerprint() pulumi.StringPtrOutput
- func (o RulesetSourceFileOutput) Name() pulumi.StringOutput
- func (o RulesetSourceFileOutput) ToRulesetSourceFileOutput() RulesetSourceFileOutput
- func (o RulesetSourceFileOutput) ToRulesetSourceFileOutputWithContext(ctx context.Context) RulesetSourceFileOutput
- type RulesetSourceInput
- type RulesetSourceOutput
- func (RulesetSourceOutput) ElementType() reflect.Type
- func (o RulesetSourceOutput) Files() RulesetSourceFileArrayOutput
- func (o RulesetSourceOutput) Language() pulumi.StringPtrOutput
- func (o RulesetSourceOutput) ToRulesetSourceOutput() RulesetSourceOutput
- func (o RulesetSourceOutput) ToRulesetSourceOutputWithContext(ctx context.Context) RulesetSourceOutput
- func (o RulesetSourceOutput) ToRulesetSourcePtrOutput() RulesetSourcePtrOutput
- func (o RulesetSourceOutput) ToRulesetSourcePtrOutputWithContext(ctx context.Context) RulesetSourcePtrOutput
- type RulesetSourcePtrInput
- type RulesetSourcePtrOutput
- func (o RulesetSourcePtrOutput) Elem() RulesetSourceOutput
- func (RulesetSourcePtrOutput) ElementType() reflect.Type
- func (o RulesetSourcePtrOutput) Files() RulesetSourceFileArrayOutput
- func (o RulesetSourcePtrOutput) Language() pulumi.StringPtrOutput
- func (o RulesetSourcePtrOutput) ToRulesetSourcePtrOutput() RulesetSourcePtrOutput
- func (o RulesetSourcePtrOutput) ToRulesetSourcePtrOutputWithContext(ctx context.Context) RulesetSourcePtrOutput
- type RulesetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
type Release struct { pulumi.CustomResourceState // Output only. Time the release was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Disable the release to keep it from being served. The response code of NOT_FOUND will be given for executables generated // from this Release. Disabled pulumi.BoolOutput `pulumi:"disabled"` // Format: `projects/{project_id}/releases/{release_id}`\Firestore Rules Releases will **always** have the name 'cloud.firestore' Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist for the `Release` to be created. RulesetName pulumi.StringOutput `pulumi:"rulesetName"` // Output only. Time the release was updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
For more information, see: * [Get started with Firebase Security Rules](https://firebase.google.com/docs/rules/get-started) ## Example Usage ### Basic_release Creates a basic Firebase Rules Release ```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebaserules" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { basic, err := firebaserules.NewRuleset(ctx, "basic", &firebaserules.RulesetArgs{ Project: pulumi.String("my-project-name"), Source: &firebaserules.RulesetSourceArgs{ Files: firebaserules.RulesetSourceFileArray{ &firebaserules.RulesetSourceFileArgs{ Content: pulumi.String("service cloud.firestore {match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }"), Fingerprint: pulumi.String(""), Name: pulumi.String("firestore.rules"), }, }, Language: pulumi.String(""), }, }) if err != nil { return err } _, err = firebaserules.NewRelease(ctx, "primary", &firebaserules.ReleaseArgs{ Project: pulumi.String("my-project-name"), RulesetName: basic.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("projects/my-project-name/rulesets/%v", name), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = firebaserules.NewRuleset(ctx, "minimal", &firebaserules.RulesetArgs{ Project: pulumi.String("my-project-name"), Source: &firebaserules.RulesetSourceArgs{ Files: firebaserules.RulesetSourceFileArray{ &firebaserules.RulesetSourceFileArgs{ Content: pulumi.String("service cloud.firestore {match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }"), Name: pulumi.String("firestore.rules"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Minimal_release Creates a minimal Firebase Rules Release ```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebaserules" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { minimal, err := firebaserules.NewRuleset(ctx, "minimal", &firebaserules.RulesetArgs{ Project: pulumi.String("my-project-name"), Source: &firebaserules.RulesetSourceArgs{ Files: firebaserules.RulesetSourceFileArray{ &firebaserules.RulesetSourceFileArgs{ Content: pulumi.String("service cloud.firestore {match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }"), Name: pulumi.String("firestore.rules"), }, }, }, }) if err != nil { return err } _, err = firebaserules.NewRelease(ctx, "primary", &firebaserules.ReleaseArgs{ Project: pulumi.String("my-project-name"), RulesetName: minimal.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("projects/my-project-name/rulesets/%v", name), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
Release can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:firebaserules/release:Release default projects/{{project}}/releases/{{name}}
```
func GetRelease ¶
func GetRelease(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReleaseState, opts ...pulumi.ResourceOption) (*Release, error)
GetRelease gets an existing Release resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRelease ¶
func NewRelease(ctx *pulumi.Context, name string, args *ReleaseArgs, opts ...pulumi.ResourceOption) (*Release, error)
NewRelease registers a new resource with the given unique name, arguments, and options.
func (*Release) ElementType ¶
func (*Release) ToReleaseOutput ¶
func (i *Release) ToReleaseOutput() ReleaseOutput
func (*Release) ToReleaseOutputWithContext ¶
func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput
type ReleaseArgs ¶
type ReleaseArgs struct { // Format: `projects/{project_id}/releases/{release_id}`\Firestore Rules Releases will **always** have the name 'cloud.firestore' Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist for the `Release` to be created. RulesetName pulumi.StringInput }
The set of arguments for constructing a Release resource.
func (ReleaseArgs) ElementType ¶
func (ReleaseArgs) ElementType() reflect.Type
type ReleaseArray ¶
type ReleaseArray []ReleaseInput
func (ReleaseArray) ElementType ¶
func (ReleaseArray) ElementType() reflect.Type
func (ReleaseArray) ToReleaseArrayOutput ¶
func (i ReleaseArray) ToReleaseArrayOutput() ReleaseArrayOutput
func (ReleaseArray) ToReleaseArrayOutputWithContext ¶
func (i ReleaseArray) ToReleaseArrayOutputWithContext(ctx context.Context) ReleaseArrayOutput
type ReleaseArrayInput ¶
type ReleaseArrayInput interface { pulumi.Input ToReleaseArrayOutput() ReleaseArrayOutput ToReleaseArrayOutputWithContext(context.Context) ReleaseArrayOutput }
ReleaseArrayInput is an input type that accepts ReleaseArray and ReleaseArrayOutput values. You can construct a concrete instance of `ReleaseArrayInput` via:
ReleaseArray{ ReleaseArgs{...} }
type ReleaseArrayOutput ¶
type ReleaseArrayOutput struct{ *pulumi.OutputState }
func (ReleaseArrayOutput) ElementType ¶
func (ReleaseArrayOutput) ElementType() reflect.Type
func (ReleaseArrayOutput) Index ¶
func (o ReleaseArrayOutput) Index(i pulumi.IntInput) ReleaseOutput
func (ReleaseArrayOutput) ToReleaseArrayOutput ¶
func (o ReleaseArrayOutput) ToReleaseArrayOutput() ReleaseArrayOutput
func (ReleaseArrayOutput) ToReleaseArrayOutputWithContext ¶
func (o ReleaseArrayOutput) ToReleaseArrayOutputWithContext(ctx context.Context) ReleaseArrayOutput
type ReleaseInput ¶
type ReleaseInput interface { pulumi.Input ToReleaseOutput() ReleaseOutput ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput }
type ReleaseMap ¶
type ReleaseMap map[string]ReleaseInput
func (ReleaseMap) ElementType ¶
func (ReleaseMap) ElementType() reflect.Type
func (ReleaseMap) ToReleaseMapOutput ¶
func (i ReleaseMap) ToReleaseMapOutput() ReleaseMapOutput
func (ReleaseMap) ToReleaseMapOutputWithContext ¶
func (i ReleaseMap) ToReleaseMapOutputWithContext(ctx context.Context) ReleaseMapOutput
type ReleaseMapInput ¶
type ReleaseMapInput interface { pulumi.Input ToReleaseMapOutput() ReleaseMapOutput ToReleaseMapOutputWithContext(context.Context) ReleaseMapOutput }
ReleaseMapInput is an input type that accepts ReleaseMap and ReleaseMapOutput values. You can construct a concrete instance of `ReleaseMapInput` via:
ReleaseMap{ "key": ReleaseArgs{...} }
type ReleaseMapOutput ¶
type ReleaseMapOutput struct{ *pulumi.OutputState }
func (ReleaseMapOutput) ElementType ¶
func (ReleaseMapOutput) ElementType() reflect.Type
func (ReleaseMapOutput) MapIndex ¶
func (o ReleaseMapOutput) MapIndex(k pulumi.StringInput) ReleaseOutput
func (ReleaseMapOutput) ToReleaseMapOutput ¶
func (o ReleaseMapOutput) ToReleaseMapOutput() ReleaseMapOutput
func (ReleaseMapOutput) ToReleaseMapOutputWithContext ¶
func (o ReleaseMapOutput) ToReleaseMapOutputWithContext(ctx context.Context) ReleaseMapOutput
type ReleaseOutput ¶
type ReleaseOutput struct{ *pulumi.OutputState }
func (ReleaseOutput) CreateTime ¶ added in v6.23.0
func (o ReleaseOutput) CreateTime() pulumi.StringOutput
Output only. Time the release was created.
func (ReleaseOutput) Disabled ¶ added in v6.23.0
func (o ReleaseOutput) Disabled() pulumi.BoolOutput
Disable the release to keep it from being served. The response code of NOT_FOUND will be given for executables generated from this Release.
func (ReleaseOutput) ElementType ¶
func (ReleaseOutput) ElementType() reflect.Type
func (ReleaseOutput) Name ¶ added in v6.23.0
func (o ReleaseOutput) Name() pulumi.StringOutput
Format: `projects/{project_id}/releases/{release_id}`\Firestore Rules Releases will **always** have the name 'cloud.firestore'
func (ReleaseOutput) Project ¶ added in v6.23.0
func (o ReleaseOutput) Project() pulumi.StringOutput
The project for the resource
func (ReleaseOutput) RulesetName ¶ added in v6.23.0
func (o ReleaseOutput) RulesetName() pulumi.StringOutput
Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist for the `Release` to be created.
func (ReleaseOutput) ToReleaseOutput ¶
func (o ReleaseOutput) ToReleaseOutput() ReleaseOutput
func (ReleaseOutput) ToReleaseOutputWithContext ¶
func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput
func (ReleaseOutput) UpdateTime ¶ added in v6.23.0
func (o ReleaseOutput) UpdateTime() pulumi.StringOutput
Output only. Time the release was updated.
type ReleaseState ¶
type ReleaseState struct { // Output only. Time the release was created. CreateTime pulumi.StringPtrInput // Disable the release to keep it from being served. The response code of NOT_FOUND will be given for executables generated // from this Release. Disabled pulumi.BoolPtrInput // Format: `projects/{project_id}/releases/{release_id}`\Firestore Rules Releases will **always** have the name 'cloud.firestore' Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist for the `Release` to be created. RulesetName pulumi.StringPtrInput // Output only. Time the release was updated. UpdateTime pulumi.StringPtrInput }
func (ReleaseState) ElementType ¶
func (ReleaseState) ElementType() reflect.Type
type Ruleset ¶
type Ruleset struct { pulumi.CustomResourceState // Output only. Time the `Ruleset` was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Output only. The metadata for this ruleset. Metadatas RulesetMetadataArrayOutput `pulumi:"metadatas"` // File name. Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // `Source` for the `Ruleset`. Source RulesetSourceOutput `pulumi:"source"` }
For more information, see: * [Get started with Firebase Security Rules](https://firebase.google.com/docs/rules/get-started) ## Example Usage ### Basic_ruleset Creates a basic Firestore ruleset ```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebaserules" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := firebaserules.NewRuleset(ctx, "primary", &firebaserules.RulesetArgs{ Project: pulumi.String("my-project-name"), Source: &firebaserules.RulesetSourceArgs{ Files: firebaserules.RulesetSourceFileArray{ &firebaserules.RulesetSourceFileArgs{ Content: pulumi.String("service cloud.firestore {match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }"), Fingerprint: pulumi.String(""), Name: pulumi.String("firestore.rules"), }, }, Language: pulumi.String(""), }, }) if err != nil { return err } return nil }) }
``` ### Minimal_ruleset Creates a minimal Firestore ruleset ```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebaserules" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := firebaserules.NewRuleset(ctx, "primary", &firebaserules.RulesetArgs{ Project: pulumi.String("my-project-name"), Source: &firebaserules.RulesetSourceArgs{ Files: firebaserules.RulesetSourceFileArray{ &firebaserules.RulesetSourceFileArgs{ Content: pulumi.String("service cloud.firestore {match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }"), Name: pulumi.String("firestore.rules"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Ruleset can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:firebaserules/ruleset:Ruleset default projects/{{project}}/rulesets/{{name}}
```
```sh
$ pulumi import gcp:firebaserules/ruleset:Ruleset default {{project}}/{{name}}
```
```sh
$ pulumi import gcp:firebaserules/ruleset:Ruleset default {{name}}
```
func GetRuleset ¶
func GetRuleset(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RulesetState, opts ...pulumi.ResourceOption) (*Ruleset, error)
GetRuleset gets an existing Ruleset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRuleset ¶
func NewRuleset(ctx *pulumi.Context, name string, args *RulesetArgs, opts ...pulumi.ResourceOption) (*Ruleset, error)
NewRuleset registers a new resource with the given unique name, arguments, and options.
func (*Ruleset) ElementType ¶
func (*Ruleset) ToRulesetOutput ¶
func (i *Ruleset) ToRulesetOutput() RulesetOutput
func (*Ruleset) ToRulesetOutputWithContext ¶
func (i *Ruleset) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
type RulesetArgs ¶
type RulesetArgs struct { // The project for the resource Project pulumi.StringPtrInput // `Source` for the `Ruleset`. Source RulesetSourceInput }
The set of arguments for constructing a Ruleset resource.
func (RulesetArgs) ElementType ¶
func (RulesetArgs) ElementType() reflect.Type
type RulesetArray ¶
type RulesetArray []RulesetInput
func (RulesetArray) ElementType ¶
func (RulesetArray) ElementType() reflect.Type
func (RulesetArray) ToRulesetArrayOutput ¶
func (i RulesetArray) ToRulesetArrayOutput() RulesetArrayOutput
func (RulesetArray) ToRulesetArrayOutputWithContext ¶
func (i RulesetArray) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput
type RulesetArrayInput ¶
type RulesetArrayInput interface { pulumi.Input ToRulesetArrayOutput() RulesetArrayOutput ToRulesetArrayOutputWithContext(context.Context) RulesetArrayOutput }
RulesetArrayInput is an input type that accepts RulesetArray and RulesetArrayOutput values. You can construct a concrete instance of `RulesetArrayInput` via:
RulesetArray{ RulesetArgs{...} }
type RulesetArrayOutput ¶
type RulesetArrayOutput struct{ *pulumi.OutputState }
func (RulesetArrayOutput) ElementType ¶
func (RulesetArrayOutput) ElementType() reflect.Type
func (RulesetArrayOutput) Index ¶
func (o RulesetArrayOutput) Index(i pulumi.IntInput) RulesetOutput
func (RulesetArrayOutput) ToRulesetArrayOutput ¶
func (o RulesetArrayOutput) ToRulesetArrayOutput() RulesetArrayOutput
func (RulesetArrayOutput) ToRulesetArrayOutputWithContext ¶
func (o RulesetArrayOutput) ToRulesetArrayOutputWithContext(ctx context.Context) RulesetArrayOutput
type RulesetInput ¶
type RulesetInput interface { pulumi.Input ToRulesetOutput() RulesetOutput ToRulesetOutputWithContext(ctx context.Context) RulesetOutput }
type RulesetMap ¶
type RulesetMap map[string]RulesetInput
func (RulesetMap) ElementType ¶
func (RulesetMap) ElementType() reflect.Type
func (RulesetMap) ToRulesetMapOutput ¶
func (i RulesetMap) ToRulesetMapOutput() RulesetMapOutput
func (RulesetMap) ToRulesetMapOutputWithContext ¶
func (i RulesetMap) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput
type RulesetMapInput ¶
type RulesetMapInput interface { pulumi.Input ToRulesetMapOutput() RulesetMapOutput ToRulesetMapOutputWithContext(context.Context) RulesetMapOutput }
RulesetMapInput is an input type that accepts RulesetMap and RulesetMapOutput values. You can construct a concrete instance of `RulesetMapInput` via:
RulesetMap{ "key": RulesetArgs{...} }
type RulesetMapOutput ¶
type RulesetMapOutput struct{ *pulumi.OutputState }
func (RulesetMapOutput) ElementType ¶
func (RulesetMapOutput) ElementType() reflect.Type
func (RulesetMapOutput) MapIndex ¶
func (o RulesetMapOutput) MapIndex(k pulumi.StringInput) RulesetOutput
func (RulesetMapOutput) ToRulesetMapOutput ¶
func (o RulesetMapOutput) ToRulesetMapOutput() RulesetMapOutput
func (RulesetMapOutput) ToRulesetMapOutputWithContext ¶
func (o RulesetMapOutput) ToRulesetMapOutputWithContext(ctx context.Context) RulesetMapOutput
type RulesetMetadata ¶
type RulesetMetadata struct {
Services []string `pulumi:"services"`
}
type RulesetMetadataArgs ¶
type RulesetMetadataArgs struct {
Services pulumi.StringArrayInput `pulumi:"services"`
}
func (RulesetMetadataArgs) ElementType ¶
func (RulesetMetadataArgs) ElementType() reflect.Type
func (RulesetMetadataArgs) ToRulesetMetadataOutput ¶
func (i RulesetMetadataArgs) ToRulesetMetadataOutput() RulesetMetadataOutput
func (RulesetMetadataArgs) ToRulesetMetadataOutputWithContext ¶
func (i RulesetMetadataArgs) ToRulesetMetadataOutputWithContext(ctx context.Context) RulesetMetadataOutput
type RulesetMetadataArray ¶
type RulesetMetadataArray []RulesetMetadataInput
func (RulesetMetadataArray) ElementType ¶
func (RulesetMetadataArray) ElementType() reflect.Type
func (RulesetMetadataArray) ToRulesetMetadataArrayOutput ¶
func (i RulesetMetadataArray) ToRulesetMetadataArrayOutput() RulesetMetadataArrayOutput
func (RulesetMetadataArray) ToRulesetMetadataArrayOutputWithContext ¶
func (i RulesetMetadataArray) ToRulesetMetadataArrayOutputWithContext(ctx context.Context) RulesetMetadataArrayOutput
type RulesetMetadataArrayInput ¶
type RulesetMetadataArrayInput interface { pulumi.Input ToRulesetMetadataArrayOutput() RulesetMetadataArrayOutput ToRulesetMetadataArrayOutputWithContext(context.Context) RulesetMetadataArrayOutput }
RulesetMetadataArrayInput is an input type that accepts RulesetMetadataArray and RulesetMetadataArrayOutput values. You can construct a concrete instance of `RulesetMetadataArrayInput` via:
RulesetMetadataArray{ RulesetMetadataArgs{...} }
type RulesetMetadataArrayOutput ¶
type RulesetMetadataArrayOutput struct{ *pulumi.OutputState }
func (RulesetMetadataArrayOutput) ElementType ¶
func (RulesetMetadataArrayOutput) ElementType() reflect.Type
func (RulesetMetadataArrayOutput) Index ¶
func (o RulesetMetadataArrayOutput) Index(i pulumi.IntInput) RulesetMetadataOutput
func (RulesetMetadataArrayOutput) ToRulesetMetadataArrayOutput ¶
func (o RulesetMetadataArrayOutput) ToRulesetMetadataArrayOutput() RulesetMetadataArrayOutput
func (RulesetMetadataArrayOutput) ToRulesetMetadataArrayOutputWithContext ¶
func (o RulesetMetadataArrayOutput) ToRulesetMetadataArrayOutputWithContext(ctx context.Context) RulesetMetadataArrayOutput
type RulesetMetadataInput ¶
type RulesetMetadataInput interface { pulumi.Input ToRulesetMetadataOutput() RulesetMetadataOutput ToRulesetMetadataOutputWithContext(context.Context) RulesetMetadataOutput }
RulesetMetadataInput is an input type that accepts RulesetMetadataArgs and RulesetMetadataOutput values. You can construct a concrete instance of `RulesetMetadataInput` via:
RulesetMetadataArgs{...}
type RulesetMetadataOutput ¶
type RulesetMetadataOutput struct{ *pulumi.OutputState }
func (RulesetMetadataOutput) ElementType ¶
func (RulesetMetadataOutput) ElementType() reflect.Type
func (RulesetMetadataOutput) Services ¶
func (o RulesetMetadataOutput) Services() pulumi.StringArrayOutput
func (RulesetMetadataOutput) ToRulesetMetadataOutput ¶
func (o RulesetMetadataOutput) ToRulesetMetadataOutput() RulesetMetadataOutput
func (RulesetMetadataOutput) ToRulesetMetadataOutputWithContext ¶
func (o RulesetMetadataOutput) ToRulesetMetadataOutputWithContext(ctx context.Context) RulesetMetadataOutput
type RulesetOutput ¶
type RulesetOutput struct{ *pulumi.OutputState }
func (RulesetOutput) CreateTime ¶ added in v6.23.0
func (o RulesetOutput) CreateTime() pulumi.StringOutput
Output only. Time the `Ruleset` was created.
func (RulesetOutput) ElementType ¶
func (RulesetOutput) ElementType() reflect.Type
func (RulesetOutput) Metadatas ¶ added in v6.23.0
func (o RulesetOutput) Metadatas() RulesetMetadataArrayOutput
Output only. The metadata for this ruleset.
func (RulesetOutput) Name ¶ added in v6.23.0
func (o RulesetOutput) Name() pulumi.StringOutput
File name.
func (RulesetOutput) Project ¶ added in v6.23.0
func (o RulesetOutput) Project() pulumi.StringOutput
The project for the resource
func (RulesetOutput) Source ¶ added in v6.23.0
func (o RulesetOutput) Source() RulesetSourceOutput
`Source` for the `Ruleset`.
func (RulesetOutput) ToRulesetOutput ¶
func (o RulesetOutput) ToRulesetOutput() RulesetOutput
func (RulesetOutput) ToRulesetOutputWithContext ¶
func (o RulesetOutput) ToRulesetOutputWithContext(ctx context.Context) RulesetOutput
type RulesetSource ¶
type RulesetSource struct { // `File` set constituting the `Source` bundle. Files []RulesetSourceFile `pulumi:"files"` // `Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS Language *string `pulumi:"language"` }
type RulesetSourceArgs ¶
type RulesetSourceArgs struct { // `File` set constituting the `Source` bundle. Files RulesetSourceFileArrayInput `pulumi:"files"` // `Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS Language pulumi.StringPtrInput `pulumi:"language"` }
func (RulesetSourceArgs) ElementType ¶
func (RulesetSourceArgs) ElementType() reflect.Type
func (RulesetSourceArgs) ToRulesetSourceOutput ¶
func (i RulesetSourceArgs) ToRulesetSourceOutput() RulesetSourceOutput
func (RulesetSourceArgs) ToRulesetSourceOutputWithContext ¶
func (i RulesetSourceArgs) ToRulesetSourceOutputWithContext(ctx context.Context) RulesetSourceOutput
func (RulesetSourceArgs) ToRulesetSourcePtrOutput ¶
func (i RulesetSourceArgs) ToRulesetSourcePtrOutput() RulesetSourcePtrOutput
func (RulesetSourceArgs) ToRulesetSourcePtrOutputWithContext ¶
func (i RulesetSourceArgs) ToRulesetSourcePtrOutputWithContext(ctx context.Context) RulesetSourcePtrOutput
type RulesetSourceFile ¶
type RulesetSourceFileArgs ¶
type RulesetSourceFileArgs struct { // Textual Content. Content pulumi.StringInput `pulumi:"content"` // Fingerprint (e.g. github sha) associated with the `File`. Fingerprint pulumi.StringPtrInput `pulumi:"fingerprint"` // File name. Name pulumi.StringInput `pulumi:"name"` }
func (RulesetSourceFileArgs) ElementType ¶
func (RulesetSourceFileArgs) ElementType() reflect.Type
func (RulesetSourceFileArgs) ToRulesetSourceFileOutput ¶
func (i RulesetSourceFileArgs) ToRulesetSourceFileOutput() RulesetSourceFileOutput
func (RulesetSourceFileArgs) ToRulesetSourceFileOutputWithContext ¶
func (i RulesetSourceFileArgs) ToRulesetSourceFileOutputWithContext(ctx context.Context) RulesetSourceFileOutput
type RulesetSourceFileArray ¶
type RulesetSourceFileArray []RulesetSourceFileInput
func (RulesetSourceFileArray) ElementType ¶
func (RulesetSourceFileArray) ElementType() reflect.Type
func (RulesetSourceFileArray) ToRulesetSourceFileArrayOutput ¶
func (i RulesetSourceFileArray) ToRulesetSourceFileArrayOutput() RulesetSourceFileArrayOutput
func (RulesetSourceFileArray) ToRulesetSourceFileArrayOutputWithContext ¶
func (i RulesetSourceFileArray) ToRulesetSourceFileArrayOutputWithContext(ctx context.Context) RulesetSourceFileArrayOutput
type RulesetSourceFileArrayInput ¶
type RulesetSourceFileArrayInput interface { pulumi.Input ToRulesetSourceFileArrayOutput() RulesetSourceFileArrayOutput ToRulesetSourceFileArrayOutputWithContext(context.Context) RulesetSourceFileArrayOutput }
RulesetSourceFileArrayInput is an input type that accepts RulesetSourceFileArray and RulesetSourceFileArrayOutput values. You can construct a concrete instance of `RulesetSourceFileArrayInput` via:
RulesetSourceFileArray{ RulesetSourceFileArgs{...} }
type RulesetSourceFileArrayOutput ¶
type RulesetSourceFileArrayOutput struct{ *pulumi.OutputState }
func (RulesetSourceFileArrayOutput) ElementType ¶
func (RulesetSourceFileArrayOutput) ElementType() reflect.Type
func (RulesetSourceFileArrayOutput) Index ¶
func (o RulesetSourceFileArrayOutput) Index(i pulumi.IntInput) RulesetSourceFileOutput
func (RulesetSourceFileArrayOutput) ToRulesetSourceFileArrayOutput ¶
func (o RulesetSourceFileArrayOutput) ToRulesetSourceFileArrayOutput() RulesetSourceFileArrayOutput
func (RulesetSourceFileArrayOutput) ToRulesetSourceFileArrayOutputWithContext ¶
func (o RulesetSourceFileArrayOutput) ToRulesetSourceFileArrayOutputWithContext(ctx context.Context) RulesetSourceFileArrayOutput
type RulesetSourceFileInput ¶
type RulesetSourceFileInput interface { pulumi.Input ToRulesetSourceFileOutput() RulesetSourceFileOutput ToRulesetSourceFileOutputWithContext(context.Context) RulesetSourceFileOutput }
RulesetSourceFileInput is an input type that accepts RulesetSourceFileArgs and RulesetSourceFileOutput values. You can construct a concrete instance of `RulesetSourceFileInput` via:
RulesetSourceFileArgs{...}
type RulesetSourceFileOutput ¶
type RulesetSourceFileOutput struct{ *pulumi.OutputState }
func (RulesetSourceFileOutput) Content ¶
func (o RulesetSourceFileOutput) Content() pulumi.StringOutput
Textual Content.
func (RulesetSourceFileOutput) ElementType ¶
func (RulesetSourceFileOutput) ElementType() reflect.Type
func (RulesetSourceFileOutput) Fingerprint ¶
func (o RulesetSourceFileOutput) Fingerprint() pulumi.StringPtrOutput
Fingerprint (e.g. github sha) associated with the `File`.
func (RulesetSourceFileOutput) Name ¶
func (o RulesetSourceFileOutput) Name() pulumi.StringOutput
File name.
func (RulesetSourceFileOutput) ToRulesetSourceFileOutput ¶
func (o RulesetSourceFileOutput) ToRulesetSourceFileOutput() RulesetSourceFileOutput
func (RulesetSourceFileOutput) ToRulesetSourceFileOutputWithContext ¶
func (o RulesetSourceFileOutput) ToRulesetSourceFileOutputWithContext(ctx context.Context) RulesetSourceFileOutput
type RulesetSourceInput ¶
type RulesetSourceInput interface { pulumi.Input ToRulesetSourceOutput() RulesetSourceOutput ToRulesetSourceOutputWithContext(context.Context) RulesetSourceOutput }
RulesetSourceInput is an input type that accepts RulesetSourceArgs and RulesetSourceOutput values. You can construct a concrete instance of `RulesetSourceInput` via:
RulesetSourceArgs{...}
type RulesetSourceOutput ¶
type RulesetSourceOutput struct{ *pulumi.OutputState }
func (RulesetSourceOutput) ElementType ¶
func (RulesetSourceOutput) ElementType() reflect.Type
func (RulesetSourceOutput) Files ¶
func (o RulesetSourceOutput) Files() RulesetSourceFileArrayOutput
`File` set constituting the `Source` bundle.
func (RulesetSourceOutput) Language ¶
func (o RulesetSourceOutput) Language() pulumi.StringPtrOutput
`Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
func (RulesetSourceOutput) ToRulesetSourceOutput ¶
func (o RulesetSourceOutput) ToRulesetSourceOutput() RulesetSourceOutput
func (RulesetSourceOutput) ToRulesetSourceOutputWithContext ¶
func (o RulesetSourceOutput) ToRulesetSourceOutputWithContext(ctx context.Context) RulesetSourceOutput
func (RulesetSourceOutput) ToRulesetSourcePtrOutput ¶
func (o RulesetSourceOutput) ToRulesetSourcePtrOutput() RulesetSourcePtrOutput
func (RulesetSourceOutput) ToRulesetSourcePtrOutputWithContext ¶
func (o RulesetSourceOutput) ToRulesetSourcePtrOutputWithContext(ctx context.Context) RulesetSourcePtrOutput
type RulesetSourcePtrInput ¶
type RulesetSourcePtrInput interface { pulumi.Input ToRulesetSourcePtrOutput() RulesetSourcePtrOutput ToRulesetSourcePtrOutputWithContext(context.Context) RulesetSourcePtrOutput }
RulesetSourcePtrInput is an input type that accepts RulesetSourceArgs, RulesetSourcePtr and RulesetSourcePtrOutput values. You can construct a concrete instance of `RulesetSourcePtrInput` via:
RulesetSourceArgs{...} or: nil
func RulesetSourcePtr ¶
func RulesetSourcePtr(v *RulesetSourceArgs) RulesetSourcePtrInput
type RulesetSourcePtrOutput ¶
type RulesetSourcePtrOutput struct{ *pulumi.OutputState }
func (RulesetSourcePtrOutput) Elem ¶
func (o RulesetSourcePtrOutput) Elem() RulesetSourceOutput
func (RulesetSourcePtrOutput) ElementType ¶
func (RulesetSourcePtrOutput) ElementType() reflect.Type
func (RulesetSourcePtrOutput) Files ¶
func (o RulesetSourcePtrOutput) Files() RulesetSourceFileArrayOutput
`File` set constituting the `Source` bundle.
func (RulesetSourcePtrOutput) Language ¶
func (o RulesetSourcePtrOutput) Language() pulumi.StringPtrOutput
`Language` of the `Source` bundle. If unspecified, the language will default to `FIREBASE_RULES`. Possible values: LANGUAGE_UNSPECIFIED, FIREBASE_RULES, EVENT_FLOW_TRIGGERS
func (RulesetSourcePtrOutput) ToRulesetSourcePtrOutput ¶
func (o RulesetSourcePtrOutput) ToRulesetSourcePtrOutput() RulesetSourcePtrOutput
func (RulesetSourcePtrOutput) ToRulesetSourcePtrOutputWithContext ¶
func (o RulesetSourcePtrOutput) ToRulesetSourcePtrOutputWithContext(ctx context.Context) RulesetSourcePtrOutput
type RulesetState ¶
type RulesetState struct { // Output only. Time the `Ruleset` was created. CreateTime pulumi.StringPtrInput // Output only. The metadata for this ruleset. Metadatas RulesetMetadataArrayInput // File name. Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // `Source` for the `Ruleset`. Source RulesetSourcePtrInput }
func (RulesetState) ElementType ¶
func (RulesetState) ElementType() reflect.Type