From 88420f887c30167622d529581102c1467ed316c3 Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Wed, 17 May 2023 13:13:23 +0100 Subject: [PATCH 1/2] INTMDB-804: struct fixes --- mongodbatlas/data_lakes_pipeline.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mongodbatlas/data_lakes_pipeline.go b/mongodbatlas/data_lakes_pipeline.go index b6556f329..d1cb3ef8f 100644 --- a/mongodbatlas/data_lakes_pipeline.go +++ b/mongodbatlas/data_lakes_pipeline.go @@ -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. From aee9ff7710a09df9ba593d9b5c5b044dfb803a1e Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Thu, 18 May 2023 15:00:02 +0100 Subject: [PATCH 2/2] Added policyItemId --- mongodbatlas/data_lakes_pipeline.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mongodbatlas/data_lakes_pipeline.go b/mongodbatlas/data_lakes_pipeline.go index d1cb3ef8f..29767f6f3 100644 --- a/mongodbatlas/data_lakes_pipeline.go +++ b/mongodbatlas/data_lakes_pipeline.go @@ -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. }