1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. datalineage
  6. getConfig
Viewing docs for Google Cloud v9.22.0
published on Friday, May 1, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.22.0
published on Friday, May 1, 2026 by Pulumi

    Get a configuration for Data Lineage.

    To get more information about Config, see Official Documentation

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = gcp.datalineage.getConfig({
        parent: "projects/my-project-name",
        location: "global",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.datalineage.get_config(parent="projects/my-project-name",
        location="global")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/datalineage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datalineage.LookupConfig(ctx, &datalineage.LookupConfigArgs{
    			Parent:   "projects/my-project-name",
    			Location: "global",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Gcp.DataLineage.GetConfig.Invoke(new()
        {
            Parent = "projects/my-project-name",
            Location = "global",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.datalineage.DatalineageFunctions;
    import com.pulumi.gcp.datalineage.inputs.GetConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = DatalineageFunctions.getConfig(GetConfigArgs.builder()
                .parent("projects/my-project-name")
                .location("global")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          function: gcp:datalineage:getConfig
          arguments:
            parent: projects/my-project-name
            location: global
    

    Using getConfig

    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 getConfig(args: GetConfigArgs, opts?: InvokeOptions): Promise<GetConfigResult>
    function getConfigOutput(args: GetConfigOutputArgs, opts?: InvokeOptions): Output<GetConfigResult>
    def get_config(location: Optional[str] = None,
                   parent: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetConfigResult
    def get_config_output(location: Optional[pulumi.Input[str]] = None,
                   parent: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetConfigResult]
    func LookupConfig(ctx *Context, args *LookupConfigArgs, opts ...InvokeOption) (*LookupConfigResult, error)
    func LookupConfigOutput(ctx *Context, args *LookupConfigOutputArgs, opts ...InvokeOption) LookupConfigResultOutput

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

    public static class GetConfig 
    {
        public static Task<GetConfigResult> InvokeAsync(GetConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigResult> Invoke(GetConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetConfigResult> getConfig(GetConfigArgs args, InvokeOptions options)
    public static Output<GetConfigResult> getConfig(GetConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:datalineage/getConfig:getConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    The region of the data lineage configuration for integration.
    Parent string
    Parent scope for the config. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}.
    Location string
    The region of the data lineage configuration for integration.
    Parent string
    Parent scope for the config. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}.
    location String
    The region of the data lineage configuration for integration.
    parent String
    Parent scope for the config. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}.
    location string
    The region of the data lineage configuration for integration.
    parent string
    Parent scope for the config. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}.
    location str
    The region of the data lineage configuration for integration.
    parent str
    Parent scope for the config. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}.
    location String
    The region of the data lineage configuration for integration.
    parent String
    Parent scope for the config. Format: projects/{project-id|project-number} or folders/{folder-number} or organizations/{organization-number}.

    getConfig Result

    The following output properties are available:

    Etag string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ingestions List<GetConfigIngestion>
    Location string
    Name string
    Parent string
    Etag string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ingestions []GetConfigIngestion
    Location string
    Name string
    Parent string
    etag String
    id String
    The provider-assigned unique ID for this managed resource.
    ingestions List<GetConfigIngestion>
    location String
    name String
    parent String
    etag string
    id string
    The provider-assigned unique ID for this managed resource.
    ingestions GetConfigIngestion[]
    location string
    name string
    parent string
    etag str
    id str
    The provider-assigned unique ID for this managed resource.
    ingestions Sequence[GetConfigIngestion]
    location str
    name str
    parent str
    etag String
    id String
    The provider-assigned unique ID for this managed resource.
    ingestions List<Property Map>
    location String
    name String
    parent String

    Supporting Types

    GetConfigIngestion

    Rules List<GetConfigIngestionRule>
    List of ingestion rules for Data Lineage ingestion.
    Rules []GetConfigIngestionRule
    List of ingestion rules for Data Lineage ingestion.
    rules List<GetConfigIngestionRule>
    List of ingestion rules for Data Lineage ingestion.
    rules GetConfigIngestionRule[]
    List of ingestion rules for Data Lineage ingestion.
    rules Sequence[GetConfigIngestionRule]
    List of ingestion rules for Data Lineage ingestion.
    rules List<Property Map>
    List of ingestion rules for Data Lineage ingestion.

    GetConfigIngestionRule

    IntegrationSelectors List<GetConfigIngestionRuleIntegrationSelector>
    Selects which integration this rule applies to.
    LineageEnablements List<GetConfigIngestionRuleLineageEnablement>
    Configures lineage ingestion enablement for this scope.
    IntegrationSelectors []GetConfigIngestionRuleIntegrationSelector
    Selects which integration this rule applies to.
    LineageEnablements []GetConfigIngestionRuleLineageEnablement
    Configures lineage ingestion enablement for this scope.
    integrationSelectors List<GetConfigIngestionRuleIntegrationSelector>
    Selects which integration this rule applies to.
    lineageEnablements List<GetConfigIngestionRuleLineageEnablement>
    Configures lineage ingestion enablement for this scope.
    integrationSelectors GetConfigIngestionRuleIntegrationSelector[]
    Selects which integration this rule applies to.
    lineageEnablements GetConfigIngestionRuleLineageEnablement[]
    Configures lineage ingestion enablement for this scope.
    integration_selectors Sequence[GetConfigIngestionRuleIntegrationSelector]
    Selects which integration this rule applies to.
    lineage_enablements Sequence[GetConfigIngestionRuleLineageEnablement]
    Configures lineage ingestion enablement for this scope.
    integrationSelectors List<Property Map>
    Selects which integration this rule applies to.
    lineageEnablements List<Property Map>
    Configures lineage ingestion enablement for this scope.

    GetConfigIngestionRuleIntegrationSelector

    Integration string
    Integration to which the rule applies. Possible values: ["DATAPROC", "LOOKER_CORE"]
    Integration string
    Integration to which the rule applies. Possible values: ["DATAPROC", "LOOKER_CORE"]
    integration String
    Integration to which the rule applies. Possible values: ["DATAPROC", "LOOKER_CORE"]
    integration string
    Integration to which the rule applies. Possible values: ["DATAPROC", "LOOKER_CORE"]
    integration str
    Integration to which the rule applies. Possible values: ["DATAPROC", "LOOKER_CORE"]
    integration String
    Integration to which the rule applies. Possible values: ["DATAPROC", "LOOKER_CORE"]

    GetConfigIngestionRuleLineageEnablement

    Enabled bool
    Whether ingestion of lineage should be enabled.
    Enabled bool
    Whether ingestion of lineage should be enabled.
    enabled Boolean
    Whether ingestion of lineage should be enabled.
    enabled boolean
    Whether ingestion of lineage should be enabled.
    enabled bool
    Whether ingestion of lineage should be enabled.
    enabled Boolean
    Whether ingestion of lineage should be enabled.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.22.0
    published on Friday, May 1, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.