Skip to content

Commit 6b51a00

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 19e1fbc of spec repo
1 parent 2a50787 commit 6b51a00

File tree

46 files changed

+154
-151
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

+154
-151
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 79 additions & 76 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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+
# 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).
3737
#
3838
# @param body [CreateTableRequest]
3939
# @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: 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 `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

2727
# The ID of the reference table.

lib/datadog_api_client/v2/models/create_table_request_data_attributes.rb

Lines changed: 3 additions & 3 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

2424
# The description of the 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.

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: 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 `CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail` object.
20+
# The definition of the AWS access details object.
2121
class CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail
2222
include BaseGenericModel
2323

0 commit comments

Comments
 (0)