Reference documentation and code samples for the Google Cloud Service Control V1 Client class LogEntryOperation.
Additional information about a potentially long-running operation with which
a log entry is associated.
Generated from protobuf message google.api.servicecontrol.v1.LogEntryOperation
Namespace
Google \ Cloud \ ServiceControl \ V1
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Service Control V1 Client - Class LogEntryOperation (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-service-control/latest/V1.LogEntryOperation)\n- [2.0.3](/php/docs/reference/cloud-service-control/2.0.3/V1.LogEntryOperation)\n- [1.4.4](/php/docs/reference/cloud-service-control/1.4.4/V1.LogEntryOperation)\n- [1.3.0](/php/docs/reference/cloud-service-control/1.3.0/V1.LogEntryOperation)\n- [1.2.1](/php/docs/reference/cloud-service-control/1.2.1/V1.LogEntryOperation)\n- [1.1.1](/php/docs/reference/cloud-service-control/1.1.1/V1.LogEntryOperation)\n- [1.0.6](/php/docs/reference/cloud-service-control/1.0.6/V1.LogEntryOperation) \nReference documentation and code samples for the Google Cloud Service Control V1 Client class LogEntryOperation.\n\nAdditional information about a potentially long-running operation with which\na log entry is associated.\n\nGenerated from protobuf message `google.api.servicecontrol.v1.LogEntryOperation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceControl \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getId\n\nOptional. An arbitrary operation identifier. Log entries with the\nsame identifier are assumed to be part of the same operation.\n\n### setId\n\nOptional. An arbitrary operation identifier. Log entries with the\nsame identifier are assumed to be part of the same operation.\n\n### getProducer\n\nOptional. An arbitrary producer identifier. The combination of\n`id` and `producer` must be globally unique. Examples for `producer`:\n`\"MyDivision.MyBigCompany.com\"`, `\"github.com/MyProject/MyApplication\"`.\n\n### setProducer\n\nOptional. An arbitrary producer identifier. The combination of\n`id` and `producer` must be globally unique. Examples for `producer`:\n`\"MyDivision.MyBigCompany.com\"`, `\"github.com/MyProject/MyApplication\"`.\n\n### getFirst\n\nOptional. Set this to True if this is the first log entry in the operation.\n\n### setFirst\n\nOptional. Set this to True if this is the first log entry in the operation.\n\n### getLast\n\nOptional. Set this to True if this is the last log entry in the operation.\n\n### setLast\n\nOptional. Set this to True if this is the last log entry in the operation."]]