Class GoogleDocsResultInfo
A message containing information about a specific result. This information is passed to the scorer and beyond; in particular, GWS relies on it to format the result in the UI. Split from GoogleDocsMetadata in case we later want to reuse the message.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class GoogleDocsResultInfo : IDirectResponseSchema
Properties
AttachmentSha1
The SHA1 hash of the object in Drive, if any.
Declaration
[JsonProperty("attachmentSha1")]
public virtual string AttachmentSha1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
CosmoId
The storage identifier for the object in Cosmo. This field is intended to used by Stratus/Moonshine integration only. It should not be exposed externally (please refer to encrypted_id for that purpose).
Declaration
[JsonProperty("cosmoId")]
public virtual Id CosmoId { get; set; }
Property Value
| Type | Description |
|---|---|
| Id |
CosmoNameSpace
For Cosmo objects, the Cosmo namespace the object was in. This allows downstream clients to identify whether a document was created in Writely or Kix, Presently or Punch, or whether it was uploaded from GDrive. See storage_cosmo.Id.NAME_SPACE for a list of all Cosmo name spaces.
Declaration
[JsonProperty("cosmoNameSpace")]
public virtual int? CosmoNameSpace { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
EncryptedId
The encrypted (user-visible) id of this object. Knowing the id is sufficient to create a canonical URL for this document.
Declaration
[JsonProperty("encryptedId")]
public virtual string EncryptedId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MimeType
The mimetype of the document.
Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ShareScope
The visibility indicator in the UI will be based upon this.
Declaration
[JsonProperty("shareScope")]
public virtual ShareScope ShareScope { get; set; }
Property Value
| Type | Description |
|---|---|
| ShareScope |