public sealed class EnvironmentsClientImpl : EnvironmentsClientReference documentation and code samples for the Dialogflow v3 API class EnvironmentsClientImpl.
Environments client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Environments][google.cloud.dialogflow.cx.v3.Environment].
Constructors
EnvironmentsClientImpl(EnvironmentsClient, EnvironmentsSettings, ILogger)
public EnvironmentsClientImpl(Environments.EnvironmentsClient grpcClient, EnvironmentsSettings settings, ILogger logger)Constructs a client wrapper for the Environments service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
EnvironmentsEnvironmentsClientThe underlying gRPC client. |
settings |
EnvironmentsSettingsThe base EnvironmentsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateEnvironmentOperationsClient
public override OperationsClient CreateEnvironmentOperationsClient { get; }The long-running operations client for CreateEnvironment.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeployFlowOperationsClient
public override OperationsClient DeployFlowOperationsClient { get; }The long-running operations client for DeployFlow.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override Environments.EnvironmentsClient GrpcClient { get; }The underlying gRPC Environments client
| Property Value | |
|---|---|
| Type | Description |
EnvironmentsEnvironmentsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
RunContinuousTestOperationsClient
public override OperationsClient RunContinuousTestOperationsClient { get; }The long-running operations client for RunContinuousTest.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateEnvironmentOperationsClient
public override OperationsClient UpdateEnvironmentOperationsClient { get; }The long-running operations client for UpdateEnvironment.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateEnvironment(CreateEnvironmentRequest, CallSettings)
public override Operation<Environment, Struct> CreateEnvironment(CreateEnvironmentRequest request, CallSettings callSettings = null)Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: [Environment][google.cloud.dialogflow.cx.v3.Environment]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEnvironmentStruct |
The RPC response. |
CreateEnvironmentAsync(CreateEnvironmentRequest, CallSettings)
public override Task<Operation<Environment, Struct>> CreateEnvironmentAsync(CreateEnvironmentRequest request, CallSettings callSettings = null)Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: [Environment][google.cloud.dialogflow.cx.v3.Environment]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEnvironmentStruct |
A Task containing the RPC response. |
DeleteEnvironment(DeleteEnvironmentRequest, CallSettings)
public override void DeleteEnvironment(DeleteEnvironmentRequest request, CallSettings callSettings = null)Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteEnvironmentAsync(DeleteEnvironmentRequest, CallSettings)
public override Task DeleteEnvironmentAsync(DeleteEnvironmentRequest request, CallSettings callSettings = null)Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEnvironmentRequestThe 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. |
DeployFlow(DeployFlowRequest, CallSettings)
public override Operation<DeployFlowResponse, DeployFlowMetadata> DeployFlow(DeployFlowRequest request, CallSettings callSettings = null)Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata]response: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]
| Parameters | |
|---|---|
| Name | Description |
request |
DeployFlowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployFlowResponseDeployFlowMetadata |
The RPC response. |
DeployFlowAsync(DeployFlowRequest, CallSettings)
public override Task<Operation<DeployFlowResponse, DeployFlowMetadata>> DeployFlowAsync(DeployFlowRequest request, CallSettings callSettings = null)Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata]response: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]
| Parameters | |
|---|---|
| Name | Description |
request |
DeployFlowRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployFlowResponseDeployFlowMetadata |
A Task containing the RPC response. |
GetEnvironment(GetEnvironmentRequest, CallSettings)
public override Environment GetEnvironment(GetEnvironmentRequest request, CallSettings callSettings = null)Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description |
request |
GetEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Environment |
The RPC response. |
GetEnvironmentAsync(GetEnvironmentRequest, CallSettings)
public override Task<Environment> GetEnvironmentAsync(GetEnvironmentRequest request, CallSettings callSettings = null)Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description |
request |
GetEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEnvironment |
A Task containing the RPC response. |
ListContinuousTestResults(ListContinuousTestResultsRequest, CallSettings)
public override PagedEnumerable<ListContinuousTestResultsResponse, ContinuousTestResult> ListContinuousTestResults(ListContinuousTestResultsRequest request, CallSettings callSettings = null)Fetches a list of continuous test results for a given environment.
| Parameters | |
|---|---|
| Name | Description |
request |
ListContinuousTestResultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListContinuousTestResultsResponseContinuousTestResult |
A pageable sequence of ContinuousTestResult resources. |
ListContinuousTestResultsAsync(ListContinuousTestResultsRequest, CallSettings)
public override PagedAsyncEnumerable<ListContinuousTestResultsResponse, ContinuousTestResult> ListContinuousTestResultsAsync(ListContinuousTestResultsRequest request, CallSettings callSettings = null)Fetches a list of continuous test results for a given environment.
| Parameters | |
|---|---|
| Name | Description |
request |
ListContinuousTestResultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListContinuousTestResultsResponseContinuousTestResult |
A pageable asynchronous sequence of ContinuousTestResult resources. |
ListEnvironments(ListEnvironmentsRequest, CallSettings)
public override PagedEnumerable<ListEnvironmentsResponse, Environment> ListEnvironments(ListEnvironmentsRequest request, CallSettings callSettings = null)Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
| Parameters | |
|---|---|
| Name | Description |
request |
ListEnvironmentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEnvironmentsResponseEnvironment |
A pageable sequence of Environment resources. |
ListEnvironmentsAsync(ListEnvironmentsRequest, CallSettings)
public override PagedAsyncEnumerable<ListEnvironmentsResponse, Environment> ListEnvironmentsAsync(ListEnvironmentsRequest request, CallSettings callSettings = null)Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
| Parameters | |
|---|---|
| Name | Description |
request |
ListEnvironmentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEnvironmentsResponseEnvironment |
A pageable asynchronous sequence of Environment resources. |
LookupEnvironmentHistory(LookupEnvironmentHistoryRequest, CallSettings)
public override PagedEnumerable<LookupEnvironmentHistoryResponse, Environment> LookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, CallSettings callSettings = null)Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEnvironmentHistoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableLookupEnvironmentHistoryResponseEnvironment |
A pageable sequence of Environment resources. |
LookupEnvironmentHistoryAsync(LookupEnvironmentHistoryRequest, CallSettings)
public override PagedAsyncEnumerable<LookupEnvironmentHistoryResponse, Environment> LookupEnvironmentHistoryAsync(LookupEnvironmentHistoryRequest request, CallSettings callSettings = null)Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
| Parameters | |
|---|---|
| Name | Description |
request |
LookupEnvironmentHistoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableLookupEnvironmentHistoryResponseEnvironment |
A pageable asynchronous sequence of Environment resources. |
RunContinuousTest(RunContinuousTestRequest, CallSettings)
public override Operation<RunContinuousTestResponse, RunContinuousTestMetadata> RunContinuousTest(RunContinuousTestRequest request, CallSettings callSettings = null)Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata]response: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]
| Parameters | |
|---|---|
| Name | Description |
request |
RunContinuousTestRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRunContinuousTestResponseRunContinuousTestMetadata |
The RPC response. |
RunContinuousTestAsync(RunContinuousTestRequest, CallSettings)
public override Task<Operation<RunContinuousTestResponse, RunContinuousTestMetadata>> RunContinuousTestAsync(RunContinuousTestRequest request, CallSettings callSettings = null)Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata]response: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]
| Parameters | |
|---|---|
| Name | Description |
request |
RunContinuousTestRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRunContinuousTestResponseRunContinuousTestMetadata |
A Task containing the RPC response. |
UpdateEnvironment(UpdateEnvironmentRequest, CallSettings)
public override Operation<Environment, Struct> UpdateEnvironment(UpdateEnvironmentRequest request, CallSettings callSettings = null)Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: [Environment][google.cloud.dialogflow.cx.v3.Environment]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEnvironmentStruct |
The RPC response. |
UpdateEnvironmentAsync(UpdateEnvironmentRequest, CallSettings)
public override Task<Operation<Environment, Struct>> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, CallSettings callSettings = null)Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
This method is a long-running
operation.
The returned Operation type has the following method-specific fields:
metadata: An empty Struct messageresponse: [Environment][google.cloud.dialogflow.cx.v3.Environment]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEnvironmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEnvironmentStruct |
A Task containing the RPC response. |