Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
The mime content from the initial SIP INVITE.
Instance Attribute Summary collapse
-
#content ⇒ String
Optional.
-
#mime_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
constructor
A new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
Returns a new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent.
10189 10190 10191 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Optional. The content payload.
Corresponds to the JSON property content
NOTE: Values are automatically base64 encoded/decoded in the client library.
10182 10183 10184 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10182 def content @content end |
#mime_type ⇒ String
Optional. The mime type of the content.
Corresponds to the JSON property mimeType
10187 10188 10189 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10187 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10194 10195 10196 10197 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10194 def update!(**args) @content = args[:content] if args.key?(:content) @mime_type = args[:mime_type] if args.key?(:mime_type) end |