Skip to content

Commit fd538db

Browse files
INTMDB-804: struct fixes (#483)
1 parent 19c9934 commit fd538db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mongodbatlas/data_lakes_pipeline.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ type DataLakePipelineTransformation struct {
6262

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

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

0 commit comments

Comments
 (0)