class Google::Apis::ContaineranalysisV1beta1::BuildProvenance

Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.

Attributes

build_options[RW]

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details. Corresponds to the JSON property `buildOptions` @return [Hash<String,String>]

builder_version[RW]

Version string of the builder at the time this build was executed. Corresponds to the JSON property `builderVersion` @return [String]

built_artifacts[RW]

Output of the build. Corresponds to the JSON property `builtArtifacts` @return [Array<Google::Apis::ContaineranalysisV1beta1::Artifact>]

commands[RW]

Commands requested by the build. Corresponds to the JSON property `commands` @return [Array<Google::Apis::ContaineranalysisV1beta1::Command>]

create_time[RW]

Time at which the build was created. Corresponds to the JSON property `createTime` @return [String]

creator[RW]

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. Corresponds to the JSON property `creator` @return [String]

end_time[RW]

Time at which execution of the build was finished. Corresponds to the JSON property `endTime` @return [String]

id[RW]

Required. Unique identifier of the build. Corresponds to the JSON property `id` @return [String]

logs_uri[RW]

URI where any logs for this provenance were written. Corresponds to the JSON property `logsUri` @return [String]

project_id[RW]

ID of the project. Corresponds to the JSON property `projectId` @return [String]

source_provenance[RW]

Source describes the location of the source used for the build. Corresponds to the JSON property `sourceProvenance` @return [Google::Apis::ContaineranalysisV1beta1::Source]

start_time[RW]

Time at which execution of the build was started. Corresponds to the JSON property `startTime` @return [String]

trigger_id[RW]

Trigger identifier if the build was triggered automatically; empty if not. Corresponds to the JSON property `triggerId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 467
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 472
def update!(**args)
  @build_options = args[:build_options] if args.key?(:build_options)
  @builder_version = args[:builder_version] if args.key?(:builder_version)
  @built_artifacts = args[:built_artifacts] if args.key?(:built_artifacts)
  @commands = args[:commands] if args.key?(:commands)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator = args[:creator] if args.key?(:creator)
  @end_time = args[:end_time] if args.key?(:end_time)
  @id = args[:id] if args.key?(:id)
  @logs_uri = args[:logs_uri] if args.key?(:logs_uri)
  @project_id = args[:project_id] if args.key?(:project_id)
  @source_provenance = args[:source_provenance] if args.key?(:source_provenance)
  @start_time = args[:start_time] if args.key?(:start_time)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
end