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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_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



285
286
287
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 285

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)


283
284
285
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 283

def channel_id
  @channel_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



290
291
292
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 290

def update!(**args)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
end