Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ContextContent.
Contents ingested.
Generated from protobuf message google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Conversation \ ContextReferenceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ content |
string
Required. The information ingested in a single request. |
↳ content_format |
int
Required. The format of the ingested string. |
↳ ingestion_time |
Google\Protobuf\Timestamp
Output only. The time when this information was incorporated into the relevant context reference. |
getContent
Required. The information ingested in a single request.
Returns | |
---|---|
Type | Description |
string |
setContent
Required. The information ingested in a single request.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getContentFormat
Required. The format of the ingested string.
Returns | |
---|---|
Type | Description |
int |
setContentFormat
Required. The format of the ingested string.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getIngestionTime
Output only. The time when this information was incorporated into the relevant context reference.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasIngestionTime
clearIngestionTime
setIngestionTime
Output only. The time when this information was incorporated into the relevant context reference.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |