19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_MIGRATION_V2_MIGRATION_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_MIGRATION_V2_MIGRATION_CONNECTION_H
22#include "google/cloud/bigquery/migration/v2/internal/migration_retry_traits.h"
23#include "google/cloud/bigquery/migration/v2/migration_connection_idempotency_policy.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/options.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/stream_range.h"
28#include "google/cloud/version.h"
29#include <google/cloud/bigquery/migration/v2/migration_service.pb.h>
35GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
37using MigrationServiceRetryPolicy =
39 bigquery_migration_v2_internal::MigrationServiceRetryTraits>;
41using MigrationServiceLimitedTimeRetryPolicy =
43 bigquery_migration_v2_internal::MigrationServiceRetryTraits>;
45using MigrationServiceLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 bigquery_migration_v2_internal::MigrationServiceRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
61
70 CreateMigrationWorkflowRequest
const& request);
84 DeleteMigrationWorkflowRequest
const& request);
88 StartMigrationWorkflowRequest
const& request);
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
126GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The MigrationServiceConnection object for MigrationServiceClient.
Definition: migration_connection.h:62
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationSubtask > ListMigrationSubtasks(google::cloud::bigquery::migration::v2::ListMigrationSubtasksRequest request)
virtual ~MigrationServiceConnection()=0
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > GetMigrationWorkflow(google::cloud::bigquery::migration::v2::GetMigrationWorkflowRequest const &request)
virtual StreamRange< google::cloud::bigquery::migration::v2::MigrationWorkflow > ListMigrationWorkflows(google::cloud::bigquery::migration::v2::ListMigrationWorkflowsRequest request)
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationSubtask > GetMigrationSubtask(google::cloud::bigquery::migration::v2::GetMigrationSubtaskRequest const &request)
virtual StatusOr< google::cloud::bigquery::migration::v2::MigrationWorkflow > CreateMigrationWorkflow(google::cloud::bigquery::migration::v2::CreateMigrationWorkflowRequest const &request)
virtual Status StartMigrationWorkflow(google::cloud::bigquery::migration::v2::StartMigrationWorkflowRequest const &request)
virtual Status DeleteMigrationWorkflow(google::cloud::bigquery::migration::v2::DeleteMigrationWorkflowRequest const &request)
virtual Options options()
Definition: migration_connection.h:66
Definition: migration_client.h:33
std::shared_ptr< MigrationServiceConnection > MakeMigrationServiceConnection(Options options={})
A factory function to construct an object of type MigrationServiceConnection.
Definition: analytics_hub_client.h:30