GetTriggerBuildOption constructor
- required Input<
int> diskSizeGb, - required Input<
bool> dynamicSubstitutions, - required Input<
List< envs,String> > - required Input<
String> logStreamingOption, - required Input<
String> logging, - required Input<
String> machineType, - required Input<
String> requestedVerifyOption, - required Input<
List< secretEnvs,String> > - required Input<
List< sourceProvenanceHashes,String> > - required Input<
String> substitutionOption, - required Input<
List< volumes,GetTriggerBuildOptionVolume> > - required Input<
String> workerPool,
Creates a new GetTriggerBuildOption.
diskSizeGb Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
dynamicSubstitutions Option to specify whether or not to apply bash style string operations to the substitutions.
envs A list of global environment variable definitions that will exist for all build steps
logStreamingOption Option to define build log streaming behavior to Google Cloud Storage. Possible values: "STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"
logging Option to specify the logging mode, which determines if and where build logs are stored. Possible values: "LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"
machineType Compute Engine machine type on which to run the build.
requestedVerifyOption Requested verifiability options. Possible values: "NOT_VERIFIED", "VERIFIED"
secretEnvs A list of global environment variables, which are encrypted using a Cloud Key Management
sourceProvenanceHashes Requested hash for SourceProvenance. Possible values: "NONE", "SHA256", "MD5"
substitutionOption Option to specify behavior when there is an error in the substitution checks.
volumes Global list of volumes to mount for ALL build steps
workerPool Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
Implementation
const GetTriggerBuildOption({
required this.diskSizeGb,
required this.dynamicSubstitutions,
required this.envs,
required this.logStreamingOption,
required this.logging,
required this.machineType,
required this.requestedVerifyOption,
required this.secretEnvs,
required this.sourceProvenanceHashes,
required this.substitutionOption,
required this.volumes,
required this.workerPool,
});