Rapid Migration Assessment v1 API - Class RapidMigrationAssessmentClientImpl (1.0.0-beta02)

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
NameDescription
grpcClientRapidMigrationAssessmentRapidMigrationAssessmentClient

The underlying gRPC client.

settingsRapidMigrationAssessmentSettings

The base RapidMigrationAssessmentSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateAnnotationOperationsClient

public override OperationsClient CreateAnnotationOperationsClient { get; }

The long-running operations client for CreateAnnotation.

Property Value
TypeDescription
OperationsClient
Overrides

CreateCollectorOperationsClient

public override OperationsClient CreateCollectorOperationsClient { get; }

The long-running operations client for CreateCollector.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteCollectorOperationsClient

public override OperationsClient DeleteCollectorOperationsClient { get; }

The long-running operations client for DeleteCollector.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RapidMigrationAssessment.RapidMigrationAssessmentClient GrpcClient { get; }

The underlying gRPC RapidMigrationAssessment client

Property Value
TypeDescription
RapidMigrationAssessmentRapidMigrationAssessmentClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

PauseCollectorOperationsClient

public override OperationsClient PauseCollectorOperationsClient { get; }

The long-running operations client for PauseCollector.

Property Value
TypeDescription
OperationsClient
Overrides

RegisterCollectorOperationsClient

public override OperationsClient RegisterCollectorOperationsClient { get; }

The long-running operations client for RegisterCollector.

Property Value
TypeDescription
OperationsClient
Overrides

ResumeCollectorOperationsClient

public override OperationsClient ResumeCollectorOperationsClient { get; }

The long-running operations client for ResumeCollector.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateCollectorOperationsClient

public override OperationsClient UpdateCollectorOperationsClient { get; }

The long-running operations client for UpdateCollector.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateAnnotation(CreateAnnotationRequest, CallSettings)

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

Creates an Annotation

Parameters
NameDescription
requestCreateAnnotationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAnnotationOperationMetadata

The RPC response.

Overrides

CreateAnnotationAsync(CreateAnnotationRequest, CallSettings)

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

Creates an Annotation

Parameters
NameDescription
requestCreateAnnotationRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationCollectorOperationMetadata

A Task containing the RPC response.

Overrides