Class: Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/intent.rb
Overview
The media content card for Actions on Google.
Defined Under Namespace
Modules: ResponseMediaType Classes: ResponseMediaObject
Instance Attribute Summary collapse
-
#media_objects ⇒ ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>
Required.
-
#media_type ⇒ ::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType
Optional.
Instance Attribute Details
#media_objects ⇒ ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaObject>
Returns Required. List of media objects.
578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 578 class MediaContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Response media object for media content card. # @!attribute [rw] name # @return [::String] # Required. Name of media card. # @!attribute [rw] description # @return [::String] # Optional. Description of media card. # @!attribute [rw] large_image # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image] # Optional. Image to display above media content. # @!attribute [rw] icon # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image] # Optional. Icon to display above media content. # @!attribute [rw] content_url # @return [::String] # Required. Url where the media is stored. class ResponseMediaObject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Format of response media type. module ResponseMediaType # Unspecified. RESPONSE_MEDIA_TYPE_UNSPECIFIED = 0 # Response media type is audio. AUDIO = 1 end end |
#media_type ⇒ ::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent::ResponseMediaType
Returns Optional. What type of media is the content (ie "audio").
578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 578 class MediaContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Response media object for media content card. # @!attribute [rw] name # @return [::String] # Required. Name of media card. # @!attribute [rw] description # @return [::String] # Optional. Description of media card. # @!attribute [rw] large_image # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image] # Optional. Image to display above media content. # @!attribute [rw] icon # @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image] # Optional. Icon to display above media content. # @!attribute [rw] content_url # @return [::String] # Required. Url where the media is stored. class ResponseMediaObject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Format of response media type. module ResponseMediaType # Unspecified. RESPONSE_MEDIA_TYPE_UNSPECIFIED = 0 # Response media type is audio. AUDIO = 1 end end |