Rapid Migration Assessment v1 API - Class RapidMigrationAssessment.RapidMigrationAssessmentBase (1.1.0)

[BindServiceMethod(typeof(RapidMigrationAssessment), "BindService")]
public abstract class RapidMigrationAssessment.RapidMigrationAssessmentBase

Reference documentation and code samples for the Rapid Migration Assessment v1 API class RapidMigrationAssessment.RapidMigrationAssessmentBase.

Base class for server-side implementations of RapidMigrationAssessment

Inheritance

object > RapidMigrationAssessment.RapidMigrationAssessmentBase

Namespace

Google.Cloud.RapidMigrationAssessment.V1

Assembly

Google.Cloud.RapidMigrationAssessment.V1.dll

Methods

CreateAnnotation(CreateAnnotationRequest, ServerCallContext)

public virtual Task<Operation> CreateAnnotation(CreateAnnotationRequest request, ServerCallContext context)

Creates an Annotation

Parameters
Name Description
request CreateAnnotationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateCollector(CreateCollectorRequest, ServerCallContext)

public virtual Task<Operation> CreateCollector(CreateCollectorRequest request, ServerCallContext context)

Create a Collector to manage the on-prem appliance which collects information about Customer assets.

Parameters
Name Description
request CreateCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteCollector(DeleteCollectorRequest, ServerCallContext)

public virtual Task<Operation> DeleteCollector(DeleteCollectorRequest request, ServerCallContext context)

Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion thorugh producer api.

Parameters
Name Description
request DeleteCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetAnnotation(GetAnnotationRequest, ServerCallContext)

public virtual Task<Annotation> GetAnnotation(GetAnnotationRequest request, ServerCallContext context)

Gets details of a single Annotation.

Parameters
Name Description
request GetAnnotationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAnnotation

The response to send back to the client (wrapped by a task).

GetCollector(GetCollectorRequest, ServerCallContext)

public virtual Task<Collector> GetCollector(GetCollectorRequest request, ServerCallContext context)

Gets details of a single Collector.

Parameters
Name Description
request GetCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskCollector

The response to send back to the client (wrapped by a task).

ListCollectors(ListCollectorsRequest, ServerCallContext)

public virtual Task<ListCollectorsResponse> ListCollectors(ListCollectorsRequest request, ServerCallContext context)

Lists Collectors in a given project and location.

Parameters
Name Description
request ListCollectorsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListCollectorsResponse

The response to send back to the client (wrapped by a task).

PauseCollector(PauseCollectorRequest, ServerCallContext)

public virtual Task<Operation> PauseCollector(PauseCollectorRequest request, ServerCallContext context)

Pauses the given collector.

Parameters
Name Description
request PauseCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

RegisterCollector(RegisterCollectorRequest, ServerCallContext)

public virtual Task<Operation> RegisterCollector(RegisterCollectorRequest request, ServerCallContext context)

Registers the given collector.

Parameters
Name Description
request RegisterCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

ResumeCollector(ResumeCollectorRequest, ServerCallContext)

public virtual Task<Operation> ResumeCollector(ResumeCollectorRequest request, ServerCallContext context)

Resumes the given collector.

Parameters
Name Description
request ResumeCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateCollector(UpdateCollectorRequest, ServerCallContext)

public virtual Task<Operation> UpdateCollector(UpdateCollectorRequest request, ServerCallContext context)

Updates the parameters of a single Collector.

Parameters
Name Description
request UpdateCollectorRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).