Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard.



19168
19169
19170
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19168

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

Instance Attribute Details

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

Corresponds to the JSON property cardContents



19161
19162
19163
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19161

def card_contents
  @card_contents
end

#card_widthString

Corresponds to the JSON property cardWidth

Returns:

  • (String)


19166
19167
19168
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19166

def card_width
  @card_width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19173
19174
19175
19176
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19173

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