Skip to content

Commit 6f18e78

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a39e4b1 of spec repo
1 parent 559511e commit 6f18e78

File tree

7 files changed

+26
-7
lines changed

7 files changed

+26
-7
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17622,8 +17622,10 @@ components:
1762217622
type: string
1762317623
type: object
1762417624
SyntheticsRestrictedRoles:
17625+
deprecated: true
1762517626
description: A list of role identifiers that can be pulled from the Roles API,
17626-
for restricting read and write access.
17627+
for restricting read and write access. This field is deprecated, use the restriction
17628+
policies API to manage permissions.
1762717629
example:
1762817630
- xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
1762917631
items:

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55280,8 +55280,10 @@ components:
5528055280
type: string
5528155281
type: object
5528255282
SyntheticsRestrictedRoles:
55283+
deprecated: true
5528355284
description: A list of role identifiers that can be pulled from the Roles API,
55284-
for restricting read and write access.
55285+
for restricting read and write access. This field is deprecated, use the restriction
55286+
policies API to manage permissions.
5528555287
example:
5528655288
- xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
5528755289
items:

src/main/java/com/datadog/api/client/v1/model/SyntheticsGlobalVariableAttributes.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,20 @@ public SyntheticsGlobalVariableAttributes addRestrictedRolesItem(String restrict
4242

4343
/**
4444
* A list of role identifiers that can be pulled from the Roles API, for restricting read and
45-
* write access.
45+
* write access. This field is deprecated, use the restriction policies API to manage permissions.
4646
*
4747
* @return restrictedRoles
48+
* @deprecated
4849
*/
50+
@Deprecated
4951
@jakarta.annotation.Nullable
5052
@JsonProperty(JSON_PROPERTY_RESTRICTED_ROLES)
5153
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
5254
public List<String> getRestrictedRoles() {
5355
return restrictedRoles;
5456
}
5557

58+
@Deprecated
5659
public void setRestrictedRoles(List<String> restrictedRoles) {
5760
this.restrictedRoles = restrictedRoles;
5861
}

src/main/java/com/datadog/api/client/v1/model/SyntheticsMobileTestOptions.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,17 +398,20 @@ public SyntheticsMobileTestOptions addRestrictedRolesItem(String restrictedRoles
398398

399399
/**
400400
* A list of role identifiers that can be pulled from the Roles API, for restricting read and
401-
* write access.
401+
* write access. This field is deprecated, use the restriction policies API to manage permissions.
402402
*
403403
* @return restrictedRoles
404+
* @deprecated
404405
*/
406+
@Deprecated
405407
@jakarta.annotation.Nullable
406408
@JsonProperty(JSON_PROPERTY_RESTRICTED_ROLES)
407409
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
408410
public List<String> getRestrictedRoles() {
409411
return restrictedRoles;
410412
}
411413

414+
@Deprecated
412415
public void setRestrictedRoles(List<String> restrictedRoles) {
413416
this.restrictedRoles = restrictedRoles;
414417
}

src/main/java/com/datadog/api/client/v1/model/SyntheticsPrivateLocationMetadata.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,20 @@ public SyntheticsPrivateLocationMetadata addRestrictedRolesItem(String restricte
4242

4343
/**
4444
* A list of role identifiers that can be pulled from the Roles API, for restricting read and
45-
* write access.
45+
* write access. This field is deprecated, use the restriction policies API to manage permissions.
4646
*
4747
* @return restrictedRoles
48+
* @deprecated
4849
*/
50+
@Deprecated
4951
@jakarta.annotation.Nullable
5052
@JsonProperty(JSON_PROPERTY_RESTRICTED_ROLES)
5153
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
5254
public List<String> getRestrictedRoles() {
5355
return restrictedRoles;
5456
}
5557

58+
@Deprecated
5659
public void setRestrictedRoles(List<String> restrictedRoles) {
5760
this.restrictedRoles = restrictedRoles;
5861
}

src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptions.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,17 +617,20 @@ public SyntheticsTestOptions addRestrictedRolesItem(String restrictedRolesItem)
617617

618618
/**
619619
* A list of role identifiers that can be pulled from the Roles API, for restricting read and
620-
* write access.
620+
* write access. This field is deprecated, use the restriction policies API to manage permissions.
621621
*
622622
* @return restrictedRoles
623+
* @deprecated
623624
*/
625+
@Deprecated
624626
@jakarta.annotation.Nullable
625627
@JsonProperty(JSON_PROPERTY_RESTRICTED_ROLES)
626628
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
627629
public List<String> getRestrictedRoles() {
628630
return restrictedRoles;
629631
}
630632

633+
@Deprecated
631634
public void setRestrictedRoles(List<String> restrictedRoles) {
632635
this.restrictedRoles = restrictedRoles;
633636
}

src/main/java/com/datadog/api/client/v2/model/SyntheticsGlobalVariableAttributes.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,20 @@ public SyntheticsGlobalVariableAttributes addRestrictedRolesItem(String restrict
4242

4343
/**
4444
* A list of role identifiers that can be pulled from the Roles API, for restricting read and
45-
* write access.
45+
* write access. This field is deprecated, use the restriction policies API to manage permissions.
4646
*
4747
* @return restrictedRoles
48+
* @deprecated
4849
*/
50+
@Deprecated
4951
@jakarta.annotation.Nullable
5052
@JsonProperty(JSON_PROPERTY_RESTRICTED_ROLES)
5153
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
5254
public List<String> getRestrictedRoles() {
5355
return restrictedRoles;
5456
}
5557

58+
@Deprecated
5659
public void setRestrictedRoles(List<String> restrictedRoles) {
5760
this.restrictedRoles = restrictedRoles;
5861
}

0 commit comments

Comments
 (0)