Stackdriver Logging V2 Client - Class LogEntryOperation (1.29.0)

Reference documentation and code samples for the Stackdriver Logging V2 Client class LogEntryOperation.

Additional information about a potentially long-running operation with which a log entry is associated.

Generated from protobuf message google.logging.v2.LogEntryOperation

Namespace

Google \ Cloud \ Logging \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

↳ producer string

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

↳ first bool

Optional. Set this to True if this is the first log entry in the operation.

↳ last bool

Optional. Set this to True if this is the last log entry in the operation.

getId

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

Returns
TypeDescription
string

setId

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProducer

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

Returns
TypeDescription
string

setProducer

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFirst

Optional. Set this to True if this is the first log entry in the operation.

Returns
TypeDescription
bool

setFirst

Optional. Set this to True if this is the first log entry in the operation.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getLast

Optional. Set this to True if this is the last log entry in the operation.

Returns
TypeDescription
bool

setLast

Optional. Set this to True if this is the last log entry in the operation.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this