Class: Google::Apis::CloudsearchV1::CoActivity
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::CoActivity
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Metadata about a co-activity session.
Instance Attribute Summary collapse
-
#activity_title ⇒ String
The title of the activity in this co-activity session.
-
#co_activity_app ⇒ String
Identifies the app handling this co-activity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CoActivity
constructor
A new instance of CoActivity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CoActivity
Returns a new instance of CoActivity.
5839 5840 5841 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activity_title ⇒ String
The title of the activity in this co-activity session. For example, this might
be the title of the video being co-watched, or the name of the round of a game
being co-played.
Corresponds to the JSON property activityTitle
5832 5833 5834 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5832 def activity_title @activity_title end |
#co_activity_app ⇒ String
Identifies the app handling this co-activity.
Corresponds to the JSON property coActivityApp
5837 5838 5839 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5837 def co_activity_app @co_activity_app end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5844 5845 5846 5847 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5844 def update!(**args) @activity_title = args[:activity_title] if args.key?(:activity_title) @co_activity_app = args[:co_activity_app] if args.key?(:co_activity_app) end |