@Generated("by gapic-generator-java")
Package com.google.cloud.bigquery.migration.v2alpha
A client to BigQuery Migration API
The interfaces provided are listed below, along with usage samples.
======================= MigrationServiceClient =======================
Service Description: Service to handle EDW migrations.
Sample for MigrationServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
MigrationWorkflow migrationWorkflow = MigrationWorkflow.newBuilder().build();
MigrationWorkflow response =
migrationServiceClient.createMigrationWorkflow(parent, migrationWorkflow);
}
======================= SqlTranslationServiceClient =======================
Service Description: Provides other SQL dialects to GoogleSQL translation operations.
Sample for SqlTranslationServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SqlTranslationServiceClient sqlTranslationServiceClient =
SqlTranslationServiceClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
TranslateQueryRequest.SqlTranslationSourceDialect sourceDialect =
TranslateQueryRequest.SqlTranslationSourceDialect.forNumber(0);
String query = "query107944136";
TranslateQueryResponse response =
sqlTranslationServiceClient.translateQuery(parent, sourceDialect, query);
}
-
Class Summary Class Description AssessmentOrchestrationResultDetails Details for an assessment task orchestration result.AssessmentOrchestrationResultDetails.Builder Details for an assessment task orchestration result.AssessmentTaskDetails Assessment task config.AssessmentTaskDetails.Builder Assessment task config.AssessmentTaskProto BteqOptions BTEQ translation task related settings.BteqOptions.Builder BTEQ translation task related settings.CreateMigrationWorkflowRequest Request to create a migration workflow resource.CreateMigrationWorkflowRequest.Builder Request to create a migration workflow resource.DatasetReference Reference to a BigQuery dataset.DatasetReference.Builder Reference to a BigQuery dataset.DeleteMigrationWorkflowRequest A request to delete a previously created migration workflow.DeleteMigrationWorkflowRequest.Builder A request to delete a previously created migration workflow.ErrorDetail Provides details for errors, e.g.ErrorDetail.Builder Provides details for errors, e.g.ErrorLocation Holds information about where the error is located.ErrorLocation.Builder Holds information about where the error is located.Filter The filter applied to fields of translation details.Filter.Builder The filter applied to fields of translation details.GetMigrationSubtaskRequest A request to get a previously created migration subtasks.GetMigrationSubtaskRequest.Builder A request to get a previously created migration subtasks.GetMigrationWorkflowRequest A request to get a previously created migration workflow.GetMigrationWorkflowRequest.Builder A request to get a previously created migration workflow.IdentifierSettings Settings related to SQL identifiers.IdentifierSettings.Builder Settings related to SQL identifiers.ListMigrationSubtasksRequest A request to list previously created migration subtasks.ListMigrationSubtasksRequest.Builder A request to list previously created migration subtasks.ListMigrationSubtasksResponse Response object for a `ListMigrationSubtasks` call.ListMigrationSubtasksResponse.Builder Response object for a `ListMigrationSubtasks` call.ListMigrationWorkflowsRequest A request to list previously created migration workflows.ListMigrationWorkflowsRequest.Builder A request to list previously created migration workflows.ListMigrationWorkflowsResponse Response object for a `ListMigrationWorkflows` call.ListMigrationWorkflowsResponse.Builder Response object for a `ListMigrationWorkflows` call.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.MigrationEntitiesProto MigrationErrorDetailsProto MigrationMetricsProto MigrationServiceClient Service Description: Service to handle EDW migrations.MigrationServiceClient.ListMigrationSubtasksFixedSizeCollection MigrationServiceClient.ListMigrationSubtasksPage MigrationServiceClient.ListMigrationSubtasksPagedResponse MigrationServiceClient.ListMigrationWorkflowsFixedSizeCollection MigrationServiceClient.ListMigrationWorkflowsPage MigrationServiceClient.ListMigrationWorkflowsPagedResponse MigrationServiceGrpc Service to handle EDW migrations.MigrationServiceGrpc.MigrationServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service MigrationService.MigrationServiceGrpc.MigrationServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service MigrationService.MigrationServiceGrpc.MigrationServiceImplBase Base class for the server implementation of the service MigrationService.MigrationServiceGrpc.MigrationServiceStub A stub to allow clients to do asynchronous rpc calls to service MigrationService.MigrationServiceProto MigrationServiceSettings Settings class to configure an instance ofMigrationServiceClient
.MigrationServiceSettings.Builder Builder for MigrationServiceSettings.MigrationSubtask A subtask for a migration which carries details about the configuration of the subtask.MigrationSubtask.Builder A subtask for a migration which carries details about the configuration of the subtask.MigrationSubtaskName MigrationSubtaskName.Builder Builder for projects/{project}/locations/{location}/workflows/{workflow}/subtasks/{subtask}.MigrationTask A single task for a migration which has details about the configuration of the task.MigrationTask.Builder A single task for a migration which has details about the configuration of the task.MigrationTaskOrchestrationResult Additional information from the orchestrator when it is done with the task orchestration.MigrationTaskOrchestrationResult.Builder Additional information from the orchestrator when it is done with the task orchestration.MigrationWorkflow A migration workflow which specifies what needs to be done for an EDW migration.MigrationWorkflow.Builder A migration workflow which specifies what needs to be done for an EDW migration.MigrationWorkflowName MigrationWorkflowName.Builder Builder for projects/{project}/locations/{location}/workflows/{workflow}.Point A single data point in a time series.Point.Builder A single data point in a time series.ResourceErrorDetail Provides details for errors and the corresponding resources.ResourceErrorDetail.Builder Provides details for errors and the corresponding resources.SqlTranslationError The detailed error object if the SQL translation job fails.SqlTranslationError.Builder The detailed error object if the SQL translation job fails.SqlTranslationErrorDetail Structured error object capturing the error message and the location in the source text where the error occurs.SqlTranslationErrorDetail.Builder Structured error object capturing the error message and the location in the source text where the error occurs.SqlTranslationServiceClient Service Description: Provides other SQL dialects to GoogleSQL translation operations.SqlTranslationServiceGrpc Provides other SQL dialects to GoogleSQL translation operations.SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service SqlTranslationService.SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service SqlTranslationService.SqlTranslationServiceGrpc.SqlTranslationServiceImplBase Base class for the server implementation of the service SqlTranslationService.SqlTranslationServiceGrpc.SqlTranslationServiceStub A stub to allow clients to do asynchronous rpc calls to service SqlTranslationService.SqlTranslationServiceSettings Settings class to configure an instance ofSqlTranslationServiceClient
.SqlTranslationServiceSettings.Builder Builder for SqlTranslationServiceSettings.SqlTranslationWarning The detailed warning object if the SQL translation job is completed but not semantically correct.SqlTranslationWarning.Builder The detailed warning object if the SQL translation job is completed but not semantically correct.StartMigrationWorkflowRequest A request to start a previously created migration workflow.StartMigrationWorkflowRequest.Builder A request to start a previously created migration workflow.TeradataOptions Teradata SQL specific translation task related settings.TeradataOptions.Builder Teradata SQL specific translation task related settings.TimeInterval A time interval extending just after a start time through an end time.TimeInterval.Builder A time interval extending just after a start time through an end time.TimeSeries The metrics object for a SubTask.TimeSeries.Builder The metrics object for a SubTask.TranslateQueryRequest The request of translating a SQL query to Standard SQL.TranslateQueryRequest.Builder The request of translating a SQL query to Standard SQL.TranslateQueryResponse The response of translating a SQL query to Standard SQL.TranslateQueryResponse.Builder The response of translating a SQL query to Standard SQL.TranslationFileMapping Mapping between an input and output file to be translated in a subtask.TranslationFileMapping.Builder Mapping between an input and output file to be translated in a subtask.TranslationServiceProto TranslationTaskDetails The translation task config to capture necessary settings for a translation task and subtask.TranslationTaskDetails.Builder The translation task config to capture necessary settings for a translation task and subtask.TranslationTaskProto TypedValue A single strongly-typed value.TypedValue.Builder A single strongly-typed value. -
Enum Summary Enum Description IdentifierSettings.IdentifierCase The identifier case type.IdentifierSettings.IdentifierRewriteMode The SQL identifier rewrite mode.MigrationSubtask.State Possible states of a migration subtask.MigrationTask.State Possible states of a migration task.MigrationTask.TaskDetailsCase MigrationTaskOrchestrationResult.DetailsCase MigrationWorkflow.State Possible migration workflow states.SqlTranslationError.SqlTranslationErrorType The error type of the SQL translation job.TranslateQueryRequest.SqlTranslationSourceDialect Supported SQL translation source dialects.TranslationTaskDetails.FileEncoding The file encoding types.TranslationTaskDetails.LanguageOptionsCase TranslationTaskDetails.TokenType The special token data type.TypedValue.ValueCase