From 1fbb5ca03ec046193c09c685840dc0cd7c0d7194 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 11 Mar 2026 17:18:29 +0000 Subject: [PATCH] Regenerate client from commit 6dd07eb of spec repo --- .generator/schemas/v2/openapi.yaml | 134 +++++++++++++++++- ...elemetry-source-returns-OK-response.frozen | 1 - ...entelemetry-source-returns-OK-response.yml | 27 ---- .../ValidatePipeline_884022323.rb | 50 ------- features/v2/observability_pipelines.feature | 8 -- ...rvability_pipeline_opentelemetry_source.rb | 2 +- lib/datadog_api_client/v2/models/playlist.rb | 4 +- .../v2/models/playlist_array.rb | 4 +- .../v2/models/playlist_data.rb | 6 +- .../v2/models/playlist_data_attributes.rb | 14 +- .../playlist_data_attributes_created_by.rb | 12 +- .../v2/models/playlists_session.rb | 4 +- .../v2/models/playlists_session_array.rb | 4 +- .../v2/models/playlists_session_data.rb | 6 +- .../playlists_session_data_attributes.rb | 6 +- .../v2/models/session_id_array.rb | 4 +- .../v2/models/session_id_data.rb | 4 +- lib/datadog_api_client/v2/models/snapshot.rb | 4 +- .../v2/models/snapshot_array.rb | 4 +- .../v2/models/snapshot_create_request.rb | 4 +- .../v2/models/snapshot_create_request_data.rb | 4 +- ...snapshot_create_request_data_attributes.rb | 20 +-- .../v2/models/snapshot_data.rb | 6 +- .../v2/models/snapshot_data_attributes.rb | 32 ++--- .../v2/models/snapshot_update_request.rb | 4 +- .../v2/models/snapshot_update_request_data.rb | 6 +- ...snapshot_update_request_data_attributes.rb | 12 +- .../viewership_history_session_array.rb | 4 +- .../models/viewership_history_session_data.rb | 6 +- ...wership_history_session_data_attributes.rb | 10 +- lib/datadog_api_client/v2/models/watch.rb | 4 +- .../v2/models/watch_data.rb | 6 +- .../v2/models/watch_data_attributes.rb | 10 +- .../v2/models/watcher_array.rb | 4 +- .../v2/models/watcher_data.rb | 6 +- .../v2/models/watcher_data_attributes.rb | 12 +- 36 files changed, 246 insertions(+), 202 deletions(-) delete mode 100644 cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.frozen delete mode 100644 cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml delete mode 100644 examples/v2/observability-pipelines/ValidatePipeline_884022323.rb diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3bec741a1267..f14b1e8e65a8 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -44821,7 +44821,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 +44851,6 @@ components: type: object x-pipeline-types: - logs - - metrics ObservabilityPipelineOpentelemetrySourceType: default: opentelemetry description: The source type. The value should always be `opentelemetry`. @@ -49127,6 +49126,8 @@ components: x-enum-varnames: - PERMISSIONS Playlist: + description: A single RUM replay playlist resource returned by create, update, + or get operations. properties: data: $ref: '#/components/schemas/PlaylistData' @@ -49134,8 +49135,10 @@ components: - data type: object PlaylistArray: + description: A list of RUM replay playlists returned by a list operation. properties: data: + description: Array of playlist data objects. items: $ref: '#/components/schemas/PlaylistData' type: array @@ -49143,10 +49146,13 @@ components: - data type: object PlaylistData: + description: Data object representing a RUM replay playlist, including its identifier, + type, and attributes. properties: attributes: $ref: '#/components/schemas/PlaylistDataAttributes' id: + description: Unique identifier of the playlist. type: string type: $ref: '#/components/schemas/PlaylistDataType' @@ -49154,39 +49160,53 @@ components: - type type: object PlaylistDataAttributes: + description: Attributes of a RUM replay playlist, including its name, description, + session count, and audit timestamps. properties: created_at: + description: Timestamp when the playlist was created. format: date-time type: string created_by: $ref: '#/components/schemas/PlaylistDataAttributesCreatedBy' description: + description: Optional human-readable description of the playlist's purpose + or contents. type: string name: + description: Human-readable name of the playlist. example: My Playlist type: string session_count: + description: Number of replay sessions currently in the playlist. format: int64 type: integer updated_at: + description: Timestamp when the playlist was last updated. format: date-time type: string required: - name type: object PlaylistDataAttributesCreatedBy: + description: Information about the user who created the playlist. properties: handle: + description: Email handle of the user who created the playlist. example: john.doe@example.com type: string icon: + description: URL or identifier of the user's avatar icon. type: string id: + description: Unique identifier of the user who created the playlist. example: 00000000-0000-0000-0000-000000000001 type: string name: + description: Display name of the user who created the playlist. type: string uuid: + description: UUID of the user who created the playlist. example: 00000000-0000-0000-0000-000000000001 type: string required: @@ -49204,6 +49224,8 @@ components: x-enum-varnames: - RUM_REPLAY_PLAYLIST PlaylistsSession: + description: A single RUM replay session resource as it appears within a playlist + context. properties: data: $ref: '#/components/schemas/PlaylistsSessionData' @@ -49211,8 +49233,10 @@ components: - data type: object PlaylistsSessionArray: + description: A list of RUM replay sessions belonging to a playlist. properties: data: + description: Array of playlist session data objects. items: $ref: '#/components/schemas/PlaylistsSessionData' type: array @@ -49220,10 +49244,13 @@ components: - data type: object PlaylistsSessionData: + description: Data object representing a session within a playlist, including + its identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/PlaylistsSessionDataAttributes' id: + description: Unique identifier of the RUM replay session. type: string type: $ref: '#/components/schemas/ViewershipHistorySessionDataType' @@ -49231,11 +49258,16 @@ components: - type type: object PlaylistsSessionDataAttributes: + description: Attributes of a session within a playlist, including the session + event data and its replay track. properties: session_event: additionalProperties: {} + description: Raw event data associated with the replay session. type: object track: + description: Replay track identifier indicating which recording track the + session belongs to. type: string type: object PostmortemAttachmentRequest: @@ -62932,8 +62964,11 @@ components: - data type: object SessionIdArray: + description: A collection of session identifiers used for bulk add or remove + operations on a playlist. properties: data: + description: Array of session identifier data objects. items: $ref: '#/components/schemas/SessionIdData' type: array @@ -62941,8 +62976,10 @@ components: - data type: object SessionIdData: + description: A session identifier data object used for bulk playlist operations. properties: id: + description: Unique identifier of the RUM replay session. example: 00000000-0000-0000-0000-000000000001 type: string type: @@ -63461,13 +63498,17 @@ components: x-enum-varnames: - SLO_STATUS Snapshot: + description: A single heatmap snapshot resource returned by create or update + operations. properties: data: $ref: '#/components/schemas/SnapshotData' type: object SnapshotArray: + description: A list of heatmap snapshots returned by a list operation. properties: data: + description: Array of heatmap snapshot data objects. items: $ref: '#/components/schemas/SnapshotData' type: array @@ -63475,6 +63516,7 @@ components: - data type: object SnapshotCreateRequest: + description: Request body for creating a heatmap snapshot. properties: data: $ref: '#/components/schemas/SnapshotCreateRequestData' @@ -63482,6 +63524,8 @@ components: - data type: object SnapshotCreateRequestData: + description: Data object for a heatmap snapshot creation request, containing + the resource type and attributes. properties: attributes: $ref: '#/components/schemas/SnapshotCreateRequestDataAttributes' @@ -63491,31 +63535,45 @@ components: - type type: object SnapshotCreateRequestDataAttributes: + description: Attributes for creating a heatmap snapshot, including the view, + session, event, and device context. properties: application_id: + description: Unique identifier of the RUM application. example: aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb type: string device_type: + description: Device type used when capturing the snapshot (e.g., desktop, + mobile, tablet). example: desktop type: string event_id: + description: Unique identifier of the RUM event associated with the snapshot. example: 11111111-2222-3333-4444-555555555555 type: string is_device_type_selected_by_user: + description: Indicates whether the device type was explicitly selected by + the user rather than auto-detected. example: false type: boolean session_id: + description: Unique identifier of the RUM session associated with the snapshot. type: string snapshot_name: + description: Human-readable name for the snapshot. example: My Snapshot type: string start: + description: Offset in milliseconds from the start of the session at which + the snapshot was captured. example: 0 format: int64 type: integer view_id: + description: Unique identifier of the RUM view associated with the snapshot. type: string view_name: + description: URL path or name of the view where the snapshot was captured. example: /home type: string required: @@ -63528,10 +63586,13 @@ components: - is_device_type_selected_by_user type: object SnapshotData: + description: Data object representing a heatmap snapshot, including its identifier, + type, and attributes. properties: attributes: $ref: '#/components/schemas/SnapshotDataAttributes' id: + description: Unique identifier of the heatmap snapshot. readOnly: true type: string type: @@ -63540,50 +63601,71 @@ components: - type type: object SnapshotDataAttributes: + description: Attributes of a heatmap snapshot, including view context, device + information, and audit metadata. properties: application_id: + description: Unique identifier of the RUM application. type: string created_at: + description: Timestamp when the snapshot was created. format: date-time readOnly: true type: string created_by: + description: Display name of the user who created the snapshot. readOnly: true type: string created_by_handle: + description: Email handle of the user who created the snapshot. readOnly: true type: string created_by_user_id: + description: Numeric identifier of the user who created the snapshot. format: int64 readOnly: true type: integer device_type: + description: Device type used when capturing the snapshot (e.g., desktop, + mobile, tablet). type: string event_id: + description: Unique identifier of the RUM event associated with the snapshot. type: string is_device_type_selected_by_user: + description: Indicates whether the device type was explicitly selected by + the user rather than auto-detected. type: boolean modified_at: + description: Timestamp when the snapshot was last modified. format: date-time readOnly: true type: string org_id: + description: Numeric identifier of the organization that owns the snapshot. format: int64 readOnly: true type: integer session_id: + description: Unique identifier of the RUM session associated with the snapshot. type: string snapshot_name: + description: Human-readable name for the snapshot. type: string start: + description: Offset in milliseconds from the start of the session at which + the snapshot was captured. format: int64 type: integer view_id: + description: Unique identifier of the RUM view associated with the snapshot. type: string view_name: + description: URL path or name of the view where the snapshot was captured. type: string type: object SnapshotUpdateRequest: + description: Request body for updating a heatmap snapshot. properties: data: $ref: '#/components/schemas/SnapshotUpdateRequestData' @@ -63591,10 +63673,13 @@ components: - data type: object SnapshotUpdateRequestData: + description: Data object for a heatmap snapshot update request, containing the + resource identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/SnapshotUpdateRequestDataAttributes' id: + description: Unique identifier of the heatmap snapshot to update. example: 00000000-0000-0000-0000-000000000001 type: string type: @@ -63603,20 +63688,29 @@ components: - type type: object SnapshotUpdateRequestDataAttributes: + description: Attributes for updating a heatmap snapshot, including event, session, + and view context. properties: event_id: + description: Unique identifier of the RUM event associated with the snapshot. example: 11111111-2222-3333-4444-555555555555 type: string is_device_type_selected_by_user: + description: Indicates whether the device type was explicitly selected by + the user rather than auto-detected. example: false type: boolean session_id: + description: Unique identifier of the RUM session associated with the snapshot. type: string start: + description: Offset in milliseconds from the start of the session at which + the snapshot was captured. example: 0 format: int64 type: integer view_id: + description: Unique identifier of the RUM view associated with the snapshot. type: string required: - event_id @@ -71641,8 +71735,10 @@ components: - UPDATE - DELETE ViewershipHistorySessionArray: + description: A list of RUM replay sessions from a user's viewership history. properties: data: + description: Array of viewership history session data objects. items: $ref: '#/components/schemas/ViewershipHistorySessionData' type: array @@ -71650,10 +71746,13 @@ components: - data type: object ViewershipHistorySessionData: + description: Data object representing a session in the viewership history, including + its identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/ViewershipHistorySessionDataAttributes' id: + description: Unique identifier of the RUM replay session. type: string type: $ref: '#/components/schemas/ViewershipHistorySessionDataType' @@ -71661,17 +71760,25 @@ components: - type type: object ViewershipHistorySessionDataAttributes: + description: Attributes of a viewership history session entry, capturing when + it was last watched and the associated event data. properties: event_id: + description: Unique identifier of the RUM event associated with the watched + session. type: string last_watched_at: + description: Timestamp when the session was last watched by the user. example: '2026-01-13T17:15:53.208340Z' format: date-time type: string session_event: additionalProperties: {} + description: Raw event data associated with the replay session. type: object track: + description: Replay track identifier indicating which recording track the + session belongs to. type: string required: - last_watched_at @@ -72174,6 +72281,7 @@ components: - X_PATH_INJECTION - XSS Watch: + description: A single RUM replay session watch resource returned by create operations. properties: data: $ref: '#/components/schemas/WatchData' @@ -72181,10 +72289,13 @@ components: - data type: object WatchData: + description: Data object representing a session watch record, including its + identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/WatchDataAttributes' id: + description: Unique identifier of the watch record. type: string type: $ref: '#/components/schemas/WatchDataType' @@ -72192,16 +72303,23 @@ components: - type type: object WatchDataAttributes: + description: Attributes for recording a session watch event, including the application, + event reference, and timestamp. properties: application_id: + description: Unique identifier of the RUM application containing the session. example: aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb type: string data_source: + description: Data source type indicating the origin of the session data + (e.g., rum or product_analytics). type: string event_id: + description: Unique identifier of the RUM event that was watched. example: 11111111-2222-3333-4444-555555555555 type: string timestamp: + description: Timestamp when the session was watched. example: '2026-01-13T17:15:53.208340Z' format: date-time type: string @@ -72220,8 +72338,10 @@ components: x-enum-varnames: - RUM_REPLAY_WATCH WatcherArray: + description: A list of users who have watched a RUM replay session. properties: data: + description: Array of watcher data objects. items: $ref: '#/components/schemas/WatcherData' type: array @@ -72229,10 +72349,13 @@ components: - data type: object WatcherData: + description: Data object representing a session watcher, including their identifier, + type, and attributes. properties: attributes: $ref: '#/components/schemas/WatcherDataAttributes' id: + description: Unique identifier of the watcher user. type: string type: $ref: '#/components/schemas/WatcherDataType' @@ -72240,19 +72363,26 @@ components: - type type: object WatcherDataAttributes: + description: Attributes of a user who has watched a RUM replay session, including + contact information and watch statistics. properties: handle: + description: Email handle of the user who watched the session. example: john.doe@example.com type: string icon: + description: URL or identifier of the watcher's avatar icon. type: string last_watched_at: + description: Timestamp when the watcher last viewed the session. example: '2026-01-13T17:15:53.208340Z' format: date-time type: string name: + description: Display name of the user who watched the session. type: string watch_count: + description: Total number of times the user has watched the session. example: 0 format: int32 maximum: 2147483647 diff --git a/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.frozen b/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.frozen deleted file mode 100644 index 9218d08a363b..000000000000 --- a/cassettes/features/v2/observability_pipelines/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/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml b/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml deleted file mode 100644 index 1c8db742f78a..000000000000 --- a/cassettes/features/v2/observability_pipelines/Validate-a-metrics-pipeline-with-opentelemetry-source-returns-OK-response.yml +++ /dev/null @@ -1,27 +0,0 @@ -http_interactions: -- recorded_at: Tue, 10 Mar 2026 16:11:47 GMT - request: - body: - encoding: UTF-8 - string: '{"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: - encoding: UTF-8 - string: '{"errors":[]} - - ' - headers: - Content-Type: - - application/vnd.api+json - status: - code: 200 - message: OK -recorded_with: VCR 6.0.0 diff --git a/examples/v2/observability-pipelines/ValidatePipeline_884022323.rb b/examples/v2/observability-pipelines/ValidatePipeline_884022323.rb deleted file mode 100644 index 0a6c3d0e78a5..000000000000 --- a/examples/v2/observability-pipelines/ValidatePipeline_884022323.rb +++ /dev/null @@ -1,50 +0,0 @@ -# Validate a metrics pipeline with opentelemetry source returns "OK" response - -require "datadog_api_client" -api_instance = DatadogAPIClient::V2::ObservabilityPipelinesAPI.new - -body = DatadogAPIClient::V2::ObservabilityPipelineSpec.new({ - data: DatadogAPIClient::V2::ObservabilityPipelineSpecData.new({ - attributes: DatadogAPIClient::V2::ObservabilityPipelineDataAttributes.new({ - config: DatadogAPIClient::V2::ObservabilityPipelineConfig.new({ - pipeline_type: DatadogAPIClient::V2::ObservabilityPipelineConfigPipelineType::METRICS, - destinations: [ - DatadogAPIClient::V2::ObservabilityPipelineDatadogMetricsDestination.new({ - id: "datadog-metrics-destination", - inputs: [ - "my-processor-group", - ], - type: DatadogAPIClient::V2::ObservabilityPipelineDatadogMetricsDestinationType::DATADOG_METRICS, - }), - ], - processor_groups: [ - DatadogAPIClient::V2::ObservabilityPipelineConfigProcessorGroup.new({ - enabled: true, - id: "my-processor-group", - include: "*", - inputs: [ - "opentelemetry-source", - ], - processors: [ - DatadogAPIClient::V2::ObservabilityPipelineFilterProcessor.new({ - enabled: true, - id: "filter-processor", - include: "env:production", - type: DatadogAPIClient::V2::ObservabilityPipelineFilterProcessorType::FILTER, - }), - ], - }), - ], - sources: [ - DatadogAPIClient::V2::ObservabilityPipelineOpentelemetrySource.new({ - id: "opentelemetry-source", - type: DatadogAPIClient::V2::ObservabilityPipelineOpentelemetrySourceType::OPENTELEMETRY, - }), - ], - }), - name: "Metrics OTel Pipeline", - }), - type: "pipelines", - }), -}) -p api_instance.validate_pipeline(body) diff --git a/features/v2/observability_pipelines.feature b/features/v2/observability_pipelines.feature index e272303955a0..bf90c06c1399 100644 --- a/features/v2/observability_pipelines.feature +++ b/features/v2/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 diff --git a/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb b/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb index 6df608ca1081..8404b77f9341 100644 --- a/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb +++ b/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb @@ -19,7 +19,7 @@ module DatadogAPIClient::V2 # The `opentelemetry` source receives telemetry data using the OpenTelemetry Protocol (OTLP) over gRPC and HTTP. # - # **Supported pipeline types:** logs, metrics + # **Supported pipeline types:** logs class ObservabilityPipelineOpentelemetrySource include BaseGenericModel diff --git a/lib/datadog_api_client/v2/models/playlist.rb b/lib/datadog_api_client/v2/models/playlist.rb index 25b779b3f420..d88eafd3af31 100644 --- a/lib/datadog_api_client/v2/models/playlist.rb +++ b/lib/datadog_api_client/v2/models/playlist.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A single RUM replay playlist resource returned by create, update, or get operations. class Playlist include BaseGenericModel - # + # Data object representing a RUM replay playlist, including its identifier, type, and attributes. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/playlist_array.rb b/lib/datadog_api_client/v2/models/playlist_array.rb index 67e42173614e..eae6cd9550e4 100644 --- a/lib/datadog_api_client/v2/models/playlist_array.rb +++ b/lib/datadog_api_client/v2/models/playlist_array.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A list of RUM replay playlists returned by a list operation. class PlaylistArray include BaseGenericModel - # + # Array of playlist data objects. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/playlist_data.rb b/lib/datadog_api_client/v2/models/playlist_data.rb index 08df0efaafdd..f7ee074d673f 100644 --- a/lib/datadog_api_client/v2/models/playlist_data.rb +++ b/lib/datadog_api_client/v2/models/playlist_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object representing a RUM replay playlist, including its identifier, type, and attributes. class PlaylistData include BaseGenericModel - # + # Attributes of a RUM replay playlist, including its name, description, session count, and audit timestamps. attr_accessor :attributes - # + # Unique identifier of the playlist. attr_accessor :id # Rum replay playlist resource type. diff --git a/lib/datadog_api_client/v2/models/playlist_data_attributes.rb b/lib/datadog_api_client/v2/models/playlist_data_attributes.rb index d8d8d84341bb..d7c63ce00c8c 100644 --- a/lib/datadog_api_client/v2/models/playlist_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/playlist_data_attributes.rb @@ -17,26 +17,26 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes of a RUM replay playlist, including its name, description, session count, and audit timestamps. class PlaylistDataAttributes include BaseGenericModel - # + # Timestamp when the playlist was created. attr_accessor :created_at - # + # Information about the user who created the playlist. attr_accessor :created_by - # + # Optional human-readable description of the playlist's purpose or contents. attr_accessor :description - # + # Human-readable name of the playlist. attr_reader :name - # + # Number of replay sessions currently in the playlist. attr_accessor :session_count - # + # Timestamp when the playlist was last updated. attr_accessor :updated_at attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/playlist_data_attributes_created_by.rb b/lib/datadog_api_client/v2/models/playlist_data_attributes_created_by.rb index c24ba770393f..1833e5b18f68 100644 --- a/lib/datadog_api_client/v2/models/playlist_data_attributes_created_by.rb +++ b/lib/datadog_api_client/v2/models/playlist_data_attributes_created_by.rb @@ -17,23 +17,23 @@ require 'time' module DatadogAPIClient::V2 - # + # Information about the user who created the playlist. class PlaylistDataAttributesCreatedBy include BaseGenericModel - # + # Email handle of the user who created the playlist. attr_reader :handle - # + # URL or identifier of the user's avatar icon. attr_accessor :icon - # + # Unique identifier of the user who created the playlist. attr_reader :id - # + # Display name of the user who created the playlist. attr_accessor :name - # + # UUID of the user who created the playlist. attr_reader :uuid attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/playlists_session.rb b/lib/datadog_api_client/v2/models/playlists_session.rb index b65aa6924cea..9930cd688416 100644 --- a/lib/datadog_api_client/v2/models/playlists_session.rb +++ b/lib/datadog_api_client/v2/models/playlists_session.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A single RUM replay session resource as it appears within a playlist context. class PlaylistsSession include BaseGenericModel - # + # Data object representing a session within a playlist, including its identifier, type, and attributes. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/playlists_session_array.rb b/lib/datadog_api_client/v2/models/playlists_session_array.rb index 13045b334a66..750cf8562416 100644 --- a/lib/datadog_api_client/v2/models/playlists_session_array.rb +++ b/lib/datadog_api_client/v2/models/playlists_session_array.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A list of RUM replay sessions belonging to a playlist. class PlaylistsSessionArray include BaseGenericModel - # + # Array of playlist session data objects. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/playlists_session_data.rb b/lib/datadog_api_client/v2/models/playlists_session_data.rb index bca8c7ecf462..c578826dda56 100644 --- a/lib/datadog_api_client/v2/models/playlists_session_data.rb +++ b/lib/datadog_api_client/v2/models/playlists_session_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object representing a session within a playlist, including its identifier, type, and attributes. class PlaylistsSessionData include BaseGenericModel - # + # Attributes of a session within a playlist, including the session event data and its replay track. attr_accessor :attributes - # + # Unique identifier of the RUM replay session. attr_accessor :id # Rum replay session resource type. diff --git a/lib/datadog_api_client/v2/models/playlists_session_data_attributes.rb b/lib/datadog_api_client/v2/models/playlists_session_data_attributes.rb index 8abd7f69dce8..b5e6777395c1 100644 --- a/lib/datadog_api_client/v2/models/playlists_session_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/playlists_session_data_attributes.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes of a session within a playlist, including the session event data and its replay track. class PlaylistsSessionDataAttributes include BaseGenericModel - # + # Raw event data associated with the replay session. attr_accessor :session_event - # + # Replay track identifier indicating which recording track the session belongs to. attr_accessor :track attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/session_id_array.rb b/lib/datadog_api_client/v2/models/session_id_array.rb index da99831894b2..ce51f1ff9efe 100644 --- a/lib/datadog_api_client/v2/models/session_id_array.rb +++ b/lib/datadog_api_client/v2/models/session_id_array.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A collection of session identifiers used for bulk add or remove operations on a playlist. class SessionIdArray include BaseGenericModel - # + # Array of session identifier data objects. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/session_id_data.rb b/lib/datadog_api_client/v2/models/session_id_data.rb index 6e26dbc1b86d..9fbd99f0b7fe 100644 --- a/lib/datadog_api_client/v2/models/session_id_data.rb +++ b/lib/datadog_api_client/v2/models/session_id_data.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A session identifier data object used for bulk playlist operations. class SessionIdData include BaseGenericModel - # + # Unique identifier of the RUM replay session. attr_accessor :id # Rum replay session resource type. diff --git a/lib/datadog_api_client/v2/models/snapshot.rb b/lib/datadog_api_client/v2/models/snapshot.rb index da8f9715c147..162261a137a2 100644 --- a/lib/datadog_api_client/v2/models/snapshot.rb +++ b/lib/datadog_api_client/v2/models/snapshot.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A single heatmap snapshot resource returned by create or update operations. class Snapshot include BaseGenericModel - # + # Data object representing a heatmap snapshot, including its identifier, type, and attributes. attr_accessor :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/snapshot_array.rb b/lib/datadog_api_client/v2/models/snapshot_array.rb index 777cdd06931d..e6c0169d3b98 100644 --- a/lib/datadog_api_client/v2/models/snapshot_array.rb +++ b/lib/datadog_api_client/v2/models/snapshot_array.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A list of heatmap snapshots returned by a list operation. class SnapshotArray include BaseGenericModel - # + # Array of heatmap snapshot data objects. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/snapshot_create_request.rb b/lib/datadog_api_client/v2/models/snapshot_create_request.rb index 9de743a73116..b6120d4dc9e9 100644 --- a/lib/datadog_api_client/v2/models/snapshot_create_request.rb +++ b/lib/datadog_api_client/v2/models/snapshot_create_request.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # Request body for creating a heatmap snapshot. class SnapshotCreateRequest include BaseGenericModel - # + # Data object for a heatmap snapshot creation request, containing the resource type and attributes. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/snapshot_create_request_data.rb b/lib/datadog_api_client/v2/models/snapshot_create_request_data.rb index a080d5c3faba..06c1e67af465 100644 --- a/lib/datadog_api_client/v2/models/snapshot_create_request_data.rb +++ b/lib/datadog_api_client/v2/models/snapshot_create_request_data.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object for a heatmap snapshot creation request, containing the resource type and attributes. class SnapshotCreateRequestData include BaseGenericModel - # + # Attributes for creating a heatmap snapshot, including the view, session, event, and device context. attr_accessor :attributes # Snapshots resource type. diff --git a/lib/datadog_api_client/v2/models/snapshot_create_request_data_attributes.rb b/lib/datadog_api_client/v2/models/snapshot_create_request_data_attributes.rb index 31877c0d33e9..d82ac6212f5b 100644 --- a/lib/datadog_api_client/v2/models/snapshot_create_request_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/snapshot_create_request_data_attributes.rb @@ -17,35 +17,35 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes for creating a heatmap snapshot, including the view, session, event, and device context. class SnapshotCreateRequestDataAttributes include BaseGenericModel - # + # Unique identifier of the RUM application. attr_reader :application_id - # + # Device type used when capturing the snapshot (e.g., desktop, mobile, tablet). attr_reader :device_type - # + # Unique identifier of the RUM event associated with the snapshot. attr_reader :event_id - # + # Indicates whether the device type was explicitly selected by the user rather than auto-detected. attr_reader :is_device_type_selected_by_user - # + # Unique identifier of the RUM session associated with the snapshot. attr_accessor :session_id - # + # Human-readable name for the snapshot. attr_reader :snapshot_name - # + # Offset in milliseconds from the start of the session at which the snapshot was captured. attr_reader :start - # + # Unique identifier of the RUM view associated with the snapshot. attr_accessor :view_id - # + # URL path or name of the view where the snapshot was captured. attr_reader :view_name attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/snapshot_data.rb b/lib/datadog_api_client/v2/models/snapshot_data.rb index 31012f5f8241..3f564b143332 100644 --- a/lib/datadog_api_client/v2/models/snapshot_data.rb +++ b/lib/datadog_api_client/v2/models/snapshot_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object representing a heatmap snapshot, including its identifier, type, and attributes. class SnapshotData include BaseGenericModel - # + # Attributes of a heatmap snapshot, including view context, device information, and audit metadata. attr_accessor :attributes - # + # Unique identifier of the heatmap snapshot. attr_accessor :id # Snapshots resource type. diff --git a/lib/datadog_api_client/v2/models/snapshot_data_attributes.rb b/lib/datadog_api_client/v2/models/snapshot_data_attributes.rb index 72fe3dae0217..c82195629685 100644 --- a/lib/datadog_api_client/v2/models/snapshot_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/snapshot_data_attributes.rb @@ -17,53 +17,53 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes of a heatmap snapshot, including view context, device information, and audit metadata. class SnapshotDataAttributes include BaseGenericModel - # + # Unique identifier of the RUM application. attr_accessor :application_id - # + # Timestamp when the snapshot was created. attr_accessor :created_at - # + # Display name of the user who created the snapshot. attr_accessor :created_by - # + # Email handle of the user who created the snapshot. attr_accessor :created_by_handle - # + # Numeric identifier of the user who created the snapshot. attr_accessor :created_by_user_id - # + # Device type used when capturing the snapshot (e.g., desktop, mobile, tablet). attr_accessor :device_type - # + # Unique identifier of the RUM event associated with the snapshot. attr_accessor :event_id - # + # Indicates whether the device type was explicitly selected by the user rather than auto-detected. attr_accessor :is_device_type_selected_by_user - # + # Timestamp when the snapshot was last modified. attr_accessor :modified_at - # + # Numeric identifier of the organization that owns the snapshot. attr_accessor :org_id - # + # Unique identifier of the RUM session associated with the snapshot. attr_accessor :session_id - # + # Human-readable name for the snapshot. attr_accessor :snapshot_name - # + # Offset in milliseconds from the start of the session at which the snapshot was captured. attr_accessor :start - # + # Unique identifier of the RUM view associated with the snapshot. attr_accessor :view_id - # + # URL path or name of the view where the snapshot was captured. attr_accessor :view_name attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/snapshot_update_request.rb b/lib/datadog_api_client/v2/models/snapshot_update_request.rb index 7744aa285b9d..fa3633e72c05 100644 --- a/lib/datadog_api_client/v2/models/snapshot_update_request.rb +++ b/lib/datadog_api_client/v2/models/snapshot_update_request.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # Request body for updating a heatmap snapshot. class SnapshotUpdateRequest include BaseGenericModel - # + # Data object for a heatmap snapshot update request, containing the resource identifier, type, and attributes. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/snapshot_update_request_data.rb b/lib/datadog_api_client/v2/models/snapshot_update_request_data.rb index 6d4b2cefe1ad..f6b902344c5c 100644 --- a/lib/datadog_api_client/v2/models/snapshot_update_request_data.rb +++ b/lib/datadog_api_client/v2/models/snapshot_update_request_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object for a heatmap snapshot update request, containing the resource identifier, type, and attributes. class SnapshotUpdateRequestData include BaseGenericModel - # + # Attributes for updating a heatmap snapshot, including event, session, and view context. attr_accessor :attributes - # + # Unique identifier of the heatmap snapshot to update. attr_accessor :id # Snapshots resource type. diff --git a/lib/datadog_api_client/v2/models/snapshot_update_request_data_attributes.rb b/lib/datadog_api_client/v2/models/snapshot_update_request_data_attributes.rb index 427bf32afa01..41b63d50a3cc 100644 --- a/lib/datadog_api_client/v2/models/snapshot_update_request_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/snapshot_update_request_data_attributes.rb @@ -17,23 +17,23 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes for updating a heatmap snapshot, including event, session, and view context. class SnapshotUpdateRequestDataAttributes include BaseGenericModel - # + # Unique identifier of the RUM event associated with the snapshot. attr_reader :event_id - # + # Indicates whether the device type was explicitly selected by the user rather than auto-detected. attr_reader :is_device_type_selected_by_user - # + # Unique identifier of the RUM session associated with the snapshot. attr_accessor :session_id - # + # Offset in milliseconds from the start of the session at which the snapshot was captured. attr_reader :start - # + # Unique identifier of the RUM view associated with the snapshot. attr_accessor :view_id attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/viewership_history_session_array.rb b/lib/datadog_api_client/v2/models/viewership_history_session_array.rb index 27cbb3992480..84f2b7fc4216 100644 --- a/lib/datadog_api_client/v2/models/viewership_history_session_array.rb +++ b/lib/datadog_api_client/v2/models/viewership_history_session_array.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A list of RUM replay sessions from a user's viewership history. class ViewershipHistorySessionArray include BaseGenericModel - # + # Array of viewership history session data objects. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/viewership_history_session_data.rb b/lib/datadog_api_client/v2/models/viewership_history_session_data.rb index 8b7170da6062..15c7f65d2c44 100644 --- a/lib/datadog_api_client/v2/models/viewership_history_session_data.rb +++ b/lib/datadog_api_client/v2/models/viewership_history_session_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object representing a session in the viewership history, including its identifier, type, and attributes. class ViewershipHistorySessionData include BaseGenericModel - # + # Attributes of a viewership history session entry, capturing when it was last watched and the associated event data. attr_accessor :attributes - # + # Unique identifier of the RUM replay session. attr_accessor :id # Rum replay session resource type. diff --git a/lib/datadog_api_client/v2/models/viewership_history_session_data_attributes.rb b/lib/datadog_api_client/v2/models/viewership_history_session_data_attributes.rb index fb2069a5815c..6884a1b379b2 100644 --- a/lib/datadog_api_client/v2/models/viewership_history_session_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/viewership_history_session_data_attributes.rb @@ -17,20 +17,20 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes of a viewership history session entry, capturing when it was last watched and the associated event data. class ViewershipHistorySessionDataAttributes include BaseGenericModel - # + # Unique identifier of the RUM event associated with the watched session. attr_accessor :event_id - # + # Timestamp when the session was last watched by the user. attr_reader :last_watched_at - # + # Raw event data associated with the replay session. attr_accessor :session_event - # + # Replay track identifier indicating which recording track the session belongs to. attr_accessor :track attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/watch.rb b/lib/datadog_api_client/v2/models/watch.rb index 304dd159672b..083d61385dcf 100644 --- a/lib/datadog_api_client/v2/models/watch.rb +++ b/lib/datadog_api_client/v2/models/watch.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A single RUM replay session watch resource returned by create operations. class Watch include BaseGenericModel - # + # Data object representing a session watch record, including its identifier, type, and attributes. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/watch_data.rb b/lib/datadog_api_client/v2/models/watch_data.rb index e1c4f04cb86d..d69d238e6640 100644 --- a/lib/datadog_api_client/v2/models/watch_data.rb +++ b/lib/datadog_api_client/v2/models/watch_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object representing a session watch record, including its identifier, type, and attributes. class WatchData include BaseGenericModel - # + # Attributes for recording a session watch event, including the application, event reference, and timestamp. attr_accessor :attributes - # + # Unique identifier of the watch record. attr_accessor :id # Rum replay watch resource type. diff --git a/lib/datadog_api_client/v2/models/watch_data_attributes.rb b/lib/datadog_api_client/v2/models/watch_data_attributes.rb index 02191c801ae5..05d3f1018cde 100644 --- a/lib/datadog_api_client/v2/models/watch_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/watch_data_attributes.rb @@ -17,20 +17,20 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes for recording a session watch event, including the application, event reference, and timestamp. class WatchDataAttributes include BaseGenericModel - # + # Unique identifier of the RUM application containing the session. attr_reader :application_id - # + # Data source type indicating the origin of the session data (e.g., rum or product_analytics). attr_accessor :data_source - # + # Unique identifier of the RUM event that was watched. attr_reader :event_id - # + # Timestamp when the session was watched. attr_reader :timestamp attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/watcher_array.rb b/lib/datadog_api_client/v2/models/watcher_array.rb index 908fadd3a877..174962d4c7ba 100644 --- a/lib/datadog_api_client/v2/models/watcher_array.rb +++ b/lib/datadog_api_client/v2/models/watcher_array.rb @@ -17,11 +17,11 @@ require 'time' module DatadogAPIClient::V2 - # + # A list of users who have watched a RUM replay session. class WatcherArray include BaseGenericModel - # + # Array of watcher data objects. attr_reader :data attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/watcher_data.rb b/lib/datadog_api_client/v2/models/watcher_data.rb index f8e71382f928..528976af321c 100644 --- a/lib/datadog_api_client/v2/models/watcher_data.rb +++ b/lib/datadog_api_client/v2/models/watcher_data.rb @@ -17,14 +17,14 @@ require 'time' module DatadogAPIClient::V2 - # + # Data object representing a session watcher, including their identifier, type, and attributes. class WatcherData include BaseGenericModel - # + # Attributes of a user who has watched a RUM replay session, including contact information and watch statistics. attr_accessor :attributes - # + # Unique identifier of the watcher user. attr_accessor :id # Rum replay watcher resource type. diff --git a/lib/datadog_api_client/v2/models/watcher_data_attributes.rb b/lib/datadog_api_client/v2/models/watcher_data_attributes.rb index 3e20791931aa..9162896aba01 100644 --- a/lib/datadog_api_client/v2/models/watcher_data_attributes.rb +++ b/lib/datadog_api_client/v2/models/watcher_data_attributes.rb @@ -17,23 +17,23 @@ require 'time' module DatadogAPIClient::V2 - # + # Attributes of a user who has watched a RUM replay session, including contact information and watch statistics. class WatcherDataAttributes include BaseGenericModel - # + # Email handle of the user who watched the session. attr_reader :handle - # + # URL or identifier of the watcher's avatar icon. attr_accessor :icon - # + # Timestamp when the watcher last viewed the session. attr_reader :last_watched_at - # + # Display name of the user who watched the session. attr_accessor :name - # + # Total number of times the user has watched the session. attr_reader :watch_count attr_accessor :additional_properties