public class RapidMigrationAssessment.RapidMigrationAssessmentClient : ClientBase<RapidMigrationAssessment.RapidMigrationAssessmentClient>Reference documentation and code samples for the Rapid Migration Assessment v1 API class RapidMigrationAssessment.RapidMigrationAssessmentClient.
Client for RapidMigrationAssessment
Inheritance
object > ClientBase > ClientBaseRapidMigrationAssessmentRapidMigrationAssessmentClient > RapidMigrationAssessment.RapidMigrationAssessmentClientNamespace
Google.Cloud.RapidMigrationAssessment.V1Assembly
Google.Cloud.RapidMigrationAssessment.V1.dll
Constructors
RapidMigrationAssessmentClient()
protected RapidMigrationAssessmentClient()Protected parameterless constructor to allow creation of test doubles.
RapidMigrationAssessmentClient(CallInvoker)
public RapidMigrationAssessmentClient(CallInvoker callInvoker)Creates a new client for RapidMigrationAssessment that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
RapidMigrationAssessmentClient(ChannelBase)
public RapidMigrationAssessmentClient(ChannelBase channel)Creates a new client for RapidMigrationAssessment
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
RapidMigrationAssessmentClient(ClientBaseConfiguration)
protected RapidMigrationAssessmentClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateAnnotation(CreateAnnotationRequest, CallOptions)
public virtual Operation CreateAnnotation(CreateAnnotationRequest request, CallOptions options)Creates an Annotation
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnnotationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateAnnotation(CreateAnnotationRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateAnnotation(CreateAnnotationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates an Annotation
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnnotationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateAnnotationAsync(CreateAnnotationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateAnnotationAsync(CreateAnnotationRequest request, CallOptions options)Creates an Annotation
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnnotationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateAnnotationAsync(CreateAnnotationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateAnnotationAsync(CreateAnnotationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates an Annotation
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnnotationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateCollector(CreateCollectorRequest, CallOptions)
public virtual Operation CreateCollector(CreateCollectorRequest request, CallOptions options)Create a Collector to manage the on-prem appliance which collects information about Customer assets.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateCollector(CreateCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateCollector(CreateCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Create a Collector to manage the on-prem appliance which collects information about Customer assets.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateCollectorAsync(CreateCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateCollectorAsync(CreateCollectorRequest request, CallOptions options)Create a Collector to manage the on-prem appliance which collects information about Customer assets.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateCollectorAsync(CreateCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateCollectorAsync(CreateCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Create a Collector to manage the on-prem appliance which collects information about Customer assets.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteCollector(DeleteCollectorRequest, CallOptions)
public virtual Operation DeleteCollector(DeleteCollectorRequest request, CallOptions options)Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion through producer API.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteCollector(DeleteCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteCollector(DeleteCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion through producer API.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteCollectorAsync(DeleteCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteCollectorAsync(DeleteCollectorRequest request, CallOptions options)Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion through producer API.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteCollectorAsync(DeleteCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteCollectorAsync(DeleteCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion through producer API.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetAnnotation(GetAnnotationRequest, CallOptions)
public virtual Annotation GetAnnotation(GetAnnotationRequest request, CallOptions options)Gets details of a single Annotation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnnotationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Annotation |
The response received from the server. |
GetAnnotation(GetAnnotationRequest, Metadata, DateTime?, CancellationToken)
public virtual Annotation GetAnnotation(GetAnnotationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Annotation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnnotationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Annotation |
The response received from the server. |
GetAnnotationAsync(GetAnnotationRequest, CallOptions)
public virtual AsyncUnaryCall<Annotation> GetAnnotationAsync(GetAnnotationRequest request, CallOptions options)Gets details of a single Annotation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnnotationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAnnotation |
The call object. |
GetAnnotationAsync(GetAnnotationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Annotation> GetAnnotationAsync(GetAnnotationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Annotation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnnotationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAnnotation |
The call object. |
GetCollector(GetCollectorRequest, CallOptions)
public virtual Collector GetCollector(GetCollectorRequest request, CallOptions options)Gets details of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Collector |
The response received from the server. |
GetCollector(GetCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Collector GetCollector(GetCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Collector |
The response received from the server. |
GetCollectorAsync(GetCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Collector> GetCollectorAsync(GetCollectorRequest request, CallOptions options)Gets details of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallCollector |
The call object. |
GetCollectorAsync(GetCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Collector> GetCollectorAsync(GetCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets details of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallCollector |
The call object. |
ListCollectors(ListCollectorsRequest, CallOptions)
public virtual ListCollectorsResponse ListCollectors(ListCollectorsRequest request, CallOptions options)Lists Collectors in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectorsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListCollectorsResponse |
The response received from the server. |
ListCollectors(ListCollectorsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListCollectorsResponse ListCollectors(ListCollectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Collectors in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectorsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListCollectorsResponse |
The response received from the server. |
ListCollectorsAsync(ListCollectorsRequest, CallOptions)
public virtual AsyncUnaryCall<ListCollectorsResponse> ListCollectorsAsync(ListCollectorsRequest request, CallOptions options)Lists Collectors in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectorsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListCollectorsResponse |
The call object. |
ListCollectorsAsync(ListCollectorsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListCollectorsResponse> ListCollectorsAsync(ListCollectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists Collectors in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectorsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListCollectorsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override RapidMigrationAssessment.RapidMigrationAssessmentClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
RapidMigrationAssessmentRapidMigrationAssessmentClient |
|
PauseCollector(PauseCollectorRequest, CallOptions)
public virtual Operation PauseCollector(PauseCollectorRequest request, CallOptions options)Pauses the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PauseCollector(PauseCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation PauseCollector(PauseCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Pauses the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PauseCollectorAsync(PauseCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PauseCollectorAsync(PauseCollectorRequest request, CallOptions options)Pauses the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
PauseCollectorAsync(PauseCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PauseCollectorAsync(PauseCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Pauses the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
PauseCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
RegisterCollector(RegisterCollectorRequest, CallOptions)
public virtual Operation RegisterCollector(RegisterCollectorRequest request, CallOptions options)Registers the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
RegisterCollector(RegisterCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RegisterCollector(RegisterCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Registers the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
RegisterCollectorAsync(RegisterCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RegisterCollectorAsync(RegisterCollectorRequest request, CallOptions options)Registers the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
RegisterCollectorAsync(RegisterCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RegisterCollectorAsync(RegisterCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Registers the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
ResumeCollector(ResumeCollectorRequest, CallOptions)
public virtual Operation ResumeCollector(ResumeCollectorRequest request, CallOptions options)Resumes the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ResumeCollector(ResumeCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ResumeCollector(ResumeCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Resumes the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
ResumeCollectorAsync(ResumeCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ResumeCollectorAsync(ResumeCollectorRequest request, CallOptions options)Resumes the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
ResumeCollectorAsync(ResumeCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ResumeCollectorAsync(ResumeCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Resumes the given collector.
| Parameters | |
|---|---|
| Name | Description |
request |
ResumeCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateCollector(UpdateCollectorRequest, CallOptions)
public virtual Operation UpdateCollector(UpdateCollectorRequest request, CallOptions options)Updates the parameters of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateCollector(UpdateCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateCollector(UpdateCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateCollectorAsync(UpdateCollectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateCollectorAsync(UpdateCollectorRequest request, CallOptions options)Updates the parameters of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectorRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateCollectorAsync(UpdateCollectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateCollectorAsync(UpdateCollectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the parameters of a single Collector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectorRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |