Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::RepoSource.
Location of the source in a Google Cloud Source Repository.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#branch_name
def branch_name() -> ::String
-
(::String) — Regex matching branches to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
#branch_name=
def branch_name=(value) -> ::String
-
value (::String) — Regex matching branches to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
-
(::String) — Regex matching branches to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
#commit_sha
def commit_sha() -> ::String
- (::String) — Explicit commit SHA to build.
#commit_sha=
def commit_sha=(value) -> ::String
- value (::String) — Explicit commit SHA to build.
- (::String) — Explicit commit SHA to build.
#dir
def dir() -> ::String
-
(::String) — Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's
dir
is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
#dir=
def dir=(value) -> ::String
-
value (::String) — Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's
dir
is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
-
(::String) — Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's
dir
is specified and is an absolute path, this value is ignored for that step's execution. eg. helloworld (no leading slash allowed)
#invert_regex
def invert_regex() -> ::Boolean
- (::Boolean) — Only trigger a build if the revision regex does NOT match the revision regex.
#invert_regex=
def invert_regex=(value) -> ::Boolean
- value (::Boolean) — Only trigger a build if the revision regex does NOT match the revision regex.
- (::Boolean) — Only trigger a build if the revision regex does NOT match the revision regex.
#project_id
def project_id() -> ::String
- (::String) — ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
#project_id=
def project_id=(value) -> ::String
- value (::String) — ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- (::String) — ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
#repo_name
def repo_name() -> ::String
- (::String) — Name of the Cloud Source Repository.
#repo_name=
def repo_name=(value) -> ::String
- value (::String) — Name of the Cloud Source Repository.
- (::String) — Name of the Cloud Source Repository.
#tag_name
def tag_name() -> ::String
-
(::String) — Regex matching tags to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
#tag_name=
def tag_name=(value) -> ::String
-
value (::String) — Regex matching tags to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
-
(::String) — Regex matching tags to build.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax