GetTriggerBuildOption class
Constructors
-
GetTriggerBuildOption({required Input<int> diskSizeGb, required Input<bool> dynamicSubstitutions, required Input<List<String>> envs, required Input<String> logStreamingOption, required Input<String> logging, required Input<String> machineType, required Input<String> requestedVerifyOption, required Input<List<String>> secretEnvs, required Input<List<String>> sourceProvenanceHashes, required Input<String> substitutionOption, required Input<List<GetTriggerBuildOptionVolume>> volumes, 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}
const
-
GetTriggerBuildOption.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
diskSizeGb
→ Input<int>
-
Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
some of the space will be used by the operating system and build utilities.
Also note that this is the minimum disk size that will be allocated for the build --
the build may run with a larger disk than requested. At present, the maximum disk size
is 1000GB; builds that request more than the maximum are rejected with an error.
final
-
dynamicSubstitutions
→ Input<bool>
-
Option to specify whether or not to apply bash style string operations to the substitutions.
final
-
envs
→ Input<List<String>>
-
A list of global environment variable definitions that will exist for all build steps
in this build. If a variable is defined in both globally and in a build step,
the variable will use the build step value.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
logging
→ Input<String>
-
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"
final
-
logStreamingOption
→ Input<String>
-
Option to define build log streaming behavior to Google Cloud Storage. Possible values:
"STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"
final
-
machineType
→ Input<String>
-
Compute Engine machine type on which to run the build.
final
-
requestedVerifyOption
→ Input<String>
-
Requested verifiability options. Possible values:
"NOT_VERIFIED", "VERIFIED"
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretEnvs
→ Input<List<String>>
-
A list of global environment variables, which are encrypted using a Cloud Key Management
Service crypto key. These values must be specified in the build's Secret. These variables
will be available to all build steps in this build.
final
-
sourceProvenanceHashes
→ Input<List<String>>
-
Requested hash for SourceProvenance. Possible values:
"NONE", "SHA256", "MD5"
final
-
substitutionOption
→ Input<String>
-
Option to specify behavior when there is an error in the substitution checks.
final
-
volumes
→ Input<List<GetTriggerBuildOptionVolume>>
-
Global list of volumes to mount for ALL build steps
final
-
workerPool
→ Input<String>
-
Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
final