docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class KeyMetadata

    Response type Key with metadata for an individual data item stored in the Cloud Save service.

    Inheritance
    object
    KeyMetadata
    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.CloudSave
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class KeyMetadata

    Constructors

    KeyMetadata(string, string, ModifiedMetadata)

    Initializes a new instance of the KeyMetadata class.

    Declaration
    [Preserve]
    public KeyMetadata(string key = null, string writeLock = null, ModifiedMetadata modified = null)
    Parameters
    Type Name Description
    string key

    Item key (required).

    string writeLock

    Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock. (required).

    ModifiedMetadata modified

    modified (required).

    Properties

    Key

    Item key

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

    Item key

    Modified

    Gets or Sets Modified

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

    WriteLock

    Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock.

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

    Enforces conflict checking when updating an existing data item. This field should be omitted when creating a new data item. When updating an existing item, omitting this field ignores write conflicts. When present, an error response will be returned if the writeLock in the request does not match the stored writeLock.

    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)