Struct google_cloudbuild1::BuildTrigger[][src]

pub struct BuildTrigger {
    pub description: Option<String>,
    pub ignored_files: Option<Vec<String>>,
    pub trigger_template: Option<RepoSource>,
    pub filename: Option<String>,
    pub create_time: Option<String>,
    pub disabled: Option<bool>,
    pub build: Option<Build>,
    pub included_files: Option<Vec<String>>,
    pub substitutions: Option<HashMap<String, String>>,
    pub id: 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).

Fields

Human-readable description of this trigger.

ignored_files and included_files are file glob matches using http://godoc/pkg/path/filepath#Match extended with support for "**".

If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build.

If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

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.

Path, from the source root, to a file whose contents is used for the template.

Output only. Time when the trigger was created.

If true, the trigger will never result in a build.

Contents of the build template.

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build.

If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

Substitutions data for Build resource.

Output only. Unique identifier of the trigger.

Trait Implementations

impl Default for BuildTrigger
[src]

Returns the "default value" for a type. Read more

impl Clone for BuildTrigger
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BuildTrigger
[src]

Formats the value using the given formatter. Read more

impl RequestValue for BuildTrigger
[src]

impl ResponseResult for BuildTrigger
[src]

Auto Trait Implementations