Reference documentation and code samples for the Grafeas V1 Client class BuildProvenance.
Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
Generated from protobuf message grafeas.v1.BuildProvenance
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
Required. Unique identifier of the build.
↳ project_id
string
ID of the project.
↳ commands
↳ built_artifacts
↳ create_time
↳ start_time
↳ end_time
↳ creator
string
E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
↳ logs_uri
string
URI where any logs for this provenance were written.
↳ source_provenance
↳ trigger_id
string
Trigger identifier if the build was triggered automatically; empty if not.
↳ build_options
array| Google\Protobuf\Internal\MapField
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
↳ builder_version
string
Version string of the builder at the time this build was executed.
getId
Required. Unique identifier of the build.
string
setId
Required. Unique identifier of the build.
var
string
$this
getProjectId
ID of the project.
string
setProjectId
ID of the project.
var
string
$this
getCommands
Commands requested by the build.
setCommands
Commands requested by the build.
$this
getBuiltArtifacts
Output of the build.
setBuiltArtifacts
Output of the build.
$this
getCreateTime
Time at which the build was created.
hasCreateTime
clearCreateTime
setCreateTime
Time at which the build was created.
$this
getStartTime
Time at which execution of the build was started.
hasStartTime
clearStartTime
setStartTime
Time at which execution of the build was started.
$this
getEndTime
Time at which execution of the build was finished.
hasEndTime
clearEndTime
setEndTime
Time at which execution of the build was finished.
$this
getCreator
E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
string
setCreator
E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
var
string
$this
getLogsUri
URI where any logs for this provenance were written.
string
setLogsUri
URI where any logs for this provenance were written.
var
string
$this
getSourceProvenance
Details of the Source input to the build.
hasSourceProvenance
clearSourceProvenance
setSourceProvenance
Details of the Source input to the build.
$this
getTriggerId
Trigger identifier if the build was triggered automatically; empty if not.
string
setTriggerId
Trigger identifier if the build was triggered automatically; empty if not.
var
string
$this
getBuildOptions
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
setBuildOptions
Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
$this
getBuilderVersion
Version string of the builder at the time this build was executed.
string
setBuilderVersion
Version string of the builder at the time this build was executed.
var
string
$this