Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton.



19896
19897
19898
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19896

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

Instance Attribute Details

#open_uri_actionGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction

Corresponds to the JSON property openUriAction



19889
19890
19891
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19889

def open_uri_action
  @open_uri_action
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


19894
19895
19896
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19894

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19901
19902
19903
19904
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19901

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