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)
public static Output<GetRulesetResult> getRuleset(GetRulesetArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:firebaserules/v1:getRuleset
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ruleset_id str
- project str
getRuleset Result
The following output properties are available:
- CreateTime string
- Time the Rulesetwas 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 
- Sourcefor the- Ruleset.
- CreateTime string
- Time the Rulesetwas 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 
- Sourcefor the- Ruleset.
- createTime String
- Time the Rulesetwas 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 
- Sourcefor the- Ruleset.
- createTime string
- Time the Rulesetwas 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 
- Sourcefor the- Ruleset.
- create_time str
- Time the Rulesetwas 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 
- Sourcefor the- Ruleset.
- createTime String
- Time the Rulesetwas 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
- Sourcefor 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
List<Pulumi.Google Native. Firebase Rules. V1. Inputs. File Response> 
- Fileset constituting the- Sourcebundle.
- Files
[]FileResponse 
- Fileset constituting the- Sourcebundle.
- files
List<FileResponse> 
- Fileset constituting the- Sourcebundle.
- files
FileResponse[] 
- Fileset constituting the- Sourcebundle.
- files
Sequence[FileResponse] 
- Fileset constituting the- Sourcebundle.
- files List<Property Map>
- Fileset constituting the- Sourcebundle.
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