Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
- 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
Instance Attribute Summary collapse
-
#url ⇒ String
Corresponds to the JSON property
url. -
#url_type_hint ⇒ String
Corresponds to the JSON property
urlTypeHint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction.
19322 19323 19324 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19322 def initialize(**args) update!(**args) end |
Instance Attribute Details
#url ⇒ String
Corresponds to the JSON property url
19315 19316 19317 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19315 def url @url end |
#url_type_hint ⇒ String
Corresponds to the JSON property urlTypeHint
19320 19321 19322 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19320 def url_type_hint @url_type_hint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19327 19328 19329 19330 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19327 def update!(**args) @url = args[:url] if args.key?(:url) @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint) end |