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.
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 551 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").
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 551 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 |