Class: Google::Apis::CloudbuildV1alpha2::Results

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudbuild_v1alpha2/classes.rb,
generated/google/apis/cloudbuild_v1alpha2/representations.rb,
generated/google/apis/cloudbuild_v1alpha2/representations.rb

Overview

Artifacts created by the build pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Results

Returns a new instance of Results.


1099
1100
1101
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1099

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#artifact_manifestString

Path to the artifact manifest. Only populated when artifacts are uploaded. Corresponds to the JSON property artifactManifest

Returns:

  • (String)

1069
1070
1071
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1069

def artifact_manifest
  @artifact_manifest
end

#artifact_timingGoogle::Apis::CloudbuildV1alpha2::TimeSpan

Start and end times for a build execution phase. Corresponds to the JSON property artifactTiming


1074
1075
1076
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1074

def artifact_timing
  @artifact_timing
end

#build_step_imagesArray<String>

List of build step digests, in the order corresponding to build step indices. Corresponds to the JSON property buildStepImages

Returns:

  • (Array<String>)

1079
1080
1081
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1079

def build_step_images
  @build_step_images
end

#build_step_outputsArray<String>

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $ BUILDER_OUTPUT/output. Only the first 4KB of data is stored. Corresponds to the JSON property buildStepOutputs

Returns:

  • (Array<String>)

1087
1088
1089
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1087

def build_step_outputs
  @build_step_outputs
end

#imagesArray<Google::Apis::CloudbuildV1alpha2::BuiltImage>

Container images that were built as a part of the build. Corresponds to the JSON property images


1092
1093
1094
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1092

def images
  @images
end

#num_artifactsFixnum

Number of artifacts uploaded. Only populated when artifacts are uploaded. Corresponds to the JSON property numArtifacts

Returns:

  • (Fixnum)

1097
1098
1099
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1097

def num_artifacts
  @num_artifacts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1104
1105
1106
1107
1108
1109
1110
1111
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 1104

def update!(**args)
  @artifact_manifest = args[:artifact_manifest] if args.key?(:artifact_manifest)
  @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
  @images = args[:images] if args.key?(:images)
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
end