Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton

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) ⇒ GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton.



18609
18610
18611
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18609

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

Instance Attribute Details

#open_uri_actionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction

Corresponds to the JSON property openUriAction



18602
18603
18604
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18602

def open_uri_action
  @open_uri_action
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


18607
18608
18609
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18607

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18614
18615
18616
18617
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18614

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