Class UrlMetadata
Annotation metadata for a Weblink. In case of pasted link it can qualify to be other types in addition to being a URL - like DRIVE_DOC/DRIVE_SHEET and so on. The URL metadata will also be present and it's up to the client to decide which metadata to render it with. These fields are filled in using page render service.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class UrlMetadata : IDirectResponseSchema
Properties
Domain
Domain for this url. If it's an IP address the address is returned.
Declaration
[JsonProperty("domain")]
public virtual string Domain { 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 |
GwsUrl
The signed GWS URL.
Declaration
[JsonProperty("gwsUrl")]
public virtual SafeUrlProto GwsUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| SafeUrlProto |
GwsUrlExpirationTimestamp
The expiration timestamp for GWS URL, only set when gws_url is set.
Declaration
[JsonProperty("gwsUrlExpirationTimestamp")]
public virtual long? GwsUrlExpirationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
ImageHeight
Dimensions of the image: height. This field is string to match with page render service response. Deprecated. Use int_image_height instead.
Declaration
[JsonProperty("imageHeight")]
public virtual string ImageHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImageUrl
Representative image of the website.
Declaration
[JsonProperty("imageUrl")]
public virtual string ImageUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ImageWidth
Dimensions of the image: width. This field is string to match with page render service response. Deprecated. Use int_image_height instead.
Declaration
[JsonProperty("imageWidth")]
public virtual string ImageWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IntImageHeight
Dimensions of the image: height.
Declaration
[JsonProperty("intImageHeight")]
public virtual int? IntImageHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
IntImageWidth
Dimensions of the image: width.
Declaration
[JsonProperty("intImageWidth")]
public virtual int? IntImageWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MimeType
Mime type of the content (Currently mapped from Page Render Service ItemType) Note that this is not necessarily the mime type of the http resource. For example a text/html from youtube or vimeo may actually be classified as a video type. Then we shall mark it as video/* since we don't know exactly what type of video it is.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedirectUrl
The stable redirect URL pointing to frontend server.
Declaration
[JsonProperty("redirectUrl")]
public virtual SafeUrlProto RedirectUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| SafeUrlProto |
ShouldNotRender
If the UrlMetadata is missing data for rendering a chip. Deprecated. Use Annotation.ChipRenderType instead.
Declaration
[JsonProperty("shouldNotRender")]
public virtual bool? ShouldNotRender { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Snippet
Snippet/small description of the weblink.
Declaration
[JsonProperty("snippet")]
public virtual string Snippet { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
Title of the Weblink.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Url
The original URL.
Declaration
[JsonProperty("url")]
public virtual SafeUrlProto Url { get; set; }
Property Value
| Type | Description |
|---|---|
| SafeUrlProto |
UrlSource
Declaration
[JsonProperty("urlSource")]
public virtual string UrlSource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |