Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 49 additions & 49 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Create a new dashboard with sankey widget and RUM data source
Create a new dashboard with sankey widget and rum data source
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Scalar cross product query with RUM data source returns "OK" response
Scalar cross product query with rum data source returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Timeseries cross product query with RUM data source returns "OK" response
Timeseries cross product query with rum data source returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/rum-metrics/CreateRumMetric.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Create a RUM-based metric returns "Created" response
Create a rum-based metric returns "Created" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/rum-metrics/DeleteRumMetric.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Delete a RUM-based metric returns "No Content" response
Delete a rum-based metric returns "No Content" response
"""

from os import environ
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/rum-metrics/GetRumMetric.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Get a RUM-based metric returns "OK" response
Get a rum-based metric returns "OK" response
"""

from os import environ
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/rum-metrics/ListRumMetrics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Get all RUM-based metrics returns "OK" response
Get all rum-based metrics returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/rum-metrics/UpdateRumMetric.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Update a RUM-based metric returns "OK" response
Update a rum-based metric returns "OK" response
"""

from os import environ
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Add RUM replay session to playlist returns "OK" response
Add rum replay session to playlist returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Bulk remove RUM replay playlist sessions returns "No Content" response
Bulk remove rum replay playlist sessions returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Create RUM replay playlist returns "Created" response
Create rum replay playlist returns "Created" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Delete RUM replay playlist returns "No Content" response
Delete rum replay playlist returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/rum-replay-playlists/GetRumReplayPlaylist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Get RUM replay playlist returns "OK" response
Get rum replay playlist returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List RUM replay playlist sessions returns "OK" response
List rum replay playlist sessions returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List RUM replay playlists returns "OK" response
List rum replay playlists returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Remove RUM replay session from playlist returns "No Content" response
Remove rum replay session from playlist returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Update RUM replay playlist returns "OK" response
Update rum replay playlist returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Create RUM replay session watch returns "Created" response
Create rum replay session watch returns "Created" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Delete RUM replay session watch returns "No Content" response
Delete rum replay session watch returns "No Content" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List RUM replay session watchers returns "OK" response
List rum replay session watchers returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
List RUM replay viewership history sessions returns "OK" response
List rum replay viewership history sessions returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
Expand Down
34 changes: 17 additions & 17 deletions src/datadog_api_client/v2/api/rum_metrics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class RumMetricsApi:
"""
Manage configuration of `RUM-based metrics <https://app.datadoghq.com/rum/generate-metrics>`_ for your organization.
Manage configuration of `rum-based metrics <https://app.datadoghq.com/rum/generate-metrics>`_ for your organization.
"""

def __init__(self, api_client=None):
Expand Down Expand Up @@ -135,12 +135,12 @@ def create_rum_metric(
self,
body: RumMetricCreateRequest,
) -> RumMetricResponse:
"""Create a RUM-based metric.
"""Create a rum-based metric.

Create a metric based on your organization's RUM data.
Returns the RUM-based metric object from the request body when the request is successful.
Returns the rum-based metric object from the request body when the request is successful.

:param body: The definition of the new RUM-based metric.
:param body: The definition of the new rum-based metric.
:type body: RumMetricCreateRequest
:rtype: RumMetricResponse
"""
Expand All @@ -153,11 +153,11 @@ def delete_rum_metric(
self,
metric_id: str,
) -> None:
"""Delete a RUM-based metric.
"""Delete a rum-based metric.

Delete a specific RUM-based metric from your organization.
Delete a specific rum-based metric from your organization.

:param metric_id: The name of the RUM-based metric.
:param metric_id: The name of the rum-based metric.
:type metric_id: str
:rtype: None
"""
Expand All @@ -170,11 +170,11 @@ def get_rum_metric(
self,
metric_id: str,
) -> RumMetricResponse:
"""Get a RUM-based metric.
"""Get a rum-based metric.

Get a specific RUM-based metric from your organization.
Get a specific rum-based metric from your organization.

:param metric_id: The name of the RUM-based metric.
:param metric_id: The name of the rum-based metric.
:type metric_id: str
:rtype: RumMetricResponse
"""
Expand All @@ -186,9 +186,9 @@ def get_rum_metric(
def list_rum_metrics(
self,
) -> RumMetricsResponse:
"""Get all RUM-based metrics.
"""Get all rum-based metrics.

Get the list of configured RUM-based metrics with their definitions.
Get the list of configured rum-based metrics with their definitions.

:rtype: RumMetricsResponse
"""
Expand All @@ -200,14 +200,14 @@ def update_rum_metric(
metric_id: str,
body: RumMetricUpdateRequest,
) -> RumMetricResponse:
"""Update a RUM-based metric.
"""Update a rum-based metric.

Update a specific RUM-based metric from your organization.
Returns the RUM-based metric object from the request body when the request is successful.
Update a specific rum-based metric from your organization.
Returns the rum-based metric object from the request body when the request is successful.

:param metric_id: The name of the RUM-based metric.
:param metric_id: The name of the rum-based metric.
:type metric_id: str
:param body: New definition of the RUM-based metric.
:param body: New definition of the rum-based metric.
:type body: RumMetricUpdateRequest
:rtype: RumMetricResponse
"""
Expand Down
18 changes: 9 additions & 9 deletions src/datadog_api_client/v2/api/rum_replay_playlists_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def add_rum_replay_session_to_playlist(
*,
data_source: Union[str, UnsetType] = unset,
) -> PlaylistsSession:
"""Add RUM replay session to playlist.
"""Add rum replay session to playlist.

Add a session to a playlist.

Expand Down Expand Up @@ -324,7 +324,7 @@ def bulk_remove_rum_replay_playlist_sessions(
playlist_id: int,
body: SessionIdArray,
) -> None:
"""Bulk remove RUM replay playlist sessions.
"""Bulk remove rum replay playlist sessions.

Remove sessions from a playlist.

Expand All @@ -344,7 +344,7 @@ def create_rum_replay_playlist(
self,
body: Playlist,
) -> Playlist:
"""Create RUM replay playlist.
"""Create rum replay playlist.

Create a playlist.

Expand All @@ -360,7 +360,7 @@ def delete_rum_replay_playlist(
self,
playlist_id: int,
) -> None:
"""Delete RUM replay playlist.
"""Delete rum replay playlist.

Delete a playlist.

Expand All @@ -377,7 +377,7 @@ def get_rum_replay_playlist(
self,
playlist_id: int,
) -> Playlist:
"""Get RUM replay playlist.
"""Get rum replay playlist.

Get a playlist.

Expand All @@ -398,7 +398,7 @@ def list_rum_replay_playlists(
page_number: Union[int, UnsetType] = unset,
page_size: Union[int, UnsetType] = unset,
) -> PlaylistArray:
"""List RUM replay playlists.
"""List rum replay playlists.

List playlists.

Expand Down Expand Up @@ -434,7 +434,7 @@ def list_rum_replay_playlist_sessions(
page_number: Union[int, UnsetType] = unset,
page_size: Union[int, UnsetType] = unset,
) -> PlaylistsSessionArray:
"""List RUM replay playlist sessions.
"""List rum replay playlist sessions.

List sessions in a playlist.

Expand Down Expand Up @@ -462,7 +462,7 @@ def remove_rum_replay_session_from_playlist(
playlist_id: int,
session_id: str,
) -> None:
"""Remove RUM replay session from playlist.
"""Remove rum replay session from playlist.

Remove a session from a playlist.

Expand All @@ -484,7 +484,7 @@ def update_rum_replay_playlist(
playlist_id: int,
body: Playlist,
) -> Playlist:
"""Update RUM replay playlist.
"""Update rum replay playlist.

Update a playlist.

Expand Down
8 changes: 4 additions & 4 deletions src/datadog_api_client/v2/api/rum_replay_viewership_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def create_rum_replay_session_watch(
session_id: str,
body: Watch,
) -> Watch:
"""Create RUM replay session watch.
"""Create rum replay session watch.

Record a session watch.

Expand All @@ -185,7 +185,7 @@ def delete_rum_replay_session_watch(
self,
session_id: str,
) -> None:
"""Delete RUM replay session watch.
"""Delete rum replay session watch.

Delete session watch history.

Expand All @@ -205,7 +205,7 @@ def list_rum_replay_session_watchers(
page_size: Union[int, UnsetType] = unset,
page_number: Union[int, UnsetType] = unset,
) -> WatcherArray:
"""List RUM replay session watchers.
"""List rum replay session watchers.

List session watchers.

Expand Down Expand Up @@ -239,7 +239,7 @@ def list_rum_replay_viewership_history_sessions(
page_size: Union[int, UnsetType] = unset,
filter_application_id: Union[str, UnsetType] = unset,
) -> ViewershipHistorySessionArray:
"""List RUM replay viewership history sessions.
"""List rum replay viewership history sessions.

List watched sessions.

Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/model/rum_metric_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(
**kwargs,
):
"""
The compute rule to compute the RUM-based metric.
The compute rule to compute the rum-based metric.

:param aggregation_type: The type of aggregation to use.
:type aggregation_type: RumMetricComputeAggregationType
Expand All @@ -51,7 +51,7 @@ def __init__(
Only present when ``aggregation_type`` is ``distribution``.
:type include_percentiles: bool, optional

:param path: The path to the value the RUM-based metric will aggregate on.
:param path: The path to the value the rum-based metric will aggregate on.
Only present when ``aggregation_type`` is ``distribution``.
:type path: str, optional
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ def __init__(
**kwargs,
):
"""
The object describing the Datadog RUM-based metric to create.
The object describing the Datadog rum-based metric to create.

:param compute: The compute rule to compute the RUM-based metric.
:param compute: The compute rule to compute the rum-based metric.
:type compute: RumMetricCompute

:param event_type: The type of RUM events to filter on.
:type event_type: RumMetricEventType

:param filter: The RUM-based metric filter. Events matching this filter will be aggregated in this metric.
:param filter: The rum-based metric filter. Events matching this filter will be aggregated in this metric.
:type filter: RumMetricFilter, optional

:param group_by: The rules for the group by.
Expand Down
Loading
Loading