Skip to content

Commit

Permalink
Regenerate client from commit 40cfa1aa of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 6, 2024
1 parent 770645b commit af400eb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-05 20:22:34.887949",
"spec_repo_commit": "970515f9"
"regenerated": "2024-12-06 20:03:31.136850",
"spec_repo_commit": "40cfa1aa"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-05 20:22:34.907021",
"spec_repo_commit": "970515f9"
"regenerated": "2024-12-06 20:03:31.156653",
"spec_repo_commit": "40cfa1aa"
}
}
}
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ components:
type: string
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `notebook`, `security-rule`, `slo`.'
`dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -37811,6 +37811,8 @@ paths:

- Powerpacks: `powerpack`

- Reference Tables: `reference-table`

- Security Rules: `security-rule`

- Service Level Objectives: `slo`
Expand Down Expand Up @@ -37846,7 +37848,9 @@ paths:

Synthetic Private Locations | `viewer`, `editor`

Monitors | `viewer`, `editor`'
Monitors | `viewer`, `editor`

Reference Tables | `viewer`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
4 changes: 4 additions & 0 deletions src/datadogV2/api/api_restriction_policies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ impl RestrictionPoliciesAPI {
/// - Dashboards: `dashboard`
/// - Notebooks: `notebook`
/// - Powerpacks: `powerpack`
/// - Reference Tables: `reference-table`
/// - Security Rules: `security-rule`
/// - Service Level Objectives: `slo`
/// - Synthetic Global Variables: `synthetics-global-variable`
Expand All @@ -330,6 +331,7 @@ impl RestrictionPoliciesAPI {
/// Synthetic Tests | `viewer`, `editor`
/// Synthetic Private Locations | `viewer`, `editor`
/// Monitors | `viewer`, `editor`
/// Reference Tables | `viewer`, `editor`
pub async fn update_restriction_policy(
&self,
resource_id: String,
Expand Down Expand Up @@ -362,6 +364,7 @@ impl RestrictionPoliciesAPI {
/// - Dashboards: `dashboard`
/// - Notebooks: `notebook`
/// - Powerpacks: `powerpack`
/// - Reference Tables: `reference-table`
/// - Security Rules: `security-rule`
/// - Service Level Objectives: `slo`
/// - Synthetic Global Variables: `synthetics-global-variable`
Expand All @@ -381,6 +384,7 @@ impl RestrictionPoliciesAPI {
/// Synthetic Tests | `viewer`, `editor`
/// Synthetic Private Locations | `viewer`, `editor`
/// Monitors | `viewer`, `editor`
/// Reference Tables | `viewer`, `editor`
pub async fn update_restriction_policy_with_http_info(
&self,
resource_id: String,
Expand Down

0 comments on commit af400eb

Please sign in to comment.