Class: Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_idString

ID of the YouTube channel owned by the Actor. Corresponds to the JSON property channelId

Returns:

  • (String)

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