Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard.



20535
20536
20537
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20535

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#card_contentsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>

Corresponds to the JSON property cardContents



20528
20529
20530
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20528

def card_contents
  @card_contents
end

#card_widthString

Corresponds to the JSON property cardWidth

Returns:

  • (String)


20533
20534
20535
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20533

def card_width
  @card_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20540
20541
20542
20543
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20540

def update!(**args)
  @card_contents = args[:card_contents] if args.key?(:card_contents)
  @card_width = args[:card_width] if args.key?(:card_width)
end