Struct google_cloudbuild1::BuildTrigger [−][src]
pub struct BuildTrigger { pub description: Option<String>, pub trigger_template: Option<RepoSource>, pub filename: Option<String>, pub disabled: Option<bool>, pub build: Option<Build>, pub id: Option<String>, pub substitutions: Option<HashMap<String, String>>, pub create_time: Option<String>, }
Configuration for an automated build in response to source repository changes.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- triggers create projects (request|response)
- triggers get projects (response)
- triggers patch projects (request|response)
Fields
description: Option<String>
Human-readable description of this trigger.
trigger_template: Option<RepoSource>
Template describing the types of source changes to trigger a build.
Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build.
filename: Option<String>
Path, from the source root, to a file whose contents is used for the template.
disabled: Option<bool>
If true, the trigger will never result in a build.
build: Option<Build>
Contents of the build template.
id: Option<String>
Unique identifier of the trigger.
@OutputOnly
substitutions: Option<HashMap<String, String>>
Substitutions data for Build resource.
create_time: Option<String>
Time when the trigger was created.
@OutputOnly
Trait Implementations
impl Default for BuildTrigger
[src]
impl Default for BuildTrigger
fn default() -> BuildTrigger
[src]
fn default() -> BuildTrigger
Returns the "default value" for a type. Read more
impl Clone for BuildTrigger
[src]
impl Clone for BuildTrigger
fn clone(&self) -> BuildTrigger
[src]
fn clone(&self) -> BuildTrigger
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for BuildTrigger
[src]
impl Debug for BuildTrigger
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for BuildTrigger
[src]
impl RequestValue for BuildTrigger
impl ResponseResult for BuildTrigger
[src]
impl ResponseResult for BuildTrigger
Auto Trait Implementations
impl Send for BuildTrigger
impl Send for BuildTrigger
impl Sync for BuildTrigger
impl Sync for BuildTrigger