Class RapidMigrationAssessmentConnection (2.29.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
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 CreateCollector(NoAwaitTag, google::cloud::rapidmigrationassessment::v1::CreateCollectorRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::CreateCollectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateCollector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 CreateAnnotation(NoAwaitTag, google::cloud::rapidmigrationassessment::v1::CreateAnnotationRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::CreateAnnotationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateAnnotation(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 UpdateCollector(NoAwaitTag, google::cloud::rapidmigrationassessment::v1::UpdateCollectorRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::UpdateCollectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateCollector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 DeleteCollector(NoAwaitTag, google::cloud::rapidmigrationassessment::v1::DeleteCollectorRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::DeleteCollectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteCollector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 ResumeCollector(NoAwaitTag, google::cloud::rapidmigrationassessment::v1::ResumeCollectorRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::ResumeCollectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual ResumeCollector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 RegisterCollector(NoAwaitTag, google::cloud::rapidmigrationassessment::v1::RegisterCollectorRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::RegisterCollectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual RegisterCollector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 > >

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

Parameters
Name Description
NoAwaitTag
request google::cloud::rapidmigrationassessment::v1::PauseCollectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual PauseCollector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::rapidmigrationassessment::v1::Collector > >