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

[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
NameDescription
requestCreateAnnotationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetAnnotationRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListCollectorsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestPauseCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestRegisterCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestResumeCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateCollectorRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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