Skip to content

Commit 81c4abf

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

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:

services/synthetics/src/v1/models/SyntheticsGlobalVariableAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client";
55
*/
66
export class SyntheticsGlobalVariableAttributes {
77
/**
8-
* A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
8+
* 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.
99
*/
1010
"restrictedRoles"?: Array<string>;
1111
/**

services/synthetics/src/v1/models/SyntheticsMobileTestOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class SyntheticsMobileTestOptions {
6161
*/
6262
"noScreenshot"?: boolean;
6363
/**
64-
* A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
64+
* 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.
6565
*/
6666
"restrictedRoles"?: Array<string>;
6767
/**

services/synthetics/src/v1/models/SyntheticsPrivateLocationMetadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client";
55
*/
66
export class SyntheticsPrivateLocationMetadata {
77
/**
8-
* A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
8+
* 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.
99
*/
1010
"restrictedRoles"?: Array<string>;
1111
/**

services/synthetics/src/v1/models/SyntheticsTestOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class SyntheticsTestOptions {
9999
*/
100100
"noScreenshot"?: boolean;
101101
/**
102-
* A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
102+
* 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.
103103
*/
104104
"restrictedRoles"?: Array<string>;
105105
/**

services/synthetics/src/v2/models/SyntheticsGlobalVariableAttributes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client";
55
*/
66
export class SyntheticsGlobalVariableAttributes {
77
/**
8-
* A list of role identifiers that can be pulled from the Roles API, for restricting read and write access.
8+
* 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.
99
*/
1010
"restrictedRoles"?: Array<string>;
1111
/**

0 commit comments

Comments
 (0)