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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent.



12951
12952
12953
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12951

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contentString

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

Returns:

  • (String)


12944
12945
12946
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12944

def content
  @content
end

#mime_typeString

Corresponds to the JSON property mimeType

Returns:

  • (String)


12949
12950
12951
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12949

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12956
12957
12958
12959
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12956

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