Reference documentation and code samples for the Google Cloud Build V1 Client class PublishBuildToolEventStreamRequest.
Streaming request message for PublishBuildToolEventStream.
Generated from protobuf message google.devtools.build.v1.PublishBuildToolEventStreamRequest
Methods
__construct
Constructor.
Name | Description |
data
|
array
Optional. Data for populating the Message object. |
↳ ordered_build_event
|
Google\Cloud\Build\V1\OrderedBuildEvent
Required. The build event with position info. New publishing clients should use this field rather than the 3 above. |
↳ notification_keywords
|
array
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream. |
↳ project_id
|
string
Required. The project this build is associated with. This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message). |
↳ check_preceding_lifecycle_events_present
|
bool
Whether to require a previously received matching InvocationAttemptStarted event before continuing event processing for the event in the current request. BES only performs this check for events with sequence_number 1 i.e. the first event in the stream. |
getOrderedBuildEvent
Required. The build event with position info.
New publishing clients should use this field rather than the 3 above.
Type | Description |
---|---|
Google\Cloud\Build\V1\OrderedBuildEvent
|null
|
hasOrderedBuildEvent
clearOrderedBuildEvent
setOrderedBuildEvent
Required. The build event with position info.
New publishing clients should use this field rather than the 3 above.
Name | Description |
var
|
Google\Cloud\Build\V1\OrderedBuildEvent
|
Type | Description |
---|---|
$this
|
getNotificationKeywords
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
Type | Description |
---|---|
Google\Protobuf\Internal\RepeatedField
|
setNotificationKeywords
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
Name | Description |
---|---|
var
|
string[]
|
Type | Description |
---|---|
$this
|
getProjectId
Required. The project this build is associated with.
This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
Type | Description |
---|---|
string
|
setProjectId
Required. The project this build is associated with.
This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
Name | Description |
---|---|
var
|
string
|
Type | Description |
---|---|
$this
|
getCheckPrecedingLifecycleEventsPresent
Whether to require a previously received matching InvocationAttemptStarted event before continuing event processing for the event in the current request. BES only performs this check for events with sequence_number 1 i.e. the first event in the stream.
Type | Description |
---|---|
bool
|
setCheckPrecedingLifecycleEventsPresent
Whether to require a previously received matching InvocationAttemptStarted event before continuing event processing for the event in the current request. BES only performs this check for events with sequence_number 1 i.e. the first event in the stream.
Name | Description |
---|---|
var
|
bool
|
Type | Description |
---|---|
$this
|