Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ContextReference.
Represents a section of ingested context information.
Generated from protobuf message google.cloud.dialogflow.v2.Conversation.ContextReference
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ConversationMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ context_contents
array< ContextReference\ContextContent
>
Required. The list of content updates for a context reference.
↳ update_mode
int
Required. The mode in which context reference contents are updated.
↳ language_code
string
Optional. The language of the information ingested, defaults to "en-US" if not set.
↳ create_time
getContextContents
Required. The list of content updates for a context reference.
setContextContents
Required. The list of content updates for a context reference.
$this
getUpdateMode
Required. The mode in which context reference contents are updated.
int
setUpdateMode
Required. The mode in which context reference contents are updated.
var
int
$this
getLanguageCode
Optional. The language of the information ingested, defaults to "en-US" if not set.
string
setLanguageCode
Optional. The language of the information ingested, defaults to "en-US" if not set.
var
string
$this
getCreateTime
Output only. The time the context reference was first created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time the context reference was first created.
$this