Class RapidMigrationAssessmentConnection (2.18.0)

This interface defines virtual methods for each of the user-facing overload sets in RapidMigrationAssessmentClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type RapidMigrationAssessmentClient.

To create a concrete instance, see MakeRapidMigrationAssessmentConnection().

For mocking, see rapidmigrationassessment_v1_mocks::MockRapidMigrationAssessmentConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateCollector(google::cloud::rapidmigrationassessment::v1::CreateCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::CreateCollectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

virtual CreateAnnotation(google::cloud::rapidmigrationassessment::v1::CreateAnnotationRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::CreateAnnotationRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Annotation > >

virtual GetAnnotation(google::cloud::rapidmigrationassessment::v1::GetAnnotationRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::GetAnnotationRequest const &
Returns
Type Description
StatusOr< google::cloud::rapidmigrationassessment::v1::Annotation >

virtual ListCollectors(google::cloud::rapidmigrationassessment::v1::ListCollectorsRequest)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::ListCollectorsRequest
Returns
Type Description
StreamRange< google::cloud::rapidmigrationassessment::v1::Collector >

virtual GetCollector(google::cloud::rapidmigrationassessment::v1::GetCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::GetCollectorRequest const &
Returns
Type Description
StatusOr< google::cloud::rapidmigrationassessment::v1::Collector >

virtual UpdateCollector(google::cloud::rapidmigrationassessment::v1::UpdateCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::UpdateCollectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

virtual DeleteCollector(google::cloud::rapidmigrationassessment::v1::DeleteCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::DeleteCollectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

virtual ResumeCollector(google::cloud::rapidmigrationassessment::v1::ResumeCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::ResumeCollectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

virtual RegisterCollector(google::cloud::rapidmigrationassessment::v1::RegisterCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::RegisterCollectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

virtual PauseCollector(google::cloud::rapidmigrationassessment::v1::PauseCollectorRequest const &)

Parameter
Name Description
request google::cloud::rapidmigrationassessment::v1::PauseCollectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >