Class: Google::Apis::PlusDomainsV1::Activity::Object::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.



523
524
525
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 523

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)


521
522
523
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 521

def channel_id
  @channel_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



528
529
530
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 528

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