Class: Google::Apis::ChatV1::GoogleAppsCardV1Intent
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1Intent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
Android intent.
Instance Attribute Summary collapse
-
#extra_data ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1ExtraData>
A list of extra data for the android intent.
-
#intent_action ⇒ String
An android intent action string for the
@link android.content.Intentobject.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1Intent
constructor
A new instance of GoogleAppsCardV1Intent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1Intent
Returns a new instance of GoogleAppsCardV1Intent.
1751 1752 1753 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1751 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extra_data ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1ExtraData>
A list of extra data for the android intent. For example, for a calendar event
edit intent, the event title information can be passed as extra data.
Corresponds to the JSON property extraData
1742 1743 1744 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1742 def extra_data @extra_data end |
#intent_action ⇒ String
An android intent action string for the @link android.content.Intent object.
For example: for the view intent action type, a valid value will be android.
content.Intent.ACTION_VIEW.
Corresponds to the JSON property intentAction
1749 1750 1751 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1749 def intent_action @intent_action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1756 1757 1758 1759 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1756 def update!(**args) @extra_data = args[:extra_data] if args.key?(:extra_data) @intent_action = args[:intent_action] if args.key?(:intent_action) end |