public sealed class GeneratorsClientImpl : GeneratorsClientReference documentation and code samples for the Google Cloud Dialogflow v2 API class GeneratorsClientImpl.
Generators client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Remarks
Generator Service for LLM powered Agent Assist. This service manages the configurations of user owned Generators, such as description, context and instruction, input/output format, etc. The generator resources will be used inside a conversation and will be triggered by TriggerEvent to query LLM for answers.
Constructors
GeneratorsClientImpl(GeneratorsClient, GeneratorsSettings, ILogger)
public GeneratorsClientImpl(Generators.GeneratorsClient grpcClient, GeneratorsSettings settings, ILogger logger)Constructs a client wrapper for the Generators service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
GeneratorsGeneratorsClientThe underlying gRPC client. |
settings |
GeneratorsSettingsThe base GeneratorsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Generators.GeneratorsClient GrpcClient { get; }The underlying gRPC Generators client
| Property Value | |
|---|---|
| Type | Description |
GeneratorsGeneratorsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateGenerator(CreateGeneratorRequest, CallSettings)
public override Generator CreateGenerator(CreateGeneratorRequest request, CallSettings callSettings = null)Creates a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Generator |
The RPC response. |
CreateGeneratorAsync(CreateGeneratorRequest, CallSettings)
public override Task<Generator> CreateGeneratorAsync(CreateGeneratorRequest request, CallSettings callSettings = null)Creates a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerator |
A Task containing the RPC response. |
DeleteGenerator(DeleteGeneratorRequest, CallSettings)
public override void DeleteGenerator(DeleteGeneratorRequest request, CallSettings callSettings = null)Deletes a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteGeneratorAsync(DeleteGeneratorRequest, CallSettings)
public override Task DeleteGeneratorAsync(DeleteGeneratorRequest request, CallSettings callSettings = null)Deletes a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGeneratorRequestThe 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. |
GetGenerator(GetGeneratorRequest, CallSettings)
public override Generator GetGenerator(GetGeneratorRequest request, CallSettings callSettings = null)Retrieves a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Generator |
The RPC response. |
GetGeneratorAsync(GetGeneratorRequest, CallSettings)
public override Task<Generator> GetGeneratorAsync(GetGeneratorRequest request, CallSettings callSettings = null)Retrieves a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerator |
A Task containing the RPC response. |
ListGenerators(ListGeneratorsRequest, CallSettings)
public override PagedEnumerable<ListGeneratorsResponse, Generator> ListGenerators(ListGeneratorsRequest request, CallSettings callSettings = null)Lists generators.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGeneratorsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListGeneratorsResponseGenerator |
A pageable sequence of Generator resources. |
ListGeneratorsAsync(ListGeneratorsRequest, CallSettings)
public override PagedAsyncEnumerable<ListGeneratorsResponse, Generator> ListGeneratorsAsync(ListGeneratorsRequest request, CallSettings callSettings = null)Lists generators.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGeneratorsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListGeneratorsResponseGenerator |
A pageable asynchronous sequence of Generator resources. |
UpdateGenerator(UpdateGeneratorRequest, CallSettings)
public override Generator UpdateGenerator(UpdateGeneratorRequest request, CallSettings callSettings = null)Updates a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Generator |
The RPC response. |
UpdateGeneratorAsync(UpdateGeneratorRequest, CallSettings)
public override Task<Generator> UpdateGeneratorAsync(UpdateGeneratorRequest request, CallSettings callSettings = null)Updates a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGeneratorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerator |
A Task containing the RPC response. |