@@ -173,15 +173,16 @@ type Cluster struct {
173
173
174
174
// ProcessArgs represents the advanced configuration options for the cluster.
175
175
type ProcessArgs struct {
176
- DefaultReadConcern string `json:"defaultReadConcern,omitempty"`
177
- DefaultWriteConcern string `json:"defaultWriteConcern,omitempty"`
178
- FailIndexKeyTooLong * bool `json:"failIndexKeyTooLong,omitempty"`
179
- JavascriptEnabled * bool `json:"javascriptEnabled,omitempty"`
180
- MinimumEnabledTLSProtocol string `json:"minimumEnabledTlsProtocol,omitempty"`
181
- NoTableScan * bool `json:"noTableScan,omitempty"`
182
- OplogSizeMB * int64 `json:"oplogSizeMB,omitempty"`
183
- SampleSizeBIConnector * int64 `json:"sampleSizeBIConnector,omitempty"`
184
- SampleRefreshIntervalBIConnector * int64 `json:"sampleRefreshIntervalBIConnector,omitempty"`
176
+ DefaultReadConcern string `json:"defaultReadConcern,omitempty"`
177
+ DefaultWriteConcern string `json:"defaultWriteConcern,omitempty"`
178
+ MinimumEnabledTLSProtocol string `json:"minimumEnabledTlsProtocol,omitempty"`
179
+ FailIndexKeyTooLong * bool `json:"failIndexKeyTooLong,omitempty"`
180
+ JavascriptEnabled * bool `json:"javascriptEnabled,omitempty"`
181
+ NoTableScan * bool `json:"noTableScan,omitempty"`
182
+ OplogSizeMB * int64 `json:"oplogSizeMB,omitempty"`
183
+ SampleSizeBIConnector * int64 `json:"sampleSizeBIConnector,omitempty"`
184
+ SampleRefreshIntervalBIConnector * int64 `json:"sampleRefreshIntervalBIConnector,omitempty"`
185
+ OplogMinRetentionHours * float64 `json:"oplogMinRetentionHours,omitempty"`
185
186
}
186
187
187
188
// ClusterStatus is the status of the operations on the cluster.
@@ -436,7 +437,7 @@ func (s *ClustersServiceOp) Delete(ctx context.Context, groupID, clusterName str
436
437
437
438
// UpdateProcessArgs Modifies Advanced Configuration Options for One Cluster
438
439
//
439
- // See more: https://docs.atlas. mongodb.com/reference/api/clusters-modify-advanced-configuration-options/
440
+ // See more: https://www. mongodb.com/docs/atlas/ reference/api-resources-spec/#operation/updateAdvancedConfigurationOptionsForOneCluster
440
441
func (s * ClustersServiceOp ) UpdateProcessArgs (ctx context.Context , groupID , clusterName string , updateRequest * ProcessArgs ) (* ProcessArgs , * Response , error ) {
441
442
if groupID == "" {
442
443
return nil , nil , NewArgError ("groupId" , "must be set" )
@@ -464,7 +465,7 @@ func (s *ClustersServiceOp) UpdateProcessArgs(ctx context.Context, groupID, clus
464
465
465
466
// GetProcessArgs gets the Advanced Configuration Options for One Cluster
466
467
//
467
- // See more: https://docs.atlas. mongodb.com/reference/api/clusters-get-advanced-configuration-options/#get-advanced-configuration-options-for-one-cluster
468
+ // See more: https://www. mongodb.com/docs/atlas/ reference/api-resources-spec/#operation/returnOneAdvancedConfigurationOptionsForOneCluster
468
469
func (s * ClustersServiceOp ) GetProcessArgs (ctx context.Context , groupID , clusterName string ) (* ProcessArgs , * Response , error ) {
469
470
if groupID == "" {
470
471
return nil , nil , NewArgError ("groupId" , "must be set" )
0 commit comments