Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

The mime content from the initial SIP INVITE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent.



12828
12829
12830
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12828

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)


12821
12822
12823
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12821

def content
  @content
end

#mime_typeString

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

Returns:

  • (String)


12826
12827
12828
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12826

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12833
12834
12835
12836
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12833

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