public sealed class ExamplesClientImpl : ExamplesClientReference documentation and code samples for the Dialogflow v3 API class ExamplesClientImpl.
Examples client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Examples][google.cloud.dialogflow.cx.v3.Example].
Constructors
ExamplesClientImpl(ExamplesClient, ExamplesSettings, ILogger)
public ExamplesClientImpl(Examples.ExamplesClient grpcClient, ExamplesSettings settings, ILogger logger)Constructs a client wrapper for the Examples service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ExamplesExamplesClientThe underlying gRPC client. |
settings |
ExamplesSettingsThe base ExamplesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Examples.ExamplesClient GrpcClient { get; }The underlying gRPC Examples client
| Property Value | |
|---|---|
| Type | Description |
ExamplesExamplesClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateExample(CreateExampleRequest, CallSettings)
public override Example CreateExample(CreateExampleRequest request, CallSettings callSettings = null)Creates an example in the specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Example |
The RPC response. |
CreateExampleAsync(CreateExampleRequest, CallSettings)
public override Task<Example> CreateExampleAsync(CreateExampleRequest request, CallSettings callSettings = null)Creates an example in the specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
A Task containing the RPC response. |
DeleteExample(DeleteExampleRequest, CallSettings)
public override void DeleteExample(DeleteExampleRequest request, CallSettings callSettings = null)Deletes the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteExampleAsync(DeleteExampleRequest, CallSettings)
public override Task DeleteExampleAsync(DeleteExampleRequest request, CallSettings callSettings = null)Deletes the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetExample(GetExampleRequest, CallSettings)
public override Example GetExample(GetExampleRequest request, CallSettings callSettings = null)Retrieves the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Example |
The RPC response. |
GetExampleAsync(GetExampleRequest, CallSettings)
public override Task<Example> GetExampleAsync(GetExampleRequest request, CallSettings callSettings = null)Retrieves the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
A Task containing the RPC response. |
ListExamples(ListExamplesRequest, CallSettings)
public override PagedEnumerable<ListExamplesResponse, Example> ListExamples(ListExamplesRequest request, CallSettings callSettings = null)Returns a list of examples in the specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExamplesResponseExample |
A pageable sequence of Example resources. |
ListExamplesAsync(ListExamplesRequest, CallSettings)
public override PagedAsyncEnumerable<ListExamplesResponse, Example> ListExamplesAsync(ListExamplesRequest request, CallSettings callSettings = null)Returns a list of examples in the specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExamplesResponseExample |
A pageable asynchronous sequence of Example resources. |
UpdateExample(UpdateExampleRequest, CallSettings)
public override Example UpdateExample(UpdateExampleRequest request, CallSettings callSettings = null)Update the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Example |
The RPC response. |
UpdateExampleAsync(UpdateExampleRequest, CallSettings)
public override Task<Example> UpdateExampleAsync(UpdateExampleRequest request, CallSettings callSettings = null)Update the specified example.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExampleRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExample |
A Task containing the RPC response. |