pub struct Source {
pub connected_repository: Option<ConnectedRepository>,
pub developer_connect_config: Option<DeveloperConnectConfig>,
pub git_source: Option<GitSource>,
pub repo_source: Option<RepoSource>,
pub storage_source: Option<StorageSource>,
pub storage_source_manifest: Option<StorageSourceManifest>,
}
Expand description
Location of the source in a supported storage service.
This type is not used in any activity, and only used as part of another schema.
Fields§
§connected_repository: Option<ConnectedRepository>
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
developer_connect_config: Option<DeveloperConnectConfig>
If provided, get the source from this Developer Connect config.
git_source: Option<GitSource>
If provided, get the source from this Git repository.
repo_source: Option<RepoSource>
If provided, get the source from this location in a Cloud Source Repository.
storage_source: Option<StorageSource>
If provided, get the source from this location in Cloud Storage.
storage_source_manifest: Option<StorageSourceManifest>
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more