Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTMDB-804: struct fixes #483

Merged
merged 2 commits into from
May 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions mongodbatlas/data_lakes_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ type DataLakePipelineTransformation struct {

// DataLakePipelineSink represents ingestion destination of a Data Lake Pipeline.
type DataLakePipelineSink struct {
Type string `json:"type,omitempty"` // Type of ingestion destination of this Data Lake Pipeline.
MetadataProvider string `json:"metadataProvider,omitempty"` // Target cloud provider for this Data Lake Pipeline.
MetadataRegion string `json:"metadataRegion,omitempty"` // Target cloud provider region for this Data Lake Pipeline.
PartitionFields *DataLakePipelinePartitionField `json:"partitionFields,omitempty"` // Ordered fields used to physically organize data in the destination.
Type string `json:"type,omitempty"` // Type of ingestion destination of this Data Lake Pipeline.
MetadataProvider string `json:"metadataProvider,omitempty"` // Target cloud provider for this Data Lake Pipeline.
MetadataRegion string `json:"metadataRegion,omitempty"` // Target cloud provider region for this Data Lake Pipeline.
PartitionFields []*DataLakePipelinePartitionField `json:"partitionFields,omitempty"` // Ordered fields used to physically organize data in the destination.
}

// DataLakePipelinePartitionField represents ordered fields used to physically organize data in the destination.
Expand All @@ -80,6 +80,7 @@ type DataLakePipelineSource struct {
ClusterName string `json:"clusterName,omitempty"` // Human-readable name that identifies the cluster.
CollectionName string `json:"collectionName,omitempty"` // Human-readable name that identifies the collection.
DatabaseName string `json:"databaseName,omitempty"` // Human-readable name that identifies the database.
PolicyItemID string `json:"policyItemId,omitempty"` // Unique 24-hexadecimal character string that identifies a policy item.
GroupID string `json:"groupId,omitempty"` // Unique 24-hexadecimal character string that identifies the project.
}

Expand Down