Google Cloud Service Control V1 Client - Class LogEntryOperation (2.0.2)

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.

Parameter
Name Description
var bool
Returns
Type Description
$this