Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference

Reference to a user-supplied file attached to a long-running-agent (Sobi) task. Rendered by the client as an attachment chip on the user turn's bubble. The file itself is stored on the task's AgentArtifact list; the client resolves full metadata (source URI, size, ...) for download or preview by calling GetTask on the Sobi Task API and matching AgentArtifact.name against file_name. Only file_name and mime_type appear on this wire deliberately: the backing gs:// or Drive URI is not exposed to conversation-history readers. Same variant is used for both byte-uploaded and Drive-picked files -- "user attached a file" is one concept regardless of source.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference
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.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaQueryPartUserSuppliedSobiArtifactReference : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

FileName

Required. Client-supplied filename. Unique per task within the user-supplied artifact set (UI dedupes before upload). Doubles as the artifact identifier used to look up the artifact on Task.artifacts. The _name suffix is deliberate and the AIP-122 lint is suppressed: this field is not a resource name (which is what AIP-122 reserves the bare name for). It is the literal filename, and it serves as the join key against AgentArtifact.name on the backing Sobi task -- a structural role that title or display_name would not communicate to a client picking what to send. The internal mirror (cloud/ml/discoveryengine/schema/assistant.proto) uses the same field name so the round-trip converter stays name-for-name.

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

MimeType

Optional. IANA MIME type. Used for icon/preview rendering.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX