Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject

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) ⇒ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject

Returns a new instance of GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.



12660
12661
12662
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12660

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

Instance Attribute Details

#content_urlString

Corresponds to the JSON property contentUrl

Returns:

  • (String)


12638
12639
12640
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12638

def content_url
  @content_url
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


12643
12644
12645
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12643

def description
  @description
end

#iconGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property icon



12648
12649
12650
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12648

def icon
  @icon
end

#large_imageGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage

Corresponds to the JSON property largeImage



12653
12654
12655
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12653

def large_image
  @large_image
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12658
12659
12660
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12658

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12665
12666
12667
12668
12669
12670
12671
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12665

def update!(**args)
  @content_url = args[:content_url] if args.key?(:content_url)
  @description = args[:description] if args.key?(:description)
  @icon = args[:icon] if args.key?(:icon)
  @large_image = args[:large_image] if args.key?(:large_image)
  @name = args[:name] if args.key?(:name)
end