Class: Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb
Overview
Actor info specific to YouTube clients.
Instance Attribute Summary collapse
-
#channel_id ⇒ String
ID of the YouTube channel owned by the Actor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeActorInfo
constructor
A new instance of YoutubeActorInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ YoutubeActorInfo
Returns a new instance of YoutubeActorInfo
278 279 280 |
# File 'generated/google/apis/plus_v1/classes.rb', line 278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ String
ID of the YouTube channel owned by the Actor.
Corresponds to the JSON property channelId
276 277 278 |
# File 'generated/google/apis/plus_v1/classes.rb', line 276 def channel_id @channel_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
283 284 285 |
# File 'generated/google/apis/plus_v1/classes.rb', line 283 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) end |