Class LogSearchParams
Parameters for filtering Log search requests.
Implements
Inherited Members
Namespace: Unity.Services.Multiplay.Authoring.Core.MultiplayApi
Assembly: Unity.Services.Multiplayer.Multiplay.Authoring.Core.dll
Syntax
public record LogSearchParams : IEquatable<LogSearchParams>
Constructors
LogSearchParams(Guid, long, string, int, DateTime, DateTime, string)
Parameters for filtering Log search requests.
Declaration
public LogSearchParams(Guid FleetId, long ServerId, string Query, int Size, DateTime From, DateTime To, string PaginationToken = null)
Parameters
Type | Name | Description |
---|---|---|
Guid | FleetId | ID of the Fleet. |
long | ServerId | ID or the Server. |
string | Query | Terms to search for in log events |
int | Size | Limits the number of results returned. |
DateTime | From | Start date-time of log entries to query. |
DateTime | To | End date-time of log entries to query. |
string | PaginationToken | A token used to fetch the next page of results. If provided, all other fields are ignored. |
Properties
FleetId
ID of the Fleet.
Declaration
public Guid FleetId { get; init; }
Property Value
Type | Description |
---|---|
Guid |
From
Start date-time of log entries to query.
Declaration
public DateTime From { get; init; }
Property Value
Type | Description |
---|---|
DateTime |
PaginationToken
A token used to fetch the next page of results. If provided, all other fields are ignored.
Declaration
public string PaginationToken { get; init; }
Property Value
Type | Description |
---|---|
string |
Query
Terms to search for in log events
Declaration
public string Query { get; init; }
Property Value
Type | Description |
---|---|
string |
ServerId
ID or the Server.
Declaration
public long ServerId { get; init; }
Property Value
Type | Description |
---|---|
long |
Size
Limits the number of results returned.
Declaration
public int Size { get; init; }
Property Value
Type | Description |
---|---|
int |
To
End date-time of log entries to query.
Declaration
public DateTime To { get; init; }
Property Value
Type | Description |
---|---|
DateTime |