19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_MIGRATION_V2_MIGRATION_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_MIGRATION_V2_MIGRATION_CLIENT_H
22#include "google/cloud/bigquery/migration/v2/migration_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
34GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
81 return a.connection_ == b.connection_;
116 std::string
const& parent,
151 CreateMigrationWorkflowRequest
const& request,
344 DeleteMigrationWorkflowRequest
const& request,
403 StartMigrationWorkflowRequest
const& request,
551GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service to handle EDW migrations.
Definition: migration_client.h:62
Status DeleteMigrationWorkflow(google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const &request, Options opts={})
Deletes a migration workflow by name.
StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > CreateMigrationWorkflow(google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const &request, Options opts={})
Creates a migration workflow.
StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > GetMigrationWorkflow(std::string const &name, Options opts={})
Gets a previously created migration workflow.
StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask > ListMigrationSubtasks(std::string const &parent, Options opts={})
Lists previously created migration subtasks.
StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask > ListMigrationSubtasks(google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest request, Options opts={})
Lists previously created migration subtasks.
MigrationServiceClient & operator=(MigrationServiceClient const &)=default
StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask > GetMigrationSubtask(google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const &request, Options opts={})
Gets a previously created migration subtask.
~MigrationServiceClient()
StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow > ListMigrationWorkflows(google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest request, Options opts={})
Lists previously created migration workflow.
StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > GetMigrationWorkflow(google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const &request, Options opts={})
Gets a previously created migration workflow.
StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow > ListMigrationWorkflows(std::string const &parent, Options opts={})
Lists previously created migration workflow.
StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask > GetMigrationSubtask(std::string const &name, Options opts={})
Gets a previously created migration subtask.
Status DeleteMigrationWorkflow(std::string const &name, Options opts={})
Deletes a migration workflow by name.
Status StartMigrationWorkflow(std::string const &name, Options opts={})
Starts a previously created migration workflow.
StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > CreateMigrationWorkflow(std::string const &parent, google::cloud::bigquery::migration::v2::MigrationWorkflow const &migration_workflow, Options opts={})
Creates a migration workflow.
friend bool operator!=(MigrationServiceClient const &a, MigrationServiceClient const &b)
Definition: migration_client.h:83
MigrationServiceClient(MigrationServiceClient &&)=default
MigrationServiceClient & operator=(MigrationServiceClient &&)=default
MigrationServiceClient(std::shared_ptr< MigrationServiceConnection > connection, Options opts={})
Status StartMigrationWorkflow(google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const &request, Options opts={})
Starts a previously created migration workflow.
MigrationServiceClient(MigrationServiceClient const &)=default
friend bool operator==(MigrationServiceClient const &a, MigrationServiceClient const &b)
Definition: migration_client.h:79
The MigrationServiceConnection object for MigrationServiceClient.
Definition: migration_connection.h:62
Definition: migration_client.h:33
Definition: analytics_hub_client.h:30