Skip to content

Commit

Permalink
Regenerate client from commit ecdb1e28 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Oct 12, 2023
1 parent 3e11734 commit 3c1d8d6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 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": "2023-10-12 13:31:25.324384",
"spec_repo_commit": "6653b14d"
"regenerated": "2023-10-12 14:27:49.097291",
"spec_repo_commit": "ecdb1e28"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-10-12 13:31:25.363429",
"spec_repo_commit": "6653b14d"
"regenerated": "2023-10-12 14:27:49.111264",
"spec_repo_commit": "ecdb1e28"
}
}
}
10 changes: 5 additions & 5 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12095,8 +12095,8 @@ components:
description: 'An array of principals. A principal is a subject or group
of subjects.

Each principal is formatted as `type:id`. Supported types: `role`, `team`
(beta), `user` (beta), and `org`.
Each principal is formatted as `type:id`. Supported types: `role`, `team`,
`user`, and `org`.

The org ID can be obtained through the api/v2/current_user API.

Expand All @@ -12107,7 +12107,7 @@ components:
description: 'Subject or group of subjects. Each principal is formatted
as `type:id`.

Supported types: `role`, `team` (beta), `user` (beta), and `org`.
Supported types: `role`, `team`, `user`, and `org`.

The org ID can be obtained through the api/v2/current_user API.

Expand Down Expand Up @@ -29120,8 +29120,8 @@ tags:
- description: 'A restriction policy defines the access control rules for a resource,
mapping a set of relations

(such as editor and viewer) to a set of allowed principals (such as roles, teams
(beta), or users (beta)).
(such as editor and viewer) to a set of allowed principals (such as roles, teams,
or users).

The restriction policy determines who is authorized to perform what actions on
the resource.'
Expand Down
2 changes: 1 addition & 1 deletion api/datadogV2/model_restriction_policy_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
// RestrictionPolicyBinding Specifies which principals are associated with a relation.
type RestrictionPolicyBinding struct {
// An array of principals. A principal is a subject or group of subjects.
// Each principal is formatted as `type:id`. Supported types: `role`, `team` (beta), `user` (beta), and `org`.
// Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`.
// The org ID can be obtained through the api/v2/current_user API.
// The user principal type accepts service account IDs.
Principals []string `json:"principals"`
Expand Down
5 changes: 2 additions & 3 deletions tests/scenarios/features/v2/restriction_policies.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
Feature: Restriction Policies
A restriction policy defines the access control rules for a resource,
mapping a set of relations (such as editor and viewer) to a set of allowed
principals (such as roles, teams (beta), or users (beta)). The restriction
policy determines who is authorized to perform what actions on the
resource.
principals (such as roles, teams, or users). The restriction policy
determines who is authorized to perform what actions on the resource.

Background:
Given a valid "apiKeyAuth" key in the system
Expand Down

0 comments on commit 3c1d8d6

Please sign in to comment.