pub struct GitRepoSource {
pub bitbucket_server_config: Option<String>,
pub github_enterprise_config: Option<String>,
pub ref_: Option<String>,
pub repo_type: Option<String>,
pub repository: Option<String>,
pub uri: Option<String>,
}Expand description
GitRepoSource describes a repo and ref of a code repository.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bitbucket_server_config: Option<String>The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
github_enterprise_config: Option<String>The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
ref_: Option<String>The branch or tag to use. Must start with “refs/” (required).
repo_type: Option<String>See RepoType below.
repository: Option<String>The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.
uri: Option<String>The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.
Trait Implementations§
Source§impl Clone for GitRepoSource
impl Clone for GitRepoSource
Source§fn clone(&self) -> GitRepoSource
fn clone(&self) -> GitRepoSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more