Skip to content

Commit 275e9a2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4f1bc68 of spec repo
1 parent cb28bb6 commit 275e9a2

File tree

46 files changed

+238
-225
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

+238
-225
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 123 additions & 114 deletions
Large diffs are not rendered by default.

src/datadog_api_client/v2/api/reference_tables_api.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,11 @@ def create_reference_table(
233233
) -> TableResultV2:
234234
"""Create reference table.
235235
236-
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).
236+
Creates a reference table. You can provide data in two ways:
237+
1) Call POST /api/v2/reference-tables/upload to get an upload ID. Then PUT the CSV data
238+
(not the file itself) in chunks to each URL in the request body. Finally, call this
239+
POST endpoint with ``upload_id`` in ``file_metadata``.
240+
2) Provide ``access_details`` in ``file_metadata`` pointing to a CSV file in cloud storage.
237241
238242
:type body: CreateTableRequest
239243
:rtype: TableResultV2

src/datadog_api_client/v2/model/create_table_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def openapi_types(_):
3232

3333
def __init__(self_, data: Union[CreateTableRequestData, UnsetType] = unset, **kwargs):
3434
"""
35-
The definition of ``CreateTableRequest`` object.
35+
The definition of the reference table request object.
3636
37-
:param data: The definition of ``CreateTableRequestData`` object.
37+
:param data: The definition of the reference table request data object.
3838
:type data: CreateTableRequestData, optional
3939
"""
4040
if data is not unset:

src/datadog_api_client/v2/model/create_table_request_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ def __init__(
4444
**kwargs,
4545
):
4646
"""
47-
The definition of ``CreateTableRequestData`` object.
47+
The definition of the reference table request data object.
4848
49-
:param attributes: The definition of ``CreateTableRequestDataAttributes`` object.
49+
:param attributes: The definition of the reference table attributes object.
5050
:type attributes: CreateTableRequestDataAttributes, optional
5151
52-
:param id: The ID of the reference table.
52+
:param id: Unique identifier for the reference table.
5353
:type id: str, optional
5454
5555
:param type: Reference table resource type.

src/datadog_api_client/v2/model/create_table_request_data_attributes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ def __init__(
7474
**kwargs,
7575
):
7676
"""
77-
The definition of ``CreateTableRequestDataAttributes`` object.
77+
The definition of the reference table attributes object.
7878
79-
:param description: The description of the reference table.
79+
:param description: Optional text describing the purpose or contents of this reference table.
8080
:type description: str, optional
8181
82-
:param file_metadata: The definition of ``CreateTableRequestDataAttributesFileMetadata`` object.
82+
:param file_metadata: The definition of the file metadata object.
8383
:type file_metadata: CreateTableRequestDataAttributesFileMetadata, optional
8484
85-
:param schema: The definition of ``CreateTableRequestDataAttributesSchema`` object.
85+
:param schema: The definition of the schema object.
8686
:type schema: CreateTableRequestDataAttributesSchema
8787
8888
:param source: The source type for creating reference table data. Only these source types can be created through this API.
@@ -91,7 +91,7 @@ def __init__(
9191
:param table_name: The name of the reference table.
9292
:type table_name: str
9393
94-
:param tags: The tags of the reference table.
94+
:param tags: Tags for organizing and filtering reference tables.
9595
:type tags: [str], optional
9696
"""
9797
if description is not unset:

src/datadog_api_client/v2/model/create_table_request_data_attributes_file_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
class CreateTableRequestDataAttributesFileMetadata(ModelComposed):
1414
def __init__(self, **kwargs):
1515
"""
16-
The definition of ``CreateTableRequestDataAttributesFileMetadata`` object.
16+
The definition of the file metadata object.
1717
18-
:param access_details: The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails` object.
18+
:param access_details: The definition of the access details object.
1919
:type access_details: CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails
2020
2121
:param sync_enabled: Whether this table is synced automatically.

src/datadog_api_client/v2/model/create_table_request_data_attributes_file_metadata_cloud_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(
4747
"""
4848
Cloud storage file metadata for create requests. Both access_details and sync_enabled are required.
4949
50-
:param access_details: The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails`` object.
50+
:param access_details: The definition of the access details object.
5151
:type access_details: CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails
5252
5353
:param sync_enabled: Whether this table is synced automatically.

src/datadog_api_client/v2/model/create_table_request_data_attributes_file_metadata_one_of_access_details.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ def __init__(
6060
**kwargs,
6161
):
6262
"""
63-
The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails`` object.
63+
The definition of the access details object.
6464
65-
:param aws_detail: The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail`` object.
65+
:param aws_detail: The definition of the AWS access details object.
6666
:type aws_detail: CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail, optional
6767
68-
:param azure_detail: The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail`` object.
68+
:param azure_detail: The definition of the Azure access details object.
6969
:type azure_detail: CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail, optional
7070
71-
:param gcp_detail: The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail`` object.
71+
:param gcp_detail: The definition of the GCP access details object.
7272
:type gcp_detail: CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail, optional
7373
"""
7474
if aws_detail is not unset:

src/datadog_api_client/v2/model/create_table_request_data_attributes_file_metadata_one_of_access_details_aws_detail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ def openapi_types(_):
2727

2828
def __init__(self_, aws_account_id: str, aws_bucket_name: str, file_path: str, **kwargs):
2929
"""
30-
The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail`` object.
30+
The definition of the AWS access details object.
3131
3232
:param aws_account_id: The ID of the AWS account.
3333
:type aws_account_id: str
3434
35-
:param aws_bucket_name: The name of the Amazon S3 bucket.
35+
:param aws_bucket_name: S3 bucket containing the CSV file.
3636
:type aws_bucket_name: str
3737
3838
:param file_path: The relative file path from the S3 bucket root to the CSV file.

src/datadog_api_client/v2/model/create_table_request_data_attributes_file_metadata_one_of_access_details_azure_detail.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ def __init__(
3939
**kwargs,
4040
):
4141
"""
42-
The definition of ``CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail`` object.
42+
The definition of the Azure access details object.
4343
4444
:param azure_client_id: The Azure client ID.
4545
:type azure_client_id: str
4646
47-
:param azure_container_name: The name of the Azure container.
47+
:param azure_container_name: Azure Blob Storage container containing the CSV file.
4848
:type azure_container_name: str
4949
50-
:param azure_storage_account_name: The name of the Azure storage account.
50+
:param azure_storage_account_name: Azure storage account where the container is located.
5151
:type azure_storage_account_name: str
5252
5353
:param azure_tenant_id: The ID of the Azure tenant.

0 commit comments

Comments
 (0)