Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
- 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
-
#content_url ⇒ String
Corresponds to the JSON property
contentUrl. -
#description ⇒ String
Corresponds to the JSON property
description. -
#icon ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property
icon. -
#large_image ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property
largeImage. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
Returns a new instance of GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.
12640 12641 12642 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_url ⇒ String
Corresponds to the JSON property contentUrl
12618 12619 12620 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12618 def content_url @content_url end |
#description ⇒ String
Corresponds to the JSON property description
12623 12624 12625 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12623 def description @description end |
#icon ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property icon
12628 12629 12630 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12628 def icon @icon end |
#large_image ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
Corresponds to the JSON property largeImage
12633 12634 12635 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12633 def large_image @large_image end |
#name ⇒ String
Corresponds to the JSON property name
12638 12639 12640 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12638 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12645 12646 12647 12648 12649 12650 12651 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12645 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 |