class Google::Apis::YoutubeV3::ActivityContentDetailsSocial

Details about a social network post.

Attributes

author[RW]

The author of the social network post. Corresponds to the JSON property `author` @return [String]

image_url[RW]

An image of the post's author. Corresponds to the JSON property `imageUrl` @return [String]

reference_url[RW]

The URL of the social network post. Corresponds to the JSON property `referenceUrl` @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]

type[RW]

The name of the social network. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 508
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 513
def update!(**args)
  @author = args[:author] if args.key?(:author)
  @image_url = args[:image_url] if args.key?(:image_url)
  @reference_url = args[:reference_url] if args.key?(:reference_url)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
  @type = args[:type] if args.key?(:type)
end