docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IUpdateFileAttachmentRequest

    A request to update a file annotation attachment.

    Inherited Members
    IUpdateAttachmentRequest.Type
    Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public interface IUpdateFileAttachmentRequest : IUpdateAttachmentRequest

    Properties

    ContentType

    The file content type, MIME type if relevant This should match the MIME type of the file if it exists. https://developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types"

    Declaration
    [DataMember(Name = "contentType", EmitDefaultValue = true)]
    string ContentType { get; }
    Property Value
    Type Description
    string

    FilePath

    A simple filename or a relative path to a target directory for the attachment Examples:

    • "image.jpeg"
    • "test/assets/image.jpeg"
    Declaration
    [DataMember(Name = "filePath", EmitDefaultValue = true)]
    string FilePath { get; }
    Property Value
    Type Description
    string

    FileSize

    The file size

    Declaration
    [DataMember(Name = "fileSize", EmitDefaultValue = true)]
    long? FileSize { get; }
    Property Value
    Type Description
    long?

    FileType

    The file type Examples:

    • "image"
    • "video"
    • "audio"
    • "text"
    • "3Dmodel"
    • "Other"
    Declaration
    [DataMember(Name = "fileType", EmitDefaultValue = true)]
    string FileType { get; }
    Property Value
    Type Description
    string

    Metadata

    Metadata for the Attachment

    Declaration
    [DataMember(Name = "metadata", EmitDefaultValue = true)]
    Dictionary<string, object> Metadata { get; }
    Property Value
    Type Description
    Dictionary<string, object>
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)