Dialogflow v3 API - Class ExamplesClientImpl (3.0.0)

public sealed class ExamplesClientImpl : ExamplesClient

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

Examples client wrapper implementation, for convenient use.

Inheritance

object > ExamplesClient > ExamplesClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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 ExamplesExamplesClient

The underlying gRPC client.

settings ExamplesSettings

The base ExamplesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Examples.ExamplesClient GrpcClient { get; }

The underlying gRPC Examples client

Property Value
Type Description
ExamplesExamplesClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateExample(CreateExampleRequest, CallSettings)

public override Example CreateExample(CreateExampleRequest request, CallSettings callSettings = null)

Creates an example in the specified playbook.

Parameters
Name Description
request CreateExampleRequest

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
Example

The RPC response.

Overrides

CreateExampleAsync(CreateExampleRequest, CallSettings)

public override Task<Example> CreateExampleAsync(CreateExampleRequest request, CallSettings callSettings = null)

Creates an example in the specified playbook.

Parameters
Name Description
request CreateExampleRequest

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
TaskExample

A Task containing the RPC response.

Overrides

DeleteExample(DeleteExampleRequest, CallSettings)

public override void DeleteExample(DeleteExampleRequest request, CallSettings callSettings = null)

Deletes the specified example.

Parameters
Name Description
request DeleteExampleRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteExampleAsync(DeleteExampleRequest, CallSettings)

public override Task DeleteExampleAsync(DeleteExampleRequest request, CallSettings callSettings = null)

Deletes the specified example.

Parameters
Name Description
request DeleteExampleRequest

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

A Task containing the RPC response.

Overrides

GetExample(GetExampleRequest, CallSettings)

public override Example GetExample(GetExampleRequest request, CallSettings callSettings = null)

Retrieves the specified example.

Parameters
Name Description
request GetExampleRequest

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
Example

The RPC response.

Overrides

GetExampleAsync(GetExampleRequest, CallSettings)

public override Task<Example> GetExampleAsync(GetExampleRequest request, CallSettings callSettings = null)

Retrieves the specified example.

Parameters
Name Description
request GetExampleRequest

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
TaskExample

A Task containing the RPC response.

Overrides

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 ListExamplesRequest

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
PagedEnumerableListExamplesResponseExample

A pageable sequence of Example resources.

Overrides

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 ListExamplesRequest

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
PagedAsyncEnumerableListExamplesResponseExample

A pageable asynchronous sequence of Example resources.

Overrides

UpdateExample(UpdateExampleRequest, CallSettings)

public override Example UpdateExample(UpdateExampleRequest request, CallSettings callSettings = null)

Update the specified example.

Parameters
Name Description
request UpdateExampleRequest

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
Example

The RPC response.

Overrides

UpdateExampleAsync(UpdateExampleRequest, CallSettings)

public override Task<Example> UpdateExampleAsync(UpdateExampleRequest request, CallSettings callSettings = null)

Update the specified example.

Parameters
Name Description
request UpdateExampleRequest

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
TaskExample

A Task containing the RPC response.

Overrides