class Google::Apis::PlusV1::Activity::Object::Attachment::Embed

If the attachment is a video, the embeddable link.

Attributes

type[RW]

Media type of the link. Corresponds to the JSON property `type` @return [String]

url[RW]

URL of the link. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 647
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_v1/classes.rb, line 652
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @url = args[:url] if args.key?(:url)
end