Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#contentString

Optional. The content payload. Corresponds to the JSON property content NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


10182
10183
10184
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10182

def content
  @content
end

#mime_typeString

Optional. The mime type of the content. Corresponds to the JSON property mimeType

Returns:

  • (String)


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