Show / Hide Table of Contents

Class ItemMetadata

Available metadata fields for the item.

Inheritance
System.Object
ItemMetadata
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class ItemMetadata : IDirectResponseSchema

Properties

ContainerName

The name of the container for this item. Deletion of the container item leads to automatic deletion of this item. Note: ACLs are not inherited from a container item. To provide ACL inheritance for an item, use the inheritAclFrom field. The maximum length is 1536 characters.

Declaration
[JsonProperty("containerName")]
public virtual string ContainerName { get; set; }
Property Value
Type Description
System.String

ContentLanguage

The BCP-47 language code for the item, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. The maximum length is 32 characters.

Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type Description
System.String

CreateTime

The time when the item was created in the source repository.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Hash

Hashing value provided by the API caller. This can be used with the items.push method to calculate modified state. The maximum length is 2048 characters.

Declaration
[JsonProperty("hash")]
public virtual string Hash { get; set; }
Property Value
Type Description
System.String

Interactions

A list of interactions for the item. Interactions are used to improve Search quality, but are not exposed to end users. The maximum number of elements is 1000.

Declaration
[JsonProperty("interactions")]
public virtual IList<Interaction> Interactions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<Interaction>

Keywords

Additional keywords or phrases that should match the item. Used internally for user generated content. The maximum number of elements is 100. The maximum length is 8192 characters.

Declaration
[JsonProperty("keywords")]
public virtual IList<string> Keywords { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

MimeType

The original mime-type of ItemContent.content in the source repository. The maximum length is 256 characters.

Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type Description
System.String

ObjectType

The type of the item. This should correspond to the name of an object definition in the schema registered for the data source. For example, if the schema for the data source contains an object definition with name 'document', then item indexing requests for objects of that type should set objectType to 'document'. The maximum length is 256 characters.

Declaration
[JsonProperty("objectType")]
public virtual string ObjectType { get; set; }
Property Value
Type Description
System.String

SearchQualityMetadata

Additional search quality metadata of the item

Declaration
[JsonProperty("searchQualityMetadata")]
public virtual SearchQualityMetadata SearchQualityMetadata { get; set; }
Property Value
Type Description
SearchQualityMetadata

SourceRepositoryUrl

Link to the source repository serving the data. Search results apply this link to the title. Whitespace or special characters may cause Cloud Search result links to trigger a redirect notice; to avoid this, encode the URL. The maximum length is 2048 characters.

Declaration
[JsonProperty("sourceRepositoryUrl")]
public virtual string SourceRepositoryUrl { get; set; }
Property Value
Type Description
System.String

Title

The title of the item. If given, this will be the displayed title of the Search result. The maximum length is 2048 characters.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
System.String

UpdateTime

The time when the item was last modified in the source repository.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Implements

IDirectResponseSchema
Back to top