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.



9327
9328
9329
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9327

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)


9320
9321
9322
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9320

def content
  @content
end

#mime_typeString

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

Returns:

  • (String)


9325
9326
9327
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9325

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9332
9333
9334
9335
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9332

def update!(**args)
  @content = args[:content] if args.key?(:content)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end