class LogEntry extends Collection (View source)

Properties

protected $collection_key
protected $errorGroupsType
protected $errorGroupsDataType
protected $httpRequestType
protected $httpRequestDataType
string $insertId
array[] $jsonPayload
string[] $labels
string $logName
protected $metadataType
protected $metadataDataType
protected $operationType
protected $operationDataType
array[] $protoPayload
string $receiveTimestamp
protected $resourceType
protected $resourceDataType
string $severity
protected $sourceLocationType
protected $sourceLocationDataType
string $spanId
protected $splitType
protected $splitDataType
string $textPayload
string $timestamp
string $trace
bool $traceSampled

Methods

setErrorGroups($errorGroups)

No description

getErrorGroups()

No description

setHttpRequest(HttpRequest $httpRequest)

No description

getHttpRequest()

No description

setInsertId($insertId)

No description

string
getInsertId()

No description

setJsonPayload($jsonPayload)

No description

array[]
getJsonPayload()

No description

setLabels($labels)

No description

string[]
getLabels()

No description

setLogName($logName)

No description

string
getLogName()

No description

setMetadata(MonitoredResourceMetadata $metadata)

No description

setOperation(LogEntryOperation $operation)

No description

getOperation()

No description

setProtoPayload($protoPayload)

No description

array[]
getProtoPayload()

No description

setReceiveTimestamp($receiveTimestamp)

No description

string
getReceiveTimestamp()

No description

setResource(MonitoredResource $resource)

No description

getResource()

No description

setSeverity($severity)

No description

string
getSeverity()

No description

setSourceLocation(LogEntrySourceLocation $sourceLocation)

No description

setSpanId($spanId)

No description

string
getSpanId()

No description

setSplit(LogSplit $split)

No description

getSplit()

No description

setTextPayload($textPayload)

No description

string
getTextPayload()

No description

setTimestamp($timestamp)

No description

string
getTimestamp()

No description

setTrace($trace)

No description

string
getTrace()

No description

setTraceSampled($traceSampled)

No description

bool
getTraceSampled()

No description

Details

setErrorGroups($errorGroups)

No description

Parameters

$errorGroups

LogErrorGroup[] getErrorGroups()

No description

Return Value

LogErrorGroup[]

setHttpRequest(HttpRequest $httpRequest)

No description

Parameters

HttpRequest $httpRequest

HttpRequest getHttpRequest()

No description

Return Value

HttpRequest

setInsertId($insertId)

No description

Parameters

$insertId

string getInsertId()

No description

Return Value

string

setJsonPayload($jsonPayload)

No description

Parameters

$jsonPayload

array[] getJsonPayload()

No description

Return Value

array[]

setLabels($labels)

No description

Parameters

$labels

string[] getLabels()

No description

Return Value

string[]

setLogName($logName)

No description

Parameters

$logName

string getLogName()

No description

Return Value

string

setMetadata(MonitoredResourceMetadata $metadata)

No description

Parameters

MonitoredResourceMetadata $metadata

MonitoredResourceMetadata getMetadata()

No description

setOperation(LogEntryOperation $operation)

No description

Parameters

LogEntryOperation $operation

LogEntryOperation getOperation()

No description

Return Value

LogEntryOperation

setProtoPayload($protoPayload)

No description

Parameters

$protoPayload

array[] getProtoPayload()

No description

Return Value

array[]

setReceiveTimestamp($receiveTimestamp)

No description

Parameters

$receiveTimestamp

string getReceiveTimestamp()

No description

Return Value

string

setResource(MonitoredResource $resource)

No description

Parameters

MonitoredResource $resource

MonitoredResource getResource()

No description

Return Value

MonitoredResource

setSeverity($severity)

No description

Parameters

$severity

string getSeverity()

No description

Return Value

string

setSourceLocation(LogEntrySourceLocation $sourceLocation)

No description

Parameters

LogEntrySourceLocation $sourceLocation

LogEntrySourceLocation getSourceLocation()

No description

Return Value

LogEntrySourceLocation

setSpanId($spanId)

No description

Parameters

$spanId

string getSpanId()

No description

Return Value

string

setSplit(LogSplit $split)

No description

Parameters

LogSplit $split

LogSplit getSplit()

No description

Return Value

LogSplit

setTextPayload($textPayload)

No description

Parameters

$textPayload

string getTextPayload()

No description

Return Value

string

setTimestamp($timestamp)

No description

Parameters

$timestamp

string getTimestamp()

No description

Return Value

string

setTrace($trace)

No description

Parameters

$trace

string getTrace()

No description

Return Value

string

setTraceSampled($traceSampled)

No description

Parameters

$traceSampled

bool getTraceSampled()

No description

Return Value

bool