Google Cloud Build V1 Client - Class StreamId (0.3.8)

Reference documentation and code samples for the Google Cloud Build V1 Client class StreamId.

Unique identifier for a build event stream.

Generated from protobuf message google.devtools.build.v1.StreamId

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ build_id string

The id of a Build message.

↳ invocation_id string

The unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.

↳ component int

The component that emitted this event.

getBuildId

The id of a Build message.

Returns
TypeDescription
string

setBuildId

The id of a Build message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInvocationId

The unique invocation ID within this build.

It should be the same as {invocation} (below) during the migration.

Returns
TypeDescription
string

setInvocationId

The unique invocation ID within this build.

It should be the same as {invocation} (below) during the migration.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getComponent

The component that emitted this event.

Returns
TypeDescription
int

setComponent

The component that emitted this event.

Parameter
NameDescription
var int
Returns
TypeDescription
$this