{
    "openapi": "3.0.0",
    "info": {
        "title": "Sift API",
        "version": "1.0"
    },
    "tags": [
        {
            "name": "TagService",
            "description": "Service to programmatically interact with [tags](/glossary#tag)."
        },
        {
            "name": "ProtobufDescriptorService",
            "description": "Service to programmatically interact with protobuf desciptors used for protobuf ingestion.",
            "externalDocs": {
                "description": "Read more about what protobuf ingestion.",
                "url": "/ingestion/protobuf_ingestion"
            }
        },
        {
            "name": "ApiKeyService"
        },
        {
            "name": "UnitService"
        },
        {
            "name": "ChannelSchemaService",
            "description": "Service to programmatically interact with channel schemas"
        },
        {
            "name": "PingService"
        },
        {
            "name": "SavedSearchService"
        },
        {
            "name": "IngestService"
        },
        {
            "name": "UserDefinedFunctionService"
        },
        {
            "name": "RoleService"
        },
        {
            "name": "DataImportService"
        },
        {
            "name": "AnnotationLogService",
            "description": "Service to programmatically interact with [annotation logs](/glossary#annotation).",
            "externalDocs": {
                "description": "Read more about annotations.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265486685"
            }
        },
        {
            "name": "ExportService"
        },
        {
            "name": "AnnotationService",
            "description": "Service to programmatically interact with annotations.",
            "externalDocs": {
                "description": "Read more about annotations.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265486685"
            }
        },
        {
            "name": "RuleEvaluationService",
            "description": "Service to evaluate rules.",
            "externalDocs": {
                "description": "Read more about what rules are.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265421102"
            }
        },
        {
            "name": "CalculatedChannelsService",
            "description": "Service to programmatically interact with calculated channels.",
            "externalDocs": {
                "description": "Read more about calculated channels.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265421153"
            }
        },
        {
            "name": "CalculatedChannelService"
        },
        {
            "name": "MeService"
        },
        {
            "name": "UserService",
            "description": "Service to programmatically interact with user objects."
        },
        {
            "name": "RuleService",
            "description": "Service to programmatically interact with rules.",
            "externalDocs": {
                "description": "Read more about what rules are.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265421102"
            }
        },
        {
            "name": "RemoteFileService"
        },
        {
            "name": "CampaignService"
        },
        {
            "name": "ReportTemplateService"
        },
        {
            "name": "JobService"
        },
        {
            "name": "DlqErrorsService"
        },
        {
            "name": "WebhookService"
        },
        {
            "name": "DataService",
            "description": "Service to query data"
        },
        {
            "name": "ViewService",
            "description": "Service to programmatically interact with views.",
            "externalDocs": {
                "description": "Read more about what views are.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/298188809"
            }
        },
        {
            "name": "AssetService",
            "description": "Service to programmatically interact with [assets](/glossary#asset).",
            "externalDocs": {
                "description": "Read more about what assets are.",
                "url": "/data-model"
            }
        },
        {
            "name": "UserGroupService"
        },
        {
            "name": "RunService",
            "description": "Service to programmatically interact with [runs](/glossary#run).",
            "externalDocs": {
                "description": "Read more about what runs are.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265454053"
            }
        },
        {
            "name": "MetadataService"
        },
        {
            "name": "NotificationService",
            "description": "Service to programmatically interact with in-app notifications."
        },
        {
            "name": "PanelConfigurationService",
            "description": "Service to programmatically interact with panel configurations."
        },
        {
            "name": "IngestionConfigService",
            "description": "Service to programmatically interact with [ingestion configs](/glossary#ingestion-config).",
            "externalDocs": {
                "description": "Read more about what ingestion configs are.",
                "url": "/ingestion/creating-amend-ingestion-config"
            }
        },
        {
            "name": "ReportService"
        },
        {
            "name": "ExternalSyncService"
        },
        {
            "name": "ChannelService",
            "description": "Service to programmatically interact with [channels](/glossary#channel).",
            "externalDocs": {
                "description": "Read more about what channels are.",
                "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265453943"
            }
        }
    ],
    "paths": {
        "/api/v1/annotation-logs": {
            "get": {
                "summary": "ListAnnotationLogs",
                "description": "Retrieves annotation logs using an optional filter.",
                "operationId": "AnnotationLogService_ListAnnotationLogs2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListAnnotationLogsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "annotationId",
                        "description": "The ID of the parent annotation associated with the annotation logs.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of annotation logs to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 annotation logs will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListAnnotationLogs` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListAnnotationLogs` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `annotation_log_id`, `annotation_id`, `created_by_user_id`,\n`annotation_id`, `created_date`, `modified_date`, and `kind`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/annotation_logs#annotationlogsearchresult). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AnnotationLogService"
                ]
            }
        },
        "/api/v1/annotations": {
            "get": {
                "summary": "ListAnnotation",
                "description": "Retrieves annotations using an optional filter.",
                "operationId": "AnnotationService_ListAnnotations",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListAnnotationsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of annotations to return. The service may return fewer than this value.\nIf unspecified, at most 50 annotations will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListAnnotations` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListAnnotations` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `annotation_id`, `start_time`, `end_time`,\n`created_date`, `modified_date`, `run_id`, `name`, `description`, `state`, `created_by_user_id`, `created_by_rule_condition_version_id`,\n`annotation_type`, `tag_name`, `report_id`, `asset_id`, `asset_name`, `pending`, `assignee`, `campaign_reports`, and `metadata`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/annotations#annotation). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved annotations. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, `start_time`, `end_time`, `name`, and `description`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AnnotationService"
                ]
            },
            "post": {
                "summary": "CreateAnnotation",
                "description": "Creates an annotation.",
                "operationId": "AnnotationService_CreateAnnotation",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateAnnotationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateAnnotationRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `AnnotationService_CreateAnnotation` to create a new annotation.\nAt least 1 asset, tag, or channel must be specified.",
                    "required": true
                },
                "tags": [
                    "AnnotationService"
                ]
            },
            "patch": {
                "summary": "UpdateAnnotation",
                "description": "Updates an existing annotation using using the list of fields specified in `update_mask`.",
                "operationId": "AnnotationService_UpdateAnnotation",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateAnnotationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateAnnotationRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `AnnotationService_UpdateAnnotation` to update an annotation.",
                    "required": true
                },
                "tags": [
                    "AnnotationService"
                ]
            }
        },
        "/api/v1/annotations/{annotationId}": {
            "get": {
                "summary": "GetAnnotation",
                "description": "Retrieves an annotation",
                "operationId": "AnnotationService_GetAnnotation",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetAnnotationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "annotationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AnnotationService"
                ]
            },
            "delete": {
                "summary": "DeleteAnnotation",
                "description": "Deletes an annotation.",
                "operationId": "AnnotationService_DeleteAnnotation",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteAnnotationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "annotationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AnnotationService"
                ]
            }
        },
        "/api/v1/annotations/{annotationId}/logs": {
            "get": {
                "summary": "ListAnnotationLogs",
                "description": "Retrieves annotation logs using an optional filter.",
                "operationId": "AnnotationLogService_ListAnnotationLogs",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListAnnotationLogsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "annotationId",
                        "description": "The ID of the parent annotation associated with the annotation logs.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of annotation logs to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 annotation logs will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListAnnotationLogs` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListAnnotationLogs` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `annotation_log_id`, `annotation_id`, `created_by_user_id`,\n`annotation_id`, `created_date`, `modified_date`, and `kind`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/annotation_logs#annotationlogsearchresult). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AnnotationLogService"
                ]
            },
            "post": {
                "summary": "CreateAnnotationLog",
                "description": "Creates an annotation log on an annotation.",
                "operationId": "AnnotationLogService_CreateAnnotationLog",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateAnnotationLogResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "annotationId",
                        "description": "The ID of the parent annotation associated to associate with the new annotation log.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnnotationLogServiceCreateAnnotationLogBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "AnnotationLogService"
                ]
            }
        },
        "/api/v1/annotations/{annotationId}/logs/{annotationLogId}": {
            "delete": {
                "summary": "DeleteAnnotationLog",
                "description": "Deletes an annotation log.",
                "operationId": "AnnotationLogService_DeleteAnnotationLog",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteAnnotationLogResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "annotationId",
                        "description": "The ID of the parent annotation associated with the annotation log to be deleted.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "annotationLogId",
                        "description": "ID of the annotation log to be deleted.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AnnotationLogService"
                ]
            }
        },
        "/api/v1/annotations:batchDelete": {
            "post": {
                "summary": "BatchDeleteAnnotation",
                "description": "Batch deletes annotations.",
                "operationId": "AnnotationService_BatchDeleteAnnotations",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchDeleteAnnotationsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchDeleteAnnotationsRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "AnnotationService"
                ]
            }
        },
        "/api/v1/assets": {
            "get": {
                "summary": "ListAssets",
                "description": "Retrieves assets using an optional filter.",
                "operationId": "AssetService_ListAssets",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListAssetsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of assets to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 assets will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListAssets` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListAssets` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `asset_id`, `created_by_user_id`, `modified_by_user_id`,\n`created_date`, `modified_date`, `name`, `tag_id`, `tag_name`, `is_archived`, and `metadata`. Metadata can be used in filters by using `metadata.{metadata_key_name}` as the field name.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/assets#asset). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved assets. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AssetService"
                ]
            },
            "patch": {
                "summary": "UpdateAsset",
                "description": "Update fields on an asset.",
                "operationId": "AssetService_UpdateAsset",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateAssetResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateAssetRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `AssetService_UpdateAsset` to update a single existing asset.",
                    "required": true
                },
                "tags": [
                    "AssetService"
                ]
            }
        },
        "/api/v1/assets/{assetId}": {
            "get": {
                "summary": "GetAsset",
                "description": "Retrieves an asset.",
                "operationId": "AssetService_GetAsset",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetAssetResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetId",
                        "description": "The id of the asset to be retrieved. Required.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "AssetService"
                ]
            },
            "delete": {
                "summary": "DeleteAsset",
                "description": "Deletes an asset.",
                "operationId": "AssetService_DeleteAsset",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteAssetResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetId",
                        "description": "The id of the asset to be archived. Required.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "archiveRuns",
                        "description": "If true, will archive all runs associated with the asset.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "tags": [
                    "AssetService"
                ]
            }
        },
        "/api/v1/assets/{assetId}/archive": {
            "post": {
                "summary": "ArchiveAsset",
                "description": "Archives an asset.",
                "operationId": "AssetService_ArchiveAsset",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ArchiveAssetResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetId",
                        "description": "The id of the asset to be archived. Required.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "archiveRuns",
                        "description": "If true, will archive all runs associated with the asset.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "tags": [
                    "AssetService"
                ]
            }
        },
        "/api/v1/calculated-channels:expression-identifiers": {
            "get": {
                "summary": "ListExpressionIdentifiers",
                "description": "Retrieves a list of valid identifiers that can be used as part of a calculated channel expression.",
                "operationId": "CalculatedChannelsService_ListExpressionIdentifiers",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListExpressionIdentifiersResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "Defaults to 1000. Max of 10,000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "mode",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "EXPRESSION_MODE_UNSPECIFIED",
                                "EXPRESSION_MODE_RULES",
                                "EXPRESSION_MODE_CALCULATED_CHANNELS",
                                "EXPRESSION_MODE_RULER",
                                "EXPRESSION_MODE_STRUCTURED_DATA"
                            ],
                            "default": "EXPRESSION_MODE_UNSPECIFIED"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelsService"
                ]
            }
        },
        "/api/v1/calculated-channels:validate-expression": {
            "post": {
                "summary": "ValidateExpression",
                "description": "Used to validate whether or not an expression used for a calculated channel is valid.",
                "operationId": "CalculatedChannelsService_ValidateExpression",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ValidateExpressionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ValidateExpressionRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "CalculatedChannelsService"
                ]
            }
        },
        "/api/v1/campaigns": {
            "get": {
                "summary": "ListCampaigns",
                "description": "List campaigns.",
                "operationId": "CampaignService_ListCampaigns",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListCampaignsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of campaigns to return. The service may return fewer than this value.\nIf unspecified, at most 50 campaigns will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListCampaigns` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListCampaigns` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are:\n`created_by_user_id`, `tag_id`, `tag_name`, `report_id`, `report_name`, `campaign_id`, `client_key`, `description`, `run_id`, `name`, and `metadata`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to this definition. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "includeArchived",
                        "description": "If `true` then archived campaigns will be included in the query. Defaults to `false`.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved campaigns. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CampaignService"
                ]
            },
            "post": {
                "summary": "CreateCampaign",
                "description": "Create a campaign.",
                "operationId": "CampaignService_CreateCampaign",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateCampaignResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateCampaignRequest"
                            }
                        }
                    },
                    "description": "The request of a call to `CampaignService_CreateCampaign` to create a campaign.",
                    "required": true
                },
                "tags": [
                    "CampaignService"
                ]
            },
            "patch": {
                "summary": "UpdateCampaign",
                "description": "Updates an existing campaign using the list of fields specified in `update_mask`.",
                "operationId": "CampaignService_UpdateCampaign",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateCampaignResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateCampaignRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `CampaignService_UpdateCampaign` to update a campaign. When updating\ntags or rules, the update will perform a full replace. Additionally, when updating rules, only the rule ID or the rule client key\nis required, but it is okay to provide both. If some rules contain only client keys and others only rule IDs, they will be consolidated.",
                    "required": true
                },
                "tags": [
                    "CampaignService"
                ]
            }
        },
        "/api/v1/campaigns/{campaignId}": {
            "get": {
                "summary": "GetCampaign",
                "description": "Retrieve a campaign.",
                "operationId": "CampaignService_GetCampaign",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetCampaignResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "campaignId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CampaignService"
                ]
            }
        },
        "/api/v1/campaigns/{campaignId}/annotations": {
            "get": {
                "summary": "ListCampaignAnnotations",
                "description": "List annotations for a campaign.",
                "operationId": "CampaignService_ListCampaignAnnotations",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListCampaignAnnotationsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "campaignId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of annotations to return. The service may return fewer than this value.\nIf unspecified, at most 50 annotations will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListAnnotations` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListAnnotations` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `annotation_id`, `start_time`, `end_time`,\n`created_date`, `modified_date`, `run_id`, `name`, `description`, `state`, `created_by_user_id`, `created_by_rule_condition_version_id`,\n`annotation_type`, `tag_name`, `report_id`, `asset_id`, `asset_name`, `pending`, `assignee`, and `metadata`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/annotations#annotation). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved annotations. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, `start_time`, and `end_time`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CampaignService"
                ]
            }
        },
        "/api/v1/channel-schemas": {
            "post": {
                "summary": "CreateChannelSchema",
                "description": "Create a channel schema",
                "operationId": "ChannelSchemaService_CreateChannelSchema",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channel_schemasv1CreateChannelSchemaResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/channel_schemasv1CreateChannelSchemaRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `ChannelSchemaService_CreateChannelSchema`.",
                    "required": true
                },
                "tags": [
                    "ChannelSchemaService"
                ]
            }
        },
        "/api/v1/channel-schemas:batch-create": {
            "post": {
                "summary": "BatchCreateChannelSchemas",
                "description": "Create a batch of channel schemas",
                "operationId": "ChannelSchemaService_BatchCreateChannelSchemas",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channel_schemasv1BatchCreateChannelSchemasResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/channel_schemasv1BatchCreateChannelSchemasRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `ChannelSchemaService_BatchCreateChannelSchemas`.",
                    "required": true
                },
                "tags": [
                    "ChannelSchemaService"
                ]
            }
        },
        "/api/v1/data": {
            "post": {
                "summary": "GetData",
                "description": "Query data",
                "operationId": "DataService_GetData",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/datav1GetDataResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/datav1GetDataRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "DataService"
                ]
            }
        },
        "/api/v1/export": {
            "post": {
                "summary": "ExportData",
                "description": "Export data.",
                "operationId": "ExportService_ExportData",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ExportDataResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ExportDataRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ExportService"
                ]
            }
        },
        "/api/v1/export/{jobId}/download-url": {
            "get": {
                "summary": "GetDownloadUrl",
                "description": "Retrieve the download URL for a completed job.",
                "operationId": "ExportService_GetDownloadUrl",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetDownloadUrlResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "jobId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ExportService"
                ]
            }
        },
        "/api/v1/external-sync": {
            "get": {
                "summary": "GetTokenDetails",
                "description": "Get details about the most recent token generated, does not include the token itself",
                "operationId": "ExternalSyncService_GetExternalSync",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetExternalSyncResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "ExternalSyncService"
                ]
            },
            "post": {
                "summary": "SyncOrganization",
                "description": "Synchronizes an organization's users and groups",
                "operationId": "ExternalSyncService_SyncOrganization",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1SyncOrganizationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1SyncOrganizationRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ExternalSyncService"
                ]
            }
        },
        "/api/v1/external-sync:generate-token": {
            "post": {
                "summary": "GenerateToken",
                "description": "Generates a token for synchronizing an organization's users and groups",
                "operationId": "ExternalSyncService_GenerateToken",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GenerateTokenResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1GenerateTokenRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ExternalSyncService"
                ]
            }
        },
        "/api/v1/external-sync:list-tokens": {
            "get": {
                "summary": "ListExternalSyncTokens",
                "description": "List all tokens created by org",
                "operationId": "ExternalSyncService_ListExternalSyncTokens",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListExternalSyncTokensResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of tokens to return. The service may return fewer than this value.\nIf unspecified, at most 50 tokens will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListExternalSyncTokens` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListExternalSyncTokens` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nThere are currently no available fields.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved user defined functions. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable field to order_by is `created_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date asc\".",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ExternalSyncService"
                ]
            }
        },
        "/api/v1/ingestion-configs": {
            "get": {
                "summary": "ListIngestionConfigs",
                "description": "List ingestion configs using an optional filter.",
                "operationId": "IngestionConfigService_ListIngestionConfigs",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv1ListIngestionConfigsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of ingestion configs to return. The service may return fewer than this value.\nIf unspecified, at most 50 ingestion configs will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListIngestionConfigs` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListIngestionConfigs` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `ingestion_config_id`, `client_key`, `asset_id`, `created_date`, and `modified_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/ingestion_configs#ingestionconfigservice). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "IngestionConfigService"
                ]
            },
            "post": {
                "summary": "CreateIngestionConfig",
                "description": "Create an ingestion config.",
                "operationId": "IngestionConfigService_CreateIngestionConfig",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv1CreateIngestionConfigResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ingestion_configsv1CreateIngestionConfigRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `IngestionConfigService_CreateIngestionConfig` to create an ingestion configs.",
                    "required": true
                },
                "tags": [
                    "IngestionConfigService"
                ]
            }
        },
        "/api/v1/ingestion-configs/{ingestionConfigId}": {
            "get": {
                "summary": "GetIngestionConfig",
                "description": "Retrieves an ingestion config.",
                "operationId": "IngestionConfigService_GetIngestionConfig",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv1GetIngestionConfigResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ingestionConfigId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "IngestionConfigService"
                ]
            }
        },
        "/api/v1/ingestion-configs/{ingestionConfigId}/flows": {
            "get": {
                "summary": "ListIngestionConfigFlows",
                "description": "List ingestion config [flows](/glossary#flow) using an optional filter.",
                "operationId": "IngestionConfigService_ListIngestionConfigFlows",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv1ListIngestionConfigFlowsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ingestionConfigId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of ingestion config flows to return. The service may return fewer than this value.\nIf unspecified, at most 50 ingestion config flows will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListIngestionConfigFlows` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListIngestionConfigFlows` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `flow_name`, `flow_id`, `created_date`, and `modified_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/ingestion_configs#ingestionconfig). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "IngestionConfigService"
                ]
            },
            "post": {
                "summary": "CreateIngestionConfigFlows",
                "description": "Create ingestion config [flows](/glossary#flow).",
                "operationId": "IngestionConfigService_CreateIngestionConfigFlows",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv1CreateIngestionConfigFlowsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ingestionConfigId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ingestion_configsv1IngestionConfigServiceCreateIngestionConfigFlowsBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "IngestionConfigService"
                ]
            }
        },
        "/api/v1/jobs": {
            "get": {
                "summary": "ListJobs",
                "description": "List jobs.",
                "operationId": "JobService_ListJobs",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListJobsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of jobs to return. The service may return fewer than this value.\nIf unspecified, at most 50 jobs will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListJobs` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListJobs` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are:\n`job_id`, `created_by_user_id`, `modified_by_user_id`, `created_date`, `modified_date`, `started_date`, `completed_date`, and `job_status`\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to this definition. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved jobs. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, `started_date`, `completed_date`, `job_status`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "JobService"
                ]
            }
        },
        "/api/v1/jobs/{jobId}:cancel": {
            "post": {
                "summary": "CancelJob",
                "description": "Requests cancellation of a job.",
                "operationId": "JobService_CancelJob",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CancelJobResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "jobId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "JobService"
                ]
            }
        },
        "/api/v1/jobs/{jobId}:retry": {
            "post": {
                "summary": "RetryJob",
                "description": "Manually retries a job.",
                "operationId": "JobService_RetryJob",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1RetryJobResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "jobId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "JobService"
                ]
            }
        },
        "/api/v1/metadata-key-usage": {
            "get": {
                "summary": "ListMetadataUsage",
                "description": "List metadata key usage.",
                "operationId": "MetadataService_ListMetadataUsage",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListMetadataUsageResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of metadata key usages to return. The service may return fewer than this value.\nIf unspecified, at most 50 metadata key usages will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListMetadataUsage` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListMetadataUsage` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are:\n`entity_name`, `entity_type`, `key_name`,`value_string`, `value_number`, and `value_boolean`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to this definition. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved metadata key usages. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `entity_id` and `entity_type`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-keys": {
            "get": {
                "summary": "ListMetadataKeys",
                "description": "List metadata keys.",
                "operationId": "MetadataService_ListMetadataKeys",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListMetadataKeysResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of metadata keys to return. The service may return fewer than this value.\nIf unspecified, at most 50 metadata keys will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListMetadataKeys` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListMetadataKeys` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are:\n`name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to this definition. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved metadata keys. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `name`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "MetadataService"
                ]
            },
            "post": {
                "summary": "CreateMetadataKey",
                "description": "Create a metadata key.",
                "operationId": "MetadataService_CreateMetadataKey",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateMetadataKeyResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateMetadataKeyRequest"
                            }
                        }
                    },
                    "description": "The request of a call to `MetadataService_CreateMetadataKey` to create a metadata key.",
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-keys/archive": {
            "post": {
                "summary": "ArchiveMetadataKeys",
                "description": "Archive metadata keys.",
                "operationId": "MetadataService_ArchiveMetadataKeys",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ArchiveMetadataKeysResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ArchiveMetadataKeysRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-keys/delete": {
            "post": {
                "summary": "DeleteMetadataKeys",
                "description": "Delete metadata keys.",
                "operationId": "MetadataService_DeleteMetadataKeys",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteMetadataKeysResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1DeleteMetadataKeysRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-keys/unarchive": {
            "post": {
                "summary": "UnarchiveMetadataKeys",
                "description": "Unarchive metadata keys.",
                "operationId": "MetadataService_UnarchiveMetadataKeys",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UnarchiveMetadataKeysResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UnarchiveMetadataKeysRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-values": {
            "get": {
                "summary": "ListMetadataValues",
                "description": "List metadata values.",
                "operationId": "MetadataService_ListMetadataValues",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListMetadataValuesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of metadata values to return. The service may return fewer than this value.\nIf unspecified, at most 50 metadata values will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListMetadataValues` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListMetadataValues` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are:\n`value_string`, `value_number`, and `value_boolean`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to this definition. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved metadata keys. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `name`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "metadataKeyName",
                        "description": "The name of the metadata key to list values for.",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "MetadataService"
                ]
            },
            "post": {
                "summary": "Create a metadata value.",
                "operationId": "MetadataService_CreateMetadataValue",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateMetadataValueResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateMetadataValueRequest"
                            }
                        }
                    },
                    "description": "The request of a call to `MetadataService_CreateMetadataValue` to create a metadata value.",
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-values/archive": {
            "post": {
                "summary": "ArchiveMetadataValues",
                "description": "Archive metadata values.",
                "operationId": "MetadataService_ArchiveMetadataValues",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ArchiveMetadataValuesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ArchiveMetadataValuesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-values/delete": {
            "post": {
                "summary": "DeleteMetadataValues",
                "description": "Delete metadata values.",
                "operationId": "MetadataService_DeleteMetadataValues",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteMetadataValuesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1DeleteMetadataValuesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/metadata-values/unarchive": {
            "post": {
                "summary": "UnarchiveMetadataValues",
                "description": "Unarchive metadata values.",
                "operationId": "MetadataService_UnarchiveMetadataValues",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UnarchiveMetadataValuesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UnarchiveMetadataValuesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "MetadataService"
                ]
            }
        },
        "/api/v1/notifications": {
            "get": {
                "summary": "ListNotifications",
                "description": "Retrieves notifications using an optional filter.",
                "operationId": "NotificationService_ListNotifications",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListNotificationsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of notifications to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 notifications will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListNotifications` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListNotifications` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `notification_id`, `created_by_user_id`, `recipient_user_id`,\n`created_date`, `notification_type`, and `is_read`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/notifications#notification). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "NotificationService"
                ]
            }
        },
        "/api/v1/notifications:batchUpdate": {
            "post": {
                "summary": "BatchUpdateNotifications",
                "description": "Batch updates a list of notifications using the list of fields specified in their respective `update_mask`s.",
                "operationId": "NotificationService_BatchUpdateNotifications",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchUpdateNotificationsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchUpdateNotificationsRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `NotificationService_BatchUpdateNotifications` to update notifications.\nA maximum of 1000 notifications can be modified in a batch.",
                    "required": true
                },
                "tags": [
                    "NotificationService"
                ]
            }
        },
        "/api/v1/panel-configurations": {
            "get": {
                "summary": "ListPanelConfigurations",
                "description": "Retrieves panel configurations using an optional filter.",
                "operationId": "PanelConfigurationService_ListPanelConfigurations",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListPanelConfigurationsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of panel configurations to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 panel configurations will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListPanelConfigurations` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListPanelConfigurations` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string\nAvailable fields to filter by are 'name', 'created_date', and 'modified_date'.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved panel configurations. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`.\nIf left empty, items are ordered by `name` in ascending order (alphabetical).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"name\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "PanelConfigurationService"
                ]
            },
            "post": {
                "summary": "CreatePanelConfiguration",
                "description": "Creates a panel configuration.",
                "operationId": "PanelConfigurationService_CreatePanelConfiguration",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreatePanelConfigurationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreatePanelConfigurationRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "PanelConfigurationService"
                ]
            }
        },
        "/api/v1/panel-configurations/{panelConfiguration.panelConfigurationId}": {
            "patch": {
                "summary": "UpdatePanelConfiguration",
                "description": "Updates an existing panel configuration using using the list of fields specified in `update_mask`.",
                "operationId": "PanelConfigurationService_UpdatePanelConfiguration",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdatePanelConfigurationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "panelConfiguration.panelConfigurationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PanelConfigurationServiceUpdatePanelConfigurationBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "PanelConfigurationService"
                ]
            }
        },
        "/api/v1/panel-configurations/{panelConfigurationId}": {
            "get": {
                "summary": "GetPanelConfiguration",
                "description": "Retrieves a panel configuration.",
                "operationId": "PanelConfigurationService_GetPanelConfiguration",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetPanelConfigurationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "panelConfigurationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "PanelConfigurationService"
                ]
            }
        },
        "/api/v1/ping": {
            "get": {
                "operationId": "PingService_Ping",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1PingResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "PingService"
                ]
            }
        },
        "/api/v1/protobuf-descriptors": {
            "get": {
                "summary": "ListProtobufDescriptors",
                "description": "Retrieve protobuf descriptors using an optional filter.",
                "operationId": "ProtobufDescriptorService_ListProtobufDescriptors",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/protobuf_descriptorsv1ListProtobufDescriptorsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "organizationId",
                        "description": "organization_id is deprecated",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of protobuf descriptors to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 protobuf descriptors will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListProtobufDescriptors` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListProtobufDescriptors` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `protobuf_descriptor_id`, `proto_file_name`, `namespace`, and `message_type_full_name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/protocol-buffers/documentation#protobufdescriptor). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ProtobufDescriptorService"
                ]
            },
            "delete": {
                "summary": "DeleteProtobufDescriptors",
                "description": "Delete protobuf descriptors of that match the provided `namespace` and `message_type_full_name`.",
                "operationId": "ProtobufDescriptorService_DeleteProtobufDescriptors",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/protobuf_descriptorsv1DeleteProtobufDescriptorsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "messageTypeFullName",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "namespace",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "organization_id is deprecated",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "protobufDescriptorId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ProtobufDescriptorService"
                ]
            }
        },
        "/api/v1/protobuf-descriptors:add": {
            "post": {
                "summary": "AddProtobufDescriptor",
                "description": "Used to register a protobuf message to be ingested.",
                "operationId": "ProtobufDescriptorService_AddProtobufDescriptor",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/protobuf_descriptorsv1AddProtobufDescriptorResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "protobufDescriptor.messageTypeFullName",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "protobufDescriptor.fileDescriptorSet",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "format": "byte"
                        }
                    },
                    {
                        "name": "protobufDescriptor.protoFileName",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "protobufDescriptor.namespace",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "protobufDescriptor.protobufDescriptorId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "organization_id is deprecated",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "forceDuplicateRegistration",
                        "description": "If set to true, the service will ignore checks that this descriptor has already been registered\nand will ensure that it is registered as the latest proto descriptor for the message type.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    }
                ],
                "tags": [
                    "ProtobufDescriptorService"
                ]
            }
        },
        "/api/v1/remote-files": {
            "get": {
                "summary": "ListRemoteFiles",
                "description": "List remote files.",
                "operationId": "RemoteFileService_ListRemoteFiles",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListRemoteFilesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of remote files to return. The service may return fewer than this value.\nIf unspecified, at most 50 remote files will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListRemoteFiles` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListRemoteFiles` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `remote_file_id`, `entity_id`, `entity_type`, and `file_name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/remote_files#remotefile). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RemoteFileService"
                ]
            },
            "post": {
                "summary": "CreateRemoteFile",
                "description": "Create a remote file.",
                "operationId": "RemoteFileService_CreateRemoteFile",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateRemoteFileResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateRemoteFileRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `RemoteFileService_CreateRemoteFile` to create a remote file.",
                    "required": true
                },
                "tags": [
                    "RemoteFileService"
                ]
            },
            "patch": {
                "summary": "UpdateRemoteFile",
                "description": "Updates an existing remote file using using the list of fields specified in `update_mask`.",
                "operationId": "RemoteFileService_UpdateRemoteFile",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateRemoteFileResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateRemoteFileRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `RemoteFileService_UpdateRemoteFile` to update a remote file.",
                    "required": true
                },
                "tags": [
                    "RemoteFileService"
                ]
            }
        },
        "/api/v1/remote-files/{remoteFileId}": {
            "get": {
                "summary": "GetRemoteFile",
                "description": "Retrieve a remote file.",
                "operationId": "RemoteFileService_GetRemoteFile",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetRemoteFileResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "remoteFileId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RemoteFileService"
                ]
            },
            "delete": {
                "summary": "DeleteRemoteFile",
                "description": "Delete a remote file.",
                "operationId": "RemoteFileService_DeleteRemoteFile",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteRemoteFileResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "remoteFileId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RemoteFileService"
                ]
            }
        },
        "/api/v1/remote-files/{remoteFileId}/download-url": {
            "get": {
                "summary": "GetRemoteFileUrl",
                "description": "Gets a download URL for the remote file.",
                "operationId": "RemoteFileService_GetRemoteFileDownloadUrl",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetRemoteFileDownloadUrlResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "remoteFileId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RemoteFileService"
                ]
            }
        },
        "/api/v1/remote-files:batchDelete": {
            "post": {
                "summary": "BatchDeleteRemoteFiles",
                "description": "Batch delete remote files. Each batch is limited to 1000 records.",
                "operationId": "RemoteFileService_BatchDeleteRemoteFiles",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchDeleteRemoteFilesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchDeleteRemoteFilesRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `RemoteFileService_BatchDeleteRemoteFiles` to delete remote files.",
                    "required": true
                },
                "tags": [
                    "RemoteFileService"
                ]
            }
        },
        "/api/v1/report-templates": {
            "get": {
                "summary": "ListReportTemplates",
                "description": "List report templates.",
                "operationId": "ReportTemplateService_ListReportTemplates",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListReportTemplatesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of report templates to return. The service may return fewer than this value.\nIf unspecified, at most 50 report templates will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListReportTemplates` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListReportTemplates` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `report_template_id`, `tag_id`, `tag_name`, `client_key`, `metadata`, and `name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/report_templates#report_template). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "includeArchived",
                        "description": "Deprecated. Use `filter` instead.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved report templates. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportTemplateService"
                ]
            },
            "post": {
                "summary": "CreateReportTemplate",
                "description": "Create a report template.",
                "operationId": "ReportTemplateService_CreateReportTemplate",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateReportTemplateResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateReportTemplateRequest"
                            }
                        }
                    },
                    "description": "The request of a call to `ReportTemplateService_CreateReportTemplate` to create a report template.",
                    "required": true
                },
                "tags": [
                    "ReportTemplateService"
                ]
            },
            "patch": {
                "summary": "UpdateReportTemplate",
                "description": "Updates an existing report template using the list of fields specified in `update_mask`.",
                "operationId": "ReportTemplateService_UpdateReportTemplate",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateReportTemplateResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateReportTemplateRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `ReportTemplateService_UpdateReportTemplate` to update a report template. When updating\ntags or rules, the update will perform a full replace. Additionally, when updating rules, only the rule ID or the rule client key\nis required, but it is okay to provide both. If some rules contain only client keys and others only rule IDs, they will be consolidated.",
                    "required": true
                },
                "tags": [
                    "ReportTemplateService"
                ]
            }
        },
        "/api/v1/report-templates/{reportTemplateId}": {
            "get": {
                "summary": "GetReportTemplate",
                "description": "Retrieve a report template.",
                "operationId": "ReportTemplateService_GetReportTemplate",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetReportTemplateResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "reportTemplateId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportTemplateService"
                ]
            }
        },
        "/api/v1/reports": {
            "get": {
                "summary": "ListReports",
                "description": "List reports.",
                "operationId": "ReportService_ListReports",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListReportsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of reports to return. The service may return fewer than this value.\nIf unspecified, at most 50 reports will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListReports` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListReports` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `report_id`, `report_template_id`, `tag_name`, `name`, `run_id`, and `archived_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/reports#report). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved reports. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportService"
                ]
            },
            "post": {
                "summary": "CreateReport",
                "description": "Create a report.",
                "operationId": "ReportService_CreateReport",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateReportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateReportRequest"
                            }
                        }
                    },
                    "description": "Deprecated - use RuleEvaluationService instead.",
                    "required": true
                },
                "tags": [
                    "ReportService"
                ]
            },
            "put": {
                "summary": "UpdateReport",
                "description": "Update a report.",
                "operationId": "ReportService_UpdateReport",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateReportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateReportRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ReportService"
                ]
            }
        },
        "/api/v1/reports/{reportId}": {
            "get": {
                "summary": "GetReport",
                "description": "Retrieve a report.",
                "operationId": "ReportService_GetReport",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetReportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "reportId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportService"
                ]
            }
        },
        "/api/v1/reports/{reportId}:cancel": {
            "post": {
                "summary": "CancelReport",
                "description": "Canceling a report will stop the evaluation of the report and mark it as canceled. Any results that have been calculated up to the point of cancellation will be saved.",
                "operationId": "ReportService_CancelReport",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CancelReportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "reportId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportService"
                ]
            }
        },
        "/api/v1/reports/{reportId}:rerun": {
            "post": {
                "summary": "RerunReport",
                "description": "Rerunning a report will create a new report with the same rule versions and run as the original report and run the evaluation again using the most up-to-date set of data.",
                "operationId": "ReportService_RerunReport",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1RerunReportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "reportId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportService"
                ]
            }
        },
        "/api/v1/rules": {
            "get": {
                "summary": "GetRule",
                "description": "Retrieves the latest version of a rule.",
                "operationId": "RuleService_GetRule",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetRuleResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ruleId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RuleService"
                ]
            },
            "post": {
                "summary": "CreateRule",
                "description": "Creates a rule.",
                "operationId": "RuleService_CreateRule",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateRuleResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateRuleRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            },
            "put": {
                "summary": "UpdateRule",
                "description": "Updates an existing rule.",
                "operationId": "RuleService_UpdateRule",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateRuleResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateRuleRequest"
                            }
                        }
                    },
                    "description": "UpdateRuleRequest is used to create or update a rule. If the rule_id or client_key is provided, the rule will be updated. If not, a new rule will be created.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/batchDelete": {
            "post": {
                "summary": "BatchDeleteRules",
                "description": "Deletes multiple rules.",
                "operationId": "RuleService_BatchDeleteRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchDeleteRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchDeleteRulesRequest"
                            }
                        }
                    },
                    "description": "BatchDeleteRulesRequest is used to delete a rule by rule_id or client_key. For each rule if both are provided, only rule_id will be used.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/batchUndelete": {
            "post": {
                "summary": "BatchUndeleteRules",
                "description": "Undeletes multiple rules.",
                "operationId": "RuleService_BatchUndeleteRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchUndeleteRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchUndeleteRulesRequest"
                            }
                        }
                    },
                    "description": "BatchUndeleteRulesRequest is used to delete a rule by rule_id or client_key. For each rule if both are provided, only rule_id will be used.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/delete": {
            "post": {
                "summary": "DeleteRule",
                "description": "Deletes a rule.",
                "operationId": "RuleService_DeleteRule",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteRuleResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1DeleteRuleRequest"
                            }
                        }
                    },
                    "description": "DeleteRuleRequest is used to delete a rule by rule_id or client_key. If both are provided, only rule_id will be used.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/evaluate": {
            "post": {
                "summary": "EvaluateRules",
                "description": "Evaluates the provided rules and generate annotations based on the result.",
                "operationId": "RuleService_EvaluateRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/siftrulesv1EvaluateRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/siftrulesv1EvaluateRulesRequest"
                            }
                        }
                    },
                    "description": "Deprecated - use RuleEvaluationService instead.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/evaluate-rules": {
            "post": {
                "summary": "EvaluateRules",
                "description": "Evaluate rules from a designated source against a run or asset and return the total amount of annotations created and the ID of the generated report.",
                "operationId": "RuleEvaluationService_EvaluateRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/siftrule_evaluationv1EvaluateRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/siftrule_evaluationv1EvaluateRulesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleEvaluationService"
                ]
            }
        },
        "/api/v1/rules/evaluate-rules:preview": {
            "post": {
                "summary": "EvaluateRulesPreview",
                "description": "Perform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.",
                "operationId": "RuleEvaluationService_EvaluateRulesPreview",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1EvaluateRulesPreviewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1EvaluateRulesPreviewRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleEvaluationService"
                ]
            }
        },
        "/api/v1/rules/search": {
            "post": {
                "summary": "SearchRules",
                "description": "Queries rules based on provided search parameters.",
                "operationId": "RuleService_SearchRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1SearchRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1SearchRulesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/undelete": {
            "post": {
                "summary": "UndeleteRule",
                "description": "Undeletes a rule.",
                "operationId": "RuleService_UndeleteRule",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UndeleteRuleResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UndeleteRuleRequest"
                            }
                        }
                    },
                    "description": "UndeleteRuleRequest is used to undelete a rule by rule_id or client_key. If both are provided, only rule_id will be used.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules/{ruleId}/versions": {
            "get": {
                "summary": "ListRuleVersions",
                "description": "Retrieves a list of rule versions for the given rule.",
                "operationId": "RuleService_ListRuleVersions",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListRuleVersionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ruleId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of Rule Versions to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 Rule Versions will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListRuleVersions` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListRuleVersions` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `rule_version_id`, `user_notes`,  and `change_message`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:batchGet": {
            "post": {
                "summary": "BatchGetRules",
                "description": "Retrieves multiple rules.",
                "operationId": "RuleService_BatchGetRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchGetRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchGetRulesRequest"
                            }
                        }
                    },
                    "description": "BatchGetRulesRequest is used to retrieve rules by rule_ids or client_keys. If both are provided, both will be used to retrieve rules.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:batchGetVersions": {
            "post": {
                "summary": "BatchGetRuleVersions",
                "description": "Retrieves multiple rules by rule versions.",
                "operationId": "RuleService_BatchGetRuleVersions",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchGetRuleVersionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchGetRuleVersionsRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:batchUpdate": {
            "put": {
                "summary": "BatchUpdateRules",
                "description": "Updates existing rules or creates rules that do not exist.",
                "operationId": "RuleService_BatchUpdateRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchUpdateRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchUpdateRulesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:list": {
            "get": {
                "summary": "ListRules",
                "description": "Retrieves a list of rules.",
                "operationId": "RuleService_ListRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of Rules to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 Rules will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListRules` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListRules` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `rule_id`, `client_key`, `name`, `description`, `asset_id`, `tag_id`, and `deleted_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nOptional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved Rules. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:updateHumanFriendly": {
            "post": {
                "summary": "UpdateHumanFriendlyRules",
                "description": "Batch update rules given the `rules_json` which is a JSON list of rules.",
                "operationId": "RuleService_UpdateHumanFriendlyRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateHumanFriendlyRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateHumanFriendlyRulesRequest"
                            }
                        }
                    },
                    "description": "Deprecated - use UpdateJsonRulesRequest.",
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:updateJson": {
            "post": {
                "summary": "UpdateJsonRules",
                "description": "Batch update rules given the `rules_json` which is a JSON list of rules.",
                "operationId": "RuleService_UpdateJsonRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateJsonRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateJsonRulesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:validateJson": {
            "post": {
                "summary": "ValidateJsonRules",
                "description": "Validate a batch update for rules given the `rules_json` which is a JSON list of rules.",
                "operationId": "RuleService_ValidateJsonRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ValidateJsonRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ValidateJsonRulesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:version": {
            "get": {
                "summary": "GetRuleVersion",
                "description": "Retrieves a specific version of a rule.",
                "operationId": "RuleService_GetRuleVersion",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetRuleVersionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ruleVersionId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:viewHumanFriendly": {
            "get": {
                "summary": "ViewHumanFriendlyRules",
                "description": "Retrieve a JSON object containing all of the rules for a given asset.",
                "operationId": "RuleService_ViewHumanFriendlyRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ViewHumanFriendlyRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/rules:viewJson": {
            "get": {
                "summary": "ViewJsonRules",
                "description": "Retrieve a JSON object containing all of the rules for a given asset.",
                "operationId": "RuleService_ViewJsonRules",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ViewJsonRulesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RuleService"
                ]
            }
        },
        "/api/v1/saved_searches": {
            "get": {
                "summary": "ListSavedSearches",
                "description": "List saved searches.",
                "operationId": "SavedSearchService_ListSavedSearches",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListSavedSearchesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of saved searches to return. The service may return fewer than this value.\nIf unspecified, at most 50 saved searches will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListSavedSearches` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListSavedSearches` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are 'name' and 'saved_search_id'.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/saved_searches#savedsearch). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "SavedSearchService"
                ]
            },
            "post": {
                "summary": "CreateSavedSearch",
                "description": "Create a saved search.",
                "operationId": "SavedSearchService_CreateSavedSearch",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateSavedSearchResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateSavedSearchRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `SavedSearchService_CreateSavedSearch` to create a saved search.",
                    "required": true
                },
                "tags": [
                    "SavedSearchService"
                ]
            },
            "patch": {
                "summary": "UpdateSavedSearch",
                "description": "Updates an existing saved search using using the list of fields specified in `update_mask`.",
                "operationId": "SavedSearchService_UpdateSavedSearch",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateSavedSearchResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateSavedSearchRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `SavedSearchService_UpdateSavedSearch` to update a saved search.",
                    "required": true
                },
                "tags": [
                    "SavedSearchService"
                ]
            }
        },
        "/api/v1/saved_searches/{savedSearchId}": {
            "get": {
                "summary": "GetSavedSearch",
                "description": "Retrieve a saved search.",
                "operationId": "SavedSearchService_GetSavedSearch",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetSavedSearchResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "savedSearchId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "SavedSearchService"
                ]
            },
            "delete": {
                "summary": "DeleteSavedSearch",
                "description": "Delete a saved search.",
                "operationId": "SavedSearchService_DeleteSavedSearch",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1DeleteSavedSearchResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "savedSearchId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "SavedSearchService"
                ]
            }
        },
        "/api/v1/saved_searches:batchDelete": {
            "post": {
                "summary": "BatchDeleteSavedSearches",
                "description": "Batch delete saved searches.",
                "operationId": "SavedSearchService_BatchDeleteSavedSearches",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchDeleteSavedSearchesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchDeleteSavedSearchesRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `SavedSearchService_BatchDeleteSavedSearches` to delete saved searches.",
                    "required": true
                },
                "tags": [
                    "SavedSearchService"
                ]
            }
        },
        "/api/v1/tags": {
            "get": {
                "summary": "ListTags",
                "description": "Retrieves tags using an optional filter.",
                "operationId": "TagService_ListTags",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/tagsv1ListTagsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of tags to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 tags will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListTags` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListTags` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string\nAvailable fields to filter by are 'name' and 'tag_id'.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/protocol-buffers/documentation#tag). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "name",
                        "description": "Alias for `filter`. The web-client is unable to use `filter` so please use `name` for the\ncode generated via RTK.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "TagService"
                ]
            },
            "post": {
                "summary": "CreateTag",
                "description": "Create a tag.",
                "operationId": "TagService_CreateTag",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/tagsv1CreateTagResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/tagsv1CreateTagRequest"
                            }
                        }
                    },
                    "description": "The request for a call to TagService.CreateTag.",
                    "required": true
                },
                "tags": [
                    "TagService"
                ]
            }
        },
        "/api/v1/user-defined-functions": {
            "get": {
                "summary": "ListUserDefinedFunctions",
                "description": "Retrieve the latest versions of user defined functions based on an optional filter.",
                "operationId": "UserDefinedFunctionService_ListUserDefinedFunctions",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListUserDefinedFunctionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of user defined functions to return. The service may return fewer than this value.\nIf unspecified, at most 50 user defined functions will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListUserDefinedFunctions` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListUserDefinedFunctions` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nThere are currently no available fields.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved user defined functions. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, and `name`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\".",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            },
            "post": {
                "summary": "CreateUserDefinedFunction",
                "description": "Create a user defined function.",
                "operationId": "UserDefinedFunctionService_CreateUserDefinedFunction",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateUserDefinedFunctionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateUserDefinedFunctionRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "UserDefinedFunctionService"
                ]
            },
            "patch": {
                "summary": "UpdateUserDefinedFunction",
                "description": "Update and create a new version of a user defined function.",
                "operationId": "UserDefinedFunctionService_UpdateUserDefinedFunction",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateUserDefinedFunctionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateUserDefinedFunctionRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `UserDefinedFunctionService_UpdateUserDefinedFunction` to update a user defined function. Updating a user\ndefined function creates a new version of the user defined function, leaving the previous untouched. If no update is deemed necessary, then the\nthe current version is returned. If name is changed then only name will be changed. If archive date is changed then only archive date will be changed.\nTo archive user defined function, specify `archived_date` in the `update mask` as well as a non-null value for `archived_date` in the\n`user_defined_function` object. To unarchive a user defined function, specify `archived_date` in the `update mask` and a `null` value for `archived_date`\nin the `user_defined_function` object.",
                    "required": true
                },
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions/dependents": {
            "get": {
                "summary": "GetUserDefinedFunctionDependents",
                "description": "Retrieve dependents of a user defined function.",
                "operationId": "UserDefinedFunctionService_GetUserDefinedFunctionDependents",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetUserDefinedFunctionDependentsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "userDefinedFunctionId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "userDefinedFunctionName",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "userDefinedFunctionVersionId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions/updatable-fields": {
            "post": {
                "summary": "CheckUpdatableFields",
                "description": "Check if given update paths are allowed to update for the user defined function",
                "operationId": "UserDefinedFunctionService_CheckUpdatableFields",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CheckUpdatableFieldsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userDefinedFunctionId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "updateMask",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions/versions": {
            "get": {
                "summary": "GetUserDefinedFunctionVersions",
                "description": "Retrieve versions of user defined functions.",
                "operationId": "UserDefinedFunctionService_GetUserDefinedFunctionVersions",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetUserDefinedFunctionVersionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userDefinedFunctionVersionIds",
                        "in": "query",
                        "required": true,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions/versions/{userDefinedFunctionVersionId}": {
            "get": {
                "summary": "GetUserDefinedFunctionVersion",
                "description": "Retrieve a specific version of a user defined function.",
                "operationId": "UserDefinedFunctionService_GetUserDefinedFunctionVersion",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetUserDefinedFunctionVersionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userDefinedFunctionVersionId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions/{userDefinedFunctionId}": {
            "get": {
                "summary": "GetUserDefinedFunction",
                "description": "Retrieve the latest version of a user defined function.",
                "operationId": "UserDefinedFunctionService_GetUserDefinedFunction",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetUserDefinedFunctionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userDefinedFunctionId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "name",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions/{userDefinedFunctionId}/versions": {
            "get": {
                "summary": "ListUserDefinedFunctionVersions",
                "description": "List versions of a particular user defined function with an optional filter.",
                "operationId": "UserDefinedFunctionService_ListUserDefinedFunctionVersions",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListUserDefinedFunctionVersionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userDefinedFunctionId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "name",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of user defined function versions to return. The service may return fewer than this value.\nIf unspecified, at most 50 user defined function versions will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListUserDefinedFunctions` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListUserDefinedFunctions` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nThere are currently no available fields.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved user defined functions. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, `name`, and `version`.\nIf left empty, items are ordered by `name` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"version desc,name\".",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/user-defined-functions:validate": {
            "post": {
                "summary": "ValidateUserDefinedFunction",
                "description": "Validates a potential user defined function.",
                "operationId": "UserDefinedFunctionService_ValidateUserDefinedFunction",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ValidateUserDefinedFunctionResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ValidateUserDefinedFunctionRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "UserDefinedFunctionService"
                ]
            }
        },
        "/api/v1/views": {
            "get": {
                "summary": "ListViews",
                "description": "Retrieves views using an optional filter.",
                "operationId": "ViewService_ListViews",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1ListViewsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of views to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 views will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListViews` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListViews` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string\nAvailable fields to filter by are 'name', 'createdDate', and 'modifiedDate'.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/views#view). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            },
            "post": {
                "summary": "CreateView",
                "description": "Creates a view.",
                "operationId": "ViewService_CreateView",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1CreateViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv1View"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v1/views/{view.viewId}": {
            "patch": {
                "summary": "UpdateView",
                "description": "Updates an existing view using using the list of fields specified in `update_mask`.",
                "operationId": "ViewService_UpdateView",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1UpdateViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "view.viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv1ViewServiceUpdateViewBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v1/views/{viewId}": {
            "get": {
                "summary": "GetView",
                "description": "Retrieves a view.",
                "operationId": "ViewService_GetView",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1GetViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            },
            "delete": {
                "summary": "DeleteView",
                "description": "Deletes a view.",
                "operationId": "ViewService_DeleteView",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1DeleteViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v1/views/{viewId}/pin": {
            "patch": {
                "summary": "PinView",
                "description": "Pins a view.",
                "operationId": "ViewService_PinView",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1PinViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv1ViewServicePinViewBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ],
                "externalDocs": {
                    "description": "Learn more about pinning views.",
                    "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/295436289"
                }
            }
        },
        "/api/v1/views/{viewId}/unpin": {
            "patch": {
                "summary": "UnpinView",
                "description": "Unpins a view.",
                "operationId": "ViewService_UnpinView",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1UnpinViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv1ViewServiceUnpinViewBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ],
                "externalDocs": {
                    "description": "Learn more about pinning views.",
                    "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/295436289"
                }
            }
        },
        "/api/v1/views:applicable": {
            "get": {
                "summary": "Lists views that apply to assets/runs.",
                "operationId": "ViewService_ListApplicableViews",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv1ListApplicableViewsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of views to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 views will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListApplicableViews` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListApplicableViews` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "assetIds",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "runIds",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v1/webhooks": {
            "get": {
                "summary": "ListWebhooks",
                "description": "Retrieve and optionally filter a list of webhooks.",
                "operationId": "WebhookService_ListWebhooks",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListWebhooksResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of webhooks to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 runs will be returned.\nThe maximum value is 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListWebhooks` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListWebhooks` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `webhook_id`, `name`, and `event_type`.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved webhooks. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable field to order_by is `created_date`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "WebhookService"
                ]
            },
            "post": {
                "summary": "CreateWebhook",
                "description": "Create a webhook.",
                "operationId": "WebhookService_CreateWebhook",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateWebhookResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateWebhookRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_CreateWebhook` to create a webhook.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            },
            "patch": {
                "summary": "UpdateWebhook",
                "description": "Update select fields of an existing webhook.",
                "operationId": "WebhookService_UpdateWebhook",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1UpdateWebhookResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1UpdateWebhookRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_UpdateWebhook` to update a webhook.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            }
        },
        "/api/v1/webhooks/logs": {
            "get": {
                "summary": "ListWebhookLogs",
                "description": "Retrieve and optionally filter a list of webhook logs.",
                "operationId": "WebhookService_ListWebhookLogs",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ListWebhookLogsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of webhook logs to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 runs will be returned.\nThe maximum value is 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListWebhookLogs` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListWebhookLogs` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nThe available fields to filter by are `webhook_id`, `status`.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved webhook logs. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable field to order_by is `created_date`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "WebhookService"
                ]
            }
        },
        "/api/v1/webhooks/logs:batch-create": {
            "post": {
                "summary": "BatchCreateWebhookLogs",
                "description": "Create a batch of webhook logs. Users should not have to call this directly.",
                "operationId": "WebhookService_BatchCreateWebhookLogs",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1BatchCreateWebhookLogsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1BatchCreateWebhookLogsRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_BatchCreateWebhookLogs` to create a batch of webhook logs.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            }
        },
        "/api/v1/webhooks/signature-key": {
            "get": {
                "summary": "GetWebhookSignatureKey",
                "description": "Retrieve the current webhook signature key. Will return a not found error if one doesn't yet exist.",
                "operationId": "WebhookService_GetWebhookSignatureKey",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetWebhookSignatureKeyResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "organizationId",
                        "description": "Optional organization ID.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "WebhookService"
                ]
            },
            "post": {
                "summary": "CreateOrUpdateWebhookSignatureKey",
                "description": "Create a webhook signature key and set its activation state. If a webhook signature key is active, the bodies of all webhooks will be signed using the signature key with HMAC-SHA-256.The signature generated will then included in the `X-Sift-Signature` HTTP header. Only one key can be held per organization. If an existing key exists, then this will simply return it.See `WebhookService_RotateWebhookSignatureKey` to rotate the key.",
                "operationId": "WebhookService_CreateWebhookSignatureKey",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1CreateWebhookSignatureKeyResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1CreateWebhookSignatureKeyRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_CreateWebhookSignatureKey` to create a webhook signature key.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            },
            "put": {
                "summary": "ToggleWebhookSignatureKeyActivation",
                "description": "Generate a new webhook signature key and replace the previous one. The activation state of the new key will match the activation state of the previous.",
                "operationId": "WebhookService_RotateWebhookSignatureKey",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1RotateWebhookSignatureKeyResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1RotateWebhookSignatureKeyRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_RotateWebhookSignatureKey` replace the current webhook signature key\nwith a new one. The activation state of the new signature key will be inherited from the previous key. If no key\nexists then this will return an error - see `WebhookService_CreateWebhookSignatureKey`.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            },
            "patch": {
                "summary": "ToggleWebhookSignatureKeyActivation",
                "description": "Set the activation state of the organization's current webhook signature key. Will return a not found error if one doesn't yet exist.",
                "operationId": "WebhookService_ToggleWebhookSignatureKeyActivation",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1ToggleWebhookSignatureKeyActivationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1ToggleWebhookSignatureKeyActivationRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_ToggleWebhookSignatureKeyActivation` to enable or disable the current\nwebhook signature key. Set `enable` to `true` to activate the signature key, and `false` to deactivate.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            }
        },
        "/api/v1/webhooks/{webhookId}": {
            "get": {
                "summary": "GetWebhook",
                "description": "Retrieve a webhook by ID.",
                "operationId": "WebhookService_GetWebhook",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetWebhookResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "webhookId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "WebhookService"
                ]
            }
        },
        "/api/v1/webhooks:test": {
            "post": {
                "summary": "TestWebhook",
                "description": "Test an existing webhook or a webhook create request. This RPC will attempt to send an actual webhook with the provided parameters and forward back the response from the target.",
                "operationId": "WebhookService_TestWebhook",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1TestWebhookResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v1TestWebhookRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `WebhookService_TestWebhook` to test an existing webhook\nor a webhook create request.",
                    "required": true
                },
                "tags": [
                    "WebhookService"
                ]
            }
        },
        "/api/v2/api-keys": {
            "get": {
                "summary": "ListApiKeys",
                "description": "Retrieves API keys using an optional filter.",
                "operationId": "ApiKeyService_ListApiKeysV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListApiKeysResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of api keys to return.\nThe service may return fewer than this value.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListApiKeys` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListApiKeys` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `api_key_id`, `user_id`, `created_by_user_id`, and `name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/channels#channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved channels. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name` and `created_date`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"name desc,created_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ApiKeyService"
                ]
            },
            "post": {
                "summary": "CreateApiKey",
                "description": "Creates an API key.",
                "operationId": "ApiKeyService_CreateApiKeyV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateApiKeyResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateApiKeyRequest"
                            }
                        }
                    },
                    "description": "The request for a call to ApiKeyService.CreateApiKey.",
                    "required": true
                },
                "tags": [
                    "ApiKeyService"
                ]
            }
        },
        "/api/v2/api-keys/organization": {
            "get": {
                "summary": "ApiKeyOrganization",
                "description": "Retrieves the organization for an API key.",
                "operationId": "ApiKeyService_ApiKeyOrganizationV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ApiKeyOrganizationResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "ApiKeyService"
                ]
            }
        },
        "/api/v2/api-keys/{apiKeyId}": {
            "delete": {
                "summary": "DeleteApiKey",
                "description": "Deletes an API key.",
                "operationId": "ApiKeyService_DeleteApiKeyV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2DeleteApiKeyResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "apiKeyId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ApiKeyService"
                ]
            }
        },
        "/api/v2/calculated-channels": {
            "get": {
                "summary": "ListCalculatedChannels",
                "description": "Retrieve the latest versions of calculated channels based on an optional filter.",
                "operationId": "CalculatedChannelService_ListCalculatedChannels",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListCalculatedChannelsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of calculated channels to return. The service may return fewer than this value.\nIf unspecified, at most 50 calculated channels will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListCalculatedChannels` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListCalculatedChannels` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `calculated_channel_id`, `client_key`, `name`, `asset_id`, `asset_name`, `tag_id`, `tag_name`, `version`, and `archived_date.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/calculated_channels#calculated_channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved calculated channels. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelService"
                ]
            },
            "post": {
                "summary": "CreateCalculatedChannel",
                "description": "Create a calculated channel.",
                "operationId": "CalculatedChannelService_CreateCalculatedChannel",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateCalculatedChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateCalculatedChannelRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "CalculatedChannelService"
                ]
            },
            "patch": {
                "summary": "UpdateCalculatedChannel",
                "description": "Update and create a new version of a calculated channel.",
                "operationId": "CalculatedChannelService_UpdateCalculatedChannel",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2UpdateCalculatedChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2UpdateCalculatedChannelRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `CalculatedChannelService_UpdateCalculatedChannel` to update a calculated channel. Updating a calculated\nchannel creates a new version of the calculated channel, leaving the previous untouched. If no update is deemed necessary, then the\nthe current version is returned. To archive calculated channel, specify `archived_date` in the `update mask` as well as a non-null\nvalue for `archived_date` in the `calculated_channel` object. To unarchive a calculated channel, specify `archived_date` in the\n`update mask` and a `null` value for `archived_date` in the `calculated_channel` object.",
                    "required": true
                },
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/api/v2/calculated-channels/resolve": {
            "post": {
                "summary": "ResolveCalculatedChannel",
                "description": "Resolve a calculated channel into an expression with references",
                "operationId": "CalculatedChannelService_ResolveCalculatedChannel",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ResolveCalculatedChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2ResolveCalculatedChannelRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `CalculatedChannelService_ResolveCalculatedChannel` to get the all possible calculated channels.\n1) If the calculated channel has a selection of assets and tags then those assets will be used as a base and then filtered down by the given assets and assets from the run.\n2) If the calculated channel is enabled for all assets then:\n  a) If the request has run and assets from the run will be used as a base and then filtered down by the given assets.\n  b) If the request has run and no assets then those assets will be used.\n  c) If the request has only assets then those assets will be used.\nThe `organization_id` argument is only required if using `client_key` and the user belongs to multiple organizations.",
                    "required": true
                },
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/api/v2/calculated-channels/resolve:batch": {
            "post": {
                "summary": "BatchResolveCalculatedChannel",
                "description": "Resolve a batch of calculated channels into expressions with references",
                "operationId": "CalculatedChannelService_BatchResolveCalculatedChannels",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2BatchResolveCalculatedChannelsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2BatchResolveCalculatedChannelsRequest"
                            }
                        }
                    },
                    "description": "The request of a call to `CalculatedChannelService_BatchResolveCalculatedChannels`.",
                    "required": true
                },
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/api/v2/calculated-channels/resolved": {
            "get": {
                "summary": "ListResolvedCalculatedChannels",
                "description": "Retrieve the latest versions of calculated channels based on an optional filter.",
                "operationId": "CalculatedChannelService_ListResolvedCalculatedChannels",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListResolvedCalculatedChannelsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetId",
                        "description": "Assets or runs to get the resolved calculated channels for. At least one asset or run must be provided.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "runId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of calculated channels to return. The service may return fewer than this value.\nIf unspecified, at most 50 calculated channels will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListCalculatedChannels` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListCalculatedChannels` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `calculated_channel_id`, `client_key`, `name`, `asset_id`, `asset_name`, `tag_id`, `tag_name`, `version`, and `archived_date.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/calculated_channels#calculated_channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved calculated channels. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/api/v2/calculated-channels/{calculatedChannelId}": {
            "get": {
                "summary": "GetCalculatedChannel",
                "description": "Retrieve the latest version of a calculated channel.",
                "operationId": "CalculatedChannelService_GetCalculatedChannel",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetCalculatedChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "calculatedChannelId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/api/v2/calculated-channels/{calculatedChannelId}/versions": {
            "get": {
                "summary": "ListCalculatedChannelVersions",
                "description": "List versions of a particular calculated channel with an optional filter.",
                "operationId": "CalculatedChannelService_ListCalculatedChannelVersions",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListCalculatedChannelVersionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "calculatedChannelId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of calculated channel versions to return. The service may return fewer than this value.\nIf unspecified, at most 50 calculated channels will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListCalculatedChannelVersions` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListCalculatedChannelVersions` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `calculated_channel_id`, `client_key`, `name`, `asset_id`, `asset_name`, `tag_id`, `tag_name`, `version`, `archived_date`, and `metadata`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/calculated_channels#calculated_channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved calculated channel versions. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, and `version`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\".",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/api/v2/channel-schemas": {
            "post": {
                "summary": "CreateChannelSchema",
                "description": "Create a channel schema",
                "operationId": "ChannelSchemaService_CreateChannelSchemaV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channel_schemasv2CreateChannelSchemaResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/channel_schemasv2CreateChannelSchemaRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `ChannelSchemaService_CreateChannelSchema`.",
                    "required": true
                },
                "tags": [
                    "ChannelSchemaService"
                ]
            }
        },
        "/api/v2/channel-schemas:batch-create": {
            "post": {
                "summary": "BatchCreateChannelSchemas",
                "description": "Create a batch of channel schemas",
                "operationId": "ChannelSchemaService_BatchCreateChannelSchemasV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channel_schemasv2BatchCreateChannelSchemasResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/channel_schemasv2BatchCreateChannelSchemasRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `ChannelSchemaService_BatchCreateChannelSchemas`.",
                    "required": true
                },
                "tags": [
                    "ChannelSchemaService"
                ]
            }
        },
        "/api/v2/channels": {
            "get": {
                "summary": "ListChannels",
                "description": "Retrieve channels using an optional filter.",
                "operationId": "ChannelService_ListChannels",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channelsv2ListChannelsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of channels to return. The service may return fewer than this value.\nIf unspecified, at most 50 channels will be returned. The maximum value is 10,000; values above\n10,000 will be coerced to 10,000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListChannels` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListChannels` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `channel_id`, `asset_id`, `name`, `component`, `description`, `active`,\n`run_id`, `run_name`, `run_client_key`, `created_date`, and `modified_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/channels#channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved channels. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ChannelService"
                ]
            }
        },
        "/api/v2/channels/{channelId}": {
            "get": {
                "summary": "GetChannel",
                "description": "Retrieve a channel.",
                "operationId": "ChannelService_GetChannel",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channelsv2GetChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "channelId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ChannelService"
                ]
            }
        },
        "/api/v2/data": {
            "post": {
                "summary": "GetData",
                "description": "Query data",
                "operationId": "DataService_GetDataV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/datav2GetDataResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/datav2GetDataRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "DataService"
                ]
            }
        },
        "/api/v2/data-imports": {
            "get": {
                "summary": "ListDataImports",
                "description": "Lists all data imports.",
                "operationId": "DataImportService_ListDataImportsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListDataImportsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of data imports to return. The service may return fewer than this value.\nIf unspecified, at most 50 data imports will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListDataImports` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListDataImports` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `data_import_id`, `source_url`, `status`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved data imports. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "DataImportService"
                ]
            }
        },
        "/api/v2/data-imports/{dataImportId}": {
            "get": {
                "summary": "GetDataImport",
                "description": "Gets a data import.",
                "operationId": "DataImportService_GetDataImportV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetDataImportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "dataImportId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "DataImportService"
                ]
            }
        },
        "/api/v2/data-imports/{dataImportId}:retry": {
            "post": {
                "summary": "RetryDataImport",
                "description": "Retries a data import.",
                "operationId": "DataImportService_RetryDataImportV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2RetryDataImportResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "dataImportId",
                        "description": "data_import_id is the id of the data import to retry.\nYou can only retry an import that is a \"url\" based import (created with CreateDataImportFromUrl) and is in a failed state.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "DataImportService"
                ]
            }
        },
        "/api/v2/data-imports:detect-config": {
            "post": {
                "summary": "DetectConfig",
                "description": "Detects the config for a data import.",
                "operationId": "DataImportService_DetectConfigV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2DetectConfigResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2DetectConfigRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "DataImportService"
                ]
            }
        },
        "/api/v2/data-imports:upload": {
            "post": {
                "summary": "CreateDataImportFromUpload",
                "description": "Creates a data import from a file upload.",
                "operationId": "DataImportService_CreateDataImportFromUploadV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateDataImportFromUploadResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateDataImportFromUploadRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "DataImportService"
                ]
            }
        },
        "/api/v2/data-imports:url": {
            "post": {
                "summary": "CreateDataImportFromUrl",
                "description": "Creates a data import from a url.",
                "operationId": "DataImportService_CreateDataImportFromUrlV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateDataImportFromUrlResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateDataImportFromUrlRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "DataImportService"
                ]
            }
        },
        "/api/v2/dlq-errors": {
            "get": {
                "summary": "List Ingestion Dead Letter Queue Errors",
                "description": "Retrieve Ingestion errors.",
                "operationId": "DlqErrorsService_ListDlqErrorsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListDlqErrorsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of errors values to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 values will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListDlqErrors` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListDlqErrors` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A Common Expression Language (CEL, https://github.com/google/cel-spec) filter string.\nAvailable tag variables are:\n- min_timestamp\n- max_timestamp\n- asset_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved campaigns. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `min_timestamp`, `max_timestamp`, and `asset_id`.\nIf left empty, items are ordered by `min_timestamp` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"asset_id desc,min_timestamp\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "DlqErrorsService"
                ]
            }
        },
        "/api/v2/ingestion-configs": {
            "get": {
                "summary": "ListIngestionConfigs",
                "description": "List ingestion configs using an optional filter.",
                "operationId": "IngestionConfigService_ListIngestionConfigsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv2ListIngestionConfigsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of ingestion configs to return. The service may return fewer than this value.\nIf unspecified, at most 50 ingestion configs will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListIngestionConfigs` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListIngestionConfigs` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `ingestion_config_id`, `client_key`, `asset_id`, `created_date`, and `modified_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/ingestion_configs#ingestionconfigservice). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "IngestionConfigService"
                ]
            },
            "post": {
                "summary": "CreateIngestionConfig",
                "description": "Create an ingestion config.",
                "operationId": "IngestionConfigService_CreateIngestionConfigV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv2CreateIngestionConfigResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ingestion_configsv2CreateIngestionConfigRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `IngestionConfigService_CreateIngestionConfig` to retrieve ingestion configs.",
                    "required": true
                },
                "tags": [
                    "IngestionConfigService"
                ]
            }
        },
        "/api/v2/ingestion-configs/{ingestionConfigId}": {
            "get": {
                "summary": "GetIngestionConfig",
                "description": "Retrieves an ingestion config.",
                "operationId": "IngestionConfigService_GetIngestionConfigV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv2GetIngestionConfigResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ingestionConfigId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "IngestionConfigService"
                ]
            }
        },
        "/api/v2/ingestion-configs/{ingestionConfigId}/flows": {
            "get": {
                "summary": "ListIngestionConfigFlows",
                "description": "List ingestion config [flows](/glossary#flow) using an optional filter.",
                "operationId": "IngestionConfigService_ListIngestionConfigFlowsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv2ListIngestionConfigFlowsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ingestionConfigId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of ingestion config flows to return. The service may return fewer than this value.\nIf unspecified, at most 50 ingestion config flows will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListIngestionConfigFlows` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListIngestionConfigFlows` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `flow_name`, `flow_id`, `created_date`, and `modified_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/ingestion_configs#ingestionconfig). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "IngestionConfigService"
                ]
            },
            "post": {
                "summary": "CreateIngestionConfigFlows",
                "description": "Create ingestion config [flows](/glossary#flow).",
                "operationId": "IngestionConfigService_CreateIngestionConfigFlowsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ingestion_configsv2CreateIngestionConfigFlowsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "ingestionConfigId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ingestion_configsv2IngestionConfigServiceCreateIngestionConfigFlowsBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "IngestionConfigService"
                ]
            }
        },
        "/api/v2/me": {
            "get": {
                "summary": "Get My User Information",
                "description": "Retrieve a user's information.",
                "operationId": "MeService_GetMeV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetMeResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "MeService"
                ]
            }
        },
        "/api/v2/protobuf-descriptors": {
            "get": {
                "summary": "ListProtobufDescriptors",
                "description": "Retrieve protobuf descriptors using an optional filter.",
                "operationId": "ProtobufDescriptorService_ListProtobufDescriptorsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/protobuf_descriptorsv2ListProtobufDescriptorsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of protobuf descriptors to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 protobuf descriptors will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListProtobufDescriptors` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListProtobufDescriptors` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `protobuf_descriptor_id`, `proto_file_name`, `namespace`, and `message_type_full_name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/protocol-buffers/documentation#protobufdescriptor). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved protobuf descriptors. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, and `message_type_full_name` and `namespace`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ProtobufDescriptorService"
                ]
            },
            "delete": {
                "summary": "DeleteProtobufDescriptors",
                "description": "Delete protobuf descriptors of that match the provided `namespace` and `message_type_full_name`.",
                "operationId": "ProtobufDescriptorService_DeleteProtobufDescriptorsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/protobuf_descriptorsv2DeleteProtobufDescriptorsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "messageTypeFullName",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "namespace",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "protobufDescriptorId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ProtobufDescriptorService"
                ]
            }
        },
        "/api/v2/protobuf-descriptors:add": {
            "post": {
                "summary": "AddProtobufDescriptor",
                "description": "Used to register a protobuf message to be ingested.",
                "operationId": "ProtobufDescriptorService_AddProtobufDescriptorV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/protobuf_descriptorsv2AddProtobufDescriptorResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/protobuf_descriptorsv2AddProtobufDescriptorRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ProtobufDescriptorService"
                ]
            }
        },
        "/api/v2/protobuf-descriptors:check-compatibility": {
            "post": {
                "summary": "CheckProtobufDescriptorCompatibility",
                "description": "Used to check if a protobuf descriptor is compatible with the existing descriptors.",
                "operationId": "ProtobufDescriptorService_CheckProtobufDescriptorCompatibilityV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CheckProtobufDescriptorCompatibilityResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CheckProtobufDescriptorCompatibilityRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ProtobufDescriptorService"
                ]
            }
        },
        "/api/v2/roles": {
            "get": {
                "summary": "ListRoles",
                "description": "Retrieves roles using an optional filter.",
                "operationId": "RoleService_ListRolesV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListRolesResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of roles to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 roles will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListRoles` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListRoles` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `role_id`, `name`, and `description`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/channels#channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved channels. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name` and `description`.\nIf left empty, items are ordered by `name` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"name desc,description\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RoleService"
                ]
            }
        },
        "/api/v2/runs": {
            "get": {
                "summary": "ListRuns",
                "description": "Retrieve runs using an optional filter.",
                "operationId": "RunService_ListRuns",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListRunsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of runs to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 runs will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListRuns` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListRuns` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `run_id` `organization_id`, `asset_id`, `asset_name`, `client_key`, `name`, `description`, `created_by_user_id`, `modified_by_user_id`,\n`created_date`, `modified_date`, `start_time`, `stop_time`, `tag_id`, `asset_tag_id`, `duration`, `annotation_comments_count`, `annotation_state`, `archived_date`,\nand `metadata`. Metadata can be used in filters by using `metadata.{metadata_key_name}` as the field name.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/runs#run). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved runs. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `description`, `created_date`, `modified_date`, `start_time`, and `stop_time`.\nIf left empty, items are ordered by `created_date` in descending order (newest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RunService"
                ]
            },
            "post": {
                "summary": "CreateRun",
                "description": "Create a run.",
                "operationId": "RunService_CreateRun",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateRunResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateRunRequest"
                            }
                        }
                    },
                    "description": "The request of a call to `RunService_CreateRuns` to create a new run.",
                    "required": true
                },
                "tags": [
                    "RunService"
                ]
            },
            "patch": {
                "summary": "UpdateRun",
                "description": "Updates an existing run using using the list of fields specified in `update_mask`.",
                "operationId": "RunService_UpdateRun",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2UpdateRunResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2UpdateRunRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `RunService_UpdateRun` to update an existing run.",
                    "required": true
                },
                "tags": [
                    "RunService"
                ]
            }
        },
        "/api/v2/runs/{runId}": {
            "get": {
                "summary": "GetRun",
                "description": "Retrieve a run.",
                "operationId": "RunService_GetRun",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetRunResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "runId",
                        "description": "The ID of the run to retrieve.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RunService"
                ]
            },
            "delete": {
                "summary": "DeleteRun",
                "description": "Permanently delete a given run. In order for a run to be deleted it must have a set `stop_time`.",
                "operationId": "RunService_DeleteRun",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2DeleteRunResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "runId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "RunService"
                ]
            }
        },
        "/api/v2/runs/{runId}:create-automatic-run-association-for-assets": {
            "post": {
                "summary": "CreateAutomaticRunAssociationForAssets",
                "description": "Associates a list of assets with a given run.",
                "operationId": "RunService_CreateAutomaticRunAssociationForAssets",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateAutomaticRunAssociationForAssetsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "runId",
                        "description": "The ID of the run to associate the asset with.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RunServiceCreateAutomaticRunAssociationForAssetsBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "RunService"
                ]
            }
        },
        "/api/v2/runs:adhoc": {
            "post": {
                "summary": "CreateAdhocRun",
                "description": "Create an adhoc run.",
                "operationId": "RunService_CreateAdhocRun",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateAdhocRunResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateAdhocRunRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `RunService_CreateAdhocRun` to create an adhoc run.",
                    "required": true
                },
                "tags": [
                    "RunService"
                ]
            }
        },
        "/api/v2/runs:stop": {
            "patch": {
                "summary": "StopRun",
                "description": "Set the stop time of a run to the current time. To set the stop time of a run to an arbitrary time see `UpdateRun`.",
                "operationId": "RunService_StopRun",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2StopRunResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2StopRunRequest"
                            }
                        }
                    },
                    "description": "The request for a call to `RunService_StopRun` to stop a run.",
                    "required": true
                },
                "tags": [
                    "RunService"
                ]
            }
        },
        "/api/v2/tags": {
            "get": {
                "summary": "ListTags",
                "description": "Retrieves tags using an optional filter.",
                "operationId": "TagService_ListTagsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/tagsv2ListTagsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of tags to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 tags will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListTags` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListTags` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string\nAvailable fields to filter by are 'name' and 'tag_id'.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/protocol-buffers/documentation#tag). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved campaigns. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date` and `name`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,name\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "tagType",
                        "description": "Narrows the tags selected to a specific type.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "TAG_TYPE_UNSPECIFIED",
                                "TAG_TYPE_ANNOTATION",
                                "TAG_TYPE_ASSET",
                                "TAG_TYPE_CAMPAIGN",
                                "TAG_TYPE_REPORT",
                                "TAG_TYPE_REPORT_TEMPLATE",
                                "TAG_TYPE_RUN"
                            ],
                            "default": "TAG_TYPE_UNSPECIFIED"
                        }
                    }
                ],
                "tags": [
                    "TagService"
                ]
            },
            "post": {
                "summary": "CreateTag",
                "description": "Create a tag.",
                "operationId": "TagService_CreateTagV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/tagsv2CreateTagResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/tagsv2CreateTagRequest"
                            }
                        }
                    },
                    "description": "The request for a call to TagService.CreateTag.",
                    "required": true
                },
                "tags": [
                    "TagService"
                ]
            }
        },
        "/api/v2/units": {
            "get": {
                "summary": "ListUnits",
                "description": "Used to list units.",
                "operationId": "UnitService_ListUnitsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListUnitsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of units to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 units will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListUnits` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListUnits` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A Common Expression Language (CEL, https://github.com/google/cel-spec) filter string.\nAvailable tag variables are:\n- abbreviated_name\n- name\n- created_date\n- unit_id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved campaigns. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date`, and `abbreviated_name`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,abbreviated_name\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UnitService"
                ]
            },
            "post": {
                "summary": "CreateUnit",
                "description": "Used to create a unit.",
                "operationId": "UnitService_CreateUnitV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateUnitResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "name",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UnitService"
                ]
            }
        },
        "/api/v2/user-groups": {
            "get": {
                "summary": "ListUserGroups",
                "description": "Retrieves user groups using an optional filter.",
                "operationId": "UserGroupService_ListUserGroupsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListUserGroupsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of user groups to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListUserGroups` call.\nProvide this to retrieve the subsequent page.\n\nWhen paginating, all other parameters provided to `ListUserGroups` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A Common Expression Language (CEL, https://github.com/google/cel-spec) filter string.\nAvailable tag variables are:\n- name",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved user groups. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date`, and `modified_date`.\nIf left empty, items are ordered by `name` in ascending order (A-Z).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            },
            "post": {
                "summary": "CreateUserGroup",
                "description": "Creates a user group.",
                "operationId": "UserGroupService_CreateUserGroupV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2CreateUserGroupResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v2CreateUserGroupRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/user-groups/{userGroup.userGroupId}": {
            "patch": {
                "summary": "UpdateUserGroup",
                "description": "Updates a user group.",
                "operationId": "UserGroupService_UpdateUserGroupV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2UpdateUserGroupResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userGroup.userGroupId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserGroupServiceUpdateUserGroupBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/user-groups/{userGroupId}": {
            "get": {
                "summary": "GetUserGroup",
                "description": "Retrieves a user group.",
                "operationId": "UserGroupService_GetUserGroupV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetUserGroupResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userGroupId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            },
            "delete": {
                "summary": "DeleteUserGroup",
                "description": "Deletes a user group.",
                "operationId": "UserGroupService_DeleteUserGroupV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2DeleteUserGroupResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userGroupId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/user-groups:add-user": {
            "post": {
                "summary": "AddUserToUserGroup",
                "description": "Adds a user to a user group.",
                "operationId": "UserGroupService_AddUserToUserGroupV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2AddUserToUserGroupResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userGroupId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "userId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/user-groups:get-for-assets": {
            "get": {
                "summary": "GetUserGroupsForAssets",
                "description": "Retrieves user groups for a list of assets.",
                "operationId": "UserGroupService_GetUserGroupsForAssetsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetUserGroupsForAssetsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "assetIds",
                        "in": "query",
                        "required": true,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/user-groups:remove-user": {
            "post": {
                "summary": "RemoveUserFromUserGroup",
                "description": "Removes a user from a user group.",
                "operationId": "UserGroupService_RemoveUserFromUserGroupV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2RemoveUserFromUserGroupResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userGroupId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "userId",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/user-groups:update-user": {
            "post": {
                "summary": "UpdateUserUserGroups",
                "description": "Updates a user's user groups.",
                "operationId": "UserGroupService_UpdateUserUserGroupsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2UpdateUserUserGroupsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "userGroupIds",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                ],
                "tags": [
                    "UserGroupService"
                ]
            }
        },
        "/api/v2/users": {
            "get": {
                "summary": "ListActiveUsers",
                "description": "List active users.",
                "operationId": "UserService_ListActiveUsers",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListActiveUsersResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of users to return. The service may return fewer than this value.\nIf unspecified, at most 50 users will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListActiveUsers` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListActiveUsers` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `user_id` and `name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/users#user). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "organizationId",
                        "description": "Optional. If provided, this will scope down the user search to just those in the organization ID provided.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved users. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date`, and `modified_date`.\nIf left empty, items are ordered by `name` in ascending order (A-Z).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserService"
                ]
            }
        },
        "/api/v2/users/{userId}": {
            "get": {
                "summary": "GetUser",
                "description": "Retrieves a user object.",
                "operationId": "UserService_GetUser",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetUserResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userId",
                        "description": "The id of the asset to be retrieved. Required.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserService"
                ]
            }
        },
        "/api/v2/users/{userId}/active": {
            "post": {
                "summary": "UpdateUserOrganizationActive",
                "description": "Used to toggle a user's active status within their organization.",
                "operationId": "UserService_UpdateUserOrganizationActive",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2UpdateUserOrganizationActiveResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "userId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UserServiceUpdateUserOrganizationActiveBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "UserService"
                ]
            }
        },
        "/api/v2/users:all": {
            "get": {
                "summary": "ListUsers",
                "description": "List users.",
                "operationId": "UserService_ListUsersV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListUsersResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of users to return. The service may return fewer than this value.\nIf unspecified, at most 50 users will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListUsers` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListUsers` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `user_id` and `name`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/users#user). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved users. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are:\n- created_date\n- modified_date",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "UserService"
                ]
            }
        },
        "/api/v2/views": {
            "get": {
                "summary": "ListViews",
                "description": "Retrieves views using an optional filter.",
                "operationId": "ViewService_ListViewsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2ListViewsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of views to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 views will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListViews` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListViews` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string\nAvailable fields to filter by are 'name', 'createdDate', and 'modifiedDate'.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/views#view). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            },
            "post": {
                "summary": "CreateView",
                "description": "Creates a view.",
                "operationId": "ViewService_CreateViewV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2CreateViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv2CreateViewRequest"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v2/views/{view.viewId}": {
            "patch": {
                "summary": "UpdateView",
                "description": "Updates an existing view using using the list of fields specified in `update_mask`.",
                "operationId": "ViewService_UpdateViewV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2UpdateViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "view.viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv2ViewServiceUpdateViewBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v2/views/{viewId}": {
            "get": {
                "summary": "GetView",
                "description": "Retrieves a view.",
                "operationId": "ViewService_GetViewV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2GetViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            },
            "delete": {
                "summary": "DeleteView",
                "description": "Deletes a view.",
                "operationId": "ViewService_DeleteViewV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2DeleteViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v2/views/{viewId}/pin": {
            "patch": {
                "summary": "PinView",
                "description": "Pins a view.",
                "operationId": "ViewService_PinViewV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2PinViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv2ViewServicePinViewBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ],
                "externalDocs": {
                    "description": "Learn more about pinning views.",
                    "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/295436289"
                }
            }
        },
        "/api/v2/views/{viewId}/unpin": {
            "patch": {
                "summary": "UnpinView",
                "description": "Unpins a view.",
                "operationId": "ViewService_UnpinViewV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2UnpinViewResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "viewId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/viewsv2ViewServiceUnpinViewBody"
                            }
                        }
                    },
                    "required": true
                },
                "tags": [
                    "ViewService"
                ],
                "externalDocs": {
                    "description": "Learn more about pinning views.",
                    "url": "https://customer.support.siftstack.com/servicedesk/customer/portal/2/article/295436289"
                }
            }
        },
        "/api/v2/views:applicable": {
            "get": {
                "summary": "ListApplicableViews",
                "description": "Lists views that apply to assets/runs.",
                "operationId": "ViewService_ListApplicableViewsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/viewsv2ListApplicableViewsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of views to return.\nThe service may return fewer than this value.\nIf unspecified, at most 50 views will be returned.\nThe maximum value is 1000; values above 1000 will be coerced to 1000.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListApplicableViews` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListApplicableViews` must match\nthe call that provided the page token.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "assetIds",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "runIds",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                ],
                "tags": [
                    "ViewService"
                ]
            }
        },
        "/api/v3/channels": {
            "get": {
                "summary": "ListChannels",
                "description": "Retrieve channels using an optional filter.",
                "operationId": "ChannelService_ListChannelsV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channelsv3ListChannelsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "description": "The maximum number of channels to return. The service may return fewer than this value.\nIf unspecified, at most 50 channels will be returned. The maximum value is 10,000; values above\n10,000 will be coerced to 10,000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListChannels` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListChannels` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `channel_id`, `asset_id`, `name`, `description`, `active`,\n`run_id`, `run_name`, `run_client_key`, `created_date`, and `modified_date`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/channels#channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved channels. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `name`, `created_date` and `modified_date`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\"",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ChannelService"
                ]
            },
            "patch": {
                "summary": "UpdateChannel",
                "description": "Update a channel.",
                "operationId": "ChannelService_UpdateChannelV3",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v3UpdateChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/v3UpdateChannelRequest"
                            }
                        }
                    },
                    "description": "The request for a call to ChannelService_UpdateChannel.",
                    "required": true
                },
                "tags": [
                    "ChannelService"
                ]
            }
        },
        "/api/v3/channels/{channelId}": {
            "get": {
                "summary": "GetChannel",
                "description": "Retrieve a channel.",
                "operationId": "ChannelService_GetChannelV2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/channelsv3GetChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "channelId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ChannelService"
                ]
            }
        },
        "/api/v3/channels:filter": {
            "get": {
                "summary": "EXPERIMENTAL: This RPC is experimental and only available to a limited set of users.",
                "operationId": "ChannelService_FilterChannels",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v3FilterChannelsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pageSize",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "searchTerm",
                        "description": "The search term to match against channel names, components and descriptions. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "isSearchCaseSensitive",
                        "description": "If true, the search term is case sensitive. Optional, default false.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "isSearchRegexp",
                        "description": "If true, the search term is treated as a regular expression. Optional, default false.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "name": "assetIds",
                        "description": "If provided, only channels matching these asset_ids are returned. Optional",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "runIds",
                        "description": "Only channels for these runs are returned. Optional",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "channelIds",
                        "description": "If provided, only channels matching these channel_ids are returned. Optional",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "assetTagIds",
                        "description": "If provided, only channels with assets with these tag_ids are returned. Optional",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "dataTypes",
                        "description": "If provide, only channels with these data types are returned. Optional.",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string",
                                "enum": [
                                    "CHANNEL_DATA_TYPE_UNSPECIFIED",
                                    "CHANNEL_DATA_TYPE_DOUBLE",
                                    "CHANNEL_DATA_TYPE_STRING",
                                    "CHANNEL_DATA_TYPE_ENUM",
                                    "CHANNEL_DATA_TYPE_BIT_FIELD",
                                    "CHANNEL_DATA_TYPE_BOOL",
                                    "CHANNEL_DATA_TYPE_FLOAT",
                                    "CHANNEL_DATA_TYPE_INT_32",
                                    "CHANNEL_DATA_TYPE_UINT_32",
                                    "CHANNEL_DATA_TYPE_INT_64",
                                    "CHANNEL_DATA_TYPE_UINT_64",
                                    "CHANNEL_DATA_TYPE_BYTES"
                                ]
                            }
                        }
                    },
                    {
                        "name": "metadataKeys",
                        "description": "If provided, only channels with this metadata are returned. Optional.",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "metadataValues",
                        "in": "query",
                        "required": false,
                        "explode": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                ],
                "tags": [
                    "ChannelService"
                ]
            }
        },
        "/v1/organizations/{organizationId}/campaigns/{clientKey}": {
            "get": {
                "summary": "GetCampaign",
                "description": "Retrieve a campaign.",
                "operationId": "CampaignService_GetCampaign2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetCampaignResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "organizationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "campaignId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CampaignService"
                ]
            }
        },
        "/v1/organizations/{organizationId}/report_templates/{clientKey}": {
            "get": {
                "summary": "GetReportTemplate",
                "description": "Retrieve a report template.",
                "operationId": "ReportTemplateService_GetReportTemplate2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v1GetReportTemplateResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "organizationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "reportTemplateId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "ReportTemplateService"
                ]
            }
        },
        "/v2/organizations/{organizationId}/calculated-channels/{clientKey}": {
            "get": {
                "summary": "GetCalculatedChannel",
                "description": "Retrieve the latest version of a calculated channel.",
                "operationId": "CalculatedChannelService_GetCalculatedChannel2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2GetCalculatedChannelResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "organizationId",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "calculatedChannelId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        },
        "/v2/organizations/{organizationId}/calculated-channels/{clientKey}/versions": {
            "get": {
                "summary": "ListCalculatedChannelVersions",
                "description": "List versions of a particular calculated channel with an optional filter.",
                "operationId": "CalculatedChannelService_ListCalculatedChannelVersions2",
                "responses": {
                    "200": {
                        "description": "A successful response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/v2ListCalculatedChannelVersionsResponse"
                                }
                            }
                        }
                    },
                    "default": {
                        "description": "An unexpected error response.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/rpcStatus"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "organizationId",
                        "description": "This field is only required if your user belongs to multiple organizations.",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "clientKey",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "calculatedChannelId",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "pageSize",
                        "description": "The maximum number of calculated channel versions to return. The service may return fewer than this value.\nIf unspecified, at most 50 calculated channels will be returned. The maximum value is 1000; values above\n1000 will be coerced to 1000. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    },
                    {
                        "name": "pageToken",
                        "description": "A page token, received from a previous `ListCalculatedChannelVersions` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `ListCalculatedChannelVersions` must match\nthe call that provided the page token. Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "filter",
                        "description": "A [Common Expression Language (CEL)](https://github.com/google/cel-spec) filter string.\nAvailable fields to filter by are `calculated_channel_id`, `client_key`, `name`, `asset_id`, `asset_name`, `tag_id`, `tag_name`, `version`, `archived_date`, and `metadata`.\nFor further information about how to use CELs, please refer to [this guide](https://github.com/google/cel-spec/blob/master/doc/langdef.md#standard-definitions).\nFor more information about the fields used for filtering, please refer to [this definition](/docs/api/reference/protocol-buffers/calculated_channels#calculated_channel). Optional.",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "orderBy",
                        "description": "How to order the retrieved calculated channel versions. Formatted as a comma-separated string i.e. \"FIELD_NAME[ desc],...\".\nAvailable fields to order_by are `created_date`, `modified_date`, and `version`.\nIf left empty, items are ordered by `created_date` in ascending order (oldest-first).\nFor more information about the format of this field, read [this](https://google.aip.dev/132#ordering)\nExample: \"created_date desc,modified_date\".",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "tags": [
                    "CalculatedChannelService"
                ]
            }
        }
    },
    "components": {
        "schemas": {
            "AnnotationLogServiceCreateAnnotationLogBody": {
                "type": "object",
                "properties": {
                    "kind": {
                        "$ref": "#/components/schemas/v1AnnotationLogKind"
                    },
                    "assigned": {
                        "$ref": "#/components/schemas/v1AnnotationLogAssignedProperties"
                    },
                    "stateUpdate": {
                        "$ref": "#/components/schemas/v1AnnotationLogStateUpdateProperties"
                    },
                    "comment": {
                        "$ref": "#/components/schemas/v1AnnotationLogCommentProperties"
                    }
                },
                "description": "The request for a call to `AnnotationLogService_CreateAnnotationLog` to create an annotation log.",
                "required": [
                    "kind"
                ]
            },
            "BatchUpdateRulesResponseRuleIdentifiers": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleId",
                    "name"
                ]
            },
            "CalculatedChannelAssetConfigurationAssetSelection": {
                "type": "object",
                "properties": {
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "tagIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "assetIds",
                    "tagIds"
                ]
            },
            "CalculatedChannelQueryConfigurationSel": {
                "type": "object",
                "properties": {
                    "expression": {
                        "type": "string"
                    },
                    "expressionChannelReferences": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannelAbstractChannelReference"
                        }
                    }
                },
                "description": "Sift Expression Language.",
                "required": [
                    "expression",
                    "expressionChannelReferences"
                ]
            },
            "ChannelCalculatedChannelConfigChannelReference": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "component": {
                        "type": "string"
                    }
                },
                "required": [
                    "name",
                    "component"
                ]
            },
            "PanelConfigurationServiceUpdatePanelConfigurationBody": {
                "type": "object",
                "properties": {
                    "panelConfiguration": {
                        "type": "object",
                        "properties": {
                            "versionId": {
                                "type": "string"
                            },
                            "version": {
                                "type": "integer",
                                "format": "int64"
                            },
                            "changeMessage": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "panelType": {
                                "$ref": "#/components/schemas/v1PanelType"
                            },
                            "channelConfigurations": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/v1ChannelConfigurations"
                                }
                            },
                            "chartSettings": {
                                "type": "object"
                            },
                            "createdDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "modifiedDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "archivedDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "createdByUserId": {
                                "type": "string"
                            },
                            "modifiedByUserId": {
                                "type": "string"
                            }
                        },
                        "description": "The panel configuration to update.",
                        "title": "The panel configuration to update."
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `panel_type`, `channel_configurations`,\nand `chart_settings`."
                    }
                },
                "description": "The request for a call to `PanelConfigurationService_UpdatePanelConfiguration` to update a panel configuration. Updating a panel\nconfiguration creates a new version of the panel configuration, leaving the previous untouched. If no update is deemed necessary, then the\nthe current version is returned. To archive panel configuration, specify `archived_date` in the `update mask` as well as a non-null\nvalue for `archived_date` in the `panel_configuration` object. To unarchive a panel configuration, specify `archived_date` in the\n`update mask` and a `null` value for `archived_date` in the `panel_configuration` object.",
                "required": [
                    "panelConfiguration",
                    "updateMask"
                ]
            },
            "RunServiceCreateAutomaticRunAssociationForAssetsBody": {
                "type": "object",
                "properties": {
                    "assetNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "A list of asset names to automatically associate with the run.\nAny data that is received for these assets will automatically added to the run.\nThis applies even if the run has concluded, so long as the new data contains\ntimestamps that are between the `start_time` and `stop_time`.\nIf any of the assets are already associated with a different run whose run\nperiod (the period between `start_time` and `end_time`) overlaps with the\nrequested run period, an error will be returned."
                    }
                },
                "required": [
                    "assetNames"
                ]
            },
            "UserGroupResource": {
                "type": "object",
                "properties": {
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "allAssets": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "allAssets"
                ]
            },
            "UserGroupServiceUpdateUserGroupBody": {
                "type": "object",
                "properties": {
                    "userGroup": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "roleId": {
                                "type": "string"
                            },
                            "isDefault": {
                                "type": "boolean"
                            },
                            "resources": {
                                "$ref": "#/components/schemas/UserGroupResource"
                            },
                            "userIds": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "isExternal": {
                                "type": "boolean"
                            }
                        }
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to update."
                    }
                },
                "required": [
                    "name",
                    "isDefault",
                    "isExternal",
                    "userGroup",
                    "updateMask"
                ]
            },
            "UserServiceUpdateUserOrganizationActiveBody": {
                "type": "object",
                "properties": {
                    "organizationId": {
                        "type": "string"
                    },
                    "active": {
                        "type": "boolean"
                    }
                }
            },
            "ValidateUserDefinedFunctionResponseErrorValidatingUserDefinedFunctionResult": {
                "type": "object",
                "properties": {
                    "errorMessage": {
                        "type": "string"
                    }
                },
                "required": [
                    "errorMessage"
                ]
            },
            "ValidateUserDefinedFunctionResponseSuccessValidatingUserDefinedFunctionResult": {
                "type": "object",
                "properties": {
                    "userDefinedFunction": {
                        "$ref": "#/components/schemas/v1UserDefinedFunction"
                    }
                },
                "required": [
                    "userDefinedFunction"
                ]
            },
            "annotationsv1Annotation": {
                "type": "object",
                "properties": {
                    "annotationId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "runId": {
                        "type": "string"
                    },
                    "state": {
                        "$ref": "#/components/schemas/v1AnnotationState"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "assignedToUserId": {
                        "type": "string"
                    },
                    "annotationType": {
                        "$ref": "#/components/schemas/v1AnnotationType"
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "legendConfig": {
                        "type": "string"
                    },
                    "createdByConditionId": {
                        "type": "string"
                    },
                    "createdByRuleConditionVersionId": {
                        "type": "string"
                    },
                    "reportRuleVersionId": {
                        "type": "string"
                    },
                    "pending": {
                        "type": "boolean",
                        "description": "An annotation is pending if it is part of an ongoing violation of a rule condition.\nThe `end_time` of a pending annotation might be set, but is not yet finalized.",
                        "readOnly": true
                    },
                    "assignedToUser": {
                        "$ref": "#/components/schemas/v1User"
                    },
                    "deletedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "linkedChannels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1AnnotationLinkedChannel"
                        }
                    },
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "annotationId",
                    "name",
                    "description",
                    "startTime",
                    "endTime",
                    "createdByUserId",
                    "modifiedByUserId",
                    "createdDate",
                    "modifiedDate",
                    "organizationId",
                    "annotationType",
                    "tags"
                ]
            },
            "assetsv1Asset": {
                "type": "object",
                "properties": {
                    "assetId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "The names of the tags associated with this asset."
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "description": "The metadata values associated with this asset."
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time",
                        "description": "The date the asset was archived."
                    },
                    "isArchived": {
                        "type": "boolean",
                        "description": "Whether the asset is archived. This is inferred from whether archived_date is set."
                    }
                },
                "required": [
                    "assetId",
                    "name",
                    "organizationId",
                    "createdDate",
                    "createdByUserId",
                    "modifiedDate",
                    "modifiedByUserId",
                    "tags",
                    "metadata",
                    "isArchived"
                ]
            },
            "azimuthtagsv1Tag": {
                "type": "object",
                "properties": {
                    "tagId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "name": {
                        "type": "string",
                        "readOnly": true
                    },
                    "organizationId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "createdByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "modifiedByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    }
                }
            },
            "channel_schemasv1BatchCreateChannelSchemasRequest": {
                "type": "object",
                "properties": {
                    "requests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/channel_schemasv1CreateChannelSchemaRequest"
                        },
                        "title": "Limit of 1000 channels schemas per batch"
                    },
                    "assetName": {
                        "type": "string",
                        "description": "The asset to which the channel schemas belong (case-insensitive).\nIf this field, and any of the child requests specify an asset, the assets must match."
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "The organization to which the channel schemas belong.\nIf this field, and any of the child requests specify an organization_id, the organization_ids must match.\nThis field is optional if the caller belongs to a single organization."
                    }
                },
                "description": "The request for a call to `ChannelSchemaService_BatchCreateChannelSchemas`.",
                "required": [
                    "requests"
                ]
            },
            "channel_schemasv1BatchCreateChannelSchemasResponse": {
                "type": "object",
                "description": "The response of a call to `ChannelSchemaService_BatchCreateChannelSchemas`."
            },
            "channel_schemasv1CreateChannelSchemaRequest": {
                "type": "object",
                "properties": {
                    "component": {
                        "type": "string",
                        "description": "The name of the component (case-insensitive)."
                    },
                    "channel": {
                        "type": "string",
                        "description": "The name of the channel (case-insensitive)."
                    },
                    "unit": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    },
                    "assetName": {
                        "type": "string",
                        "description": "The name of the asset (case-insensitive)."
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "This field is optional if the caller belongs to a single organization."
                    }
                },
                "description": "The request for a call to `ChannelSchemaService_CreateChannelSchema`.",
                "required": [
                    "channel",
                    "dataType",
                    "assetName"
                ]
            },
            "channel_schemasv1CreateChannelSchemaResponse": {
                "type": "object",
                "description": "The response of a call to `ChannelSchemaService_CreateChannelSchema`."
            },
            "channel_schemasv2BatchCreateChannelSchemasRequest": {
                "type": "object",
                "properties": {
                    "requests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/channel_schemasv2CreateChannelSchemaRequest"
                        },
                        "title": "Limit of 1000 channels schemas per batch"
                    },
                    "assetName": {
                        "type": "string",
                        "description": "The asset to which the channel schemas belong (case-insensitive).\nIf this field, and any of the child requests specify an asset, the assets must match."
                    }
                },
                "description": "The request for a call to `ChannelSchemaService_BatchCreateChannelSchemas`.",
                "required": [
                    "requests"
                ]
            },
            "channel_schemasv2BatchCreateChannelSchemasResponse": {
                "type": "object",
                "description": "The response of a call to `ChannelSchemaService_BatchCreateChannelSchemas`."
            },
            "channel_schemasv2CreateChannelSchemaRequest": {
                "type": "object",
                "properties": {
                    "channel": {
                        "type": "string"
                    },
                    "unit": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    },
                    "assetName": {
                        "type": "string",
                        "description": "The name of the asset (case-insensitive)."
                    }
                },
                "description": "The request for a call to `ChannelSchemaService_CreateChannelSchema`.",
                "required": [
                    "channel",
                    "dataType",
                    "assetName"
                ]
            },
            "channel_schemasv2CreateChannelSchemaResponse": {
                "type": "object",
                "description": "The response of a call to `ChannelSchemaService_CreateChannelSchema`."
            },
            "channelsv2Channel": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "component": {
                        "type": "string"
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "unitId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "channelId",
                    "name",
                    "component",
                    "assetId",
                    "description",
                    "unitId",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "organizationId",
                    "dataType",
                    "metadata"
                ]
            },
            "channelsv2GetChannelResponse": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/channelsv2Channel"
                    }
                },
                "description": "The response of a call to `ChannelService_GetChannel`.",
                "required": [
                    "channel"
                ]
            },
            "channelsv2ListChannelsResponse": {
                "type": "object",
                "properties": {
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/channelsv2Channel"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to `ChannelService_ListChannels`."
            },
            "channelsv3Channel": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string",
                        "description": "The full name of the channel."
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "unitId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    },
                    "displayDescription": {
                        "type": "string"
                    },
                    "displayUnitId": {
                        "type": "string"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "channelId",
                    "name",
                    "assetId",
                    "description",
                    "unitId",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "dataType",
                    "metadata"
                ]
            },
            "channelsv3GetChannelResponse": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/channelsv3Channel"
                    }
                },
                "description": "The response of a call to `ChannelService_GetChannel`.",
                "required": [
                    "channel"
                ]
            },
            "channelsv3ListChannelsResponse": {
                "type": "object",
                "properties": {
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/channelsv3Channel"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to ChannelService_ListChannels."
            },
            "commontypev1ChannelConfig": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "units": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                }
            },
            "datav1CalculatedChannelQuery": {
                "type": "object",
                "properties": {
                    "channelKey": {
                        "type": "string"
                    },
                    "expression": {
                        "$ref": "#/components/schemas/v1ExpressionRequest"
                    },
                    "runId": {
                        "type": "string",
                        "description": "Optional.\nIf set, only data for the specified run is returned\nIf set to the empty string, only non-run data is returned.\nIf unset, all run / non-run data is returned."
                    },
                    "mode": {
                        "$ref": "#/components/schemas/v1ExpressionMode"
                    }
                },
                "required": [
                    "channelKey",
                    "expression"
                ]
            },
            "datav1ChannelQuery": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string",
                        "description": "channel_id is the uuid of the channel."
                    },
                    "runId": {
                        "type": "string",
                        "description": "Optional.\nIf set, only data associated with the specified run is returned.\nIf set to the empty string, only non-run data is returned.\nIf unset, all run / non-run data is returned."
                    }
                }
            },
            "datav1GetDataRequest": {
                "type": "object",
                "properties": {
                    "queries": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/datav1Query"
                        }
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Required. The starting timestamp of the data to retrieve. This is an inclusive bound."
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Required. The end timestamp of the data to retrieve. This is an exclusive bound."
                    },
                    "sampleMs": {
                        "type": "integer",
                        "format": "int64",
                        "description": "The rate to sample the returned data at. The data is sampled using [LTTB](https://github.com/sveinn-steinarsson/flot-downsample)\nwhich will return one point approximately every sample_ms milliseconds that retains the shape of the raw data.\nSampling is only supported for numeric data types, if sample_ms is provided for non-numeric data, it will be\nignored and the full-fidelity data will be returned."
                    },
                    "pageSize": {
                        "type": "integer",
                        "format": "int64",
                        "description": "The maximum number of channel values to return.\nThe service may return fewer than this value.\nIf unspecified, at most 10,000 values will be returned.\nThe maximum value is 100,000; values above 100,000 will be coerced to 100,000.\nFor variable data types (i.e. string channels), at most page_size elements\nwill be read, or 1MB, whichever occurs first."
                    },
                    "pageToken": {
                        "type": "string",
                        "description": "A page token, received from a previous `GetData` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `GetData` must match\nthe call that provided the page token."
                    }
                }
            },
            "datav1GetDataResponse": {
                "type": "object",
                "properties": {
                    "nextPageToken": {
                        "type": "string"
                    },
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/protobufAny"
                        },
                        "title": "data contains the result of the supplied queries.\nBe aware that each query can generate multiple data responses.\nFor example, if run_id is omitted from a ChannelQuery, the query returns\ndata for all runs containing that channel. Channel data for each run is\nreturned in a separate data object.\nPossible message types:\n  sift.data.v1.DoubleValues\n  sift.data.v1.FloatValues\n  sift.data.v1.StringValues\n  sift.data.v1.EnumValues\n  sift.data.v1.BitFieldValues\n  sift.data.v1.BoolValues\n  sift.data.v1.Int32Values\n  sift.data.v1.Int64Values\n  sift.data.v1.Uint32Values\n  sift.data.v1.Uint64Values\n  sift.data.v1.BytesValues"
                    }
                },
                "required": [
                    "data"
                ]
            },
            "datav1Query": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/datav1ChannelQuery"
                    },
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/datav1CalculatedChannelQuery"
                    }
                }
            },
            "datav2CalculatedChannelQuery": {
                "type": "object",
                "properties": {
                    "channelKey": {
                        "type": "string"
                    },
                    "expression": {
                        "$ref": "#/components/schemas/v1ExpressionRequest"
                    },
                    "runId": {
                        "type": "string",
                        "description": "Optional.\nIf set, only data for the specified run is returned\nIf set to the empty string, only non-run data is returned.\nIf unset, all run / non-run data is returned."
                    },
                    "mode": {
                        "$ref": "#/components/schemas/v1ExpressionMode"
                    },
                    "combineRunData": {
                        "type": "boolean",
                        "description": "Optional. If unset, will default to false.\nIf true, then requests that return data across multiple runs will be\ncombined into a single result. This will apply to queries without a run,\nor when the requested run is an ad hoc run.\nThis is useful when you prefer to see all the data as a single time series,\ninstead of separated results by run."
                    }
                },
                "required": [
                    "channelKey",
                    "expression"
                ]
            },
            "datav2ChannelQuery": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string",
                        "description": "channel_id is the uuid of the channel."
                    },
                    "runId": {
                        "type": "string",
                        "description": "Optional.\nIf set, only data associated with the specified run is returned.\nIf set to the empty string, only non-run data is returned.\nIf unset, all run / non-run data is returned."
                    }
                }
            },
            "datav2GetDataRequest": {
                "type": "object",
                "properties": {
                    "queries": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/datav2Query"
                        }
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Required. The starting timestamp of the data to retrieve. This is an inclusive bound."
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Required. The end timestamp of the data to retrieve. This is an exclusive bound."
                    },
                    "sampleMs": {
                        "type": "integer",
                        "format": "int64",
                        "description": "The rate to sample the returned data at. The data is sampled using [LTTB](https://github.com/sveinn-steinarsson/flot-downsample)\nwhich will return one point approximately every sample_ms milliseconds that retains the shape of the raw data.\nSampling is only supported for numeric data types, if sample_ms is provided for non-numeric data, it will be\nignored and the full-fidelity data will be returned."
                    },
                    "pageSize": {
                        "type": "integer",
                        "format": "int64",
                        "description": "The maximum number of channel values to return.\nThe service may return fewer than this value.\nIf unspecified, at most 10,000 values will be returned.\nThe maximum value is 100,000; values above 100,000 will be coerced to 100,000.\nFor variable data types (i.e. string channels), at most page_size elements\nwill be read, or 1MB, whichever occurs first."
                    },
                    "pageToken": {
                        "type": "string",
                        "description": "A page token, received from a previous `GetData` call.\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to `GetData` must match\nthe call that provided the page token."
                    }
                }
            },
            "datav2GetDataResponse": {
                "type": "object",
                "properties": {
                    "nextPageToken": {
                        "type": "string"
                    },
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/protobufAny"
                        },
                        "title": "data contains the result of the supplied queries.\nBe aware that each query can generate multiple data responses.\nFor example, if run_id is omitted from a ChannelQuery, the query returns\ndata for all runs containing that channel. Channel data for each run is\nreturned in a separate data object.\nPossible message types:\n  sift.data.v2.DoubleValues\n  sift.data.v2.FloatValues\n  sift.data.v2.StringValues\n  sift.data.v2.EnumValues\n  sift.data.v2.BitFieldValues\n  sift.data.v2.BoolValues\n  sift.data.v2.Int32Values\n  sift.data.v2.Int64Values\n  sift.data.v2.Uint32Values\n  sift.data.v2.Uint64Values\n  sift.data.v2.BytesValues"
                    }
                },
                "required": [
                    "data"
                ]
            },
            "datav2Query": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/datav2ChannelQuery"
                    },
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/datav2CalculatedChannelQuery"
                    }
                }
            },
            "ingestion_configsv1CreateIngestionConfigFlowsResponse": {
                "type": "object",
                "description": "The result of a call to `IngestionConfigService_CreateIngestionConfigFlows`."
            },
            "ingestion_configsv1CreateIngestionConfigRequest": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string"
                    },
                    "flows": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv1FlowConfig"
                        }
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string",
                        "description": "The `client_key` field is a user-defined string you can supply to uniquely identify\nan ingestion config (and retrieve it via `GetIngestionConfig`).\nAn error is returned if you try to create an ingestion config with a\nclient_key that already exists."
                    }
                },
                "description": "The request for a call to `IngestionConfigService_CreateIngestionConfig` to create an ingestion configs.",
                "required": [
                    "assetName"
                ]
            },
            "ingestion_configsv1CreateIngestionConfigResponse": {
                "type": "object",
                "properties": {
                    "ingestionConfig": {
                        "$ref": "#/components/schemas/ingestion_configsv1IngestionConfig"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_CreateIngestionConfig`.",
                "required": [
                    "ingestionConfig"
                ]
            },
            "ingestion_configsv1FlowConfig": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/siftingestion_configsv1ChannelConfig"
                        }
                    }
                },
                "required": [
                    "name"
                ]
            },
            "ingestion_configsv1GetIngestionConfigResponse": {
                "type": "object",
                "properties": {
                    "ingestionConfig": {
                        "$ref": "#/components/schemas/ingestion_configsv1IngestionConfig"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_GetIngestionConfig`.",
                "required": [
                    "ingestionConfig"
                ]
            },
            "ingestion_configsv1IngestionConfig": {
                "type": "object",
                "properties": {
                    "ingestionConfigId": {
                        "type": "string"
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                },
                "required": [
                    "ingestionConfigId",
                    "assetId"
                ]
            },
            "ingestion_configsv1IngestionConfigServiceCreateIngestionConfigFlowsBody": {
                "type": "object",
                "properties": {
                    "flows": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv1FlowConfig"
                        },
                        "description": "These flows must have unique names. If you try to send a flow with a name that already exists for an ingestion config, it will return an error."
                    }
                },
                "description": "The request for a call to `IngestionConfigService_CreateIngestionConfigFlows` to create ingestion config flows."
            },
            "ingestion_configsv1ListIngestionConfigFlowsResponse": {
                "type": "object",
                "properties": {
                    "flows": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv1FlowConfig"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_ListIngestionConfigFlows`."
            },
            "ingestion_configsv1ListIngestionConfigsResponse": {
                "type": "object",
                "properties": {
                    "ingestionConfigs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv1IngestionConfig"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_ListIngestionConfigs`."
            },
            "ingestion_configsv2ChannelConfig": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "unit": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    }
                },
                "required": [
                    "name",
                    "dataType"
                ]
            },
            "ingestion_configsv2CreateIngestionConfigFlowsResponse": {
                "type": "object",
                "description": "The result of a call to `IngestionConfigService_CreateIngestionConfigFlows`."
            },
            "ingestion_configsv2CreateIngestionConfigRequest": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string"
                    },
                    "flows": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv2FlowConfig"
                        }
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string",
                        "description": "The `client_key` field is a user-defined string you can supply to uniquely identify\nan ingestion config (and retrieve it via `GetIngestionConfig`).\nAn error is returned if you try to create an ingestion config with a\nclient_key that already exists."
                    }
                },
                "description": "The request for a call to `IngestionConfigService_CreateIngestionConfig` to retrieve ingestion configs.",
                "required": [
                    "assetName"
                ]
            },
            "ingestion_configsv2CreateIngestionConfigResponse": {
                "type": "object",
                "properties": {
                    "ingestionConfig": {
                        "$ref": "#/components/schemas/ingestion_configsv2IngestionConfig"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_CreateIngestionConfig`.",
                "required": [
                    "ingestionConfig"
                ]
            },
            "ingestion_configsv2FlowConfig": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv2ChannelConfig"
                        }
                    }
                },
                "required": [
                    "name"
                ]
            },
            "ingestion_configsv2GetIngestionConfigResponse": {
                "type": "object",
                "properties": {
                    "ingestionConfig": {
                        "$ref": "#/components/schemas/ingestion_configsv2IngestionConfig"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_GetIngestionConfig`.",
                "required": [
                    "ingestionConfig"
                ]
            },
            "ingestion_configsv2IngestionConfig": {
                "type": "object",
                "properties": {
                    "ingestionConfigId": {
                        "type": "string"
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                },
                "required": [
                    "ingestionConfigId",
                    "assetId"
                ]
            },
            "ingestion_configsv2IngestionConfigServiceCreateIngestionConfigFlowsBody": {
                "type": "object",
                "properties": {
                    "flows": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv2FlowConfig"
                        },
                        "description": "These flows must have unique names. If you try to send a flow with a name that already exists for an ingestion config, it will return an error."
                    }
                },
                "description": "The request for a call to `IngestionConfigService_CreateIngestionConfigFlows` to create ingestion config flows."
            },
            "ingestion_configsv2ListIngestionConfigFlowsResponse": {
                "type": "object",
                "properties": {
                    "flows": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv2FlowConfig"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_ListIngestionConfigFlows`."
            },
            "ingestion_configsv2ListIngestionConfigsResponse": {
                "type": "object",
                "properties": {
                    "ingestionConfigs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ingestion_configsv2IngestionConfig"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to `IngestionConfigService_ListIngestionConfigs`."
            },
            "protobufAny": {
                "type": "object",
                "properties": {
                    "@type": {
                        "type": "string",
                        "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n  value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n  URL, or have them precompiled into a binary to avoid any\n  lookup. Therefore, binary compatibility needs to be preserved\n  on changes to types. (Use versioned type names to manage\n  breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics."
                    }
                },
                "additionalProperties": {},
                "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n    Foo foo = ...;\n    Any any;\n    any.PackFrom(foo);\n    ...\n    if (any.UnpackTo(&foo)) {\n      ...\n    }\n\nExample 2: Pack and unpack a message in Java.\n\n    Foo foo = ...;\n    Any any = Any.pack(foo);\n    ...\n    if (any.is(Foo.class)) {\n      foo = any.unpack(Foo.class);\n    }\n    // or ...\n    if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n      foo = any.unpack(Foo.getDefaultInstance());\n    }\n\n Example 3: Pack and unpack a message in Python.\n\n    foo = Foo(...)\n    any = Any()\n    any.Pack(foo)\n    ...\n    if any.Is(Foo.DESCRIPTOR):\n      any.Unpack(foo)\n      ...\n\n Example 4: Pack and unpack a message in Go\n\n     foo := &pb.Foo{...}\n     any, err := anypb.New(foo)\n     if err != nil {\n       ...\n     }\n     ...\n     foo := &pb.Foo{}\n     if err := any.UnmarshalTo(foo); err != nil {\n       ...\n     }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n    package google.profile;\n    message Person {\n      string first_name = 1;\n      string last_name = 2;\n    }\n\n    {\n      \"@type\": \"type.googleapis.com/google.profile.Person\",\n      \"firstName\": <string>,\n      \"lastName\": <string>\n    }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n    {\n      \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n      \"value\": \"1.212s\"\n    }"
            },
            "protobufNullValue": {
                "type": "string",
                "enum": [
                    "NULL_VALUE"
                ],
                "default": "NULL_VALUE",
                "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\nThe JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
            },
            "protobuf_descriptorsv1AddProtobufDescriptorResponse": {
                "type": "object",
                "properties": {
                    "protobufDescriptor": {
                        "$ref": "#/components/schemas/protobuf_descriptorsv1ProtobufDescriptor"
                    }
                }
            },
            "protobuf_descriptorsv1DeleteProtobufDescriptorsResponse": {
                "type": "object"
            },
            "protobuf_descriptorsv1ListProtobufDescriptorsResponse": {
                "type": "object",
                "properties": {
                    "protobufDescriptors": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/protobuf_descriptorsv1ProtobufDescriptor"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `ProtobufDescriptorService_ListProtobufDescriptors`."
            },
            "protobuf_descriptorsv1ProtobufDescriptor": {
                "type": "object",
                "properties": {
                    "messageTypeFullName": {
                        "type": "string"
                    },
                    "fileDescriptorSet": {
                        "type": "string",
                        "format": "byte"
                    },
                    "protoFileName": {
                        "type": "string"
                    },
                    "namespace": {
                        "type": "string"
                    },
                    "protobufDescriptorId": {
                        "type": "string"
                    }
                }
            },
            "protobuf_descriptorsv2AddProtobufDescriptorRequest": {
                "type": "object",
                "properties": {
                    "protobufDescriptor": {
                        "$ref": "#/components/schemas/protobuf_descriptorsv2ProtobufDescriptor"
                    },
                    "forceDuplicateRegistration": {
                        "type": "boolean",
                        "description": "If set to true, the service will ignore checks that this descriptor has already been registered\nand will ensure that it is registered as the latest proto descriptor for the message type."
                    }
                }
            },
            "protobuf_descriptorsv2AddProtobufDescriptorResponse": {
                "type": "object",
                "properties": {
                    "protobufDescriptor": {
                        "$ref": "#/components/schemas/protobuf_descriptorsv2ProtobufDescriptor"
                    }
                }
            },
            "protobuf_descriptorsv2DeleteProtobufDescriptorsResponse": {
                "type": "object"
            },
            "protobuf_descriptorsv2ListProtobufDescriptorsResponse": {
                "type": "object",
                "properties": {
                    "protobufDescriptors": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/protobuf_descriptorsv2ProtobufDescriptor"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `ProtobufDescriptorService_ListProtobufDescriptors`."
            },
            "protobuf_descriptorsv2ProtobufDescriptor": {
                "type": "object",
                "properties": {
                    "messageTypeFullName": {
                        "type": "string"
                    },
                    "fileDescriptorSet": {
                        "type": "string",
                        "format": "byte"
                    },
                    "protoFileName": {
                        "type": "string"
                    },
                    "namespace": {
                        "type": "string"
                    },
                    "protobufDescriptorId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    }
                }
            },
            "rpcStatus": {
                "type": "object",
                "properties": {
                    "code": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "message": {
                        "type": "string"
                    },
                    "details": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/protobufAny"
                        }
                    }
                }
            },
            "rulesv1ChannelReference": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "component": {
                        "type": "string",
                        "title": "Deprecated - use name instead. If provided, name will be joined with the component as `component.name`"
                    }
                },
                "required": [
                    "name",
                    "component"
                ]
            },
            "runsv2Run": {
                "type": "object",
                "properties": {
                    "runId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "stopTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "isPinned": {
                        "type": "boolean"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "defaultReportId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "description": "The metadata values associated with this run."
                    },
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "isAdhoc": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "runId",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "organizationId",
                    "isPinned",
                    "name",
                    "description",
                    "tags",
                    "metadata",
                    "assetIds",
                    "isAdhoc"
                ]
            },
            "siftexportsv1CalculatedChannelConfig": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "expression": {
                        "type": "string"
                    },
                    "channelReferences": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannelAbstractChannelReference"
                        }
                    },
                    "units": {
                        "type": "string"
                    }
                },
                "required": [
                    "name",
                    "expression",
                    "channelReferences"
                ]
            },
            "siftingestion_configsv1ChannelConfig": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "component": {
                        "type": "string"
                    },
                    "unit": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    }
                },
                "required": [
                    "name",
                    "dataType"
                ]
            },
            "siftrule_evaluationv1EvaluateRulesRequest": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    },
                    "assets": {
                        "$ref": "#/components/schemas/v1AssetsTimeRange"
                    },
                    "runTimeRange": {
                        "$ref": "#/components/schemas/v1RunTimeRange"
                    },
                    "rules": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromCurrentRuleVersions"
                    },
                    "ruleVersions": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromRuleVersions"
                    },
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromReportTemplate"
                    },
                    "allApplicableRules": {
                        "type": "boolean"
                    },
                    "annotationOptions": {
                        "$ref": "#/components/schemas/v1EvaluateRulesAnnotationOptions"
                    },
                    "organizationId": {
                        "type": "string",
                        "title": "Only required if your user belongs to multiple organizations"
                    },
                    "reportName": {
                        "type": "string",
                        "description": "If this request creates a report, this field will be used as the report name."
                    }
                }
            },
            "siftrule_evaluationv1EvaluateRulesResponse": {
                "type": "object",
                "properties": {
                    "createdAnnotationCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "reportId": {
                        "type": "string",
                        "description": "A report will be generated if rules were evaluated against a run."
                    },
                    "jobId": {
                        "type": "string",
                        "description": "This will be set if the job has an extended run time and is being processed asynchronously."
                    }
                },
                "required": [
                    "createdAnnotationCount"
                ]
            },
            "siftrulesv1CalculatedChannelConfig": {
                "type": "object",
                "properties": {
                    "channelReferences": {
                        "type": "object",
                        "additionalProperties": {
                            "$ref": "#/components/schemas/rulesv1ChannelReference"
                        }
                    },
                    "expression": {
                        "type": "string"
                    },
                    "functionDependencies": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionDependency"
                        },
                        "description": "This will be ignored in requests and will be generated automatically."
                    }
                },
                "required": [
                    "channelReferences",
                    "expression"
                ]
            },
            "siftrulesv1EvaluateRulesRequest": {
                "type": "object",
                "properties": {
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "annotationOptions": {
                        "$ref": "#/components/schemas/v1EvaluatedAnnotationOptions"
                    },
                    "runId": {
                        "type": "string"
                    },
                    "timeRange": {
                        "$ref": "#/components/schemas/v1TimeRangeQuery"
                    },
                    "dryRun": {
                        "type": "boolean"
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "ruleIds"
                ]
            },
            "siftrulesv1EvaluateRulesResponse": {
                "type": "object",
                "properties": {
                    "createdAnnotationCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "dryRunAnnotations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1DryRunAnnotation"
                        },
                        "title": "If dry_run is true, this will be populated with the annotations that would be created"
                    },
                    "jobId": {
                        "type": "string",
                        "description": "job_id and report_id will be set if the job has an extended run time and is being processed asynchronously."
                    },
                    "reportId": {
                        "type": "string"
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead."
            },
            "tagsv1CreateTagRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The name for the new tag.\nIf the tag already exists, an error is returned."
                    },
                    "organizationId": {
                        "type": "string"
                    }
                },
                "description": "The request for a call to TagService.CreateTag.",
                "required": [
                    "name"
                ]
            },
            "tagsv1CreateTagResponse": {
                "type": "object",
                "properties": {
                    "tag": {
                        "$ref": "#/components/schemas/azimuthtagsv1Tag"
                    }
                },
                "description": "The result of a call to TagService.CreateTag."
            },
            "tagsv1ListTagsResponse": {
                "type": "object",
                "properties": {
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/azimuthtagsv1Tag"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is empty, there are no subsequent pages."
                    }
                }
            },
            "tagsv2CreateTagRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The name for the new tag.\nIf the tag already exists, an error is returned."
                    }
                },
                "description": "The request for a call to TagService.CreateTag.",
                "required": [
                    "name"
                ]
            },
            "tagsv2CreateTagResponse": {
                "type": "object",
                "properties": {
                    "tag": {
                        "$ref": "#/components/schemas/tagsv2Tag"
                    }
                },
                "description": "The result of a call to TagService.CreateTag."
            },
            "tagsv2ListTagsResponse": {
                "type": "object",
                "properties": {
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/tagsv2Tag"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is empty, there are no subsequent pages."
                    }
                }
            },
            "tagsv2Tag": {
                "type": "object",
                "properties": {
                    "tagId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "name": {
                        "type": "string",
                        "readOnly": true
                    },
                    "createdByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    }
                }
            },
            "unitv2Unit": {
                "type": "object",
                "properties": {
                    "unitId": {
                        "type": "string"
                    },
                    "abbreviatedName": {
                        "type": "string"
                    }
                },
                "required": [
                    "unitId",
                    "abbreviatedName"
                ]
            },
            "v1ActionKind": {
                "type": "string",
                "enum": [
                    "ACTION_KIND_UNSPECIFIED",
                    "NOTIFICATION",
                    "ANNOTATION",
                    "WEBHOOK"
                ],
                "default": "ACTION_KIND_UNSPECIFIED"
            },
            "v1AnnotationActionConfiguration": {
                "type": "object",
                "properties": {
                    "tagIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "annotationType": {
                        "$ref": "#/components/schemas/v1AnnotationType"
                    },
                    "assignedToUserId": {
                        "type": "string"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "tagIds"
                ]
            },
            "v1AnnotationCommentBodyElement": {
                "type": "object",
                "properties": {
                    "type": {
                        "$ref": "#/components/schemas/v1AnnotationCommentBodyElementType"
                    },
                    "text": {
                        "type": "string"
                    },
                    "userMention": {
                        "$ref": "#/components/schemas/v1AnnotationCommentUserMention"
                    }
                },
                "required": [
                    "type"
                ]
            },
            "v1AnnotationCommentBodyElementType": {
                "type": "string",
                "enum": [
                    "ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED",
                    "ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_TEXT",
                    "ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_USER_MENTION"
                ],
                "default": "ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED"
            },
            "v1AnnotationCommentUserMention": {
                "type": "object",
                "properties": {
                    "userId": {
                        "type": "string"
                    },
                    "userEmail": {
                        "type": "string"
                    }
                },
                "required": [
                    "userId",
                    "userEmail"
                ]
            },
            "v1AnnotationLinkedChannel": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/v1AnnotationLinkedChannelsChannel"
                    },
                    "bitFieldElement": {
                        "$ref": "#/components/schemas/v1AnnotationLinkedChannelsBitFieldElement"
                    }
                }
            },
            "v1AnnotationLinkedChannelsBitFieldElement": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string"
                    },
                    "bitFieldName": {
                        "type": "string"
                    }
                },
                "required": [
                    "channelId",
                    "bitFieldName"
                ]
            },
            "v1AnnotationLinkedChannelsChannel": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string"
                    }
                },
                "required": [
                    "channelId"
                ]
            },
            "v1AnnotationLogAssignedProperties": {
                "type": "object",
                "properties": {
                    "assignedToUserId": {
                        "type": "string"
                    },
                    "assignedToUserEmail": {
                        "type": "string"
                    }
                },
                "required": [
                    "assignedToUserId",
                    "assignedToUserEmail"
                ]
            },
            "v1AnnotationLogCommentProperties": {
                "type": "object",
                "properties": {
                    "body": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1AnnotationCommentBodyElement"
                        }
                    }
                }
            },
            "v1AnnotationLogKind": {
                "type": "string",
                "enum": [
                    "ANNOTATION_LOG_KIND_UNSPECIFIED",
                    "ANNOTATION_LOG_KIND_COMMENT",
                    "ANNOTATION_LOG_KIND_STATE_UPDATE",
                    "ANNOTATION_LOG_KIND_ASSIGNED"
                ],
                "default": "ANNOTATION_LOG_KIND_UNSPECIFIED"
            },
            "v1AnnotationLogSearchResult": {
                "type": "object",
                "properties": {
                    "annotationLogId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "annotationId": {
                        "type": "string"
                    },
                    "kind": {
                        "$ref": "#/components/schemas/v1AnnotationLogKind"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "createdByUserName": {
                        "type": "string"
                    },
                    "assigned": {
                        "$ref": "#/components/schemas/v1AnnotationLogAssignedProperties"
                    },
                    "stateUpdate": {
                        "$ref": "#/components/schemas/v1AnnotationLogStateUpdateProperties"
                    },
                    "comment": {
                        "$ref": "#/components/schemas/v1AnnotationLogCommentProperties"
                    }
                },
                "required": [
                    "annotationLogId",
                    "createdDate",
                    "modifiedDate",
                    "annotationId",
                    "kind",
                    "createdByUserId",
                    "createdByUserName"
                ]
            },
            "v1AnnotationLogState": {
                "type": "string",
                "enum": [
                    "ANNOTATION_LOG_STATE_UNSPECIFIED",
                    "ANNOTATION_LOG_STATE_CREATED",
                    "ANNOTATION_LOG_STATE_OPEN",
                    "ANNOTATION_LOG_STATE_FLAGGED",
                    "ANNOTATION_LOG_STATE_RESOLVED"
                ],
                "default": "ANNOTATION_LOG_STATE_UNSPECIFIED"
            },
            "v1AnnotationLogStateUpdateProperties": {
                "type": "object",
                "properties": {
                    "state": {
                        "$ref": "#/components/schemas/v1AnnotationLogState"
                    }
                },
                "required": [
                    "state"
                ]
            },
            "v1AnnotationState": {
                "type": "string",
                "enum": [
                    "ANNOTATION_STATE_UNSPECIFIED",
                    "ANNOTATION_STATE_OPEN",
                    "ANNOTATION_STATE_FLAGGED",
                    "ANNOTATION_STATE_RESOLVED"
                ],
                "default": "ANNOTATION_STATE_UNSPECIFIED"
            },
            "v1AnnotationType": {
                "type": "string",
                "enum": [
                    "ANNOTATION_TYPE_UNSPECIFIED",
                    "ANNOTATION_TYPE_DATA_REVIEW",
                    "ANNOTATION_TYPE_PHASE"
                ],
                "default": "ANNOTATION_TYPE_UNSPECIFIED"
            },
            "v1ArchiveAssetResponse": {
                "type": "object",
                "properties": {
                    "archivedRunIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "List of run IDs that were archived when archive_runs was set to true.\nThis field will be empty if archive_runs was false or if no runs were archived."
                    }
                },
                "description": "The response of a call to `AssetService_ArchiveAsset`."
            },
            "v1ArchiveMetadataKeysRequest": {
                "type": "object",
                "properties": {
                    "metadataKeys": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataKey"
                        }
                    }
                },
                "required": [
                    "metadataKeys"
                ]
            },
            "v1ArchiveMetadataKeysResponse": {
                "type": "object"
            },
            "v1ArchiveMetadataValuesRequest": {
                "type": "object",
                "properties": {
                    "metadataValues": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "metadataValues"
                ]
            },
            "v1ArchiveMetadataValuesResponse": {
                "type": "object"
            },
            "v1AssetExpressionValidationResult": {
                "type": "object",
                "properties": {
                    "assetId": {
                        "type": "string"
                    },
                    "assetName": {
                        "type": "string"
                    },
                    "assetTagId": {
                        "type": "string",
                        "title": "asset_tag_id is the tag_id that caused this asset to be included in the rule"
                    },
                    "error": {
                        "type": "string"
                    }
                },
                "required": [
                    "assetId",
                    "assetName"
                ]
            },
            "v1AssetsAndTimeRange": {
                "type": "object",
                "properties": {
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "stopTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "assetIds",
                    "startTime",
                    "stopTime"
                ]
            },
            "v1AssetsTimeRange": {
                "type": "object",
                "properties": {
                    "assets": {
                        "$ref": "#/components/schemas/v1NamedResources"
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "assets",
                    "startTime",
                    "endTime"
                ]
            },
            "v1AudioMetadata": {
                "type": "object",
                "properties": {
                    "durationSeconds": {
                        "type": "number",
                        "format": "float"
                    },
                    "timestamp": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "v1BatchCreateWebhookLogsRequest": {
                "type": "object",
                "properties": {
                    "requests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1CreateWebhookLogRequest"
                        }
                    }
                },
                "description": "The request for a call to `WebhookService_BatchCreateWebhookLogs` to create a batch of webhook logs.",
                "required": [
                    "requests"
                ]
            },
            "v1BatchCreateWebhookLogsResponse": {
                "type": "object",
                "description": "The response of a call to `WebhookService_BatchCreateWebhookResponse`."
            },
            "v1BatchDeleteAnnotationsRequest": {
                "type": "object",
                "properties": {
                    "annotationIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "title": "Limit of 1000 annotations per batch"
                    }
                },
                "required": [
                    "annotationIds"
                ]
            },
            "v1BatchDeleteAnnotationsResponse": {
                "type": "object"
            },
            "v1BatchDeleteRemoteFilesRequest": {
                "type": "object",
                "properties": {
                    "remoteFileIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Up to 1000 remote file IDs can be provided per request."
                    }
                },
                "description": "The request for a call to `RemoteFileService_BatchDeleteRemoteFiles` to delete remote files."
            },
            "v1BatchDeleteRemoteFilesResponse": {
                "type": "object",
                "description": "The response of a call to `RemoteFileService_BatchDeleteRemoteFiles`."
            },
            "v1BatchDeleteRulesRequest": {
                "type": "object",
                "properties": {
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "clientKeys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "description": "BatchDeleteRulesRequest is used to delete a rule by rule_id or client_key. For each rule if both are provided, only rule_id will be used."
            },
            "v1BatchDeleteRulesResponse": {
                "type": "object"
            },
            "v1BatchDeleteSavedSearchesRequest": {
                "type": "object",
                "properties": {
                    "savedSearchIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "title": "Limit of 1000 searches per batch"
                    }
                },
                "description": "The request for a call to `SavedSearchService_BatchDeleteSavedSearches` to delete saved searches."
            },
            "v1BatchDeleteSavedSearchesResponse": {
                "type": "object",
                "description": "The response of a call to `SavedSearchService_BatchDeleteSavedSearches`."
            },
            "v1BatchGetRuleVersionsRequest": {
                "type": "object",
                "properties": {
                    "ruleVersionIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "ruleVersionIds"
                ]
            },
            "v1BatchGetRuleVersionsResponse": {
                "type": "object",
                "properties": {
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Rule"
                        }
                    }
                },
                "required": [
                    "rules"
                ]
            },
            "v1BatchGetRulesRequest": {
                "type": "object",
                "properties": {
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "clientKeys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "description": "BatchGetRulesRequest is used to retrieve rules by rule_ids or client_keys. If both are provided, both will be used to retrieve rules."
            },
            "v1BatchGetRulesResponse": {
                "type": "object",
                "properties": {
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Rule"
                        }
                    }
                },
                "required": [
                    "rules"
                ]
            },
            "v1BatchUndeleteRulesRequest": {
                "type": "object",
                "properties": {
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "clientKeys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "description": "BatchUndeleteRulesRequest is used to delete a rule by rule_id or client_key. For each rule if both are provided, only rule_id will be used."
            },
            "v1BatchUndeleteRulesResponse": {
                "type": "object"
            },
            "v1BatchUpdateNotificationsRequest": {
                "type": "object",
                "properties": {
                    "requests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UpdateNotificationRequest"
                        }
                    }
                },
                "description": "The request for a call to `NotificationService_BatchUpdateNotifications` to update notifications.\nA maximum of 1000 notifications can be modified in a batch.",
                "required": [
                    "requests"
                ]
            },
            "v1BatchUpdateNotificationsResponse": {
                "type": "object",
                "properties": {
                    "notifications": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Notification"
                        },
                        "description": "The updated notifications."
                    }
                },
                "description": "The response of a call to `NotificationService_BatchUpdateNotifications` containing the updated notifications."
            },
            "v1BatchUpdateRulesRequest": {
                "type": "object",
                "properties": {
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UpdateRuleRequest"
                        },
                        "title": "rules are limited 1000 rules at a time"
                    },
                    "validateOnly": {
                        "type": "boolean",
                        "description": "If validate_only is true, the request will only validate the request and not save the rules."
                    },
                    "overrideExpressionValidation": {
                        "type": "boolean",
                        "description": "If override_expression_validation is true, the request will save the rules even if the expressions are invalid. This\ncan be useful for multi-asset rules where an invalid expression for one asset should not prevent the rule from being saved."
                    }
                },
                "required": [
                    "rules",
                    "overrideExpressionValidation"
                ]
            },
            "v1BatchUpdateRulesResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "rulesCreatedCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The total number of rules created in the request. If validate_only is true, this will indicate how many rules would have been created."
                    },
                    "rulesUpdatedCount": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The total number of rules updated in the request. If validate_only is true, this will indicate how many rules would have been updated."
                    },
                    "validateOnly": {
                        "type": "boolean",
                        "description": "This will be true if the request only validated the request and did not save the rules."
                    },
                    "validationResults": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ValidationResult"
                        },
                        "title": "One ValidationResult per rule in the request will be returned"
                    },
                    "createdRuleIdentifiers": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/BatchUpdateRulesResponseRuleIdentifiers"
                        },
                        "description": "The created rule id, name, version, and client key."
                    }
                },
                "required": [
                    "success",
                    "rulesCreatedCount",
                    "rulesUpdatedCount",
                    "validateOnly",
                    "validationResults",
                    "createdRuleIdentifiers"
                ]
            },
            "v1Campaign": {
                "type": "object",
                "properties": {
                    "campaignId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "createdByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "modifiedByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1TagRef"
                        }
                    },
                    "reports": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1CampaignReport"
                        },
                        "title": "A campaign, at its core, is a list of reports"
                    },
                    "createdFromCampaignId": {
                        "type": "string",
                        "title": "If this campaign was created by duplicating another campaign, that other campaign will be referenced here",
                        "readOnly": true
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "title": "User-defined metadata for this campaign"
                    }
                },
                "required": [
                    "campaignId",
                    "name"
                ]
            },
            "v1CampaignReport": {
                "type": "object",
                "properties": {
                    "reportId": {
                        "type": "string",
                        "description": "Direct reference to the report. Set this on the client to tell the backend which report you're referring to."
                    },
                    "reportName": {
                        "type": "string",
                        "readOnly": true
                    },
                    "numAnnotations": {
                        "type": "integer",
                        "format": "int64",
                        "description": "How many annotations exist under the report's various rules.",
                        "readOnly": true
                    },
                    "numPassedRules": {
                        "type": "integer",
                        "format": "int64",
                        "description": "How many rules from this report were never triggered and generated NO annotations.",
                        "readOnly": true
                    },
                    "numAcceptedRules": {
                        "type": "integer",
                        "format": "int64",
                        "description": "How many rules have annotations which are ALL marked as accepted.",
                        "readOnly": true
                    },
                    "numFailedRules": {
                        "type": "integer",
                        "format": "int64",
                        "description": "How many rules have ANY annotations which are marked as failed.",
                        "readOnly": true
                    },
                    "numOpenRules": {
                        "type": "integer",
                        "format": "int64",
                        "description": "How many rules have annotations of which SOME are marked as open and NONE are marked as failed.",
                        "readOnly": true
                    }
                },
                "description": "A top-level summary of the report's rules is provided here so clients needn't aggregate this information themselves.",
                "required": [
                    "reportId"
                ]
            },
            "v1CancelJobResponse": {
                "type": "object"
            },
            "v1CancelReportResponse": {
                "type": "object",
                "title": "no response fields"
            },
            "v1ChannelBitFieldElement": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "index": {
                        "type": "integer",
                        "format": "int32",
                        "description": "The index of this element's first bit in the logical bit field array."
                    },
                    "bitCount": {
                        "type": "integer",
                        "format": "int64"
                    }
                },
                "required": [
                    "name",
                    "index",
                    "bitCount"
                ]
            },
            "v1ChannelConfigurations": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "type": {
                        "$ref": "#/components/schemas/v1PlottedChannelType"
                    },
                    "color": {
                        "type": "string"
                    },
                    "channelSettings": {
                        "type": "object"
                    },
                    "bitFieldIndex": {
                        "type": "integer",
                        "format": "int32",
                        "title": "bitfield"
                    },
                    "bitFieldElement": {
                        "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                    },
                    "expression": {
                        "type": "string",
                        "title": "temporary calculated channel"
                    },
                    "expressionChannelReferences": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "name",
                    "type",
                    "color",
                    "channelSettings"
                ]
            },
            "v1ChannelDataType": {
                "type": "string",
                "enum": [
                    "CHANNEL_DATA_TYPE_UNSPECIFIED",
                    "CHANNEL_DATA_TYPE_DOUBLE",
                    "CHANNEL_DATA_TYPE_STRING",
                    "CHANNEL_DATA_TYPE_ENUM",
                    "CHANNEL_DATA_TYPE_BIT_FIELD",
                    "CHANNEL_DATA_TYPE_BOOL",
                    "CHANNEL_DATA_TYPE_FLOAT",
                    "CHANNEL_DATA_TYPE_INT_32",
                    "CHANNEL_DATA_TYPE_UINT_32",
                    "CHANNEL_DATA_TYPE_INT_64",
                    "CHANNEL_DATA_TYPE_UINT_64",
                    "CHANNEL_DATA_TYPE_BYTES"
                ],
                "default": "CHANNEL_DATA_TYPE_UNSPECIFIED"
            },
            "v1ChannelEnumType": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "key": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "isSigned": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "name",
                    "key"
                ]
            },
            "v1CheckUpdatableFieldsResponse": {
                "type": "object",
                "properties": {
                    "allowedFields": {
                        "type": "string"
                    },
                    "disallowedFields": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "string"
                        },
                        "description": "Disallowed Fields will contain the update fields as the key and the reason for rejection as the value."
                    }
                },
                "required": [
                    "allowedFields",
                    "disallowedFields"
                ]
            },
            "v1ClientKeys": {
                "type": "object",
                "properties": {
                    "clientKeys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "clientKeys"
                ]
            },
            "v1ConditionComparator": {
                "type": "string",
                "enum": [
                    "CONDITION_COMPARATOR_UNSPECIFIED",
                    "LESS_THAN",
                    "LESS_THAN_OR_EQUAL",
                    "GREATER_THAN",
                    "GREATER_THAN_OR_EQUAL",
                    "EQUAL",
                    "NOT_EQUAL"
                ],
                "default": "CONDITION_COMPARATOR_UNSPECIFIED"
            },
            "v1ContextualChannels": {
                "type": "object",
                "properties": {
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/rulesv1ChannelReference"
                        }
                    }
                },
                "required": [
                    "channels"
                ]
            },
            "v1CreateAnnotationLogResponse": {
                "type": "object",
                "properties": {
                    "annotationLog": {
                        "$ref": "#/components/schemas/v1AnnotationLogSearchResult"
                    }
                },
                "description": "The response of a call to `AnnotationLogService_CreateAnnotationLog`."
            },
            "v1CreateAnnotationRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The name assigned to the new annotation."
                    },
                    "description": {
                        "type": "string",
                        "description": "A short description about the new annotation."
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "When the annotation starts."
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "When the annotation ends."
                    },
                    "assets": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "The names of the assets to associate with this annotation."
                    },
                    "linkedChannels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1AnnotationLinkedChannel"
                        },
                        "description": "The channels to associate with this annotation."
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "The names of the tags to associate with this annotation."
                    },
                    "runId": {
                        "type": "string",
                        "description": "The ID of the run that this annotation is associated with."
                    },
                    "assignToUserId": {
                        "type": "string",
                        "description": "The ID of the user that this annotation is assigned to."
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "The organization associated with this annotation. An organization ID is only required\nif the user belongs to multiple organizations."
                    },
                    "state": {
                        "$ref": "#/components/schemas/v1AnnotationState"
                    },
                    "annotationType": {
                        "$ref": "#/components/schemas/v1AnnotationType"
                    },
                    "createdByConditionId": {
                        "type": "string",
                        "description": "The ID of the rule condition that created this annotation."
                    },
                    "legendConfig": {
                        "type": "string",
                        "description": "A JSON string containing the axes configuration of the annotation's linked channels."
                    },
                    "createdByRuleConditionVersionId": {
                        "type": "string",
                        "description": "The ID of the rule condition version that created this annotation."
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "description": "The metadata associated with this annotation."
                    }
                },
                "description": "The request for a call to `AnnotationService_CreateAnnotation` to create a new annotation.\nAt least 1 asset, tag, or channel must be specified.",
                "required": [
                    "name",
                    "startTime",
                    "endTime"
                ]
            },
            "v1CreateAnnotationResponse": {
                "type": "object",
                "properties": {
                    "annotation": {
                        "$ref": "#/components/schemas/annotationsv1Annotation"
                    }
                },
                "description": "The result of a call to `AnnotationService_CreateAnnotation`.",
                "required": [
                    "annotation"
                ]
            },
            "v1CreateCampaignFrom": {
                "type": "object",
                "properties": {
                    "reports": {
                        "$ref": "#/components/schemas/v1ResourceIdentifiers"
                    },
                    "runs": {
                        "$ref": "#/components/schemas/v1ResourceIdentifiers"
                    },
                    "otherCampaign": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    }
                },
                "description": "Campaigns can be created from a few different sources."
            },
            "v1CreateCampaignRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "title": "The descriptive display name of the created campaign"
                    },
                    "description": {
                        "type": "string",
                        "title": "A custom description for the campaign"
                    },
                    "tags": {
                        "$ref": "#/components/schemas/v1NamedResources"
                    },
                    "organizationId": {
                        "type": "string",
                        "title": "`organization_id` is only required if your user belongs to multiple organizations"
                    },
                    "clientKey": {
                        "type": "string",
                        "description": "User-specified unique identifier."
                    },
                    "createFrom": {
                        "$ref": "#/components/schemas/v1CreateCampaignFrom"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "title": "User-defined metadata for this campaign"
                    }
                },
                "description": "The request of a call to `CampaignService_CreateCampaign` to create a campaign.",
                "required": [
                    "name"
                ]
            },
            "v1CreateCampaignResponse": {
                "type": "object",
                "properties": {
                    "campaign": {
                        "$ref": "#/components/schemas/v1Campaign"
                    }
                },
                "description": "The response of a call to `CampaignService_CreateCampaign` to create a campaign.",
                "required": [
                    "campaign"
                ]
            },
            "v1CreateMetadataKeyRequest": {
                "type": "object",
                "properties": {
                    "metadataKey": {
                        "$ref": "#/components/schemas/v1MetadataKey"
                    }
                },
                "description": "The request of a call to `MetadataService_CreateMetadataKey` to create a metadata key.",
                "required": [
                    "metadataKey"
                ]
            },
            "v1CreateMetadataKeyResponse": {
                "type": "object",
                "properties": {
                    "metadataKey": {
                        "$ref": "#/components/schemas/v1MetadataKey"
                    }
                },
                "description": "The response of a call to `MetadataService_CreateMetadataKey` to create a metadata key.",
                "required": [
                    "metadataKey"
                ]
            },
            "v1CreateMetadataValueRequest": {
                "type": "object",
                "properties": {
                    "metadataValue": {
                        "$ref": "#/components/schemas/v1MetadataValue"
                    }
                },
                "description": "The request of a call to `MetadataService_CreateMetadataValue` to create a metadata value.",
                "required": [
                    "metadataValue"
                ]
            },
            "v1CreateMetadataValueResponse": {
                "type": "object",
                "properties": {
                    "metadataValue": {
                        "$ref": "#/components/schemas/v1MetadataValue"
                    }
                },
                "description": "The response of a call to `MetadataService_CreateMetadataValue` to create a metadata value.",
                "required": [
                    "metadataValue"
                ]
            },
            "v1CreatePanelConfigurationRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "panelType": {
                        "$ref": "#/components/schemas/v1PanelType"
                    },
                    "channelConfigurations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelConfigurations"
                        }
                    },
                    "chartSettings": {
                        "type": "object"
                    }
                },
                "required": [
                    "name",
                    "panelType",
                    "channelConfigurations"
                ]
            },
            "v1CreatePanelConfigurationResponse": {
                "type": "object",
                "properties": {
                    "panelConfiguration": {
                        "$ref": "#/components/schemas/v1PanelConfiguration"
                    }
                }
            },
            "v1CreateRemoteFileRequest": {
                "type": "object",
                "properties": {
                    "fileName": {
                        "type": "string"
                    },
                    "entityId": {
                        "type": "string"
                    },
                    "entityType": {
                        "$ref": "#/components/schemas/v1EntityType"
                    },
                    "fileMimeType": {
                        "type": "string"
                    },
                    "fileContentEncoding": {
                        "type": "string"
                    },
                    "fileSize": {
                        "type": "string",
                        "format": "uint64"
                    },
                    "description": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "This field is only required if your user belongs to multiple organizations."
                    },
                    "videoMetadata": {
                        "$ref": "#/components/schemas/v1VideoMetadata"
                    },
                    "imageMetadata": {
                        "$ref": "#/components/schemas/v1ImageMetadata"
                    },
                    "audioMetadata": {
                        "$ref": "#/components/schemas/v1AudioMetadata"
                    },
                    "customUuid": {
                        "type": "string",
                        "description": "A custom UUID used to generate the object key. Recommended to be left unset."
                    }
                },
                "description": "The request for a call to `RemoteFileService_CreateRemoteFile` to create a remote file.",
                "required": [
                    "fileName",
                    "entityId",
                    "entityType",
                    "fileMimeType",
                    "fileContentEncoding",
                    "fileSize"
                ]
            },
            "v1CreateRemoteFileResponse": {
                "type": "object",
                "properties": {
                    "remoteFile": {
                        "$ref": "#/components/schemas/v1RemoteFile"
                    }
                },
                "description": "The response for a call to `RemoteFileService_CreateRemoteFile`.",
                "required": [
                    "remoteFile"
                ]
            },
            "v1CreateReportFromReportTemplateRequest": {
                "type": "object",
                "properties": {
                    "reportTemplateId": {
                        "type": "string"
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "reportTemplateId"
                ]
            },
            "v1CreateReportFromRulesRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "tagNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "ruleIds": {
                        "$ref": "#/components/schemas/v1CreateReportRequestRuleIds"
                    },
                    "ruleClientKeys": {
                        "$ref": "#/components/schemas/v1CreateReportRequestClientKeys"
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "name",
                    "description",
                    "tagNames"
                ]
            },
            "v1CreateReportRequest": {
                "type": "object",
                "properties": {
                    "reportFromReportTemplateRequest": {
                        "$ref": "#/components/schemas/v1CreateReportFromReportTemplateRequest"
                    },
                    "reportFromRulesRequest": {
                        "$ref": "#/components/schemas/v1CreateReportFromRulesRequest"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "runId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string",
                        "description": "Override the name of the report. If not provided, the name will be generated based on the report template or run."
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "organizationId",
                    "runId",
                    "name"
                ]
            },
            "v1CreateReportRequestClientKeys": {
                "type": "object",
                "properties": {
                    "ruleClientKeys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "ruleClientKeys"
                ]
            },
            "v1CreateReportRequestRuleIds": {
                "type": "object",
                "properties": {
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "ruleIds"
                ]
            },
            "v1CreateReportResponse": {
                "type": "object",
                "properties": {
                    "report": {
                        "$ref": "#/components/schemas/v1Report"
                    }
                },
                "description": "Deprecated - use RuleEvaluationService instead.",
                "required": [
                    "report"
                ]
            },
            "v1CreateReportTemplateRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "tagNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "organizationId": {
                        "type": "string",
                        "title": "`organization_id` is only required if your user belongs to multiple organizations"
                    },
                    "ruleIds": {
                        "$ref": "#/components/schemas/v1CreateReportTemplateRequestRuleIds"
                    },
                    "ruleClientKeys": {
                        "$ref": "#/components/schemas/v1CreateReportTemplateRequestClientKeys"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "description": "The request of a call to `ReportTemplateService_CreateReportTemplate` to create a report template.",
                "required": [
                    "name",
                    "tagNames"
                ]
            },
            "v1CreateReportTemplateRequestClientKeys": {
                "type": "object",
                "properties": {
                    "ruleClientKeys": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "ruleClientKeys"
                ]
            },
            "v1CreateReportTemplateRequestRuleIds": {
                "type": "object",
                "properties": {
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "ruleIds"
                ]
            },
            "v1CreateReportTemplateResponse": {
                "type": "object",
                "properties": {
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1ReportTemplate"
                    }
                },
                "description": "The response of a call to `ReportTemplateService_CreateReportTemplate` to create a report template.",
                "required": [
                    "reportTemplate"
                ]
            },
            "v1CreateRuleRequest": {
                "type": "object",
                "properties": {
                    "update": {
                        "$ref": "#/components/schemas/v1UpdateRuleRequest"
                    }
                },
                "required": [
                    "update"
                ]
            },
            "v1CreateRuleResponse": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleId"
                ]
            },
            "v1CreateSavedSearchRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "properties": {
                        "$ref": "#/components/schemas/v1SavedSearchProperties"
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "This field is only required if your user belongs to multiple organizations."
                    }
                },
                "description": "The request for a call to `SavedSearchService_CreateSavedSearch` to create a saved search.",
                "required": [
                    "name",
                    "properties"
                ]
            },
            "v1CreateSavedSearchResponse": {
                "type": "object",
                "properties": {
                    "savedSearch": {
                        "$ref": "#/components/schemas/v1SavedSearch"
                    }
                },
                "description": "The response for a call to `SavedSearchService_CreateSavedResponse`.",
                "required": [
                    "savedSearch"
                ]
            },
            "v1CreateUserDefinedFunctionRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "expression": {
                        "type": "string"
                    },
                    "functionInputs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionInput"
                        }
                    },
                    "userNotes": {
                        "type": "string"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "name",
                    "expression",
                    "functionInputs",
                    "metadata"
                ]
            },
            "v1CreateUserDefinedFunctionResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunction": {
                        "$ref": "#/components/schemas/v1UserDefinedFunction"
                    }
                },
                "required": [
                    "userDefinedFunction"
                ]
            },
            "v1CreateWebhookLogRequest": {
                "type": "object",
                "properties": {
                    "webhookId": {
                        "type": "string"
                    },
                    "eventId": {
                        "type": "string"
                    },
                    "retryAttemptNumber": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "status": {
                        "$ref": "#/components/schemas/v1WebhookLogStatus"
                    },
                    "payload": {
                        "type": "string"
                    },
                    "errorReason": {
                        "type": "string"
                    },
                    "sentDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "description": "Request to create a single webhook log entry.",
                "required": [
                    "webhookId",
                    "eventId",
                    "retryAttemptNumber",
                    "status",
                    "payload",
                    "errorReason",
                    "sentDate"
                ]
            },
            "v1CreateWebhookRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "targetUrl": {
                        "type": "string"
                    },
                    "eventType": {
                        "$ref": "#/components/schemas/v1WebhookEventType"
                    },
                    "payload": {
                        "type": "string"
                    },
                    "httpHeaders": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1WebhookHttpHeader"
                        }
                    }
                },
                "description": "The request for a call to `WebhookService_CreateWebhook` to create a webhook.",
                "required": [
                    "name",
                    "targetUrl",
                    "eventType",
                    "httpHeaders"
                ]
            },
            "v1CreateWebhookResponse": {
                "type": "object",
                "properties": {
                    "webhook": {
                        "$ref": "#/components/schemas/v1Webhook"
                    }
                },
                "description": "The response of a call to `WebhookService_CreateWebhook`.",
                "required": [
                    "webhook"
                ]
            },
            "v1CreateWebhookSignatureKeyRequest": {
                "type": "object",
                "description": "The request for a call to `WebhookService_CreateWebhookSignatureKey` to create a webhook signature key."
            },
            "v1CreateWebhookSignatureKeyResponse": {
                "type": "object",
                "properties": {
                    "signatureKey": {
                        "$ref": "#/components/schemas/v1WebhookSignatureKey"
                    }
                },
                "description": "The response for a call to `WebhookService_CreateWebhookSignatureKey`. The `active` field indicates whether\nor not whether the key is currently active.",
                "required": [
                    "signatureKey"
                ]
            },
            "v1DataExportJobDetails": {
                "type": "object",
                "properties": {
                    "request": {
                        "$ref": "#/components/schemas/v1ExportDataRequest"
                    },
                    "storageKey": {
                        "type": "string"
                    }
                }
            },
            "v1DataExportStatusDetails": {
                "type": "object",
                "properties": {
                    "errorMessage": {
                        "type": "string"
                    }
                }
            },
            "v1DataImportJobDetails": {
                "type": "object",
                "properties": {
                    "dataImportId": {
                        "type": "string"
                    }
                },
                "required": [
                    "dataImportId"
                ]
            },
            "v1DataImportStatusDetails": {
                "type": "object",
                "properties": {
                    "pointsProcessed": {
                        "type": "string",
                        "format": "uint64"
                    },
                    "pointsTotal": {
                        "type": "string",
                        "format": "uint64"
                    }
                },
                "required": [
                    "pointsProcessed",
                    "pointsTotal"
                ]
            },
            "v1DeleteAnnotationLogResponse": {
                "type": "object",
                "description": "The Response of a call to `AnnotationLogService_DeleteAnnotationLog`."
            },
            "v1DeleteAnnotationResponse": {
                "type": "object",
                "description": "The response of a call to `AnnotationService_DeleteAnnotation`."
            },
            "v1DeleteAssetResponse": {
                "type": "object",
                "description": "The response of a call to `AssetService_DeleteAsset`.\nDeprecated: Use ArchiveAssetResponse instead."
            },
            "v1DeleteMetadataKeysRequest": {
                "type": "object",
                "properties": {
                    "metadataKeys": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataKey"
                        }
                    }
                },
                "required": [
                    "metadataKeys"
                ]
            },
            "v1DeleteMetadataKeysResponse": {
                "type": "object"
            },
            "v1DeleteMetadataValuesRequest": {
                "type": "object",
                "properties": {
                    "metadataValues": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "metadataValues"
                ]
            },
            "v1DeleteMetadataValuesResponse": {
                "type": "object"
            },
            "v1DeleteRemoteFileResponse": {
                "type": "object",
                "description": "The response of a call to `RemoteFileService_DeleteRemoteFile`."
            },
            "v1DeleteRuleRequest": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                },
                "description": "DeleteRuleRequest is used to delete a rule by rule_id or client_key. If both are provided, only rule_id will be used."
            },
            "v1DeleteRuleResponse": {
                "type": "object"
            },
            "v1DeleteSavedSearchResponse": {
                "type": "object",
                "description": "The response of a call to `SavedSearchService_DeleteSavedSearch`."
            },
            "v1DryRunAnnotation": {
                "type": "object",
                "properties": {
                    "conditionId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "conditionVersionId": {
                        "type": "string"
                    }
                },
                "required": [
                    "startTime",
                    "endTime"
                ]
            },
            "v1EntityType": {
                "type": "string",
                "enum": [
                    "ENTITY_TYPE_UNSPECIFIED",
                    "ENTITY_TYPE_RUN",
                    "ENTITY_TYPE_ANNOTATION",
                    "ENTITY_TYPE_ASSET",
                    "ENTITY_TYPE_ANNOTATION_LOG",
                    "ENTITY_TYPE_TEST_REPORT"
                ],
                "default": "ENTITY_TYPE_UNSPECIFIED"
            },
            "v1ErrorValidatingExpressionResult": {
                "type": "object",
                "properties": {
                    "errorMessage": {
                        "type": "string"
                    }
                },
                "required": [
                    "errorMessage"
                ]
            },
            "v1EvaluateRulesAnnotationOptions": {
                "type": "object",
                "properties": {
                    "tags": {
                        "$ref": "#/components/schemas/v1NamedResources"
                    }
                },
                "required": [
                    "tags"
                ]
            },
            "v1EvaluateRulesFromCurrentRuleVersions": {
                "type": "object",
                "properties": {
                    "rules": {
                        "$ref": "#/components/schemas/v1ResourceIdentifiers"
                    }
                },
                "required": [
                    "rules"
                ]
            },
            "v1EvaluateRulesFromReportTemplate": {
                "type": "object",
                "properties": {
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    }
                },
                "required": [
                    "reportTemplate"
                ]
            },
            "v1EvaluateRulesFromRuleConfigs": {
                "type": "object",
                "properties": {
                    "configs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UpdateRuleRequest"
                        }
                    }
                },
                "required": [
                    "configs"
                ]
            },
            "v1EvaluateRulesFromRuleVersions": {
                "type": "object",
                "properties": {
                    "ruleVersionIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "ruleVersionIds"
                ]
            },
            "v1EvaluateRulesPreviewRequest": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    },
                    "runTimeRange": {
                        "$ref": "#/components/schemas/v1RunTimeRange"
                    },
                    "rules": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromCurrentRuleVersions"
                    },
                    "ruleVersions": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromRuleVersions"
                    },
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromReportTemplate"
                    },
                    "ruleConfigs": {
                        "$ref": "#/components/schemas/v1EvaluateRulesFromRuleConfigs"
                    },
                    "organizationId": {
                        "type": "string",
                        "title": "Only required if your user belongs to multiple organizations"
                    }
                }
            },
            "v1EvaluateRulesPreviewResponse": {
                "type": "object",
                "properties": {
                    "createdAnnotationCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "dryRunAnnotations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1DryRunAnnotation"
                        }
                    }
                },
                "required": [
                    "createdAnnotationCount"
                ]
            },
            "v1EvaluatedAnnotationOptions": {
                "type": "object",
                "properties": {
                    "tagIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "v1ExportDataRequest": {
                "type": "object",
                "properties": {
                    "timeRange": {
                        "$ref": "#/components/schemas/v1TimeRange"
                    },
                    "runsAndTimeRange": {
                        "$ref": "#/components/schemas/v1RunsAndTimeRange"
                    },
                    "assetsAndTimeRange": {
                        "$ref": "#/components/schemas/v1AssetsAndTimeRange"
                    },
                    "channelIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "calculatedChannelConfigs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/siftexportsv1CalculatedChannelConfig"
                        }
                    },
                    "outputFormat": {
                        "$ref": "#/components/schemas/v1ExportOutputFormat"
                    },
                    "exportOptions": {
                        "$ref": "#/components/schemas/v1ExportOptions"
                    }
                },
                "required": [
                    "outputFormat",
                    "exportOptions"
                ]
            },
            "v1ExportDataResponse": {
                "type": "object",
                "properties": {
                    "presignedUrl": {
                        "type": "string",
                        "description": "Pre-signed URL of exported zip containing export files. This will be blank if\nthe job is processed as a background job, in which case `job_id` will be non-empty."
                    },
                    "jobId": {
                        "type": "string",
                        "description": "This will be non-empty if the export is being processed asynchronously in a background job."
                    }
                }
            },
            "v1ExportOptions": {
                "type": "object",
                "properties": {
                    "useLegacyFormat": {
                        "type": "boolean",
                        "description": "Whether to use legacy format string for channel headers which contains key-value metadata."
                    },
                    "simplifyChannelNames": {
                        "type": "boolean",
                        "title": "Whether to simplify channel names by removing the component part of the name if name is unique in export file"
                    },
                    "combineRuns": {
                        "type": "boolean",
                        "description": "Whether to combine runs. e.g. channels from the same asset in different runs will be combined into a single column of data."
                    },
                    "splitExportByAsset": {
                        "type": "boolean",
                        "title": "Split each asset into their own export file"
                    },
                    "splitExportByRun": {
                        "type": "boolean",
                        "title": "Split each run into their own export file"
                    }
                }
            },
            "v1ExportOutputFormat": {
                "type": "string",
                "enum": [
                    "EXPORT_OUTPUT_FORMAT_UNSPECIFIED",
                    "EXPORT_OUTPUT_FORMAT_CSV",
                    "EXPORT_OUTPUT_FORMAT_SUN"
                ],
                "default": "EXPORT_OUTPUT_FORMAT_UNSPECIFIED"
            },
            "v1ExpressionChannelReference": {
                "type": "object",
                "properties": {
                    "channelReference": {
                        "type": "string"
                    },
                    "channelId": {
                        "type": "string"
                    }
                },
                "required": [
                    "channelReference",
                    "channelId"
                ]
            },
            "v1ExpressionIdentifier": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "type": {
                        "$ref": "#/components/schemas/v1ExpressionIdentifierType"
                    },
                    "displayName": {
                        "type": "string"
                    },
                    "library": {
                        "$ref": "#/components/schemas/v1ExpressionIdentifierLibrary"
                    }
                },
                "required": [
                    "name",
                    "description",
                    "type",
                    "displayName",
                    "library"
                ]
            },
            "v1ExpressionIdentifierLibrary": {
                "type": "string",
                "enum": [
                    "EXPRESSION_IDENTIFIER_LIBRARY_UNSPECIFIED",
                    "EXPRESSION_IDENTIFIER_LIBRARY_MATH",
                    "EXPRESSION_IDENTIFIER_LIBRARY_STRING",
                    "EXPRESSION_IDENTIFIER_LIBRARY_LIST",
                    "EXPRESSION_IDENTIFIER_LIBRARY_ITER",
                    "EXPRESSION_IDENTIFIER_LIBRARY_STATEFUL",
                    "EXPRESSION_IDENTIFIER_LIBRARY_SUMMARY",
                    "EXPRESSION_IDENTIFIER_LIBRARY_USER_DEFINED_FUNCTIONS"
                ],
                "default": "EXPRESSION_IDENTIFIER_LIBRARY_UNSPECIFIED"
            },
            "v1ExpressionIdentifierType": {
                "type": "string",
                "enum": [
                    "EXPRESSION_IDENTIFIER_TYPE_UNSPECIFIED",
                    "EXPRESSION_IDENTIFIER_TYPE_FUNCTION",
                    "EXPRESSION_IDENTIFIER_TYPE_CHANNEL"
                ],
                "default": "EXPRESSION_IDENTIFIER_TYPE_UNSPECIFIED"
            },
            "v1ExpressionMode": {
                "type": "string",
                "enum": [
                    "EXPRESSION_MODE_UNSPECIFIED",
                    "EXPRESSION_MODE_RULES",
                    "EXPRESSION_MODE_CALCULATED_CHANNELS",
                    "EXPRESSION_MODE_RULER",
                    "EXPRESSION_MODE_STRUCTURED_DATA"
                ],
                "default": "EXPRESSION_MODE_UNSPECIFIED"
            },
            "v1ExpressionRequest": {
                "type": "object",
                "properties": {
                    "channelReferences": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "string"
                        },
                        "description": "A map from the channel reference in the expression string (e.g. $1) to the channel id (uuid).\nThis is deprecated and should be passed in expression_channel_references instead."
                    },
                    "expression": {
                        "type": "string"
                    },
                    "expressionChannelReferences": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ExpressionChannelReference"
                        }
                    },
                    "functionDependencies": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionDependency"
                        }
                    }
                },
                "required": [
                    "expression"
                ]
            },
            "v1ExternalSync": {
                "type": "object",
                "properties": {
                    "organizationId": {
                        "type": "string"
                    },
                    "mostRecentSyncDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "mostRecentSyncByUserId": {
                        "type": "string"
                    },
                    "scimServerUrl": {
                        "type": "string"
                    },
                    "tokenCreatedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "tokenLifetimeSeconds": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "mostRecentTokenByUserId": {
                        "type": "string"
                    }
                },
                "required": [
                    "scimServerUrl",
                    "tokenLifetimeSeconds"
                ]
            },
            "v1ExternalSyncToken": {
                "type": "object",
                "properties": {
                    "tokenId": {
                        "type": "string"
                    },
                    "lifetimeSeconds": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    }
                },
                "description": "The actual token value is not returned after it is first generated.",
                "required": [
                    "tokenId",
                    "lifetimeSeconds",
                    "createdDate",
                    "createdByUserId"
                ]
            },
            "v1FunctionDataType": {
                "type": "string",
                "enum": [
                    "FUNCTION_DATA_TYPE_UNSPECIFIED",
                    "FUNCTION_DATA_TYPE_NUMERIC",
                    "FUNCTION_DATA_TYPE_STRING",
                    "FUNCTION_DATA_TYPE_BOOL"
                ],
                "default": "FUNCTION_DATA_TYPE_UNSPECIFIED"
            },
            "v1FunctionDependency": {
                "type": "object",
                "properties": {
                    "userDefinedFunctionVersionId": {
                        "type": "string"
                    }
                },
                "required": [
                    "userDefinedFunctionVersionId"
                ]
            },
            "v1FunctionInput": {
                "type": "object",
                "properties": {
                    "identifier": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1FunctionDataType"
                    },
                    "constant": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "identifier",
                    "dataType",
                    "constant"
                ]
            },
            "v1GenerateTokenRequest": {
                "type": "object"
            },
            "v1GenerateTokenResponse": {
                "type": "object",
                "properties": {
                    "externalSync": {
                        "$ref": "#/components/schemas/v1ExternalSync"
                    },
                    "token": {
                        "type": "string"
                    }
                },
                "required": [
                    "externalSync",
                    "token"
                ]
            },
            "v1GetAnnotationResponse": {
                "type": "object",
                "properties": {
                    "annotation": {
                        "$ref": "#/components/schemas/annotationsv1Annotation"
                    }
                },
                "description": "The response of a call to `AnnotationService_GetAnnotation`.",
                "required": [
                    "annotation"
                ]
            },
            "v1GetAssetResponse": {
                "type": "object",
                "properties": {
                    "asset": {
                        "$ref": "#/components/schemas/assetsv1Asset"
                    }
                }
            },
            "v1GetCampaignResponse": {
                "type": "object",
                "properties": {
                    "campaign": {
                        "$ref": "#/components/schemas/v1Campaign"
                    }
                },
                "description": "The response of a call to `CampaignService_GetCampaign` to retrieve a campaign.",
                "required": [
                    "campaign"
                ]
            },
            "v1GetDownloadUrlResponse": {
                "type": "object",
                "properties": {
                    "presignedUrl": {
                        "type": "string"
                    }
                },
                "required": [
                    "presignedUrl"
                ]
            },
            "v1GetExternalSyncResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "externalSync": {
                        "$ref": "#/components/schemas/v1ExternalSync"
                    }
                },
                "required": [
                    "success",
                    "externalSync"
                ]
            },
            "v1GetPanelConfigurationResponse": {
                "type": "object",
                "properties": {
                    "panelConfiguration": {
                        "$ref": "#/components/schemas/v1PanelConfiguration"
                    }
                }
            },
            "v1GetRemoteFileDownloadUrlResponse": {
                "type": "object",
                "properties": {
                    "downloadUrl": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `RemoteFileService_GetRemoteFileDownloadUrl`.",
                "required": [
                    "downloadUrl"
                ]
            },
            "v1GetRemoteFileResponse": {
                "type": "object",
                "properties": {
                    "remoteFile": {
                        "$ref": "#/components/schemas/v1RemoteFile"
                    }
                },
                "description": "The response of a call to `RemoteFileService_GetRemoteFile`.",
                "required": [
                    "remoteFile"
                ]
            },
            "v1GetReportResponse": {
                "type": "object",
                "properties": {
                    "report": {
                        "$ref": "#/components/schemas/v1Report"
                    }
                },
                "description": "The request of a call to `ReportService_GetReport` to retrieve a report template.",
                "required": [
                    "report"
                ]
            },
            "v1GetReportTemplateResponse": {
                "type": "object",
                "properties": {
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1ReportTemplate"
                    }
                },
                "description": "The request of a call to `ReportTemplateService_GetReportTemplate` to retrieve a report template.",
                "required": [
                    "reportTemplate"
                ]
            },
            "v1GetRuleResponse": {
                "type": "object",
                "properties": {
                    "rule": {
                        "$ref": "#/components/schemas/v1Rule"
                    }
                },
                "required": [
                    "rule"
                ]
            },
            "v1GetRuleVersionResponse": {
                "type": "object",
                "properties": {
                    "rule": {
                        "$ref": "#/components/schemas/v1Rule"
                    }
                },
                "required": [
                    "rule"
                ]
            },
            "v1GetSavedSearchResponse": {
                "type": "object",
                "properties": {
                    "savedSearch": {
                        "$ref": "#/components/schemas/v1SavedSearch"
                    }
                },
                "description": "The response of a call to `SavedSearchService_GetSavedSearch`.",
                "required": [
                    "savedSearch"
                ]
            },
            "v1GetUserDefinedFunctionDependentsResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunctions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UserDefinedFunction"
                        }
                    },
                    "nextPageTokenUserDefinedFunction": {
                        "type": "string"
                    },
                    "calculatedChannels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannel"
                        }
                    },
                    "nextPageTokenCalculatedChannel": {
                        "type": "string"
                    },
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Rule"
                        }
                    },
                    "nextPageTokenRule": {
                        "type": "string"
                    }
                },
                "required": [
                    "userDefinedFunctions",
                    "calculatedChannels",
                    "rules"
                ]
            },
            "v1GetUserDefinedFunctionResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunction": {
                        "$ref": "#/components/schemas/v1UserDefinedFunction"
                    }
                },
                "required": [
                    "userDefinedFunction"
                ]
            },
            "v1GetUserDefinedFunctionVersionResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunction": {
                        "$ref": "#/components/schemas/v1UserDefinedFunction"
                    }
                },
                "required": [
                    "userDefinedFunction"
                ]
            },
            "v1GetUserDefinedFunctionVersionsResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunctions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UserDefinedFunction"
                        }
                    }
                },
                "required": [
                    "userDefinedFunctions"
                ]
            },
            "v1GetWebhookResponse": {
                "type": "object",
                "properties": {
                    "webhook": {
                        "$ref": "#/components/schemas/v1Webhook"
                    }
                },
                "description": "The response of a call to `WebhookService_GetWebhook`.",
                "required": [
                    "webhook"
                ]
            },
            "v1GetWebhookSignatureKeyResponse": {
                "type": "object",
                "properties": {
                    "signatureKey": {
                        "$ref": "#/components/schemas/v1WebhookSignatureKey"
                    }
                },
                "description": "The response for a call to `WebhookService_GetWebhookSignatureKey`. The `active` field indicates whether\nor not whether the key is currently active.",
                "required": [
                    "signatureKey"
                ]
            },
            "v1Ids": {
                "type": "object",
                "properties": {
                    "ids": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "ids"
                ]
            },
            "v1ImageMetadata": {
                "type": "object",
                "properties": {
                    "height": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "width": {
                        "type": "integer",
                        "format": "int64"
                    }
                }
            },
            "v1IngestArbitraryProtobufDataStreamResponse": {
                "type": "object"
            },
            "v1IngestWithConfigDataChannelValue": {
                "type": "object",
                "properties": {
                    "string": {
                        "type": "string"
                    },
                    "double": {
                        "type": "number",
                        "format": "double"
                    },
                    "float": {
                        "type": "number",
                        "format": "float"
                    },
                    "bool": {
                        "type": "boolean"
                    },
                    "int32": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "uint32": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "int64": {
                        "type": "string",
                        "format": "int64"
                    },
                    "uint64": {
                        "type": "string",
                        "format": "uint64"
                    },
                    "bitField": {
                        "type": "string",
                        "format": "byte"
                    },
                    "enum": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "empty": {
                        "type": "object",
                        "properties": {},
                        "title": "If there's not a new data point for a channel at the given timestamp, pass empty to skip it"
                    },
                    "bytes": {
                        "type": "string",
                        "format": "byte"
                    }
                }
            },
            "v1IngestWithConfigDataStreamResponse": {
                "type": "object"
            },
            "v1Job": {
                "type": "object",
                "properties": {
                    "jobId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "createdByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "modifiedByUserId": {
                        "type": "string",
                        "readOnly": true
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "startedDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "completedDate": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                    },
                    "jobType": {
                        "$ref": "#/components/schemas/v1JobType"
                    },
                    "jobStatus": {
                        "$ref": "#/components/schemas/v1JobStatus"
                    },
                    "jobStatusDetails": {
                        "$ref": "#/components/schemas/v1JobStatusDetails"
                    },
                    "jobDetails": {
                        "$ref": "#/components/schemas/v1JobDetails"
                    }
                },
                "required": [
                    "jobId",
                    "createdByUserId",
                    "modifiedByUserId",
                    "createdDate",
                    "modifiedDate",
                    "jobType",
                    "jobStatus"
                ]
            },
            "v1JobDetails": {
                "type": "object",
                "properties": {
                    "ruleEvaluation": {
                        "$ref": "#/components/schemas/v1RuleEvaluationJobDetails"
                    },
                    "dataImport": {
                        "$ref": "#/components/schemas/v1DataImportJobDetails"
                    },
                    "dataExport": {
                        "$ref": "#/components/schemas/v1DataExportJobDetails"
                    }
                }
            },
            "v1JobStatus": {
                "type": "string",
                "enum": [
                    "JOB_STATUS_UNSPECIFIED",
                    "JOB_STATUS_CREATED",
                    "JOB_STATUS_RUNNING",
                    "JOB_STATUS_FINISHED",
                    "JOB_STATUS_FAILED",
                    "JOB_STATUS_CANCELLED",
                    "JOB_STATUS_CANCEL_REQUESTED"
                ],
                "default": "JOB_STATUS_UNSPECIFIED"
            },
            "v1JobStatusDetails": {
                "type": "object",
                "properties": {
                    "ruleEvaluation": {
                        "$ref": "#/components/schemas/v1RuleEvaluationStatusDetails"
                    },
                    "dataImport": {
                        "$ref": "#/components/schemas/v1DataImportStatusDetails"
                    },
                    "dataExport": {
                        "$ref": "#/components/schemas/v1DataExportStatusDetails"
                    }
                }
            },
            "v1JobType": {
                "type": "string",
                "enum": [
                    "JOB_TYPE_UNSPECIFIED",
                    "JOB_TYPE_RULE_EVALUATION",
                    "JOB_TYPE_DATA_IMPORT",
                    "JOB_TYPE_DATA_EXPORT"
                ],
                "default": "JOB_TYPE_UNSPECIFIED"
            },
            "v1JsonRulesRequest": {
                "type": "object",
                "properties": {
                    "assetId": {
                        "type": "string"
                    },
                    "rulesJson": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    }
                },
                "required": [
                    "assetId",
                    "rulesJson",
                    "organizationId"
                ]
            },
            "v1JsonRulesResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "totalRulesCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "rulesCreatedCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "rulesUpdatedCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "rulesDeletedCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "errorMessages": {
                        "type": "string"
                    }
                },
                "required": [
                    "success",
                    "totalRulesCount",
                    "rulesCreatedCount",
                    "rulesUpdatedCount",
                    "rulesDeletedCount"
                ]
            },
            "v1LastValueThreshold": {
                "type": "object"
            },
            "v1ListAnnotationLogsResponse": {
                "type": "object",
                "properties": {
                    "annotationLogs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1AnnotationLogSearchResult"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `AnnotationLogService_ListAnnotationLogs`."
            },
            "v1ListAnnotationsResponse": {
                "type": "object",
                "properties": {
                    "annotations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/annotationsv1Annotation"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "Oops, we skipped to index 5! No reason for that; the indices between aren't reserved or anything."
                    }
                },
                "description": "The result of a call to `AnnotationService_ListAnnotations`."
            },
            "v1ListAssetsResponse": {
                "type": "object",
                "properties": {
                    "assets": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/assetsv1Asset"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to `AssetService_ListAssets`."
            },
            "v1ListCampaignAnnotationsResponse": {
                "type": "object",
                "properties": {
                    "annotations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/annotationsv1Annotation"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                }
            },
            "v1ListCampaignsResponse": {
                "type": "object",
                "properties": {
                    "campaigns": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Campaign"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `CampaignService_ListCampaignsResponse`."
            },
            "v1ListExpressionIdentifiersResponse": {
                "type": "object",
                "properties": {
                    "identifiers": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ExpressionIdentifier"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "required": [
                    "identifiers"
                ]
            },
            "v1ListExternalSyncTokensResponse": {
                "type": "object",
                "properties": {
                    "externalSyncTokens": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ExternalSyncToken"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "required": [
                    "externalSyncTokens"
                ]
            },
            "v1ListJobsResponse": {
                "type": "object",
                "properties": {
                    "jobs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Job"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                }
            },
            "v1ListMetadataKeysResponse": {
                "type": "object",
                "properties": {
                    "metadataKeys": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataKey"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `MetadataService_ListMetadataKeysResponse`."
            },
            "v1ListMetadataUsageResponse": {
                "type": "object",
                "properties": {
                    "metadataUsages": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataUsage"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                }
            },
            "v1ListMetadataValuesResponse": {
                "type": "object",
                "properties": {
                    "metadataValues": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                }
            },
            "v1ListNotificationsResponse": {
                "type": "object",
                "properties": {
                    "notifications": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Notification"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `NotificationService_ListNotifications`."
            },
            "v1ListPanelConfigurationsResponse": {
                "type": "object",
                "properties": {
                    "panelConfigurations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1PanelConfiguration"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages."
                    }
                }
            },
            "v1ListRemoteFilesResponse": {
                "type": "object",
                "properties": {
                    "remoteFiles": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1RemoteFile"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `RemoteFileService_ListRemoteFilesResponse`."
            },
            "v1ListReportTemplatesResponse": {
                "type": "object",
                "properties": {
                    "reportTemplates": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ReportTemplate"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `ReportTemplateService_ListReportTemplatesResponse`."
            },
            "v1ListReportsResponse": {
                "type": "object",
                "properties": {
                    "reports": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Report"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `ReportService_ListReportsResponse`."
            },
            "v1ListRuleVersionsResponse": {
                "type": "object",
                "properties": {
                    "ruleVersions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1RuleVersion"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleVersions"
                ]
            },
            "v1ListRulesResponse": {
                "type": "object",
                "properties": {
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Rule"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "required": [
                    "rules"
                ]
            },
            "v1ListSavedSearchesResponse": {
                "type": "object",
                "properties": {
                    "savedSearches": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearch"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `SavedSearchService_ListSavedSearchesResponse`."
            },
            "v1ListUserDefinedFunctionVersionsResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunctions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UserDefinedFunction"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `UserDefinedFunctionService_ListUserDefinedFunctionVersions`.",
                "required": [
                    "userDefinedFunctions"
                ]
            },
            "v1ListUserDefinedFunctionsResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunctions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UserDefinedFunction"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `UserDefinedFunctionService_ListUserDefinedFunctions`.",
                "required": [
                    "userDefinedFunctions"
                ]
            },
            "v1ListWebhookLogsResponse": {
                "type": "object",
                "properties": {
                    "logs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1WebhookLog"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `WebhookService_ListWebhookLogsResponse`.",
                "required": [
                    "logs",
                    "nextPageToken"
                ]
            },
            "v1ListWebhooksResponse": {
                "type": "object",
                "properties": {
                    "webhooks": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Webhook"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `WebhookService_ListWebhooks`.",
                "required": [
                    "webhooks",
                    "nextPageToken"
                ]
            },
            "v1MetadataKey": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "type": {
                        "$ref": "#/components/schemas/v1MetadataKeyType"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "name",
                    "type"
                ]
            },
            "v1MetadataKeyType": {
                "type": "string",
                "enum": [
                    "METADATA_KEY_TYPE_UNSPECIFIED",
                    "METADATA_KEY_TYPE_STRING",
                    "METADATA_KEY_TYPE_NUMBER",
                    "METADATA_KEY_TYPE_BOOLEAN"
                ],
                "default": "METADATA_KEY_TYPE_UNSPECIFIED",
                "description": "Metadata key type.\n\n - METADATA_KEY_TYPE_STRING: string\n - METADATA_KEY_TYPE_NUMBER: number\n - METADATA_KEY_TYPE_BOOLEAN: boolean"
            },
            "v1MetadataUsage": {
                "type": "object",
                "properties": {
                    "entityId": {
                        "type": "string",
                        "description": "The ID of the entity. For example assetId, runId, reportId, etc."
                    },
                    "entityType": {
                        "type": "string",
                        "description": "The type of the entity. For example asset, run, report, etc."
                    },
                    "value": {
                        "$ref": "#/components/schemas/v1MetadataValue"
                    }
                },
                "required": [
                    "entityId",
                    "entityType",
                    "value"
                ]
            },
            "v1MetadataValue": {
                "type": "object",
                "properties": {
                    "key": {
                        "$ref": "#/components/schemas/v1MetadataKey"
                    },
                    "stringValue": {
                        "type": "string"
                    },
                    "numberValue": {
                        "type": "number",
                        "format": "double"
                    },
                    "booleanValue": {
                        "type": "boolean"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "key"
                ]
            },
            "v1NamedResources": {
                "type": "object",
                "properties": {
                    "ids": {
                        "$ref": "#/components/schemas/v1Ids"
                    },
                    "names": {
                        "$ref": "#/components/schemas/v1Names"
                    }
                }
            },
            "v1Names": {
                "type": "object",
                "properties": {
                    "names": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "names"
                ]
            },
            "v1Notification": {
                "type": "object",
                "properties": {
                    "notificationId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "recipientUserId": {
                        "type": "string"
                    },
                    "isRead": {
                        "type": "boolean"
                    },
                    "fullLink": {
                        "type": "string"
                    },
                    "notificationType": {
                        "$ref": "#/components/schemas/v1NotificationKind"
                    },
                    "contents": {
                        "type": "string"
                    },
                    "entityId": {
                        "type": "string"
                    }
                }
            },
            "v1NotificationActionConfiguration": {
                "type": "object",
                "properties": {
                    "recipientUserIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "recipientUserIds"
                ]
            },
            "v1NotificationKind": {
                "type": "string",
                "enum": [
                    "NOTIFICATION_KIND_UNSPECIFIED",
                    "NOTIFICATION_KIND_TEXT",
                    "NOTIFICATION_KIND_ANNOTATION_ASSIGNED",
                    "NOTIFICATION_KIND_MENTIONED_IN_ANNOTATION_COMMENT",
                    "NOTIFICATION_KIND_CONDITION_TRIGGERED",
                    "NOTIFICATION_KIND_ANNOTATION_STATE_CHANGED",
                    "NOTIFICATION_KIND_REPORT_READY",
                    "NOTIFICATION_KIND_DATA_EXPORT_READY"
                ],
                "default": "NOTIFICATION_KIND_UNSPECIFIED"
            },
            "v1Organization": {
                "type": "object",
                "properties": {
                    "organizationId": {
                        "type": "string"
                    },
                    "organizationName": {
                        "type": "string"
                    }
                },
                "required": [
                    "organizationId",
                    "organizationName"
                ]
            },
            "v1PanelConfiguration": {
                "type": "object",
                "properties": {
                    "panelConfigurationId": {
                        "type": "string"
                    },
                    "versionId": {
                        "type": "string"
                    },
                    "version": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "changeMessage": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "panelType": {
                        "$ref": "#/components/schemas/v1PanelType"
                    },
                    "channelConfigurations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelConfigurations"
                        }
                    },
                    "chartSettings": {
                        "type": "object"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    }
                }
            },
            "v1PanelType": {
                "type": "string",
                "enum": [
                    "PANEL_TYPE_UNSPECIFIED",
                    "PANEL_TYPE_TIMESERIES",
                    "PANEL_TYPE_TABLE",
                    "PANEL_TYPE_FFT",
                    "PANEL_TYPE_GEO_MAP",
                    "PANEL_TYPE_SCATTER_PLOT",
                    "PANEL_TYPE_FILE_VIEWER",
                    "PANEL_TYPE_HISTOGRAM"
                ],
                "default": "PANEL_TYPE_UNSPECIFIED"
            },
            "v1PingResponse": {
                "type": "object",
                "properties": {
                    "response": {
                        "type": "string",
                        "readOnly": true
                    }
                }
            },
            "v1PlottedChannelType": {
                "type": "string",
                "enum": [
                    "PLOTTED_CHANNEL_TYPE_UNSPECIFIED",
                    "PLOTTED_CHANNEL_TYPE_REGULAR",
                    "PLOTTED_CHANNEL_TYPE_CALCULATED_CHANNEL",
                    "PLOTTED_CHANNEL_TYPE_BIT_FIELD_ELEMENT",
                    "PLOTTED_CHANNEL_TYPE_ENUM"
                ],
                "default": "PLOTTED_CHANNEL_TYPE_UNSPECIFIED"
            },
            "v1RemoteFile": {
                "type": "object",
                "properties": {
                    "remoteFileId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "entityId": {
                        "type": "string"
                    },
                    "entityType": {
                        "$ref": "#/components/schemas/v1EntityType"
                    },
                    "fileName": {
                        "type": "string"
                    },
                    "fileMimeType": {
                        "type": "string"
                    },
                    "fileContentEncoding": {
                        "type": "string"
                    },
                    "storageKey": {
                        "type": "string"
                    },
                    "fileSize": {
                        "type": "string",
                        "format": "uint64"
                    },
                    "description": {
                        "type": "string"
                    },
                    "videoMetadata": {
                        "$ref": "#/components/schemas/v1VideoMetadata"
                    },
                    "imageMetadata": {
                        "$ref": "#/components/schemas/v1ImageMetadata"
                    },
                    "audioMetadata": {
                        "$ref": "#/components/schemas/v1AudioMetadata"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "remoteFileId",
                    "organizationId",
                    "entityId",
                    "entityType",
                    "fileName",
                    "fileMimeType",
                    "fileContentEncoding",
                    "storageKey",
                    "fileSize",
                    "createdByUserId",
                    "modifiedByUserId",
                    "createdDate",
                    "modifiedDate"
                ]
            },
            "v1Report": {
                "type": "object",
                "properties": {
                    "reportId": {
                        "type": "string"
                    },
                    "reportTemplateId": {
                        "type": "string"
                    },
                    "runId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "summaries": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ReportRuleSummary"
                        }
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ReportTag"
                        }
                    },
                    "rerunFromReportId": {
                        "type": "string"
                    },
                    "jobId": {
                        "type": "string"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "reportId",
                    "runId",
                    "organizationId",
                    "name",
                    "createdByUserId",
                    "modifiedByUserId",
                    "createdDate",
                    "modifiedDate",
                    "summaries",
                    "tags",
                    "metadata"
                ]
            },
            "v1ReportRuleStatus": {
                "type": "string",
                "enum": [
                    "REPORT_RULE_STATUS_UNSPECIFIED",
                    "REPORT_RULE_STATUS_CREATED",
                    "REPORT_RULE_STATUS_LIVE",
                    "REPORT_RULE_STATUS_FINISHED",
                    "REPORT_RULE_STATUS_FAILED",
                    "REPORT_RULE_STATUS_CANCELED",
                    "REPORT_RULE_STATUS_ERROR"
                ],
                "default": "REPORT_RULE_STATUS_UNSPECIFIED"
            },
            "v1ReportRuleStatusDetails": {
                "type": "object",
                "properties": {
                    "created": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetailsCreated"
                    },
                    "live": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetailsLive"
                    },
                    "finished": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetailsFinished"
                    },
                    "failed": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetailsFailed"
                    },
                    "canceled": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetailsCanceled"
                    },
                    "error": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetailsError"
                    }
                }
            },
            "v1ReportRuleStatusDetailsCanceled": {
                "type": "object"
            },
            "v1ReportRuleStatusDetailsCreated": {
                "type": "object"
            },
            "v1ReportRuleStatusDetailsError": {
                "type": "object",
                "properties": {
                    "errorMessage": {
                        "type": "string"
                    },
                    "exitCode": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "stdout": {
                        "type": "string"
                    },
                    "stderr": {
                        "type": "string"
                    }
                },
                "required": [
                    "errorMessage"
                ]
            },
            "v1ReportRuleStatusDetailsFailed": {
                "type": "object",
                "properties": {
                    "errorMessage": {
                        "type": "string"
                    },
                    "exitCode": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "stdout": {
                        "type": "string"
                    },
                    "stderr": {
                        "type": "string"
                    }
                },
                "required": [
                    "errorMessage"
                ]
            },
            "v1ReportRuleStatusDetailsFinished": {
                "type": "object",
                "properties": {
                    "stdout": {
                        "type": "string"
                    },
                    "stderr": {
                        "type": "string"
                    }
                }
            },
            "v1ReportRuleStatusDetailsLive": {
                "type": "object"
            },
            "v1ReportRuleSummary": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "ruleClientKey": {
                        "type": "string"
                    },
                    "ruleVersionId": {
                        "type": "string"
                    },
                    "ruleVersionNumber": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "reportRuleVersionId": {
                        "type": "string"
                    },
                    "numOpen": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "numFailed": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "numPassed": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "status": {
                        "$ref": "#/components/schemas/v1ReportRuleStatus"
                    },
                    "statusDetails": {
                        "$ref": "#/components/schemas/v1ReportRuleStatusDetails"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "deletedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "ruleId",
                    "ruleVersionId",
                    "ruleVersionNumber",
                    "reportRuleVersionId",
                    "numOpen",
                    "numFailed",
                    "numPassed",
                    "status",
                    "statusDetails",
                    "createdDate",
                    "modifiedDate",
                    "assetId"
                ]
            },
            "v1ReportTag": {
                "type": "object",
                "properties": {
                    "tagName": {
                        "type": "string"
                    }
                },
                "required": [
                    "tagName"
                ]
            },
            "v1ReportTemplate": {
                "type": "object",
                "properties": {
                    "reportTemplateId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ReportTemplateRule"
                        }
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ReportTemplateTag"
                        }
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "reportTemplateId",
                    "organizationId",
                    "name",
                    "createdByUserId",
                    "modifiedByUserId",
                    "createdDate",
                    "modifiedDate",
                    "rules",
                    "tags",
                    "metadata"
                ]
            },
            "v1ReportTemplateRule": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "ruleVersionId": {
                        "type": "string"
                    },
                    "ruleVersionNumber": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleId",
                    "ruleVersionId",
                    "ruleVersionNumber"
                ]
            },
            "v1ReportTemplateTag": {
                "type": "object",
                "properties": {
                    "tagName": {
                        "type": "string"
                    }
                },
                "required": [
                    "tagName"
                ]
            },
            "v1RerunReportResponse": {
                "type": "object",
                "properties": {
                    "jobId": {
                        "type": "string"
                    },
                    "reportId": {
                        "type": "string"
                    }
                },
                "required": [
                    "jobId",
                    "reportId"
                ]
            },
            "v1ResourceIdentifier": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                }
            },
            "v1ResourceIdentifiers": {
                "type": "object",
                "properties": {
                    "ids": {
                        "$ref": "#/components/schemas/v1Ids"
                    },
                    "clientKeys": {
                        "$ref": "#/components/schemas/v1ClientKeys"
                    }
                }
            },
            "v1RetryJobResponse": {
                "type": "object",
                "properties": {
                    "job": {
                        "$ref": "#/components/schemas/v1Job"
                    }
                }
            },
            "v1RotateWebhookSignatureKeyRequest": {
                "type": "object",
                "description": "The request for a call to `WebhookService_RotateWebhookSignatureKey` replace the current webhook signature key\nwith a new one. The activation state of the new signature key will be inherited from the previous key. If no key\nexists then this will return an error - see `WebhookService_CreateWebhookSignatureKey`."
            },
            "v1RotateWebhookSignatureKeyResponse": {
                "type": "object",
                "properties": {
                    "signatureKey": {
                        "$ref": "#/components/schemas/v1WebhookSignatureKey"
                    }
                },
                "description": "The response for a call to `WebhookService_RotateWebhookSignatureKey`. The `active` field indicates whether\nor not whether the key is currently active.",
                "required": [
                    "signatureKey"
                ]
            },
            "v1Rule": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "isEnabled": {
                        "type": "boolean"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "conditions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1RuleCondition"
                        }
                    },
                    "ruleVersion": {
                        "$ref": "#/components/schemas/v1RuleVersion"
                    },
                    "clientKey": {
                        "type": "string",
                        "description": "client_key is a client provided identifier for the rule. It is immutable after rule creation."
                    },
                    "assetConfiguration": {
                        "$ref": "#/components/schemas/v1RuleAssetConfiguration"
                    },
                    "contextualChannels": {
                        "$ref": "#/components/schemas/v1ContextualChannels"
                    },
                    "deletedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "isExternal": {
                        "type": "boolean"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "ruleId",
                    "assetId",
                    "name",
                    "description",
                    "isEnabled",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "organizationId",
                    "conditions",
                    "ruleVersion",
                    "assetConfiguration",
                    "contextualChannels",
                    "isExternal",
                    "metadata"
                ]
            },
            "v1RuleAction": {
                "type": "object",
                "properties": {
                    "ruleActionId": {
                        "type": "string"
                    },
                    "ruleConditionId": {
                        "type": "string"
                    },
                    "actionType": {
                        "$ref": "#/components/schemas/v1ActionKind"
                    },
                    "configuration": {
                        "$ref": "#/components/schemas/v1RuleActionConfiguration"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "ruleActionVersionId": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleActionId",
                    "ruleConditionId",
                    "actionType",
                    "configuration",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "ruleActionVersionId"
                ]
            },
            "v1RuleActionConfiguration": {
                "type": "object",
                "properties": {
                    "notification": {
                        "$ref": "#/components/schemas/v1NotificationActionConfiguration"
                    },
                    "annotation": {
                        "$ref": "#/components/schemas/v1AnnotationActionConfiguration"
                    }
                }
            },
            "v1RuleAssetConfiguration": {
                "type": "object",
                "properties": {
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "tagIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "v1RuleCondition": {
                "type": "object",
                "properties": {
                    "ruleConditionId": {
                        "type": "string"
                    },
                    "ruleId": {
                        "type": "string"
                    },
                    "expression": {
                        "$ref": "#/components/schemas/v1RuleConditionExpression"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "actions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1RuleAction"
                        }
                    },
                    "ruleConditionVersionId": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleConditionId",
                    "ruleId",
                    "expression",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "actions",
                    "ruleConditionVersionId"
                ]
            },
            "v1RuleConditionExpression": {
                "type": "object",
                "properties": {
                    "singleChannelComparison": {
                        "$ref": "#/components/schemas/v1SingleChannelComparisonExpression"
                    },
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/siftrulesv1CalculatedChannelConfig"
                    }
                }
            },
            "v1RuleEvaluationJobDetails": {
                "type": "object",
                "properties": {
                    "reportId": {
                        "type": "string"
                    }
                },
                "required": [
                    "reportId"
                ]
            },
            "v1RuleEvaluationStatusDetails": {
                "type": "object"
            },
            "v1RuleVersion": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "ruleVersionId": {
                        "type": "string"
                    },
                    "version": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "versionNotes": {
                        "type": "string"
                    },
                    "generatedChangeMessage": {
                        "type": "string"
                    },
                    "deletedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "ruleId",
                    "ruleVersionId",
                    "version",
                    "createdDate",
                    "createdByUserId",
                    "versionNotes",
                    "generatedChangeMessage"
                ]
            },
            "v1RunTimeRange": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "v1RunsAndTimeRange": {
                "type": "object",
                "properties": {
                    "runIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "stopTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "runIds"
                ]
            },
            "v1SavedSearch": {
                "type": "object",
                "properties": {
                    "savedSearchId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "properties": {
                        "$ref": "#/components/schemas/v1SavedSearchProperties"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "savedSearchId",
                    "organizationId",
                    "name",
                    "properties",
                    "createdByUserId",
                    "modifiedByUserId",
                    "createdDate",
                    "modifiedDate"
                ]
            },
            "v1SavedSearchFilterItem": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "required": [
                    "id",
                    "name"
                ]
            },
            "v1SavedSearchMetadataItem": {
                "type": "object",
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "stringValue": {
                        "type": "string"
                    },
                    "numberValue": {
                        "type": "number",
                        "format": "double"
                    },
                    "booleanValue": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "key"
                ]
            },
            "v1SavedSearchProperties": {
                "type": "object",
                "properties": {
                    "overviewMode": {
                        "type": "string"
                    },
                    "searchTerm": {
                        "type": "string"
                    },
                    "fromDateTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "toDateTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "assetItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchFilterItem"
                        }
                    },
                    "userItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchFilterItem"
                        }
                    },
                    "tagItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchFilterItem"
                        }
                    },
                    "annotationItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchFilterItem"
                        }
                    },
                    "runItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchFilterItem"
                        }
                    },
                    "reportTemplateItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchFilterItem"
                        }
                    },
                    "showAdvancedFilters": {
                        "type": "boolean"
                    },
                    "includeArchived": {
                        "type": "boolean"
                    },
                    "orderBy": {
                        "type": "string"
                    },
                    "metadataItems": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1SavedSearchMetadataItem"
                        }
                    }
                },
                "required": [
                    "overviewMode"
                ]
            },
            "v1SearchOrder": {
                "type": "string",
                "enum": [
                    "SEARCH_ORDER_UNSPECIFIED",
                    "SEARCH_ORDER_ASC",
                    "SEARCH_ORDER_DESC"
                ],
                "default": "SEARCH_ORDER_UNSPECIFIED"
            },
            "v1SearchRulesRequest": {
                "type": "object",
                "properties": {
                    "limit": {
                        "type": "integer",
                        "format": "int64",
                        "description": "Max number of rules to return (returns all if omitted)."
                    },
                    "offset": {
                        "type": "integer",
                        "format": "int64",
                        "description": "Only applies if limit provided."
                    },
                    "order": {
                        "$ref": "#/components/schemas/v1SearchOrder"
                    },
                    "nameMatches": {
                        "type": "string"
                    },
                    "caseSensitive": {
                        "type": "boolean"
                    },
                    "regexp": {
                        "type": "boolean"
                    },
                    "orderBy": {
                        "type": "string"
                    },
                    "ruleIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "title": "If provided, only returns rules with the given ids"
                    },
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "title": "If provided, only returns rules that apply to the given asset ids"
                    },
                    "includeDeleted": {
                        "type": "boolean"
                    },
                    "assetTags": {
                        "$ref": "#/components/schemas/v1NamedResources"
                    }
                }
            },
            "v1SearchRulesResponse": {
                "type": "object",
                "properties": {
                    "count": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "rules": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Rule"
                        },
                        "description": "Conditions are not included in the search response. The latest version of the rule is returned."
                    }
                },
                "required": [
                    "count",
                    "rules"
                ]
            },
            "v1SingleChannelComparisonExpression": {
                "type": "object",
                "properties": {
                    "channelComponent": {
                        "type": "string",
                        "title": "Deprecated - use channel_name instead. If provided, channel_component will be joined with the name as `channel_component.channel_name`"
                    },
                    "channelName": {
                        "type": "string"
                    },
                    "comparator": {
                        "$ref": "#/components/schemas/v1ConditionComparator"
                    },
                    "double": {
                        "type": "number",
                        "format": "double"
                    },
                    "string": {
                        "type": "string"
                    },
                    "lastValue": {
                        "$ref": "#/components/schemas/v1LastValueThreshold"
                    }
                },
                "description": "Deprecated - use CalculatedChannelConfig.",
                "required": [
                    "channelComponent",
                    "channelName",
                    "comparator"
                ]
            },
            "v1SuccessValidatingExpressionResult": {
                "type": "object",
                "properties": {
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    }
                },
                "required": [
                    "dataType"
                ]
            },
            "v1SyncOrganizationRequest": {
                "type": "object"
            },
            "v1SyncOrganizationResponse": {
                "type": "object",
                "properties": {
                    "externalSync": {
                        "$ref": "#/components/schemas/v1ExternalSync"
                    },
                    "existingUserCount": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "addedToOrganizationUserIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "createdUsers": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1User"
                        }
                    },
                    "deactivatedUserIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "existingGroupCount": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "createdUserGroups": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2UserGroup"
                        }
                    },
                    "deletedUserGroupNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "required": [
                    "externalSync",
                    "existingUserCount",
                    "addedToOrganizationUserIds",
                    "createdUsers",
                    "deactivatedUserIds",
                    "existingGroupCount",
                    "createdUserGroups",
                    "deletedUserGroupNames"
                ]
            },
            "v1TagRef": {
                "type": "object",
                "properties": {
                    "tagId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "description": "Points to a tag by name or tag_id.\nWhen this message is used for a request, you can use either name or tag_id to refer to a tag.\nWhen this message is returned in a response, both of the fields will be populated and valid."
            },
            "v1TestWebhookRequest": {
                "type": "object",
                "properties": {
                    "webhookId": {
                        "type": "string"
                    },
                    "webhook": {
                        "$ref": "#/components/schemas/v1Webhook"
                    },
                    "createRequest": {
                        "$ref": "#/components/schemas/v1CreateWebhookRequest"
                    }
                },
                "description": "The request for a call to `WebhookService_TestWebhook` to test an existing webhook\nor a webhook create request."
            },
            "v1TestWebhookResponse": {
                "type": "object",
                "properties": {
                    "httpResponseCode": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "httpResponseBody": {
                        "type": "string",
                        "format": "byte"
                    }
                },
                "description": "The response of a call to `WebhookService_TestWebhook`. The response code and body will come from the HTTP response\nfrom the target URL.",
                "required": [
                    "httpResponseCode",
                    "httpResponseBody"
                ]
            },
            "v1TimeRange": {
                "type": "object",
                "properties": {
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "stopTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "startTime",
                    "stopTime"
                ]
            },
            "v1TimeRangeQuery": {
                "type": "object",
                "properties": {
                    "startTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "endTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "v1ToggleWebhookSignatureKeyActivationRequest": {
                "type": "object",
                "properties": {
                    "enable": {
                        "type": "boolean"
                    }
                },
                "description": "The request for a call to `WebhookService_ToggleWebhookSignatureKeyActivation` to enable or disable the current\nwebhook signature key. Set `enable` to `true` to activate the signature key, and `false` to deactivate.",
                "required": [
                    "enable"
                ]
            },
            "v1ToggleWebhookSignatureKeyActivationResponse": {
                "type": "object",
                "properties": {
                    "signatureKey": {
                        "$ref": "#/components/schemas/v1WebhookSignatureKey"
                    }
                },
                "description": "The response for a call to `WebhookService_ToggleWebhookSignatureKeyActivation`.",
                "required": [
                    "signatureKey"
                ]
            },
            "v1UnarchiveMetadataKeysRequest": {
                "type": "object",
                "properties": {
                    "metadataKeys": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataKey"
                        }
                    },
                    "unarchiveValues": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "metadataKeys"
                ]
            },
            "v1UnarchiveMetadataKeysResponse": {
                "type": "object"
            },
            "v1UnarchiveMetadataValuesRequest": {
                "type": "object",
                "properties": {
                    "metadataValues": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "metadataValues"
                ]
            },
            "v1UnarchiveMetadataValuesResponse": {
                "type": "object"
            },
            "v1UndeleteRuleRequest": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    }
                },
                "description": "UndeleteRuleRequest is used to undelete a rule by rule_id or client_key. If both are provided, only rule_id will be used."
            },
            "v1UndeleteRuleResponse": {
                "type": "object"
            },
            "v1UpdateActionRequest": {
                "type": "object",
                "properties": {
                    "ruleActionId": {
                        "type": "string"
                    },
                    "actionType": {
                        "$ref": "#/components/schemas/v1ActionKind"
                    },
                    "configuration": {
                        "$ref": "#/components/schemas/v1RuleActionConfiguration"
                    }
                },
                "required": [
                    "actionType",
                    "configuration"
                ]
            },
            "v1UpdateAnnotationRequest": {
                "type": "object",
                "properties": {
                    "annotation": {
                        "$ref": "#/components/schemas/annotationsv1Annotation"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `description`, `start_time`,\n`end_time`, `assigned_to_user_id`, `state`, `tags`, `legend_config`, `linked_channels`, and `metadata`.\nImportant Note: if `tags` is specified in the update mask and `annotation.tags` is an empty list then all associated tags on the annotation\nwill be removed."
                    }
                },
                "description": "The request for a call to `AnnotationService_UpdateAnnotation` to update an annotation.",
                "required": [
                    "annotation",
                    "updateMask"
                ]
            },
            "v1UpdateAnnotationResponse": {
                "type": "object",
                "properties": {
                    "annotation": {
                        "$ref": "#/components/schemas/annotationsv1Annotation"
                    }
                },
                "description": "The response of a call to `AnnotationService_UpdateAnnotation`."
            },
            "v1UpdateAssetRequest": {
                "type": "object",
                "properties": {
                    "asset": {
                        "$ref": "#/components/schemas/assetsv1Asset"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `tags`, `metadata`, `archived_date`, and `is_archived`."
                    }
                },
                "description": "The request for a call to `AssetService_UpdateAsset` to update a single existing asset.",
                "required": [
                    "updateMask"
                ]
            },
            "v1UpdateAssetResponse": {
                "type": "object",
                "properties": {
                    "asset": {
                        "$ref": "#/components/schemas/assetsv1Asset"
                    }
                },
                "description": "The response of a call to `AssetService_UpdateAsset`."
            },
            "v1UpdateCampaignRequest": {
                "type": "object",
                "properties": {
                    "campaign": {
                        "$ref": "#/components/schemas/v1Campaign"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `archived_date`, `description`, `tags`, `reports`, and `metadata`."
                    }
                },
                "description": "The request for a call to `CampaignService_UpdateCampaign` to update a campaign. When updating\ntags or rules, the update will perform a full replace. Additionally, when updating rules, only the rule ID or the rule client key\nis required, but it is okay to provide both. If some rules contain only client keys and others only rule IDs, they will be consolidated.",
                "required": [
                    "campaign",
                    "updateMask"
                ]
            },
            "v1UpdateCampaignResponse": {
                "type": "object",
                "properties": {
                    "campaign": {
                        "$ref": "#/components/schemas/v1Campaign"
                    }
                },
                "description": "The response of a call to `CampaignService_UpdateCampaign`.",
                "required": [
                    "campaign"
                ]
            },
            "v1UpdateConditionRequest": {
                "type": "object",
                "properties": {
                    "ruleConditionId": {
                        "type": "string"
                    },
                    "expression": {
                        "$ref": "#/components/schemas/v1RuleConditionExpression"
                    },
                    "actions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UpdateActionRequest"
                        }
                    }
                },
                "required": [
                    "expression",
                    "actions"
                ]
            },
            "v1UpdateHumanFriendlyRulesRequest": {
                "type": "object",
                "properties": {
                    "assetId": {
                        "type": "string"
                    },
                    "rulesJson": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    }
                },
                "description": "Deprecated - use UpdateJsonRulesRequest.",
                "required": [
                    "assetId",
                    "rulesJson",
                    "organizationId"
                ]
            },
            "v1UpdateHumanFriendlyRulesResponse": {
                "type": "object",
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "rulesCount": {
                        "type": "integer",
                        "format": "int32"
                    },
                    "messages": {
                        "type": "string"
                    }
                },
                "description": "Deprecated - use UpdateJsonRulesResponse.",
                "required": [
                    "success",
                    "rulesCount",
                    "messages"
                ]
            },
            "v1UpdateJsonRulesRequest": {
                "type": "object",
                "properties": {
                    "request": {
                        "$ref": "#/components/schemas/v1JsonRulesRequest"
                    }
                },
                "required": [
                    "request"
                ]
            },
            "v1UpdateJsonRulesResponse": {
                "type": "object",
                "properties": {
                    "response": {
                        "$ref": "#/components/schemas/v1JsonRulesResponse"
                    }
                },
                "required": [
                    "response"
                ]
            },
            "v1UpdateNotificationRequest": {
                "type": "object",
                "properties": {
                    "notification": {
                        "$ref": "#/components/schemas/v1Notification"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. Currently, the only field that can be updated is `is_read`."
                    }
                },
                "required": [
                    "notification",
                    "updateMask"
                ]
            },
            "v1UpdatePanelConfigurationResponse": {
                "type": "object",
                "properties": {
                    "panelConfiguration": {
                        "$ref": "#/components/schemas/v1PanelConfiguration"
                    }
                }
            },
            "v1UpdateRemoteFileRequest": {
                "type": "object",
                "properties": {
                    "remoteFile": {
                        "$ref": "#/components/schemas/v1RemoteFile"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `description` and `metadata`."
                    }
                },
                "description": "The request for a call to `RemoteFileService_UpdateRemoteFile` to update a remote file.",
                "required": [
                    "remoteFile",
                    "updateMask"
                ]
            },
            "v1UpdateRemoteFileResponse": {
                "type": "object",
                "properties": {
                    "remoteFile": {
                        "$ref": "#/components/schemas/v1RemoteFile"
                    }
                },
                "description": "The response of a call to `RemoteFileService_UpdateRemoteFile`.",
                "required": [
                    "remoteFile"
                ]
            },
            "v1UpdateReportRequest": {
                "type": "object",
                "properties": {
                    "report": {
                        "$ref": "#/components/schemas/v1Report"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `archived_date` and `metadata`."
                    }
                },
                "required": [
                    "report",
                    "updateMask"
                ]
            },
            "v1UpdateReportResponse": {
                "type": "object",
                "title": "no response fields"
            },
            "v1UpdateReportTemplateRequest": {
                "type": "object",
                "properties": {
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1ReportTemplate"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `archived_date`, `description`, `tags`, `rules`, and `metadata`."
                    }
                },
                "description": "The request for a call to `ReportTemplateService_UpdateReportTemplate` to update a report template. When updating\ntags or rules, the update will perform a full replace. Additionally, when updating rules, only the rule ID or the rule client key\nis required, but it is okay to provide both. If some rules contain only client keys and others only rule IDs, they will be consolidated.",
                "required": [
                    "reportTemplate",
                    "updateMask"
                ]
            },
            "v1UpdateReportTemplateResponse": {
                "type": "object",
                "properties": {
                    "reportTemplate": {
                        "$ref": "#/components/schemas/v1ReportTemplate"
                    }
                },
                "description": "The response of a call to `ReportTemplateService_UpdateReportTemplate`.",
                "required": [
                    "reportTemplate"
                ]
            },
            "v1UpdateRuleRequest": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "assetId": {
                        "type": "string",
                        "description": "Deprecated - use asset_configuration instead."
                    },
                    "isEnabled": {
                        "type": "boolean",
                        "description": "Deprecated - use DeleteRule instead."
                    },
                    "conditions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1UpdateConditionRequest"
                        }
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "versionNotes": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string",
                        "title": "client_key is a client provided identifier for the rule. It is immutable after being set"
                    },
                    "assetConfiguration": {
                        "$ref": "#/components/schemas/v1RuleAssetConfiguration"
                    },
                    "contextualChannels": {
                        "$ref": "#/components/schemas/v1ContextualChannels"
                    },
                    "isExternal": {
                        "type": "boolean"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "description": "UpdateRuleRequest is used to create or update a rule. If the rule_id or client_key is provided, the rule will be updated. If not, a new rule will be created.",
                "required": [
                    "name",
                    "description",
                    "conditions",
                    "metadata"
                ]
            },
            "v1UpdateRuleResponse": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    }
                },
                "required": [
                    "ruleId"
                ]
            },
            "v1UpdateSavedSearchRequest": {
                "type": "object",
                "properties": {
                    "savedSearch": {
                        "$ref": "#/components/schemas/v1SavedSearch"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name` and `properties`."
                    }
                },
                "description": "The request for a call to `SavedSearchService_UpdateSavedSearch` to update a saved search.",
                "required": [
                    "savedSearch",
                    "updateMask"
                ]
            },
            "v1UpdateSavedSearchResponse": {
                "type": "object",
                "properties": {
                    "savedSearch": {
                        "$ref": "#/components/schemas/v1SavedSearch"
                    }
                },
                "description": "The response of a call to `SavedSearchService_UpdateSavedSearch`.",
                "required": [
                    "savedSearch"
                ]
            },
            "v1UpdateUserDefinedFunctionRequest": {
                "type": "object",
                "properties": {
                    "userDefinedFunction": {
                        "$ref": "#/components/schemas/v1UserDefinedFunction"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `archived_date`, `description`, `expression`, and `function_inputs`.\n -- `name` can't be updated if the function has ever had any dependencies\n -- `function_inputs` inputs can't be updated if the function has any dependents (functions or calculated channels with a dependency on this function).\n -- `expression` can't be updated if the function has dependents and the expression changes the output type."
                    }
                },
                "description": "The request for a call to `UserDefinedFunctionService_UpdateUserDefinedFunction` to update a user defined function. Updating a user\ndefined function creates a new version of the user defined function, leaving the previous untouched. If no update is deemed necessary, then the\nthe current version is returned. If name is changed then only name will be changed. If archive date is changed then only archive date will be changed.\nTo archive user defined function, specify `archived_date` in the `update mask` as well as a non-null value for `archived_date` in the\n`user_defined_function` object. To unarchive a user defined function, specify `archived_date` in the `update mask` and a `null` value for `archived_date`\nin the `user_defined_function` object.",
                "required": [
                    "userDefinedFunction",
                    "updateMask"
                ]
            },
            "v1UpdateUserDefinedFunctionResponse": {
                "type": "object",
                "properties": {
                    "userDefinedFunction": {
                        "$ref": "#/components/schemas/v1UserDefinedFunction"
                    }
                },
                "required": [
                    "userDefinedFunction"
                ]
            },
            "v1UpdateWebhookRequest": {
                "type": "object",
                "properties": {
                    "webhook": {
                        "$ref": "#/components/schemas/v1Webhook"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are\n'target_url', 'name', 'event_type', 'payload', 'http_headers', 'archived_date'."
                    }
                },
                "description": "The request for a call to `WebhookService_UpdateWebhook` to update a webhook.",
                "required": [
                    "webhook",
                    "updateMask"
                ]
            },
            "v1UpdateWebhookResponse": {
                "type": "object",
                "properties": {
                    "webhook": {
                        "$ref": "#/components/schemas/v1Webhook"
                    }
                },
                "description": "The response of a call to `WebhookService_UpdateWebhook`. To archive a webhook, specify `archived_date`\nin the `update mask` as well as a non-null value for `archived_date` in the `webhook` object.\nTo unarchive a webhook, specify `archived_date` in the `update mask` and a `null` value for\n`archived_date` in the `webhook` object.",
                "required": [
                    "webhook"
                ]
            },
            "v1User": {
                "type": "object",
                "properties": {
                    "userId": {
                        "type": "string"
                    },
                    "userName": {
                        "type": "string"
                    },
                    "organizations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Organization"
                        }
                    }
                },
                "required": [
                    "userId",
                    "userName"
                ]
            },
            "v1UserDefinedFunction": {
                "type": "object",
                "properties": {
                    "userDefinedFunctionId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "userDefinedFunctionVersionId": {
                        "type": "string"
                    },
                    "version": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "description": {
                        "type": "string"
                    },
                    "changeMessage": {
                        "type": "string"
                    },
                    "userNotes": {
                        "type": "string"
                    },
                    "expression": {
                        "type": "string"
                    },
                    "functionInputs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionInput"
                        }
                    },
                    "functionOutputType": {
                        "$ref": "#/components/schemas/v1FunctionDataType"
                    },
                    "functionDependencies": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionDependency"
                        }
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "userDefinedFunctionId",
                    "name",
                    "userDefinedFunctionVersionId",
                    "version",
                    "description",
                    "changeMessage",
                    "userNotes",
                    "expression",
                    "functionInputs",
                    "functionDependencies",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "metadata"
                ]
            },
            "v1ValidateExpressionRequest": {
                "type": "object",
                "properties": {
                    "expression": {
                        "$ref": "#/components/schemas/v1ExpressionRequest"
                    },
                    "mode": {
                        "$ref": "#/components/schemas/v1ExpressionMode"
                    }
                },
                "required": [
                    "expression",
                    "mode"
                ]
            },
            "v1ValidateExpressionResponse": {
                "type": "object",
                "properties": {
                    "error": {
                        "$ref": "#/components/schemas/v1ErrorValidatingExpressionResult"
                    },
                    "success": {
                        "$ref": "#/components/schemas/v1SuccessValidatingExpressionResult"
                    }
                }
            },
            "v1ValidateJsonRulesRequest": {
                "type": "object",
                "properties": {
                    "request": {
                        "$ref": "#/components/schemas/v1JsonRulesRequest"
                    }
                },
                "required": [
                    "request"
                ]
            },
            "v1ValidateJsonRulesResponse": {
                "type": "object",
                "properties": {
                    "response": {
                        "$ref": "#/components/schemas/v1JsonRulesResponse"
                    }
                },
                "required": [
                    "response"
                ]
            },
            "v1ValidateUserDefinedFunctionRequest": {
                "type": "object",
                "properties": {
                    "expression": {
                        "type": "string"
                    },
                    "functionInputs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionInput"
                        }
                    }
                },
                "required": [
                    "expression",
                    "functionInputs"
                ]
            },
            "v1ValidateUserDefinedFunctionResponse": {
                "type": "object",
                "properties": {
                    "error": {
                        "$ref": "#/components/schemas/ValidateUserDefinedFunctionResponseErrorValidatingUserDefinedFunctionResult"
                    },
                    "success": {
                        "$ref": "#/components/schemas/ValidateUserDefinedFunctionResponseSuccessValidatingUserDefinedFunctionResult"
                    }
                }
            },
            "v1ValidationResult": {
                "type": "object",
                "properties": {
                    "ruleId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "assetExpressionValidationResults": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1AssetExpressionValidationResult"
                        },
                        "description": "If the expression is invalid for an asset, one or more AssetExpressionValidationResult will be returned. This may block\nsaving if the override_expression_validation flag is not set."
                    },
                    "error": {
                        "type": "string",
                        "description": "If the rule is invalid and unable to be saved, this will contain the error message. Expression errors will be returned in\nthe asset_expression_validation_results."
                    }
                },
                "required": [
                    "assetExpressionValidationResults"
                ]
            },
            "v1VideoMetadata": {
                "type": "object",
                "properties": {
                    "height": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "width": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "durationSeconds": {
                        "type": "number",
                        "format": "float"
                    },
                    "timestamp": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "v1ViewHumanFriendlyRulesResponse": {
                "type": "object",
                "properties": {
                    "rulesJson": {
                        "type": "string"
                    }
                },
                "description": "Deprecated - use ViewJsonRulesResponse.",
                "required": [
                    "rulesJson"
                ]
            },
            "v1ViewJsonRulesResponse": {
                "type": "object",
                "properties": {
                    "rulesJson": {
                        "type": "string"
                    }
                },
                "required": [
                    "rulesJson"
                ]
            },
            "v1Webhook": {
                "type": "object",
                "properties": {
                    "webhookId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "targetUrl": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "eventType": {
                        "$ref": "#/components/schemas/v1WebhookEventType"
                    },
                    "payload": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "httpHeaders": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1WebhookHttpHeader"
                        }
                    }
                },
                "required": [
                    "webhookId",
                    "organizationId",
                    "targetUrl",
                    "name",
                    "eventType",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId",
                    "httpHeaders"
                ]
            },
            "v1WebhookEventType": {
                "type": "string",
                "enum": [
                    "WEBHOOK_EVENT_TYPE_UNSPECIFIED",
                    "WEBHOOK_EVENT_TYPE_RULE_VIOLATION"
                ],
                "default": "WEBHOOK_EVENT_TYPE_UNSPECIFIED"
            },
            "v1WebhookHttpHeader": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "required": [
                    "name",
                    "value"
                ]
            },
            "v1WebhookLog": {
                "type": "object",
                "properties": {
                    "webhookLogId": {
                        "type": "string"
                    },
                    "webhookId": {
                        "type": "string"
                    },
                    "eventId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "status": {
                        "$ref": "#/components/schemas/v1WebhookLogStatus"
                    },
                    "payload": {
                        "type": "string"
                    },
                    "retryAttemptNumber": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "errorReason": {
                        "type": "string"
                    },
                    "sentDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    }
                },
                "required": [
                    "webhookLogId",
                    "webhookId",
                    "eventId",
                    "organizationId",
                    "status",
                    "retryAttemptNumber",
                    "sentDate",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId"
                ]
            },
            "v1WebhookLogStatus": {
                "type": "string",
                "enum": [
                    "WEBHOOK_LOG_STATUS_UNSPECIFIED",
                    "WEBHOOK_LOG_STATUS_SENT",
                    "WEBHOOK_LOG_STATUS_FAILED",
                    "WEBHOOK_LOG_STATUS_RETRYING"
                ],
                "default": "WEBHOOK_LOG_STATUS_UNSPECIFIED"
            },
            "v1WebhookSignatureKey": {
                "type": "object",
                "properties": {
                    "signatureKey": {
                        "type": "string"
                    },
                    "active": {
                        "type": "boolean"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    }
                },
                "required": [
                    "signatureKey",
                    "active",
                    "createdDate",
                    "modifiedDate",
                    "createdByUserId",
                    "modifiedByUserId"
                ]
            },
            "v2AddUserToUserGroupResponse": {
                "type": "object"
            },
            "v2ApiKey": {
                "type": "object",
                "properties": {
                    "apiKeyId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "userId": {
                        "type": "string"
                    }
                },
                "required": [
                    "apiKeyId",
                    "name",
                    "createdDate",
                    "createdByUserId",
                    "userId"
                ]
            },
            "v2ApiKeyOrganizationResponse": {
                "type": "object",
                "properties": {
                    "organization": {
                        "$ref": "#/components/schemas/v1Organization"
                    }
                }
            },
            "v2BatchResolveCalculatedChannelsRequest": {
                "type": "object",
                "properties": {
                    "requests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ResolveCalculatedChannelRequest"
                        },
                        "description": "All calculated channels to resolve."
                    }
                },
                "description": "The request of a call to `CalculatedChannelService_BatchResolveCalculatedChannels`.",
                "required": [
                    "requests"
                ]
            },
            "v2BatchResolveCalculatedChannelsResponse": {
                "type": "object",
                "properties": {
                    "responses": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ResolveCalculatedChannelResponse"
                        },
                        "description": "All calculated channels that attempted resolution."
                    }
                },
                "description": "The response of a call to `CalculatedChannelService_BatchResolveCalculatedChannels`.",
                "required": [
                    "responses"
                ]
            },
            "v2CalculatedChannel": {
                "type": "object",
                "properties": {
                    "calculatedChannelId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "archivedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "versionId": {
                        "type": "string"
                    },
                    "version": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "changeMessage": {
                        "type": "string"
                    },
                    "userNotes": {
                        "type": "string"
                    },
                    "units": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "calculatedChannelConfiguration": {
                        "$ref": "#/components/schemas/v2CalculatedChannelConfiguration"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "functionDependencies": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1FunctionDependency"
                        }
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "calculatedChannelId",
                    "organizationId",
                    "versionId",
                    "version",
                    "name",
                    "description",
                    "changeMessage",
                    "userNotes",
                    "createdDate",
                    "modifiedDate",
                    "calculatedChannelConfiguration",
                    "createdByUserId",
                    "modifiedByUserId",
                    "functionDependencies",
                    "metadata"
                ]
            },
            "v2CalculatedChannelAbstractChannelReference": {
                "type": "object",
                "properties": {
                    "channelReference": {
                        "type": "string"
                    },
                    "channelIdentifier": {
                        "type": "string"
                    }
                },
                "required": [
                    "channelReference",
                    "channelIdentifier"
                ]
            },
            "v2CalculatedChannelAssetConfiguration": {
                "type": "object",
                "properties": {
                    "allAssets": {
                        "type": "boolean"
                    },
                    "selection": {
                        "$ref": "#/components/schemas/CalculatedChannelAssetConfigurationAssetSelection"
                    }
                }
            },
            "v2CalculatedChannelConfiguration": {
                "type": "object",
                "properties": {
                    "assetConfiguration": {
                        "$ref": "#/components/schemas/v2CalculatedChannelAssetConfiguration"
                    },
                    "queryConfiguration": {
                        "$ref": "#/components/schemas/v2CalculatedChannelQueryConfiguration"
                    }
                },
                "required": [
                    "assetConfiguration",
                    "queryConfiguration"
                ]
            },
            "v2CalculatedChannelQueryConfiguration": {
                "type": "object",
                "properties": {
                    "sel": {
                        "$ref": "#/components/schemas/CalculatedChannelQueryConfigurationSel"
                    }
                }
            },
            "v2CalculatedChannelResolution": {
                "type": "object",
                "properties": {
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/v2CalculatedChannel"
                    },
                    "resolved": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ResolvedCalculatedChannel"
                        },
                        "description": "All resolved calculated channels."
                    },
                    "unresolved": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2UnresolvedCalculatedChannel"
                        },
                        "description": "All assets with any issues in resolution."
                    }
                },
                "required": [
                    "resolved",
                    "unresolved"
                ]
            },
            "v2CalculatedChannelValidationResult": {
                "type": "object",
                "properties": {
                    "assetId": {
                        "type": "string"
                    },
                    "assetName": {
                        "type": "string",
                        "title": "Only included if asset was named in the request"
                    },
                    "tagNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "title": "Includes all tags that have this asset"
                    },
                    "missingChannels": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "title": "Names of the channels that asset does not have"
                    }
                },
                "required": [
                    "assetId",
                    "tagNames",
                    "missingChannels"
                ]
            },
            "v2Ch10Config": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string"
                    },
                    "runName": {
                        "type": "string"
                    },
                    "scaleValues": {
                        "type": "boolean"
                    }
                }
            },
            "v2CheckProtobufDescriptorCompatibilityRequest": {
                "type": "object",
                "properties": {
                    "protobufDescriptor": {
                        "$ref": "#/components/schemas/protobuf_descriptorsv2ProtobufDescriptor"
                    }
                }
            },
            "v2CheckProtobufDescriptorCompatibilityResponse": {
                "type": "object",
                "properties": {
                    "isValid": {
                        "type": "boolean"
                    },
                    "incompatibleProtobufDescriptorFields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2IncompatibleProtobufField"
                        }
                    }
                }
            },
            "v2CreateAdhocRunRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The name that will be assigned to the new run."
                    },
                    "description": {
                        "type": "string",
                        "description": "A description about the new run."
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time",
                        "title": "The time at which data ingestion began for this new run. It must be before the `stop_time`"
                    },
                    "stopTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "The time at which data ingestion concluded for this new run."
                    },
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "A list of asset IDs to associate with the new run."
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Tags to associate with the new run."
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "description": "The metadata values associated with this run."
                    },
                    "clientKey": {
                        "type": "string",
                        "description": "An arbitrary user-chosen key that uniquely identifies this run. Optional, though it is recommended to provide."
                    }
                },
                "description": "The request for a call to `RunService_CreateAdhocRun` to create an adhoc run.",
                "required": [
                    "name",
                    "description",
                    "startTime",
                    "stopTime",
                    "assetIds"
                ]
            },
            "v2CreateAdhocRunResponse": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/runsv2Run"
                    }
                },
                "description": "The response of a call to `RunService_CreateAdhocRun` containing the newly created adhoc run.",
                "required": [
                    "run"
                ]
            },
            "v2CreateApiKeyRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The name for the new ApiKey. Required."
                    },
                    "userId": {
                        "type": "string"
                    }
                },
                "description": "The request for a call to ApiKeyService.CreateApiKey.",
                "required": [
                    "name",
                    "userId"
                ]
            },
            "v2CreateApiKeyResponse": {
                "type": "object",
                "properties": {
                    "apiKey": {
                        "$ref": "#/components/schemas/v2CreatedApiKey"
                    }
                },
                "required": [
                    "apiKey"
                ]
            },
            "v2CreateAutomaticRunAssociationForAssetsResponse": {
                "type": "object"
            },
            "v2CreateCalculatedChannelRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "userNotes": {
                        "type": "string"
                    },
                    "units": {
                        "type": "string"
                    },
                    "clientKey": {
                        "type": "string"
                    },
                    "calculatedChannelConfiguration": {
                        "$ref": "#/components/schemas/v2CalculatedChannelConfiguration"
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "name",
                    "calculatedChannelConfiguration",
                    "metadata"
                ]
            },
            "v2CreateCalculatedChannelResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/v2CalculatedChannel"
                    },
                    "inapplicableAssets": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannelValidationResult"
                        }
                    }
                },
                "required": [
                    "calculatedChannel",
                    "inapplicableAssets"
                ]
            },
            "v2CreateDataImportFromUploadRequest": {
                "type": "object",
                "properties": {
                    "csvConfig": {
                        "$ref": "#/components/schemas/v2CsvConfig"
                    },
                    "ch10Config": {
                        "$ref": "#/components/schemas/v2Ch10Config"
                    },
                    "tdmsConfig": {
                        "$ref": "#/components/schemas/v2TDMSConfig"
                    },
                    "parquetConfig": {
                        "$ref": "#/components/schemas/v2ParquetConfig"
                    }
                }
            },
            "v2CreateDataImportFromUploadResponse": {
                "type": "object",
                "properties": {
                    "uploadUrl": {
                        "type": "string"
                    },
                    "dataImportId": {
                        "type": "string"
                    }
                }
            },
            "v2CreateDataImportFromUrlRequest": {
                "type": "object",
                "properties": {
                    "url": {
                        "type": "string",
                        "description": "The url to import. HTTP and S3 urls are supported.\nIf you need to import non-public S3 objects, please contact Sift to set that up."
                    },
                    "csvConfig": {
                        "$ref": "#/components/schemas/v2CsvConfig"
                    },
                    "ch10Config": {
                        "$ref": "#/components/schemas/v2Ch10Config"
                    },
                    "tdmsConfig": {
                        "$ref": "#/components/schemas/v2TDMSConfig"
                    },
                    "parquetConfig": {
                        "$ref": "#/components/schemas/v2ParquetConfig"
                    }
                },
                "required": [
                    "url"
                ]
            },
            "v2CreateDataImportFromUrlResponse": {
                "type": "object",
                "properties": {
                    "dataImportId": {
                        "type": "string"
                    }
                }
            },
            "v2CreateRunRequest": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "The name that will be assigned to the new run."
                    },
                    "description": {
                        "type": "string",
                        "description": "A description about the new run."
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Tags to associate with the new run."
                    },
                    "startTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "The time at which data ingestion begins for this new run. It must be before the `stop_time`, and it must\nbe provided if a `stop_time` is provided.\nImportant note: `start_time` will be automatically computed during data ingestion and will be set\nbased on the timestamp of the data for this run."
                    },
                    "stopTime": {
                        "type": "string",
                        "format": "date-time",
                        "description": "The time at which data ingestion for this new run concludes.\nImportant note: `stop_time` will be automatically computed during data ingestion and will be\nset based on the timestamp of the data for this run."
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "An organization ID is only required if the user belongs to multiple organizations."
                    },
                    "clientKey": {
                        "type": "string",
                        "description": "An arbitrary user-chosen key that uniquely identifies this run. Optional, though it is recommended to provide."
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        },
                        "description": "The metadata values associated with this run."
                    }
                },
                "description": "The request of a call to `RunService_CreateRuns` to create a new run.",
                "required": [
                    "name",
                    "description"
                ]
            },
            "v2CreateRunResponse": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/runsv2Run"
                    }
                },
                "required": [
                    "run"
                ]
            },
            "v2CreateUnitResponse": {
                "type": "object",
                "properties": {
                    "unit": {
                        "$ref": "#/components/schemas/unitv2Unit"
                    }
                },
                "required": [
                    "unit"
                ]
            },
            "v2CreateUserGroupRequest": {
                "type": "object",
                "properties": {
                    "userGroup": {
                        "$ref": "#/components/schemas/v2UserGroup"
                    }
                },
                "required": [
                    "userGroup"
                ]
            },
            "v2CreateUserGroupResponse": {
                "type": "object",
                "properties": {
                    "userGroup": {
                        "$ref": "#/components/schemas/v2UserGroup"
                    }
                },
                "required": [
                    "userGroup"
                ]
            },
            "v2CreatedApiKey": {
                "type": "object",
                "properties": {
                    "apiKeyId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "userId": {
                        "type": "string"
                    }
                },
                "title": "CreatedApiKey includes the key, which will only be returned on creation, so having a separate type makes the \"never return the key a second time\" semantics clear",
                "required": [
                    "apiKeyId",
                    "name",
                    "key",
                    "createdDate",
                    "createdByUserId",
                    "userId"
                ]
            },
            "v2CsvConfig": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string"
                    },
                    "runName": {
                        "type": "string"
                    },
                    "runId": {
                        "type": "string",
                        "description": "The id of the run to add this data to. If set, `run_name` is ignored."
                    },
                    "firstDataRow": {
                        "type": "integer",
                        "format": "int64",
                        "description": "The first row to start reading as data. Can be used to skip header rows.\nThe first row in the file is 1."
                    },
                    "timeColumn": {
                        "$ref": "#/components/schemas/v2CsvTimeColumn"
                    },
                    "dataColumns": {
                        "type": "object",
                        "additionalProperties": {
                            "$ref": "#/components/schemas/commontypev1ChannelConfig"
                        },
                        "description": "A map from column number (1-indexed) to the channel configuration for that column."
                    },
                    "numRows": {
                        "type": "string",
                        "format": "uint64",
                        "description": "This will be read on upload from the file if not set."
                    }
                }
            },
            "v2CsvTimeColumn": {
                "type": "object",
                "properties": {
                    "columnNumber": {
                        "type": "integer",
                        "format": "int64",
                        "description": "The column number (1-indexed) of the time column."
                    },
                    "format": {
                        "$ref": "#/components/schemas/v2TimeFormat"
                    },
                    "relativeStartTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "v2DataImport": {
                "type": "object",
                "properties": {
                    "dataImportId": {
                        "type": "string"
                    },
                    "sourceUrl": {
                        "type": "string"
                    },
                    "status": {
                        "$ref": "#/components/schemas/v2DataImportStatus"
                    },
                    "errorMessage": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "csvConfig": {
                        "$ref": "#/components/schemas/v2CsvConfig"
                    },
                    "ch10Config": {
                        "$ref": "#/components/schemas/v2Ch10Config"
                    },
                    "tdmsConfig": {
                        "$ref": "#/components/schemas/v2TDMSConfig"
                    },
                    "parquetConfig": {
                        "$ref": "#/components/schemas/v2ParquetConfig"
                    },
                    "runId": {
                        "type": "string",
                        "description": "The run id will be set if the data import ingests to a run once the run is available."
                    },
                    "reportId": {
                        "type": "string",
                        "description": "The report id will be set if the data import creates a report once the report is available."
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "dataStartTime": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "dataStopTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "dataImportId",
                    "status",
                    "createdDate",
                    "modifiedDate"
                ]
            },
            "v2DataImportStatus": {
                "type": "string",
                "enum": [
                    "DATA_IMPORT_STATUS_UNSPECIFIED",
                    "DATA_IMPORT_STATUS_PENDING",
                    "DATA_IMPORT_STATUS_IN_PROGRESS",
                    "DATA_IMPORT_STATUS_SUCCEEDED",
                    "DATA_IMPORT_STATUS_FAILED"
                ],
                "default": "DATA_IMPORT_STATUS_UNSPECIFIED"
            },
            "v2DataTypeKey": {
                "type": "string",
                "enum": [
                    "DATA_TYPE_KEY_UNSPECIFIED",
                    "DATA_TYPE_KEY_CSV",
                    "DATA_TYPE_KEY_TDMS",
                    "DATA_TYPE_KEY_CH10",
                    "DATA_TYPE_KEY_PARQUET_FLATDATASET"
                ],
                "default": "DATA_TYPE_KEY_UNSPECIFIED"
            },
            "v2DeleteApiKeyResponse": {
                "type": "object"
            },
            "v2DeleteRunResponse": {
                "type": "object",
                "description": "The response of a call to `RunService_DeleteRun`."
            },
            "v2DeleteUserGroupResponse": {
                "type": "object"
            },
            "v2DetectConfigRequest": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "string",
                        "format": "byte"
                    },
                    "type": {
                        "$ref": "#/components/schemas/v2DataTypeKey"
                    }
                }
            },
            "v2DetectConfigResponse": {
                "type": "object",
                "properties": {
                    "csvConfig": {
                        "$ref": "#/components/schemas/v2CsvConfig"
                    },
                    "parquetConfig": {
                        "$ref": "#/components/schemas/v2ParquetConfig"
                    }
                }
            },
            "v2ErrorSummary": {
                "type": "object",
                "properties": {
                    "count": {
                        "type": "string",
                        "format": "uint64"
                    },
                    "assetName": {
                        "type": "string"
                    },
                    "minTimestamp": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "maxTimestamp": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "dlqParquetFileId": {
                        "type": "string"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "required": [
                    "count",
                    "minTimestamp",
                    "maxTimestamp",
                    "dlqParquetFileId",
                    "createdDate",
                    "modifiedDate"
                ]
            },
            "v2GetCalculatedChannelResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/v2CalculatedChannel"
                    }
                },
                "required": [
                    "calculatedChannel"
                ]
            },
            "v2GetDataImportResponse": {
                "type": "object",
                "properties": {
                    "dataImport": {
                        "$ref": "#/components/schemas/v2DataImport"
                    }
                }
            },
            "v2GetMeResponse": {
                "type": "object",
                "properties": {
                    "userId": {
                        "type": "string"
                    },
                    "userEmail": {
                        "type": "string"
                    },
                    "organizations": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1Organization"
                        }
                    },
                    "isAdmin": {
                        "type": "boolean"
                    },
                    "permissions": {
                        "$ref": "#/components/schemas/v2Permissions"
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "hashBasedMessageAuthenticationCode": {
                        "type": "string"
                    }
                },
                "required": [
                    "userId",
                    "userEmail",
                    "organizations",
                    "isAdmin",
                    "permissions",
                    "createdDate"
                ]
            },
            "v2GetRunResponse": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/runsv2Run"
                    }
                },
                "description": "The response of a call to `RunService_GetRun` containing the requested run.",
                "required": [
                    "run"
                ]
            },
            "v2GetUserGroupResponse": {
                "type": "object",
                "properties": {
                    "userGroup": {
                        "$ref": "#/components/schemas/v2UserGroup"
                    }
                },
                "required": [
                    "userGroup"
                ]
            },
            "v2GetUserGroupsForAssetsResponse": {
                "type": "object",
                "properties": {
                    "userGroups": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2UserGroup"
                        }
                    },
                    "roles": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2Role"
                        }
                    }
                },
                "required": [
                    "userGroups",
                    "roles"
                ]
            },
            "v2GetUserResponse": {
                "type": "object",
                "properties": {
                    "user": {
                        "$ref": "#/components/schemas/v1User"
                    }
                }
            },
            "v2IncompatibleProtobufField": {
                "type": "object",
                "properties": {
                    "protobufDescriptorId": {
                        "type": "string"
                    },
                    "messageFullName": {
                        "type": "string"
                    },
                    "desiredFieldName": {
                        "type": "string"
                    },
                    "currentFieldName": {
                        "type": "string"
                    },
                    "fieldNumber": {
                        "type": "string"
                    },
                    "reason": {
                        "type": "string"
                    },
                    "details": {
                        "type": "string"
                    },
                    "fieldKind": {
                        "type": "string"
                    }
                }
            },
            "v2ListActiveUsersResponse": {
                "type": "object",
                "properties": {
                    "users": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1User"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `UserService_ListActiveUsersResponse`."
            },
            "v2ListApiKeysResponse": {
                "type": "object",
                "properties": {
                    "apiKeys": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ApiKey"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to ApiKeyService.ListApiKeys.",
                "required": [
                    "apiKeys"
                ]
            },
            "v2ListCalculatedChannelVersionsResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannelVersions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannel"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `CalculatedChannelService_ListCalculatedChannelVersions`.",
                "required": [
                    "calculatedChannelVersions"
                ]
            },
            "v2ListCalculatedChannelsResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannel"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `CalculatedChannelService_ListCalculatedChannels`.",
                "required": [
                    "calculatedChannels"
                ]
            },
            "v2ListDataImportsResponse": {
                "type": "object",
                "properties": {
                    "dataImports": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2DataImport"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                }
            },
            "v2ListDlqErrorsResponse": {
                "type": "object",
                "properties": {
                    "errorSummaries": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ErrorSummary"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "required": [
                    "errorSummaries"
                ]
            },
            "v2ListResolvedCalculatedChannelsResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannelResolutions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannelResolution"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "required": [
                    "calculatedChannelResolutions"
                ]
            },
            "v2ListRolesResponse": {
                "type": "object",
                "properties": {
                    "roles": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2Role"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                }
            },
            "v2ListRunsResponse": {
                "type": "object",
                "properties": {
                    "runs": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/runsv2Run"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `RunService_ListRuns` containing requested runs.",
                "required": [
                    "runs"
                ]
            },
            "v2ListUnitsResponse": {
                "type": "object",
                "properties": {
                    "units": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/unitv2Unit"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is empty, there are no subsequent pages."
                    }
                },
                "required": [
                    "units"
                ]
            },
            "v2ListUserGroupsResponse": {
                "type": "object",
                "properties": {
                    "userGroups": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2UserGroup"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is empty, there are no subsequent pages."
                    }
                },
                "required": [
                    "userGroups"
                ]
            },
            "v2ListUsersResponse": {
                "type": "object",
                "properties": {
                    "users": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1User"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The response of a call to `UserService_ListUsersResponse`."
            },
            "v2ParquetComplexTypesImportMode": {
                "type": "string",
                "enum": [
                    "PARQUET_COMPLEX_TYPES_IMPORT_MODE_UNSPECIFIED",
                    "PARQUET_COMPLEX_TYPES_IMPORT_MODE_IGNORE",
                    "PARQUET_COMPLEX_TYPES_IMPORT_MODE_BOTH",
                    "PARQUET_COMPLEX_TYPES_IMPORT_MODE_STRING",
                    "PARQUET_COMPLEX_TYPES_IMPORT_MODE_BYTES"
                ],
                "default": "PARQUET_COMPLEX_TYPES_IMPORT_MODE_UNSPECIFIED",
                "description": " - PARQUET_COMPLEX_TYPES_IMPORT_MODE_IGNORE: Ignore complex types and do not ingest them.\n - PARQUET_COMPLEX_TYPES_IMPORT_MODE_BOTH: Import complex types as both Arrow bytes and JSON strings.\n - PARQUET_COMPLEX_TYPES_IMPORT_MODE_STRING: Import complex types as only JSON strings.\n - PARQUET_COMPLEX_TYPES_IMPORT_MODE_BYTES: Import complex types as only Arrow bytes."
            },
            "v2ParquetConfig": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string"
                    },
                    "runName": {
                        "type": "string"
                    },
                    "runId": {
                        "type": "string",
                        "description": "The id of the run to add this data to. If set, `run_name` is ignored."
                    },
                    "flatDataset": {
                        "$ref": "#/components/schemas/v2ParquetFlatDatasetConfig"
                    },
                    "footerOffset": {
                        "type": "string",
                        "format": "uint64"
                    },
                    "footerLength": {
                        "type": "integer",
                        "format": "int64"
                    },
                    "complexTypesImportMode": {
                        "$ref": "#/components/schemas/v2ParquetComplexTypesImportMode"
                    }
                }
            },
            "v2ParquetDataColumn": {
                "type": "object",
                "properties": {
                    "path": {
                        "type": "string"
                    },
                    "channelConfig": {
                        "$ref": "#/components/schemas/commontypev1ChannelConfig"
                    }
                }
            },
            "v2ParquetFlatDatasetConfig": {
                "type": "object",
                "properties": {
                    "timeColumn": {
                        "$ref": "#/components/schemas/v2ParquetTimeColumn"
                    },
                    "dataColumns": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ParquetDataColumn"
                        }
                    }
                }
            },
            "v2ParquetTimeColumn": {
                "type": "object",
                "properties": {
                    "path": {
                        "type": "string"
                    },
                    "format": {
                        "$ref": "#/components/schemas/v2TimeFormat"
                    },
                    "relativeStartTime": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "v2PermissionResources": {
                "type": "object",
                "properties": {
                    "permissionResources": {
                        "type": "object",
                        "additionalProperties": {
                            "$ref": "#/components/schemas/v2Resources"
                        }
                    }
                },
                "required": [
                    "permissionResources"
                ]
            },
            "v2Permissions": {
                "type": "object",
                "properties": {
                    "organizationPermissionResources": {
                        "type": "object",
                        "additionalProperties": {
                            "$ref": "#/components/schemas/v2PermissionResources"
                        }
                    }
                },
                "required": [
                    "organizationPermissionResources"
                ]
            },
            "v2RemoveUserFromUserGroupResponse": {
                "type": "object"
            },
            "v2ResolveCalculatedChannelRequest": {
                "type": "object",
                "properties": {
                    "identifier": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    },
                    "calculatedChannelConfiguration": {
                        "$ref": "#/components/schemas/v2CalculatedChannelConfiguration"
                    },
                    "organizationId": {
                        "type": "string",
                        "description": "This field is only required if your user belongs to multiple organizations."
                    },
                    "assets": {
                        "$ref": "#/components/schemas/v1NamedResources"
                    },
                    "run": {
                        "$ref": "#/components/schemas/v1ResourceIdentifier"
                    }
                },
                "description": "The request for a call to `CalculatedChannelService_ResolveCalculatedChannel` to get the all possible calculated channels.\n1) If the calculated channel has a selection of assets and tags then those assets will be used as a base and then filtered down by the given assets and assets from the run.\n2) If the calculated channel is enabled for all assets then:\n  a) If the request has run and assets from the run will be used as a base and then filtered down by the given assets.\n  b) If the request has run and no assets then those assets will be used.\n  c) If the request has only assets then those assets will be used.\nThe `organization_id` argument is only required if using `client_key` and the user belongs to multiple organizations."
            },
            "v2ResolveCalculatedChannelResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannelId": {
                        "type": "string",
                        "description": "If provided in the request, the calculated channel resolved."
                    },
                    "resolved": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2ResolvedCalculatedChannel"
                        },
                        "description": "All resolved calculated channels."
                    },
                    "unresolved": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2UnresolvedCalculatedChannel"
                        },
                        "description": "All assets with any issues in resolution."
                    }
                },
                "description": "The response of a call to `CalculatedChannelService_ResolveCalculatedChannel`.",
                "required": [
                    "resolved",
                    "unresolved"
                ]
            },
            "v2ResolvedCalculatedChannel": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string",
                        "description": "The name of the specific asset that was resolved."
                    },
                    "expressionRequest": {
                        "$ref": "#/components/schemas/v1ExpressionRequest"
                    },
                    "outputDataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "assetId": {
                        "type": "string"
                    }
                },
                "description": "A specific calculated channel including the asset and exact channels to query.",
                "required": [
                    "assetName",
                    "expressionRequest",
                    "outputDataType",
                    "assetId"
                ]
            },
            "v2Resources": {
                "type": "object",
                "properties": {
                    "assetIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "allAssets": {
                        "type": "boolean"
                    }
                }
            },
            "v2RetryDataImportResponse": {
                "type": "object"
            },
            "v2Role": {
                "type": "object",
                "properties": {
                    "roleId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "roleOrder": {
                        "type": "integer",
                        "format": "int32"
                    }
                }
            },
            "v2StopRunRequest": {
                "type": "object",
                "properties": {
                    "runId": {
                        "type": "string"
                    }
                },
                "description": "The request for a call to `RunService_StopRun` to stop a run.",
                "required": [
                    "runId"
                ]
            },
            "v2StopRunResponse": {
                "type": "object",
                "description": "The response of a call to `RunService_StopRun` to stop a run."
            },
            "v2TDMSConfig": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string"
                    },
                    "runName": {
                        "type": "string"
                    },
                    "startTimeOverride": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Override the wf_start_time metadata field for all channels.\nUseful if your waveform channels have wf_increment but no wf_start_time (Veristand is guilty of this)."
                    },
                    "fileSize": {
                        "type": "string",
                        "format": "uint64",
                        "description": "The file size in bytes.\nIf the file has truncated chunks, this will be required to pass validation."
                    }
                }
            },
            "v2TagType": {
                "type": "string",
                "enum": [
                    "TAG_TYPE_UNSPECIFIED",
                    "TAG_TYPE_ANNOTATION",
                    "TAG_TYPE_ASSET",
                    "TAG_TYPE_CAMPAIGN",
                    "TAG_TYPE_REPORT",
                    "TAG_TYPE_REPORT_TEMPLATE",
                    "TAG_TYPE_RUN"
                ],
                "default": "TAG_TYPE_UNSPECIFIED"
            },
            "v2TimeFormat": {
                "type": "string",
                "enum": [
                    "TIME_FORMAT_UNSPECIFIED",
                    "TIME_FORMAT_RELATIVE_NANOSECONDS",
                    "TIME_FORMAT_RELATIVE_MICROSECONDS",
                    "TIME_FORMAT_RELATIVE_MILLISECONDS",
                    "TIME_FORMAT_RELATIVE_SECONDS",
                    "TIME_FORMAT_RELATIVE_MINUTES",
                    "TIME_FORMAT_RELATIVE_HOURS",
                    "TIME_FORMAT_ABSOLUTE_RFC3339",
                    "TIME_FORMAT_ABSOLUTE_DATETIME",
                    "TIME_FORMAT_ABSOLUTE_UNIX_SECONDS",
                    "TIME_FORMAT_ABSOLUTE_UNIX_MILLISECONDS",
                    "TIME_FORMAT_ABSOLUTE_UNIX_MICROSECONDS",
                    "TIME_FORMAT_ABSOLUTE_UNIX_NANOSECONDS"
                ],
                "default": "TIME_FORMAT_UNSPECIFIED"
            },
            "v2UnresolvedCalculatedChannel": {
                "type": "object",
                "properties": {
                    "assetName": {
                        "type": "string",
                        "description": "The name of the specific asset that was not resolved."
                    },
                    "errorMessage": {
                        "type": "string"
                    }
                },
                "description": "Any failure in resolution.",
                "required": [
                    "assetName",
                    "errorMessage"
                ]
            },
            "v2UpdateCalculatedChannelRequest": {
                "type": "object",
                "properties": {
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/v2CalculatedChannel"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `description`, `units`, `metadata`,\n`query_configuration`, `archived_date`, and `asset_configuration`."
                    },
                    "userNotes": {
                        "type": "string",
                        "description": "Optional user notes to describe changes."
                    }
                },
                "description": "The request for a call to `CalculatedChannelService_UpdateCalculatedChannel` to update a calculated channel. Updating a calculated\nchannel creates a new version of the calculated channel, leaving the previous untouched. If no update is deemed necessary, then the\nthe current version is returned. To archive calculated channel, specify `archived_date` in the `update mask` as well as a non-null\nvalue for `archived_date` in the `calculated_channel` object. To unarchive a calculated channel, specify `archived_date` in the\n`update mask` and a `null` value for `archived_date` in the `calculated_channel` object.",
                "required": [
                    "calculatedChannel",
                    "updateMask"
                ]
            },
            "v2UpdateCalculatedChannelResponse": {
                "type": "object",
                "properties": {
                    "calculatedChannel": {
                        "$ref": "#/components/schemas/v2CalculatedChannel"
                    },
                    "inapplicableAssets": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v2CalculatedChannelValidationResult"
                        }
                    }
                },
                "description": "The response of a call to `CalculatedChannelService_UpdateCalculatedChannel`.",
                "required": [
                    "calculatedChannel",
                    "inapplicableAssets"
                ]
            },
            "v2UpdateRunRequest": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/runsv2Run"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `name`, `description`,\n`start_time`, `stop_time`, `is_pinned`, `client_key`, `tags`, and `metadata`.\nImportant Note: When updating the `start_time`, please be aware that if a subsequent data ingestion\ncommences for this run, the `start_time` will be automatically overwritten and set to the timestamp\ncorresponding to the beginning of the latest run. Additionally, `client_key` can only be set once either in run creation or in update.\nAny subsequent attempt to update `client_key` will result in an error."
                    }
                },
                "description": "The request for a call to `RunService_UpdateRun` to update an existing run.",
                "required": [
                    "run",
                    "updateMask"
                ]
            },
            "v2UpdateRunResponse": {
                "type": "object",
                "properties": {
                    "run": {
                        "$ref": "#/components/schemas/runsv2Run"
                    }
                },
                "description": "The response of a call to `RunService_UpdateRun` containing the updated run.",
                "required": [
                    "run"
                ]
            },
            "v2UpdateUserGroupResponse": {
                "type": "object",
                "properties": {
                    "userGroup": {
                        "$ref": "#/components/schemas/v2UserGroup"
                    }
                },
                "required": [
                    "userGroup"
                ]
            },
            "v2UpdateUserOrganizationActiveResponse": {
                "type": "object"
            },
            "v2UpdateUserUserGroupsResponse": {
                "type": "object"
            },
            "v2UserGroup": {
                "type": "object",
                "properties": {
                    "userGroupId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "roleId": {
                        "type": "string"
                    },
                    "isDefault": {
                        "type": "boolean"
                    },
                    "resources": {
                        "$ref": "#/components/schemas/UserGroupResource"
                    },
                    "userIds": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "isExternal": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "name",
                    "isDefault",
                    "isExternal"
                ]
            },
            "v3FilterChannel": {
                "type": "object",
                "properties": {
                    "channelId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "assetId": {
                        "type": "string"
                    },
                    "assetName": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "displayDescription": {
                        "type": "string"
                    },
                    "unitId": {
                        "type": "string"
                    },
                    "displayUnitId": {
                        "type": "string"
                    },
                    "unit": {
                        "type": "string"
                    },
                    "displayUnit": {
                        "type": "string"
                    },
                    "dataType": {
                        "$ref": "#/components/schemas/v1ChannelDataType"
                    },
                    "enumTypes": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelEnumType"
                        }
                    },
                    "bitFieldElements": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1ChannelBitFieldElement"
                        }
                    },
                    "metadata": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v1MetadataValue"
                        }
                    }
                },
                "required": [
                    "channelId",
                    "name",
                    "organizationId",
                    "assetId",
                    "assetName",
                    "dataType",
                    "metadata"
                ]
            },
            "v3FilterChannelsResponse": {
                "type": "object",
                "properties": {
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/v3FilterChannel"
                        }
                    },
                    "nextPageToken": {
                        "type": "string"
                    }
                },
                "description": "The result of a call to ChannelService_FilterChannels."
            },
            "v3UpdateChannelRequest": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/channelsv3Channel"
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to be updated. The fields available to be updated are `display_description`, `display_units`, and `metadata`."
                    }
                },
                "description": "The request for a call to ChannelService_UpdateChannel.",
                "required": [
                    "channel",
                    "updateMask"
                ]
            },
            "v3UpdateChannelResponse": {
                "type": "object",
                "properties": {
                    "channel": {
                        "$ref": "#/components/schemas/channelsv3Channel"
                    }
                },
                "description": "The result of a call to ChannelService_UpdateChannel.",
                "required": [
                    "channel"
                ]
            },
            "viewsv1CreateViewResponse": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv1View"
                    }
                }
            },
            "viewsv1DeleteViewResponse": {
                "type": "object"
            },
            "viewsv1GetViewResponse": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv1View"
                    }
                }
            },
            "viewsv1ListApplicableViewsResponse": {
                "type": "object",
                "properties": {
                    "views": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/viewsv1View"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages."
                    }
                }
            },
            "viewsv1ListViewsResponse": {
                "type": "object",
                "properties": {
                    "views": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/viewsv1View"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages."
                    }
                }
            },
            "viewsv1PinViewResponse": {
                "type": "object"
            },
            "viewsv1UnpinViewResponse": {
                "type": "object"
            },
            "viewsv1UpdateViewResponse": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv1View"
                    }
                }
            },
            "viewsv1View": {
                "type": "object",
                "properties": {
                    "viewId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "axisGroups": {
                        "$ref": "#/components/schemas/viewsv1ViewAxisGroups"
                    },
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/viewsv1ViewChannel"
                        }
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "organizationId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "isPinned": {
                        "type": "boolean"
                    }
                }
            },
            "viewsv1ViewAxisGroups": {
                "type": "object",
                "properties": {
                    "left": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "right": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "viewsv1ViewChannel": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "component": {
                        "type": "string"
                    },
                    "dataType": {
                        "type": "string"
                    },
                    "axisGroup": {
                        "type": "string"
                    },
                    "bitFieldNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "calculatedChannelConfig": {
                        "$ref": "#/components/schemas/viewsv1ViewChannelCalculatedChannelConfig"
                    }
                },
                "required": [
                    "name",
                    "component",
                    "dataType"
                ]
            },
            "viewsv1ViewChannelCalculatedChannelConfig": {
                "type": "object",
                "properties": {
                    "channelKey": {
                        "type": "string"
                    },
                    "channelReferences": {
                        "type": "object",
                        "additionalProperties": {
                            "$ref": "#/components/schemas/ChannelCalculatedChannelConfigChannelReference"
                        }
                    },
                    "expression": {
                        "type": "string"
                    },
                    "unit": {
                        "type": "string"
                    }
                },
                "required": [
                    "channelKey",
                    "channelReferences",
                    "expression",
                    "unit"
                ]
            },
            "viewsv1ViewServicePinViewBody": {
                "type": "object"
            },
            "viewsv1ViewServiceUnpinViewBody": {
                "type": "object"
            },
            "viewsv1ViewServiceUpdateViewBody": {
                "type": "object",
                "properties": {
                    "view": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "axisGroups": {
                                "$ref": "#/components/schemas/viewsv1ViewAxisGroups"
                            },
                            "channels": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/viewsv1ViewChannel"
                                }
                            },
                            "createdDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "modifiedDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "createdByUserId": {
                                "type": "string"
                            },
                            "organizationId": {
                                "type": "string"
                            },
                            "modifiedByUserId": {
                                "type": "string"
                            },
                            "isPinned": {
                                "type": "boolean"
                            }
                        }
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to update."
                    }
                },
                "required": [
                    "view"
                ]
            },
            "viewsv2CreateViewRequest": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv2View"
                    }
                },
                "required": [
                    "view"
                ]
            },
            "viewsv2CreateViewResponse": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv2View"
                    }
                }
            },
            "viewsv2DeleteViewResponse": {
                "type": "object"
            },
            "viewsv2GetViewResponse": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv2View"
                    }
                }
            },
            "viewsv2ListApplicableViewsResponse": {
                "type": "object",
                "properties": {
                    "views": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/viewsv2View"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages."
                    }
                }
            },
            "viewsv2ListViewsResponse": {
                "type": "object",
                "properties": {
                    "views": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/viewsv2View"
                        }
                    },
                    "nextPageToken": {
                        "type": "string",
                        "description": "A token, which can be sent as `page_token` to retrieve the next page.\nIf this field is omitted, there are no subsequent pages."
                    }
                }
            },
            "viewsv2PinViewResponse": {
                "type": "object"
            },
            "viewsv2UnpinViewResponse": {
                "type": "object"
            },
            "viewsv2UpdateViewResponse": {
                "type": "object",
                "properties": {
                    "view": {
                        "$ref": "#/components/schemas/viewsv2View"
                    }
                }
            },
            "viewsv2View": {
                "type": "object",
                "properties": {
                    "viewId": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "axisGroups": {
                        "$ref": "#/components/schemas/viewsv2ViewAxisGroups"
                    },
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/viewsv2ViewChannel"
                        }
                    },
                    "createdDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "modifiedDate": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdByUserId": {
                        "type": "string"
                    },
                    "modifiedByUserId": {
                        "type": "string"
                    },
                    "isPinned": {
                        "type": "boolean"
                    }
                }
            },
            "viewsv2ViewAxisGroups": {
                "type": "object",
                "properties": {
                    "left": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "right": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "viewsv2ViewChannel": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "dataType": {
                        "type": "string"
                    },
                    "axisGroup": {
                        "type": "string"
                    },
                    "bitFieldNames": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "calculatedChannelConfig": {
                        "$ref": "#/components/schemas/viewsv2ViewChannelCalculatedChannelConfig"
                    }
                },
                "required": [
                    "name",
                    "dataType"
                ]
            },
            "viewsv2ViewChannelCalculatedChannelConfig": {
                "type": "object",
                "properties": {
                    "channelKey": {
                        "type": "string"
                    },
                    "channelReferences": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "string"
                        }
                    },
                    "expression": {
                        "type": "string"
                    },
                    "unit": {
                        "type": "string"
                    }
                },
                "required": [
                    "channelKey",
                    "channelReferences",
                    "expression",
                    "unit"
                ]
            },
            "viewsv2ViewServicePinViewBody": {
                "type": "object"
            },
            "viewsv2ViewServiceUnpinViewBody": {
                "type": "object"
            },
            "viewsv2ViewServiceUpdateViewBody": {
                "type": "object",
                "properties": {
                    "view": {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string"
                            },
                            "axisGroups": {
                                "$ref": "#/components/schemas/viewsv2ViewAxisGroups"
                            },
                            "channels": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/viewsv2ViewChannel"
                                }
                            },
                            "createdDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "modifiedDate": {
                                "type": "string",
                                "format": "date-time"
                            },
                            "createdByUserId": {
                                "type": "string"
                            },
                            "modifiedByUserId": {
                                "type": "string"
                            },
                            "isPinned": {
                                "type": "boolean"
                            }
                        }
                    },
                    "updateMask": {
                        "type": "string",
                        "description": "The list of fields to update."
                    }
                },
                "required": [
                    "view"
                ]
            }
        }
    },
    "servers": [
        {
            "url": "https://your-sift-api-url.com"
        }
    ]
}