Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Dependency.
A dependency that the Cloud Build worker will fetch before executing user steps.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#empty
def empty() -> ::Boolean
-
(::Boolean) — If set to true disable all dependency fetching (ignoring the default
source as well).
Note: The following fields are mutually exclusive:
empty
,git_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#empty=
def empty=(value) -> ::Boolean
-
value (::Boolean) — If set to true disable all dependency fetching (ignoring the default
source as well).
Note: The following fields are mutually exclusive:
empty
,git_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — If set to true disable all dependency fetching (ignoring the default
source as well).
Note: The following fields are mutually exclusive:
empty
,git_source
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#git_source
def git_source() -> ::Google::Cloud::Build::V1::Dependency::GitSourceDependency
-
(::Google::Cloud::Build::V1::Dependency::GitSourceDependency) — Represents a git repository as a build dependency.
Note: The following fields are mutually exclusive:
git_source
,empty
. 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::Dependency::GitSourceDependency
-
value (::Google::Cloud::Build::V1::Dependency::GitSourceDependency) — Represents a git repository as a build dependency.
Note: The following fields are mutually exclusive:
git_source
,empty
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Build::V1::Dependency::GitSourceDependency) — Represents a git repository as a build dependency.
Note: The following fields are mutually exclusive:
git_source
,empty
. If a field in that set is populated, all other fields in the set will automatically be cleared.