Struct google_cloudbuild1::RepoSource [−][src]
pub struct RepoSource { pub repo_name: Option<String>, pub tag_name: Option<String>, pub project_id: Option<String>, pub branch_name: Option<String>, pub dir: Option<String>, pub commit_sha: Option<String>, }
Location of the source in a Google Cloud Source Repository.
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 run projects (request)
Fields
repo_name: Option<String>
Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
tag_name: Option<String>
Name of the tag to build.
project_id: Option<String>
ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
branch_name: Option<String>
Name of the branch to build.
dir: Option<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.
commit_sha: Option<String>
Explicit commit SHA to build.
Trait Implementations
impl Default for RepoSource
[src]
impl Default for RepoSource
fn default() -> RepoSource
[src]
fn default() -> RepoSource
Returns the "default value" for a type. Read more
impl Clone for RepoSource
[src]
impl Clone for RepoSource
fn clone(&self) -> RepoSource
[src]
fn clone(&self) -> RepoSource
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 RepoSource
[src]
impl Debug for RepoSource
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 RepoSource
[src]
impl RequestValue for RepoSource
Auto Trait Implementations
impl Send for RepoSource
impl Send for RepoSource
impl Sync for RepoSource
impl Sync for RepoSource