Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaFileMetadata

Represents a file attached to a session (context file)

Inheritance
object
GoogleCloudDiscoveryengineV1alphaFileMetadata
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaFileMetadata : IDirectResponseSchema

Properties

ByteSize

Output only. The size of the context file in bytes.

Declaration
[JsonProperty("byteSize")]
public virtual long? ByteSize { get; set; }
Property Value
Type Description
long?

DownloadUri

Output only. The AssistantService.DownloadSessionFile URL to download the file. This URL will need the same credentials as AssistantService.ListSessionFileMetadata method and will provide the resource.

Declaration
[JsonProperty("downloadUri")]
public virtual string DownloadUri { 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

FileId

Output only. The ID of the file.

Declaration
[JsonProperty("fileId")]
public virtual string FileId { get; set; }
Property Value
Type Description
string

FileOriginType

Optional. The origin of the file.

Declaration
[JsonProperty("fileOriginType")]
public virtual string FileOriginType { get; set; }
Property Value
Type Description
string

LastAddTime

object representation of LastAddTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastAddTimeDateTimeOffset instead.")]
public virtual object LastAddTime { get; set; }
Property Value
Type Description
object

LastAddTimeDateTimeOffset

DateTimeOffset representation of LastAddTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastAddTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LastAddTimeRaw

Output only. The time the file was added to the session. Note that if a file was added, then modified externally, then added again, the add time will be updated.

Declaration
[JsonProperty("lastAddTime")]
public virtual string LastAddTimeRaw { get; set; }
Property Value
Type Description
string

Metadata

Optional. Represents metadata related to the file that can suit particular use cases. The prefix "google." is reserved for the key for use by Google, but other prefixes can be freely used.

Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, string> Metadata { get; set; }
Property Value
Type Description
IDictionary<string, string>

MimeType

The content type of the file, see https://www.iana.org/assignments/media-types/media-types.xhtml.

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

Name

Output only. The name of the file uploaded.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OriginalSourceType

Optional. The type of the original source of the file.

Declaration
[JsonProperty("originalSourceType")]
public virtual string OriginalSourceType { get; set; }
Property Value
Type Description
string

OriginalUri

Optional. The original location of the file. It may be a local file path, or any other URI that allows accessing the file in an external system. There are two scenarios in which this url may be empty: 1. If the file was sent as inline data (e.g. pasted from the clipboard). 2. If the original location is not available. Note that there's no guarantee that the URI will be pointing to a valid or actually existing file. For example, a file might have been uploaded to the session, and then deleted from the original source.

Declaration
[JsonProperty("originalUri")]
public virtual string OriginalUri { get; set; }
Property Value
Type Description
string

UploadTime

object representation of UploadTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UploadTimeDateTimeOffset instead.")]
public virtual object UploadTime { get; set; }
Property Value
Type Description
object

UploadTimeDateTimeOffset

DateTimeOffset representation of UploadTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UploadTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UploadTimeRaw

Output only. The time the file was uploaded (If this is a file generated by an internal process and then made available to the session, this indicates the moment it happened).

Declaration
[JsonProperty("uploadTime")]
public virtual string UploadTimeRaw { get; set; }
Property Value
Type Description
string

Views

Output only. Alternate views of this file object. Each file view is attached to a specific role. Possible example keys: - "thumbnail" - "mobile_thumbnail" - "clip" - "summary" - "translation"

Declaration
[JsonProperty("views")]
public virtual IDictionary<string, GoogleCloudDiscoveryengineV1alphaFileView> Views { get; set; }
Property Value
Type Description
IDictionary<string, GoogleCloudDiscoveryengineV1alphaFileView>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX