Class EnvironmentsClientImpl (3.2.0)

public sealed class EnvironmentsClientImpl : EnvironmentsClient

Environments client wrapper implementation, for convenient use.

Inheritance

Object > EnvironmentsClient > EnvironmentsClientImpl

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Remarks

Service for managing [Environments][google.cloud.dialogflow.v2.Environment].

Constructors

EnvironmentsClientImpl(Environments.EnvironmentsClient, EnvironmentsSettings)

public EnvironmentsClientImpl(Environments.EnvironmentsClient grpcClient, EnvironmentsSettings settings)

Constructs a client wrapper for the Environments service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient Environments.EnvironmentsClient

The underlying gRPC client.

settings EnvironmentsSettings

The base EnvironmentsSettings used within this client.

Properties

GrpcClient

public override Environments.EnvironmentsClient GrpcClient { get; }

The underlying gRPC Environments client

Property Value
Type Description
Environments.EnvironmentsClient
Overrides

Methods

ListEnvironments(ListEnvironmentsRequest, CallSettings)

public override PagedEnumerable<ListEnvironmentsResponse, Environment> ListEnvironments(ListEnvironmentsRequest request, CallSettings callSettings = null)

Returns the list of all non-draft environments of the specified agent.

Parameters
Name Description
request ListEnvironmentsRequest

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
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 non-draft environments of the specified agent.

Parameters
Name Description
request ListEnvironmentsRequest

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
PagedAsyncEnumerable<ListEnvironmentsResponse, Environment>

A pageable asynchronous sequence of Environment resources.

Overrides