diff --git a/.apigentools-info b/.apigentools-info index 5a9dd32552a1..ad3bac131eda 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-01-12 20:45:40.799599", - "spec_repo_commit": "bdf7d582" + "regenerated": "2024-01-18 22:52:03.306976", + "spec_repo_commit": "4d921fb1" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-01-12 20:45:40.813901", - "spec_repo_commit": "bdf7d582" + "regenerated": "2024-01-18 22:52:03.331679", + "spec_repo_commit": "4d921fb1" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index b58477cec84c..b7e432cbe411 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -1142,9 +1142,12 @@ components: is_read_only: default: false deprecated: true - description: Whether this dashboard is read-only. If True, only the author - and admins can make changes to it. Prefer using `restricted_roles` to - manage write authorization. + description: 'Whether this dashboard is read-only. If True, only the author + and admins can make changes to it. + + + This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) + instead to manage write authorization for individual dashboards.' example: false type: boolean layout_type: @@ -1165,8 +1168,13 @@ components: reflow_type: $ref: '#/components/schemas/DashboardReflowType' restricted_roles: - description: A list of role identifiers. Only the author and users associated + deprecated: true + description: 'A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard. + + + This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) + instead to manage write authorization for individual dashboards.' items: description: A role UUID. type: string @@ -1439,8 +1447,13 @@ components: description: Dashboard identifier. type: string is_read_only: - description: Whether this dashboard is read-only. If True, only the author + deprecated: true + description: 'Whether this dashboard is read-only. If True, only the author and admins can make changes to it. + + + This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) + instead to manage write authorization for individual dashboards.' type: boolean layout_type: $ref: '#/components/schemas/DashboardLayoutType' diff --git a/lib/datadog_api_client/v1/models/dashboard.rb b/lib/datadog_api_client/v1/models/dashboard.rb index 156acb1fa37a..d4771996e133 100644 --- a/lib/datadog_api_client/v1/models/dashboard.rb +++ b/lib/datadog_api_client/v1/models/dashboard.rb @@ -37,7 +37,9 @@ class Dashboard # ID of the dashboard. attr_accessor :id - # Whether this dashboard is read-only. If True, only the author and admins can make changes to it. Prefer using `restricted_roles` to manage write authorization. + # Whether this dashboard is read-only. If True, only the author and admins can make changes to it. + # + # This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards. attr_accessor :is_read_only # Layout type of the dashboard. @@ -55,6 +57,8 @@ class Dashboard attr_accessor :reflow_type # A list of role identifiers. Only the author and users associated with at least one of these roles can edit this dashboard. + # + # This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards. attr_accessor :restricted_roles # List of team names representing ownership of a dashboard. diff --git a/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb b/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb index 0360326783ad..782364a8ef59 100644 --- a/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +++ b/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb @@ -34,6 +34,8 @@ class DashboardSummaryDefinition attr_accessor :id # Whether this dashboard is read-only. If True, only the author and admins can make changes to it. + # + # This property is deprecated; please use the [Restriction Policies API](https://docs.datadoghq.com/api/latest/restriction-policies/) instead to manage write authorization for individual dashboards. attr_accessor :is_read_only # Layout type of the dashboard.