Skip to content

Commit 058c7d8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 19e1fbc of spec repo
1 parent fbda3de commit 058c7d8

File tree

46 files changed

+155
-152
lines changed

Some content is hidden

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

46 files changed

+155
-152
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 79 additions & 76 deletions
Large diffs are not rendered by default.

src/datadogV2/api/api_reference_tables.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl ReferenceTablesAPI {
182182
Self { config, client }
183183
}
184184

185-
/// Create a new reference table. You can provide data in two ways: 1) Call POST api/v2/reference-tables/upload first to get an upload ID, then PUT chunks of CSV data to each provided URL, and finally call this POST endpoint with the upload_id in file_metadata, OR 2) Provide access_details in file_metadata pointing to a CSV file in cloud storage (Amazon S3, Azure Blob Storage, or GCP Cloud Storage).
185+
/// Create a new reference table. You can provide data in two ways: 1) Call POST api/v2/reference-tables/upload first to get an upload ID, then PUT the CSV data content (not the file itself) in chunks to each provided URL in the request body, and finally call this POST endpoint with the upload_id in file_metadata, OR 2) Provide access_details in file_metadata pointing to a CSV file in cloud storage (Amazon S3, Azure Blob Storage, or GCP Cloud Storage).
186186
pub async fn create_reference_table(
187187
&self,
188188
body: crate::datadogV2::model::CreateTableRequest,
@@ -202,7 +202,7 @@ impl ReferenceTablesAPI {
202202
}
203203
}
204204

205-
/// Create a new reference table. You can provide data in two ways: 1) Call POST api/v2/reference-tables/upload first to get an upload ID, then PUT chunks of CSV data to each provided URL, and finally call this POST endpoint with the upload_id in file_metadata, OR 2) Provide access_details in file_metadata pointing to a CSV file in cloud storage (Amazon S3, Azure Blob Storage, or GCP Cloud Storage).
205+
/// Create a new reference table. You can provide data in two ways: 1) Call POST api/v2/reference-tables/upload first to get an upload ID, then PUT the CSV data content (not the file itself) in chunks to each provided URL in the request body, and finally call this POST endpoint with the upload_id in file_metadata, OR 2) Provide access_details in file_metadata pointing to a CSV file in cloud storage (Amazon S3, Azure Blob Storage, or GCP Cloud Storage).
206206
pub async fn create_reference_table_with_http_info(
207207
&self,
208208
body: crate::datadogV2::model::CreateTableRequest,

src/datadogV2/model/model_create_table_request.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// The definition of `CreateTableRequest` object.
9+
/// The definition of the reference table request object.
1010
#[non_exhaustive]
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]
1313
pub struct CreateTableRequest {
14-
/// The definition of `CreateTableRequestData` object.
14+
/// The definition of the reference table request data object.
1515
#[serde(rename = "data")]
1616
pub data: Option<crate::datadogV2::model::CreateTableRequestData>,
1717
#[serde(flatten)]

src/datadogV2/model/model_create_table_request_data.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// The definition of `CreateTableRequestData` object.
9+
/// The definition of the reference table request data object.
1010
#[non_exhaustive]
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]
1313
pub struct CreateTableRequestData {
14-
/// The definition of `CreateTableRequestDataAttributes` object.
14+
/// The definition of the reference table attributes object.
1515
#[serde(rename = "attributes")]
1616
pub attributes: Option<crate::datadogV2::model::CreateTableRequestDataAttributes>,
1717
/// The ID of the reference table.

src/datadogV2/model/model_create_table_request_data_attributes.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// The definition of `CreateTableRequestDataAttributes` object.
9+
/// The definition of the reference table attributes object.
1010
#[non_exhaustive]
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]
1313
pub struct CreateTableRequestDataAttributes {
1414
/// The description of the reference table.
1515
#[serde(rename = "description")]
1616
pub description: Option<String>,
17-
/// The definition of `CreateTableRequestDataAttributesFileMetadata` object.
17+
/// The definition of the file metadata object.
1818
#[serde(rename = "file_metadata")]
1919
pub file_metadata:
2020
Option<crate::datadogV2::model::CreateTableRequestDataAttributesFileMetadata>,
21-
/// The definition of `CreateTableRequestDataAttributesSchema` object.
21+
/// The definition of the schema object.
2222
#[serde(rename = "schema")]
2323
pub schema: crate::datadogV2::model::CreateTableRequestDataAttributesSchema,
2424
/// The source type for creating reference table data. Only these source types can be created through this API.

src/datadogV2/model/model_create_table_request_data_attributes_file_metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Copyright 2019-Present Datadog, Inc.
44
use serde::{Deserialize, Deserializer, Serialize};
55

6-
/// The definition of `CreateTableRequestDataAttributesFileMetadata` object.
6+
/// The definition of the file metadata object.
77
#[non_exhaustive]
88
#[derive(Clone, Debug, PartialEq, Serialize)]
99
#[serde(untagged)]

src/datadogV2/model/model_create_table_request_data_attributes_file_metadata_cloud_storage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::fmt::{self, Formatter};
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]
1313
pub struct CreateTableRequestDataAttributesFileMetadataCloudStorage {
14-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails` object.
14+
/// The definition of the access details object.
1515
#[serde(rename = "access_details")]
1616
pub access_details:
1717
crate::datadogV2::model::CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails,

src/datadogV2/model/model_create_table_request_data_attributes_file_metadata_one_of_access_details.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails` object.
9+
/// The definition of the access details object.
1010
#[non_exhaustive]
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]
1313
pub struct CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails {
14-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail` object.
14+
/// The definition of the AWS access details object.
1515
#[serde(rename = "aws_detail")]
1616
pub aws_detail: Option<crate::datadogV2::model::CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail>,
17-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail` object.
17+
/// The definition of the Azure access details object.
1818
#[serde(rename = "azure_detail")]
1919
pub azure_detail: Option<crate::datadogV2::model::CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail>,
20-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail` object.
20+
/// The definition of the GCP access details object.
2121
#[serde(rename = "gcp_detail")]
2222
pub gcp_detail: Option<crate::datadogV2::model::CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail>,
2323
#[serde(flatten)]

src/datadogV2/model/model_create_table_request_data_attributes_file_metadata_one_of_access_details_aws_detail.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail` object.
9+
/// The definition of the AWS access details object.
1010
#[non_exhaustive]
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]

src/datadogV2/model/model_create_table_request_data_attributes_file_metadata_one_of_access_details_azure_detail.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use serde::{Deserialize, Deserializer, Serialize};
66
use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

9-
/// The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail` object.
9+
/// The definition of the Azure access details object.
1010
#[non_exhaustive]
1111
#[skip_serializing_none]
1212
#[derive(Clone, Debug, PartialEq, Serialize)]

0 commit comments

Comments
 (0)