Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datalineage/v1.LineageEvent
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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=[{
"source": {
"fully_qualified_name": "string",
},
"target": {
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LineageEvent resource accepts the following input properties:
- Process
Id string - Run
Id string - Start
Time 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.
- End
Time 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.
Google Native. Data Lineage. V1. Inputs. Google Cloud Datacatalog Lineage V1Event Link> - 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
- Request
Id 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 string - Run
Id string - Start
Time 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.
- End
Time 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
[]Google
Cloud Datacatalog Lineage V1Event Link Args - 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
- Request
Id 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 String - run
Id String - start
Time 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.
- end
Time 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<Google
Cloud Datacatalog Lineage V1Event Link> - 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
- request
Id 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 string - run
Id string - start
Time 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.
- end
Time 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
Google
Cloud Datacatalog Lineage V1Event Link[] - 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
- request
Id 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[Google
Cloud Datacatalog Lineage V1Event Link Args] - 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.
- process
Id String - run
Id String - start
Time 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.
- end
Time 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
- request
Id 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
- Fully
Qualified stringName - Fully Qualified Name (FQN) of the entity.
- Fully
Qualified stringName - Fully Qualified Name (FQN) of the entity.
- fully
Qualified StringName - Fully Qualified Name (FQN) of the entity.
- fully
Qualified stringName - Fully Qualified Name (FQN) of the entity.
- fully_
qualified_ strname - Fully Qualified Name (FQN) of the entity.
- fully
Qualified StringName - Fully Qualified Name (FQN) of the entity.
GoogleCloudDatacatalogLineageV1EntityReferenceResponse, GoogleCloudDatacatalogLineageV1EntityReferenceResponseArgs
- Fully
Qualified stringName - Fully Qualified Name (FQN) of the entity.
- Fully
Qualified stringName - Fully Qualified Name (FQN) of the entity.
- fully
Qualified StringName - Fully Qualified Name (FQN) of the entity.
- fully
Qualified stringName - Fully Qualified Name (FQN) of the entity.
- fully_
qualified_ strname - Fully Qualified Name (FQN) of the entity.
- fully
Qualified StringName - Fully Qualified Name (FQN) of the entity.
GoogleCloudDatacatalogLineageV1EventLink, GoogleCloudDatacatalogLineageV1EventLinkArgs
- Source
Pulumi.
Google Native. Data Lineage. V1. Inputs. Google Cloud Datacatalog Lineage V1Entity Reference - Reference to the source entity
- Target
Pulumi.
Google Native. Data Lineage. V1. Inputs. Google Cloud Datacatalog Lineage V1Entity Reference - Reference to the target entity
- Source
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the source entity
- Target
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the target entity
- source
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the source entity
- target
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the target entity
- source
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the source entity
- target
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the target entity
- source
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the source entity
- target
Google
Cloud Datacatalog Lineage V1Entity Reference - Reference to the target entity
- source Property Map
- Reference to the source entity
- target Property Map
- Reference to the target entity
GoogleCloudDatacatalogLineageV1EventLinkResponse, GoogleCloudDatacatalogLineageV1EventLinkResponseArgs
- Source
Pulumi.
Google Native. Data Lineage. V1. Inputs. Google Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the source entity
- Target
Pulumi.
Google Native. Data Lineage. V1. Inputs. Google Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the target entity
- Source
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the source entity
- Target
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the target entity
- source
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the source entity
- target
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the target entity
- source
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the source entity
- target
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the target entity
- source
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the source entity
- target
Google
Cloud Datacatalog Lineage V1Entity Reference Response - Reference to the target entity
- 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 Cloud Native is in preview. Google Cloud Classic is fully supported.