public sealed class GeneratorsClientImpl : GeneratorsClient
Reference documentation and code samples for the Dialogflow v3 API class GeneratorsClientImpl.
Generators client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Generators][google.cloud.dialogflow.cx.v3.Generator]
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 |
GeneratorsGeneratorsClient The underlying gRPC client. |
settings |
GeneratorsSettings The base GeneratorsSettings used within this client. |
logger |
ILogger Optional 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 in the specified agent.
Parameters | |
---|---|
Name | Description |
request |
CreateGeneratorRequest 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 |
Generator |
The RPC response. |
CreateGeneratorAsync(CreateGeneratorRequest, CallSettings)
public override Task<Generator> CreateGeneratorAsync(CreateGeneratorRequest request, CallSettings callSettings = null)
Creates a generator in the specified agent.
Parameters | |
---|---|
Name | Description |
request |
CreateGeneratorRequest 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 |
TaskGenerator |
A Task containing the RPC response. |
DeleteGenerator(DeleteGeneratorRequest, CallSettings)
public override void DeleteGenerator(DeleteGeneratorRequest request, CallSettings callSettings = null)
Deletes the specified generators.
Parameters | |
---|---|
Name | Description |
request |
DeleteGeneratorRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
DeleteGeneratorAsync(DeleteGeneratorRequest, CallSettings)
public override Task DeleteGeneratorAsync(DeleteGeneratorRequest request, CallSettings callSettings = null)
Deletes the specified generators.
Parameters | |
---|---|
Name | Description |
request |
DeleteGeneratorRequest 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. |
GetGenerator(GetGeneratorRequest, CallSettings)
public override Generator GetGenerator(GetGeneratorRequest request, CallSettings callSettings = null)
Retrieves the specified generator.
Parameters | |
---|---|
Name | Description |
request |
GetGeneratorRequest 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 |
Generator |
The RPC response. |
GetGeneratorAsync(GetGeneratorRequest, CallSettings)
public override Task<Generator> GetGeneratorAsync(GetGeneratorRequest request, CallSettings callSettings = null)
Retrieves the specified generator.
Parameters | |
---|---|
Name | Description |
request |
GetGeneratorRequest 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 |
TaskGenerator |
A Task containing the RPC response. |
ListGenerators(ListGeneratorsRequest, CallSettings)
public override PagedEnumerable<ListGeneratorsResponse, Generator> ListGenerators(ListGeneratorsRequest request, CallSettings callSettings = null)
Returns the list of all generators in the specified agent.
Parameters | |
---|---|
Name | Description |
request |
ListGeneratorsRequest 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 |
PagedEnumerableListGeneratorsResponseGenerator |
A pageable sequence of Generator resources. |
ListGeneratorsAsync(ListGeneratorsRequest, CallSettings)
public override PagedAsyncEnumerable<ListGeneratorsResponse, Generator> ListGeneratorsAsync(ListGeneratorsRequest request, CallSettings callSettings = null)
Returns the list of all generators in the specified agent.
Parameters | |
---|---|
Name | Description |
request |
ListGeneratorsRequest 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 |
PagedAsyncEnumerableListGeneratorsResponseGenerator |
A pageable asynchronous sequence of Generator resources. |
UpdateGenerator(UpdateGeneratorRequest, CallSettings)
public override Generator UpdateGenerator(UpdateGeneratorRequest request, CallSettings callSettings = null)
Update the specified generator.
Parameters | |
---|---|
Name | Description |
request |
UpdateGeneratorRequest 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 |
Generator |
The RPC response. |
UpdateGeneratorAsync(UpdateGeneratorRequest, CallSettings)
public override Task<Generator> UpdateGeneratorAsync(UpdateGeneratorRequest request, CallSettings callSettings = null)
Update the specified generator.
Parameters | |
---|---|
Name | Description |
request |
UpdateGeneratorRequest 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 |
TaskGenerator |
A Task containing the RPC response. |