Rapid Migration Assessment v1 API - Class RapidMigrationAssessmentClientImpl (1.1.0)

public sealed class RapidMigrationAssessmentClientImpl : RapidMigrationAssessmentClient

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

RapidMigrationAssessment client wrapper implementation, for convenient use.

Inheritance

object > RapidMigrationAssessmentClient > RapidMigrationAssessmentClientImpl

Namespace

Google.Cloud.RapidMigrationAssessment.V1

Assembly

Google.Cloud.RapidMigrationAssessment.V1.dll

Remarks

Service describing handlers for resources.

Constructors

RapidMigrationAssessmentClientImpl(RapidMigrationAssessmentClient, RapidMigrationAssessmentSettings, ILogger)

public RapidMigrationAssessmentClientImpl(RapidMigrationAssessment.RapidMigrationAssessmentClient grpcClient, RapidMigrationAssessmentSettings settings, ILogger logger)

Constructs a client wrapper for the RapidMigrationAssessment service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient RapidMigrationAssessmentRapidMigrationAssessmentClient

The underlying gRPC client.

settings RapidMigrationAssessmentSettings

The base RapidMigrationAssessmentSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateAnnotationOperationsClient

public override OperationsClient CreateAnnotationOperationsClient { get; }

The long-running operations client for CreateAnnotation.

Property Value
Type Description
OperationsClient
Overrides

CreateCollectorOperationsClient

public override OperationsClient CreateCollectorOperationsClient { get; }

The long-running operations client for CreateCollector.

Property Value
Type Description
OperationsClient
Overrides

DeleteCollectorOperationsClient

public override OperationsClient DeleteCollectorOperationsClient { get; }

The long-running operations client for DeleteCollector.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override RapidMigrationAssessment.RapidMigrationAssessmentClient GrpcClient { get; }

The underlying gRPC RapidMigrationAssessment client

Property Value
Type Description
RapidMigrationAssessmentRapidMigrationAssessmentClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

PauseCollectorOperationsClient

public override OperationsClient PauseCollectorOperationsClient { get; }

The long-running operations client for PauseCollector.

Property Value
Type Description
OperationsClient
Overrides

RegisterCollectorOperationsClient

public override OperationsClient RegisterCollectorOperationsClient { get; }

The long-running operations client for RegisterCollector.

Property Value
Type Description
OperationsClient
Overrides

ResumeCollectorOperationsClient

public override OperationsClient ResumeCollectorOperationsClient { get; }

The long-running operations client for ResumeCollector.

Property Value
Type Description
OperationsClient
Overrides

UpdateCollectorOperationsClient

public override OperationsClient UpdateCollectorOperationsClient { get; }

The long-running operations client for UpdateCollector.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateAnnotation(CreateAnnotationRequest, CallSettings)

public override Operation<Annotation, OperationMetadata> CreateAnnotation(CreateAnnotationRequest request, CallSettings callSettings = null)

Creates an Annotation

Parameters
Name Description
request CreateAnnotationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAnnotationOperationMetadata

The RPC response.

Overrides

CreateAnnotationAsync(CreateAnnotationRequest, CallSettings)

public override Task<Operation<Annotation, OperationMetadata>> CreateAnnotationAsync(CreateAnnotationRequest request, CallSettings callSettings = null)

Creates an Annotation

Parameters
Name Description
request CreateAnnotationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAnnotationOperationMetadata

A Task containing the RPC response.

Overrides

CreateCollector(CreateCollectorRequest, CallSettings)

public override Operation<Collector, OperationMetadata> CreateCollector(CreateCollectorRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectorOperationMetadata

The RPC response.

Overrides

CreateCollectorAsync(CreateCollectorRequest, CallSettings)

public override Task<Operation<Collector, OperationMetadata>> CreateCollectorAsync(CreateCollectorRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request CreateCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides

DeleteCollector(DeleteCollectorRequest, CallSettings)

public override Operation<Collector, OperationMetadata> DeleteCollector(DeleteCollectorRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectorOperationMetadata

The RPC response.

Overrides

DeleteCollectorAsync(DeleteCollectorRequest, CallSettings)

public override Task<Operation<Collector, OperationMetadata>> DeleteCollectorAsync(DeleteCollectorRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides

GetAnnotation(GetAnnotationRequest, CallSettings)

public override Annotation GetAnnotation(GetAnnotationRequest request, CallSettings callSettings = null)

Gets details of a single Annotation.

Parameters
Name Description
request GetAnnotationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Annotation

The RPC response.

Overrides

GetAnnotationAsync(GetAnnotationRequest, CallSettings)

public override Task<Annotation> GetAnnotationAsync(GetAnnotationRequest request, CallSettings callSettings = null)

Gets details of a single Annotation.

Parameters
Name Description
request GetAnnotationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAnnotation

A Task containing the RPC response.

Overrides

GetCollector(GetCollectorRequest, CallSettings)

public override Collector GetCollector(GetCollectorRequest request, CallSettings callSettings = null)

Gets details of a single Collector.

Parameters
Name Description
request GetCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Collector

The RPC response.

Overrides

GetCollectorAsync(GetCollectorRequest, CallSettings)

public override Task<Collector> GetCollectorAsync(GetCollectorRequest request, CallSettings callSettings = null)

Gets details of a single Collector.

Parameters
Name Description
request GetCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCollector

A Task containing the RPC response.

Overrides

ListCollectors(ListCollectorsRequest, CallSettings)

public override PagedEnumerable<ListCollectorsResponse, Collector> ListCollectors(ListCollectorsRequest request, CallSettings callSettings = null)

Lists Collectors in a given project and location.

Parameters
Name Description
request ListCollectorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCollectorsResponseCollector

A pageable sequence of Collector resources.

Overrides

ListCollectorsAsync(ListCollectorsRequest, CallSettings)

public override PagedAsyncEnumerable<ListCollectorsResponse, Collector> ListCollectorsAsync(ListCollectorsRequest request, CallSettings callSettings = null)

Lists Collectors in a given project and location.

Parameters
Name Description
request ListCollectorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCollectorsResponseCollector

A pageable asynchronous sequence of Collector resources.

Overrides

PauseCollector(PauseCollectorRequest, CallSettings)

public override Operation<Collector, OperationMetadata> PauseCollector(PauseCollectorRequest request, CallSettings callSettings = null)

Pauses the given collector.

Parameters
Name Description
request PauseCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectorOperationMetadata

The RPC response.

Overrides

PauseCollectorAsync(PauseCollectorRequest, CallSettings)

public override Task<Operation<Collector, OperationMetadata>> PauseCollectorAsync(PauseCollectorRequest request, CallSettings callSettings = null)

Pauses the given collector.

Parameters
Name Description
request PauseCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides

RegisterCollector(RegisterCollectorRequest, CallSettings)

public override Operation<Collector, OperationMetadata> RegisterCollector(RegisterCollectorRequest request, CallSettings callSettings = null)

Registers the given collector.

Parameters
Name Description
request RegisterCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectorOperationMetadata

The RPC response.

Overrides

RegisterCollectorAsync(RegisterCollectorRequest, CallSettings)

public override Task<Operation<Collector, OperationMetadata>> RegisterCollectorAsync(RegisterCollectorRequest request, CallSettings callSettings = null)

Registers the given collector.

Parameters
Name Description
request RegisterCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides

ResumeCollector(ResumeCollectorRequest, CallSettings)

public override Operation<Collector, OperationMetadata> ResumeCollector(ResumeCollectorRequest request, CallSettings callSettings = null)

Resumes the given collector.

Parameters
Name Description
request ResumeCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectorOperationMetadata

The RPC response.

Overrides

ResumeCollectorAsync(ResumeCollectorRequest, CallSettings)

public override Task<Operation<Collector, OperationMetadata>> ResumeCollectorAsync(ResumeCollectorRequest request, CallSettings callSettings = null)

Resumes the given collector.

Parameters
Name Description
request ResumeCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides

UpdateCollector(UpdateCollectorRequest, CallSettings)

public override Operation<Collector, OperationMetadata> UpdateCollector(UpdateCollectorRequest request, CallSettings callSettings = null)

Updates the parameters of a single Collector.

Parameters
Name Description
request UpdateCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCollectorOperationMetadata

The RPC response.

Overrides

UpdateCollectorAsync(UpdateCollectorRequest, CallSettings)

public override Task<Operation<Collector, OperationMetadata>> UpdateCollectorAsync(UpdateCollectorRequest request, CallSettings callSettings = null)

Updates the parameters of a single Collector.

Parameters
Name Description
request UpdateCollectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides