google-cloud-bigquery-migration-v2 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/lib/google/cloud/bigquery/migration/v2/migration_entities_pb.rb +10 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service/client.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service/credentials.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service/paths.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service/rest/client.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service/rest.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/migration_service_services_pb.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/rest.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2/version.rb +1 -1
- data/lib/google/cloud/bigquery/migration/v2.rb +1 -1
- data/lib/google-cloud-bigquery-migration-v2.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/distribution.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/label.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/metric.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_entities.rb +175 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_error_details.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/migration_service.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_config.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_details.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb +1 -1
- data/proto_docs/google/cloud/bigquery/migration/v2/translation_usability.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/error_details.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3800c788dc68ea0084a296672cc2bab6185ae5e8f0d317f70557b53e1646149e
|
|
4
|
+
data.tar.gz: f7ab1ecf7a4e958dbe3eb07fa76e73edbf1d356fb64653c2a0c8c2e9cf90e03a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2f8b5484c0e4e7f3e15711182891b29ef3c505c3c730e1554a99dc648457cd51e8816aa8987df02848d5da3c1036729bcb193d3e5953147152e5c70424f32cf
|
|
7
|
+
data.tar.gz: 17476766580ed7d45d24eae54a79105c20ac4a1b97d6b22953fa3514cc36951cf0689d8d31212394f318c376eda9a1763e59ece6e23319b1c0c9a3b740275a81
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
The migration service, exposing apis for migration jobs operations, and agent management.
|
|
4
4
|
|
|
5
|
-
The BigQuery Migration Service is a comprehensive solution for migrating your data warehouse to BigQuery.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -40,9 +39,6 @@ response = client.create_migration_workflow request
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest)
|
|
41
40
|
for class and method documentation.
|
|
42
41
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/bigquery/docs/migration-intro)
|
|
44
|
-
for general usage information.
|
|
45
|
-
|
|
46
42
|
## Debug Logging
|
|
47
43
|
|
|
48
44
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
|
@@ -16,7 +16,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
16
16
|
require 'google/rpc/error_details_pb'
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
descriptor_data = "\n;google/cloud/bigquery/migration/v2/migration_entities.proto\x12\"google.cloud.bigquery.migration.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/bigquery/migration/v2/assessment_task.proto\x1a@google/cloud/bigquery/migration/v2/migration_error_details.proto\x1a:google/cloud/bigquery/migration/v2/migration_metrics.proto\x1a;google/cloud/bigquery/migration/v2/translation_config.proto\x1a<google/cloud/bigquery/migration/v2/translation_details.proto\x1a>google/cloud/bigquery/migration/v2/translation_usability.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/rpc/error_details.proto\"\x80\x05\n\x11MigrationWorkflow\x12\x17\n\x04name\x18\x01 \x01(\tB\t\xe0\x41\x03\xe0\x41\x05\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12O\n\x05tasks\x18\x02 \x03(\x0b\x32@.google.cloud.bigquery.migration.v2.MigrationWorkflow.TasksEntry\x12O\n\x05state\x18\x03 \x01(\x0e\x32;.google.cloud.bigquery.migration.v2.MigrationWorkflow.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a_\n\nTasksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.bigquery.migration.v2.MigrationTask:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\r\n\tCOMPLETED\x10\x04:u\xea\x41r\n2bigquerymigration.googleapis.com/MigrationWorkflow\x12<projects/{project}/locations/{location}/workflows/{workflow}\"\xb0\x08\n\rMigrationTask\x12\\\n\x17\x61ssessment_task_details\x18\x0c \x01(\x0b\x32\x39.google.cloud.bigquery.migration.v2.AssessmentTaskDetailsH\x00\x12\x62\n\x1atranslation_config_details\x18\x0e \x01(\x0b\x32<.google.cloud.bigquery.migration.v2.TranslationConfigDetailsH\x00\x12U\n\x13translation_details\x18\x10 \x01(\x0b\x32\x36.google.cloud.bigquery.migration.v2.TranslationDetailsH\x00\x12\x12\n\x02id\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x0c\n\x04type\x18\x02 \x01(\t\x12K\n\x05state\x18\x04 \x01(\x0e\x32\x37.google.cloud.bigquery.migration.v2.MigrationTask.StateB\x03\xe0\x41\x03\x12\x34\n\x10processing_error\x18\x05 \x01(\x0b\x32\x15.google.rpc.ErrorInfoB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\\\n\x16resource_error_details\x18\x11 \x03(\x0b\x32\x37.google.cloud.bigquery.migration.v2.ResourceErrorDetailB\x03\xe0\x41\x03\x12!\n\x14resource_error_count\x18\x12 \x01(\x05\x42\x03\xe0\x41\x03\x12\x44\n\x07metrics\x18\x13 \x03(\x0b\x32..google.cloud.bigquery.migration.v2.TimeSeriesB\x03\xe0\x41\x03\x12Q\n\x0btask_result\x18\x14 \x01(\x0b\x32\x37.google.cloud.bigquery.migration.v2.MigrationTaskResultB\x03\xe0\x41\x03\x12)\n\x1ctotal_processing_error_count\x18\x15 \x01(\x05\x42\x03\xe0\x41\x03\x12\'\n\x1atotal_resource_error_count\x18\x16 \x01(\x05\x42\x03\xe0\x41\x03\"r\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x11\n\rORCHESTRATING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\r\n\tSUCCEEDED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x42\x0e\n\x0ctask_details\"\x88\x06\n\x10MigrationSubtask\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12N\n\x05state\x18\x05 \x01(\x0e\x32:.google.cloud.bigquery.migration.v2.MigrationSubtask.StateB\x03\xe0\x41\x03\x12\x34\n\x10processing_error\x18\x06 \x01(\x0b\x32\x15.google.rpc.ErrorInfoB\x03\xe0\x41\x03\x12\\\n\x16resource_error_details\x18\x0c \x03(\x0b\x32\x37.google.cloud.bigquery.migration.v2.ResourceErrorDetailB\x03\xe0\x41\x03\x12!\n\x14resource_error_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x07metrics\x18\x0b \x03(\x0b\x32..google.cloud.bigquery.migration.v2.TimeSeriesB\x03\xe0\x41\x03\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\n\n\x06PAUSED\x10\x05\x12\x16\n\x12PENDING_DEPENDENCY\x10\x06:\x88\x01\xea\x41\x84\x01\n1bigquerymigration.googleapis.com/MigrationSubtask\x12Oprojects/{project}/locations/{location}/workflows/{workflow}/subtasks/{subtask}\"
|
|
19
|
+
descriptor_data = "\n;google/cloud/bigquery/migration/v2/migration_entities.proto\x12\"google.cloud.bigquery.migration.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/bigquery/migration/v2/assessment_task.proto\x1a@google/cloud/bigquery/migration/v2/migration_error_details.proto\x1a:google/cloud/bigquery/migration/v2/migration_metrics.proto\x1a;google/cloud/bigquery/migration/v2/translation_config.proto\x1a<google/cloud/bigquery/migration/v2/translation_details.proto\x1a>google/cloud/bigquery/migration/v2/translation_usability.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/rpc/error_details.proto\"\x80\x05\n\x11MigrationWorkflow\x12\x17\n\x04name\x18\x01 \x01(\tB\t\xe0\x41\x03\xe0\x41\x05\xe0\x41\x08\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12O\n\x05tasks\x18\x02 \x03(\x0b\x32@.google.cloud.bigquery.migration.v2.MigrationWorkflow.TasksEntry\x12O\n\x05state\x18\x03 \x01(\x0e\x32;.google.cloud.bigquery.migration.v2.MigrationWorkflow.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a_\n\nTasksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.bigquery.migration.v2.MigrationTask:\x02\x38\x01\"Q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\r\n\tCOMPLETED\x10\x04:u\xea\x41r\n2bigquerymigration.googleapis.com/MigrationWorkflow\x12<projects/{project}/locations/{location}/workflows/{workflow}\"\xb0\x08\n\rMigrationTask\x12\\\n\x17\x61ssessment_task_details\x18\x0c \x01(\x0b\x32\x39.google.cloud.bigquery.migration.v2.AssessmentTaskDetailsH\x00\x12\x62\n\x1atranslation_config_details\x18\x0e \x01(\x0b\x32<.google.cloud.bigquery.migration.v2.TranslationConfigDetailsH\x00\x12U\n\x13translation_details\x18\x10 \x01(\x0b\x32\x36.google.cloud.bigquery.migration.v2.TranslationDetailsH\x00\x12\x12\n\x02id\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x0c\n\x04type\x18\x02 \x01(\t\x12K\n\x05state\x18\x04 \x01(\x0e\x32\x37.google.cloud.bigquery.migration.v2.MigrationTask.StateB\x03\xe0\x41\x03\x12\x34\n\x10processing_error\x18\x05 \x01(\x0b\x32\x15.google.rpc.ErrorInfoB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\\\n\x16resource_error_details\x18\x11 \x03(\x0b\x32\x37.google.cloud.bigquery.migration.v2.ResourceErrorDetailB\x03\xe0\x41\x03\x12!\n\x14resource_error_count\x18\x12 \x01(\x05\x42\x03\xe0\x41\x03\x12\x44\n\x07metrics\x18\x13 \x03(\x0b\x32..google.cloud.bigquery.migration.v2.TimeSeriesB\x03\xe0\x41\x03\x12Q\n\x0btask_result\x18\x14 \x01(\x0b\x32\x37.google.cloud.bigquery.migration.v2.MigrationTaskResultB\x03\xe0\x41\x03\x12)\n\x1ctotal_processing_error_count\x18\x15 \x01(\x05\x42\x03\xe0\x41\x03\x12\'\n\x1atotal_resource_error_count\x18\x16 \x01(\x05\x42\x03\xe0\x41\x03\"r\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x11\n\rORCHESTRATING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\r\n\tSUCCEEDED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x42\x0e\n\x0ctask_details\"\x88\x06\n\x10MigrationSubtask\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12N\n\x05state\x18\x05 \x01(\x0e\x32:.google.cloud.bigquery.migration.v2.MigrationSubtask.StateB\x03\xe0\x41\x03\x12\x34\n\x10processing_error\x18\x06 \x01(\x0b\x32\x15.google.rpc.ErrorInfoB\x03\xe0\x41\x03\x12\\\n\x16resource_error_details\x18\x0c \x03(\x0b\x32\x37.google.cloud.bigquery.migration.v2.ResourceErrorDetailB\x03\xe0\x41\x03\x12!\n\x14resource_error_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x07metrics\x18\x0b \x03(\x0b\x32..google.cloud.bigquery.migration.v2.TimeSeriesB\x03\xe0\x41\x03\"v\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\n\n\x06PAUSED\x10\x05\x12\x16\n\x12PENDING_DEPENDENCY\x10\x06:\x88\x01\xea\x41\x84\x01\n1bigquerymigration.googleapis.com/MigrationSubtask\x12Oprojects/{project}/locations/{location}/workflows/{workflow}/subtasks/{subtask}\"\xc2\x02\n\x13MigrationTaskResult\x12\\\n\x17translation_task_result\x18\x02 \x01(\x0b\x32\x39.google.cloud.bigquery.migration.v2.TranslationTaskResultH\x00\x12^\n\x0ctask_outputs\x18\x03 \x03(\x0b\x32H.google.cloud.bigquery.migration.v2.MigrationTaskResult.TaskOutputsEntry\x1a\x62\n\x10TaskOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..google.cloud.bigquery.migration.v2.TaskOutput:\x02\x38\x01\x42\t\n\x07\x64\x65tails\"\xcc\x01\n\x15TranslationTaskResult\x12H\n\x13translated_literals\x18\x01 \x03(\x0b\x32+.google.cloud.bigquery.migration.v2.Literal\x12T\n\x13report_log_messages\x18\x02 \x03(\x0b\x32\x37.google.cloud.bigquery.migration.v2.GcsReportLogMessage\x12\x13\n\x0b\x63onsole_uri\x18\x03 \x01(\t\"\xa6\x02\n\nTaskOutput\x12K\n\x0elineage_output\x18\x03 \x01(\x0b\x32\x31.google.cloud.bigquery.migration.v2.LineageOutputH\x00\x12H\n\x05state\x18\x01 \x01(\x0e\x32\x34.google.cloud.bigquery.migration.v2.TaskOutput.StateB\x03\xe0\x41\x03\x12/\n\x10processing_error\x18\x02 \x01(\x0b\x32\x15.google.rpc.ErrorInfo\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\x08\n\x06output\"\x97\x08\n\rLineageOutput\x12\x12\n\nwebapp_uri\x18\x01 \x01(\t\x12\x61\n\x11recognized_inputs\x18\x02 \x03(\x0b\x32\x41.google.cloud.bigquery.migration.v2.LineageOutput.RecognizedInputB\x03\xe0\x41\x03\x12j\n\x1bprocessing_progress_reports\x18\x03 \x03(\x0b\x32@.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReportB\x03\xe0\x41\x03\x1a\xd9\x01\n\x0fRecognizedInput\x12Y\n\x04type\x18\x01 \x01(\x0e\x32\x46.google.cloud.bigquery.migration.v2.LineageOutput.RecognizedInput.TypeB\x03\xe0\x41\x03\x12$\n\x17uncompressed_size_bytes\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\"E\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08METADATA\x10\x01\x12\r\n\tQUERY_LOG\x10\x02\x12\n\n\x06SCRIPT\x10\x03\x1a\xc6\x04\n\x0eProgressReport\x12o\n\x10processing_stage\x18\x01 \x01(\x0e\x32P.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.ProcessingStageB\x03\xe0\x41\x03\x12i\n\x0ework_summaries\x18\x02 \x03(\x0b\x32L.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummaryB\x03\xe0\x41\x03\x1a\xf7\x01\n\x0bWorkSummary\x12\x66\n\x05state\x18\x01 \x01(\x0e\x32R.google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.StateB\x03\xe0\x41\x03\x12\x11\n\x04size\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x14\n\x07\x63omment\x18\x03 \x01(\tB\x03\xe0\x41\x03\"W\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\x0b\n\x07SKIPPED\x10\x04\"^\n\x0fProcessingStage\x12 \n\x1cPROCESSING_STAGE_UNSPECIFIED\x10\x00\x12\x14\n\x0fINPUT_INGESTION\x10\xe8\x07\x12\x13\n\x0ePOSTPROCESSING\x10\xd0\x0f\x42\xd2\x01\n&com.google.cloud.bigquery.migration.v2B\x16MigrationEntitiesProtoP\x01ZDcloud.google.com/go/bigquery/migration/apiv2/migrationpb;migrationpb\xaa\x02\"Google.Cloud.BigQuery.Migration.V2\xca\x02\"Google\\Cloud\\BigQuery\\Migration\\V2b\x06proto3"
|
|
20
20
|
|
|
21
21
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
22
22
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -34,6 +34,15 @@ module Google
|
|
|
34
34
|
MigrationSubtask::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.MigrationSubtask.State").enummodule
|
|
35
35
|
MigrationTaskResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.MigrationTaskResult").msgclass
|
|
36
36
|
TranslationTaskResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.TranslationTaskResult").msgclass
|
|
37
|
+
TaskOutput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.TaskOutput").msgclass
|
|
38
|
+
TaskOutput::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.TaskOutput.State").enummodule
|
|
39
|
+
LineageOutput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput").msgclass
|
|
40
|
+
LineageOutput::RecognizedInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput.RecognizedInput").msgclass
|
|
41
|
+
LineageOutput::RecognizedInput::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput.RecognizedInput.Type").enummodule
|
|
42
|
+
LineageOutput::ProgressReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport").msgclass
|
|
43
|
+
LineageOutput::ProgressReport::WorkSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary").msgclass
|
|
44
|
+
LineageOutput::ProgressReport::WorkSummary::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.WorkSummary.State").enummodule
|
|
45
|
+
LineageOutput::ProgressReport::ProcessingStage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.migration.v2.LineageOutput.ProgressReport.ProcessingStage").enummodule
|
|
37
46
|
end
|
|
38
47
|
end
|
|
39
48
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/bigquery/migration/v2/migration_service.proto for package 'google.cloud.bigquery.migration.v2'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -271,9 +271,21 @@ module Google
|
|
|
271
271
|
# @!attribute [rw] translation_task_result
|
|
272
272
|
# @return [::Google::Cloud::Bigquery::Migration::V2::TranslationTaskResult]
|
|
273
273
|
# Details specific to translation task types.
|
|
274
|
+
# @!attribute [rw] task_outputs
|
|
275
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigquery::Migration::V2::TaskOutput}]
|
|
276
|
+
# The map of task output types to the task outputs, e.g. "LINEAGE".
|
|
274
277
|
class MigrationTaskResult
|
|
275
278
|
include ::Google::Protobuf::MessageExts
|
|
276
279
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
280
|
+
|
|
281
|
+
# @!attribute [rw] key
|
|
282
|
+
# @return [::String]
|
|
283
|
+
# @!attribute [rw] value
|
|
284
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::TaskOutput]
|
|
285
|
+
class TaskOutputsEntry
|
|
286
|
+
include ::Google::Protobuf::MessageExts
|
|
287
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
288
|
+
end
|
|
277
289
|
end
|
|
278
290
|
|
|
279
291
|
# Translation specific result details from the migration task.
|
|
@@ -290,6 +302,168 @@ module Google
|
|
|
290
302
|
include ::Google::Protobuf::MessageExts
|
|
291
303
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
292
304
|
end
|
|
305
|
+
|
|
306
|
+
# The task output for a task type including the status and any errors.
|
|
307
|
+
# @!attribute [rw] lineage_output
|
|
308
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::LineageOutput]
|
|
309
|
+
# The output of the task with output type "LINEAGE".
|
|
310
|
+
# @!attribute [r] state
|
|
311
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::TaskOutput::State]
|
|
312
|
+
# Output only. The current state of the task output.
|
|
313
|
+
# @!attribute [rw] processing_error
|
|
314
|
+
# @return [::Google::Rpc::ErrorInfo]
|
|
315
|
+
# An explanation that may be populated when the task output is in FAILED
|
|
316
|
+
# state.
|
|
317
|
+
class TaskOutput
|
|
318
|
+
include ::Google::Protobuf::MessageExts
|
|
319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
320
|
+
|
|
321
|
+
# Possible task output states.
|
|
322
|
+
module State
|
|
323
|
+
# Task output state is unspecified.
|
|
324
|
+
STATE_UNSPECIFIED = 0
|
|
325
|
+
|
|
326
|
+
# Task output is pending.
|
|
327
|
+
PENDING = 1
|
|
328
|
+
|
|
329
|
+
# Task output is succeeded.
|
|
330
|
+
SUCCEEDED = 2
|
|
331
|
+
|
|
332
|
+
# Task output is failed. This does not mean that there is no useful
|
|
333
|
+
# information in the output; partial outputs or failure details may be
|
|
334
|
+
# available.
|
|
335
|
+
FAILED = 3
|
|
336
|
+
end
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
# The output of a task with output type "LINEAGE".
|
|
340
|
+
#
|
|
341
|
+
# Actual generated lineage can be queried separately (see
|
|
342
|
+
# {::Google::Cloud::Bigquery::Migration::V2::LineageOutput#webapp_uri webapp_uri}),
|
|
343
|
+
# this message contains only metadata: processing status, errors, etc.
|
|
344
|
+
# @!attribute [rw] webapp_uri
|
|
345
|
+
# @return [::String]
|
|
346
|
+
# The URI of the webapp that visualizes the lineage.
|
|
347
|
+
# The user needs the `bigquerymigration.googleapis.com/lineageDbs.query` IAM
|
|
348
|
+
# permission to use the webapp.
|
|
349
|
+
# @!attribute [r] recognized_inputs
|
|
350
|
+
# @return [::Array<::Google::Cloud::Bigquery::Migration::V2::LineageOutput::RecognizedInput>]
|
|
351
|
+
# Output only. Recognized lineage inputs.
|
|
352
|
+
#
|
|
353
|
+
# All inputs are processed only if the task succeeds and all work is in state
|
|
354
|
+
# [SUCCEEDED](ProgressReport.WorkSummary.State.SUCCEEDED) (in particular,
|
|
355
|
+
# nothing is [SKIPPED](ProgressReport.WorkSummary.State.SKIPPED)).
|
|
356
|
+
#
|
|
357
|
+
# Even with all inputs processed successfully, there may be transpiler errors
|
|
358
|
+
# present leading to inaccurate lineage.
|
|
359
|
+
# @!attribute [r] processing_progress_reports
|
|
360
|
+
# @return [::Array<::Google::Cloud::Bigquery::Migration::V2::LineageOutput::ProgressReport>]
|
|
361
|
+
# Output only. Work processing progress reports broken up by processing
|
|
362
|
+
# stage.
|
|
363
|
+
class LineageOutput
|
|
364
|
+
include ::Google::Protobuf::MessageExts
|
|
365
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
366
|
+
|
|
367
|
+
# Information about lineage input of the given type that lineage generation
|
|
368
|
+
# recognized.
|
|
369
|
+
#
|
|
370
|
+
# If you expected to process more of the given input, verify your input was
|
|
371
|
+
# uploaded and is in the correct format and the request to generate lineage
|
|
372
|
+
# correctly specified the input location.
|
|
373
|
+
# @!attribute [r] type
|
|
374
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::LineageOutput::RecognizedInput::Type]
|
|
375
|
+
# Output only. The type of the input.
|
|
376
|
+
# @!attribute [r] uncompressed_size_bytes
|
|
377
|
+
# @return [::Integer]
|
|
378
|
+
# Output only. The uncompressed size of the recognized input of the given
|
|
379
|
+
# type.
|
|
380
|
+
class RecognizedInput
|
|
381
|
+
include ::Google::Protobuf::MessageExts
|
|
382
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
383
|
+
|
|
384
|
+
# Input type recognized by the lineage processing.
|
|
385
|
+
module Type
|
|
386
|
+
# The type is not specified.
|
|
387
|
+
TYPE_UNSPECIFIED = 0
|
|
388
|
+
|
|
389
|
+
# The input is metadata.
|
|
390
|
+
METADATA = 1
|
|
391
|
+
|
|
392
|
+
# The input is a query log.
|
|
393
|
+
QUERY_LOG = 2
|
|
394
|
+
|
|
395
|
+
# The input is a SQL script.
|
|
396
|
+
SCRIPT = 3
|
|
397
|
+
end
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
# Breaks down processing progress of work.
|
|
401
|
+
# @!attribute [r] processing_stage
|
|
402
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::LineageOutput::ProgressReport::ProcessingStage]
|
|
403
|
+
# Output only. The processing stage this progress report describes.
|
|
404
|
+
# @!attribute [r] work_summaries
|
|
405
|
+
# @return [::Array<::Google::Cloud::Bigquery::Migration::V2::LineageOutput::ProgressReport::WorkSummary>]
|
|
406
|
+
# Output only. Summaries of work broken up by the state of the work. Each
|
|
407
|
+
# work summary describes how much work is in the given state.
|
|
408
|
+
#
|
|
409
|
+
# To get numbers for the total work covered, aggregate the numbers from all
|
|
410
|
+
# summaries.
|
|
411
|
+
class ProgressReport
|
|
412
|
+
include ::Google::Protobuf::MessageExts
|
|
413
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
414
|
+
|
|
415
|
+
# Summary of work in the given state.
|
|
416
|
+
# @!attribute [r] state
|
|
417
|
+
# @return [::Google::Cloud::Bigquery::Migration::V2::LineageOutput::ProgressReport::WorkSummary::State]
|
|
418
|
+
# Output only. The state of the work this summary describes.
|
|
419
|
+
# @!attribute [r] size
|
|
420
|
+
# @return [::Integer]
|
|
421
|
+
# Output only. Size of the work in the given State.
|
|
422
|
+
#
|
|
423
|
+
# Size counts "units of work". Units represent arbitrary division of
|
|
424
|
+
# work; there's no expectation each unit takes similar time to process.
|
|
425
|
+
# @!attribute [r] comment
|
|
426
|
+
# @return [::String]
|
|
427
|
+
# Output only. Human-readable comment.
|
|
428
|
+
class WorkSummary
|
|
429
|
+
include ::Google::Protobuf::MessageExts
|
|
430
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
431
|
+
|
|
432
|
+
# States of work. Each piece of work is in exactly one state.
|
|
433
|
+
# [SUCCEEDED], [FAILED] and [SKIPPED] are terminal states; work in the
|
|
434
|
+
# [IN_PROGRESS] will eventually transition to one of the terminal states.
|
|
435
|
+
module State
|
|
436
|
+
# The state is not specified.
|
|
437
|
+
STATE_UNSPECIFIED = 0
|
|
438
|
+
|
|
439
|
+
# Work that was processed successfully.
|
|
440
|
+
SUCCEEDED = 1
|
|
441
|
+
|
|
442
|
+
# Work that failed processing.
|
|
443
|
+
FAILED = 2
|
|
444
|
+
|
|
445
|
+
# Work that is currently being processed or queued for processing.
|
|
446
|
+
IN_PROGRESS = 3
|
|
447
|
+
|
|
448
|
+
# Work that was recognised as necessary to fully process inputs but was
|
|
449
|
+
# skipped due to system limitations.
|
|
450
|
+
SKIPPED = 4
|
|
451
|
+
end
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
# The processing stage the progress report describes.
|
|
455
|
+
module ProcessingStage
|
|
456
|
+
# The stage is not specified.
|
|
457
|
+
PROCESSING_STAGE_UNSPECIFIED = 0
|
|
458
|
+
|
|
459
|
+
# The input ingestion stage.
|
|
460
|
+
INPUT_INGESTION = 1000
|
|
461
|
+
|
|
462
|
+
# The lineage DB postprocessing stage.
|
|
463
|
+
POSTPROCESSING = 2000
|
|
464
|
+
end
|
|
465
|
+
end
|
|
466
|
+
end
|
|
293
467
|
end
|
|
294
468
|
end
|
|
295
469
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-bigquery-migration-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.23.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -37,11 +37,10 @@ dependencies:
|
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '1.0'
|
|
40
|
-
description: The
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
details.
|
|
40
|
+
description: The migration service, exposing apis for migration jobs operations, and
|
|
41
|
+
agent management. Note that google-cloud-bigquery-migration-v2 is a version-specific
|
|
42
|
+
client library. For most uses, we recommend installing the main client library google-cloud-bigquery-migration
|
|
43
|
+
instead. See the readme for more details.
|
|
45
44
|
email: googleapis-packages@google.com
|
|
46
45
|
executables: []
|
|
47
46
|
extensions: []
|