Google Cloud Dialogflow v2beta1 API - Class AnswerRecordsClientImpl (1.0.0-beta20)

public sealed class AnswerRecordsClientImpl : AnswerRecordsClient

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class AnswerRecordsClientImpl.

AnswerRecords client wrapper implementation, for convenient use.

Inheritance

object > AnswerRecordsClient > AnswerRecordsClientImpl

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Remarks

Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].

Constructors

AnswerRecordsClientImpl(AnswerRecordsClient, AnswerRecordsSettings, ILogger)

public AnswerRecordsClientImpl(AnswerRecords.AnswerRecordsClient grpcClient, AnswerRecordsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient AnswerRecordsAnswerRecordsClient

The underlying gRPC client.

settings AnswerRecordsSettings

The base AnswerRecordsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override AnswerRecords.AnswerRecordsClient GrpcClient { get; }

The underlying gRPC AnswerRecords client

Property Value
Type Description
AnswerRecordsAnswerRecordsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GetAnswerRecord(GetAnswerRecordRequest, CallSettings)

[Obsolete]
public override AnswerRecord GetAnswerRecord(GetAnswerRecordRequest request, CallSettings callSettings = null)

Deprecated. Retrieves a specific answer record.

Parameters
Name Description
request GetAnswerRecordRequest

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
AnswerRecord

The RPC response.

Overrides

GetAnswerRecordAsync(GetAnswerRecordRequest, CallSettings)

[Obsolete]
public override Task<AnswerRecord> GetAnswerRecordAsync(GetAnswerRecordRequest request, CallSettings callSettings = null)

Deprecated. Retrieves a specific answer record.

Parameters
Name Description
request GetAnswerRecordRequest

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
TaskAnswerRecord

A Task containing the RPC response.

Overrides

ListAnswerRecords(ListAnswerRecordsRequest, CallSettings)

public override PagedEnumerable<ListAnswerRecordsResponse, AnswerRecord> ListAnswerRecords(ListAnswerRecordsRequest request, CallSettings callSettings = null)

Returns the list of all answer records in the specified project in reverse chronological order.

Parameters
Name Description
request ListAnswerRecordsRequest

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
PagedEnumerableListAnswerRecordsResponseAnswerRecord

A pageable sequence of AnswerRecord resources.

Overrides

ListAnswerRecordsAsync(ListAnswerRecordsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAnswerRecordsResponse, AnswerRecord> ListAnswerRecordsAsync(ListAnswerRecordsRequest request, CallSettings callSettings = null)

Returns the list of all answer records in the specified project in reverse chronological order.

Parameters
Name Description
request ListAnswerRecordsRequest

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
PagedAsyncEnumerableListAnswerRecordsResponseAnswerRecord

A pageable asynchronous sequence of AnswerRecord resources.

Overrides

UpdateAnswerRecord(UpdateAnswerRecordRequest, CallSettings)

public override AnswerRecord UpdateAnswerRecord(UpdateAnswerRecordRequest request, CallSettings callSettings = null)

Updates the specified answer record.

Parameters
Name Description
request UpdateAnswerRecordRequest

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
AnswerRecord

The RPC response.

Overrides

UpdateAnswerRecordAsync(UpdateAnswerRecordRequest, CallSettings)

public override Task<AnswerRecord> UpdateAnswerRecordAsync(UpdateAnswerRecordRequest request, CallSettings callSettings = null)

Updates the specified answer record.

Parameters
Name Description
request UpdateAnswerRecordRequest

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
TaskAnswerRecord

A Task containing the RPC response.

Overrides