public sealed class AnswerRecordsClientImpl : AnswerRecordsClient
AnswerRecords client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Remarks
Service for managing [AnswerRecords][google.cloud.dialogflow.v2.AnswerRecord].
Constructors
AnswerRecordsClientImpl(AnswerRecords.AnswerRecordsClient, AnswerRecordsSettings)
public AnswerRecordsClientImpl(AnswerRecords.AnswerRecordsClient grpcClient, AnswerRecordsSettings settings)
Constructs a client wrapper for the AnswerRecords service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | AnswerRecords.AnswerRecordsClient The underlying gRPC client. |
settings | AnswerRecordsSettings The base AnswerRecordsSettings used within this client. |
Properties
GrpcClient
public override AnswerRecords.AnswerRecordsClient GrpcClient { get; }
The underlying gRPC AnswerRecords client
Property Value | |
---|---|
Type | Description |
AnswerRecords.AnswerRecordsClient |
Methods
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 |
PagedEnumerable<ListAnswerRecordsResponse, AnswerRecord> | A pageable sequence of AnswerRecord resources. |
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 |
PagedAsyncEnumerable<ListAnswerRecordsResponse, AnswerRecord> | A pageable asynchronous sequence of AnswerRecord resources. |
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. |
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 |
Task<AnswerRecord> | A Task containing the RPC response. |