Skip to content

Commit f55efb4

Browse files
authored
feat: add support to creation of cloudgov only projects (#243)
1 parent 1d669b4 commit f55efb4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

mongodbatlas/projects.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,13 @@ var _ ProjectsService = &ProjectsServiceOp{}
6363

6464
// Project represents the structure of a project.
6565
type Project struct {
66-
ID string `json:"id,omitempty"`
67-
OrgID string `json:"orgId,omitempty"`
68-
Name string `json:"name,omitempty"`
69-
ClusterCount int `json:"clusterCount,omitempty"`
70-
Created string `json:"created,omitempty"`
71-
Links []*Link `json:"links,omitempty"`
66+
ID string `json:"id,omitempty"`
67+
OrgID string `json:"orgId,omitempty"`
68+
Name string `json:"name,omitempty"`
69+
ClusterCount int `json:"clusterCount,omitempty"`
70+
Created string `json:"created,omitempty"`
71+
RegionUsageRestrictions string `json:"regionUsageRestrictions,omitempty"` // RegionUsageRestrictions for cloud.mongodbgov.com, valid values are GOV_REGIONS_ONLY, COMMERCIAL_FEDRAMP_REGIONS_ONLY, NONE
72+
Links []*Link `json:"links,omitempty"`
7273
}
7374

7475
// Projects represents a array of project.

0 commit comments

Comments
 (0)