Class RapidMigrationAssessmentConnection (2.21.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::CreateCollectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::CreateAnnotationRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Annotation > >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::GetAnnotationRequest const &
Returns
TypeDescription
StatusOr< google::cloud::rapidmigrationassessment::v1::Annotation >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::ListCollectorsRequest
Returns
TypeDescription
StreamRange< google::cloud::rapidmigrationassessment::v1::Collector >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::GetCollectorRequest const &
Returns
TypeDescription
StatusOr< google::cloud::rapidmigrationassessment::v1::Collector >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::UpdateCollectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::DeleteCollectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::ResumeCollectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::RegisterCollectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >

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

Parameter
NameDescription
request google::cloud::rapidmigrationassessment::v1::PauseCollectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >