Class Metadata
Metadata of a matched search result.
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Metadata : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
The creation time for this document or object in the search result.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayOptions
Options that specify how to display a structured data search result.
Declaration
[JsonProperty("displayOptions")]
public virtual ResultDisplayMetadata DisplayOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| ResultDisplayMetadata |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fields
Indexed fields in structured data, returned as a generic named property.
Declaration
[JsonProperty("fields")]
public virtual IList<NamedProperty> Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<NamedProperty> |
MimeType
Mime type of the search result.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectType
Object type of the search result.
Declaration
[JsonProperty("objectType")]
public virtual string ObjectType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Owner
Owner (usually creator) of the document or object of the search result.
Declaration
[JsonProperty("owner")]
public virtual Person Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| Person |
Source
The named source for the result, such as Gmail.
Declaration
[JsonProperty("source")]
public virtual Source Source { get; set; }
Property Value
| Type | Description |
|---|---|
| Source |
ThumbnailUrl
The thumbnail URL of the result.
Declaration
[JsonProperty("thumbnailUrl")]
public virtual string ThumbnailUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
The last modified date for the object in the search result. If not set in the item, the value returned here
is empty. When updateTime is used for calculating freshness and is not set, this value defaults to 2 years
from the current time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |