class LogEntryOperation extends Message

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

Protobuf type Google\Logging\V2\LogEntryOperation

Methods

__construct()

No description

string
getId()

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

setId(string $var)

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

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

setProducer(string $var)

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

bool
getFirst()

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

setFirst(bool $var)

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

bool
getLast()

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

setLast(bool $var)

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

Details

at line 47
__construct()

at line 59
string 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;

Return Value

string

at line 71
setId(string $var)

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;

Parameters

string $var

at line 85
string 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;

Return Value

string

at line 98
setProducer(string $var)

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;

Parameters

string $var

at line 110
bool getFirst()

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

Generated from protobuf field bool first = 3;

Return Value

bool

at line 121
setFirst(bool $var)

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

Generated from protobuf field bool first = 3;

Parameters

bool $var

at line 133
bool getLast()

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

Generated from protobuf field bool last = 4;

Return Value

bool

at line 144
setLast(bool $var)

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

Generated from protobuf field bool last = 4;

Parameters

bool $var