Skip to content

Commit 14604b9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ceda22d of spec repo
1 parent faf6b7d commit 14604b9

File tree

32 files changed

+81
-1377
lines changed

32 files changed

+81
-1377
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: 4 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -49256,18 +49256,6 @@ components:
4925649256
meta:
4925749257
$ref: '#/components/schemas/ResponseMetaAttributes'
4925849258
type: object
49259-
SecurityMonitoringPaginatedSuppressionsResponse:
49260-
description: Response object containing the available suppression rules with
49261-
pagination metadata.
49262-
properties:
49263-
data:
49264-
description: A list of suppressions objects.
49265-
items:
49266-
$ref: '#/components/schemas/SecurityMonitoringSuppression'
49267-
type: array
49268-
meta:
49269-
$ref: '#/components/schemas/SecurityMonitoringSuppressionsMeta'
49270-
type: object
4927149259
SecurityMonitoringReferenceTable:
4927249260
description: Reference tables used in the queries.
4927349261
properties:
@@ -51417,31 +51405,6 @@ components:
5141751405
data:
5141851406
$ref: '#/components/schemas/SecurityMonitoringSuppression'
5141951407
type: object
51420-
SecurityMonitoringSuppressionSort:
51421-
description: The sort parameters used for querying suppression rules.
51422-
enum:
51423-
- name
51424-
- start_date
51425-
- expiration_date
51426-
- update_date
51427-
- enabled
51428-
- -name
51429-
- -start_date
51430-
- -expiration_date
51431-
- -update_date
51432-
- -enabled
51433-
type: string
51434-
x-enum-varnames:
51435-
- NAME
51436-
- START_DATE
51437-
- EXPIRATION_DATE
51438-
- UPDATE_DATE
51439-
- ENABLED
51440-
- NAME_DESCENDING
51441-
- START_DATE_DESCENDING
51442-
- EXPIRATION_DATE_DESCENDING
51443-
- UPDATE_DATE_DESCENDING
51444-
- ENABLED_DESCENDING
5144551408
SecurityMonitoringSuppressionType:
5144651409
default: suppressions
5144751410
description: The type of the resource. The value should always be `suppressions`.
@@ -51537,31 +51500,6 @@ components:
5153751500
required:
5153851501
- data
5153951502
type: object
51540-
SecurityMonitoringSuppressionsMeta:
51541-
description: Metadata for the suppression list response.
51542-
properties:
51543-
page:
51544-
$ref: '#/components/schemas/SecurityMonitoringSuppressionsPageMeta'
51545-
type: object
51546-
SecurityMonitoringSuppressionsPageMeta:
51547-
description: Pagination metadata.
51548-
properties:
51549-
pageNumber:
51550-
description: Current page number.
51551-
example: 0
51552-
format: int64
51553-
type: integer
51554-
pageSize:
51555-
description: Current page size.
51556-
example: 2
51557-
format: int64
51558-
type: integer
51559-
totalCount:
51560-
description: Total count of suppressions.
51561-
example: 2
51562-
format: int64
51563-
type: integer
51564-
type: object
5156551503
SecurityMonitoringSuppressionsResponse:
5156651504
description: Response object containing the available suppression rules.
5156751505
properties:
@@ -55419,8 +55357,10 @@ components:
5541955357
type: string
5542055358
type: object
5542155359
SyntheticsRestrictedRoles:
55360+
deprecated: true
5542255361
description: A list of role identifiers that can be pulled from the Roles API,
55423-
for restricting read and write access.
55362+
for restricting read and write access. This field is deprecated. Use the restriction
55363+
policies API to manage permissions.
5542455364
example:
5542555365
- xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
5542655366
items:
@@ -85732,29 +85672,12 @@ paths:
8573285672
required: false
8573385673
schema:
8573485674
type: string
85735-
- description: Attribute used to sort the list of suppression rules. Prefix
85736-
with `-` to sort in descending order.
85737-
in: query
85738-
name: sort
85739-
required: false
85740-
schema:
85741-
$ref: '#/components/schemas/SecurityMonitoringSuppressionSort'
85742-
- description: Size for a given page. Use `-1` to return all items.
85743-
in: query
85744-
name: page[size]
85745-
required: false
85746-
schema:
85747-
default: -1
85748-
example: 10
85749-
format: int64
85750-
type: integer
85751-
- $ref: '#/components/parameters/PageNumber'
8575285675
responses:
8575385676
'200':
8575485677
content:
8575585678
application/json:
8575685679
schema:
85757-
$ref: '#/components/schemas/SecurityMonitoringPaginatedSuppressionsResponse'
85680+
$ref: '#/components/schemas/SecurityMonitoringSuppressionsResponse'
8575885681
description: OK
8575985682
'403':
8576085683
$ref: '#/components/responses/NotAuthorizedResponse'

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
import com.datadog.api.client.ApiClient;
44
import com.datadog.api.client.ApiException;
55
import com.datadog.api.client.v2.api.SecurityMonitoringApi;
6-
import com.datadog.api.client.v2.model.SecurityMonitoringPaginatedSuppressionsResponse;
6+
import com.datadog.api.client.v2.model.SecurityMonitoringSuppressionsResponse;
77

88
public class Example {
99
public static void main(String[] args) {
1010
ApiClient defaultClient = ApiClient.getDefaultApiClient();
1111
SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient);
1212

1313
try {
14-
SecurityMonitoringPaginatedSuppressionsResponse result =
14+
SecurityMonitoringSuppressionsResponse result =
1515
apiInstance.listSecurityMonitoringSuppressions();
1616
System.out.println(result);
1717
} catch (ApiException e) {

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions_1315707136.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions_1741429096.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

examples/v2/security-monitoring/ListSecurityMonitoringSuppressions_3985905558.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

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
}

0 commit comments

Comments
 (0)