Google Cloud Dialogflow V2 Client - Class EnvironmentHistory (1.8.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class EnvironmentHistory.

The response message for Environments.GetEnvironmentHistory.

Generated from protobuf message google.cloud.dialogflow.v2.EnvironmentHistory

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Output only. The name of the environment this history is for. Supported formats: - projects/<Project ID>/agent/environments/<Environment ID> - projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.

↳ entries array<Google\Cloud\Dialogflow\V2\EnvironmentHistory\Entry>

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

↳ next_page_token string

Output only. Token to retrieve the next page of results, or empty if there are no more results in the list.

getParent

Output only. The name of the environment this history is for.

Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.
Returns
TypeDescription
string

setParent

Output only. The name of the environment this history is for.

Supported formats:

  • projects/<Project ID>/agent/environments/<Environment ID>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID> The environment ID for the default environment is -.
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEntries

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEntries

Output only. The list of agent environments. There will be a maximum number of items returned based on the page_size field in the request.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\V2\EnvironmentHistory\Entry>
Returns
TypeDescription
$this

getNextPageToken

Output only. Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Output only. Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this