From 13a738a3ebb6965d509862cfb1601e1db49fa679 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 11 Mar 2026 16:49:56 +0000 Subject: [PATCH] Regenerate client from commit 2e78bde of spec repo --- .generator/schemas/v2/openapi.yaml | 71 +++++++++++++++- .../ValidatePipeline_884022323.py | 84 ------------------- .../v2/model/integration_incident.py | 4 +- ...tegration_incident_field_mappings_items.py | 6 +- .../integration_incident_severity_config.py | 4 +- .../v2/model/integration_jira.py | 6 +- .../model/integration_jira_auto_creation.py | 4 +- .../v2/model/integration_jira_metadata.py | 8 +- .../v2/model/integration_jira_sync.py | 6 +- .../model/integration_jira_sync_due_date.py | 6 +- .../model/integration_jira_sync_properties.py | 6 +- ...ies_custom_fields_additional_properties.py | 4 +- .../v2/model/integration_on_call.py | 2 +- ...ration_on_call_escalation_queries_items.py | 10 +-- ...on_call_escalation_queries_items_target.py | 8 +- .../v2/model/integration_service_now.py | 4 +- .../integration_service_now_auto_creation.py | 4 +- .../integration_service_now_sync_config.py | 6 +- ..._service_now_sync_config139772721534496.py | 4 +- ...ration_service_now_sync_config_priority.py | 8 +- ...rvability_pipeline_opentelemetry_source.py | 2 +- .../v2/model/project_columns_config.py | 2 +- .../project_columns_config_columns_items.py | 8 +- ...oject_columns_config_columns_items_sort.py | 6 +- .../v2/model/project_notification_settings.py | 14 ++-- .../v2/model/sync_property.py | 2 +- .../v2/model/sync_property_with_mapping.py | 6 +- ...elemetry_source_returns_ok_response.frozen | 1 - ...ntelemetry_source_returns_ok_response.yaml | 23 ----- .../features/observability_pipelines.feature | 8 -- 30 files changed, 139 insertions(+), 188 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..7b68aab1f7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -10129,6 +10129,7 @@ components: CaseObjectAttributes: additionalProperties: items: + description: An attribute value. type: string type: array description: The definition of `CaseObjectAttributes` object. @@ -10872,6 +10873,7 @@ components: example: - team-handle-1 items: + description: A team handle to request decisions from. type: string type: array start_date: @@ -11139,6 +11141,7 @@ components: ChangeRequestObjectAttributes: additionalProperties: items: + description: An attribute value. type: string type: array description: Custom attributes of the change request as key-value pairs. @@ -33115,6 +33118,7 @@ components: description: Whether incident integration is enabled type: boolean field_mappings: + description: List of mappings between incident fields and case fields items: $ref: '#/components/schemas/IntegrationIncidentFieldMappingsItems' type: array @@ -33125,17 +33129,23 @@ components: $ref: '#/components/schemas/IntegrationIncidentSeverityConfig' type: object IntegrationIncidentFieldMappingsItems: + description: Mapping between an incident user-defined field and a case field properties: case_field: + description: The case field to map the incident field value to type: string incident_user_defined_field_id: + description: The identifier of the incident user-defined field to map from type: string type: object IntegrationIncidentSeverityConfig: + description: Severity configuration for mapping incident priorities to case + priorities properties: priority_mapping: additionalProperties: type: string + description: Mapping of incident severity values to case priority values type: object type: object IntegrationJira: @@ -33152,34 +33162,46 @@ components: $ref: '#/components/schemas/IntegrationJiraSync' type: object IntegrationJiraAutoCreation: + description: Auto-creation settings for Jira issues from cases properties: enabled: + description: Whether automatic Jira issue creation is enabled type: boolean type: object IntegrationJiraMetadata: + description: Metadata for connecting a case management project to a Jira project properties: account_id: + description: The Jira account identifier type: string issue_type_id: + description: The Jira issue type identifier to use when creating issues type: string project_id: + description: The Jira project identifier to associate with this case project type: string type: object IntegrationJiraSync: + description: Synchronization configuration for Jira integration properties: enabled: + description: Whether Jira field synchronization is enabled type: boolean properties: $ref: '#/components/schemas/IntegrationJiraSyncProperties' type: object IntegrationJiraSyncDueDate: + description: Due date synchronization configuration for Jira integration properties: jira_field_id: + description: The Jira field identifier used to store the due date type: string sync_type: + description: The type of synchronization to apply for the due date field type: string type: object IntegrationJiraSyncProperties: + description: Field synchronization properties for Jira integration properties: assignee: $ref: '#/components/schemas/SyncProperty' @@ -33188,6 +33210,7 @@ components: custom_fields: additionalProperties: $ref: '#/components/schemas/IntegrationJiraSyncPropertiesCustomFieldsAdditionalProperties' + description: Map of custom field identifiers to their sync configurations type: object description: $ref: '#/components/schemas/SyncProperty' @@ -33201,8 +33224,10 @@ components: $ref: '#/components/schemas/SyncProperty' type: object IntegrationJiraSyncPropertiesCustomFieldsAdditionalProperties: + description: Synchronization configuration for a Jira custom field properties: sync_type: + description: The type of synchronization to apply for this custom field type: string value: $ref: '#/components/schemas/AnyValue' @@ -33241,28 +33266,38 @@ components: description: Whether On-Call integration is enabled type: boolean escalation_queries: + description: List of escalation queries for routing cases to on-call responders items: $ref: '#/components/schemas/IntegrationOnCallEscalationQueriesItems' type: array type: object IntegrationOnCallEscalationQueriesItems: + description: An On-Call escalation query entry used to route cases to on-call + responders properties: enabled: + description: Whether this escalation query is enabled type: boolean id: + description: Unique identifier of the escalation query type: string query: + description: The query used to match cases for escalation type: string target: $ref: '#/components/schemas/IntegrationOnCallEscalationQueriesItemsTarget' type: object IntegrationOnCallEscalationQueriesItemsTarget: + description: The target recipient for an On-Call escalation query properties: dynamic_team_paging: + description: Whether to use dynamic team paging for escalation type: boolean team_id: + description: The identifier of the team to escalate to type: string user_id: + description: The identifier of the user to escalate to type: string type: object IntegrationServiceNow: @@ -33283,18 +33318,23 @@ components: $ref: '#/components/schemas/IntegrationServiceNowSyncConfig' type: object IntegrationServiceNowAutoCreation: + description: Auto-creation settings for ServiceNow incidents from cases properties: enabled: + description: Whether automatic ServiceNow incident creation is enabled type: boolean type: object IntegrationServiceNowSyncConfig: + description: Synchronization configuration for ServiceNow integration properties: enabled: + description: Whether ServiceNow synchronization is enabled type: boolean properties: $ref: '#/components/schemas/IntegrationServiceNowSyncConfig139772721534496' type: object IntegrationServiceNowSyncConfig139772721534496: + description: Field-level synchronization properties for ServiceNow integration properties: comments: $ref: '#/components/schemas/SyncProperty' @@ -33304,16 +33344,20 @@ components: $ref: '#/components/schemas/SyncPropertyWithMapping' type: object IntegrationServiceNowSyncConfigPriority: + description: Priority synchronization configuration for ServiceNow integration properties: impact_mapping: additionalProperties: type: string + description: Mapping of case priority values to ServiceNow impact values type: object sync_type: + description: The type of synchronization to apply for priority type: string urgency_mapping: additionalProperties: type: string + description: Mapping of case priority values to ServiceNow urgency values type: object type: object IntegrationType: @@ -44821,7 +44865,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 +44895,6 @@ components: type: object x-pipeline-types: - logs - - metrics ObservabilityPipelineOpentelemetrySourceType: default: opentelemetry description: The source type. The value should always be `opentelemetry`. @@ -50442,6 +50485,7 @@ components: enabled_custom_case_types: description: List of enabled custom case type IDs items: + description: A custom case type identifier type: string type: array key: @@ -50462,24 +50506,31 @@ components: description: Project columns configuration properties: columns: + description: List of column configurations for the project board view items: $ref: '#/components/schemas/ProjectColumnsConfigColumnsItems' type: array type: object ProjectColumnsConfigColumnsItems: + description: Configuration for a single column in a project board view properties: sort: $ref: '#/components/schemas/ProjectColumnsConfigColumnsItemsSort' sort_field: + description: The field used to sort items in this column type: string type: + description: The type of column type: string type: object ProjectColumnsConfigColumnsItemsSort: + description: Sort configuration for a project board column properties: ascending: + description: Whether to sort in ascending order type: boolean priority: + description: The sort priority order for this column format: int64 type: integer type: object @@ -50500,6 +50551,7 @@ components: enabled_custom_case_types: description: List of enabled custom case type IDs items: + description: A custom case type identifier type: string type: array key: @@ -50531,24 +50583,34 @@ components: destinations: description: Notification destinations (1=email, 2=slack, 3=in-app) items: + description: Notification channel identifier (1=email, 2=slack, 3=in-app) type: integer type: array enabled: description: Whether notifications are enabled type: boolean notify_on_case_assignment: + description: Whether to send a notification when a case is assigned type: boolean notify_on_case_closed: + description: Whether to send a notification when a case is closed type: boolean notify_on_case_comment: + description: Whether to send a notification when a comment is added to a + case type: boolean notify_on_case_comment_mention: + description: Whether to send a notification when a user is mentioned in + a case comment type: boolean notify_on_case_priority_change: + description: Whether to send a notification when a case's priority changes type: boolean notify_on_case_status_change: + description: Whether to send a notification when a case's status changes type: boolean notify_on_case_unassignment: + description: Whether to send a notification when a case is unassigned type: boolean type: object ProjectRelationship: @@ -50633,6 +50695,7 @@ components: enabled_custom_case_types: description: List of enabled custom case type IDs items: + description: A custom case type identifier type: string type: array name: @@ -65686,6 +65749,7 @@ components: description: Sync property configuration properties: sync_type: + description: The direction and type of synchronization for this property type: string type: object SyncPropertyWithMapping: @@ -65694,12 +65758,15 @@ components: mapping: additionalProperties: type: string + description: Map of source values to destination values for synchronization type: object name_mapping: additionalProperties: type: string + description: Map of source names to display names used during synchronization type: object sync_type: + description: The direction and type of synchronization for this property type: string type: object SyntheticsGlobalVariable: 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/integration_incident.py b/src/datadog_api_client/v2/model/integration_incident.py index 10a674ba91..dbe3adda7b 100644 --- a/src/datadog_api_client/v2/model/integration_incident.py +++ b/src/datadog_api_client/v2/model/integration_incident.py @@ -68,13 +68,13 @@ def __init__( :param enabled: Whether incident integration is enabled :type enabled: bool, optional - :param field_mappings: + :param field_mappings: List of mappings between incident fields and case fields :type field_mappings: [IntegrationIncidentFieldMappingsItems], optional :param incident_type: Incident type :type incident_type: str, optional - :param severity_config: + :param severity_config: Severity configuration for mapping incident priorities to case priorities :type severity_config: IntegrationIncidentSeverityConfig, optional """ if auto_escalation_query is not unset: diff --git a/src/datadog_api_client/v2/model/integration_incident_field_mappings_items.py b/src/datadog_api_client/v2/model/integration_incident_field_mappings_items.py index af6c5dcf26..8610d5294d 100644 --- a/src/datadog_api_client/v2/model/integration_incident_field_mappings_items.py +++ b/src/datadog_api_client/v2/model/integration_incident_field_mappings_items.py @@ -33,12 +33,12 @@ def __init__( **kwargs, ): """ + Mapping between an incident user-defined field and a case field - - :param case_field: + :param case_field: The case field to map the incident field value to :type case_field: str, optional - :param incident_user_defined_field_id: + :param incident_user_defined_field_id: The identifier of the incident user-defined field to map from :type incident_user_defined_field_id: str, optional """ if case_field is not unset: diff --git a/src/datadog_api_client/v2/model/integration_incident_severity_config.py b/src/datadog_api_client/v2/model/integration_incident_severity_config.py index b8a470278a..3ca9e5de29 100644 --- a/src/datadog_api_client/v2/model/integration_incident_severity_config.py +++ b/src/datadog_api_client/v2/model/integration_incident_severity_config.py @@ -26,9 +26,9 @@ def openapi_types(_): def __init__(self_, priority_mapping: Union[Dict[str, str], UnsetType] = unset, **kwargs): """ + Severity configuration for mapping incident priorities to case priorities - - :param priority_mapping: + :param priority_mapping: Mapping of incident severity values to case priority values :type priority_mapping: {str: (str,)}, optional """ if priority_mapping is not unset: diff --git a/src/datadog_api_client/v2/model/integration_jira.py b/src/datadog_api_client/v2/model/integration_jira.py index 1cfa6a0480..72ce6e4ea8 100644 --- a/src/datadog_api_client/v2/model/integration_jira.py +++ b/src/datadog_api_client/v2/model/integration_jira.py @@ -51,16 +51,16 @@ def __init__( """ Jira integration settings - :param auto_creation: + :param auto_creation: Auto-creation settings for Jira issues from cases :type auto_creation: IntegrationJiraAutoCreation, optional :param enabled: Whether Jira integration is enabled :type enabled: bool, optional - :param metadata: + :param metadata: Metadata for connecting a case management project to a Jira project :type metadata: IntegrationJiraMetadata, optional - :param sync: + :param sync: Synchronization configuration for Jira integration :type sync: IntegrationJiraSync, optional """ if auto_creation is not unset: diff --git a/src/datadog_api_client/v2/model/integration_jira_auto_creation.py b/src/datadog_api_client/v2/model/integration_jira_auto_creation.py index ea71a29452..36bbaa6964 100644 --- a/src/datadog_api_client/v2/model/integration_jira_auto_creation.py +++ b/src/datadog_api_client/v2/model/integration_jira_auto_creation.py @@ -26,9 +26,9 @@ def openapi_types(_): def __init__(self_, enabled: Union[bool, UnsetType] = unset, **kwargs): """ + Auto-creation settings for Jira issues from cases - - :param enabled: + :param enabled: Whether automatic Jira issue creation is enabled :type enabled: bool, optional """ if enabled is not unset: diff --git a/src/datadog_api_client/v2/model/integration_jira_metadata.py b/src/datadog_api_client/v2/model/integration_jira_metadata.py index d9c80fb5ce..39ff55eab2 100644 --- a/src/datadog_api_client/v2/model/integration_jira_metadata.py +++ b/src/datadog_api_client/v2/model/integration_jira_metadata.py @@ -36,15 +36,15 @@ def __init__( **kwargs, ): """ + Metadata for connecting a case management project to a Jira project - - :param account_id: + :param account_id: The Jira account identifier :type account_id: str, optional - :param issue_type_id: + :param issue_type_id: The Jira issue type identifier to use when creating issues :type issue_type_id: str, optional - :param project_id: + :param project_id: The Jira project identifier to associate with this case project :type project_id: str, optional """ if account_id is not unset: diff --git a/src/datadog_api_client/v2/model/integration_jira_sync.py b/src/datadog_api_client/v2/model/integration_jira_sync.py index 61cdfe1cc7..5ef6ce22a2 100644 --- a/src/datadog_api_client/v2/model/integration_jira_sync.py +++ b/src/datadog_api_client/v2/model/integration_jira_sync.py @@ -39,12 +39,12 @@ def __init__( **kwargs, ): """ + Synchronization configuration for Jira integration - - :param enabled: + :param enabled: Whether Jira field synchronization is enabled :type enabled: bool, optional - :param properties: + :param properties: Field synchronization properties for Jira integration :type properties: IntegrationJiraSyncProperties, optional """ if enabled is not unset: diff --git a/src/datadog_api_client/v2/model/integration_jira_sync_due_date.py b/src/datadog_api_client/v2/model/integration_jira_sync_due_date.py index 6fe92b0a56..e547bca8ff 100644 --- a/src/datadog_api_client/v2/model/integration_jira_sync_due_date.py +++ b/src/datadog_api_client/v2/model/integration_jira_sync_due_date.py @@ -30,12 +30,12 @@ def __init__( self_, jira_field_id: Union[str, UnsetType] = unset, sync_type: Union[str, UnsetType] = unset, **kwargs ): """ + Due date synchronization configuration for Jira integration - - :param jira_field_id: + :param jira_field_id: The Jira field identifier used to store the due date :type jira_field_id: str, optional - :param sync_type: + :param sync_type: The type of synchronization to apply for the due date field :type sync_type: str, optional """ if jira_field_id is not unset: diff --git a/src/datadog_api_client/v2/model/integration_jira_sync_properties.py b/src/datadog_api_client/v2/model/integration_jira_sync_properties.py index 536fad19a6..6a369245ca 100644 --- a/src/datadog_api_client/v2/model/integration_jira_sync_properties.py +++ b/src/datadog_api_client/v2/model/integration_jira_sync_properties.py @@ -69,7 +69,7 @@ def __init__( **kwargs, ): """ - + Field synchronization properties for Jira integration :param assignee: Sync property configuration :type assignee: SyncProperty, optional @@ -77,13 +77,13 @@ def __init__( :param comments: Sync property configuration :type comments: SyncProperty, optional - :param custom_fields: + :param custom_fields: Map of custom field identifiers to their sync configurations :type custom_fields: {str: (IntegrationJiraSyncPropertiesCustomFieldsAdditionalProperties,)}, optional :param description: Sync property configuration :type description: SyncProperty, optional - :param due_date: + :param due_date: Due date synchronization configuration for Jira integration :type due_date: IntegrationJiraSyncDueDate, optional :param priority: Sync property with mapping configuration diff --git a/src/datadog_api_client/v2/model/integration_jira_sync_properties_custom_fields_additional_properties.py b/src/datadog_api_client/v2/model/integration_jira_sync_properties_custom_fields_additional_properties.py index 858cb7758f..0f374da45c 100644 --- a/src/datadog_api_client/v2/model/integration_jira_sync_properties_custom_fields_additional_properties.py +++ b/src/datadog_api_client/v2/model/integration_jira_sync_properties_custom_fields_additional_properties.py @@ -48,9 +48,9 @@ def __init__( **kwargs, ): """ + Synchronization configuration for a Jira custom field - - :param sync_type: + :param sync_type: The type of synchronization to apply for this custom field :type sync_type: str, optional :param value: Represents any valid JSON value. diff --git a/src/datadog_api_client/v2/model/integration_on_call.py b/src/datadog_api_client/v2/model/integration_on_call.py index 2579dfd7af..bff5fe685b 100644 --- a/src/datadog_api_client/v2/model/integration_on_call.py +++ b/src/datadog_api_client/v2/model/integration_on_call.py @@ -54,7 +54,7 @@ def __init__( :param enabled: Whether On-Call integration is enabled :type enabled: bool, optional - :param escalation_queries: + :param escalation_queries: List of escalation queries for routing cases to on-call responders :type escalation_queries: [IntegrationOnCallEscalationQueriesItems], optional """ if auto_assign_on_call is not unset: diff --git a/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items.py b/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items.py index d28386944a..30c3883a2d 100644 --- a/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items.py +++ b/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items.py @@ -49,18 +49,18 @@ def __init__( **kwargs, ): """ + An On-Call escalation query entry used to route cases to on-call responders - - :param enabled: + :param enabled: Whether this escalation query is enabled :type enabled: bool, optional - :param id: + :param id: Unique identifier of the escalation query :type id: str, optional - :param query: + :param query: The query used to match cases for escalation :type query: str, optional - :param target: + :param target: The target recipient for an On-Call escalation query :type target: IntegrationOnCallEscalationQueriesItemsTarget, optional """ if enabled is not unset: diff --git a/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items_target.py b/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items_target.py index d9cf0d3d3c..901336be8c 100644 --- a/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items_target.py +++ b/src/datadog_api_client/v2/model/integration_on_call_escalation_queries_items_target.py @@ -36,15 +36,15 @@ def __init__( **kwargs, ): """ + The target recipient for an On-Call escalation query - - :param dynamic_team_paging: + :param dynamic_team_paging: Whether to use dynamic team paging for escalation :type dynamic_team_paging: bool, optional - :param team_id: + :param team_id: The identifier of the team to escalate to :type team_id: str, optional - :param user_id: + :param user_id: The identifier of the user to escalate to :type user_id: str, optional """ if dynamic_team_paging is not unset: diff --git a/src/datadog_api_client/v2/model/integration_service_now.py b/src/datadog_api_client/v2/model/integration_service_now.py index 9b8d297148..60e06a5c38 100644 --- a/src/datadog_api_client/v2/model/integration_service_now.py +++ b/src/datadog_api_client/v2/model/integration_service_now.py @@ -55,7 +55,7 @@ def __init__( :param assignment_group: Assignment group :type assignment_group: str, optional - :param auto_creation: + :param auto_creation: Auto-creation settings for ServiceNow incidents from cases :type auto_creation: IntegrationServiceNowAutoCreation, optional :param enabled: Whether ServiceNow integration is enabled @@ -64,7 +64,7 @@ def __init__( :param instance_name: ServiceNow instance name :type instance_name: str, optional - :param sync_config: + :param sync_config: Synchronization configuration for ServiceNow integration :type sync_config: IntegrationServiceNowSyncConfig, optional """ if assignment_group is not unset: diff --git a/src/datadog_api_client/v2/model/integration_service_now_auto_creation.py b/src/datadog_api_client/v2/model/integration_service_now_auto_creation.py index 79e21829ad..d4d5fe6e15 100644 --- a/src/datadog_api_client/v2/model/integration_service_now_auto_creation.py +++ b/src/datadog_api_client/v2/model/integration_service_now_auto_creation.py @@ -26,9 +26,9 @@ def openapi_types(_): def __init__(self_, enabled: Union[bool, UnsetType] = unset, **kwargs): """ + Auto-creation settings for ServiceNow incidents from cases - - :param enabled: + :param enabled: Whether automatic ServiceNow incident creation is enabled :type enabled: bool, optional """ if enabled is not unset: diff --git a/src/datadog_api_client/v2/model/integration_service_now_sync_config.py b/src/datadog_api_client/v2/model/integration_service_now_sync_config.py index 6042332ba9..ab94f787cc 100644 --- a/src/datadog_api_client/v2/model/integration_service_now_sync_config.py +++ b/src/datadog_api_client/v2/model/integration_service_now_sync_config.py @@ -43,12 +43,12 @@ def __init__( **kwargs, ): """ + Synchronization configuration for ServiceNow integration - - :param enabled: + :param enabled: Whether ServiceNow synchronization is enabled :type enabled: bool, optional - :param properties: + :param properties: Field-level synchronization properties for ServiceNow integration :type properties: IntegrationServiceNowSyncConfig139772721534496, optional """ if enabled is not unset: diff --git a/src/datadog_api_client/v2/model/integration_service_now_sync_config139772721534496.py b/src/datadog_api_client/v2/model/integration_service_now_sync_config139772721534496.py index 5b142ff2fc..481657c374 100644 --- a/src/datadog_api_client/v2/model/integration_service_now_sync_config139772721534496.py +++ b/src/datadog_api_client/v2/model/integration_service_now_sync_config139772721534496.py @@ -50,12 +50,12 @@ def __init__( **kwargs, ): """ - + Field-level synchronization properties for ServiceNow integration :param comments: Sync property configuration :type comments: SyncProperty, optional - :param priority: + :param priority: Priority synchronization configuration for ServiceNow integration :type priority: IntegrationServiceNowSyncConfigPriority, optional :param status: Sync property with mapping configuration diff --git a/src/datadog_api_client/v2/model/integration_service_now_sync_config_priority.py b/src/datadog_api_client/v2/model/integration_service_now_sync_config_priority.py index 67347e78f8..cf7d9a1ecb 100644 --- a/src/datadog_api_client/v2/model/integration_service_now_sync_config_priority.py +++ b/src/datadog_api_client/v2/model/integration_service_now_sync_config_priority.py @@ -36,15 +36,15 @@ def __init__( **kwargs, ): """ + Priority synchronization configuration for ServiceNow integration - - :param impact_mapping: + :param impact_mapping: Mapping of case priority values to ServiceNow impact values :type impact_mapping: {str: (str,)}, optional - :param sync_type: + :param sync_type: The type of synchronization to apply for priority :type sync_type: str, optional - :param urgency_mapping: + :param urgency_mapping: Mapping of case priority values to ServiceNow urgency values :type urgency_mapping: {str: (str,)}, optional """ if impact_mapping 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/project_columns_config.py b/src/datadog_api_client/v2/model/project_columns_config.py index 24bd5a5098..9ab238773c 100644 --- a/src/datadog_api_client/v2/model/project_columns_config.py +++ b/src/datadog_api_client/v2/model/project_columns_config.py @@ -34,7 +34,7 @@ def __init__(self_, columns: Union[List[ProjectColumnsConfigColumnsItems], Unset """ Project columns configuration - :param columns: + :param columns: List of column configurations for the project board view :type columns: [ProjectColumnsConfigColumnsItems], optional """ if columns is not unset: diff --git a/src/datadog_api_client/v2/model/project_columns_config_columns_items.py b/src/datadog_api_client/v2/model/project_columns_config_columns_items.py index c9057f0e98..acd4aa49c5 100644 --- a/src/datadog_api_client/v2/model/project_columns_config_columns_items.py +++ b/src/datadog_api_client/v2/model/project_columns_config_columns_items.py @@ -46,15 +46,15 @@ def __init__( **kwargs, ): """ + Configuration for a single column in a project board view - - :param sort: + :param sort: Sort configuration for a project board column :type sort: ProjectColumnsConfigColumnsItemsSort, optional - :param sort_field: + :param sort_field: The field used to sort items in this column :type sort_field: str, optional - :param type: + :param type: The type of column :type type: str, optional """ if sort is not unset: diff --git a/src/datadog_api_client/v2/model/project_columns_config_columns_items_sort.py b/src/datadog_api_client/v2/model/project_columns_config_columns_items_sort.py index e65dbfa68f..b3883f7ab4 100644 --- a/src/datadog_api_client/v2/model/project_columns_config_columns_items_sort.py +++ b/src/datadog_api_client/v2/model/project_columns_config_columns_items_sort.py @@ -28,12 +28,12 @@ def openapi_types(_): def __init__(self_, ascending: Union[bool, UnsetType] = unset, priority: Union[int, UnsetType] = unset, **kwargs): """ + Sort configuration for a project board column - - :param ascending: + :param ascending: Whether to sort in ascending order :type ascending: bool, optional - :param priority: + :param priority: The sort priority order for this column :type priority: int, optional """ if ascending is not unset: diff --git a/src/datadog_api_client/v2/model/project_notification_settings.py b/src/datadog_api_client/v2/model/project_notification_settings.py index b8405ef812..f1cdc815a6 100644 --- a/src/datadog_api_client/v2/model/project_notification_settings.py +++ b/src/datadog_api_client/v2/model/project_notification_settings.py @@ -62,25 +62,25 @@ def __init__( :param enabled: Whether notifications are enabled :type enabled: bool, optional - :param notify_on_case_assignment: + :param notify_on_case_assignment: Whether to send a notification when a case is assigned :type notify_on_case_assignment: bool, optional - :param notify_on_case_closed: + :param notify_on_case_closed: Whether to send a notification when a case is closed :type notify_on_case_closed: bool, optional - :param notify_on_case_comment: + :param notify_on_case_comment: Whether to send a notification when a comment is added to a case :type notify_on_case_comment: bool, optional - :param notify_on_case_comment_mention: + :param notify_on_case_comment_mention: Whether to send a notification when a user is mentioned in a case comment :type notify_on_case_comment_mention: bool, optional - :param notify_on_case_priority_change: + :param notify_on_case_priority_change: Whether to send a notification when a case's priority changes :type notify_on_case_priority_change: bool, optional - :param notify_on_case_status_change: + :param notify_on_case_status_change: Whether to send a notification when a case's status changes :type notify_on_case_status_change: bool, optional - :param notify_on_case_unassignment: + :param notify_on_case_unassignment: Whether to send a notification when a case is unassigned :type notify_on_case_unassignment: bool, optional """ if destinations is not unset: diff --git a/src/datadog_api_client/v2/model/sync_property.py b/src/datadog_api_client/v2/model/sync_property.py index d507aa6d6a..7b32b64a13 100644 --- a/src/datadog_api_client/v2/model/sync_property.py +++ b/src/datadog_api_client/v2/model/sync_property.py @@ -28,7 +28,7 @@ def __init__(self_, sync_type: Union[str, UnsetType] = unset, **kwargs): """ Sync property configuration - :param sync_type: + :param sync_type: The direction and type of synchronization for this property :type sync_type: str, optional """ if sync_type is not unset: diff --git a/src/datadog_api_client/v2/model/sync_property_with_mapping.py b/src/datadog_api_client/v2/model/sync_property_with_mapping.py index f9464f15f0..ceb6ce3a21 100644 --- a/src/datadog_api_client/v2/model/sync_property_with_mapping.py +++ b/src/datadog_api_client/v2/model/sync_property_with_mapping.py @@ -38,13 +38,13 @@ def __init__( """ Sync property with mapping configuration - :param mapping: + :param mapping: Map of source values to destination values for synchronization :type mapping: {str: (str,)}, optional - :param name_mapping: + :param name_mapping: Map of source names to display names used during synchronization :type name_mapping: {str: (str,)}, optional - :param sync_type: + :param sync_type: The direction and type of synchronization for this property :type sync_type: str, optional """ if mapping 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