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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent

Returns a new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent.



8868
8869
8870
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8868

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)


8861
8862
8863
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8861

def content
  @content
end

#mime_typeString

Corresponds to the JSON property mimeType

Returns:

  • (String)


8866
8867
8868
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8866

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8873
8874
8875
8876
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8873

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