Show / Hide Table of Contents

Class UploadMetadata

Annotation metadata for user Upload artifacts.

Inheritance
System.Object
UploadMetadata
Implements
Google.Apis.Requests.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 UploadMetadata : IDirectResponseSchema

Properties

AttachmentToken

Opaque token. Clients shall simply pass it back to the Backend. This field will NOT be saved into storage.

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

BackendUploadMetadata

Information about the uploaded attachment that is only used in Backend. This field will NOT be sent out of Google.

Declaration
[JsonProperty("backendUploadMetadata")]
public virtual AppsDynamiteSharedBackendUploadMetadata BackendUploadMetadata { get; set; }
Property Value
Type Description
AppsDynamiteSharedBackendUploadMetadata

ClonedAuthorizedItemId

The "new" secure identifier for Drive files. Should be used instead of the deprecated string drive_id field above. This should only be set if the upload file has been added to Drive. Note that older Drive files that do not have a ResourceKey should still use this field, with the resource_key field unset.

Declaration
[JsonProperty("clonedAuthorizedItemId")]
public virtual AuthorizedItemId ClonedAuthorizedItemId { get; set; }
Property Value
Type Description
AuthorizedItemId

ClonedDriveAction

DriveAction for organizing the cloned version of this upload in Drive, if the file has been added to Drive. This field is not set if the file has not been added to Drive. Additionally, this field is only set when part of a FileResult in a ListFilesResponse.

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

ClonedDriveId

Reference to a Drive ID, if this upload file has been previously cloned to Drive. Note: this is deprecated in favor of the AuthorizedItemId below.

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

ContentName

The original file name for the content, not the full path.

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

ContentType

Type is from Scotty's best_guess by default: http://google3/uploader/agent/scotty_agent.proto?l=51&rcl=140889785

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

DlpMetricsMetadata

The metrics metadata of the Data Loss Prevention attachment scan.

Declaration
[JsonProperty("dlpMetricsMetadata")]
public virtual AppsDynamiteSharedDlpMetricsMetadata DlpMetricsMetadata { get; set; }
Property Value
Type Description
AppsDynamiteSharedDlpMetricsMetadata

ETag

The ETag of the item.

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

LatestVirusScanTimestamp

The timestamp of the most recent virus scan completed (in microseconds).

Declaration
[JsonProperty("latestVirusScanTimestamp")]
public virtual long? LatestVirusScanTimestamp { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

LocalId

A copy of the LocalId in Annotation. This field is supposed to be filled by server only.

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

OriginalDimension

Original dimension of the content. Only set for image attachments.

Declaration
[JsonProperty("originalDimension")]
public virtual AppsDynamiteSharedDimension OriginalDimension { get; set; }
Property Value
Type Description
AppsDynamiteSharedDimension

VideoReference

Reference to a transcoded video attachment. Only set for video attachments.

Declaration
[JsonProperty("videoReference")]
public virtual AppsDynamiteSharedVideoReference VideoReference { get; set; }
Property Value
Type Description
AppsDynamiteSharedVideoReference

VirusScanResult

Result for a virus scan. It's duplicated in the above field apps.dynamite.shared.BackendUploadMetadata

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

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top