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 lib/google/apis/youtube_v3/classes.rb, line 467
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 472
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