1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.bigquery.migration.v2alpha; 18 19import "google/api/field_behavior.proto"; 20 21option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; 22option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; 23option java_multiple_files = true; 24option java_outer_classname = "AssessmentTaskProto"; 25option java_package = "com.google.cloud.bigquery.migration.v2alpha"; 26option php_namespace = "Google\\Cloud\\BigQuery\\Migration\\V2alpha"; 27 28// Assessment task config. 29message AssessmentTaskDetails { 30 // Required. The Cloud Storage path for assessment input files. 31 string input_path = 1 [(google.api.field_behavior) = REQUIRED]; 32 33 // Required. The BigQuery dataset for output. 34 string output_dataset = 2 [(google.api.field_behavior) = REQUIRED]; 35 36 // Optional. An optional Cloud Storage path to write the query logs (which is 37 // then used as an input path on the translation task) 38 string querylogs_path = 3 [(google.api.field_behavior) = OPTIONAL]; 39 40 // Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) 41 // from which the input data is extracted. 42 string data_source = 4 [(google.api.field_behavior) = REQUIRED]; 43} 44 45// Details for an assessment task orchestration result. 46message AssessmentOrchestrationResultDetails { 47 // Optional. The version used for the output table schemas. 48 string output_tables_schema_version = 1 [(google.api.field_behavior) = OPTIONAL]; 49} 50