AIVisionFaceModelFactory.LivenessSessionAuditEntry Method

Definition

Initializes a new instance of LivenessSessionAuditEntry.

public static Azure.AI.Vision.Face.LivenessSessionAuditEntry LivenessSessionAuditEntry (long id = 0, string sessionId = default, string requestId = default, string clientRequestId = default, DateTimeOffset receivedDateTime = default, Azure.AI.Vision.Face.AuditRequestInfo request = default, Azure.AI.Vision.Face.AuditLivenessResponseInfo response = default, string digest = default);
static member LivenessSessionAuditEntry : int64 * string * string * string * DateTimeOffset * Azure.AI.Vision.Face.AuditRequestInfo * Azure.AI.Vision.Face.AuditLivenessResponseInfo * string -> Azure.AI.Vision.Face.LivenessSessionAuditEntry
Public Shared Function LivenessSessionAuditEntry (Optional id As Long = 0, Optional sessionId As String = Nothing, Optional requestId As String = Nothing, Optional clientRequestId As String = Nothing, Optional receivedDateTime As DateTimeOffset = Nothing, Optional request As AuditRequestInfo = Nothing, Optional response As AuditLivenessResponseInfo = Nothing, Optional digest As String = Nothing) As LivenessSessionAuditEntry

Parameters

id
Int64

The unique id to refer to this audit request. Use this id with the 'start' query parameter to continue on to the next page of audit results.

sessionId
String

The unique sessionId of the created session. It will expire 48 hours after it was created or may be deleted sooner using the corresponding session DELETE operation.

requestId
String

The unique requestId that is returned by the service to the client in the 'apim-request-id' header.

clientRequestId
String

The unique clientRequestId that is sent by the client in the 'client-request-id' header.

receivedDateTime
DateTimeOffset

The UTC DateTime that the request was received.

request
AuditRequestInfo

The request of this entry.

response
AuditLivenessResponseInfo

The response of this entry.

digest
String

The server calculated digest for this request. If the client reported digest differs from the server calculated digest, then the message integrity between the client and service has been compromised and the result should not be trusted. For more information, see how to guides on how to leverage this value to secure your end-to-end solution.

Returns

A new LivenessSessionAuditEntry instance for mocking.

Applies to