Class: Google::Apis::CloudsearchV1::YoutubeUserProto

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubeUserProto

Returns a new instance of YoutubeUserProto.



22470
22471
22472
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22470

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#youtube_user_idFixnum

Corresponds to the JSON property youtubeUserId

Returns:

  • (Fixnum)


22468
22469
22470
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22468

def youtube_user_id
  @youtube_user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22475
22476
22477
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22475

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