class Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation
Information that identifies the recommended resource.
Attributes
reason[RW]
The reason that the resource is recommended to the user. Corresponds to the JSON property `reason` @return [String]
resource_id[RW]
A resource id is a generic reference that points to another YouTube resource. Corresponds to the JSON property `resourceId` @return [Google::Apis::YoutubeV3::ResourceId]
seed_resource_id[RW]
A resource id is a generic reference that points to another YouTube resource. Corresponds to the JSON property `seedResourceId` @return [Google::Apis::YoutubeV3::ResourceId]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 411 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 416 def update!(**args) @reason = args[:reason] if args.key?(:reason) @resource_id = args[:resource_id] if args.key?(:resource_id) @seed_resource_id = args[:seed_resource_id] if args.key?(:seed_resource_id) end