Skip to content

Commit 54bf23d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove user from supported principal types for restriction policies (#1348)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 318d77a commit 54bf23d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-02-17 18:15:47.499532",
8-
"spec_repo_commit": "0a1c3444"
7+
"regenerated": "2023-02-17 20:23:08.701331",
8+
"spec_repo_commit": "643c315f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-17 18:15:47.522391",
13-
"spec_repo_commit": "0a1c3444"
12+
"regenerated": "2023-02-17 20:23:08.714033",
13+
"spec_repo_commit": "643c315f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9184,7 +9184,7 @@ components:
91849184
description: 'An array of principals. A principal is a subject or group
91859185
of subjects.
91869186

9187-
Each principal is formatted as `type:id`. Supported types: `role`, `user`,
9187+
Each principal is formatted as `type:id`. Supported types: `role` and
91889188
`org`.
91899189

91909190
The org ID can be obtained through the api/v2/current_user API.'
@@ -9194,7 +9194,7 @@ components:
91949194
description: 'Subject or group of subjects. Each principal is formatted
91959195
as `type:id`.
91969196

9197-
Supported types: `role`, `user`, `org`.
9197+
Supported types: `role` and `org`.
91989198

91999199
The org ID can be obtained through the api/v2/current_user API.'
92009200
type: string

src/datadog_api_client/v2/model/restriction_policy_binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self_, principals: List[str], relation: str, **kwargs):
2929
Specifies which principals are associated with a relation.
3030
3131
:param principals: An array of principals. A principal is a subject or group of subjects.
32-
Each principal is formatted as ``type:id``. Supported types: ``role`` , ``user`` , ``org``.
32+
Each principal is formatted as ``type:id``. Supported types: ``role`` and ``org``.
3333
The org ID can be obtained through the api/v2/current_user API.
3434
:type principals: [str]
3535

0 commit comments

Comments
 (0)