Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri

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 user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri.



18544
18545
18546
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18544

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

Instance Attribute Details

#uriString

Required. The uri to open on the user device Corresponds to the JSON property uri

Returns:

  • (String)


18542
18543
18544
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18542

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18549
18550
18551
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18549

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