Skip to content

Commit e994186

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark restricted_roles as deprecated (#2914)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 02f97c7 commit e994186

7 files changed

Lines changed: 11 additions & 7 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17642,8 +17642,10 @@ components:
1764217642
type: string
1764317643
type: object
1764417644
SyntheticsRestrictedRoles:
17645+
deprecated: true
1764517646
description: A list of role identifiers that can be pulled from the Roles API,
17646-
for restricting read and write access.
17647+
for restricting read and write access. This field is deprecated. Use the restriction
17648+
policies API to manage permissions.
1764717649
example:
1764817650
- xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
1764917651
items:

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58070,8 +58070,10 @@ components:
5807058070
type: string
5807158071
type: object
5807258072
SyntheticsRestrictedRoles:
58073+
deprecated: true
5807358074
description: A list of role identifiers that can be pulled from the Roles API,
58074-
for restricting read and write access.
58075+
for restricting read and write access. This field is deprecated. Use the restriction
58076+
policies API to manage permissions.
5807558077
example:
5807658078
- xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
5807758079
items:

lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V1
2121
class SyntheticsGlobalVariableAttributes
2222
include BaseGenericModel
2323

24-
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
24+
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.
2525
attr_accessor :restricted_roles
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class SyntheticsMobileTestOptions
5858
# A boolean set to not take a screenshot for the step.
5959
attr_accessor :no_screenshot
6060

61-
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
61+
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.
6262
attr_accessor :restricted_roles
6363

6464
# Object describing the retry strategy to apply to a Synthetic test.

lib/datadog_api_client/v1/models/synthetics_private_location_metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V1
2121
class SyntheticsPrivateLocationMetadata
2222
include BaseGenericModel
2323

24-
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
24+
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.
2525
attr_accessor :restricted_roles
2626

2727
attr_accessor :additional_properties

lib/datadog_api_client/v1/models/synthetics_test_options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SyntheticsTestOptions
8787
# Prevents saving screenshots of the steps.
8888
attr_accessor :no_screenshot
8989

90-
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
90+
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.
9191
attr_accessor :restricted_roles
9292

9393
# Object describing the retry strategy to apply to a Synthetic test.

lib/datadog_api_client/v2/models/synthetics_global_variable_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
2121
class SyntheticsGlobalVariableAttributes
2222
include BaseGenericModel
2323

24-
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
24+
# A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.
2525
attr_accessor :restricted_roles
2626

2727
attr_accessor :additional_properties

0 commit comments

Comments
 (0)