Stackdriver Logging V2 Client - Class LogEntryOperation (1.30.3)

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
Name Description
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
Type Description
string

setId

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getFirst

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

Returns
Type Description
bool

setFirst

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getLast

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

Returns
Type Description
bool

setLast

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

Parameter
Name Description
var bool
Returns
Type Description
$this