Google Cloud Dialogflow v2beta1 API - Class AnswerRecords.AnswerRecordsClient (1.0.0-beta15)

public class AnswerRecords.AnswerRecordsClient : ClientBase<AnswerRecords.AnswerRecordsClient>

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

Client for AnswerRecords

Inheritance

object > ClientBase > ClientBaseAnswerRecordsAnswerRecordsClient > AnswerRecords.AnswerRecordsClient

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

AnswerRecordsClient()

protected AnswerRecordsClient()

Protected parameterless constructor to allow creation of test doubles.

AnswerRecordsClient(CallInvoker)

public AnswerRecordsClient(CallInvoker callInvoker)

Creates a new client for AnswerRecords that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AnswerRecordsClient(ChannelBase)

public AnswerRecordsClient(ChannelBase channel)

Creates a new client for AnswerRecords

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AnswerRecordsClient(ClientBaseConfiguration)

protected AnswerRecordsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

GetAnswerRecord(GetAnswerRecordRequest, CallOptions)

[Obsolete]
public virtual AnswerRecord GetAnswerRecord(GetAnswerRecordRequest request, CallOptions options)

Deprecated. Retrieves a specific answer record.

Parameters
NameDescription
requestGetAnswerRecordRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnswerRecord

The response received from the server.

GetAnswerRecord(GetAnswerRecordRequest, Metadata, DateTime?, CancellationToken)

[Obsolete]
public virtual AnswerRecord GetAnswerRecord(GetAnswerRecordRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deprecated. Retrieves a specific answer record.

Parameters
NameDescription
requestGetAnswerRecordRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnswerRecord

The response received from the server.

GetAnswerRecordAsync(GetAnswerRecordRequest, CallOptions)

[Obsolete]
public virtual AsyncUnaryCall<AnswerRecord> GetAnswerRecordAsync(GetAnswerRecordRequest request, CallOptions options)

Deprecated. Retrieves a specific answer record.

Parameters
NameDescription
requestGetAnswerRecordRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnswerRecord

The call object.

GetAnswerRecordAsync(GetAnswerRecordRequest, Metadata, DateTime?, CancellationToken)

[Obsolete]
public virtual AsyncUnaryCall<AnswerRecord> GetAnswerRecordAsync(GetAnswerRecordRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deprecated. Retrieves a specific answer record.

Parameters
NameDescription
requestGetAnswerRecordRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnswerRecord

The call object.

ListAnswerRecords(ListAnswerRecordsRequest, CallOptions)

public virtual ListAnswerRecordsResponse ListAnswerRecords(ListAnswerRecordsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListAnswerRecordsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAnswerRecordsResponse

The response received from the server.

ListAnswerRecords(ListAnswerRecordsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAnswerRecordsResponse ListAnswerRecords(ListAnswerRecordsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListAnswerRecordsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListAnswerRecordsResponse

The response received from the server.

ListAnswerRecordsAsync(ListAnswerRecordsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAnswerRecordsResponse> ListAnswerRecordsAsync(ListAnswerRecordsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListAnswerRecordsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListAnswerRecordsResponse

The call object.

ListAnswerRecordsAsync(ListAnswerRecordsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAnswerRecordsResponse> ListAnswerRecordsAsync(ListAnswerRecordsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListAnswerRecordsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListAnswerRecordsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AnswerRecords.AnswerRecordsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AnswerRecordsAnswerRecordsClient
Overrides

UpdateAnswerRecord(UpdateAnswerRecordRequest, CallOptions)

public virtual AnswerRecord UpdateAnswerRecord(UpdateAnswerRecordRequest request, CallOptions options)

Updates the specified answer record.

Parameters
NameDescription
requestUpdateAnswerRecordRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnswerRecord

The response received from the server.

UpdateAnswerRecord(UpdateAnswerRecordRequest, Metadata, DateTime?, CancellationToken)

public virtual AnswerRecord UpdateAnswerRecord(UpdateAnswerRecordRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified answer record.

Parameters
NameDescription
requestUpdateAnswerRecordRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnswerRecord

The response received from the server.

UpdateAnswerRecordAsync(UpdateAnswerRecordRequest, CallOptions)

public virtual AsyncUnaryCall<AnswerRecord> UpdateAnswerRecordAsync(UpdateAnswerRecordRequest request, CallOptions options)

Updates the specified answer record.

Parameters
NameDescription
requestUpdateAnswerRecordRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnswerRecord

The call object.

UpdateAnswerRecordAsync(UpdateAnswerRecordRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnswerRecord> UpdateAnswerRecordAsync(UpdateAnswerRecordRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified answer record.

Parameters
NameDescription
requestUpdateAnswerRecordRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnswerRecord

The call object.