[−][src]Struct google_cloudbuild1::BuildOptions
Optional arguments to enable specific features of builds.
This type is not used in any activity, and only used as part of another schema.
Fields
substitution_option: Option<String>
Option to specify behavior when there is an error in the substitution checks.
NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
machine_type: Option<String>
Compute Engine machine type on which to run the build.
env: Option<Vec<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.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
source_provenance_hash: Option<Vec<String>>
Requested hash for SourceProvenance.
log_streaming_option: Option<String>
Option to define build log streaming behavior to Google Cloud Storage.
secret_env: Option<Vec<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.
disk_size_gb: Option<String>
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.
dynamic_substitutions: Option<bool>
Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file.
logging: Option<String>
Option to specify the logging mode, which determines if and where build logs are stored.
volumes: Option<Vec<Volume>>
Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
requested_verify_option: Option<String>
Requested verifiability options.
worker_pool: Option<String>
Option to specify a WorkerPool
for the build.
Format: projects/{project}/workerPools/{workerPool}
This field is experimental.
Trait Implementations
impl Clone for BuildOptions
[src]
fn clone(&self) -> BuildOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BuildOptions
[src]
impl Default for BuildOptions
[src]
fn default() -> BuildOptions
[src]
impl<'de> Deserialize<'de> for BuildOptions
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for BuildOptions
[src]
impl Serialize for BuildOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnwindSafe for BuildOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,