Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ components:
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
`rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`,
`on-call-escalation-policy`, `on-call-team-routing-rules.'
`on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -71283,6 +71283,8 @@ paths:

- On-Call Team Routing Rules: `on-call-team-routing-rules`

- Logs Pipelines: `logs-pipeline`


#### Supported relations for resources

Expand Down Expand Up @@ -71332,7 +71334,9 @@ paths:

On-Call Escalation Policies | `viewer`, `editor`

On-Call Team Routing Rules | `viewer`, `editor`'
On-Call Team Routing Rules | `viewer`, `editor`

Logs Pipelines | `viewer`, `processors_editor`, `editor`'
operationId: UpdateRestrictionPolicy
parameters:
- $ref: '#/components/parameters/ResourceID'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,23 +370,23 @@ export class RestrictionPoliciesApiResponseProcessor {

export interface RestrictionPoliciesApiDeleteRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules.
* Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.
* @type string
*/
resourceId: string;
}

export interface RestrictionPoliciesApiGetRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules.
* Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.
* @type string
*/
resourceId: string;
}

export interface RestrictionPoliciesApiUpdateRestrictionPolicyRequest {
/**
* Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules.
* Identifier, formatted as `type:id`. Supported types: `dashboard`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`, `spreadsheet`, `on-call-schedule`, `on-call-escalation-policy`, `on-call-team-routing-rules`, `logs-pipeline`.
* @type string
*/
resourceId: string;
Expand Down Expand Up @@ -493,6 +493,7 @@ export class RestrictionPoliciesApi {
* - On-Call Schedules: `on-call-schedule`
* - On-Call Escalation Policies: `on-call-escalation-policy`
* - On-Call Team Routing Rules: `on-call-team-routing-rules`
* - Logs Pipelines: `logs-pipeline`
*
* #### Supported relations for resources
* Resource Type | Supported Relations
Expand All @@ -519,6 +520,7 @@ export class RestrictionPoliciesApi {
* On-Call Schedules | `viewer`, `overrider`, `editor`
* On-Call Escalation Policies | `viewer`, `editor`
* On-Call Team Routing Rules | `viewer`, `editor`
* Logs Pipelines | `viewer`, `processors_editor`, `editor`
* @param param The request object
*/
public updateRestrictionPolicy(
Expand Down