docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpdateContentRequest

    Update the meta data about a content item

    Inheritance
    object
    UpdateContentRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.UGC
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class UpdateContentRequest

    Constructors

    UpdateContentRequest(string, string, string, ContentVisibility?, int, List<string>, string, string)

    Initializes a new instance of the UpdateContentRequest class.

    Declaration
    [Preserve]
    public UpdateContentRequest(string name = null, string description = null, string customId = null, ContentVisibility? visibility = null, int contentTypeId = 0, List<string> tagsId = null, string version = null, string metadata = null)
    Parameters
    Type Name Description
    string name

    New name or null to ignore (required).

    string description

    New description or null to ignore (required).

    string customId

    customId.

    ContentVisibility? visibility

    visibility.

    int contentTypeId

    New Content Type id or zero to ignore.

    List<string> tagsId

    tagsId.

    string version

    Version id of content.

    string metadata

    metadata.

    Properties

    ContentTypeId

    New Content Type id or zero to ignore

    Declaration
    [Preserve]
    public int ContentTypeId { get; set; }
    Property Value
    Type Description
    int

    New Content Type id or zero to ignore

    CustomId

    Gets or Sets CustomId

    Declaration
    [Preserve]
    public string CustomId { get; set; }
    Property Value
    Type Description
    string

    Description

    New description or null to ignore

    Declaration
    [Preserve]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    New description or null to ignore

    Metadata

    Gets or Sets Metadata

    Declaration
    [Preserve]
    public string Metadata { get; set; }
    Property Value
    Type Description
    string

    Name

    New name or null to ignore

    Declaration
    [Preserve]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    New name or null to ignore

    TagsId

    Gets or Sets TagsId

    Declaration
    [Preserve]
    public List<string> TagsId { get; set; }
    Property Value
    Type Description
    List<string>

    Visibility

    Gets or Sets Visibility

    Declaration
    [Preserve]
    public ContentVisibility? Visibility { get; set; }
    Property Value
    Type Description
    ContentVisibility?

    _Version

    Version id of content

    Declaration
    [Preserve]
    public string _Version { get; set; }
    Property Value
    Type Description
    string

    Version id of content

    In This Article
    Back to top
    Copyright © 2024 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)