public sealed class IntentsClientImpl : IntentsClient
Intents client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Intents][google.cloud.dialogflow.cx.v3.Intent].
Constructors
IntentsClientImpl(Intents.IntentsClient, IntentsSettings)
public IntentsClientImpl(Intents.IntentsClient grpcClient, IntentsSettings settings)
Constructs a client wrapper for the Intents service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Intents.IntentsClient The underlying gRPC client. |
settings | IntentsSettings The base IntentsSettings used within this client. |
Properties
GrpcClient
public override Intents.IntentsClient GrpcClient { get; }
The underlying gRPC Intents client
Property Value | |
---|---|
Type | Description |
Intents.IntentsClient |
Methods
CreateIntent(CreateIntentRequest, CallSettings)
public override Intent CreateIntent(CreateIntentRequest request, CallSettings callSettings = null)
Creates an intent in the specified agent.
Parameters | |
---|---|
Name | Description |
request | CreateIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Intent | The RPC response. |
CreateIntentAsync(CreateIntentRequest, CallSettings)
public override Task<Intent> CreateIntentAsync(CreateIntentRequest request, CallSettings callSettings = null)
Creates an intent in the specified agent.
Parameters | |
---|---|
Name | Description |
request | CreateIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Intent> | A Task containing the RPC response. |
DeleteIntent(DeleteIntentRequest, CallSettings)
public override void DeleteIntent(DeleteIntentRequest request, CallSettings callSettings = null)
Deletes the specified intent.
Parameters | |
---|---|
Name | Description |
request | DeleteIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
DeleteIntentAsync(DeleteIntentRequest, CallSettings)
public override Task DeleteIntentAsync(DeleteIntentRequest request, CallSettings callSettings = null)
Deletes the specified intent.
Parameters | |
---|---|
Name | Description |
request | DeleteIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A Task containing the RPC response. |
GetIntent(GetIntentRequest, CallSettings)
public override Intent GetIntent(GetIntentRequest request, CallSettings callSettings = null)
Retrieves the specified intent.
Parameters | |
---|---|
Name | Description |
request | GetIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Intent | The RPC response. |
GetIntentAsync(GetIntentRequest, CallSettings)
public override Task<Intent> GetIntentAsync(GetIntentRequest request, CallSettings callSettings = null)
Retrieves the specified intent.
Parameters | |
---|---|
Name | Description |
request | GetIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Intent> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | ListIntentsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedEnumerable<ListIntentsResponse, Intent> | A pageable sequence of Intent resources. |
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 | |
---|---|
Name | Description |
request | ListIntentsRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListIntentsResponse, Intent> | A pageable asynchronous sequence of Intent resources. |
UpdateIntent(UpdateIntentRequest, CallSettings)
public override Intent UpdateIntent(UpdateIntentRequest request, CallSettings callSettings = null)
Updates the specified intent.
Parameters | |
---|---|
Name | Description |
request | UpdateIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Intent | The RPC response. |
UpdateIntentAsync(UpdateIntentRequest, CallSettings)
public override Task<Intent> UpdateIntentAsync(UpdateIntentRequest request, CallSettings callSettings = null)
Updates the specified intent.
Parameters | |
---|---|
Name | Description |
request | UpdateIntentRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Intent> | A Task containing the RPC response. |