Skip to content

Commit 7e76dcf

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 66e9e31 of spec repo
1 parent 58dc88d commit 7e76dcf

10 files changed

Lines changed: 20 additions & 123 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7474,6 +7474,7 @@ components:
74747474
description: The request body for deleting multiple rows from a reference table.
74757475
properties:
74767476
data:
7477+
description: List of row resources to delete from the reference table.
74777478
items:
74787479
$ref: '#/components/schemas/BatchDeleteRowsRequestData'
74797480
maxItems: 200
@@ -7485,6 +7486,7 @@ components:
74857486
description: Row resource containing a single row identifier for deletion.
74867487
properties:
74877488
id:
7489+
description: The primary key value that uniquely identifies the row to delete.
74887490
example: primary_key_value
74897491
type: string
74907492
type:
@@ -7498,6 +7500,8 @@ components:
74987500
reference table.
74997501
properties:
75007502
data:
7503+
description: List of row resources to create or update in the reference
7504+
table.
75017505
items:
75027506
$ref: '#/components/schemas/BatchUpsertRowsRequestData'
75037507
maxItems: 200
@@ -7512,6 +7516,8 @@ components:
75127516
attributes:
75137517
$ref: '#/components/schemas/BatchUpsertRowsRequestDataAttributes'
75147518
id:
7519+
description: The primary key value that uniquely identifies the row to create
7520+
or update.
75157521
example: primary_key_value
75167522
type: string
75177523
type:
@@ -16064,6 +16070,7 @@ components:
1606416070
- tag_1
1606516071
- tag_2
1606616072
items:
16073+
description: A tag associated with the reference table.
1606716074
type: string
1606816075
type: array
1606916076
required:
@@ -16215,6 +16222,7 @@ components:
1621516222
example:
1621616223
- field_1
1621716224
items:
16225+
description: A field name used as a primary key.
1621816226
type: string
1621916227
type: array
1622016228
required:
@@ -16463,6 +16471,7 @@ components:
1646316471
- field_1
1646416472
- field_2
1646516473
items:
16474+
description: A column header name from the CSV file.
1646616475
type: string
1646716476
type: array
1646816477
part_count:
@@ -16525,6 +16534,7 @@ components:
1652516534
description: The pre-signed URLs for uploading parts. These URLs expire
1652616535
after 5 minutes.
1652716536
items:
16537+
description: A pre-signed URL for uploading a single file part.
1652816538
type: string
1652916539
type: array
1653016540
type: object
@@ -44821,7 +44831,7 @@ components:
4482144831
Protocol (OTLP) over gRPC and HTTP.
4482244832

4482344833

44824-
**Supported pipeline types:** logs, metrics'
44834+
**Supported pipeline types:** logs'
4482544835
properties:
4482644836
grpc_address_key:
4482744837
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44861,6 @@ components:
4485144861
type: object
4485244862
x-pipeline-types:
4485344863
- logs
44854-
- metrics
4485544864
ObservabilityPipelineOpentelemetrySourceType:
4485644865
default: opentelemetry
4485744866
description: The source type. The value should always be `opentelemetry`.
@@ -48910,6 +48919,7 @@ components:
4891048919
- tag_1
4891148920
- tag_2
4891248921
items:
48922+
description: A tag associated with the reference table.
4891348923
type: string
4891448924
type: array
4891548925
type: object
@@ -49040,6 +49050,7 @@ components:
4904049050
example:
4904149051
- field_1
4904249052
items:
49053+
description: A field name used as a primary key.
4904349054
type: string
4904449055
type: array
4904549056
required:
@@ -66704,6 +66715,7 @@ components:
6670466715
- tag_1
6670566716
- tag_2
6670666717
items:
66718+
description: A tag associated with the reference table.
6670766719
type: string
6670866720
type: array
6670966721
updated_at:
@@ -66862,6 +66874,7 @@ components:
6686266874
example:
6686366875
- field_1
6686466876
items:
66877+
description: A field name used as a primary key.
6686566878
type: string
6686666879
type: array
6686766880
required:

examples/v2/observability-pipelines/ValidatePipeline_884022323.py

Lines changed: 0 additions & 84 deletions
This file was deleted.

src/datadog_api_client/v2/model/batch_delete_rows_request_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self_, data: List[BatchDeleteRowsRequestData], **kwargs):
3838
"""
3939
The request body for deleting multiple rows from a reference table.
4040
41-
:param data:
41+
:param data: List of row resources to delete from the reference table.
4242
:type data: [BatchDeleteRowsRequestData]
4343
"""
4444
super().__init__(kwargs)

src/datadog_api_client/v2/model/batch_delete_rows_request_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self_, id: str, type: TableRowResourceDataType, **kwargs):
3434
"""
3535
Row resource containing a single row identifier for deletion.
3636
37-
:param id:
37+
:param id: The primary key value that uniquely identifies the row to delete.
3838
:type id: str
3939
4040
:param type: Row resource type.

src/datadog_api_client/v2/model/batch_upsert_rows_request_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self_, data: List[BatchUpsertRowsRequestData], **kwargs):
3838
"""
3939
The request body for creating or updating multiple rows into a reference table.
4040
41-
:param data:
41+
:param data: List of row resources to create or update in the reference table.
4242
:type data: [BatchUpsertRowsRequestData]
4343
"""
4444
super().__init__(kwargs)

src/datadog_api_client/v2/model/batch_upsert_rows_request_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(
5353
:param attributes: Attributes containing row data values for row creation or update operations.
5454
:type attributes: BatchUpsertRowsRequestDataAttributes, optional
5555
56-
:param id:
56+
:param id: The primary key value that uniquely identifies the row to create or update.
5757
:type id: str
5858
5959
:param type: Row resource type.

src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
"""
5757
The ``opentelemetry`` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP.
5858
59-
**Supported pipeline types:** logs, metrics
59+
**Supported pipeline types:** logs
6060
6161
:param grpc_address_key: Environment variable name containing the gRPC server address for receiving OTLP data. Must be a valid environment variable name (alphanumeric characters and underscores only).
6262
:type grpc_address_key: str, optional

tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/v2/features/observability_pipelines.feature

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ Feature: Observability Pipelines
149149
And the response "data.attributes.config.destinations" has length 1
150150
And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id"
151151

152-
@team:DataDog/observability-pipelines
153-
Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response
154-
Given new "ValidatePipeline" request
155-
And body with value {"data": {"attributes": {"config": {"pipeline_type": "metrics", "destinations": [{"id": "datadog-metrics-destination", "inputs": ["my-processor-group"], "type": "datadog_metrics"}], "processor_groups": [{"enabled": true, "id": "my-processor-group", "include": "*", "inputs": ["opentelemetry-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "env:production", "type": "filter"}]}], "sources": [{"id": "opentelemetry-source", "type": "opentelemetry"}]}, "name": "Metrics OTel Pipeline"}, "type": "pipelines"}}
156-
When the request is sent
157-
Then the response status is 200 OK
158-
And the response "errors" has length 0
159-
160152
@team:DataDog/observability-pipelines
161153
Scenario: Validate an observability pipeline returns "Bad Request" response
162154
Given new "ValidatePipeline" request

0 commit comments

Comments
 (0)