Dialogflow v3 API - Class EnvironmentsClientImpl (2.5.0)

public sealed class EnvironmentsClientImpl : EnvironmentsClient

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

Environments client wrapper implementation, for convenient use.

Inheritance

Object > EnvironmentsClient > EnvironmentsClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Environments][google.cloud.dialogflow.cx.v3.Environment].

Constructors

EnvironmentsClientImpl(Environments.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
NameDescription
grpcClientEnvironments.EnvironmentsClient

The underlying gRPC client.

settingsEnvironmentsSettings

The base EnvironmentsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateEnvironmentOperationsClient

public override OperationsClient CreateEnvironmentOperationsClient { get; }

The long-running operations client for CreateEnvironment.

Property Value
TypeDescription
OperationsClient
Overrides

DeployFlowOperationsClient

public override OperationsClient DeployFlowOperationsClient { get; }

The long-running operations client for DeployFlow.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Environments.EnvironmentsClient GrpcClient { get; }

The underlying gRPC Environments client

Property Value
TypeDescription
Environments.EnvironmentsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

RunContinuousTestOperationsClient

public override OperationsClient RunContinuousTestOperationsClient { get; }

The long-running operations client for RunContinuousTest.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateEnvironmentOperationsClient

public override OperationsClient UpdateEnvironmentOperationsClient { get; }

The long-running operations client for UpdateEnvironment.

Property Value
TypeDescription
OperationsClient
Overrides

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 message
  • response: [Environment][google.cloud.dialogflow.cx.v3.Environment]
Parameters
NameDescription
requestCreateEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Environment, Struct>

The RPC response.

Overrides

CreateEnvironmentAsync(CreateEnvironmentRequest, CallSettings)

public override async 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 message
  • response: [Environment][google.cloud.dialogflow.cx.v3.Environment]
Parameters
NameDescription
requestCreateEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Environment, Struct>>

A Task containing the RPC response.

Overrides

DeleteEnvironment(DeleteEnvironmentRequest, CallSettings)

public override void DeleteEnvironment(DeleteEnvironmentRequest request, CallSettings callSettings = null)

Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestDeleteEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteEnvironmentAsync(DeleteEnvironmentRequest, CallSettings)

public override Task DeleteEnvironmentAsync(DeleteEnvironmentRequest request, CallSettings callSettings = null)

Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestDeleteEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

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
NameDescription
requestDeployFlowRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<DeployFlowResponse, DeployFlowMetadata>

The RPC response.

Overrides

DeployFlowAsync(DeployFlowRequest, CallSettings)

public override async 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
NameDescription
requestDeployFlowRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<DeployFlowResponse, DeployFlowMetadata>>

A Task containing the RPC response.

Overrides

GetEnvironment(GetEnvironmentRequest, CallSettings)

public override Environment GetEnvironment(GetEnvironmentRequest request, CallSettings callSettings = null)

Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestGetEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Environment

The RPC response.

Overrides

GetEnvironmentAsync(GetEnvironmentRequest, CallSettings)

public override Task<Environment> GetEnvironmentAsync(GetEnvironmentRequest request, CallSettings callSettings = null)

Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestGetEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Environment>

A Task containing the RPC response.

Overrides

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
NameDescription
requestListContinuousTestResultsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListContinuousTestResultsResponse, ContinuousTestResult>

A pageable sequence of ContinuousTestResult resources.

Overrides

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
NameDescription
requestListContinuousTestResultsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListContinuousTestResultsResponse, ContinuousTestResult>

A pageable asynchronous sequence of ContinuousTestResult resources.

Overrides

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
NameDescription
requestListEnvironmentsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListEnvironmentsResponse, Environment>

A pageable sequence of Environment resources.

Overrides

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
NameDescription
requestListEnvironmentsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListEnvironmentsResponse, Environment>

A pageable asynchronous sequence of Environment resources.

Overrides

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
NameDescription
requestLookupEnvironmentHistoryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<LookupEnvironmentHistoryResponse, Environment>

A pageable sequence of Environment resources.

Overrides

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
NameDescription
requestLookupEnvironmentHistoryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<LookupEnvironmentHistoryResponse, Environment>

A pageable asynchronous sequence of Environment resources.

Overrides

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
NameDescription
requestRunContinuousTestRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<RunContinuousTestResponse, RunContinuousTestMetadata>

The RPC response.

Overrides

RunContinuousTestAsync(RunContinuousTestRequest, CallSettings)

public override async 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
NameDescription
requestRunContinuousTestRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<RunContinuousTestResponse, RunContinuousTestMetadata>>

A Task containing the RPC response.

Overrides

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 message
  • response: [Environment][google.cloud.dialogflow.cx.v3.Environment]
Parameters
NameDescription
requestUpdateEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Environment, Struct>

The RPC response.

Overrides

UpdateEnvironmentAsync(UpdateEnvironmentRequest, CallSettings)

public override async 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 message
  • response: [Environment][google.cloud.dialogflow.cx.v3.Environment]
Parameters
NameDescription
requestUpdateEnvironmentRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Environment, Struct>>

A Task containing the RPC response.

Overrides