class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent

Rich Business Messaging (RBM) Card content

Attributes

description[RW]

Optional. Description of the card (at most 2000 bytes). At least one of the title, description or media must be set. Corresponds to the JSON property `description` @return [String]

media[RW]

Rich Business Messaging (RBM) Media displayed in Cards The following media- types are currently supported: Image Types * image/jpeg * image/jpg' * image/ gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm Corresponds to the JSON property `media` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]

suggestions[RW]

Optional. List of suggestions to include in the card. Corresponds to the JSON property `suggestions` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]

title[RW]

Optional. Title of the card (at most 200 bytes). At least one of the title, description or media must be set. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 11322
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 11327
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @media = args[:media] if args.key?(:media)
  @suggestions = args[:suggestions] if args.key?(:suggestions)
  @title = args[:title] if args.key?(:title)
end