Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Source.
Location of the source in a supported storage service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#git_source
def git_source() -> ::Google::Cloud::Build::V1::GitSource
-
(::Google::Cloud::Build::V1::GitSource) — If provided, get the source from this Git repository.
Note: The following fields are mutually exclusive:
git_source
,storage_source
,repo_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#git_source=
def git_source=(value) -> ::Google::Cloud::Build::V1::GitSource
-
value (::Google::Cloud::Build::V1::GitSource) — If provided, get the source from this Git repository.
Note: The following fields are mutually exclusive:
git_source
,storage_source
,repo_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::GitSource) — If provided, get the source from this Git repository.
Note: The following fields are mutually exclusive:
git_source
,storage_source
,repo_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#repo_source
def repo_source() -> ::Google::Cloud::Build::V1::RepoSource
-
(::Google::Cloud::Build::V1::RepoSource) — If provided, get the source from this location in a Cloud Source
Repository.
Note: The following fields are mutually exclusive:
repo_source
,storage_source
,git_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#repo_source=
def repo_source=(value) -> ::Google::Cloud::Build::V1::RepoSource
-
value (::Google::Cloud::Build::V1::RepoSource) — If provided, get the source from this location in a Cloud Source
Repository.
Note: The following fields are mutually exclusive:
repo_source
,storage_source
,git_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::RepoSource) — If provided, get the source from this location in a Cloud Source
Repository.
Note: The following fields are mutually exclusive:
repo_source
,storage_source
,git_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#storage_source
def storage_source() -> ::Google::Cloud::Build::V1::StorageSource
-
(::Google::Cloud::Build::V1::StorageSource) — If provided, get the source from this location in Cloud Storage.
Note: The following fields are mutually exclusive:
storage_source
,repo_source
,git_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#storage_source=
def storage_source=(value) -> ::Google::Cloud::Build::V1::StorageSource
-
value (::Google::Cloud::Build::V1::StorageSource) — If provided, get the source from this location in Cloud Storage.
Note: The following fields are mutually exclusive:
storage_source
,repo_source
,git_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::StorageSource) — If provided, get the source from this location in Cloud Storage.
Note: The following fields are mutually exclusive:
storage_source
,repo_source
,git_source
,storage_source_manifest
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#storage_source_manifest
def storage_source_manifest() -> ::Google::Cloud::Build::V1::StorageSourceManifest
-
(::Google::Cloud::Build::V1::StorageSourceManifest) — If provided, get the source from this manifest in Cloud Storage.
This feature is in Preview; see description
here.
Note: The following fields are mutually exclusive:
storage_source_manifest
,storage_source
,repo_source
,git_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#storage_source_manifest=
def storage_source_manifest=(value) -> ::Google::Cloud::Build::V1::StorageSourceManifest
-
value (::Google::Cloud::Build::V1::StorageSourceManifest) — If provided, get the source from this manifest in Cloud Storage.
This feature is in Preview; see description
here.
Note: The following fields are mutually exclusive:
storage_source_manifest
,storage_source
,repo_source
,git_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::StorageSourceManifest) — If provided, get the source from this manifest in Cloud Storage.
This feature is in Preview; see description
here.
Note: The following fields are mutually exclusive:
storage_source_manifest
,storage_source
,repo_source
,git_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.