Dialogflow v3 API - Class IntentsClientImpl (2.12.0)

public sealed class IntentsClientImpl : IntentsClient

Reference documentation and code samples for the Dialogflow v3 API class IntentsClientImpl.

Intents client wrapper implementation, for convenient use.

Inheritance

object > IntentsClient > IntentsClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Intents][google.cloud.dialogflow.cx.v3.Intent].

Constructors

IntentsClientImpl(IntentsClient, IntentsSettings, ILogger)

public IntentsClientImpl(Intents.IntentsClient grpcClient, IntentsSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientIntentsIntentsClient

The underlying gRPC client.

settingsIntentsSettings

The base IntentsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Intents.IntentsClient GrpcClient { get; }

The underlying gRPC Intents client

Property Value
TypeDescription
IntentsIntentsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateIntent(CreateIntentRequest, CallSettings)

public override Intent CreateIntent(CreateIntentRequest request, CallSettings callSettings = null)

Creates an intent in the specified agent.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Intent

The RPC response.

Overrides

CreateIntentAsync(CreateIntentRequest, CallSettings)

public override Task<Intent> CreateIntentAsync(CreateIntentRequest request, CallSettings callSettings = null)

Creates an intent in the specified agent.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIntent

A Task containing the RPC response.

Overrides

DeleteIntent(DeleteIntentRequest, CallSettings)

public override void DeleteIntent(DeleteIntentRequest request, CallSettings callSettings = null)

Deletes the specified intent.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteIntentAsync(DeleteIntentRequest, CallSettings)

public override Task DeleteIntentAsync(DeleteIntentRequest request, CallSettings callSettings = null)

Deletes the specified intent.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetIntent(GetIntentRequest, CallSettings)

public override Intent GetIntent(GetIntentRequest request, CallSettings callSettings = null)

Retrieves the specified intent.

Parameters
NameDescription
requestGetIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Intent

The RPC response.

Overrides

GetIntentAsync(GetIntentRequest, CallSettings)

public override Task<Intent> GetIntentAsync(GetIntentRequest request, CallSettings callSettings = null)

Retrieves the specified intent.

Parameters
NameDescription
requestGetIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIntent

A Task containing the RPC response.

Overrides

ListIntents(ListIntentsRequest, CallSettings)

public override PagedEnumerable<ListIntentsResponse, Intent> ListIntents(ListIntentsRequest request, CallSettings callSettings = null)

Returns the list of all intents in the specified agent.

Parameters
NameDescription
requestListIntentsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListIntentsResponseIntent

A pageable sequence of Intent resources.

Overrides

ListIntentsAsync(ListIntentsRequest, CallSettings)

public override PagedAsyncEnumerable<ListIntentsResponse, Intent> ListIntentsAsync(ListIntentsRequest request, CallSettings callSettings = null)

Returns the list of all intents in the specified agent.

Parameters
NameDescription
requestListIntentsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListIntentsResponseIntent

A pageable asynchronous sequence of Intent resources.

Overrides

UpdateIntent(UpdateIntentRequest, CallSettings)

public override Intent UpdateIntent(UpdateIntentRequest request, CallSettings callSettings = null)

Updates the specified intent.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Intent

The RPC response.

Overrides

UpdateIntentAsync(UpdateIntentRequest, CallSettings)

public override Task<Intent> UpdateIntentAsync(UpdateIntentRequest request, CallSettings callSettings = null)

Updates the specified intent.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateIntentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskIntent

A Task containing the RPC response.

Overrides