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>
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:
- ruleset_
id str - project str
getRuleset Result
The following output properties are available:
- Create
Time string - Time the
Ruleset
was created. - 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}
- Source
Pulumi.
Google Native. Firebase Rules. V1. Outputs. Source Response Source
for theRuleset
.
- Create
Time string - Time the
Ruleset
was created. - 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}
- Source
Source
Response Source
for theRuleset
.
- create
Time String - Time the
Ruleset
was created. - 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}
- source
Source
Response Source
for theRuleset
.
- create
Time string - Time the
Ruleset
was created. - 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}
- source
Source
Response Source
for theRuleset
.
- create_
time str - Time the
Ruleset
was created. - 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}
- source
Source
Response Source
for theRuleset
.
- create
Time 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 theRuleset
.
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
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
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