Class Environments.EnvironmentsBase (2.0.0)

[BindServiceMethod(typeof(Environments), "BindService")]
public abstract class EnvironmentsBase

Base class for server-side implementations of Environments

Inheritance

Object > Environments.EnvironmentsBase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Methods

CreateEnvironment(CreateEnvironmentRequest, ServerCallContext)

public virtual Task<Operation> CreateEnvironment(CreateEnvironmentRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteEnvironment(DeleteEnvironmentRequest, ServerCallContext)

public virtual Task<Empty> DeleteEnvironment(DeleteEnvironmentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestDeleteEnvironmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

DeployFlow(DeployFlowRequest, ServerCallContext)

public virtual Task<Operation> DeployFlow(DeployFlowRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetEnvironment(GetEnvironmentRequest, ServerCallContext)

public virtual Task<Environment> GetEnvironment(GetEnvironmentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetEnvironmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Environment>

The response to send back to the client (wrapped by a task).

ListContinuousTestResults(ListContinuousTestResultsRequest, ServerCallContext)

public virtual Task<ListContinuousTestResultsResponse> ListContinuousTestResults(ListContinuousTestResultsRequest request, ServerCallContext context)

Fetches a list of continuous test results for a given environment.

Parameters
NameDescription
requestListContinuousTestResultsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListContinuousTestResultsResponse>

The response to send back to the client (wrapped by a task).

ListEnvironments(ListEnvironmentsRequest, ServerCallContext)

public virtual Task<ListEnvironmentsResponse> ListEnvironments(ListEnvironmentsRequest request, ServerCallContext context)

Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].

Parameters
NameDescription
requestListEnvironmentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListEnvironmentsResponse>

The response to send back to the client (wrapped by a task).

LookupEnvironmentHistory(LookupEnvironmentHistoryRequest, ServerCallContext)

public virtual Task<LookupEnvironmentHistoryResponse> LookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, ServerCallContext context)

Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].

Parameters
NameDescription
requestLookupEnvironmentHistoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<LookupEnvironmentHistoryResponse>

The response to send back to the client (wrapped by a task).

RunContinuousTest(RunContinuousTestRequest, ServerCallContext)

public virtual Task<Operation> RunContinuousTest(RunContinuousTestRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateEnvironment(UpdateEnvironmentRequest, ServerCallContext)

public virtual Task<Operation> UpdateEnvironment(UpdateEnvironmentRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).