1. Packages
  2. Google Cloud Native
  3. API Docs
  4. firebaserules
  5. firebaserules/v1
  6. getRuleset

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.firebaserules/v1.getRuleset

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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>
Copy
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]
Copy
func LookupRuleset(ctx *Context, args *LookupRulesetArgs, opts ...InvokeOption) (*LookupRulesetResult, error)
func LookupRulesetOutput(ctx *Context, args *LookupRulesetOutputArgs, opts ...InvokeOption) LookupRulesetResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetRulesetResult> getRuleset(GetRulesetArgs args, InvokeOptions options)
public static Output<GetRulesetResult> getRuleset(GetRulesetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:firebaserules/v1:getRuleset
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RulesetId This property is required. string
Project string
RulesetId This property is required. string
Project string
rulesetId This property is required. String
project String
rulesetId This property is required. string
project string
ruleset_id This property is required. str
project str
rulesetId This property is required. 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 This property is required. string
Textual Content.
Fingerprint This property is required. string
Fingerprint (e.g. github sha) associated with the File.
Name This property is required. string
File name.
Content This property is required. string
Textual Content.
Fingerprint This property is required. string
Fingerprint (e.g. github sha) associated with the File.
Name This property is required. string
File name.
content This property is required. String
Textual Content.
fingerprint This property is required. String
Fingerprint (e.g. github sha) associated with the File.
name This property is required. String
File name.
content This property is required. string
Textual Content.
fingerprint This property is required. string
Fingerprint (e.g. github sha) associated with the File.
name This property is required. string
File name.
content This property is required. str
Textual Content.
fingerprint This property is required. str
Fingerprint (e.g. github sha) associated with the File.
name This property is required. str
File name.
content This property is required. String
Textual Content.
fingerprint This property is required. String
Fingerprint (e.g. github sha) associated with the File.
name This property is required. String
File name.

MetadataResponse

Services This property is required. List<string>
Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.
Services This property is required. []string
Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.
services This property is required. List<String>
Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.
services This property is required. string[]
Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.
services This property is required. Sequence[str]
Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.
services This property is required. List<String>
Services that this ruleset has declarations for (e.g., "cloud.firestore"). There may be 0+ of these.

SourceResponse

Files This property is required. List<Pulumi.GoogleNative.FirebaseRules.V1.Inputs.FileResponse>
File set constituting the Source bundle.
Files This property is required. []FileResponse
File set constituting the Source bundle.
files This property is required. List<FileResponse>
File set constituting the Source bundle.
files This property is required. FileResponse[]
File set constituting the Source bundle.
files This property is required. Sequence[FileResponse]
File set constituting the Source bundle.
files This property is required. List<Property Map>
File set constituting the Source bundle.

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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi