Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class MimeContent.
The mime content from the initial SIP INVITE.
Generated from protobuf message google.cloud.dialogflow.v2.Conversation.TelephonyConnectionInfo.MimeContent
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Conversation \ TelephonyConnectionInfoMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mime_type |
string
Optional. The mime type of the content. |
↳ content |
string
Optional. The content payload. |
getMimeType
Optional. The mime type of the content.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMimeType
Optional. The mime type of the content.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContent
Optional. The content payload.
| Returns | |
|---|---|
| Type | Description |
string |
|
setContent
Optional. The content payload.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|