class Google::Apis::DocsV1::Link
A reference to another portion of a document or an external URL resource.
Attributes
bookmark_id[RW]
The ID of a bookmark in this document. Corresponds to the JSON property `bookmarkId` @return [String]
heading_id[RW]
The ID of a heading in this document. Corresponds to the JSON property `headingId` @return [String]
url[RW]
An external URL. Corresponds to the JSON property `url` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2364 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 2369 def update!(**args) @bookmark_id = args[:bookmark_id] if args.key?(:bookmark_id) @heading_id = args[:heading_id] if args.key?(:heading_id) @url = args[:url] if args.key?(:url) end