Skip to content

Commit 5a43722

Browse files
lantoligithub-actions[bot]
authored andcommitted
temp: client update
1 parent 6b12a4b commit 5a43722

File tree

130 files changed

+13269
-982
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+13269
-982
lines changed

.mockery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ filename: "{{ .InterfaceName | snakecase }}.go"
66
mockname: "{{.InterfaceName}}"
77

88
packages:
9-
go.mongodb.org/atlas-sdk/v20250312003/admin:
9+
github.com/mongodb/atlas-sdk-go/admin:
1010
config:
1111
include-regex: ".*Api"

admin/api_access_tracking.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
type AccessTrackingApi interface {
1414

1515
/*
16-
ListAccessLogsByClusterName Return Database Access History for One Cluster using Its Cluster Name
16+
ListAccessLogsByClusterName Return Database Access History for One Cluster by Cluster Name
1717
1818
Returns the access logs of one cluster identified by the cluster's name. Access logs contain a list of authentication requests made against your cluster. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting Service Account or API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
1919
@@ -24,7 +24,7 @@ type AccessTrackingApi interface {
2424
*/
2525
ListAccessLogsByClusterName(ctx context.Context, groupId string, clusterName string) ListAccessLogsByClusterNameApiRequest
2626
/*
27-
ListAccessLogsByClusterName Return Database Access History for One Cluster using Its Cluster Name
27+
ListAccessLogsByClusterName Return Database Access History for One Cluster by Cluster Name
2828
2929
3030
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -37,7 +37,7 @@ type AccessTrackingApi interface {
3737
ListAccessLogsByClusterNameExecute(r ListAccessLogsByClusterNameApiRequest) (*MongoDBAccessLogsList, *http.Response, error)
3838

3939
/*
40-
ListAccessLogsByHostname Return Database Access History for One Cluster using Its Hostname
40+
ListAccessLogsByHostname Return Database Access History for One Cluster by Hostname
4141
4242
Returns the access logs of one cluster identified by the cluster's hostname. Access logs contain a list of authentication requests made against your clusters. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting Service Account or API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
4343
@@ -48,7 +48,7 @@ type AccessTrackingApi interface {
4848
*/
4949
ListAccessLogsByHostname(ctx context.Context, groupId string, hostname string) ListAccessLogsByHostnameApiRequest
5050
/*
51-
ListAccessLogsByHostname Return Database Access History for One Cluster using Its Hostname
51+
ListAccessLogsByHostname Return Database Access History for One Cluster by Hostname
5252
5353
5454
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -135,7 +135,7 @@ func (r ListAccessLogsByClusterNameApiRequest) Execute() (*MongoDBAccessLogsList
135135
}
136136

137137
/*
138-
ListAccessLogsByClusterName Return Database Access History for One Cluster using Its Cluster Name
138+
ListAccessLogsByClusterName Return Database Access History for One Cluster by Cluster Name
139139
140140
Returns the access logs of one cluster identified by the cluster's name. Access logs contain a list of authentication requests made against your cluster. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting Service Account or API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
141141
@@ -322,7 +322,7 @@ func (r ListAccessLogsByHostnameApiRequest) Execute() (*MongoDBAccessLogsList, *
322322
}
323323

324324
/*
325-
ListAccessLogsByHostname Return Database Access History for One Cluster using Its Hostname
325+
ListAccessLogsByHostname Return Database Access History for One Cluster by Hostname
326326
327327
Returns the access logs of one cluster identified by the cluster's hostname. Access logs contain a list of authentication requests made against your clusters. You can't use this feature on tenant-tier clusters (M0, M2, M5). To use this resource, the requesting Service Account or API Key must have the Project Monitoring Admin role or the Project Database Access Admin role.
328328

admin/api_alert_configurations.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type AlertConfigurationsApi interface {
9191
GetAlertConfigurationExecute(r GetAlertConfigurationApiRequest) (*GroupAlertsConfig, *http.Response, error)
9292

9393
/*
94-
ListAlertConfigurationMatchersFieldNames Get All Alert Configuration Matchers Field Names
94+
ListAlertConfigurationMatchersFieldNames Return All Alert Configuration Matchers Field Names
9595
9696
Get all field names that the `matchers.fieldName` parameter accepts when you create or update an Alert Configuration. You can successfully call this endpoint with any assigned role.
9797
@@ -100,7 +100,7 @@ type AlertConfigurationsApi interface {
100100
*/
101101
ListAlertConfigurationMatchersFieldNames(ctx context.Context) ListAlertConfigurationMatchersFieldNamesApiRequest
102102
/*
103-
ListAlertConfigurationMatchersFieldNames Get All Alert Configuration Matchers Field Names
103+
ListAlertConfigurationMatchersFieldNames Return All Alert Configuration Matchers Field Names
104104
105105
106106
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -113,7 +113,7 @@ type AlertConfigurationsApi interface {
113113
ListAlertConfigurationMatchersFieldNamesExecute(r ListAlertConfigurationMatchersFieldNamesApiRequest) ([]string, *http.Response, error)
114114

115115
/*
116-
ListAlertConfigurations Return All Alert Configurations for One Project
116+
ListAlertConfigurations Return All Alert Configurations in One Project
117117
118118
Returns all alert configurations for one project. These alert configurations apply to any component in the project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.
119119
@@ -125,7 +125,7 @@ type AlertConfigurationsApi interface {
125125
*/
126126
ListAlertConfigurations(ctx context.Context, groupId string) ListAlertConfigurationsApiRequest
127127
/*
128-
ListAlertConfigurations Return All Alert Configurations for One Project
128+
ListAlertConfigurations Return All Alert Configurations in One Project
129129
130130
131131
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -164,7 +164,7 @@ type AlertConfigurationsApi interface {
164164
ListAlertConfigurationsByAlertIdExecute(r ListAlertConfigurationsByAlertIdApiRequest) (*PaginatedAlertConfig, *http.Response, error)
165165

166166
/*
167-
ToggleAlertConfiguration Toggle One State of One Alert Configuration in One Project
167+
ToggleAlertConfiguration Toggle State of One Alert Configuration in One Project
168168
169169
Enables or disables the specified alert configuration in the specified project. The resource enables the specified alert configuration if currently enabled. The resource disables the specified alert configuration if currently disabled. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role.
170170
@@ -180,7 +180,7 @@ type AlertConfigurationsApi interface {
180180
*/
181181
ToggleAlertConfiguration(ctx context.Context, groupId string, alertConfigId string, alertsToggle *AlertsToggle) ToggleAlertConfigurationApiRequest
182182
/*
183-
ToggleAlertConfiguration Toggle One State of One Alert Configuration in One Project
183+
ToggleAlertConfiguration Toggle State of One Alert Configuration in One Project
184184
185185
186186
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -193,7 +193,7 @@ type AlertConfigurationsApi interface {
193193
ToggleAlertConfigurationExecute(r ToggleAlertConfigurationApiRequest) (*GroupAlertsConfig, *http.Response, error)
194194

195195
/*
196-
UpdateAlertConfiguration Update One Alert Configuration for One Project
196+
UpdateAlertConfiguration Update One Alert Configuration in One Project
197197
198198
Updates one alert configuration in the specified project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role.
199199
@@ -209,7 +209,7 @@ type AlertConfigurationsApi interface {
209209
*/
210210
UpdateAlertConfiguration(ctx context.Context, groupId string, alertConfigId string, groupAlertsConfig *GroupAlertsConfig) UpdateAlertConfigurationApiRequest
211211
/*
212-
UpdateAlertConfiguration Update One Alert Configuration for One Project
212+
UpdateAlertConfiguration Update One Alert Configuration in One Project
213213
214214
215215
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -603,7 +603,7 @@ func (r ListAlertConfigurationMatchersFieldNamesApiRequest) Execute() ([]string,
603603
}
604604

605605
/*
606-
ListAlertConfigurationMatchersFieldNames Get All Alert Configuration Matchers Field Names
606+
ListAlertConfigurationMatchersFieldNames Return All Alert Configuration Matchers Field Names
607607
608608
Get all field names that the `matchers.fieldName` parameter accepts when you create or update an Alert Configuration. You can successfully call this endpoint with any assigned role.
609609
@@ -738,7 +738,7 @@ func (r ListAlertConfigurationsApiRequest) Execute() (*PaginatedAlertConfig, *ht
738738
}
739739

740740
/*
741-
ListAlertConfigurations Return All Alert Configurations for One Project
741+
ListAlertConfigurations Return All Alert Configurations in One Project
742742
743743
Returns all alert configurations for one project. These alert configurations apply to any component in the project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Project Read Only role.
744744
@@ -1054,7 +1054,7 @@ func (r ToggleAlertConfigurationApiRequest) Execute() (*GroupAlertsConfig, *http
10541054
}
10551055

10561056
/*
1057-
ToggleAlertConfiguration Toggle One State of One Alert Configuration in One Project
1057+
ToggleAlertConfiguration Toggle State of One Alert Configuration in One Project
10581058
10591059
Enables or disables the specified alert configuration in the specified project. The resource enables the specified alert configuration if currently enabled. The resource disables the specified alert configuration if currently disabled. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role.
10601060
@@ -1190,7 +1190,7 @@ func (r UpdateAlertConfigurationApiRequest) Execute() (*GroupAlertsConfig, *http
11901190
}
11911191

11921192
/*
1193-
UpdateAlertConfiguration Update One Alert Configuration for One Project
1193+
UpdateAlertConfiguration Update One Alert Configuration in One Project
11941194
11951195
Updates one alert configuration in the specified project. Alert configurations define the triggers and notification methods for alerts. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role.
11961196

admin/api_alerts.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type AlertsApi interface {
9191
ListAlertsExecute(r ListAlertsApiRequest) (*PaginatedAlert, *http.Response, error)
9292

9393
/*
94-
ListAlertsByAlertConfigurationId Return All Open Alerts for Alert Configuration
94+
ListAlertsByAlertConfigurationId Return All Open Alerts for One Alert Configuration
9595
9696
Returns all open alerts that the specified alert configuration triggers. These alert configurations apply to the specified project only. Alert configurations define the triggers and notification methods for alerts. Open alerts have been triggered but remain unacknowledged. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alert Configurations for One Project endpoint to retrieve all alert configurations to which the authenticated user has access.
9797
@@ -104,7 +104,7 @@ type AlertsApi interface {
104104
*/
105105
ListAlertsByAlertConfigurationId(ctx context.Context, groupId string, alertConfigId string) ListAlertsByAlertConfigurationIdApiRequest
106106
/*
107-
ListAlertsByAlertConfigurationId Return All Open Alerts for Alert Configuration
107+
ListAlertsByAlertConfigurationId Return All Open Alerts for One Alert Configuration
108108
109109
110110
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -608,7 +608,7 @@ func (r ListAlertsByAlertConfigurationIdApiRequest) Execute() (*PaginatedAlert,
608608
}
609609

610610
/*
611-
ListAlertsByAlertConfigurationId Return All Open Alerts for Alert Configuration
611+
ListAlertsByAlertConfigurationId Return All Open Alerts for One Alert Configuration
612612
613613
Returns all open alerts that the specified alert configuration triggers. These alert configurations apply to the specified project only. Alert configurations define the triggers and notification methods for alerts. Open alerts have been triggered but remain unacknowledged. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. Use the Return All Alert Configurations for One Project endpoint to retrieve all alert configurations to which the authenticated user has access.
614614

admin/api_atlas_search.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ type AtlasSearchApi interface {
116116
DeleteAtlasSearchDeploymentExecute(r DeleteAtlasSearchDeploymentApiRequest) (*http.Response, error)
117117

118118
/*
119-
DeleteAtlasSearchIndex Remove One Atlas Search Index by Id
119+
DeleteAtlasSearchIndex Remove One Atlas Search Index by ID
120120
121121
Removes one Atlas Search index that you identified with its unique ID. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. This deletion is eventually consistent.
122122
@@ -128,7 +128,7 @@ type AtlasSearchApi interface {
128128
*/
129129
DeleteAtlasSearchIndex(ctx context.Context, groupId string, clusterName string, indexId string) DeleteAtlasSearchIndexApiRequest
130130
/*
131-
DeleteAtlasSearchIndex Remove One Atlas Search Index by Id
131+
DeleteAtlasSearchIndex Remove One Atlas Search Index by ID
132132
133133
134134
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -197,7 +197,7 @@ type AtlasSearchApi interface {
197197
DeleteAtlasSearchIndexDeprecatedExecute(r DeleteAtlasSearchIndexDeprecatedApiRequest) (*http.Response, error)
198198

199199
/*
200-
GetAtlasSearchDeployment Return Search Nodes
200+
GetAtlasSearchDeployment Return All Search Nodes
201201
202202
Returns the Search Nodes for the specified cluster. Deprecated versions: v2-{2024-05-30}, v2-{2023-01-01}
203203
@@ -208,7 +208,7 @@ type AtlasSearchApi interface {
208208
*/
209209
GetAtlasSearchDeployment(ctx context.Context, groupId string, clusterName string) GetAtlasSearchDeploymentApiRequest
210210
/*
211-
GetAtlasSearchDeployment Return Search Nodes
211+
GetAtlasSearchDeployment Return All Search Nodes
212212
213213
214214
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -407,7 +407,7 @@ type AtlasSearchApi interface {
407407
UpdateAtlasSearchDeploymentExecute(r UpdateAtlasSearchDeploymentApiRequest) (*ApiSearchDeploymentResponse, *http.Response, error)
408408

409409
/*
410-
UpdateAtlasSearchIndex Update One Atlas Search Index By ID
410+
UpdateAtlasSearchIndex Update One Atlas Search Index by ID
411411
412412
Updates one Atlas Search index that you identified with its unique ID. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role.
413413
@@ -420,7 +420,7 @@ type AtlasSearchApi interface {
420420
*/
421421
UpdateAtlasSearchIndex(ctx context.Context, groupId string, clusterName string, indexId string, searchIndexUpdateRequest *SearchIndexUpdateRequest) UpdateAtlasSearchIndexApiRequest
422422
/*
423-
UpdateAtlasSearchIndex Update One Atlas Search Index By ID
423+
UpdateAtlasSearchIndex Update One Atlas Search Index by ID
424424
425425
426426
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -433,7 +433,7 @@ type AtlasSearchApi interface {
433433
UpdateAtlasSearchIndexExecute(r UpdateAtlasSearchIndexApiRequest) (*SearchIndexResponse, *http.Response, error)
434434

435435
/*
436-
UpdateAtlasSearchIndexByName Update One Atlas Search Index By Name
436+
UpdateAtlasSearchIndexByName Update One Atlas Search Index by Name
437437
438438
Updates one Atlas Search index that you identified with its database, collection name, and index name. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role.
439439
@@ -448,7 +448,7 @@ type AtlasSearchApi interface {
448448
*/
449449
UpdateAtlasSearchIndexByName(ctx context.Context, groupId string, clusterName string, collectionName string, databaseName string, indexName string, searchIndexUpdateRequest *SearchIndexUpdateRequest) UpdateAtlasSearchIndexByNameApiRequest
450450
/*
451-
UpdateAtlasSearchIndexByName Update One Atlas Search Index By Name
451+
UpdateAtlasSearchIndexByName Update One Atlas Search Index by Name
452452
453453
454454
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -1029,7 +1029,7 @@ func (r DeleteAtlasSearchIndexApiRequest) Execute() (*http.Response, error) {
10291029
}
10301030

10311031
/*
1032-
DeleteAtlasSearchIndex Remove One Atlas Search Index by Id
1032+
DeleteAtlasSearchIndex Remove One Atlas Search Index by ID
10331033
10341034
Removes one Atlas Search index that you identified with its unique ID. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role. This deletion is eventually consistent.
10351035
@@ -1392,7 +1392,7 @@ func (r GetAtlasSearchDeploymentApiRequest) Execute() (*ApiSearchDeploymentRespo
13921392
}
13931393

13941394
/*
1395-
GetAtlasSearchDeployment Return Search Nodes
1395+
GetAtlasSearchDeployment Return All Search Nodes
13961396
13971397
Returns the Search Nodes for the specified cluster. Deprecated versions: v2-{2024-05-30}, v2-{2023-01-01}
13981398
@@ -2480,7 +2480,7 @@ func (r UpdateAtlasSearchIndexApiRequest) Execute() (*SearchIndexResponse, *http
24802480
}
24812481

24822482
/*
2483-
UpdateAtlasSearchIndex Update One Atlas Search Index By ID
2483+
UpdateAtlasSearchIndex Update One Atlas Search Index by ID
24842484
24852485
Updates one Atlas Search index that you identified with its unique ID. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role.
24862486
@@ -2627,7 +2627,7 @@ func (r UpdateAtlasSearchIndexByNameApiRequest) Execute() (*SearchIndexResponse,
26272627
}
26282628

26292629
/*
2630-
UpdateAtlasSearchIndexByName Update One Atlas Search Index By Name
2630+
UpdateAtlasSearchIndexByName Update One Atlas Search Index by Name
26312631
26322632
Updates one Atlas Search index that you identified with its database, collection name, and index name. Atlas Search indexes define the fields on which to create the index and the analyzers to use when creating the index. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role.
26332633

0 commit comments

Comments
 (0)