class Google::Apis::DocsV1::RichLinkProperties

Properties specific to a RichLink.

Attributes

mime_type[RW]

Output only. The [MIME type](developers.google.com/drive/api/v3/mime- types) of the RichLink, if there is one (i.e., when it is a file in Drive). Corresponds to the JSON property `mimeType` @return [String]

title[RW]

Output only. The title of the RichLink as displayed in the link. This title matches the title of the linked resource at the time of the insertion or last update of the link. This field is always present. Corresponds to the JSON property `title` @return [String]

uri[RW]

Output only. The URI to the RichLink. This is always present. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 4349
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 4354
def update!(**args)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @title = args[:title] if args.key?(:title)
  @uri = args[:uri] if args.key?(:uri)
end