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
Name Description
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
Type Description
string

setBuildId

The id of a Build message.

Parameter
Name Description
var string
Returns
Type Description
$this

getInvocationId

The unique invocation ID within this build.

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

Returns
Type Description
string

setInvocationId

The unique invocation ID within this build.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getComponent

The component that emitted this event.

Returns
Type Description
int

setComponent

The component that emitted this event.

Parameter
Name Description
var int
Returns
Type Description
$this