Skip to content

Commit b894e3a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit c68e14e of spec repo (#3948)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 5455eb9 commit b894e3a

23 files changed

Lines changed: 202 additions & 199 deletions

‎.generator/schemas/v2/openapi.yaml‎

Lines changed: 63 additions & 61 deletions
Large diffs are not rendered by default.

‎examples/v2/rum-operations/CreateRUMOperationStrongLink.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Create a RUM operation strong link returns "Created" response
2+
Create a RUM operation link returns "Created" response
33
"""
44

55
from os import environ
@@ -19,7 +19,7 @@
1919
data=RUMOperationStrongLinkCreateRequestData(
2020
attributes=RUMOperationStrongLinkCreateRequestAttributes(
2121
description=None,
22-
feature_id="feature-123",
22+
feature_id="journey-123",
2323
operation_id="abc12345-1234-5678-abcd-ef1234567890",
2424
status=RUMOperationStrongLinkStatus.CONFIRMED,
2525
tags=[],

‎examples/v2/rum-operations/DeleteRUMOperationStrongLink.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Delete a RUM operation strong link returns "No Content" response
2+
Delete a RUM operation link returns "No Content" response
33
"""
44

55
from os import environ

‎examples/v2/rum-operations/ListRUMOperationStrongLinks.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
List RUM operation strong links returns "OK" response
2+
List RUM operation links returns "OK" response
33
"""
44

55
from os import environ

‎examples/v2/rum-operations/UpdateRUMOperationStrongLink.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Update a RUM operation strong link returns "OK" response
2+
Update a RUM operation link returns "OK" response
33
"""
44

55
from os import environ

‎src/datadog_api_client/v2/api/rum_operations_api.py‎

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
class RUMOperationsApi:
2626
"""
2727
Manage `RUM Operations <https://docs.datadoghq.com/real_user_monitoring/>`_ , business
28-
transactions detected from RUM events through a configurable journey, and their strong links
29-
to features. See the `RUM & Session Replay page <https://docs.datadoghq.com/real_user_monitoring/>`_
28+
transactions detected from RUM events through a configurable journey, and their links
29+
to journeys. See the `RUM & Session Replay page <https://docs.datadoghq.com/real_user_monitoring/>`_
3030
for more information.
3131
"""
3232

@@ -354,9 +354,9 @@ def create_rum_operation_strong_link(
354354
self,
355355
body: RUMOperationStrongLinkCreateRequest,
356356
) -> RUMOperationStrongLinkResponse:
357-
"""Create a RUM operation strong link.
357+
"""Create a RUM operation link.
358358
359-
Create a strong link between a RUM operation and a feature, confirming that the feature
359+
Create a link between a RUM operation and a journey, confirming that the journey
360360
belongs to the operation. The operation can be identified by ``operation_id`` or ``operation_name`` ;
361361
if ``operation_name`` does not match an existing operation, a stub operation is created.
362362
@@ -390,13 +390,13 @@ def delete_rum_operation_strong_link(
390390
rum_operation_id: str,
391391
feature_id: str,
392392
) -> None:
393-
"""Delete a RUM operation strong link.
393+
"""Delete a RUM operation link.
394394
395-
Delete the strong link between a RUM operation and a feature.
395+
Delete the link between a RUM operation and a journey.
396396
397397
:param rum_operation_id: The unique identifier of the RUM operation.
398398
:type rum_operation_id: str
399-
:param feature_id: The unique identifier of the feature.
399+
:param feature_id: The unique identifier of the journey.
400400
:type feature_id: str
401401
:rtype: None
402402
"""
@@ -454,7 +454,8 @@ def list_rum_operations(
454454
) -> RUMOperationsListResponse:
455455
"""Search RUM operations.
456456
457-
Search RUM operations for your organization. Supports filtering by query, creator, team, feature, and application.
457+
Search RUM operations for your organization. Supports filtering by query, creator, team,
458+
journey, and application.
458459
459460
:param query: A search query to filter operations by name.
460461
:type query: str, optional
@@ -466,7 +467,7 @@ def list_rum_operations(
466467
:type creator: str, optional
467468
:param team: Filter operations by team. Accepts a comma-separated list of teams.
468469
:type team: str, optional
469-
:param feature_id: Filter operations by feature ID. Accepts a comma-separated list of feature IDs.
470+
:param feature_id: Filter operations by journey ID. Accepts a comma-separated list of journey IDs.
470471
:type feature_id: str, optional
471472
:param application_id: Filter operations by RUM application ID.
472473
:type application_id: UUID, optional
@@ -504,15 +505,15 @@ def list_rum_operation_strong_links(
504505
page_offset: Union[int, UnsetType] = unset,
505506
page_limit: Union[int, UnsetType] = unset,
506507
) -> RUMOperationStrongLinksListResponse:
507-
"""List RUM operation strong links.
508+
"""List RUM operation links.
508509
509-
List strong links between RUM operations and features. A strong link confirms that a feature
510-
belongs to an operation. Provide ``operation_id`` , ``feature_id`` , or both to filter results;
510+
List links between RUM operations and journeys. A link confirms that a journey
511+
belongs to an operation. Provide ``operation_id`` , ``feature_id`` (journey ID), or both to filter results;
511512
at least one is required.
512513
513-
:param operation_id: Filter strong links by RUM operation ID.
514+
:param operation_id: Filter links by RUM operation ID.
514515
:type operation_id: str, optional
515-
:param feature_id: Filter strong links by feature ID.
516+
:param feature_id: Filter links by journey (feature) ID.
516517
:type feature_id: str, optional
517518
:param page_offset: Offset for pagination.
518519
:type page_offset: int, optional
@@ -563,13 +564,13 @@ def update_rum_operation_strong_link(
563564
feature_id: str,
564565
body: RUMOperationStrongLinkUpdateRequest,
565566
) -> RUMOperationStrongLinkResponse:
566-
"""Update a RUM operation strong link.
567+
"""Update a RUM operation link.
567568
568-
Update the status of a strong link between a RUM operation and a feature.
569+
Update the status of a link between a RUM operation and a journey.
569570
570571
:param rum_operation_id: The unique identifier of the RUM operation.
571572
:type rum_operation_id: str
572-
:param feature_id: The unique identifier of the feature.
573+
:param feature_id: The unique identifier of the journey.
573574
:type feature_id: str
574575
:type body: RUMOperationStrongLinkUpdateRequest
575576
:rtype: RUMOperationStrongLinkResponse

‎src/datadog_api_client/v2/model/rum_operation_request_attributes.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(
7373
:param display_name: A human-readable display name for the RUM operation.
7474
:type display_name: str, optional
7575
76-
:param feature_ids: The list of feature IDs associated with the RUM operation.
76+
:param feature_ids: The list of journey IDs associated with the RUM operation.
7777
:type feature_ids: [str], optional
7878
7979
:param journey_rum: The definition of a RUM operation's journey, used to detect it from RUM events.

‎src/datadog_api_client/v2/model/rum_operation_response_attributes.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(
102102
:param display_name: A human-readable display name for the RUM operation.
103103
:type display_name: str, optional
104104
105-
:param feature_ids: The list of feature IDs associated with the RUM operation.
105+
:param feature_ids: The list of journey IDs associated with the RUM operation.
106106
:type feature_ids: [str], optional
107107
108108
:param journey_rum: The definition of a RUM operation's journey, used to detect it from RUM events.

‎src/datadog_api_client/v2/model/rum_operation_strong_link_create_request.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ def openapi_types(_):
3434

3535
def __init__(self_, data: RUMOperationStrongLinkCreateRequestData, **kwargs):
3636
"""
37-
The request body for creating a RUM operation strong link.
37+
The request body for creating a RUM operation link.
3838
39-
:param data: The data object for creating a RUM operation strong link.
39+
:param data: The data object for creating a RUM operation link.
4040
:type data: RUMOperationStrongLinkCreateRequestData
4141
"""
4242
super().__init__(kwargs)

‎src/datadog_api_client/v2/model/rum_operation_strong_link_create_request_attributes.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ def __init__(
5656
**kwargs,
5757
):
5858
"""
59-
Attributes for creating a RUM operation strong link.
59+
Attributes for creating a RUM operation link.
6060
6161
:param application_id: The RUM application ID used when creating a stub operation from ``operation_name``.
6262
:type application_id: UUID, optional
6363
64-
:param description: A description of the strong link.
64+
:param description: A description of the link.
6565
:type description: str, none_type, optional
6666
67-
:param feature_id: The unique identifier of the feature to link.
67+
:param feature_id: The unique identifier of the journey to link.
6868
:type feature_id: str
6969
7070
:param operation_id: The unique identifier of the RUM operation to link. Either ``operation_id`` or
@@ -75,10 +75,10 @@ def __init__(
7575
required. If no operation with this name exists, a stub operation is created.
7676
:type operation_name: str, optional
7777
78-
:param status: The status of a RUM operation strong link.
78+
:param status: The status of a RUM operation link.
7979
:type status: RUMOperationStrongLinkStatus, optional
8080
81-
:param tags: A list of tags associated with the strong link.
81+
:param tags: A list of tags associated with the link.
8282
:type tags: [str], optional
8383
"""
8484
if application_id is not unset:

0 commit comments

Comments
 (0)