Skip to content

Commit 5f16a71

Browse files
wtrockigithub-actions[bot]
authored andcommitted
temp: client update
1 parent b639792 commit 5f16a71

File tree

103 files changed

+2908
-679
lines changed

Some content is hidden

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

103 files changed

+2908
-679
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/v20250312001/admin:
9+
github.com/mongodb/atlas-sdk-go/admin:
1010
config:
1111
include-regex: ".*Api"

admin/api_cloud_backups.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type CloudBackupsApi interface {
6363
CreateBackupExportExecute(r CreateBackupExportApiRequest) (*DiskBackupExportJob, *http.Response, error)
6464

6565
/*
66-
CreateBackupRestoreJob Restore One Snapshot of One Cluster
66+
CreateBackupRestoreJob Create One Restore Job of One Cluster
6767
6868
Restores one snapshot of one cluster from the specified project. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of **queued** or **inProgress** exists, before taking another snapshot, wait until Atlas completes completes processing the previously taken on-demand snapshot.
6969
@@ -77,7 +77,7 @@ type CloudBackupsApi interface {
7777
*/
7878
CreateBackupRestoreJob(ctx context.Context, groupId string, clusterName string, diskBackupSnapshotRestoreJob *DiskBackupSnapshotRestoreJob) CreateBackupRestoreJobApiRequest
7979
/*
80-
CreateBackupRestoreJob Restore One Snapshot of One Cluster
80+
CreateBackupRestoreJob Create One Restore Job of One Cluster
8181
8282
8383
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -114,7 +114,7 @@ type CloudBackupsApi interface {
114114
CreateExportBucketExecute(r CreateExportBucketApiRequest) (*DiskBackupSnapshotExportBucketResponse, *http.Response, error)
115115

116116
/*
117-
CreateServerlessRestoreJob Restore One Snapshot of One Serverless Instance
117+
CreateServerlessRestoreJob Create One Restore Job for One Serverless Instance
118118
119119
Restores one snapshot of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.
120120
@@ -128,7 +128,7 @@ type CloudBackupsApi interface {
128128
*/
129129
CreateServerlessRestoreJob(ctx context.Context, groupId string, clusterName string, serverlessBackupRestoreJob *ServerlessBackupRestoreJob) CreateServerlessRestoreJobApiRequest
130130
/*
131-
CreateServerlessRestoreJob Restore One Snapshot of One Serverless Instance
131+
CreateServerlessRestoreJob Create One Restore Job for One Serverless Instance
132132
133133
134134
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -1039,7 +1039,7 @@ func (r CreateBackupRestoreJobApiRequest) Execute() (*DiskBackupSnapshotRestoreJ
10391039
}
10401040

10411041
/*
1042-
CreateBackupRestoreJob Restore One Snapshot of One Cluster
1042+
CreateBackupRestoreJob Create One Restore Job of One Cluster
10431043
10441044
Restores one snapshot of one cluster from the specified project. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of **queued** or **inProgress** exists, before taking another snapshot, wait until Atlas completes completes processing the previously taken on-demand snapshot.
10451045
@@ -1296,7 +1296,7 @@ func (r CreateServerlessRestoreJobApiRequest) Execute() (*ServerlessBackupRestor
12961296
}
12971297

12981298
/*
1299-
CreateServerlessRestoreJob Restore One Snapshot of One Serverless Instance
1299+
CreateServerlessRestoreJob Create One Restore Job for One Serverless Instance
13001300
13011301
Restores one snapshot of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.
13021302

admin/api_cloud_migration_service.go

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

1515
/*
16-
CreateGroupLiveMigration Migrate One Local Managed Cluster to MongoDB Atlas
16+
CreateGroupLiveMigration Create One Migration for One Local Managed Cluster to MongoDB Atlas
1717
1818
Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas.
1919
@@ -30,7 +30,7 @@ type CloudMigrationServiceApi interface {
3030
*/
3131
CreateGroupLiveMigration(ctx context.Context, groupId string, liveMigrationRequest20240530 *LiveMigrationRequest20240530) CreateGroupLiveMigrationApiRequest
3232
/*
33-
CreateGroupLiveMigration Migrate One Local Managed Cluster to MongoDB Atlas
33+
CreateGroupLiveMigration Create One Migration for One Local Managed Cluster to MongoDB Atlas
3434
3535
3636
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -238,7 +238,7 @@ func (r CreateGroupLiveMigrationApiRequest) Execute() (*LiveMigrationResponse, *
238238
}
239239

240240
/*
241-
CreateGroupLiveMigration Migrate One Local Managed Cluster to MongoDB Atlas
241+
CreateGroupLiveMigration Create One Migration for One Local Managed Cluster to MongoDB Atlas
242242
243243
Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas.
244244

admin/api_collection_level_metrics.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
type CollectionLevelMetricsApi interface {
1616

1717
/*
18-
GetClusterNamespaces Return Ranked Namespaces from a Cluster
18+
GetClusterNamespaces Return Ranked Namespaces from One Cluster
1919
2020
Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window.
2121
@@ -27,7 +27,7 @@ type CollectionLevelMetricsApi interface {
2727
*/
2828
GetClusterNamespaces(ctx context.Context, groupId string, clusterName string, clusterView string) GetClusterNamespacesApiRequest
2929
/*
30-
GetClusterNamespaces Return Ranked Namespaces from a Cluster
30+
GetClusterNamespaces Return Ranked Namespaces from One Cluster
3131
3232
3333
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -40,7 +40,7 @@ type CollectionLevelMetricsApi interface {
4040
GetClusterNamespacesExecute(r GetClusterNamespacesApiRequest) (*CollStatsRankedNamespaces, *http.Response, error)
4141

4242
/*
43-
GetProcessNamespaces Return Ranked Namespaces from a Host
43+
GetProcessNamespaces Return Ranked Namespaces from One Host
4444
4545
Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window.
4646
@@ -51,7 +51,7 @@ type CollectionLevelMetricsApi interface {
5151
*/
5252
GetProcessNamespaces(ctx context.Context, groupId string, processId string) GetProcessNamespacesApiRequest
5353
/*
54-
GetProcessNamespaces Return Ranked Namespaces from a Host
54+
GetProcessNamespaces Return Ranked Namespaces from One Host
5555
5656
5757
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -91,7 +91,7 @@ type CollectionLevelMetricsApi interface {
9191
ListCollStatMeasurementsExecute(r ListCollStatMeasurementsApiRequest) (*MeasurementsCollStatsLatencyCluster, *http.Response, error)
9292

9393
/*
94-
ListCollStatMetrics Return all metric names
94+
ListCollStatMetrics Return All Metric Names
9595
9696
Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request.
9797
@@ -101,7 +101,7 @@ type CollectionLevelMetricsApi interface {
101101
*/
102102
ListCollStatMetrics(ctx context.Context, groupId string) ListCollStatMetricsApiRequest
103103
/*
104-
ListCollStatMetrics Return all metric names
104+
ListCollStatMetrics Return All Metric Names
105105
106106
107107
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -189,7 +189,7 @@ type CollectionLevelMetricsApi interface {
189189
PinNamespacesExecute(r PinNamespacesApiRequest) (*PinnedNamespaces, *http.Response, error)
190190

191191
/*
192-
UnpinNamespaces Unpin namespaces
192+
UnpinNamespaces Unpin Namespaces
193193
194194
Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster.
195195
@@ -201,7 +201,7 @@ type CollectionLevelMetricsApi interface {
201201
*/
202202
UnpinNamespaces(ctx context.Context, groupId string, clusterName string, namespacesRequest *NamespacesRequest) UnpinNamespacesApiRequest
203203
/*
204-
UnpinNamespaces Unpin namespaces
204+
UnpinNamespaces Unpin Namespaces
205205
206206
207207
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -298,7 +298,7 @@ func (r GetClusterNamespacesApiRequest) Execute() (*CollStatsRankedNamespaces, *
298298
}
299299

300300
/*
301-
GetClusterNamespaces Return Ranked Namespaces from a Cluster
301+
GetClusterNamespaces Return Ranked Namespaces from One Cluster
302302
303303
Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window.
304304
@@ -463,7 +463,7 @@ func (r GetProcessNamespacesApiRequest) Execute() (*CollStatsRankedNamespaces, *
463463
}
464464

465465
/*
466-
GetProcessNamespaces Return Ranked Namespaces from a Host
466+
GetProcessNamespaces Return Ranked Namespaces from One Host
467467
468468
Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window.
469469
@@ -794,7 +794,7 @@ func (r ListCollStatMetricsApiRequest) Execute() (*http.Response, error) {
794794
}
795795

796796
/*
797-
ListCollStatMetrics Return all metric names
797+
ListCollStatMetrics Return All Metric Names
798798
799799
Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request.
800800
@@ -1345,7 +1345,7 @@ func (r UnpinNamespacesApiRequest) Execute() (*PinnedNamespaces, *http.Response,
13451345
}
13461346

13471347
/*
1348-
UnpinNamespaces Unpin namespaces
1348+
UnpinNamespaces Unpin Namespaces
13491349
13501350
Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster.
13511351

0 commit comments

Comments
 (0)