Service describing handlers for resources.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
MigrationCenterClient(MigrationCenterClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
MigrationCenterClient const &
|
MigrationCenterClient(MigrationCenterClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
MigrationCenterClient &&
|
MigrationCenterClient(std::shared_ptr< MigrationCenterConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< MigrationCenterConnection >
|
opts |
Options
|
Operators
operator=(MigrationCenterClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
MigrationCenterClient const &
|
Returns | |
---|---|
Type | Description |
MigrationCenterClient & |
operator=(MigrationCenterClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
MigrationCenterClient &&
|
Returns | |
---|---|
Type | Description |
MigrationCenterClient & |
Functions
ListAssets(std::string const &, Options)
Lists all the assets in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Asset > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListAssets(google::cloud::migrationcenter::v1::ListAssetsRequest, Options)
Lists all the assets in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListAssetsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Asset > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetAsset(std::string const &, Options)
Gets the details of an asset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Asset > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Asset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetAsset(google::cloud::migrationcenter::v1::GetAssetRequest const &, Options)
Gets the details of an asset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetAssetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Asset > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Asset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateAsset(google::cloud::migrationcenter::v1::Asset const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of an asset.
Parameters | |
---|---|
Name | Description |
asset |
google::cloud::migrationcenter::v1::Asset const &
Required. The resource being updated. |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Asset > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Asset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateAsset(google::cloud::migrationcenter::v1::UpdateAssetRequest const &, Options)
Updates the parameters of an asset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::UpdateAssetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Asset > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Asset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
BatchUpdateAssets(std::string const &, std::vector< google::cloud::migrationcenter::v1::UpdateAssetRequest > const &, Options)
Updates the parameters of a list of assets.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for batch asset update. |
requests |
std::vector< google::cloud::migrationcenter::v1::UpdateAssetRequest > const &
Required. The request message specifying the resources to update. A maximum of 1000 assets can be modified in a batch. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::BatchUpdateAssetsResponse > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.BatchUpdateAssetsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
BatchUpdateAssets(google::cloud::migrationcenter::v1::BatchUpdateAssetsRequest const &, Options)
Updates the parameters of a list of assets.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::BatchUpdateAssetsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::BatchUpdateAssetsResponse > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.BatchUpdateAssetsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteAsset(std::string const &, Options)
Deletes an asset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteAsset(google::cloud::migrationcenter::v1::DeleteAssetRequest const &, Options)
Deletes an asset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteAssetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
BatchDeleteAssets(std::string const &, std::vector< std::string > const &, Options)
Deletes list of Assets.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for batch asset delete. |
names |
std::vector< std::string > const &
Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project}/locations/{location}/assets/{name}. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
BatchDeleteAssets(google::cloud::migrationcenter::v1::BatchDeleteAssetsRequest const &, Options)
Deletes list of Assets.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::BatchDeleteAssetsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
ReportAssetFrames(google::cloud::migrationcenter::v1::ReportAssetFramesRequest const &, Options)
Reports a set of frames.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ReportAssetFramesRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ReportAssetFramesResponse > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ReportAssetFramesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
AggregateAssetsValues(google::cloud::migrationcenter::v1::AggregateAssetsValuesRequest const &, Options)
Aggregates the requested fields based on provided function.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::AggregateAssetsValuesRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::AggregateAssetsValuesResponse > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.AggregateAssetsValuesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateImportJob(std::string const &, google::cloud::migrationcenter::v1::ImportJob const &, std::string const &, Options)
Creates an import job.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
import_job |
google::cloud::migrationcenter::v1::ImportJob const &
Required. The resource being created. |
import_job_id |
std::string const &
Required. ID of the import job. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportJob > > |
A |
CreateImportJob(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::ImportJob const &, std::string const &, Options)
Creates an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
import_job |
google::cloud::migrationcenter::v1::ImportJob const &
|
import_job_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateImportJob(google::cloud::migrationcenter::v1::CreateImportJobRequest const &, Options)
Creates an import job.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreateImportJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportJob > > |
A |
CreateImportJob(NoAwaitTag, google::cloud::migrationcenter::v1::CreateImportJobRequest const &, Options)
Creates an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreateImportJobRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateImportJob(google::longrunning::Operation const &, Options)
Creates an import job.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportJob > > |
ListImportJobs(std::string const &, Options)
Lists all import jobs.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ImportJob > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListImportJobs(google::cloud::migrationcenter::v1::ListImportJobsRequest, Options)
Lists all import jobs.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListImportJobsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ImportJob > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetImportJob(std::string const &, Options)
Gets the details of an import job.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ImportJob > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ImportJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetImportJob(google::cloud::migrationcenter::v1::GetImportJobRequest const &, Options)
Gets the details of an import job.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetImportJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ImportJob > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ImportJob) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteImportJob(std::string const &, Options)
Deletes an import job.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteImportJob(NoAwaitTag, std::string const &, Options)
Deletes an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteImportJob(google::cloud::migrationcenter::v1::DeleteImportJobRequest const &, Options)
Deletes an import job.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteImportJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteImportJob(NoAwaitTag, google::cloud::migrationcenter::v1::DeleteImportJobRequest const &, Options)
Deletes an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeleteImportJobRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteImportJob(google::longrunning::Operation const &, Options)
Deletes an import job.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
UpdateImportJob(google::cloud::migrationcenter::v1::ImportJob const &, google::protobuf::FieldMask const &, Options)
Updates an import job.
Parameters | |
---|---|
Name | Description |
import_job |
google::cloud::migrationcenter::v1::ImportJob const &
Required. The resource being updated |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportJob > > |
A |
UpdateImportJob(NoAwaitTag, google::cloud::migrationcenter::v1::ImportJob const &, google::protobuf::FieldMask const &, Options)
Updates an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
import_job |
google::cloud::migrationcenter::v1::ImportJob const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateImportJob(google::cloud::migrationcenter::v1::UpdateImportJobRequest const &, Options)
Updates an import job.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::UpdateImportJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportJob > > |
A |
UpdateImportJob(NoAwaitTag, google::cloud::migrationcenter::v1::UpdateImportJobRequest const &, Options)
Updates an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::UpdateImportJobRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateImportJob(google::longrunning::Operation const &, Options)
Updates an import job.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportJob > > |
ValidateImportJob(std::string const &, Options)
Validates an import job.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the import job to validate. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
ValidateImportJob(NoAwaitTag, std::string const &, Options)
Validates an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ValidateImportJob(google::cloud::migrationcenter::v1::ValidateImportJobRequest const &, Options)
Validates an import job.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ValidateImportJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
ValidateImportJob(NoAwaitTag, google::cloud::migrationcenter::v1::ValidateImportJobRequest const &, Options)
Validates an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::ValidateImportJobRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ValidateImportJob(google::longrunning::Operation const &, Options)
Validates an import job.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
RunImportJob(std::string const &, Options)
Runs an import job.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the import job to run. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
RunImportJob(NoAwaitTag, std::string const &, Options)
Runs an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RunImportJob(google::cloud::migrationcenter::v1::RunImportJobRequest const &, Options)
Runs an import job.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::RunImportJobRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
RunImportJob(NoAwaitTag, google::cloud::migrationcenter::v1::RunImportJobRequest const &, Options)
Runs an import job.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::RunImportJobRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RunImportJob(google::longrunning::Operation const &, Options)
Runs an import job.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
GetImportDataFile(std::string const &, Options)
Gets an import data file.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the ImportDataFile. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ImportDataFile > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ImportDataFile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetImportDataFile(google::cloud::migrationcenter::v1::GetImportDataFileRequest const &, Options)
Gets an import data file.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetImportDataFileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ImportDataFile > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ImportDataFile) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListImportDataFiles(std::string const &, Options)
List import data files.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of the parent of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ImportDataFile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListImportDataFiles(google::cloud::migrationcenter::v1::ListImportDataFilesRequest, Options)
List import data files.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListImportDataFilesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ImportDataFile > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
CreateImportDataFile(std::string const &, google::cloud::migrationcenter::v1::ImportDataFile const &, std::string const &, Options)
Creates an import data file.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Name of the parent of the ImportDataFile. |
import_data_file |
google::cloud::migrationcenter::v1::ImportDataFile const &
Required. The resource being created. |
import_data_file_id |
std::string const &
Required. The ID of the new data file. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportDataFile > > |
A |
CreateImportDataFile(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::ImportDataFile const &, std::string const &, Options)
Creates an import data file.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
import_data_file |
google::cloud::migrationcenter::v1::ImportDataFile const &
|
import_data_file_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateImportDataFile(google::cloud::migrationcenter::v1::CreateImportDataFileRequest const &, Options)
Creates an import data file.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreateImportDataFileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportDataFile > > |
A |
CreateImportDataFile(NoAwaitTag, google::cloud::migrationcenter::v1::CreateImportDataFileRequest const &, Options)
Creates an import data file.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreateImportDataFileRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateImportDataFile(google::longrunning::Operation const &, Options)
Creates an import data file.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ImportDataFile > > |
DeleteImportDataFile(std::string const &, Options)
Delete an import data file.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the ImportDataFile to delete. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteImportDataFile(NoAwaitTag, std::string const &, Options)
Delete an import data file.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteImportDataFile(google::cloud::migrationcenter::v1::DeleteImportDataFileRequest const &, Options)
Delete an import data file.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteImportDataFileRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteImportDataFile(NoAwaitTag, google::cloud::migrationcenter::v1::DeleteImportDataFileRequest const &, Options)
Delete an import data file.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeleteImportDataFileRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteImportDataFile(google::longrunning::Operation const &, Options)
Delete an import data file.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
ListGroups(std::string const &, Options)
Lists all groups in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Group > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListGroups(google::cloud::migrationcenter::v1::ListGroupsRequest, Options)
Lists all groups in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListGroupsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Group > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetGroup(std::string const &, Options)
Gets the details of a group.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Group > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Group) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetGroup(google::cloud::migrationcenter::v1::GetGroupRequest const &, Options)
Gets the details of a group.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Group > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Group) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateGroup(std::string const &, google::cloud::migrationcenter::v1::Group const &, std::string const &, Options)
Creates a new group in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
group |
google::cloud::migrationcenter::v1::Group const &
Required. The group resource being created. |
group_id |
std::string const &
Required. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
CreateGroup(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::Group const &, std::string const &, Options)
Creates a new group in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
group |
google::cloud::migrationcenter::v1::Group const &
|
group_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateGroup(google::cloud::migrationcenter::v1::CreateGroupRequest const &, Options)
Creates a new group in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreateGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
CreateGroup(NoAwaitTag, google::cloud::migrationcenter::v1::CreateGroupRequest const &, Options)
Creates a new group in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreateGroupRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateGroup(google::longrunning::Operation const &, Options)
Creates a new group in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
UpdateGroup(google::cloud::migrationcenter::v1::Group const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a group.
Parameters | |
---|---|
Name | Description |
group |
google::cloud::migrationcenter::v1::Group const &
Required. The group resource being updated. |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
UpdateGroup(NoAwaitTag, google::cloud::migrationcenter::v1::Group const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
group |
google::cloud::migrationcenter::v1::Group const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateGroup(google::cloud::migrationcenter::v1::UpdateGroupRequest const &, Options)
Updates the parameters of a group.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::UpdateGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
UpdateGroup(NoAwaitTag, google::cloud::migrationcenter::v1::UpdateGroupRequest const &, Options)
Updates the parameters of a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::UpdateGroupRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateGroup(google::longrunning::Operation const &, Options)
Updates the parameters of a group.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
DeleteGroup(std::string const &, Options)
Deletes a group.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the group resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteGroup(NoAwaitTag, std::string const &, Options)
Deletes a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteGroup(google::cloud::migrationcenter::v1::DeleteGroupRequest const &, Options)
Deletes a group.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteGroup(NoAwaitTag, google::cloud::migrationcenter::v1::DeleteGroupRequest const &, Options)
Deletes a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeleteGroupRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteGroup(google::longrunning::Operation const &, Options)
Deletes a group.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
AddAssetsToGroup(std::string const &, Options)
Adds assets to a group.
Parameters | |
---|---|
Name | Description |
group |
std::string const &
Required. Group reference. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
AddAssetsToGroup(NoAwaitTag, std::string const &, Options)
Adds assets to a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
group |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
AddAssetsToGroup(google::cloud::migrationcenter::v1::AddAssetsToGroupRequest const &, Options)
Adds assets to a group.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::AddAssetsToGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
AddAssetsToGroup(NoAwaitTag, google::cloud::migrationcenter::v1::AddAssetsToGroupRequest const &, Options)
Adds assets to a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::AddAssetsToGroupRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
AddAssetsToGroup(google::longrunning::Operation const &, Options)
Adds assets to a group.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
RemoveAssetsFromGroup(std::string const &, Options)
Removes assets from a group.
Parameters | |
---|---|
Name | Description |
group |
std::string const &
Required. Group reference. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
RemoveAssetsFromGroup(NoAwaitTag, std::string const &, Options)
Removes assets from a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
group |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RemoveAssetsFromGroup(google::cloud::migrationcenter::v1::RemoveAssetsFromGroupRequest const &, Options)
Removes assets from a group.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::RemoveAssetsFromGroupRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
A |
RemoveAssetsFromGroup(NoAwaitTag, google::cloud::migrationcenter::v1::RemoveAssetsFromGroupRequest const &, Options)
Removes assets from a group.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::RemoveAssetsFromGroupRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RemoveAssetsFromGroup(google::longrunning::Operation const &, Options)
Removes assets from a group.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Group > > |
ListErrorFrames(std::string const &, Options)
Lists all error frames in a given source and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value (the source) for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ErrorFrame > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListErrorFrames(google::cloud::migrationcenter::v1::ListErrorFramesRequest, Options)
Lists all error frames in a given source and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListErrorFramesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ErrorFrame > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetErrorFrame(std::string const &, Options)
Gets the details of an error frame.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame} |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ErrorFrame > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ErrorFrame) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetErrorFrame(google::cloud::migrationcenter::v1::GetErrorFrameRequest const &, Options)
Gets the details of an error frame.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetErrorFrameRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ErrorFrame > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ErrorFrame) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListSources(std::string const &, Options)
Lists all the sources in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Source > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListSources(google::cloud::migrationcenter::v1::ListSourcesRequest, Options)
Lists all the sources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListSourcesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Source > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetSource(std::string const &, Options)
Gets the details of a source.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Source > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Source) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetSource(google::cloud::migrationcenter::v1::GetSourceRequest const &, Options)
Gets the details of a source.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetSourceRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Source > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Source) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateSource(std::string const &, google::cloud::migrationcenter::v1::Source const &, std::string const &, Options)
Creates a new source in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
source |
google::cloud::migrationcenter::v1::Source const &
Required. The resource being created. |
source_id |
std::string const &
Required. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Source > > |
A |
CreateSource(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::Source const &, std::string const &, Options)
Creates a new source in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
source |
google::cloud::migrationcenter::v1::Source const &
|
source_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateSource(google::cloud::migrationcenter::v1::CreateSourceRequest const &, Options)
Creates a new source in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreateSourceRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Source > > |
A |
CreateSource(NoAwaitTag, google::cloud::migrationcenter::v1::CreateSourceRequest const &, Options)
Creates a new source in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreateSourceRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateSource(google::longrunning::Operation const &, Options)
Creates a new source in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Source > > |
UpdateSource(google::cloud::migrationcenter::v1::Source const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a source.
Parameters | |
---|---|
Name | Description |
source |
google::cloud::migrationcenter::v1::Source const &
Required. The resource being updated |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Source > > |
A |
UpdateSource(NoAwaitTag, google::cloud::migrationcenter::v1::Source const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a source.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
source |
google::cloud::migrationcenter::v1::Source const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateSource(google::cloud::migrationcenter::v1::UpdateSourceRequest const &, Options)
Updates the parameters of a source.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::UpdateSourceRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Source > > |
A |
UpdateSource(NoAwaitTag, google::cloud::migrationcenter::v1::UpdateSourceRequest const &, Options)
Updates the parameters of a source.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::UpdateSourceRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateSource(google::longrunning::Operation const &, Options)
Updates the parameters of a source.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Source > > |
DeleteSource(std::string const &, Options)
Deletes a source.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteSource(NoAwaitTag, std::string const &, Options)
Deletes a source.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteSource(google::cloud::migrationcenter::v1::DeleteSourceRequest const &, Options)
Deletes a source.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteSourceRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteSource(NoAwaitTag, google::cloud::migrationcenter::v1::DeleteSourceRequest const &, Options)
Deletes a source.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeleteSourceRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteSource(google::longrunning::Operation const &, Options)
Deletes a source.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
ListPreferenceSets(std::string const &, Options)
Lists all the preference sets in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::PreferenceSet > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListPreferenceSets(google::cloud::migrationcenter::v1::ListPreferenceSetsRequest, Options)
Lists all the preference sets in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListPreferenceSetsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::PreferenceSet > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetPreferenceSet(std::string const &, Options)
Gets the details of a preference set.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.PreferenceSet) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetPreferenceSet(google::cloud::migrationcenter::v1::GetPreferenceSetRequest const &, Options)
Gets the details of a preference set.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetPreferenceSetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.PreferenceSet) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreatePreferenceSet(std::string const &, google::cloud::migrationcenter::v1::PreferenceSet const &, std::string const &, Options)
Creates a new preference set in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
preference_set |
google::cloud::migrationcenter::v1::PreferenceSet const &
Required. The preference set resource being created. |
preference_set_id |
std::string const &
Required. User specified ID for the preference set. It will become the last component of the preference set name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > > |
A |
CreatePreferenceSet(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::PreferenceSet const &, std::string const &, Options)
Creates a new preference set in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
preference_set |
google::cloud::migrationcenter::v1::PreferenceSet const &
|
preference_set_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreatePreferenceSet(google::cloud::migrationcenter::v1::CreatePreferenceSetRequest const &, Options)
Creates a new preference set in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreatePreferenceSetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > > |
A |
CreatePreferenceSet(NoAwaitTag, google::cloud::migrationcenter::v1::CreatePreferenceSetRequest const &, Options)
Creates a new preference set in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreatePreferenceSetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreatePreferenceSet(google::longrunning::Operation const &, Options)
Creates a new preference set in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > > |
UpdatePreferenceSet(google::cloud::migrationcenter::v1::PreferenceSet const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a preference set.
Parameters | |
---|---|
Name | Description |
preference_set |
google::cloud::migrationcenter::v1::PreferenceSet const &
Required. The preference set resource being updated. |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > > |
A |
UpdatePreferenceSet(NoAwaitTag, google::cloud::migrationcenter::v1::PreferenceSet const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a preference set.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
preference_set |
google::cloud::migrationcenter::v1::PreferenceSet const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdatePreferenceSet(google::cloud::migrationcenter::v1::UpdatePreferenceSetRequest const &, Options)
Updates the parameters of a preference set.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::UpdatePreferenceSetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > > |
A |
UpdatePreferenceSet(NoAwaitTag, google::cloud::migrationcenter::v1::UpdatePreferenceSetRequest const &, Options)
Updates the parameters of a preference set.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::UpdatePreferenceSetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdatePreferenceSet(google::longrunning::Operation const &, Options)
Updates the parameters of a preference set.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::PreferenceSet > > |
DeletePreferenceSet(std::string const &, Options)
Deletes a preference set.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the group resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeletePreferenceSet(NoAwaitTag, std::string const &, Options)
Deletes a preference set.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeletePreferenceSet(google::cloud::migrationcenter::v1::DeletePreferenceSetRequest const &, Options)
Deletes a preference set.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeletePreferenceSetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeletePreferenceSet(NoAwaitTag, google::cloud::migrationcenter::v1::DeletePreferenceSetRequest const &, Options)
Deletes a preference set.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeletePreferenceSetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeletePreferenceSet(google::longrunning::Operation const &, Options)
Deletes a preference set.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
GetSettings(std::string const &, Options)
Gets the details of regional settings.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Settings > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetSettings(google::cloud::migrationcenter::v1::GetSettingsRequest const &, Options)
Gets the details of regional settings.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Settings > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateSettings(google::cloud::migrationcenter::v1::Settings const &, google::protobuf::FieldMask const &, Options)
Updates the regional-level project settings.
Parameters | |
---|---|
Name | Description |
settings |
google::cloud::migrationcenter::v1::Settings const &
Required. The project settings resource being updated. |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Settings > > |
A |
UpdateSettings(NoAwaitTag, google::cloud::migrationcenter::v1::Settings const &, google::protobuf::FieldMask const &, Options)
Updates the regional-level project settings.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
settings |
google::cloud::migrationcenter::v1::Settings const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateSettings(google::cloud::migrationcenter::v1::UpdateSettingsRequest const &, Options)
Updates the regional-level project settings.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::UpdateSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Settings > > |
A |
UpdateSettings(NoAwaitTag, google::cloud::migrationcenter::v1::UpdateSettingsRequest const &, Options)
Updates the regional-level project settings.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::UpdateSettingsRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateSettings(google::longrunning::Operation const &, Options)
Updates the regional-level project settings.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Settings > > |
CreateReportConfig(std::string const &, google::cloud::migrationcenter::v1::ReportConfig const &, std::string const &, Options)
Creates a report configuration.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
report_config |
google::cloud::migrationcenter::v1::ReportConfig const &
Required. The report config set resource being created. |
report_config_id |
std::string const &
Required. User specified ID for the report config. It will become the last component of the report config name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: a-z?. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ReportConfig > > |
A |
CreateReportConfig(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::ReportConfig const &, std::string const &, Options)
Creates a report configuration.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
report_config |
google::cloud::migrationcenter::v1::ReportConfig const &
|
report_config_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateReportConfig(google::cloud::migrationcenter::v1::CreateReportConfigRequest const &, Options)
Creates a report configuration.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreateReportConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ReportConfig > > |
A |
CreateReportConfig(NoAwaitTag, google::cloud::migrationcenter::v1::CreateReportConfigRequest const &, Options)
Creates a report configuration.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreateReportConfigRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateReportConfig(google::longrunning::Operation const &, Options)
Creates a report configuration.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::ReportConfig > > |
GetReportConfig(std::string const &, Options)
Gets details of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ReportConfig > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ReportConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetReportConfig(google::cloud::migrationcenter::v1::GetReportConfigRequest const &, Options)
Gets details of a single ReportConfig.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetReportConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::ReportConfig > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.ReportConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListReportConfigs(std::string const &, Options)
Lists ReportConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ReportConfig > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListReportConfigs(google::cloud::migrationcenter::v1::ListReportConfigsRequest, Options)
Lists ReportConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListReportConfigsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::ReportConfig > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteReportConfig(std::string const &, Options)
Deletes a ReportConfig.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteReportConfig(NoAwaitTag, std::string const &, Options)
Deletes a ReportConfig.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteReportConfig(google::cloud::migrationcenter::v1::DeleteReportConfigRequest const &, Options)
Deletes a ReportConfig.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteReportConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteReportConfig(NoAwaitTag, google::cloud::migrationcenter::v1::DeleteReportConfigRequest const &, Options)
Deletes a ReportConfig.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeleteReportConfigRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteReportConfig(google::longrunning::Operation const &, Options)
Deletes a ReportConfig.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
CreateReport(std::string const &, google::cloud::migrationcenter::v1::Report const &, std::string const &, Options)
Creates a report.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
report |
google::cloud::migrationcenter::v1::Report const &
Required. The report resource being created. |
report_id |
std::string const &
Required. User specified id for the report. It will become the last component of the report name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The id must match the regular expression: a-z?. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Report > > |
A |
CreateReport(NoAwaitTag, std::string const &, google::cloud::migrationcenter::v1::Report const &, std::string const &, Options)
Creates a report.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
report |
google::cloud::migrationcenter::v1::Report const &
|
report_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateReport(google::cloud::migrationcenter::v1::CreateReportRequest const &, Options)
Creates a report.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::CreateReportRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Report > > |
A |
CreateReport(NoAwaitTag, google::cloud::migrationcenter::v1::CreateReportRequest const &, Options)
Creates a report.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::CreateReportRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateReport(google::longrunning::Operation const &, Options)
Creates a report.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::Report > > |
GetReport(std::string const &, Options)
Gets details of a single Report.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Report > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Report) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetReport(google::cloud::migrationcenter::v1::GetReportRequest const &, Options)
Gets details of a single Report.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::GetReportRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::migrationcenter::v1::Report > |
the result of the RPC. The response message type (google.cloud.migrationcenter.v1.Report) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListReports(std::string const &, Options)
Lists Reports in a given ReportConfig.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Report > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListReports(google::cloud::migrationcenter::v1::ListReportsRequest, Options)
Lists Reports in a given ReportConfig.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::ListReportsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::migrationcenter::v1::Report > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteReport(std::string const &, Options)
Deletes a Report.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteReport(NoAwaitTag, std::string const &, Options)
Deletes a Report.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteReport(google::cloud::migrationcenter::v1::DeleteReportRequest const &, Options)
Deletes a Report.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::migrationcenter::v1::DeleteReportRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
A |
DeleteReport(NoAwaitTag, google::cloud::migrationcenter::v1::DeleteReportRequest const &, Options)
Deletes a Report.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::migrationcenter::v1::DeleteReportRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteReport(google::longrunning::Operation const &, Options)
Deletes a Report.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::migrationcenter::v1::OperationMetadata > > |
ListLocations(google::cloud::location::ListLocationsRequest, Options)
Lists information about the supported locations for this service.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::location::ListLocationsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::location::Location > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetLocation(google::cloud::location::GetLocationRequest const &, Options)
Gets information about a location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::location::GetLocationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::location::Location > |
the result of the RPC. The response message type (google.cloud.location.Location) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListOperations(std::string const &, std::string const &, Options)
Lists operations that match the specified filter in the request.
If the server doesn't support this method, it returns UNIMPLEMENTED
.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
The name of the operation's parent resource. |
filter |
std::string const &
The standard list filter. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::longrunning::Operation > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListOperations(google::longrunning::ListOperationsRequest, Options)
Lists operations that match the specified filter in the request.
If the server doesn't support this method, it returns UNIMPLEMENTED
.
Parameters | |
---|---|
Name | Description |
request |
google::longrunning::ListOperationsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::longrunning::Operation > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetOperation(std::string const &, Options)
Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
The name of the operation resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
the result of the RPC. The response message type (google.longrunning.Operation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetOperation(google::longrunning::GetOperationRequest const &, Options)
Gets the latest state of a long-running operation.
Clients can use this method to poll the operation result at intervals as recommended by the API service.
Parameters | |
---|---|
Name | Description |
request |
google::longrunning::GetOperationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
the result of the RPC. The response message type (google.longrunning.Operation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteOperation(std::string const &, Options)
Deletes a long-running operation.
This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
The name of the operation resource to be deleted. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteOperation(google::longrunning::DeleteOperationRequest const &, Options)
Deletes a long-running operation.
This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
Parameters | |
---|---|
Name | Description |
request |
google::longrunning::DeleteOperationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CancelOperation(std::string const &, Options)
Starts asynchronous cancellation on a long-running operation.
The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED
.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
The name of the operation resource to be cancelled. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CancelOperation(google::longrunning::CancelOperationRequest const &, Options)
Starts asynchronous cancellation on a long-running operation.
The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED
.
Parameters | |
---|---|
Name | Description |
request |
google::longrunning::CancelOperationRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |