docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class QueryIndexBody

    The request body for querying an index

    Inheritance
    object
    QueryIndexBody
    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 QueryIndexBody

    Constructors

    QueryIndexBody(List<FieldFilter>, List<string>, int, int)

    Initializes a new instance of the QueryIndexBody class.

    Declaration
    [Preserve]
    public QueryIndexBody(List<FieldFilter> fields = null, List<string> returnKeys = null, int offset = 0, int limit = 0)
    Parameters
    Type Name Description
    List<FieldFilter> fields

    fields (required).

    List<string> returnKeys

    The keys to return in the response. This can include keys not on the index. If not specified or empty, the data on the results will be empty for any returned entities..

    int offset

    The number of results to skip. Defaults to 0..

    int limit

    The maximum number of results to return. Defaults to 10. Specifying 0 will return the default number of results..

    Properties

    Fields

    Gets or Sets Fields

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

    Limit

    The maximum number of results to return. Defaults to 10. Specifying 0 will return the default number of results.

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

    The maximum number of results to return. Defaults to 10. Specifying 0 will return the default number of results.

    Offset

    The number of results to skip. Defaults to 0.

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

    The number of results to skip. Defaults to 0.

    ReturnKeys

    The keys to return in the response. This can include keys not on the index. If not specified or empty, the data on the results will be empty for any returned entities.

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

    The keys to return in the response. This can include keys not on the index. If not specified or empty, the data on the results will be empty for any returned entities.

    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)