Cloud Build V1 API - Class Google::Cloud::Build::V1::Source (v1.4.0)

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.

    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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.