Class: Google::Apis::CloudsearchV1::YoutubeUserProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::YoutubeUserProto
- 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
-
#youtube_user_id ⇒ Fixnum
Corresponds to the JSON property
youtubeUserId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeUserProto
constructor
A new instance of YoutubeUserProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ Fixnum
Corresponds to the JSON property youtubeUserId
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 |