Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction

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

Overview

Opens the given URI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction

Returns a new instance of GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction.



12474
12475
12476
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12474

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

Instance Attribute Details

#uriString

Required. The HTTP or HTTPS scheme URI. Corresponds to the JSON property uri

Returns:

  • (String)


12472
12473
12474
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12472

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12479
12480
12481
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12479

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