Stackdriver Logging V2 Client - Class LogEntryOperation (1.24.10)

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

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.

Generated from protobuf field string id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setId

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

Generated from protobuf field string id = 1 [(.google.api.field_behavior) = OPTIONAL];

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".

Generated from protobuf field string producer = 2 [(.google.api.field_behavior) = OPTIONAL];

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".

Generated from protobuf field string producer = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFirst

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

Generated from protobuf field bool first = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
bool

setFirst

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

Generated from protobuf field bool first = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getLast

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

Generated from protobuf field bool last = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
bool

setLast

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

Generated from protobuf field bool last = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var bool
Returns
TypeDescription
$this