Struct gapi_grpc::google::devtools::cloudbuild::v1::RepoSource[][src]

pub struct RepoSource {
    pub project_id: String,
    pub repo_name: String,
    pub dir: String,
    pub invert_regex: bool,
    pub substitutions: HashMap<String, String>,
    pub revision: Option<Revision>,
}

Location of the source in a Google Cloud Source Repository.

Fields

project_id: String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repo_name: String

Name of the Cloud Source Repository.

dir: String

Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step’s dir is specified and is an absolute path, this value is ignored for that step’s execution.

invert_regex: bool

Only trigger a build if the revision regex does NOT match the revision regex.

substitutions: HashMap<String, String>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

revision: Option<Revision>

A revision within the Cloud Source Repository must be specified in one of these ways.

Trait Implementations

impl Clone for RepoSource[src]

impl Debug for RepoSource[src]

impl Default for RepoSource[src]

impl Message for RepoSource[src]

impl PartialEq<RepoSource> for RepoSource[src]

impl StructuralPartialEq for RepoSource[src]

Auto Trait Implementations

impl RefUnwindSafe for RepoSource

impl Send for RepoSource

impl Sync for RepoSource

impl Unpin for RepoSource

impl UnwindSafe for RepoSource

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]