[][src]Struct google_cloudbuild1::GitHubEventsConfig

pub struct GitHubEventsConfig {
    pub owner: Option<String>,
    pub installation_id: Option<String>,
    pub pull_request: Option<PullRequestFilter>,
    pub name: Option<String>,
    pub push: Option<PushFilter>,
}

GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.

This message is experimental.

This type is not used in any activity, and only used as part of another schema.

Fields

owner: Option<String>

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

installation_id: Option<String>

The installationID that emits the GitHub event.

pull_request: Option<PullRequestFilter>

filter to match changes in pull requests.

name: Option<String>

Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".

push: Option<PushFilter>

filter to match changes in refs like branches, tags.

Trait Implementations

impl Clone for GitHubEventsConfig[src]

impl Debug for GitHubEventsConfig[src]

impl Default for GitHubEventsConfig[src]

impl<'de> Deserialize<'de> for GitHubEventsConfig[src]

impl Part for GitHubEventsConfig[src]

impl Serialize for GitHubEventsConfig[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any