Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage
- 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
-
#accessibility_text ⇒ String
Corresponds to the JSON property
accessibilityText. -
#image_uri ⇒ String
Corresponds to the JSON property
imageUri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageImage
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageImage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageImage
Returns a new instance of GoogleCloudDialogflowV2IntentMessageImage.
12482 12483 12484 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accessibility_text ⇒ String
Corresponds to the JSON property accessibilityText
12475 12476 12477 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12475 def accessibility_text @accessibility_text end |
#image_uri ⇒ String
Corresponds to the JSON property imageUri
12480 12481 12482 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12480 def image_uri @image_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12487 12488 12489 12490 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12487 def update!(**args) @accessibility_text = args[:accessibility_text] if args.key?(:accessibility_text) @image_uri = args[:image_uri] if args.key?(:image_uri) end |