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
Returns
- (::Google::Cloud::Build::V1::GitSource) — If provided, get the source from this Git repository.
#git_source=
def git_source=(value) -> ::Google::Cloud::Build::V1::GitSource
Parameter
- value (::Google::Cloud::Build::V1::GitSource) — If provided, get the source from this Git repository.
Returns
- (::Google::Cloud::Build::V1::GitSource) — If provided, get the source from this Git repository.
#repo_source
def repo_source() -> ::Google::Cloud::Build::V1::RepoSource
Returns
- (::Google::Cloud::Build::V1::RepoSource) — If provided, get the source from this location in a Cloud Source Repository.
#repo_source=
def repo_source=(value) -> ::Google::Cloud::Build::V1::RepoSource
Parameter
- value (::Google::Cloud::Build::V1::RepoSource) — If provided, get the source from this location in a Cloud Source Repository.
Returns
- (::Google::Cloud::Build::V1::RepoSource) — If provided, get the source from this location in a Cloud Source Repository.
#storage_source
def storage_source() -> ::Google::Cloud::Build::V1::StorageSource
Returns
- (::Google::Cloud::Build::V1::StorageSource) — If provided, get the source from this location in Google Cloud Storage.
#storage_source=
def storage_source=(value) -> ::Google::Cloud::Build::V1::StorageSource
Parameter
- value (::Google::Cloud::Build::V1::StorageSource) — If provided, get the source from this location in Google Cloud Storage.
Returns
- (::Google::Cloud::Build::V1::StorageSource) — If provided, get the source from this location in Google Cloud Storage.
#storage_source_manifest
def storage_source_manifest() -> ::Google::Cloud::Build::V1::StorageSourceManifest
Returns
- (::Google::Cloud::Build::V1::StorageSourceManifest) — If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description here.
#storage_source_manifest=
def storage_source_manifest=(value) -> ::Google::Cloud::Build::V1::StorageSourceManifest
Parameter
- value (::Google::Cloud::Build::V1::StorageSourceManifest) — If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description here.
Returns
- (::Google::Cloud::Build::V1::StorageSourceManifest) — If provided, get the source from this manifest in Google Cloud Storage. This feature is in Preview; see description here.