GetTriggerBuild class

Constructors

GetTriggerBuild({required Input<List<GetTriggerBuildArtifact>> artifacts, required Input<List<GetTriggerBuildAvailableSecret>> availableSecrets, required Input<List<String>> images, required Input<String> logsBucket, required Input<List<GetTriggerBuildOption>> options, required Input<String> queueTtl, required Input<List<GetTriggerBuildSecret>> secrets, required Input<List<GetTriggerBuildSource>> sources, required Input<List<GetTriggerBuildStep>> steps, required Input<Map<String, String>> substitutions, required Input<List<String>> tags, required Input<String> timeout})
Creates a new GetTriggerBuild. artifacts Artifacts produced by the build that should be uploaded upon successful completion of all build steps. availableSecrets Secrets and secret environment variables. images A list of images to be pushed upon the successful completion of all build steps. logsBucket Google Cloud Storage bucket where logs should be written. options Special options for this build. queueTtl TTL in queue for this build. If provided and the build is enqueued longer than this value, secrets Secrets to decrypt using Cloud Key Management Service. sources The location of the source files to build. steps The operations to be performed on the workspace. substitutions Substitutions data for Build resource. tags Tags for annotation of a Build. These are not docker tags. timeout Amount of time that this build should be allowed to run, to second granularity.
const
GetTriggerBuild.fromMap(Map<String, dynamic> map)
factory

Properties

artifacts → Input<List<GetTriggerBuildArtifact>>
Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
final
availableSecrets → Input<List<GetTriggerBuildAvailableSecret>>
Secrets and secret environment variables.
final
hashCode → int
The hash code for this object.
no setterinherited
images → Input<List<String>>
A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
final
logsBucket → Input<String>
Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
final
options → Input<List<GetTriggerBuildOption>>
Special options for this build.
final
queueTtl → Input<String>
TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secrets → Input<List<GetTriggerBuildSecret>>
Secrets to decrypt using Cloud Key Management Service.
final
sources → Input<List<GetTriggerBuildSource>>
The location of the source files to build.
final
steps → Input<List<GetTriggerBuildStep>>
The operations to be performed on the workspace.
final
substitutions → Input<Map<String, String>>
Substitutions data for Build resource.
final
tags → Input<List<String>>
Tags for annotation of a Build. These are not docker tags.
final
timeout → Input<String>
Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited