GetTriggerBuildOption constructor

const GetTriggerBuildOption({
  1. required Input<int> diskSizeGb,
  2. required Input<bool> dynamicSubstitutions,
  3. required Input<List<String>> envs,
  4. required Input<String> logStreamingOption,
  5. required Input<String> logging,
  6. required Input<String> machineType,
  7. required Input<String> requestedVerifyOption,
  8. required Input<List<String>> secretEnvs,
  9. required Input<List<String>> sourceProvenanceHashes,
  10. required Input<String> substitutionOption,
  11. required Input<List<GetTriggerBuildOptionVolume>> volumes,
  12. 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,
});