Class Link
A reference to another portion of a document or an external URL resource.
Implements
Inherited Members
Namespace: Google.Apis.Docs.v1.Data
Assembly: Google.Apis.Docs.v1.dll
Syntax
public class Link : IDirectResponseSchema
Properties
Bookmark
A bookmark in this document. In documents containing a single tab, links to bookmarks within the singular
tab continue to return Link.bookmarkId when the includeTabsContent parameter is set to false
or unset.
Otherwise, this field is returned.
Declaration
[JsonProperty("bookmark")]
public virtual BookmarkLink Bookmark { get; set; }
Property Value
Type | Description |
---|---|
BookmarkLink |
BookmarkId
The ID of a bookmark in this document. Legacy field: Instead, set includeTabsContent to true
and use
Link.bookmark for read and write operations. This field is only returned when includeTabsContent is set to
false
in documents containing a single tab and links to a bookmark within the singular tab. Otherwise,
Link.bookmark is returned. If this field is used in a write request, the bookmark is considered to be from
the tab ID specified in the request. If a tab ID is not specified in the request, it is considered to be
from the first tab in the document.
Declaration
[JsonProperty("bookmarkId")]
public virtual string BookmarkId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Heading
A heading in this document. In documents containing a single tab, links to headings within the singular tab
continue to return Link.headingId when the includeTabsContent parameter is set to false
or unset.
Otherwise, this field is returned.
Declaration
[JsonProperty("heading")]
public virtual HeadingLink Heading { get; set; }
Property Value
Type | Description |
---|---|
HeadingLink |
HeadingId
The ID of a heading in this document. Legacy field: Instead, set includeTabsContent to true
and use
Link.heading for read and write operations. This field is only returned when includeTabsContent is set to
false
in documents containing a single tab and links to a heading within the singular tab. Otherwise,
Link.heading is returned. If this field is used in a write request, the heading is considered to be from the
tab ID specified in the request. If a tab ID is not specified in the request, it is considered to be from
the first tab in the document.
Declaration
[JsonProperty("headingId")]
public virtual string HeadingId { get; set; }
Property Value
Type | Description |
---|---|
string |
TabId
The ID of a tab in this document.
Declaration
[JsonProperty("tabId")]
public virtual string TabId { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
An external URL.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |