#[non_exhaustive]pub struct CloudBuildOptions {
pub app_yaml_path: String,
pub cloud_build_timeout: Option<Duration>,
/* private fields */
}Expand description
Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app_yaml_path: StringPath to the yaml file used in deployment, used to determine runtime configuration details.
Required for flexible environment builds.
See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.
cloud_build_timeout: Option<Duration>The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
Implementations§
Source§impl CloudBuildOptions
impl CloudBuildOptions
pub fn new() -> Self
Sourcepub fn set_app_yaml_path<T: Into<String>>(self, v: T) -> Self
pub fn set_app_yaml_path<T: Into<String>>(self, v: T) -> Self
Sets the value of app_yaml_path.
Sourcepub fn set_cloud_build_timeout<T>(self, v: T) -> Self
pub fn set_cloud_build_timeout<T>(self, v: T) -> Self
Sets the value of cloud_build_timeout.
Sourcepub fn set_or_clear_cloud_build_timeout<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_cloud_build_timeout<T>(self, v: Option<T>) -> Self
Sets or clears the value of cloud_build_timeout.
Trait Implementations§
Source§impl Clone for CloudBuildOptions
impl Clone for CloudBuildOptions
Source§fn clone(&self) -> CloudBuildOptions
fn clone(&self) -> CloudBuildOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudBuildOptions
impl Debug for CloudBuildOptions
Source§impl Default for CloudBuildOptions
impl Default for CloudBuildOptions
Source§fn default() -> CloudBuildOptions
fn default() -> CloudBuildOptions
Returns the “default value” for a type. Read more
Source§impl Message for CloudBuildOptions
impl Message for CloudBuildOptions
Source§impl PartialEq for CloudBuildOptions
impl PartialEq for CloudBuildOptions
impl StructuralPartialEq for CloudBuildOptions
Auto Trait Implementations§
impl Freeze for CloudBuildOptions
impl RefUnwindSafe for CloudBuildOptions
impl Send for CloudBuildOptions
impl Sync for CloudBuildOptions
impl Unpin for CloudBuildOptions
impl UnwindSafe for CloudBuildOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more