{
  "fullyEncodeReservedExpansion": true,
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "workflows": {
              "resources": {
                "subtasks": {
                  "methods": {
                    "list": {
                      "description": "Lists previously created migration subtasks.",
                      "httpMethod": "GET",
                      "parameters": {
                        "readMask": {
                          "description": "Optional. The list of fields to be retrieved.",
                          "type": "string",
                          "format": "google-fieldmask",
                          "location": "query"
                        },
                        "parent": {
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$",
                          "description": "Required. The migration task of the subtasks to list. Example: `projects/123/locations/us/workflows/1234`"
                        },
                        "pageToken": {
                          "description": "Optional. A page token, received from previous `ListMigrationSubtasks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationSubtasks` must match the call that provided the page token.",
                          "location": "query",
                          "type": "string"
                        },
                        "filter": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. The filter to apply. This can be used to get the subtasks of a specific tasks in a workflow, e.g. `migration_task = \"ab012\"` where `\"ab012\"` is the task ID (not the name in the named map)."
                        },
                        "pageSize": {
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. The maximum number of migration tasks to return. The service may return fewer than this number.",
                          "type": "integer"
                        }
                      },
                      "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/subtasks",
                      "response": {
                        "$ref": "GoogleCloudBigqueryMigrationV2alphaListMigrationSubtasksResponse"
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "bigquerymigration.projects.locations.workflows.subtasks.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "path": "v2alpha/{+parent}/subtasks"
                    },
                    "get": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Gets a previously created migration subtask.",
                      "id": "bigquerymigration.projects.locations.workflows.subtasks.get",
                      "path": "v2alpha/{+name}",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}/subtasks/{subtasksId}",
                      "httpMethod": "GET",
                      "response": {
                        "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationSubtask"
                      },
                      "parameters": {
                        "name": {
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The unique identifier for the migration subtask. Example: `projects/123/locations/us/workflows/1234/subtasks/543`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+/subtasks/[^/]+$"
                        },
                        "readMask": {
                          "description": "Optional. The list of fields to be retrieved.",
                          "type": "string",
                          "format": "google-fieldmask",
                          "location": "query"
                        }
                      }
                    }
                  }
                }
              },
              "methods": {
                "delete": {
                  "description": "Deletes a migration workflow by name.",
                  "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}",
                  "id": "bigquerymigration.projects.locations.workflows.delete",
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v2alpha/{+name}",
                  "parameters": {
                    "name": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "Required. The unique identifier for the migration workflow. Example: `projects/123/locations/us/workflows/1234`",
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$"
                    }
                  },
                  "httpMethod": "DELETE"
                },
                "start": {
                  "path": "v2alpha/{+name}:start",
                  "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}:start",
                  "response": {
                    "$ref": "GoogleProtobufEmpty"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Starts a previously created migration workflow. I.e., the state transitions from DRAFT to RUNNING. This is a no-op if the state is already RUNNING. An error will be signaled if the state is anything other than DRAFT or RUNNING.",
                  "id": "bigquerymigration.projects.locations.workflows.start",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "Required. The unique identifier for the migration workflow. Example: `projects/123/locations/us/workflows/1234`",
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$",
                      "required": true
                    }
                  },
                  "request": {
                    "$ref": "GoogleCloudBigqueryMigrationV2alphaStartMigrationWorkflowRequest"
                  }
                },
                "get": {
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$",
                      "type": "string",
                      "description": "Required. The unique identifier for the migration workflow. Example: `projects/123/locations/us/workflows/1234`",
                      "required": true,
                      "location": "path"
                    },
                    "readMask": {
                      "type": "string",
                      "location": "query",
                      "description": "The list of fields to be retrieved.",
                      "format": "google-fieldmask"
                    }
                  },
                  "path": "v2alpha/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/bigquerymigration",
                    "https://www.googleapis.com/auth/bigquerymigration.readonly",
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationWorkflow"
                  },
                  "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}",
                  "description": "Gets a previously created migration workflow.",
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "bigquerymigration.projects.locations.workflows.get"
                },
                "create": {
                  "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows",
                  "response": {
                    "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationWorkflow"
                  },
                  "path": "v2alpha/{+parent}/workflows",
                  "description": "Creates a migration workflow.",
                  "id": "bigquerymigration.projects.locations.workflows.create",
                  "scopes": [
                    "https://www.googleapis.com/auth/bigquerymigration",
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/devstorage.read_only"
                  ],
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The name of the project to which this migration workflow belongs. Example: `projects/foo/locations/bar`",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationWorkflow"
                  }
                },
                "list": {
                  "response": {
                    "$ref": "GoogleCloudBigqueryMigrationV2alphaListMigrationWorkflowsResponse"
                  },
                  "id": "bigquerymigration.projects.locations.workflows.list",
                  "path": "v2alpha/{+parent}/workflows",
                  "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/workflows",
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Lists previously created migration workflow.",
                  "httpMethod": "GET",
                  "parameters": {
                    "pageSize": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "The maximum number of migration workflows to return. The service may return fewer than this number."
                    },
                    "parent": {
                      "required": true,
                      "description": "Required. The project and location of the migration workflows to list. Example: `projects/123/locations/us`",
                      "location": "path",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "orderBy": {
                      "description": "Optional. An optional AIP-132 order by field. The following attributes are supported: `display_name`, `state`, `task.name`, and `task.type`.",
                      "location": "query",
                      "type": "string"
                    },
                    "filter": {
                      "description": "Optional. An optional AIP-160 filter to apply. The following attributes are supported: `display_name`, `state`, `task.name`, and `task.type`.",
                      "location": "query",
                      "type": "string"
                    },
                    "readMask": {
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask",
                      "description": "The list of fields to be retrieved."
                    },
                    "pageToken": {
                      "description": "A page token, received from previous `ListMigrationWorkflows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationWorkflows` must match the call that provided the page token.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ]
                }
              }
            }
          },
          "methods": {
            "translateQuery": {
              "parameters": {
                "parent": {
                  "location": "path",
                  "required": true,
                  "description": "Required. The name of the project to which this translation request belongs. Example: `projects/foo/locations/bar`",
                  "pattern": "^projects/[^/]+/locations/[^/]+$",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "parent"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslateQueryRequest"
              },
              "deprecated": true,
              "path": "v2alpha/{+parent}:translateQuery",
              "id": "bigquerymigration.projects.locations.translateQuery",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform"
              ],
              "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}:translateQuery",
              "description": "Deprecated: Use the regular CreateMigrationWorkflow method instead. The 'bigquerymigration.translation.translate' permission is replaced by 'bigquerymigration.workflows.create', 'bigquerymigration.workflows.get', and 'bigquerymigration.workflows.list'. Translates input queries from source dialects to GoogleSQL.",
              "response": {
                "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslateQueryResponse"
              }
            }
          }
        }
      }
    }
  },
  "discoveryVersion": "v1",
  "protocol": "rest",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "ownerName": "Google",
  "documentationLink": "https://cloud.google.com/solutions/migration/dw2bq/dw-bq-migration-overview",
  "description": "The migration service, exposing apis for migration jobs operations, and agent management.",
  "revision": "20261117",
  "title": "BigQuery Migration API",
  "kind": "discovery#restDescription",
  "ownerDomain": "google.com",
  "parameters": {
    "quotaUser": {
      "type": "string",
      "location": "query",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
    },
    "uploadType": {
      "type": "string",
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "alt": {
      "description": "Data format for response.",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "type": "string",
      "default": "json",
      "location": "query",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    },
    "key": {
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "type": "string",
      "location": "query"
    },
    "upload_protocol": {
      "type": "string",
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "callback": {
      "type": "string",
      "location": "query",
      "description": "JSONP"
    },
    "$.xgafv": {
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ],
      "location": "query",
      "description": "V1 error format.",
      "type": "string"
    },
    "prettyPrint": {
      "location": "query",
      "type": "boolean",
      "default": "true",
      "description": "Returns response with indentations and line breaks."
    },
    "oauth_token": {
      "type": "string",
      "location": "query",
      "description": "OAuth 2.0 token for the current user."
    }
  },
  "servicePath": "",
  "canonicalName": "Migration Service",
  "id": "bigquerymigration:v2alpha",
  "mtlsRootUrl": "https://bigquerymigration.mtls.googleapis.com/",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        },
        "https://www.googleapis.com/auth/devstorage.read_only": {
          "description": "View your data in Google Cloud Storage"
        },
        "https://www.googleapis.com/auth/bigquerymigration": {
          "description": "See, edit, configure, and delete your Google Cloud BigQuery Migration data and see the email address for your Google Account"
        },
        "https://www.googleapis.com/auth/bigquerymigration.readonly": {
          "description": "See your Google Cloud BigQuery Migration data and the email address of your Google Account"
        }
      }
    }
  },
  "basePath": "",
  "name": "bigquerymigration",
  "endpoints": [
    {
      "description": "Regional Endpoint",
      "location": "asia-northeast1",
      "endpointUrl": "https://bigquerymigration.asia-northeast1.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://bigquerymigration.asia-south1.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "asia-south1"
    },
    {
      "endpointUrl": "https://bigquerymigration.asia-south2.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "asia-south2"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.asia-southeast1.rep.googleapis.com/",
      "location": "asia-southeast1"
    },
    {
      "description": "Regional Endpoint",
      "location": "australia-southeast1",
      "endpointUrl": "https://bigquerymigration.australia-southeast1.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.europe-west1.rep.googleapis.com/",
      "location": "europe-west1"
    },
    {
      "location": "europe-west10",
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.europe-west10.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://bigquerymigration.europe-west2.rep.googleapis.com/",
      "location": "europe-west2",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://bigquerymigration.europe-west3.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "europe-west3"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.europe-west4.rep.googleapis.com/",
      "location": "europe-west4"
    },
    {
      "location": "europe-west6",
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.europe-west6.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://bigquerymigration.europe-west8.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "europe-west8"
    },
    {
      "location": "europe-west9",
      "endpointUrl": "https://bigquerymigration.europe-west9.rep.googleapis.com/",
      "description": "Regional Endpoint"
    },
    {
      "location": "me-central2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.me-central2.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "northamerica-northeast1",
      "endpointUrl": "https://bigquerymigration.northamerica-northeast1.rep.googleapis.com/"
    },
    {
      "location": "northamerica-northeast2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.northamerica-northeast2.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://bigquerymigration.southamerica-east1.rep.googleapis.com/",
      "location": "southamerica-east1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://bigquerymigration.us-central1.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "us-central1"
    },
    {
      "description": "Regional Endpoint",
      "location": "us-central2",
      "endpointUrl": "https://bigquerymigration.us-central2.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.us-east1.rep.googleapis.com/",
      "location": "us-east1"
    },
    {
      "location": "us-east4",
      "endpointUrl": "https://bigquerymigration.us-east4.rep.googleapis.com/",
      "description": "Regional Endpoint"
    },
    {
      "location": "us-east5",
      "endpointUrl": "https://bigquerymigration.us-east5.rep.googleapis.com/",
      "description": "Regional Endpoint"
    },
    {
      "location": "us-east7",
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.us-east7.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://bigquerymigration.us-south1.rep.googleapis.com/",
      "location": "us-south1",
      "description": "Regional Endpoint"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.us-west1.rep.googleapis.com/",
      "location": "us-west1"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.us-west2.rep.googleapis.com/",
      "location": "us-west2"
    },
    {
      "endpointUrl": "https://bigquerymigration.us-west3.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "us-west3"
    },
    {
      "location": "us-west4",
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.us-west4.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://bigquerymigration.us-west8.rep.googleapis.com/",
      "location": "us-west8"
    }
  ],
  "rootUrl": "https://bigquerymigration.googleapis.com/",
  "batchPath": "batch",
  "version": "v2alpha",
  "schemas": {
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaFilter": {
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaFilter",
      "description": "The filter applied to fields of translation details.",
      "properties": {
        "inputFileExclusionPrefixes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The list of prefixes used to exclude processing for input files."
        }
      },
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaListMigrationWorkflowsResponse": {
      "properties": {
        "migrationWorkflows": {
          "type": "array",
          "description": "The migration workflows for the specified project / location.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationWorkflow"
          }
        },
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Response object for a `ListMigrationWorkflows` call.",
      "id": "GoogleCloudBigqueryMigrationV2alphaListMigrationWorkflowsResponse"
    },
    "GoogleCloudBigqueryMigrationV2alphaObjectNameMappingList": {
      "description": "Represents a map of name mappings using a list of key:value proto messages of existing name to desired output name.",
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaObjectNameMappingList",
      "properties": {
        "nameMap": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaObjectNameMapping"
          },
          "description": "The elements of the object name map.",
          "type": "array"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaDialectDetectionConfig": {
      "id": "GoogleCloudBigqueryMigrationV2alphaDialectDetectionConfig",
      "properties": {
        "detectionMode": {
          "description": "Optional. The dialect detection mode. Defaults to `AUTO`.",
          "type": "string",
          "enum": [
            "DETECTION_MODE_UNSPECIFIED",
            "AUTO",
            "OFF"
          ],
          "enumDescriptions": [
            "Unspecified. Treated as `AUTO`.",
            "Scans the input files to refine the source dialect within its dialect family (for example, distinguishing Teradata SQL, BTEQ, and TPT scripts when the source dialect is Teradata). If the dialect cannot be determined with confidence, the source dialect is used.",
            "Do not scan the input files. Every input file is translated as the source dialect."
          ]
        }
      },
      "type": "object",
      "description": "Configuration for detecting the dialect of the input files."
    },
    "GoogleCloudBigqueryMigrationV2alphaListMigrationSubtasksResponse": {
      "description": "Response object for a `ListMigrationSubtasks` call.",
      "type": "object",
      "properties": {
        "migrationSubtasks": {
          "description": "The migration subtasks for the specified task.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationSubtask"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaListMigrationSubtasksResponse"
    },
    "GoogleCloudBigqueryMigrationV2alphaMigrationTask": {
      "description": "A single task for a migration which has details about the configuration of the task.",
      "id": "GoogleCloudBigqueryMigrationV2alphaMigrationTask",
      "properties": {
        "assessmentTaskDetails": {
          "description": "Task configuration for Assessment.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaAssessmentTaskDetails"
        },
        "totalResourceErrorCount": {
          "type": "integer",
          "description": "Output only. Count of all the resource errors in this task and its subtasks.",
          "readOnly": true,
          "format": "int32"
        },
        "createTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. Time when the task was created."
        },
        "translationTaskDetails": {
          "description": "Task configuration for Batch SQL Translation.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationTaskDetails"
        },
        "state": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The current state of the task.",
          "enumDescriptions": [
            "The state is unspecified.",
            "The task is waiting for orchestration.",
            "The task is assigned to an orchestrator.",
            "The task is running, i.e. its subtasks are ready for execution.",
            "The task is paused. Assigned subtasks can continue, but no new subtasks will be scheduled.",
            "The task finished successfully.",
            "The task finished unsuccessfully."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "ORCHESTRATING",
            "RUNNING",
            "PAUSED",
            "SUCCEEDED",
            "FAILED"
          ]
        },
        "totalProcessingErrorCount": {
          "description": "Output only. Count of all the processing errors in this task and its subtasks.",
          "format": "int32",
          "type": "integer",
          "readOnly": true
        },
        "metrics": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTimeSeries"
          },
          "description": "Output only. The metrics for the task.",
          "type": "array",
          "readOnly": true
        },
        "lastUpdateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Time when the task was last updated.",
          "format": "google-datetime"
        },
        "processingError": {
          "readOnly": true,
          "description": "Output only. An explanation that may be populated when the task is in FAILED state.",
          "$ref": "GoogleRpcErrorInfo"
        },
        "translationDetails": {
          "description": "Task details for unified SQL Translation.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationDetails"
        },
        "translationConfigDetails": {
          "description": "Task configuration for CW Batch/Offline SQL Translation.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationConfigDetails"
        },
        "resourceErrorCount": {
          "readOnly": true,
          "format": "int32",
          "description": "Output only. The number or resources with errors. Note: This is not the total number of errors as each resource can have more than one error. This is used to indicate truncation by having a `resource_error_count` that is higher than the size of `resource_error_details`.",
          "type": "integer"
        },
        "resourceErrorDetails": {
          "type": "array",
          "description": "Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaResourceErrorDetail"
          },
          "readOnly": true
        },
        "taskResult": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationTaskResult",
          "readOnly": true,
          "description": "Output only. The result of the task."
        },
        "orchestrationResult": {
          "deprecated": true,
          "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationTaskOrchestrationResult",
          "readOnly": true,
          "description": "Output only. Deprecated: Use the task_result field below instead. Additional information about the orchestration."
        },
        "id": {
          "description": "Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.",
          "readOnly": true,
          "type": "string"
        },
        "type": {
          "description": "The type of the task. This must be one of the supported task types. Assessment: - `Assessment_Hive` - Assessment for Hive. - `Assessment_Redshift` - Assessment for Redshift. - `Assessment_Snowflake` - Assessment for Snowflake. - `Assessment_Teradata_v2` - Assessment for Teradata. - `Assessment_Oracle` - Assessment for Oracle. - `Assessment_Hadoop` - Assessment for Hadoop. - `Assessment_Informatica` - Assessment for Informatica. Translation: See [Supported SQL dialects](https://docs.cloud.google.com/bigquery/docs/enable-sql-translations#supported_sql_dialects) for a list of supported task types.",
          "type": "string"
        },
        "validationTask": {
          "description": "Optional. Task details for Validation.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaValidationTask"
        },
        "details": {
          "type": "object",
          "description": "DEPRECATED! Use one of the task_details below. The details of the task. The type URL must be one of the supported task details messages and correspond to the Task's type.",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          }
        }
      },
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslateQueryResponse": {
      "properties": {
        "translationStartTime": {
          "description": "The timestamp when the server starts to process the translation job.",
          "type": "string",
          "format": "google-datetime"
        },
        "translationResultDetails": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationResultDetails",
          "description": "The details of the translation results."
        },
        "warnings": {
          "deprecated": true,
          "description": "The list of warnings encountered during the translation, if present, indicates non-semantically correct translation. Deprecated: use TranslationResultDetails.TranslationReportRecord instead.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationWarning"
          },
          "type": "array"
        },
        "translationJob": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Immutable. The unique identifier for the SQL translation job. Example: `projects/123/locations/us/translation/1234`"
        },
        "suggestions": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationSuggestion"
          },
          "description": "Translation suggestions",
          "type": "array"
        },
        "errors": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationError"
          },
          "description": "The list of errors encountered during the translation, if present.",
          "deprecated": true
        },
        "translationEndTime": {
          "description": "The timestamp when the translation of the SQL query was completed.",
          "type": "string",
          "format": "google-datetime"
        },
        "translatedQuery": {
          "description": "The translated result. It may contain error/warning messages as comments.",
          "type": "string"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslateQueryResponse",
      "type": "object",
      "description": "Deprecated: Use the regular CreateMigrationWorkflow method instead. The 'bigquerymigration.translation.translate' permission is replaced by 'bigquerymigration.workflows.create', 'bigquerymigration.workflows.get', and 'bigquerymigration.workflows.list'. The response of translating a SQL query to GoogleSQL.",
      "deprecated": true
    },
    "GoogleCloudBigqueryMigrationV2alphaObjectNameMapping": {
      "type": "object",
      "description": "Represents a key-value pair of NameMappingKey to NameMappingValue to represent the mapping of SQL names from the input value to desired output.",
      "properties": {
        "source": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaNameMappingKey",
          "description": "The name of the object in source that is being mapped."
        },
        "target": {
          "description": "The desired target name of the object that is being mapped.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaNameMappingValue"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaObjectNameMapping"
    },
    "GoogleCloudBigqueryMigrationV2alphaTypedValue": {
      "properties": {
        "distributionValue": {
          "description": "A distribution value.",
          "$ref": "GoogleApiDistribution"
        },
        "int64Value": {
          "type": "string",
          "format": "int64",
          "description": "A 64-bit integer. Its range is approximately `+/-9.2x10^18`."
        },
        "boolValue": {
          "description": "A Boolean value: `true` or `false`.",
          "type": "boolean"
        },
        "stringValue": {
          "type": "string",
          "description": "A variable-length string value."
        },
        "doubleValue": {
          "format": "double",
          "type": "number",
          "description": "A 64-bit double-precision floating-point number. Its magnitude is approximately `+/-10^(+/-300)` and it has 16 significant digits of precision."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaTypedValue",
      "type": "object",
      "description": "A single strongly-typed value."
    },
    "GoogleCloudBigqueryMigrationV2alphaMigrationWorkflow": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Output only. Immutable. Identifier. The unique identifier for the migration workflow. The ID is server-generated. Example: `projects/123/locations/us/workflows/345`",
          "readOnly": true
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness."
        },
        "tasks": {
          "description": "The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.",
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaMigrationTask"
          }
        },
        "createTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. Time when the workflow was created."
        },
        "lastUpdateTime": {
          "type": "string",
          "description": "Output only. Time when the workflow was last updated.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "state": {
          "type": "string",
          "enumDescriptions": [
            "Workflow state is unspecified.",
            "Workflow is in draft status, i.e. tasks are not yet eligible for execution.",
            "Workflow is running (i.e. tasks are eligible for execution).",
            "Workflow is paused. Tasks currently in progress may continue, but no further tasks will be scheduled.",
            "Workflow is complete. There should not be any task in a non-terminal state, but if they are (e.g. forced termination), they will not be scheduled."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "DRAFT",
            "RUNNING",
            "PAUSED",
            "COMPLETED"
          ],
          "readOnly": true,
          "description": "Output only. That status of the workflow."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaMigrationWorkflow",
      "description": "A migration workflow which specifies what needs to be done for an EDW migration."
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslateQueryRequest": {
      "properties": {
        "translationEngine": {
          "enumDescriptions": [
            "The engine is unspecified.",
            "Compiler-based translation engine.",
            "AI-based translation engine.",
            "COMPILER with AI enhanced translation engine."
          ],
          "type": "string",
          "enum": [
            "TRANSLATION_ENGINE_UNSPECIFIED",
            "COMPILER",
            "AI",
            "COMPILER_AI_ENHANCED"
          ],
          "description": "Optional. The translation engine to use."
        },
        "metadataStoreDataset": {
          "description": "Optional. Expects a valid BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset instead of parsing a metadata.zip file.",
          "type": "string"
        },
        "gcsPath": {
          "description": "Optional. The Cloud Storage path for a directory of config files applied during translation.",
          "type": "string"
        },
        "sourceDialect": {
          "enumDescriptions": [
            "SqlTranslationSourceDialect not specified.",
            "Teradata SQL.",
            "Redshift SQL.",
            "Oracle SQL.",
            "HiveQL SQL.",
            "SPARK SQL.",
            "Snowflake SQL.",
            "IBM Netezza SQL.",
            "Azure Synapse",
            "Vertica.",
            "SQL Server dialect.",
            "Presto.",
            "PostgreSQL.",
            "MySQL.",
            "BTEQ.",
            "SQLite dialect.",
            "DB2 dialect.",
            "Greenplum dialect.",
            "Demo dialect.",
            "Demo dialect.",
            "Impala dialect."
          ],
          "description": "Required. The source SQL dialect of `queries`.",
          "type": "string",
          "enum": [
            "SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED",
            "TERADATA",
            "REDSHIFT",
            "ORACLE",
            "HIVEQL",
            "SPARKSQL",
            "SNOWFLAKE",
            "NETEZZA",
            "AZURESYNAPSE",
            "VERTICA",
            "SQLSERVER",
            "PRESTO",
            "POSTGRESQL",
            "MYSQL",
            "BTEQ",
            "SQLITE",
            "DB2",
            "GREENPLUM",
            "LEGACY_SQL",
            "UNOPTIMIZED_BQ_SQL",
            "IMPALA"
          ]
        },
        "query": {
          "type": "string",
          "description": "Required. The query to be translated."
        },
        "translationConfigId": {
          "description": "Optional. The id of the translation config to apply. Accepted id: batch translation job Id in the format of \"projects/xxxxxxx/locations/xx/workflows/xxxxxx\".",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Deprecated: Use the regular CreateMigrationWorkflow method instead. The 'bigquerymigration.translation.translate' permission is replaced by 'bigquerymigration.workflows.create', 'bigquerymigration.workflows.get', and 'bigquerymigration.workflows.list'. The request of translating a SQL query to GoogleSQL.",
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslateQueryRequest",
      "deprecated": true
    },
    "GoogleProtobufEmpty": {
      "properties": {},
      "type": "object",
      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
      "id": "GoogleProtobufEmpty"
    },
    "GoogleCloudBigqueryMigrationV2alphaMigrationTaskOrchestrationResult": {
      "id": "GoogleCloudBigqueryMigrationV2alphaMigrationTaskOrchestrationResult",
      "type": "object",
      "properties": {
        "assessmentDetails": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaAssessmentOrchestrationResultDetails",
          "description": "Details specific to assessment task types."
        },
        "taskOutputs": {
          "type": "object",
          "additionalProperties": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTaskOutput"
          },
          "description": "The map of task output types to the task outputs, e.g. \"LINEAGE\"."
        },
        "translationTaskResult": {
          "description": "Details specific to translation task types.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationTaskResult"
        }
      },
      "description": "Additional information from the orchestrator when it is done with the task orchestration."
    },
    "GoogleCloudBigqueryMigrationV2alphaDialect": {
      "description": "The possible dialect options for translation.",
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaDialect",
      "properties": {
        "sparksqlDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSparkSQLDialect",
          "description": "The SparkSQL dialect"
        },
        "azureSynapseDialect": {
          "description": "The Azure Synapse dialect",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaAzureSynapseDialect"
        },
        "mysqlDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaMySQLDialect",
          "description": "The MySQL dialect"
        },
        "hiveqlDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaHiveQLDialect",
          "description": "The HiveQL dialect"
        },
        "sqlServerDialect": {
          "description": "The SQL Server dialect",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSQLServerDialect"
        },
        "verticaDialect": {
          "description": "The Vertica dialect",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaVerticaDialect"
        },
        "postgresqlDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaPostgresqlDialect",
          "description": "The Postgresql dialect"
        },
        "redshiftDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaRedshiftDialect",
          "description": "The Redshift dialect"
        },
        "greenplumDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaGreenplumDialect",
          "description": "Greenplum dialect"
        },
        "oracleDialect": {
          "description": "The Oracle dialect",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaOracleDialect"
        },
        "db2Dialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaDB2Dialect",
          "description": "DB2 dialect"
        },
        "prestoDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaPrestoDialect",
          "description": "The Presto dialect"
        },
        "bigqueryDialect": {
          "description": "The BigQuery dialect",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaBigQueryDialect"
        },
        "snowflakeDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSnowflakeDialect",
          "description": "The Snowflake dialect"
        },
        "teradataDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTeradataDialect",
          "description": "The Teradata dialect"
        },
        "sqliteDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSQLiteDialect",
          "description": "SQLite dialect"
        },
        "netezzaDialect": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaNetezzaDialect",
          "description": "The Netezza dialect"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationConfigDetails": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationConfigDetails",
      "properties": {
        "gcsTargetPath": {
          "type": "string",
          "description": "The Cloud Storage path to write back the corresponding input files to."
        },
        "sourceDialect": {
          "description": "The dialect of the input files.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaDialect"
        },
        "sourceTargetLocationMapping": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaSourceTargetLocationMapping"
          },
          "type": "array",
          "description": "The mapping from source location paths to target location paths."
        },
        "requestSource": {
          "type": "string",
          "description": "The indicator to show translation request initiator."
        },
        "nameMappingList": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaObjectNameMappingList",
          "description": "The mapping of objects to their desired output names in list form."
        },
        "gcsSourcePath": {
          "description": "The Cloud Storage path for a directory of files to translate in a task.",
          "type": "string"
        },
        "targetDialect": {
          "description": "The target dialect for the engine to translate the input to.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaDialect"
        },
        "dialectDetectionConfig": {
          "description": "Optional. Configuration for detecting the dialect of the input files. If unset, dialect detection uses the default `AUTO` mode.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaDialectDetectionConfig"
        },
        "sourceEnv": {
          "description": "The default source environment values for the translation.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSourceEnv"
        },
        "targetTypes": {
          "description": "The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "description": "The translation config to capture necessary settings for a translation task and subtask."
    },
    "GoogleCloudBigqueryMigrationV2alphaTeradataOptions": {
      "description": "Teradata SQL specific translation task related settings.",
      "properties": {},
      "id": "GoogleCloudBigqueryMigrationV2alphaTeradataOptions",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaPoint": {
      "type": "object",
      "description": "A single data point in a time series.",
      "properties": {
        "interval": {
          "description": "The time interval to which the data point applies. For `GAUGE` metrics, the start time does not need to be supplied, but if it is supplied, it must equal the end time. For `DELTA` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTimeInterval"
        },
        "value": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTypedValue",
          "description": "The value of the data point."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaPoint"
    },
    "GoogleCloudBigqueryMigrationV2alphaNameMappingKey": {
      "id": "GoogleCloudBigqueryMigrationV2alphaNameMappingKey",
      "description": "The potential components of a full name mapping that will be mapped during translation in the source data warehouse.",
      "properties": {
        "database": {
          "type": "string",
          "description": "The database name (BigQuery project ID equivalent in the source data warehouse)."
        },
        "attribute": {
          "description": "The attribute name (BigQuery column equivalent in the source data warehouse).",
          "type": "string"
        },
        "type": {
          "description": "The type of object that is being mapped.",
          "type": "string",
          "enum": [
            "TYPE_UNSPECIFIED",
            "DATABASE",
            "SCHEMA",
            "RELATION",
            "ATTRIBUTE",
            "RELATION_ALIAS",
            "ATTRIBUTE_ALIAS",
            "FUNCTION"
          ],
          "enumDescriptions": [
            "Unspecified name mapping type.",
            "The object being mapped is a database.",
            "The object being mapped is a schema.",
            "The object being mapped is a relation.",
            "The object being mapped is an attribute.",
            "The object being mapped is a relation alias.",
            "The object being mapped is a an attribute alias.",
            "The object being mapped is a function."
          ]
        },
        "schema": {
          "type": "string",
          "description": "The schema name (BigQuery dataset equivalent in the source data warehouse)."
        },
        "relation": {
          "type": "string",
          "description": "The relation name (BigQuery table or view equivalent in the source data warehouse)."
        }
      },
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetails": {
      "type": "object",
      "properties": {
        "inputPath": {
          "description": "The Cloud Storage path for translation input files.",
          "type": "string"
        },
        "teradataOptions": {
          "$ref": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTeradataOptions",
          "description": "The Teradata SQL specific settings for the translation task."
        },
        "identifierSettings": {
          "description": "The settings for SQL identifiers.",
          "$ref": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaIdentifierSettings"
        },
        "specialTokenMap": {
          "description": "The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.",
          "type": "object",
          "additionalProperties": {
            "enumDescriptions": [
              "Token type is not specified.",
              "Token type as string.",
              "Token type as integer.",
              "Token type as numeric.",
              "Token type as boolean.",
              "Token type as float.",
              "Token type as date.",
              "Token type as timestamp."
            ],
            "type": "string",
            "enum": [
              "TOKEN_TYPE_UNSPECIFIED",
              "STRING",
              "INT64",
              "NUMERIC",
              "BOOL",
              "FLOAT64",
              "DATE",
              "TIMESTAMP"
            ]
          }
        },
        "translationExceptionTable": {
          "description": "Specifies the exact name of the bigquery table (\"dataset.table\") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.",
          "type": "string"
        },
        "outputPath": {
          "description": "The Cloud Storage path for translation output files.",
          "type": "string"
        },
        "fileEncoding": {
          "description": "The file encoding type.",
          "type": "string",
          "enumDescriptions": [
            "File encoding setting is not specified.",
            "File encoding is UTF_8.",
            "File encoding is ISO_8859_1.",
            "File encoding is US_ASCII.",
            "File encoding is UTF_16.",
            "File encoding is UTF_16LE.",
            "File encoding is UTF_16BE."
          ],
          "enum": [
            "FILE_ENCODING_UNSPECIFIED",
            "UTF_8",
            "ISO_8859_1",
            "US_ASCII",
            "UTF_16",
            "UTF_16LE",
            "UTF_16BE"
          ]
        },
        "bteqOptions": {
          "description": "The BTEQ specific settings for the translation task.",
          "$ref": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaBteqOptions"
        },
        "schemaPath": {
          "type": "string",
          "description": "The Cloud Storage path to DDL files as table schema to assist semantic translation."
        },
        "filePaths": {
          "description": "Cloud Storage files to be processed for translation.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationFileMapping"
          },
          "type": "array"
        },
        "filter": {
          "$ref": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaFilter",
          "description": "The filter applied to translation details."
        }
      },
      "description": "DEPRECATED! Use TranslationTaskDetails defined in com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails instead. The translation task details to capture necessary settings for a translation task and subtask.",
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationTaskDetails"
    },
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTeradataOptions": {
      "description": "Teradata SQL specific translation task related settings.",
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTeradataOptions",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaLineageOutputRecognizedInput": {
      "id": "GoogleCloudBigqueryMigrationV2alphaLineageOutputRecognizedInput",
      "description": "Information about lineage input of the given type that lineage generation recognized. If you expected to process more of the given input, verify your input was uploaded and is in the correct format and the request to generate lineage correctly specified the input location.",
      "properties": {
        "type": {
          "description": "Output only. The type of the input.",
          "enum": [
            "TYPE_UNSPECIFIED",
            "METADATA",
            "QUERY_LOG",
            "SCRIPT"
          ],
          "readOnly": true,
          "enumDescriptions": [
            "The type is not specified.",
            "The input is metadata.",
            "The input is a query log.",
            "The input is a SQL script."
          ],
          "type": "string"
        },
        "uncompressedSizeBytes": {
          "description": "Output only. The uncompressed size of the recognized input of the given type.",
          "type": "string",
          "format": "int64",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaLiteral": {
      "type": "object",
      "description": "Literal data.",
      "properties": {
        "literalBytes": {
          "description": "Literal byte data.",
          "format": "byte",
          "type": "string"
        },
        "literalString": {
          "type": "string",
          "description": "Literal string data."
        },
        "relativePath": {
          "type": "string",
          "description": "Required. The identifier of the literal entry."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaLiteral"
    },
    "GoogleCloudBigqueryMigrationV2alphaTaskOutput": {
      "id": "GoogleCloudBigqueryMigrationV2alphaTaskOutput",
      "description": "The task output for a task type including the status and any errors.",
      "type": "object",
      "properties": {
        "processingError": {
          "$ref": "GoogleRpcErrorInfo",
          "description": "An explanation that may be populated when the task output is in FAILED state."
        },
        "validationOutput": {
          "readOnly": true,
          "description": "Output only. The output of the task with output type \"VALIDATION\".",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaValidationOutput"
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "SUCCEEDED",
            "FAILED"
          ],
          "readOnly": true,
          "description": "Output only. The current state of the task output.",
          "enumDescriptions": [
            "Task output state is unspecified.",
            "Task output is pending.",
            "Task output is succeeded.",
            "Task output is failed. This does not mean that there is no useful information in the output; partial outputs or failure details may be available."
          ],
          "type": "string"
        },
        "lineageOutput": {
          "description": "The output of the task with output type \"LINEAGE\".",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaLineageOutput"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaGcsReportLogMessage": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaGcsReportLogMessage",
      "properties": {
        "filePath": {
          "type": "string",
          "description": "The file path in which the error occurred"
        },
        "effect": {
          "type": "string",
          "description": "Effect of the error/warning. Example: COMPATIBILITY"
        },
        "category": {
          "type": "string",
          "description": "Category of the error/warning. Example: SyntaxError"
        },
        "sourceScriptColumn": {
          "format": "int32",
          "type": "integer",
          "description": "Specifies the column from the source texts where the error occurred. (0 based, -1 for messages without column location) example: 6"
        },
        "message": {
          "description": "Detailed message of the record.",
          "type": "string"
        },
        "objectName": {
          "description": "Name of the affected object in the log message.",
          "type": "string"
        },
        "severity": {
          "type": "string",
          "description": "Severity of the translation record."
        },
        "scriptContext": {
          "description": "The script context (obfuscated) in which the error occurred",
          "type": "string"
        },
        "action": {
          "description": "Category of the error/warning. Example: SyntaxError",
          "type": "string"
        },
        "sourceScriptLine": {
          "format": "int32",
          "description": "Specifies the row from the source text where the error occurred (0 based, -1 for messages without line location). Example: 2",
          "type": "integer"
        },
        "filename": {
          "type": "string",
          "description": "The file name in which the error occurred"
        }
      },
      "description": "A record in the aggregate CSV report for a migration workflow"
    },
    "GoogleCloudBigqueryMigrationV2alphaTeradataDialect": {
      "description": "The dialect definition for Teradata.",
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaTeradataDialect",
      "properties": {
        "mode": {
          "description": "Which Teradata sub-dialect mode the user specifies.",
          "enumDescriptions": [
            "Unspecified mode.",
            "Teradata SQL mode.",
            "BTEQ mode (which includes SQL)."
          ],
          "type": "string",
          "enum": [
            "MODE_UNSPECIFIED",
            "SQL",
            "BTEQ"
          ]
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaFilter": {
      "properties": {
        "inputFileExclusionPrefixes": {
          "description": "The list of prefixes used to exclude processing for input files.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaFilter",
      "type": "object",
      "description": "The filter applied to fields of translation details."
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationResultDetails": {
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationResultDetails",
      "deprecated": true,
      "description": "Deprecated: Use the regular CreateMigrationWorkflow method instead. The 'bigquerymigration.translation.translate' permission is replaced by 'bigquerymigration.workflows.create', 'bigquerymigration.workflows.get', and 'bigquerymigration.workflows.list'. Translation details like metrics, warning/error records.",
      "properties": {
        "translationMetrics": {
          "description": "Translation metrics. E.g., Compiler_Clean: 5, Compiler_BestEffort: 2, Emitter_Clean: 1,Emitter_Error: 3, etc.",
          "type": "object",
          "additionalProperties": {
            "format": "int32",
            "type": "integer"
          }
        },
        "reportRecords": {
          "description": "Translation details about warning/error records.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationReportRecord"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "GoogleRpcErrorInfo": {
      "type": "object",
      "properties": {
        "reason": {
          "type": "string",
          "description": "The reason for the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE."
        },
        "metadata": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.",
          "type": "object"
        },
        "domain": {
          "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".",
          "type": "string"
        }
      },
      "id": "GoogleRpcErrorInfo",
      "description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }"
    },
    "GoogleCloudBigqueryMigrationV2alphaLineageOutputProgressReportWorkSummary": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaLineageOutputProgressReportWorkSummary",
      "description": "Summary of work in the given state.",
      "properties": {
        "state": {
          "type": "string",
          "enumDescriptions": [
            "The state is not specified.",
            "Work that was processed successfully.",
            "Work that failed processing.",
            "Work that is currently being processed or queued for processing.",
            "Work that was recognised as necessary to fully process inputs but was skipped due to system limitations."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILED",
            "IN_PROGRESS",
            "SKIPPED"
          ],
          "description": "Output only. The state of the work this summary describes.",
          "readOnly": true
        },
        "size": {
          "type": "string",
          "description": "Output only. Size of the work in the given State. Size counts \"units of work\". Units represent arbitrary division of work; there's no expectation each unit takes similar time to process.",
          "format": "int64",
          "readOnly": true
        },
        "comment": {
          "description": "Output only. Human-readable comment.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaErrorDetail": {
      "properties": {
        "location": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaErrorLocation",
          "description": "Optional. The exact location within the resource (if applicable)."
        },
        "errorInfo": {
          "$ref": "GoogleRpcErrorInfo",
          "description": "Required. Describes the cause of the error with structured detail."
        }
      },
      "description": "Provides details for errors, e.g. issues that where encountered when processing a subtask.",
      "id": "GoogleCloudBigqueryMigrationV2alphaErrorDetail",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaIdentifierSettings": {
      "description": "Settings related to SQL identifiers.",
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaIdentifierSettings",
      "type": "object",
      "properties": {
        "outputIdentifierCase": {
          "enumDescriptions": [
            "The identifier case is not specified.",
            "Identifiers' cases will be kept as the original cases.",
            "Identifiers will be in upper cases.",
            "Identifiers will be in lower cases."
          ],
          "type": "string",
          "enum": [
            "IDENTIFIER_CASE_UNSPECIFIED",
            "ORIGINAL",
            "UPPER",
            "LOWER"
          ],
          "description": "The setting to control output queries' identifier case."
        },
        "identifierRewriteMode": {
          "description": "Specifies the rewrite mode for SQL identifiers.",
          "enumDescriptions": [
            "SQL Identifier rewrite mode is unspecified.",
            "SQL identifiers won't be rewrite.",
            "All SQL identifiers will be rewrite."
          ],
          "type": "string",
          "enum": [
            "IDENTIFIER_REWRITE_MODE_UNSPECIFIED",
            "NONE",
            "REWRITE_ALL"
          ]
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaAssessmentTaskDetails": {
      "properties": {
        "dataSource": {
          "type": "string",
          "description": "Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted."
        },
        "inputPath": {
          "description": "Required. The Cloud Storage path for assessment input files.",
          "type": "string"
        },
        "querylogsPath": {
          "type": "string",
          "description": "Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)"
        },
        "featureHandle": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaAssessmentFeatureHandle",
          "description": "Optional. A collection of additional feature flags for this assessment."
        },
        "outputDataset": {
          "description": "Required. The BigQuery dataset for output.",
          "type": "string"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaAssessmentTaskDetails",
      "type": "object",
      "description": "Assessment task config."
    },
    "GoogleCloudBigqueryMigrationV2alphaPostgresqlDialect": {
      "type": "object",
      "properties": {},
      "id": "GoogleCloudBigqueryMigrationV2alphaPostgresqlDialect",
      "description": "The dialect definition for Postgresql."
    },
    "GoogleCloudBigqueryMigrationTasksAssessmentV2alphaAssessmentTaskDetails": {
      "id": "GoogleCloudBigqueryMigrationTasksAssessmentV2alphaAssessmentTaskDetails",
      "description": "DEPRECATED! Use the AssessmentTaskDetails defined in com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails instead. Assessment task details.",
      "type": "object",
      "properties": {
        "querylogsPath": {
          "description": "Optional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)",
          "type": "string"
        },
        "inputPath": {
          "description": "Required. The Cloud Storage path for assessment input files.",
          "type": "string"
        },
        "outputDataset": {
          "type": "string",
          "description": "Required. The BigQuery dataset for output."
        },
        "dataSource": {
          "description": "Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.",
          "type": "string"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaSqlTranslationErrorDetail": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationErrorDetail",
      "properties": {
        "message": {
          "description": "A human-readable description of the error.",
          "type": "string"
        },
        "column": {
          "description": "Specifie the column from the source texts where the error occurred.",
          "type": "string",
          "format": "int64"
        },
        "row": {
          "description": "Specifies the row from the source text where the error occurred.",
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Structured error object capturing the error message and the location in the source text where the error occurs. Deprecated! Use TranslationReportRecord to define error/warning messages.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaLineageOutput": {
      "id": "GoogleCloudBigqueryMigrationV2alphaLineageOutput",
      "type": "object",
      "properties": {
        "webappUri": {
          "type": "string",
          "description": "The URI of the webapp that visualizes the lineage. The user needs the `bigquerymigration.googleapis.com/lineageDbs.query` IAM permission to use the webapp."
        },
        "recognizedInputs": {
          "description": "Output only. Recognized lineage inputs. All inputs are processed only if the task succeeds and all work is in state `SUCCEEDED` (in particular, nothing is `SKIPPED`). Even with all inputs processed successfully, there may be transpiler errors present leading to inaccurate lineage.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaLineageOutputRecognizedInput"
          },
          "readOnly": true,
          "type": "array"
        },
        "processingProgressReports": {
          "type": "array",
          "description": "Output only. Work processing progress reports broken up by processing stage.",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaLineageOutputProgressReport"
          },
          "readOnly": true
        }
      },
      "description": "The output of a task with output type \"LINEAGE\". Actual generated lineage can be queried separately (see webapp_uri), this message contains only metadata: processing status, errors, etc."
    },
    "GoogleCloudBigqueryMigrationV2alphaMigrationTaskResult": {
      "properties": {
        "taskOutputs": {
          "additionalProperties": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTaskOutput"
          },
          "description": "The map of task output types to the task outputs, e.g. \"LINEAGE\".",
          "type": "object"
        },
        "assessmentDetails": {
          "description": "Details specific to assessment task types.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaAssessmentOrchestrationResultDetails"
        },
        "translationTaskResult": {
          "description": "Details specific to translation task types.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationTaskResult"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaMigrationTaskResult",
      "description": "The migration task result.",
      "type": "object"
    },
    "GoogleApiDistributionBucketOptions": {
      "properties": {
        "linearBuckets": {
          "description": "The linear bucket.",
          "$ref": "GoogleApiDistributionBucketOptionsLinear"
        },
        "exponentialBuckets": {
          "$ref": "GoogleApiDistributionBucketOptionsExponential",
          "description": "The exponential buckets."
        },
        "explicitBuckets": {
          "$ref": "GoogleApiDistributionBucketOptionsExplicit",
          "description": "The explicit buckets."
        }
      },
      "type": "object",
      "id": "GoogleApiDistributionBucketOptions",
      "description": "`BucketOptions` describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. `BucketOptions` does not include the number of values in each bucket. A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i \u003e 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite."
    },
    "GoogleCloudBigqueryMigrationV2alphaMigrationSubtask": {
      "description": "A subtask for a migration which carries details about the configuration of the subtask. The content of the details should not matter to the end user, but is a contract between the subtask creator and subtask worker.",
      "properties": {
        "resourceErrorDetails": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaResourceErrorDetail"
          },
          "description": "Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.",
          "readOnly": true
        },
        "lastUpdateTime": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Time when the subtask was last updated.",
          "format": "google-datetime"
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. Time when the subtask was created.",
          "type": "string",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the Subtask. The migration service does not check whether this is a known type. It is up to the task creator (i.e. orchestrator or worker) to ensure it only creates subtasks for which there are compatible workers polling for Subtasks."
        },
        "state": {
          "enumDescriptions": [
            "The state is unspecified.",
            "The subtask is ready, i.e. it is ready for execution.",
            "The subtask is running, i.e. it is assigned to a worker for execution.",
            "The subtask finished successfully.",
            "The subtask finished unsuccessfully.",
            "The subtask is paused, i.e., it will not be scheduled. If it was already assigned,it might still finish but no new lease renewals will be granted.",
            "The subtask is pending a dependency. It will be scheduled once its dependencies are done."
          ],
          "description": "Output only. The current state of the subtask.",
          "type": "string",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "ACTIVE",
            "RUNNING",
            "SUCCEEDED",
            "FAILED",
            "PAUSED",
            "PENDING_DEPENDENCY"
          ]
        },
        "name": {
          "readOnly": true,
          "description": "Output only. Immutable. The resource name for the migration subtask. The ID is server-generated. Example: `projects/123/locations/us/workflows/345/subtasks/678`",
          "type": "string"
        },
        "resourceErrorCount": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "Output only. The number or resources with errors. Note: This is not the total number of errors as each resource can have more than one error. This is used to indicate truncation by having a `resource_error_count` that is higher than the size of `resource_error_details`."
        },
        "processingError": {
          "readOnly": true,
          "description": "Output only. An explanation that may be populated when the task is in FAILED state.",
          "$ref": "GoogleRpcErrorInfo"
        },
        "taskId": {
          "description": "The unique ID of the task to which this subtask belongs.",
          "type": "string"
        },
        "metrics": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTimeSeries"
          },
          "description": "Output only. The metrics for the subtask.",
          "readOnly": true,
          "type": "array"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaMigrationSubtask",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaAssessmentFeatureHandle": {
      "type": "object",
      "description": "User-definable feature flags for assessment tasks.",
      "id": "GoogleCloudBigqueryMigrationV2alphaAssessmentFeatureHandle",
      "properties": {
        "addShareableDataset": {
          "description": "Optional. Whether to create a dataset containing non-PII data in addition to the output dataset.",
          "type": "boolean"
        },
        "generateTcoReport": {
          "type": "boolean",
          "description": "Optional. Whether the TCO report Google Doc generation is allowlisted for the project."
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaValidationTask": {
      "properties": {
        "gcsUri": {
          "description": "Required. The Cloud Storage URI for validation staging, configuration, and output artifacts (i.e., `gs:///validationOutputs////`)",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaValidationTask",
      "description": "Request to create a validation workflow."
    },
    "GoogleCloudBigqueryMigrationV2alphaStartMigrationWorkflowRequest": {
      "description": "A request to start a previously created migration workflow.",
      "type": "object",
      "properties": {},
      "id": "GoogleCloudBigqueryMigrationV2alphaStartMigrationWorkflowRequest"
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationTaskResult": {
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationTaskResult",
      "properties": {
        "reportLogMessages": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaGcsReportLogMessage"
          },
          "type": "array",
          "description": "The records from the aggregate CSV report for a migration workflow."
        },
        "consoleUri": {
          "type": "string",
          "description": "The Cloud Console URI for the migration workflow."
        },
        "translatedLiterals": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaLiteral"
          },
          "description": "The list of the translated literals."
        }
      },
      "type": "object",
      "description": "Translation specific result details from the migration task."
    },
    "GoogleApiDistributionExemplar": {
      "id": "GoogleApiDistributionExemplar",
      "type": "object",
      "properties": {
        "attachments": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object. Contains field @type with type URL.",
              "type": "any"
            }
          },
          "description": "Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.",
          "type": "array"
        },
        "value": {
          "description": "Value of the exemplar point. This value determines to which bucket the exemplar belongs.",
          "format": "double",
          "type": "number"
        },
        "timestamp": {
          "type": "string",
          "format": "google-datetime",
          "description": "The observation (sampling) time of the above value."
        }
      },
      "description": "Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc."
    },
    "GoogleCloudBigqueryMigrationV2alphaSnowflakeDialect": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSnowflakeDialect",
      "properties": {},
      "type": "object",
      "description": "The dialect definition for Snowflake."
    },
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationFileMapping": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaTranslationFileMapping",
      "description": "Mapping between an input and output file to be translated in a subtask.",
      "properties": {
        "inputPath": {
          "type": "string",
          "description": "The Cloud Storage path for a file to translation in a subtask."
        },
        "outputPath": {
          "type": "string",
          "description": "The Cloud Storage path to write back the corresponding input file to."
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaValidationOutput": {
      "description": "The output of a task with output type \"VALIDATION\".",
      "id": "GoogleCloudBigqueryMigrationV2alphaValidationOutput",
      "type": "object",
      "properties": {
        "totalRowCount": {
          "format": "int64",
          "description": "Output only. Total number of rows in the source table. Falls back to the number of source rows queried, then to the target table row count, when unknown.",
          "readOnly": true,
          "type": "string"
        },
        "targetTable": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Canonical target table identifier."
        },
        "resultsDataset": {
          "type": "string",
          "description": "Output only. BigQuery dataset storing the validation observability results.",
          "readOnly": true
        },
        "mismatchRate": {
          "readOnly": true,
          "description": "Output only. Ratio of content-mismatched cells to compared cells in joined rows.",
          "format": "double",
          "type": "number"
        },
        "webappUri": {
          "description": "Output only. URI of the standalone Validation UI scoped to the project, location and results dataset of this run.",
          "readOnly": true,
          "type": "string"
        },
        "mismatchCount": {
          "description": "Output only. Number of mismatched cells detected by the data comparison.",
          "format": "int64",
          "type": "string",
          "readOnly": true
        },
        "runId": {
          "description": "Output only. Unique identifier of the validation run.",
          "readOnly": true,
          "type": "string"
        },
        "sourceTable": {
          "description": "Output only. Canonical source table identifier.",
          "type": "string",
          "readOnly": true
        },
        "state": {
          "enumDescriptions": [
            "The validation state is not specified.",
            "Validation completed and found no mismatches (or only mismatches within tolerance).",
            "Validation completed and detected one or more mismatches.",
            "Validation failed to complete."
          ],
          "type": "string",
          "readOnly": true,
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "COMPLETED_WITH_MISMATCHES",
            "FAILED"
          ],
          "description": "Output only. High-level validation outcome. This is authoritative; do not derive the outcome from `mismatch_count`, which covers data mismatches only."
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaSourceLocation": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSourceLocation",
      "properties": {
        "gcsPath": {
          "type": "string",
          "description": "The Cloud Storage path for a directory of files."
        }
      },
      "type": "object",
      "description": "Represents one path to the location that holds source data."
    },
    "GoogleCloudBigqueryMigrationV2alphaDatasetReference": {
      "description": "Reference to a BigQuery dataset.",
      "properties": {
        "datasetId": {
          "description": "A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.",
          "type": "string"
        },
        "datasetIdAlternative": {
          "description": "The alternative field that will be used when the service is not able to translate the received data to the dataset_id field.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "projectId": {
          "description": "The ID of the project containing this dataset.",
          "type": "string"
        },
        "projectIdAlternative": {
          "type": "array",
          "description": "The alternative field that will be used when the service is not able to translate the received data to the project_id field.",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaDatasetReference"
    },
    "GoogleCloudBigqueryMigrationV2alphaPrestoDialect": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaPrestoDialect",
      "description": "The dialect definition for Presto.",
      "properties": {}
    },
    "GoogleCloudBigqueryMigrationV2alphaNetezzaDialect": {
      "id": "GoogleCloudBigqueryMigrationV2alphaNetezzaDialect",
      "type": "object",
      "properties": {},
      "description": "The dialect definition for Netezza."
    },
    "GoogleCloudBigqueryMigrationV2alphaGreenplumDialect": {
      "type": "object",
      "properties": {},
      "id": "GoogleCloudBigqueryMigrationV2alphaGreenplumDialect",
      "description": "The dialect definition for Greenplum."
    },
    "GoogleCloudBigqueryMigrationV2alphaBteqOptions": {
      "properties": {
        "fileReplacementMap": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).",
          "type": "object"
        },
        "defaultPathUri": {
          "type": "string",
          "description": "The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map."
        },
        "projectDataset": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaDatasetReference",
          "description": "Specifies the project and dataset in BigQuery that will be used for external table creation during the translation."
        }
      },
      "description": "BTEQ translation task related settings.",
      "id": "GoogleCloudBigqueryMigrationV2alphaBteqOptions",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaDB2Dialect": {
      "type": "object",
      "description": "The dialect definition for DB2.",
      "properties": {},
      "id": "GoogleCloudBigqueryMigrationV2alphaDB2Dialect"
    },
    "GoogleRpcResourceInfo": {
      "description": "Describes the resource that is being accessed.",
      "type": "object",
      "id": "GoogleRpcResourceInfo",
      "properties": {
        "owner": {
          "type": "string",
          "description": "The owner of the resource (optional). For example, \"user:\" or \"project:\"."
        },
        "resourceName": {
          "type": "string",
          "description": "The name of the resource being accessed. For example, a shared calendar name: \"example.com_4fghdhgsrgh@group.calendar.google.com\", if the current error is google.rpc.Code.PERMISSION_DENIED."
        },
        "description": {
          "description": "Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project.",
          "type": "string"
        },
        "resourceType": {
          "type": "string",
          "description": "A name for the type of resource being accessed, e.g. \"sql table\", \"cloud storage bucket\", \"file\", \"Google calendar\"; or the type URL of the resource: e.g. \"type.googleapis.com/google.pubsub.v1.Topic\"."
        }
      }
    },
    "GoogleApiDistributionBucketOptionsLinear": {
      "properties": {
        "offset": {
          "type": "number",
          "description": "Lower bound of the first bucket.",
          "format": "double"
        },
        "width": {
          "format": "double",
          "description": "Must be greater than 0.",
          "type": "number"
        },
        "numFiniteBuckets": {
          "type": "integer",
          "format": "int32",
          "description": "Must be greater than 0."
        }
      },
      "id": "GoogleApiDistributionBucketOptionsLinear",
      "description": "Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 \u003c= i \u003c N-1): offset + (width * i). Lower bound (1 \u003c= i \u003c N): offset + (width * (i - 1)).",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaAssessmentOrchestrationResultDetails": {
      "description": "Details for an assessment task orchestration result.",
      "properties": {
        "outputTablesSchemaVersion": {
          "description": "Optional. The version used for the output table schemas.",
          "type": "string"
        },
        "additionalReportUris": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Mapping with additional report URIs. This gives a mapping of report names to their URIs. The possible values for the keys are documented in the user guide.",
          "type": "object"
        },
        "reportUri": {
          "type": "string",
          "description": "Optional. The URI of the Data Studio report."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaAssessmentOrchestrationResultDetails",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSourceSpec": {
      "description": "Represents one path to the location that holds source data.",
      "properties": {
        "gcsFilePath": {
          "description": "The path to a single source file in Cloud Storage.",
          "type": "string"
        },
        "literal": {
          "description": "Source literal.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaLiteral"
        },
        "encoding": {
          "type": "string",
          "description": "Optional. The optional field to specify the encoding of the sql bytes."
        },
        "baseUri": {
          "description": "The base URI for all files to be read in as sources for translation.",
          "type": "string"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaSourceSpec",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSqlTranslationError": {
      "properties": {
        "errorType": {
          "enumDescriptions": [
            "SqlTranslationErrorType not specified.",
            "Failed to parse the input text as a SQL query.",
            "Found unsupported functions in the input SQL query that are not able to translate."
          ],
          "type": "string",
          "enum": [
            "SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED",
            "SQL_PARSE_ERROR",
            "UNSUPPORTED_SQL_FUNCTION"
          ],
          "description": "The type of SQL translation error."
        },
        "errorDetail": {
          "description": "Specifies the details of the error, including the error message and location from the source text.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationErrorDetail"
        }
      },
      "description": "The detailed error object if the SQL translation job fails. Deprecated! Use TranslationReportRecord to define error messages.",
      "type": "object",
      "deprecated": true,
      "id": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationError"
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationSuggestion": {
      "description": "LLM generated suggestion on fixing translation errors",
      "properties": {
        "suggestionId": {
          "description": "Suggestion ID.",
          "type": "string"
        },
        "validationResult": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSqlValidationResult",
          "description": "Validation result of the suggestion."
        },
        "scriptLocation": {
          "description": "Location where the suggestion should be applied in the output script. If unset, the suggestion should be applied to the whole script.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaScriptLocation"
        },
        "suggestion": {
          "description": "Translation suggestion.",
          "type": "string"
        }
      },
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationSuggestion"
    },
    "GoogleCloudBigqueryMigrationV2alphaTimeSeries": {
      "properties": {
        "points": {
          "description": "Required. The data points of this time series. When listing time series, points are returned in reverse time order. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaPoint"
          }
        },
        "metricKind": {
          "description": "Optional. The metric kind of the time series. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.",
          "enumDescriptions": [
            "Do not use this default value.",
            "An instantaneous measurement of a value.",
            "The change in a value during a time interval.",
            "A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points."
          ],
          "type": "string",
          "enum": [
            "METRIC_KIND_UNSPECIFIED",
            "GAUGE",
            "DELTA",
            "CUMULATIVE"
          ]
        },
        "valueType": {
          "enumDescriptions": [
            "Do not use this default value.",
            "The value is a boolean. This value type can be used only if the metric kind is `GAUGE`.",
            "The value is a signed 64-bit integer.",
            "The value is a double precision floating point number.",
            "The value is a text string. This value type can be used only if the metric kind is `GAUGE`.",
            "The value is a `Distribution`.",
            "The value is money."
          ],
          "type": "string",
          "enum": [
            "VALUE_TYPE_UNSPECIFIED",
            "BOOL",
            "INT64",
            "DOUBLE",
            "STRING",
            "DISTRIBUTION",
            "MONEY"
          ],
          "description": "Required. The value type of the time series."
        },
        "metric": {
          "description": "Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.",
          "type": "string"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaTimeSeries",
      "type": "object",
      "description": "The metrics object for a SubTask."
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationReportRecord": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationReportRecord",
      "properties": {
        "severity": {
          "type": "string",
          "enum": [
            "SEVERITY_UNSPECIFIED",
            "INFO",
            "WARNING",
            "ERROR"
          ],
          "enumDescriptions": [
            "SeverityType not specified.",
            "INFO type.",
            "WARNING type. The translated query may still provide useful information if all the report records are WARNING.",
            "ERROR type. Translation failed."
          ],
          "description": "Severity of the translation record."
        },
        "message": {
          "type": "string",
          "description": "Detailed message of the record."
        },
        "scriptColumn": {
          "format": "int32",
          "type": "integer",
          "description": "Specifies the column from the source texts where the error occurred. (0 based) example: 6"
        },
        "category": {
          "description": "Category of the error/warning. Example: SyntaxError",
          "type": "string"
        },
        "scriptLine": {
          "description": "Specifies the row from the source text where the error occurred (0 based). Example: 2",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "Details about a record."
    },
    "GoogleCloudBigqueryMigrationV2alphaErrorLocation": {
      "properties": {
        "column": {
          "description": "Optional. If applicable, denotes the column where the error occurred. A zero value means that there is no columns information.",
          "type": "integer",
          "format": "int32"
        },
        "line": {
          "format": "int32",
          "description": "Optional. If applicable, denotes the line where the error occurred. A zero value means that there is no line information.",
          "type": "integer"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaErrorLocation",
      "description": "Holds information about where the error is located.",
      "type": "object"
    },
    "GoogleApiDistributionRange": {
      "id": "GoogleApiDistributionRange",
      "type": "object",
      "description": "The range of the population values.",
      "properties": {
        "min": {
          "format": "double",
          "description": "The minimum of the population values.",
          "type": "number"
        },
        "max": {
          "description": "The maximum of the population values.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaTargetLocation": {
      "type": "object",
      "description": "// Represents one path to the location that holds target data.",
      "properties": {
        "gcsPath": {
          "type": "string",
          "description": "The Cloud Storage path for a directory of files."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaTargetLocation"
    },
    "GoogleCloudBigqueryMigrationV2alphaSQLServerDialect": {
      "properties": {},
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaSQLServerDialect",
      "description": "The dialect definition for SQL Server."
    },
    "GoogleCloudBigqueryMigrationV2alphaRedshiftDialect": {
      "properties": {},
      "description": "The dialect definition for Redshift.",
      "id": "GoogleCloudBigqueryMigrationV2alphaRedshiftDialect",
      "type": "object"
    },
    "GoogleApiDistributionBucketOptionsExponential": {
      "properties": {
        "numFiniteBuckets": {
          "format": "int32",
          "description": "Must be greater than 0.",
          "type": "integer"
        },
        "scale": {
          "format": "double",
          "type": "number",
          "description": "Must be greater than 0."
        },
        "growthFactor": {
          "type": "number",
          "description": "Must be greater than 1.",
          "format": "double"
        }
      },
      "id": "GoogleApiDistributionBucketOptionsExponential",
      "type": "object",
      "description": "Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 \u003c= i \u003c N-1): scale * (growth_factor ^ i). Lower bound (1 \u003c= i \u003c N): scale * (growth_factor ^ (i - 1))."
    },
    "GoogleCloudBigqueryMigrationV2alphaSuggestionConfig": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSuggestionConfig",
      "properties": {
        "skipSuggestionSteps": {
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaSuggestionStep"
          },
          "description": "The list of suggestion steps to skip."
        }
      },
      "description": "The configuration for the suggestion if requested as a target type.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaScriptLocation": {
      "description": "Location info of a script.",
      "properties": {
        "line": {
          "format": "int32",
          "type": "integer",
          "description": "Specifies the row of a script (0 based). Example: 2."
        },
        "column": {
          "format": "int32",
          "type": "integer",
          "description": "Specifies the column of a script (0 based). Example: 6."
        },
        "length": {
          "type": "integer",
          "description": "Specifies the length of a script from the starting location. Example 10.",
          "format": "int32"
        },
        "offset": {
          "type": "integer",
          "description": "Specifies the offset of a script in row of the starting location. Example 0.",
          "format": "int32"
        }
      },
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaScriptLocation"
    },
    "GoogleCloudBigqueryMigrationV2alphaNameMappingValue": {
      "properties": {
        "database": {
          "description": "The database name (BigQuery project ID equivalent in the target data warehouse).",
          "type": "string"
        },
        "relation": {
          "description": "The relation name (BigQuery table or view equivalent in the target data warehouse).",
          "type": "string"
        },
        "schema": {
          "description": "The schema name (BigQuery dataset equivalent in the target data warehouse).",
          "type": "string"
        },
        "attribute": {
          "type": "string",
          "description": "The attribute name (BigQuery column equivalent in the target data warehouse)."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaNameMappingValue",
      "description": "The potential components of a full name mapping that will be mapped during translation in the target data warehouse.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaBigQueryDialect": {
      "id": "GoogleCloudBigqueryMigrationV2alphaBigQueryDialect",
      "properties": {},
      "description": "The dialect definition for BigQuery.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSqlValidationResult": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaSqlValidationResult",
      "description": "Validation result of the translated SQL.",
      "properties": {
        "message": {
          "type": "string",
          "description": "Validation message"
        },
        "state": {
          "type": "string",
          "enumDescriptions": [
            "State not specified.",
            "Succeeded.",
            "Failure due to syntax error."
          ],
          "readOnly": true,
          "description": "Output only. Validation state",
          "enum": [
            "STATE_UNSPECIFIED",
            "SUCCEEDED",
            "FAILURE_SYNTAX_ERROR"
          ]
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationFileMapping": {
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationFileMapping",
      "description": "Mapping between an input and output file to be translated in a subtask.",
      "type": "object",
      "properties": {
        "inputPath": {
          "description": "The Cloud Storage path for a file to translation in a subtask.",
          "type": "string"
        },
        "outputPath": {
          "description": "The Cloud Storage path to write back the corresponding input file to.",
          "type": "string"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaLineageOutputProgressReport": {
      "id": "GoogleCloudBigqueryMigrationV2alphaLineageOutputProgressReport",
      "description": "Breaks down processing progress of work.",
      "properties": {
        "processingStage": {
          "description": "Output only. The processing stage this progress report describes.",
          "enumDescriptions": [
            "The stage is not specified.",
            "The input ingestion stage.",
            "The lineage DB postprocessing stage."
          ],
          "type": "string",
          "readOnly": true,
          "enum": [
            "PROCESSING_STAGE_UNSPECIFIED",
            "INPUT_INGESTION",
            "POSTPROCESSING"
          ]
        },
        "workSummaries": {
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaLineageOutputProgressReportWorkSummary"
          },
          "description": "Output only. Summaries of work broken up by the state of the work. Each work summary describes how much work is in the given state. To get numbers for the total work covered, aggregate the numbers from all summaries."
        }
      },
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSparkSQLDialect": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaSparkSQLDialect",
      "description": "The dialect definition for SparkSQL.",
      "properties": {}
    },
    "GoogleCloudBigqueryMigrationV2alphaHiveQLDialect": {
      "properties": {},
      "type": "object",
      "description": "The dialect definition for HiveQL.",
      "id": "GoogleCloudBigqueryMigrationV2alphaHiveQLDialect"
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationTaskDetails": {
      "properties": {
        "schemaPath": {
          "type": "string",
          "description": "The Cloud Storage path to DDL files as table schema to assist semantic translation."
        },
        "teradataOptions": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTeradataOptions",
          "description": "The Teradata SQL specific settings for the translation task."
        },
        "outputPath": {
          "type": "string",
          "description": "The Cloud Storage path for translation output files."
        },
        "inputPath": {
          "description": "The Cloud Storage path for translation input files.",
          "type": "string"
        },
        "translationExceptionTable": {
          "description": "Specifies the exact name of the bigquery table (\"dataset.table\") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.",
          "type": "string"
        },
        "specialTokenMap": {
          "additionalProperties": {
            "type": "string",
            "enum": [
              "TOKEN_TYPE_UNSPECIFIED",
              "STRING",
              "INT64",
              "NUMERIC",
              "BOOL",
              "FLOAT64",
              "DATE",
              "TIMESTAMP"
            ],
            "enumDescriptions": [
              "Token type is not specified.",
              "Token type as string.",
              "Token type as integer.",
              "Token type as numeric.",
              "Token type as boolean.",
              "Token type as float.",
              "Token type as date.",
              "Token type as timestamp."
            ]
          },
          "type": "object",
          "description": "The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information."
        },
        "filter": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaFilter",
          "description": "The filter applied to translation details."
        },
        "bteqOptions": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaBteqOptions",
          "description": "The BTEQ specific settings for the translation task."
        },
        "filePaths": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaTranslationFileMapping"
          },
          "description": "Cloud Storage files to be processed for translation.",
          "type": "array"
        },
        "fileEncoding": {
          "description": "The file encoding type.",
          "type": "string",
          "enum": [
            "FILE_ENCODING_UNSPECIFIED",
            "UTF_8",
            "ISO_8859_1",
            "US_ASCII",
            "UTF_16",
            "UTF_16LE",
            "UTF_16BE"
          ],
          "enumDescriptions": [
            "File encoding setting is not specified.",
            "File encoding is UTF_8.",
            "File encoding is ISO_8859_1.",
            "File encoding is US_ASCII.",
            "File encoding is UTF_16.",
            "File encoding is UTF_16LE.",
            "File encoding is UTF_16BE."
          ]
        },
        "identifierSettings": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaIdentifierSettings",
          "description": "The settings for SQL identifiers."
        }
      },
      "description": "The translation task config to capture necessary settings for a translation task and subtask.",
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationTaskDetails",
      "type": "object"
    },
    "GoogleApiDistributionBucketOptionsExplicit": {
      "description": "Specifies a set of buckets with arbitrary widths. There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 \u003c= i \u003c N-1): bounds[i] Lower bound (1 \u003c= i \u003c N); bounds[i - 1] The `bounds` field must contain at least one element. If `bounds` has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.",
      "properties": {
        "bounds": {
          "type": "array",
          "items": {
            "format": "double",
            "type": "number"
          },
          "description": "The values must be monotonically increasing."
        }
      },
      "id": "GoogleApiDistributionBucketOptionsExplicit",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaTargetSpec": {
      "properties": {
        "relativePath": {
          "description": "The relative path for the target data. Given source file `base_uri/input/sql`, the output would be `target_base_uri/sql/relative_path/input.sql`.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Represents one path to the location that holds target data.",
      "id": "GoogleCloudBigqueryMigrationV2alphaTargetSpec"
    },
    "GoogleCloudBigqueryMigrationV2alphaOracleDialect": {
      "id": "GoogleCloudBigqueryMigrationV2alphaOracleDialect",
      "description": "The dialect definition for Oracle.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudBigqueryMigrationV2alphaSqlTranslationWarning": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationWarning",
      "deprecated": true,
      "description": "The detailed warning object if the SQL translation job is completed but not semantically correct. Deprecated! Use TranslationReportRecord to define warning messages.",
      "type": "object",
      "properties": {
        "warningDetail": {
          "description": "Specifies the details of the warning, including the warning message and location from the source text.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSqlTranslationErrorDetail"
        }
      }
    },
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaDatasetReference": {
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaDatasetReference",
      "properties": {
        "datasetId": {
          "description": "Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.",
          "type": "string"
        },
        "projectId": {
          "type": "string",
          "description": "Optional. The ID of the project containing this dataset."
        }
      }
    },
    "GoogleCloudBigqueryMigrationTasksTranslationV2alphaBteqOptions": {
      "id": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaBteqOptions",
      "properties": {
        "projectDataset": {
          "$ref": "GoogleCloudBigqueryMigrationTasksTranslationV2alphaDatasetReference",
          "description": "Specifies the project and dataset in BigQuery that will be used for external table creation during the translation."
        },
        "defaultPathUri": {
          "description": "The Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.",
          "type": "string"
        },
        "fileReplacementMap": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).",
          "type": "object"
        }
      },
      "description": "BTEQ translation task related settings.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaTimeInterval": {
      "id": "GoogleCloudBigqueryMigrationV2alphaTimeInterval",
      "properties": {
        "endTime": {
          "description": "Required. The end of the time interval.",
          "format": "google-datetime",
          "type": "string"
        },
        "startTime": {
          "type": "string",
          "description": "Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.",
          "format": "google-datetime"
        }
      },
      "type": "object",
      "description": "A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time."
    },
    "GoogleCloudBigqueryMigrationV2alphaMetadataCaching": {
      "type": "object",
      "description": "Metadata caching settings.",
      "properties": {
        "maxCacheAge": {
          "description": "Optional. The maximum age of the metadata cache. If the cache is older than this value, the cache will be refreshed. A cache will not be kept for longer than 7 days. Providing no value or a value larger than 7 days will result in using the cache if available (i.e. the same as setting the value to 7 days). Setting the duration to 0 or a negative value will refresh the cache.",
          "format": "google-duration",
          "type": "string"
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaMetadataCaching"
    },
    "GoogleCloudBigqueryMigrationV2alphaResourceErrorDetail": {
      "id": "GoogleCloudBigqueryMigrationV2alphaResourceErrorDetail",
      "properties": {
        "errorCount": {
          "type": "integer",
          "format": "int32",
          "description": "Required. How many errors there are in total for the resource. Truncation can be indicated by having an `error_count` that is higher than the size of `error_details`."
        },
        "resourceInfo": {
          "description": "Required. Information about the resource where the error is located.",
          "$ref": "GoogleRpcResourceInfo"
        },
        "errorDetails": {
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaErrorDetail"
          },
          "description": "Required. The error details for the resource.",
          "type": "array"
        }
      },
      "description": "Provides details for errors and the corresponding resources.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaTranslationDetails": {
      "type": "object",
      "description": "The translation details to capture the necessary settings for a translation job.",
      "properties": {
        "targetReturnLiterals": {
          "items": {
            "type": "string"
          },
          "description": "The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.",
          "type": "array"
        },
        "sourceEnvironment": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSourceEnvironment",
          "description": "The default source environment values for the translation."
        },
        "targetTypes": {
          "type": "array",
          "description": "The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.",
          "items": {
            "type": "string"
          }
        },
        "sourceTargetMapping": {
          "description": "The mapping from source to target SQL.",
          "type": "array",
          "items": {
            "$ref": "GoogleCloudBigqueryMigrationV2alphaSourceTargetMapping"
          }
        },
        "targetBaseUri": {
          "description": "The base URI for all writes to persistent storage.",
          "type": "string"
        },
        "suggestionConfig": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSuggestionConfig",
          "description": "The configuration for the suggestion if requested as a target type."
        },
        "dialectDetectionConfig": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaDialectDetectionConfig",
          "description": "Optional. Configuration for detecting the dialect of the input files. If unset, dialect detection uses the default `AUTO` mode."
        }
      },
      "id": "GoogleCloudBigqueryMigrationV2alphaTranslationDetails"
    },
    "GoogleCloudBigqueryMigrationV2alphaSourceTargetMapping": {
      "description": "Represents one mapping from a source SQL to a target SQL.",
      "properties": {
        "sourceSpec": {
          "description": "The source SQL or the path to it.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSourceSpec"
        },
        "targetSpec": {
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTargetSpec",
          "description": "The target SQL or the path for it."
        }
      },
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaSourceTargetMapping"
    },
    "GoogleApiDistribution": {
      "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.",
      "type": "object",
      "id": "GoogleApiDistribution",
      "properties": {
        "range": {
          "description": "If specified, contains the range of the population values. The field must not be present if the `count` is zero.",
          "$ref": "GoogleApiDistributionRange"
        },
        "sumOfSquaredDeviation": {
          "format": "double",
          "type": "number",
          "description": "The sum of squared deviations from the mean of the values in the population. For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, \"The Art of Computer Programming\", Vol. 2, page 232, 3rd edition describes Welford's method for accumulating this sum in one pass. If `count` is zero then this field must be zero."
        },
        "count": {
          "description": "The number of values in the population. Must be non-negative. This value must equal the sum of the values in `bucket_counts` if a histogram is provided.",
          "type": "string",
          "format": "int64"
        },
        "bucketCounts": {
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          },
          "description": "The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1)."
        },
        "bucketOptions": {
          "description": "Defines the histogram bucket boundaries. If the distribution does not contain a histogram, then omit this field.",
          "$ref": "GoogleApiDistributionBucketOptions"
        },
        "exemplars": {
          "items": {
            "$ref": "GoogleApiDistributionExemplar"
          },
          "description": "Must be in increasing order of `value` field.",
          "type": "array"
        },
        "mean": {
          "description": "The arithmetic mean of the values in the population. If `count` is zero then this field must be zero.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaIdentifierSettings": {
      "id": "GoogleCloudBigqueryMigrationV2alphaIdentifierSettings",
      "type": "object",
      "properties": {
        "outputIdentifierCase": {
          "description": "The setting to control output queries' identifier case.",
          "type": "string",
          "enum": [
            "IDENTIFIER_CASE_UNSPECIFIED",
            "ORIGINAL",
            "UPPER",
            "LOWER"
          ],
          "enumDescriptions": [
            "The identifier case is not specified.",
            "Identifiers' cases will be kept as the original cases.",
            "Identifiers will be in upper cases.",
            "Identifiers will be in lower cases."
          ]
        },
        "identifierRewriteMode": {
          "type": "string",
          "enum": [
            "IDENTIFIER_REWRITE_MODE_UNSPECIFIED",
            "NONE",
            "REWRITE_ALL"
          ],
          "description": "Specifies the rewrite mode for SQL identifiers.",
          "enumDescriptions": [
            "SQL Identifier rewrite mode is unspecified.",
            "SQL identifiers won't be rewrite.",
            "All SQL identifiers will be rewrite."
          ]
        }
      },
      "description": "Settings related to SQL identifiers."
    },
    "GoogleCloudBigqueryMigrationV2alphaSourceEnvironment": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSourceEnvironment",
      "description": "Represents the default source environment values for the translation.",
      "properties": {
        "defaultDatabase": {
          "type": "string",
          "description": "The default database name to fully qualify SQL objects when their database name is missing."
        },
        "schemaSearchPath": {
          "description": "The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "metadataCaching": {
          "description": "Optional. Metadata caching settings. If specified, translation will cache the metadata. Otherwise, metadata will be parsed from the metadata file. The cache is stored on the service side. Hence, enabling this feature will store data from the provided metadata file on the service side for up to 7 days.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaMetadataCaching"
        },
        "metadataStoreDataset": {
          "description": "Optional. Expects a validQ BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSQLiteDialect": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSQLiteDialect",
      "description": "The dialect definition for SQLite.",
      "properties": {},
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSourceTargetLocationMapping": {
      "properties": {
        "sourceLocation": {
          "description": "The path to the location of the source data.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaSourceLocation"
        },
        "targetLocation": {
          "description": "The path to the location of the target data.",
          "$ref": "GoogleCloudBigqueryMigrationV2alphaTargetLocation"
        }
      },
      "description": "Represents one mapping from a source location path to an optional target location path.",
      "id": "GoogleCloudBigqueryMigrationV2alphaSourceTargetLocationMapping",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSuggestionStep": {
      "id": "GoogleCloudBigqueryMigrationV2alphaSuggestionStep",
      "description": "Suggestion step to skip.",
      "type": "object",
      "properties": {
        "suggestionType": {
          "type": "string",
          "enum": [
            "SUGGESTION_TYPE_UNSPECIFIED",
            "QUERY_CUSTOMIZATION",
            "TRANSLATION_EXPLANATION"
          ],
          "enumDescriptions": [
            "Suggestion type unspecified.",
            "Query customization.",
            "Translation explanation."
          ],
          "description": "The type of suggestion."
        },
        "rewriteTarget": {
          "description": "The rewrite target.",
          "enumDescriptions": [
            "Rewrite target unspecified.",
            "Source SQL.",
            "Target SQL."
          ],
          "type": "string",
          "enum": [
            "REWRITE_TARGET_UNSPECIFIED",
            "SOURCE_SQL",
            "TARGET_SQL"
          ]
        }
      }
    },
    "GoogleCloudBigqueryMigrationV2alphaAzureSynapseDialect": {
      "id": "GoogleCloudBigqueryMigrationV2alphaAzureSynapseDialect",
      "description": "The dialect definition for Azure Synapse.",
      "type": "object",
      "properties": {}
    },
    "GoogleCloudBigqueryMigrationV2alphaMySQLDialect": {
      "properties": {},
      "type": "object",
      "id": "GoogleCloudBigqueryMigrationV2alphaMySQLDialect",
      "description": "The dialect definition for MySQL."
    },
    "GoogleCloudBigqueryMigrationV2alphaVerticaDialect": {
      "properties": {},
      "id": "GoogleCloudBigqueryMigrationV2alphaVerticaDialect",
      "description": "The dialect definition for Vertica.",
      "type": "object"
    },
    "GoogleCloudBigqueryMigrationV2alphaSourceEnv": {
      "properties": {
        "schemaSearchPath": {
          "description": "The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "metadataStoreDataset": {
          "description": "Optional. Expects a valid BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.",
          "type": "string"
        },
        "defaultDatabase": {
          "description": "The default database name to fully qualify SQL objects when their database name is missing.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Represents the default source environment values for the translation.",
      "id": "GoogleCloudBigqueryMigrationV2alphaSourceEnv"
    }
  },
  "version_module": true,
  "baseUrl": "https://bigquerymigration.googleapis.com/"
}
