From 31e5b797fc7af891702ff63f46f727a932422234 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 11 Mar 2026 16:49:41 +0000 Subject: [PATCH] Regenerate client from commit a365c01 of spec repo --- .generator/schemas/v2/openapi.yaml | 190 +++++++++++++++++- .../ValidatePipeline_884022323.py | 84 -------- .../v2/model/create_connection_request.py | 4 +- .../model/create_connection_request_data.py | 6 +- ...eate_connection_request_data_attributes.py | 12 +- ...on_request_data_attributes_fields_items.py | 14 +- .../v2/model/facet_info_request.py | 4 +- .../v2/model/facet_info_request_data.py | 6 +- .../facet_info_request_data_attributes.py | 10 +- ...cet_info_request_data_attributes_search.py | 4 +- ...nfo_request_data_attributes_term_search.py | 4 +- .../v2/model/facet_info_response.py | 4 +- .../v2/model/facet_info_response_data.py | 6 +- .../facet_info_response_data_attributes.py | 4 +- ...et_info_response_data_attributes_result.py | 6 +- ...o_response_data_attributes_result_range.py | 6 +- ...nse_data_attributes_result_values_items.py | 6 +- .../v2/model/get_mapping_response.py | 4 +- .../v2/model/get_mapping_response_data.py | 6 +- .../get_mapping_response_data_attributes.py | 4 +- ...sponse_data_attributes_attributes_items.py | 14 +- .../v2/model/list_connections_response.py | 4 +- .../model/list_connections_response_data.py | 6 +- ...st_connections_response_data_attributes.py | 4 +- ...ponse_data_attributes_connections_items.py | 20 +- ..._data_attributes_connections_items_join.py | 6 +- ...rvability_pipeline_opentelemetry_source.py | 2 +- .../v2/model/query_account_request.py | 4 +- .../v2/model/query_account_request_data.py | 6 +- .../query_account_request_data_attributes.py | 12 +- ...ry_account_request_data_attributes_sort.py | 6 +- .../query_event_filtered_users_request.py | 4 +- ...query_event_filtered_users_request_data.py | 6 +- ..._filtered_users_request_data_attributes.py | 12 +- ...ers_request_data_attributes_event_query.py | 6 +- ..._data_attributes_event_query_time_frame.py | 6 +- .../v2/model/query_response.py | 4 +- .../v2/model/query_response_data.py | 6 +- .../model/query_response_data_attributes.py | 6 +- .../v2/model/query_users_request.py | 4 +- .../v2/model/query_users_request_data.py | 6 +- .../query_users_request_data_attributes.py | 12 +- ...uery_users_request_data_attributes_sort.py | 6 +- .../v2/model/update_connection_request.py | 4 +- .../model/update_connection_request_data.py | 6 +- ...date_connection_request_data_attributes.py | 8 +- ..._data_attributes_fields_to_update_items.py | 12 +- ...elemetry_source_returns_ok_response.frozen | 1 - ...ntelemetry_source_returns_ok_response.yaml | 23 --- .../features/observability_pipelines.feature | 8 - 50 files changed, 339 insertions(+), 269 deletions(-) delete mode 100644 examples/v2/observability-pipelines/ValidatePipeline_884022323.py delete mode 100644 tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen delete mode 100644 tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3bec741a12..d7e14e3421 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -14871,6 +14871,7 @@ components: - id type: object CreateConnectionRequest: + description: Request body for creating a new data source connection for an entity. example: data: attributes: @@ -14895,10 +14896,13 @@ components: $ref: '#/components/schemas/CreateConnectionRequestData' type: object CreateConnectionRequestData: + description: The data object containing the resource type and attributes for + creating a new connection. properties: attributes: $ref: '#/components/schemas/CreateConnectionRequestDataAttributes' id: + description: Unique identifier for the new connection resource. type: string type: $ref: '#/components/schemas/UpdateConnectionRequestDataType' @@ -14906,22 +14910,31 @@ components: - type type: object CreateConnectionRequestDataAttributes: + description: Attributes defining the data source connection, including join + configuration and custom fields. properties: fields: + description: List of custom attribute fields to import from the data source. items: $ref: '#/components/schemas/CreateConnectionRequestDataAttributesFieldsItems' type: array join_attribute: + description: The attribute in the data source used to join records with + the entity. example: '' type: string join_type: + description: The type of join key used to link the data source to the entity + (for example, email or user_id). example: '' type: string metadata: additionalProperties: type: string + description: Additional key-value metadata associated with the connection. type: object type: + description: The type of data source connection (for example, ref_table). example: '' type: string required: @@ -14930,22 +14943,32 @@ components: - type type: object CreateConnectionRequestDataAttributesFieldsItems: + description: Definition of a custom attribute field to import from a data source + connection. properties: description: + description: Human-readable explanation of what the field represents. type: string display_name: + description: The human-readable label for the field shown in the UI. type: string groups: + description: List of group labels used to categorize the field. items: + description: A group label name for categorizing the field. type: string type: array id: + description: The unique identifier for the field within the connection. example: '' type: string source_name: + description: The name of the column or attribute in the source data system + that maps to this field. example: '' type: string type: + description: The data type of the field (for example, string or number). example: '' type: string required: @@ -24550,6 +24573,8 @@ components: type: string type: object FacetInfoRequest: + description: Request body for retrieving facet value information for a specified + attribute with optional filtering. example: data: attributes: @@ -24566,10 +24591,13 @@ components: $ref: '#/components/schemas/FacetInfoRequestData' type: object FacetInfoRequestData: + description: The data object containing the resource type and attributes for + the facet info request. properties: attributes: $ref: '#/components/schemas/FacetInfoRequestDataAttributes' id: + description: Unique identifier for the facet info request resource. type: string type: $ref: '#/components/schemas/FacetInfoRequestDataType' @@ -24577,11 +24605,16 @@ components: - type type: object FacetInfoRequestDataAttributes: + description: Attributes for the facet info request, specifying which facet to + query and optional filters to apply. properties: facet_id: + description: The identifier of the facet attribute to retrieve value information + for. example: '' type: string limit: + description: Maximum number of facet values to return in the response. example: 0 format: int64 type: integer @@ -24594,13 +24627,20 @@ components: - limit type: object FacetInfoRequestDataAttributesSearch: + description: Query-based search configuration for filtering the audience context + when retrieving facet values. properties: query: + description: The filter expression used to scope the audience from which + facet values are retrieved. type: string type: object FacetInfoRequestDataAttributesTermSearch: + description: Term-level search configuration for filtering facet values by an + exact or partial term match. properties: value: + description: The term string to match against facet values. type: string type: object FacetInfoRequestDataType: @@ -24613,6 +24653,8 @@ components: x-enum-varnames: - USERS_FACET_INFO_REQUEST FacetInfoResponse: + description: Response containing facet information for an attribute, including + its distinct values and occurrence counts. example: data: attributes: @@ -24635,10 +24677,13 @@ components: $ref: '#/components/schemas/FacetInfoResponseData' type: object FacetInfoResponseData: + description: The data object containing the resource type and attributes for + the facet info response. properties: attributes: $ref: '#/components/schemas/FacetInfoResponseDataAttributes' id: + description: Unique identifier for the facet info response resource. type: string type: $ref: '#/components/schemas/FacetInfoResponseDataType' @@ -24646,32 +24691,44 @@ components: - type type: object FacetInfoResponseDataAttributes: + description: Attributes of the facet info response, containing the facet result + data. properties: result: $ref: '#/components/schemas/FacetInfoResponseDataAttributesResult' type: object FacetInfoResponseDataAttributesResult: + description: The facet query result containing discrete value counts or a numeric + range for the requested facet. properties: range: $ref: '#/components/schemas/FacetInfoResponseDataAttributesResultRange' values: + description: List of discrete facet values with their occurrence counts. items: $ref: '#/components/schemas/FacetInfoResponseDataAttributesResultValuesItems' type: array type: object FacetInfoResponseDataAttributesResultRange: + description: The numeric range of a facet attribute, representing the minimum + and maximum observed values. properties: max: + description: The maximum observed value for the numeric facet attribute. type: object min: + description: The minimum observed value for the numeric facet attribute. type: object type: object FacetInfoResponseDataAttributesResultValuesItems: + description: A single facet value with its occurrence count in the dataset. properties: count: + description: The number of records that have this facet value. format: int64 type: integer value: + description: The facet value (for example, a browser name or country code). type: string type: object FacetInfoResponseDataType: @@ -28240,6 +28297,8 @@ components: - CASE - TEAM_OWNERS GetMappingResponse: + description: Response containing the entity attribute mapping configuration + including all available attributes and their properties. example: data: attributes: @@ -28280,10 +28339,13 @@ components: $ref: '#/components/schemas/GetMappingResponseData' type: object GetMappingResponseData: + description: The data object containing the resource type and attributes for + the get mapping response. properties: attributes: $ref: '#/components/schemas/GetMappingResponseDataAttributes' id: + description: Unique identifier for the get mapping response resource. type: string type: $ref: '#/components/schemas/GetMappingResponseDataType' @@ -28291,27 +28353,40 @@ components: - type type: object GetMappingResponseDataAttributes: + description: Attributes of the get mapping response, containing the list of + configured entity attributes. properties: attributes: + description: The list of entity attributes and their mapping configurations. items: $ref: '#/components/schemas/GetMappingResponseDataAttributesAttributesItems' type: array type: object GetMappingResponseDataAttributesAttributesItems: + description: Details of a single entity attribute including its mapping configuration + and metadata. properties: attribute: + description: The attribute identifier as used in the entity data model. type: string description: + description: Human-readable explanation of what the attribute represents. type: string display_name: + description: The human-readable label for the attribute shown in the UI. type: string groups: + description: List of group labels used to categorize the attribute. items: + description: A group label name for categorizing the attribute. type: string type: array is_custom: + description: Whether this attribute is a custom user-defined attribute rather + than a built-in one. type: boolean type: + description: The data type of the attribute (for example, string or number). type: string type: object GetMappingResponseDataType: @@ -36473,6 +36548,8 @@ components: - data type: object ListConnectionsResponse: + description: Response containing the list of all data source connections configured + for an entity. example: data: attributes: @@ -36510,10 +36587,13 @@ components: $ref: '#/components/schemas/ListConnectionsResponseData' type: object ListConnectionsResponseData: + description: The data object containing the resource type and attributes for + the list connections response. properties: attributes: $ref: '#/components/schemas/ListConnectionsResponseDataAttributes' id: + description: Unique identifier for the list connections response resource. type: string type: $ref: '#/components/schemas/ListConnectionsResponseDataType' @@ -36521,44 +36601,62 @@ components: - type type: object ListConnectionsResponseDataAttributes: + description: Attributes of the list connections response, containing the collection + of data source connections. properties: connections: + description: The list of data source connections configured for the entity. items: $ref: '#/components/schemas/ListConnectionsResponseDataAttributesConnectionsItems' type: array type: object ListConnectionsResponseDataAttributesConnectionsItems: + description: Details of a single data source connection, including its fields, + join configuration, and audit metadata. properties: created_at: + description: Timestamp indicating when the connection was created. format: date-time type: string created_by: + description: Identifier of the user who created the connection. type: string fields: + description: List of custom attribute fields imported from the data source. items: $ref: '#/components/schemas/CreateConnectionRequestDataAttributesFieldsItems' type: array id: + description: Unique identifier of the connection. type: string join: $ref: '#/components/schemas/ListConnectionsResponseDataAttributesConnectionsItemsJoin' metadata: additionalProperties: type: string + description: Additional key-value metadata associated with the connection. type: object type: + description: The type of data source connection (for example, ref_table). type: string updated_at: + description: Timestamp indicating when the connection was last updated. format: date-time type: string updated_by: + description: Identifier of the user who last updated the connection. type: string type: object ListConnectionsResponseDataAttributesConnectionsItemsJoin: + description: The join configuration describing how the data source is linked + to the entity. properties: attribute: + description: The entity attribute used as the join key to link records from + the data source. type: string type: + description: The type of join key used (for example, email or user_id). type: string type: object ListConnectionsResponseDataType: @@ -44821,7 +44919,7 @@ components: Protocol (OTLP) over gRPC and HTTP. - **Supported pipeline types:** logs, metrics' + **Supported pipeline types:** logs' properties: grpc_address_key: description: Environment variable name containing the gRPC server address @@ -44851,7 +44949,6 @@ components: type: object x-pipeline-types: - logs - - metrics ObservabilityPipelineOpentelemetrySourceType: default: opentelemetry description: The source type. The value should always be `opentelemetry`. @@ -50771,6 +50868,8 @@ components: - $ref: '#/components/schemas/DataTransform' - $ref: '#/components/schemas/StateVariable' QueryAccountRequest: + description: Request body for querying accounts with optional filtering, column + selection, and sorting. example: data: attributes: @@ -50796,10 +50895,13 @@ components: $ref: '#/components/schemas/QueryAccountRequestData' type: object QueryAccountRequestData: + description: The data object containing the resource type and attributes for + querying accounts. properties: attributes: $ref: '#/components/schemas/QueryAccountRequestDataAttributes' id: + description: Unique identifier for the query account request resource. type: string type: $ref: '#/components/schemas/QueryAccountRequestDataType' @@ -50807,26 +50909,38 @@ components: - type type: object QueryAccountRequestDataAttributes: + description: Attributes for filtering and shaping the account query results. properties: limit: + description: Maximum number of account records to return in the response. format: int64 type: integer query: + description: Filter expression using account attribute conditions to narrow + results. type: string select_columns: + description: List of account attribute column names to include in the response. items: + description: Name of an account attribute column to include in the response. type: string type: array sort: $ref: '#/components/schemas/QueryAccountRequestDataAttributesSort' wildcard_search_term: + description: Free-text term used for wildcard search across account attribute + values. type: string type: object QueryAccountRequestDataAttributesSort: + description: Sorting configuration specifying the field and direction for ordering + query results. properties: field: + description: The attribute field name to sort results by. type: string order: + description: The sort direction, either ascending or descending. type: string type: object QueryAccountRequestDataType: @@ -50839,6 +50953,8 @@ components: x-enum-varnames: - QUERY_ACCOUNT_REQUEST QueryEventFilteredUsersRequest: + description: Request body for querying users filtered by user properties combined + with event platform activity. example: data: attributes: @@ -50866,10 +50982,14 @@ components: $ref: '#/components/schemas/QueryEventFilteredUsersRequestData' type: object QueryEventFilteredUsersRequestData: + description: The data object containing the resource type and attributes for + querying event-filtered users. properties: attributes: $ref: '#/components/schemas/QueryEventFilteredUsersRequestDataAttributes' id: + description: Unique identifier for the query event filtered users request + resource. type: string type: $ref: '#/components/schemas/QueryEventFilteredUsersRequestDataType' @@ -50877,34 +50997,51 @@ components: - type type: object QueryEventFilteredUsersRequestDataAttributes: + description: Attributes for filtering users by both user properties and event + platform activity. properties: event_query: $ref: '#/components/schemas/QueryEventFilteredUsersRequestDataAttributesEventQuery' include_row_count: + description: Whether to include the total count of matching users in the + response. type: boolean limit: + description: Maximum number of user records to return in the response. format: int64 type: integer query: + description: Filter expression using user attribute conditions to narrow + results. type: string select_columns: + description: List of user attribute column names to include in the response. items: + description: Name of a user attribute column to include in the response. type: string type: array type: object QueryEventFilteredUsersRequestDataAttributesEventQuery: + description: Event platform query used to filter users based on their event + activity within a specified time window. properties: query: + description: The event platform query expression for filtering users by + their event activity. type: string time_frame: $ref: '#/components/schemas/QueryEventFilteredUsersRequestDataAttributesEventQueryTimeFrame' type: object QueryEventFilteredUsersRequestDataAttributesEventQueryTimeFrame: + description: The time window defining the start and end of the event query period + as Unix timestamps. properties: end: + description: End of the time frame as a Unix timestamp in seconds. format: int64 type: integer start: + description: Start of the time frame as a Unix timestamp in seconds. format: int64 type: integer type: object @@ -50931,6 +51068,8 @@ components: - formula type: object QueryResponse: + description: Response containing the query results with matched records and + total count. example: data: attributes: @@ -50976,10 +51115,13 @@ components: $ref: '#/components/schemas/QueryResponseData' type: object QueryResponseData: + description: The data object containing the resource type and attributes of + the query response. properties: attributes: $ref: '#/components/schemas/QueryResponseDataAttributes' id: + description: Unique identifier for the query response resource. type: string type: $ref: '#/components/schemas/QueryResponseDataType' @@ -50987,12 +51129,20 @@ components: - type type: object QueryResponseDataAttributes: + description: Attributes of the query response, containing the matched records + and total count. properties: hits: + description: The list of matching records returned by the query, each as + a map of attribute names to values. items: additionalProperties: {} + description: A single matched record represented as a map of attribute + names to their values. type: array total: + description: Total number of records matching the query, regardless of the + limit applied. format: int64 type: integer type: object @@ -51016,6 +51166,8 @@ components: - ASC - DESC QueryUsersRequest: + description: Request body for querying users with optional filtering, column + selection, and sorting. example: data: attributes: @@ -51041,10 +51193,13 @@ components: $ref: '#/components/schemas/QueryUsersRequestData' type: object QueryUsersRequestData: + description: The data object containing the resource type and attributes for + querying users. properties: attributes: $ref: '#/components/schemas/QueryUsersRequestDataAttributes' id: + description: Unique identifier for the query users request resource. type: string type: $ref: '#/components/schemas/QueryUsersRequestDataType' @@ -51052,26 +51207,38 @@ components: - type type: object QueryUsersRequestDataAttributes: + description: Attributes for filtering and shaping the user query results. properties: limit: + description: Maximum number of user records to return in the response. format: int64 type: integer query: + description: Filter expression using user attribute conditions to narrow + results. type: string select_columns: + description: List of user attribute column names to include in the response. items: + description: Name of a user attribute column to include in the response. type: string type: array sort: $ref: '#/components/schemas/QueryUsersRequestDataAttributesSort' wildcard_search_term: + description: Free-text term used for wildcard search across user attribute + values. type: string type: object QueryUsersRequestDataAttributesSort: + description: Sorting configuration specifying the field and direction for ordering + user query results. properties: field: + description: The user attribute field name to sort results by. type: string order: + description: The sort direction, either ascending or descending. type: string type: object QueryUsersRequestDataType: @@ -69795,6 +69962,8 @@ components: type: string type: object UpdateConnectionRequest: + description: Request body for updating an existing data source connection by + adding, modifying, or removing fields. example: data: attributes: @@ -69822,10 +69991,13 @@ components: $ref: '#/components/schemas/UpdateConnectionRequestData' type: object UpdateConnectionRequestData: + description: The data object containing the resource identifier and attributes + for updating an existing connection. properties: attributes: $ref: '#/components/schemas/UpdateConnectionRequestDataAttributes' id: + description: The unique identifier of the connection to update. example: '' type: string type: @@ -69835,33 +70007,47 @@ components: - id type: object UpdateConnectionRequestDataAttributes: + description: Attributes specifying the field modifications to apply to an existing + connection. properties: fields_to_add: + description: New fields to add to the connection from the data source. items: $ref: '#/components/schemas/CreateConnectionRequestDataAttributesFieldsItems' type: array fields_to_delete: + description: Identifiers of existing fields to remove from the connection. items: + description: The identifier of a field to delete from the connection. type: string type: array fields_to_update: + description: Existing fields with updated metadata to apply to the connection. items: $ref: '#/components/schemas/UpdateConnectionRequestDataAttributesFieldsToUpdateItems' type: array type: object UpdateConnectionRequestDataAttributesFieldsToUpdateItems: + description: Specification for updating an existing field in a connection, including + which field to modify and the new values. properties: field_id: + description: The identifier of the existing field to update. example: '' type: string updated_description: + description: The new description to set for the field. type: string updated_display_name: + description: The new human-readable display name to set for the field. type: string updated_field_id: + description: The new identifier to assign to the field, if renaming it. type: string updated_groups: + description: The updated list of group labels to associate with the field. items: + description: A group label name for categorizing the field. type: string type: array required: diff --git a/examples/v2/observability-pipelines/ValidatePipeline_884022323.py b/examples/v2/observability-pipelines/ValidatePipeline_884022323.py deleted file mode 100644 index fda04b4c53..0000000000 --- a/examples/v2/observability-pipelines/ValidatePipeline_884022323.py +++ /dev/null @@ -1,84 +0,0 @@ -""" -Validate a metrics pipeline with opentelemetry source returns "OK" response -""" - -from datadog_api_client import ApiClient, Configuration -from datadog_api_client.v2.api.observability_pipelines_api import ObservabilityPipelinesApi -from datadog_api_client.v2.model.observability_pipeline_config import ObservabilityPipelineConfig -from datadog_api_client.v2.model.observability_pipeline_config_pipeline_type import ( - ObservabilityPipelineConfigPipelineType, -) -from datadog_api_client.v2.model.observability_pipeline_config_processor_group import ( - ObservabilityPipelineConfigProcessorGroup, -) -from datadog_api_client.v2.model.observability_pipeline_data_attributes import ObservabilityPipelineDataAttributes -from datadog_api_client.v2.model.observability_pipeline_datadog_metrics_destination import ( - ObservabilityPipelineDatadogMetricsDestination, -) -from datadog_api_client.v2.model.observability_pipeline_datadog_metrics_destination_type import ( - ObservabilityPipelineDatadogMetricsDestinationType, -) -from datadog_api_client.v2.model.observability_pipeline_filter_processor import ObservabilityPipelineFilterProcessor -from datadog_api_client.v2.model.observability_pipeline_filter_processor_type import ( - ObservabilityPipelineFilterProcessorType, -) -from datadog_api_client.v2.model.observability_pipeline_opentelemetry_source import ( - ObservabilityPipelineOpentelemetrySource, -) -from datadog_api_client.v2.model.observability_pipeline_opentelemetry_source_type import ( - ObservabilityPipelineOpentelemetrySourceType, -) -from datadog_api_client.v2.model.observability_pipeline_spec import ObservabilityPipelineSpec -from datadog_api_client.v2.model.observability_pipeline_spec_data import ObservabilityPipelineSpecData - -body = ObservabilityPipelineSpec( - data=ObservabilityPipelineSpecData( - attributes=ObservabilityPipelineDataAttributes( - config=ObservabilityPipelineConfig( - pipeline_type=ObservabilityPipelineConfigPipelineType.METRICS, - destinations=[ - ObservabilityPipelineDatadogMetricsDestination( - id="datadog-metrics-destination", - inputs=[ - "my-processor-group", - ], - type=ObservabilityPipelineDatadogMetricsDestinationType.DATADOG_METRICS, - ), - ], - processor_groups=[ - ObservabilityPipelineConfigProcessorGroup( - enabled=True, - id="my-processor-group", - include="*", - inputs=[ - "opentelemetry-source", - ], - processors=[ - ObservabilityPipelineFilterProcessor( - enabled=True, - id="filter-processor", - include="env:production", - type=ObservabilityPipelineFilterProcessorType.FILTER, - ), - ], - ), - ], - sources=[ - ObservabilityPipelineOpentelemetrySource( - id="opentelemetry-source", - type=ObservabilityPipelineOpentelemetrySourceType.OPENTELEMETRY, - ), - ], - ), - name="Metrics OTel Pipeline", - ), - type="pipelines", - ), -) - -configuration = Configuration() -with ApiClient(configuration) as api_client: - api_instance = ObservabilityPipelinesApi(api_client) - response = api_instance.validate_pipeline(body=body) - - print(response) diff --git a/src/datadog_api_client/v2/model/create_connection_request.py b/src/datadog_api_client/v2/model/create_connection_request.py index 085c924395..f50b392997 100644 --- a/src/datadog_api_client/v2/model/create_connection_request.py +++ b/src/datadog_api_client/v2/model/create_connection_request.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[CreateConnectionRequestData, UnsetType] = unset, **kwargs): """ + Request body for creating a new data source connection for an entity. - - :param data: + :param data: The data object containing the resource type and attributes for creating a new connection. :type data: CreateConnectionRequestData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/create_connection_request_data.py b/src/datadog_api_client/v2/model/create_connection_request_data.py index ce3d8d6faf..c9d8db14cb 100644 --- a/src/datadog_api_client/v2/model/create_connection_request_data.py +++ b/src/datadog_api_client/v2/model/create_connection_request_data.py @@ -48,12 +48,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for creating a new connection. - - :param attributes: + :param attributes: Attributes defining the data source connection, including join configuration and custom fields. :type attributes: CreateConnectionRequestDataAttributes, optional - :param id: + :param id: Unique identifier for the new connection resource. :type id: str, optional :param type: Connection id resource type. diff --git a/src/datadog_api_client/v2/model/create_connection_request_data_attributes.py b/src/datadog_api_client/v2/model/create_connection_request_data_attributes.py index 554e99a101..eea108f412 100644 --- a/src/datadog_api_client/v2/model/create_connection_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/create_connection_request_data_attributes.py @@ -52,21 +52,21 @@ def __init__( **kwargs, ): """ + Attributes defining the data source connection, including join configuration and custom fields. - - :param fields: + :param fields: List of custom attribute fields to import from the data source. :type fields: [CreateConnectionRequestDataAttributesFieldsItems], optional - :param join_attribute: + :param join_attribute: The attribute in the data source used to join records with the entity. :type join_attribute: str - :param join_type: + :param join_type: The type of join key used to link the data source to the entity (for example, email or user_id). :type join_type: str - :param metadata: + :param metadata: Additional key-value metadata associated with the connection. :type metadata: {str: (str,)}, optional - :param type: + :param type: The type of data source connection (for example, ref_table). :type type: str """ if fields is not unset: diff --git a/src/datadog_api_client/v2/model/create_connection_request_data_attributes_fields_items.py b/src/datadog_api_client/v2/model/create_connection_request_data_attributes_fields_items.py index 33e3820763..f03731ab75 100644 --- a/src/datadog_api_client/v2/model/create_connection_request_data_attributes_fields_items.py +++ b/src/datadog_api_client/v2/model/create_connection_request_data_attributes_fields_items.py @@ -45,24 +45,24 @@ def __init__( **kwargs, ): """ + Definition of a custom attribute field to import from a data source connection. - - :param description: + :param description: Human-readable explanation of what the field represents. :type description: str, optional - :param display_name: + :param display_name: The human-readable label for the field shown in the UI. :type display_name: str, optional - :param groups: + :param groups: List of group labels used to categorize the field. :type groups: [str], optional - :param id: + :param id: The unique identifier for the field within the connection. :type id: str - :param source_name: + :param source_name: The name of the column or attribute in the source data system that maps to this field. :type source_name: str - :param type: + :param type: The data type of the field (for example, string or number). :type type: str """ if description is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_request.py b/src/datadog_api_client/v2/model/facet_info_request.py index 15625bcea6..79db1a90ec 100644 --- a/src/datadog_api_client/v2/model/facet_info_request.py +++ b/src/datadog_api_client/v2/model/facet_info_request.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[FacetInfoRequestData, UnsetType] = unset, **kwargs): """ + Request body for retrieving facet value information for a specified attribute with optional filtering. - - :param data: + :param data: The data object containing the resource type and attributes for the facet info request. :type data: FacetInfoRequestData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_request_data.py b/src/datadog_api_client/v2/model/facet_info_request_data.py index a09e9b2851..a2f6d99547 100644 --- a/src/datadog_api_client/v2/model/facet_info_request_data.py +++ b/src/datadog_api_client/v2/model/facet_info_request_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for the facet info request. - - :param attributes: + :param attributes: Attributes for the facet info request, specifying which facet to query and optional filters to apply. :type attributes: FacetInfoRequestDataAttributes, optional - :param id: + :param id: Unique identifier for the facet info request resource. :type id: str, optional :param type: Users facet info request resource type. diff --git a/src/datadog_api_client/v2/model/facet_info_request_data_attributes.py b/src/datadog_api_client/v2/model/facet_info_request_data_attributes.py index 28bcf15ec1..0de07ed052 100644 --- a/src/datadog_api_client/v2/model/facet_info_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/facet_info_request_data_attributes.py @@ -55,18 +55,18 @@ def __init__( **kwargs, ): """ + Attributes for the facet info request, specifying which facet to query and optional filters to apply. - - :param facet_id: + :param facet_id: The identifier of the facet attribute to retrieve value information for. :type facet_id: str - :param limit: + :param limit: Maximum number of facet values to return in the response. :type limit: int - :param search: + :param search: Query-based search configuration for filtering the audience context when retrieving facet values. :type search: FacetInfoRequestDataAttributesSearch, optional - :param term_search: + :param term_search: Term-level search configuration for filtering facet values by an exact or partial term match. :type term_search: FacetInfoRequestDataAttributesTermSearch, optional """ if search is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_request_data_attributes_search.py b/src/datadog_api_client/v2/model/facet_info_request_data_attributes_search.py index 441992aeee..a1b0faa101 100644 --- a/src/datadog_api_client/v2/model/facet_info_request_data_attributes_search.py +++ b/src/datadog_api_client/v2/model/facet_info_request_data_attributes_search.py @@ -26,9 +26,9 @@ def openapi_types(_): def __init__(self_, query: Union[str, UnsetType] = unset, **kwargs): """ + Query-based search configuration for filtering the audience context when retrieving facet values. - - :param query: + :param query: The filter expression used to scope the audience from which facet values are retrieved. :type query: str, optional """ if query is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_request_data_attributes_term_search.py b/src/datadog_api_client/v2/model/facet_info_request_data_attributes_term_search.py index 288650b24f..f46d9229cf 100644 --- a/src/datadog_api_client/v2/model/facet_info_request_data_attributes_term_search.py +++ b/src/datadog_api_client/v2/model/facet_info_request_data_attributes_term_search.py @@ -26,9 +26,9 @@ def openapi_types(_): def __init__(self_, value: Union[str, UnsetType] = unset, **kwargs): """ + Term-level search configuration for filtering facet values by an exact or partial term match. - - :param value: + :param value: The term string to match against facet values. :type value: str, optional """ if value is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_response.py b/src/datadog_api_client/v2/model/facet_info_response.py index be69cbbf62..f2b0eae8aa 100644 --- a/src/datadog_api_client/v2/model/facet_info_response.py +++ b/src/datadog_api_client/v2/model/facet_info_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[FacetInfoResponseData, UnsetType] = unset, **kwargs): """ + Response containing facet information for an attribute, including its distinct values and occurrence counts. - - :param data: + :param data: The data object containing the resource type and attributes for the facet info response. :type data: FacetInfoResponseData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_response_data.py b/src/datadog_api_client/v2/model/facet_info_response_data.py index 088cffd28e..c07e391b38 100644 --- a/src/datadog_api_client/v2/model/facet_info_response_data.py +++ b/src/datadog_api_client/v2/model/facet_info_response_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for the facet info response. - - :param attributes: + :param attributes: Attributes of the facet info response, containing the facet result data. :type attributes: FacetInfoResponseDataAttributes, optional - :param id: + :param id: Unique identifier for the facet info response resource. :type id: str, optional :param type: Users facet info resource type. diff --git a/src/datadog_api_client/v2/model/facet_info_response_data_attributes.py b/src/datadog_api_client/v2/model/facet_info_response_data_attributes.py index c74082b79e..1789a037fa 100644 --- a/src/datadog_api_client/v2/model/facet_info_response_data_attributes.py +++ b/src/datadog_api_client/v2/model/facet_info_response_data_attributes.py @@ -36,9 +36,9 @@ def openapi_types(_): def __init__(self_, result: Union[FacetInfoResponseDataAttributesResult, UnsetType] = unset, **kwargs): """ + Attributes of the facet info response, containing the facet result data. - - :param result: + :param result: The facet query result containing discrete value counts or a numeric range for the requested facet. :type result: FacetInfoResponseDataAttributesResult, optional """ if result is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result.py b/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result.py index 634767e3c7..7f54336410 100644 --- a/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result.py +++ b/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result.py @@ -49,12 +49,12 @@ def __init__( **kwargs, ): """ + The facet query result containing discrete value counts or a numeric range for the requested facet. - - :param range: + :param range: The numeric range of a facet attribute, representing the minimum and maximum observed values. :type range: FacetInfoResponseDataAttributesResultRange, optional - :param values: + :param values: List of discrete facet values with their occurrence counts. :type values: [FacetInfoResponseDataAttributesResultValuesItems], optional """ if range is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_range.py b/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_range.py index 073e471ce5..3f37090338 100644 --- a/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_range.py +++ b/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_range.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, max: Union[dict, UnsetType] = unset, min: Union[dict, UnsetType] = unset, **kwargs): """ + The numeric range of a facet attribute, representing the minimum and maximum observed values. - - :param max: + :param max: The maximum observed value for the numeric facet attribute. :type max: dict, optional - :param min: + :param min: The minimum observed value for the numeric facet attribute. :type min: dict, optional """ if max is not unset: diff --git a/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_values_items.py b/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_values_items.py index e232a60df5..d79f95896a 100644 --- a/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_values_items.py +++ b/src/datadog_api_client/v2/model/facet_info_response_data_attributes_result_values_items.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, count: Union[int, UnsetType] = unset, value: Union[str, UnsetType] = unset, **kwargs): """ + A single facet value with its occurrence count in the dataset. - - :param count: + :param count: The number of records that have this facet value. :type count: int, optional - :param value: + :param value: The facet value (for example, a browser name or country code). :type value: str, optional """ if count is not unset: diff --git a/src/datadog_api_client/v2/model/get_mapping_response.py b/src/datadog_api_client/v2/model/get_mapping_response.py index 8a09dcccb1..8bcee580bf 100644 --- a/src/datadog_api_client/v2/model/get_mapping_response.py +++ b/src/datadog_api_client/v2/model/get_mapping_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[GetMappingResponseData, UnsetType] = unset, **kwargs): """ + Response containing the entity attribute mapping configuration including all available attributes and their properties. - - :param data: + :param data: The data object containing the resource type and attributes for the get mapping response. :type data: GetMappingResponseData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/get_mapping_response_data.py b/src/datadog_api_client/v2/model/get_mapping_response_data.py index 7b6ec73641..d6b7aeb763 100644 --- a/src/datadog_api_client/v2/model/get_mapping_response_data.py +++ b/src/datadog_api_client/v2/model/get_mapping_response_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for the get mapping response. - - :param attributes: + :param attributes: Attributes of the get mapping response, containing the list of configured entity attributes. :type attributes: GetMappingResponseDataAttributes, optional - :param id: + :param id: Unique identifier for the get mapping response resource. :type id: str, optional :param type: Get mappings response resource type. diff --git a/src/datadog_api_client/v2/model/get_mapping_response_data_attributes.py b/src/datadog_api_client/v2/model/get_mapping_response_data_attributes.py index 9d192025d4..5a90666eb6 100644 --- a/src/datadog_api_client/v2/model/get_mapping_response_data_attributes.py +++ b/src/datadog_api_client/v2/model/get_mapping_response_data_attributes.py @@ -38,9 +38,9 @@ def __init__( self_, attributes: Union[List[GetMappingResponseDataAttributesAttributesItems], UnsetType] = unset, **kwargs ): """ + Attributes of the get mapping response, containing the list of configured entity attributes. - - :param attributes: + :param attributes: The list of entity attributes and their mapping configurations. :type attributes: [GetMappingResponseDataAttributesAttributesItems], optional """ if attributes is not unset: diff --git a/src/datadog_api_client/v2/model/get_mapping_response_data_attributes_attributes_items.py b/src/datadog_api_client/v2/model/get_mapping_response_data_attributes_attributes_items.py index 15520bf671..81b45582c4 100644 --- a/src/datadog_api_client/v2/model/get_mapping_response_data_attributes_attributes_items.py +++ b/src/datadog_api_client/v2/model/get_mapping_response_data_attributes_attributes_items.py @@ -45,24 +45,24 @@ def __init__( **kwargs, ): """ + Details of a single entity attribute including its mapping configuration and metadata. - - :param attribute: + :param attribute: The attribute identifier as used in the entity data model. :type attribute: str, optional - :param description: + :param description: Human-readable explanation of what the attribute represents. :type description: str, optional - :param display_name: + :param display_name: The human-readable label for the attribute shown in the UI. :type display_name: str, optional - :param groups: + :param groups: List of group labels used to categorize the attribute. :type groups: [str], optional - :param is_custom: + :param is_custom: Whether this attribute is a custom user-defined attribute rather than a built-in one. :type is_custom: bool, optional - :param type: + :param type: The data type of the attribute (for example, string or number). :type type: str, optional """ if attribute is not unset: diff --git a/src/datadog_api_client/v2/model/list_connections_response.py b/src/datadog_api_client/v2/model/list_connections_response.py index dad8070b22..1b156684a1 100644 --- a/src/datadog_api_client/v2/model/list_connections_response.py +++ b/src/datadog_api_client/v2/model/list_connections_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[ListConnectionsResponseData, UnsetType] = unset, **kwargs): """ + Response containing the list of all data source connections configured for an entity. - - :param data: + :param data: The data object containing the resource type and attributes for the list connections response. :type data: ListConnectionsResponseData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/list_connections_response_data.py b/src/datadog_api_client/v2/model/list_connections_response_data.py index 2d648236ca..a90463ddde 100644 --- a/src/datadog_api_client/v2/model/list_connections_response_data.py +++ b/src/datadog_api_client/v2/model/list_connections_response_data.py @@ -48,12 +48,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for the list connections response. - - :param attributes: + :param attributes: Attributes of the list connections response, containing the collection of data source connections. :type attributes: ListConnectionsResponseDataAttributes, optional - :param id: + :param id: Unique identifier for the list connections response resource. :type id: str, optional :param type: List connections response resource type. diff --git a/src/datadog_api_client/v2/model/list_connections_response_data_attributes.py b/src/datadog_api_client/v2/model/list_connections_response_data_attributes.py index e3ccbb2391..0639306d5a 100644 --- a/src/datadog_api_client/v2/model/list_connections_response_data_attributes.py +++ b/src/datadog_api_client/v2/model/list_connections_response_data_attributes.py @@ -40,9 +40,9 @@ def __init__( **kwargs, ): """ + Attributes of the list connections response, containing the collection of data source connections. - - :param connections: + :param connections: The list of data source connections configured for the entity. :type connections: [ListConnectionsResponseDataAttributesConnectionsItems], optional """ if connections is not unset: diff --git a/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items.py b/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items.py index f75e2f8146..77da6963b9 100644 --- a/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items.py +++ b/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items.py @@ -71,33 +71,33 @@ def __init__( **kwargs, ): """ + Details of a single data source connection, including its fields, join configuration, and audit metadata. - - :param created_at: + :param created_at: Timestamp indicating when the connection was created. :type created_at: datetime, optional - :param created_by: + :param created_by: Identifier of the user who created the connection. :type created_by: str, optional - :param fields: + :param fields: List of custom attribute fields imported from the data source. :type fields: [CreateConnectionRequestDataAttributesFieldsItems], optional - :param id: + :param id: Unique identifier of the connection. :type id: str, optional - :param join: + :param join: The join configuration describing how the data source is linked to the entity. :type join: ListConnectionsResponseDataAttributesConnectionsItemsJoin, optional - :param metadata: + :param metadata: Additional key-value metadata associated with the connection. :type metadata: {str: (str,)}, optional - :param type: + :param type: The type of data source connection (for example, ref_table). :type type: str, optional - :param updated_at: + :param updated_at: Timestamp indicating when the connection was last updated. :type updated_at: datetime, optional - :param updated_by: + :param updated_by: Identifier of the user who last updated the connection. :type updated_by: str, optional """ if created_at is not unset: diff --git a/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items_join.py b/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items_join.py index 015a133e4b..fc7c6edd2a 100644 --- a/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items_join.py +++ b/src/datadog_api_client/v2/model/list_connections_response_data_attributes_connections_items_join.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, attribute: Union[str, UnsetType] = unset, type: Union[str, UnsetType] = unset, **kwargs): """ + The join configuration describing how the data source is linked to the entity. - - :param attribute: + :param attribute: The entity attribute used as the join key to link records from the data source. :type attribute: str, optional - :param type: + :param type: The type of join key used (for example, email or user_id). :type type: str, optional """ if attribute is not unset: diff --git a/src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py b/src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py index da09b968f1..ac6090dcd9 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_opentelemetry_source.py @@ -56,7 +56,7 @@ def __init__( """ The ``opentelemetry`` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP. - **Supported pipeline types:** logs, metrics + **Supported pipeline types:** logs :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). :type grpc_address_key: str, optional diff --git a/src/datadog_api_client/v2/model/query_account_request.py b/src/datadog_api_client/v2/model/query_account_request.py index 584e285973..b811a1533d 100644 --- a/src/datadog_api_client/v2/model/query_account_request.py +++ b/src/datadog_api_client/v2/model/query_account_request.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[QueryAccountRequestData, UnsetType] = unset, **kwargs): """ + Request body for querying accounts with optional filtering, column selection, and sorting. - - :param data: + :param data: The data object containing the resource type and attributes for querying accounts. :type data: QueryAccountRequestData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/query_account_request_data.py b/src/datadog_api_client/v2/model/query_account_request_data.py index fdab7735c2..705fef1f18 100644 --- a/src/datadog_api_client/v2/model/query_account_request_data.py +++ b/src/datadog_api_client/v2/model/query_account_request_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for querying accounts. - - :param attributes: + :param attributes: Attributes for filtering and shaping the account query results. :type attributes: QueryAccountRequestDataAttributes, optional - :param id: + :param id: Unique identifier for the query account request resource. :type id: str, optional :param type: Query account request resource type. diff --git a/src/datadog_api_client/v2/model/query_account_request_data_attributes.py b/src/datadog_api_client/v2/model/query_account_request_data_attributes.py index 62e0e7e072..49a31cac32 100644 --- a/src/datadog_api_client/v2/model/query_account_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/query_account_request_data_attributes.py @@ -52,21 +52,21 @@ def __init__( **kwargs, ): """ + Attributes for filtering and shaping the account query results. - - :param limit: + :param limit: Maximum number of account records to return in the response. :type limit: int, optional - :param query: + :param query: Filter expression using account attribute conditions to narrow results. :type query: str, optional - :param select_columns: + :param select_columns: List of account attribute column names to include in the response. :type select_columns: [str], optional - :param sort: + :param sort: Sorting configuration specifying the field and direction for ordering query results. :type sort: QueryAccountRequestDataAttributesSort, optional - :param wildcard_search_term: + :param wildcard_search_term: Free-text term used for wildcard search across account attribute values. :type wildcard_search_term: str, optional """ if limit is not unset: diff --git a/src/datadog_api_client/v2/model/query_account_request_data_attributes_sort.py b/src/datadog_api_client/v2/model/query_account_request_data_attributes_sort.py index 1b4f7b0185..21fe495b35 100644 --- a/src/datadog_api_client/v2/model/query_account_request_data_attributes_sort.py +++ b/src/datadog_api_client/v2/model/query_account_request_data_attributes_sort.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, field: Union[str, UnsetType] = unset, order: Union[str, UnsetType] = unset, **kwargs): """ + Sorting configuration specifying the field and direction for ordering query results. - - :param field: + :param field: The attribute field name to sort results by. :type field: str, optional - :param order: + :param order: The sort direction, either ascending or descending. :type order: str, optional """ if field is not unset: diff --git a/src/datadog_api_client/v2/model/query_event_filtered_users_request.py b/src/datadog_api_client/v2/model/query_event_filtered_users_request.py index 07d8dd69f8..48fbf51c9d 100644 --- a/src/datadog_api_client/v2/model/query_event_filtered_users_request.py +++ b/src/datadog_api_client/v2/model/query_event_filtered_users_request.py @@ -34,9 +34,9 @@ def openapi_types(_): def __init__(self_, data: Union[QueryEventFilteredUsersRequestData, UnsetType] = unset, **kwargs): """ + Request body for querying users filtered by user properties combined with event platform activity. - - :param data: + :param data: The data object containing the resource type and attributes for querying event-filtered users. :type data: QueryEventFilteredUsersRequestData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data.py b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data.py index 5398416e21..0b53e33784 100644 --- a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data.py +++ b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data.py @@ -52,12 +52,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for querying event-filtered users. - - :param attributes: + :param attributes: Attributes for filtering users by both user properties and event platform activity. :type attributes: QueryEventFilteredUsersRequestDataAttributes, optional - :param id: + :param id: Unique identifier for the query event filtered users request resource. :type id: str, optional :param type: Query event filtered users request resource type. diff --git a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes.py b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes.py index 8de65aa343..23d1db0ab8 100644 --- a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes.py @@ -52,21 +52,21 @@ def __init__( **kwargs, ): """ + Attributes for filtering users by both user properties and event platform activity. - - :param event_query: + :param event_query: Event platform query used to filter users based on their event activity within a specified time window. :type event_query: QueryEventFilteredUsersRequestDataAttributesEventQuery, optional - :param include_row_count: + :param include_row_count: Whether to include the total count of matching users in the response. :type include_row_count: bool, optional - :param limit: + :param limit: Maximum number of user records to return in the response. :type limit: int, optional - :param query: + :param query: Filter expression using user attribute conditions to narrow results. :type query: str, optional - :param select_columns: + :param select_columns: List of user attribute column names to include in the response. :type select_columns: [str], optional """ if event_query is not unset: diff --git a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query.py b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query.py index a707cbc526..5404d6d2fd 100644 --- a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query.py +++ b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query.py @@ -43,12 +43,12 @@ def __init__( **kwargs, ): """ + Event platform query used to filter users based on their event activity within a specified time window. - - :param query: + :param query: The event platform query expression for filtering users by their event activity. :type query: str, optional - :param time_frame: + :param time_frame: The time window defining the start and end of the event query period as Unix timestamps. :type time_frame: QueryEventFilteredUsersRequestDataAttributesEventQueryTimeFrame, optional """ if query is not unset: diff --git a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query_time_frame.py b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query_time_frame.py index 83d64cef92..1b591998fd 100644 --- a/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query_time_frame.py +++ b/src/datadog_api_client/v2/model/query_event_filtered_users_request_data_attributes_event_query_time_frame.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, end: Union[int, UnsetType] = unset, start: Union[int, UnsetType] = unset, **kwargs): """ + The time window defining the start and end of the event query period as Unix timestamps. - - :param end: + :param end: End of the time frame as a Unix timestamp in seconds. :type end: int, optional - :param start: + :param start: Start of the time frame as a Unix timestamp in seconds. :type start: int, optional """ if end is not unset: diff --git a/src/datadog_api_client/v2/model/query_response.py b/src/datadog_api_client/v2/model/query_response.py index d9e2a68409..d3b320d23e 100644 --- a/src/datadog_api_client/v2/model/query_response.py +++ b/src/datadog_api_client/v2/model/query_response.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[QueryResponseData, UnsetType] = unset, **kwargs): """ + Response containing the query results with matched records and total count. - - :param data: + :param data: The data object containing the resource type and attributes of the query response. :type data: QueryResponseData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/query_response_data.py b/src/datadog_api_client/v2/model/query_response_data.py index 15af73293b..103c699c9d 100644 --- a/src/datadog_api_client/v2/model/query_response_data.py +++ b/src/datadog_api_client/v2/model/query_response_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes of the query response. - - :param attributes: + :param attributes: Attributes of the query response, containing the matched records and total count. :type attributes: QueryResponseDataAttributes, optional - :param id: + :param id: Unique identifier for the query response resource. :type id: str, optional :param type: Query response resource type. diff --git a/src/datadog_api_client/v2/model/query_response_data_attributes.py b/src/datadog_api_client/v2/model/query_response_data_attributes.py index 76116c520a..2cce40cf27 100644 --- a/src/datadog_api_client/v2/model/query_response_data_attributes.py +++ b/src/datadog_api_client/v2/model/query_response_data_attributes.py @@ -32,12 +32,12 @@ def openapi_types(_): def __init__(self_, hits: Union[List[Any], UnsetType] = unset, total: Union[int, UnsetType] = unset, **kwargs): """ + Attributes of the query response, containing the matched records and total count. - - :param hits: + :param hits: The list of matching records returned by the query, each as a map of attribute names to values. :type hits: [bool, date, datetime, dict, float, int, list, str, UUID, none_type], optional - :param total: + :param total: Total number of records matching the query, regardless of the limit applied. :type total: int, optional """ if hits is not unset: diff --git a/src/datadog_api_client/v2/model/query_users_request.py b/src/datadog_api_client/v2/model/query_users_request.py index f579f8a6d9..1af90d123f 100644 --- a/src/datadog_api_client/v2/model/query_users_request.py +++ b/src/datadog_api_client/v2/model/query_users_request.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[QueryUsersRequestData, UnsetType] = unset, **kwargs): """ + Request body for querying users with optional filtering, column selection, and sorting. - - :param data: + :param data: The data object containing the resource type and attributes for querying users. :type data: QueryUsersRequestData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/query_users_request_data.py b/src/datadog_api_client/v2/model/query_users_request_data.py index 49cb426cf1..6e567539a3 100644 --- a/src/datadog_api_client/v2/model/query_users_request_data.py +++ b/src/datadog_api_client/v2/model/query_users_request_data.py @@ -44,12 +44,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource type and attributes for querying users. - - :param attributes: + :param attributes: Attributes for filtering and shaping the user query results. :type attributes: QueryUsersRequestDataAttributes, optional - :param id: + :param id: Unique identifier for the query users request resource. :type id: str, optional :param type: Query users request resource type. diff --git a/src/datadog_api_client/v2/model/query_users_request_data_attributes.py b/src/datadog_api_client/v2/model/query_users_request_data_attributes.py index 4af164f201..9496e85313 100644 --- a/src/datadog_api_client/v2/model/query_users_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/query_users_request_data_attributes.py @@ -50,21 +50,21 @@ def __init__( **kwargs, ): """ + Attributes for filtering and shaping the user query results. - - :param limit: + :param limit: Maximum number of user records to return in the response. :type limit: int, optional - :param query: + :param query: Filter expression using user attribute conditions to narrow results. :type query: str, optional - :param select_columns: + :param select_columns: List of user attribute column names to include in the response. :type select_columns: [str], optional - :param sort: + :param sort: Sorting configuration specifying the field and direction for ordering user query results. :type sort: QueryUsersRequestDataAttributesSort, optional - :param wildcard_search_term: + :param wildcard_search_term: Free-text term used for wildcard search across user attribute values. :type wildcard_search_term: str, optional """ if limit is not unset: diff --git a/src/datadog_api_client/v2/model/query_users_request_data_attributes_sort.py b/src/datadog_api_client/v2/model/query_users_request_data_attributes_sort.py index 5f8c27acbe..97b824456f 100644 --- a/src/datadog_api_client/v2/model/query_users_request_data_attributes_sort.py +++ b/src/datadog_api_client/v2/model/query_users_request_data_attributes_sort.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, field: Union[str, UnsetType] = unset, order: Union[str, UnsetType] = unset, **kwargs): """ + Sorting configuration specifying the field and direction for ordering user query results. - - :param field: + :param field: The user attribute field name to sort results by. :type field: str, optional - :param order: + :param order: The sort direction, either ascending or descending. :type order: str, optional """ if field is not unset: diff --git a/src/datadog_api_client/v2/model/update_connection_request.py b/src/datadog_api_client/v2/model/update_connection_request.py index b948aa8011..49917be670 100644 --- a/src/datadog_api_client/v2/model/update_connection_request.py +++ b/src/datadog_api_client/v2/model/update_connection_request.py @@ -32,9 +32,9 @@ def openapi_types(_): def __init__(self_, data: Union[UpdateConnectionRequestData, UnsetType] = unset, **kwargs): """ + Request body for updating an existing data source connection by adding, modifying, or removing fields. - - :param data: + :param data: The data object containing the resource identifier and attributes for updating an existing connection. :type data: UpdateConnectionRequestData, optional """ if data is not unset: diff --git a/src/datadog_api_client/v2/model/update_connection_request_data.py b/src/datadog_api_client/v2/model/update_connection_request_data.py index 381d878fb2..ade7f07e70 100644 --- a/src/datadog_api_client/v2/model/update_connection_request_data.py +++ b/src/datadog_api_client/v2/model/update_connection_request_data.py @@ -48,12 +48,12 @@ def __init__( **kwargs, ): """ + The data object containing the resource identifier and attributes for updating an existing connection. - - :param attributes: + :param attributes: Attributes specifying the field modifications to apply to an existing connection. :type attributes: UpdateConnectionRequestDataAttributes, optional - :param id: + :param id: The unique identifier of the connection to update. :type id: str :param type: Connection id resource type. diff --git a/src/datadog_api_client/v2/model/update_connection_request_data_attributes.py b/src/datadog_api_client/v2/model/update_connection_request_data_attributes.py index c16da63b31..51adf55c7b 100644 --- a/src/datadog_api_client/v2/model/update_connection_request_data_attributes.py +++ b/src/datadog_api_client/v2/model/update_connection_request_data_attributes.py @@ -52,15 +52,15 @@ def __init__( **kwargs, ): """ + Attributes specifying the field modifications to apply to an existing connection. - - :param fields_to_add: + :param fields_to_add: New fields to add to the connection from the data source. :type fields_to_add: [CreateConnectionRequestDataAttributesFieldsItems], optional - :param fields_to_delete: + :param fields_to_delete: Identifiers of existing fields to remove from the connection. :type fields_to_delete: [str], optional - :param fields_to_update: + :param fields_to_update: Existing fields with updated metadata to apply to the connection. :type fields_to_update: [UpdateConnectionRequestDataAttributesFieldsToUpdateItems], optional """ if fields_to_add is not unset: diff --git a/src/datadog_api_client/v2/model/update_connection_request_data_attributes_fields_to_update_items.py b/src/datadog_api_client/v2/model/update_connection_request_data_attributes_fields_to_update_items.py index 9e997e267c..057c4eb381 100644 --- a/src/datadog_api_client/v2/model/update_connection_request_data_attributes_fields_to_update_items.py +++ b/src/datadog_api_client/v2/model/update_connection_request_data_attributes_fields_to_update_items.py @@ -42,21 +42,21 @@ def __init__( **kwargs, ): """ + Specification for updating an existing field in a connection, including which field to modify and the new values. - - :param field_id: + :param field_id: The identifier of the existing field to update. :type field_id: str - :param updated_description: + :param updated_description: The new description to set for the field. :type updated_description: str, optional - :param updated_display_name: + :param updated_display_name: The new human-readable display name to set for the field. :type updated_display_name: str, optional - :param updated_field_id: + :param updated_field_id: The new identifier to assign to the field, if renaming it. :type updated_field_id: str, optional - :param updated_groups: + :param updated_groups: The updated list of group labels to associate with the field. :type updated_groups: [str], optional """ if updated_description is not unset: diff --git a/tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen b/tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen deleted file mode 100644 index 9218d08a36..0000000000 --- a/tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.frozen +++ /dev/null @@ -1 +0,0 @@ -2026-03-10T16:11:47.487Z \ No newline at end of file diff --git a/tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml b/tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml deleted file mode 100644 index b09e25bdb7..0000000000 --- a/tests/v2/cassettes/test_scenarios/test_validate_a_metrics_pipeline_with_opentelemetry_source_returns_ok_response.yaml +++ /dev/null @@ -1,23 +0,0 @@ -interactions: -- request: - body: '{"data":{"attributes":{"config":{"destinations":[{"id":"datadog-metrics-destination","inputs":["my-processor-group"],"type":"datadog_metrics"}],"pipeline_type":"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"}}' - headers: - accept: - - application/json - content-type: - - application/json - method: POST - uri: https://api.datadoghq.com/api/v2/obs-pipelines/pipelines/validate - response: - body: - string: '{"errors":[]} - - ' - headers: - content-type: - - application/vnd.api+json - status: - code: 200 - message: OK -version: 1 diff --git a/tests/v2/features/observability_pipelines.feature b/tests/v2/features/observability_pipelines.feature index e272303955..bf90c06c13 100644 --- a/tests/v2/features/observability_pipelines.feature +++ b/tests/v2/features/observability_pipelines.feature @@ -149,14 +149,6 @@ Feature: Observability Pipelines And the response "data.attributes.config.destinations" has length 1 And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id" - @team:DataDog/observability-pipelines - Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response - Given new "ValidatePipeline" request - 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"}} - When the request is sent - Then the response status is 200 OK - And the response "errors" has length 0 - @team:DataDog/observability-pipelines Scenario: Validate an observability pipeline returns "Bad Request" response Given new "ValidatePipeline" request