diff --git a/examples/v2/security-monitoring/CancelHistoricalJob.go b/examples/v2/security-monitoring/CancelHistoricalJob.go index 7b4f2aab3a7..b1c51df4a8b 100644 --- a/examples/v2/security-monitoring/CancelHistoricalJob.go +++ b/examples/v2/security-monitoring/CancelHistoricalJob.go @@ -17,8 +17,8 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() - configuration.SetUnstableOperationEnabled("v2.CancelHistoricalJob", true) configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) + configuration.SetUnstableOperationEnabled("v2.CancelHistoricalJob", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) r, err := api.CancelHistoricalJob(ctx, HistoricalJobDataID) diff --git a/examples/v2/security-monitoring/GetHistoricalJob.go b/examples/v2/security-monitoring/GetHistoricalJob.go index f04254617a6..8f161e2a0b3 100644 --- a/examples/v2/security-monitoring/GetHistoricalJob.go +++ b/examples/v2/security-monitoring/GetHistoricalJob.go @@ -18,8 +18,8 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() - configuration.SetUnstableOperationEnabled("v2.GetHistoricalJob", true) configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) + configuration.SetUnstableOperationEnabled("v2.GetHistoricalJob", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) resp, r, err := api.GetHistoricalJob(ctx, HistoricalJobDataID) diff --git a/examples/v2/security-monitoring/ListHistoricalJobs.go b/examples/v2/security-monitoring/ListHistoricalJobs.go index a0406a22ada..c7732ad0231 100644 --- a/examples/v2/security-monitoring/ListHistoricalJobs.go +++ b/examples/v2/security-monitoring/ListHistoricalJobs.go @@ -17,8 +17,8 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() - configuration.SetUnstableOperationEnabled("v2.ListHistoricalJobs", true) configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) + configuration.SetUnstableOperationEnabled("v2.ListHistoricalJobs", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) resp, r, err := api.ListHistoricalJobs(ctx, *datadogV2.NewListHistoricalJobsOptionalParameters().WithFilterQuery("id:string"))