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

google-native.firebaserules/v1.getRuleset

Get a Ruleset by name including the full Source contents.

Using getRuleset

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRuleset(args: GetRulesetArgs, opts?: InvokeOptions): Promise<GetRulesetResult>
function getRulesetOutput(args: GetRulesetOutputArgs, opts?: InvokeOptions): Output<GetRulesetResult>
def get_ruleset(project: Optional[str] = None,
                ruleset_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetRulesetResult
def get_ruleset_output(project: Optional[pulumi.Input[str]] = None,
                ruleset_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetRulesetResult]
func LookupRuleset(ctx *Context, args *LookupRulesetArgs, opts ...InvokeOption) (*LookupRulesetResult, error)
func LookupRulesetOutput(ctx *Context, args *LookupRulesetOutputArgs, opts ...InvokeOption) LookupRulesetResultOutput

> Note: This function is named LookupRuleset in the Go SDK.

public static class GetRuleset 
{
    public static Task<GetRulesetResult> InvokeAsync(GetRulesetArgs args, InvokeOptions? opts = null)
    public static Output<GetRulesetResult> Invoke(GetRulesetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRulesetResult> getRuleset(GetRulesetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:firebaserules/v1:getRuleset
  arguments:
    # arguments dictionary

The following arguments are supported:

RulesetId string
Project string
RulesetId string
Project string
rulesetId String
project String
rulesetId string
project string
rulesetId String
project String

getRuleset Result

The following output properties are available:

CreateTime string

Time the Ruleset was created.

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}

Source Pulumi.GoogleNative.FirebaseRules.V1.Outputs.SourceResponse

Source for the Ruleset.

CreateTime string

Time the Ruleset was created.

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}

Source SourceResponse

Source for the Ruleset.

createTime String

Time the Ruleset was created.

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}

source SourceResponse

Source for the Ruleset.

createTime string

Time the Ruleset was created.

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}

source SourceResponse

Source for the Ruleset.

create_time str

Time the Ruleset was created.

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}

source SourceResponse

Source for the Ruleset.

createTime String

Time the Ruleset was created.

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}

source Property Map

Source for the Ruleset.

Supporting Types

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.

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