Skip to content

Commit a8104df

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

File tree

46 files changed

+235
-222
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

+235
-222
lines changed

.generator/schemas/v2/openapi.yaml

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

features/v2/reference_tables.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Feature: Reference Tables
2424
@generated @skip @team:DataDog/redapl-experiences
2525
Scenario: Create reference table upload returns "Bad Request" response
2626
Given new "CreateReferenceTableUpload" request
27-
And body with value {"data": {"attributes": {"headers": [""], "part_count": 3, "part_size": 10000000, "table_name": ""}, "type": "upload"}}
27+
And body with value {"data": {"attributes": {"headers": ["field_1", "field_2"], "part_count": 3, "part_size": 10000000, "table_name": ""}, "type": "upload"}}
2828
When the request is sent
2929
Then the response status is 400 Bad Request
3030

lib/datadog_api_client/v2/api/reference_tables_api.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ def create_reference_table(body, opts = {})
3333

3434
# Create reference table.
3535
#
36-
# 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).
36+
# Creates a reference table. You can provide data in two ways:
37+
# 1) Call POST /api/v2/reference-tables/upload to get an upload ID. Then PUT the CSV data
38+
# (not the file itself) in chunks to each URL in the request body. Finally, call this
39+
# POST endpoint with `upload_id` in `file_metadata`.
40+
# 2) Provide `access_details` in `file_metadata` pointing to a CSV file in cloud storage.
3741
#
3842
# @param body [CreateTableRequest]
3943
# @param opts [Hash] the optional parameters

lib/datadog_api_client/v2/models/create_table_request.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `CreateTableRequest` object.
20+
# The definition of the reference table request object.
2121
class CreateTableRequest
2222
include BaseGenericModel
2323

24-
# The definition of `CreateTableRequestData` object.
24+
# The definition of the reference table request data object.
2525
attr_accessor :data
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/create_table_request_data.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `CreateTableRequestData` object.
20+
# The definition of the reference table request data object.
2121
class CreateTableRequestData
2222
include BaseGenericModel
2323

24-
# The definition of `CreateTableRequestDataAttributes` object.
24+
# The definition of the reference table attributes object.
2525
attr_accessor :attributes
2626

27-
# The ID of the reference table.
27+
# Unique identifier for the reference table.
2828
attr_accessor :id
2929

3030
# Reference table resource type.

lib/datadog_api_client/v2/models/create_table_request_data_attributes.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `CreateTableRequestDataAttributes` object.
20+
# The definition of the reference table attributes object.
2121
class CreateTableRequestDataAttributes
2222
include BaseGenericModel
2323

24-
# The description of the reference table.
24+
# Optional text describing the purpose or contents of this reference table.
2525
attr_accessor :description
2626

27-
# The definition of `CreateTableRequestDataAttributesFileMetadata` object.
27+
# The definition of the file metadata object.
2828
attr_accessor :file_metadata
2929

30-
# The definition of `CreateTableRequestDataAttributesSchema` object.
30+
# The definition of the schema object.
3131
attr_reader :schema
3232

3333
# The source type for creating reference table data. Only these source types can be created through this API.
@@ -36,7 +36,7 @@ class CreateTableRequestDataAttributes
3636
# The name of the reference table.
3737
attr_reader :table_name
3838

39-
# The tags of the reference table.
39+
# Tags for organizing and filtering reference tables.
4040
attr_accessor :tags
4141

4242
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `CreateTableRequestDataAttributesFileMetadata` object.
20+
# The definition of the file metadata object.
2121
module CreateTableRequestDataAttributesFileMetadata
2222
class << self
2323
include BaseOneOfModel

lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_cloud_storage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class CreateTableRequestDataAttributesFileMetadataCloudStorage
2222
include BaseGenericModel
2323

24-
# The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails` object.
24+
# The definition of the access details object.
2525
attr_reader :access_details
2626

2727
# Whether this table is synced automatically.

lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_one_of_access_details.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails` object.
20+
# The definition of the access details object.
2121
class CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails
2222
include BaseGenericModel
2323

24-
# The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail` object.
24+
# The definition of the AWS access details object.
2525
attr_accessor :aws_detail
2626

27-
# The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail` object.
27+
# The definition of the Azure access details object.
2828
attr_accessor :azure_detail
2929

30-
# The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail` object.
30+
# The definition of the GCP access details object.
3131
attr_accessor :gcp_detail
3232

3333
attr_accessor :additional_properties

lib/datadog_api_client/v2/models/create_table_request_data_attributes_file_metadata_one_of_access_details_aws_detail.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The definition of `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail` object.
20+
# The definition of the AWS access details object.
2121
class CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail
2222
include BaseGenericModel
2323

2424
# The ID of the AWS account.
2525
attr_reader :aws_account_id
2626

27-
# The name of the Amazon S3 bucket.
27+
# S3 bucket containing the CSV file.
2828
attr_reader :aws_bucket_name
2929

3030
# The relative file path from the S3 bucket root to the CSV file.

0 commit comments

Comments
 (0)