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
Name
Description
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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$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
Type
Description

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
Name
Description
Returns
Type
Description
$this

getNextPageToken

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

Returns
Type
Description
string

setNextPageToken

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this