1. Packages
  2. Google Cloud Native
  3. API Docs
  4. datalineage
  5. datalineage/v1
  6. LineageEvent

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.datalineage/v1.LineageEvent

Explore with Pulumi AI

google-native logo

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

    Creates a new lineage event.

    Create LineageEvent Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LineageEvent(name: string, args: LineageEventArgs, opts?: CustomResourceOptions);
    @overload
    def LineageEvent(resource_name: str,
                     args: LineageEventArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def LineageEvent(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     process_id: Optional[str] = None,
                     run_id: Optional[str] = None,
                     start_time: Optional[str] = None,
                     end_time: Optional[str] = None,
                     links: Optional[Sequence[GoogleCloudDatacatalogLineageV1EventLinkArgs]] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     project: Optional[str] = None,
                     request_id: Optional[str] = None)
    func NewLineageEvent(ctx *Context, name string, args LineageEventArgs, opts ...ResourceOption) (*LineageEvent, error)
    public LineageEvent(string name, LineageEventArgs args, CustomResourceOptions? opts = null)
    public LineageEvent(String name, LineageEventArgs args)
    public LineageEvent(String name, LineageEventArgs args, CustomResourceOptions options)
    
    type: google-native:datalineage/v1:LineageEvent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LineageEventArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LineageEventArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LineageEventArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LineageEventArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LineageEventArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var lineageEventResource = new GoogleNative.DataLineage.V1.LineageEvent("lineageEventResource", new()
    {
        ProcessId = "string",
        RunId = "string",
        StartTime = "string",
        EndTime = "string",
        Links = new[]
        {
            new GoogleNative.DataLineage.V1.Inputs.GoogleCloudDatacatalogLineageV1EventLinkArgs
            {
                Source = new GoogleNative.DataLineage.V1.Inputs.GoogleCloudDatacatalogLineageV1EntityReferenceArgs
                {
                    FullyQualifiedName = "string",
                },
                Target = new GoogleNative.DataLineage.V1.Inputs.GoogleCloudDatacatalogLineageV1EntityReferenceArgs
                {
                    FullyQualifiedName = "string",
                },
            },
        },
        Location = "string",
        Name = "string",
        Project = "string",
        RequestId = "string",
    });
    
    example, err := datalineage.NewLineageEvent(ctx, "lineageEventResource", &datalineage.LineageEventArgs{
    ProcessId: pulumi.String("string"),
    RunId: pulumi.String("string"),
    StartTime: pulumi.String("string"),
    EndTime: pulumi.String("string"),
    Links: datalineage.GoogleCloudDatacatalogLineageV1EventLinkArray{
    &datalineage.GoogleCloudDatacatalogLineageV1EventLinkArgs{
    Source: &datalineage.GoogleCloudDatacatalogLineageV1EntityReferenceArgs{
    FullyQualifiedName: pulumi.String("string"),
    },
    Target: &datalineage.GoogleCloudDatacatalogLineageV1EntityReferenceArgs{
    FullyQualifiedName: pulumi.String("string"),
    },
    },
    },
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    RequestId: pulumi.String("string"),
    })
    
    var lineageEventResource = new LineageEvent("lineageEventResource", LineageEventArgs.builder()
        .processId("string")
        .runId("string")
        .startTime("string")
        .endTime("string")
        .links(GoogleCloudDatacatalogLineageV1EventLinkArgs.builder()
            .source(GoogleCloudDatacatalogLineageV1EntityReferenceArgs.builder()
                .fullyQualifiedName("string")
                .build())
            .target(GoogleCloudDatacatalogLineageV1EntityReferenceArgs.builder()
                .fullyQualifiedName("string")
                .build())
            .build())
        .location("string")
        .name("string")
        .project("string")
        .requestId("string")
        .build());
    
    lineage_event_resource = google_native.datalineage.v1.LineageEvent("lineageEventResource",
        process_id="string",
        run_id="string",
        start_time="string",
        end_time="string",
        links=[google_native.datalineage.v1.GoogleCloudDatacatalogLineageV1EventLinkArgs(
            source=google_native.datalineage.v1.GoogleCloudDatacatalogLineageV1EntityReferenceArgs(
                fully_qualified_name="string",
            ),
            target=google_native.datalineage.v1.GoogleCloudDatacatalogLineageV1EntityReferenceArgs(
                fully_qualified_name="string",
            ),
        )],
        location="string",
        name="string",
        project="string",
        request_id="string")
    
    const lineageEventResource = new google_native.datalineage.v1.LineageEvent("lineageEventResource", {
        processId: "string",
        runId: "string",
        startTime: "string",
        endTime: "string",
        links: [{
            source: {
                fullyQualifiedName: "string",
            },
            target: {
                fullyQualifiedName: "string",
            },
        }],
        location: "string",
        name: "string",
        project: "string",
        requestId: "string",
    });
    
    type: google-native:datalineage/v1:LineageEvent
    properties:
        endTime: string
        links:
            - source:
                fullyQualifiedName: string
              target:
                fullyQualifiedName: string
        location: string
        name: string
        processId: string
        project: string
        requestId: string
        runId: string
        startTime: string
    

    LineageEvent Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LineageEvent resource accepts the following input properties:

    ProcessId string
    RunId string
    StartTime string
    The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
    EndTime string
    Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
    Links List<Pulumi.GoogleNative.DataLineage.V1.Inputs.GoogleCloudDatacatalogLineageV1EventLink>
    Optional. List of source-target pairs. Can't contain more than 100 tuples.
    Location string
    Name string
    Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.
    Project string
    RequestId string
    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.
    ProcessId string
    RunId string
    StartTime string
    The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
    EndTime string
    Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
    Links []GoogleCloudDatacatalogLineageV1EventLinkArgs
    Optional. List of source-target pairs. Can't contain more than 100 tuples.
    Location string
    Name string
    Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.
    Project string
    RequestId string
    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.
    processId String
    runId String
    startTime String
    The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
    endTime String
    Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
    links List<GoogleCloudDatacatalogLineageV1EventLink>
    Optional. List of source-target pairs. Can't contain more than 100 tuples.
    location String
    name String
    Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.
    project String
    requestId String
    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.
    processId string
    runId string
    startTime string
    The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
    endTime string
    Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
    links GoogleCloudDatacatalogLineageV1EventLink[]
    Optional. List of source-target pairs. Can't contain more than 100 tuples.
    location string
    name string
    Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.
    project string
    requestId string
    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.
    process_id str
    run_id str
    start_time str
    The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
    end_time str
    Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
    links Sequence[GoogleCloudDatacatalogLineageV1EventLinkArgs]
    Optional. List of source-target pairs. Can't contain more than 100 tuples.
    location str
    name str
    Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.
    project str
    request_id str
    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.
    processId String
    runId String
    startTime String
    The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
    endTime String
    Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
    links List<Property Map>
    Optional. List of source-target pairs. Can't contain more than 100 tuples.
    location String
    name String
    Immutable. The resource name of the lineage event. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.
    project String
    requestId String
    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LineageEvent resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GoogleCloudDatacatalogLineageV1EntityReference, GoogleCloudDatacatalogLineageV1EntityReferenceArgs

    GoogleCloudDatacatalogLineageV1EntityReferenceResponse, GoogleCloudDatacatalogLineageV1EntityReferenceResponseArgs

    source Property Map
    Reference to the source entity
    target Property Map
    Reference to the target entity

    GoogleCloudDatacatalogLineageV1EventLinkResponse, GoogleCloudDatacatalogLineageV1EventLinkResponseArgs

    source Property Map
    Reference to the source entity
    target Property Map
    Reference to the target entity

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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