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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |
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(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 |