Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::ConnectedRepository.
Location of the source in a 2nd-gen Google Cloud Build repository resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dir
def dir() -> ::String
Returns
- (::String) — Optional. Directory, relative to the source root, in which to run the build.
#dir=
def dir=(value) -> ::String
Parameter
- value (::String) — Optional. Directory, relative to the source root, in which to run the build.
Returns
- (::String) — Optional. Directory, relative to the source root, in which to run the build.
#repository
def repository() -> ::String
Returns
-
(::String) — Required. Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*.
#repository=
def repository=(value) -> ::String
Parameter
-
value (::String) — Required. Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*.
Returns
-
(::String) — Required. Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*.
#revision
def revision() -> ::String
Returns
- (::String) — Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
#revision=
def revision=(value) -> ::String
Parameter
- value (::String) — Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
Returns
- (::String) — Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.