Cloud Build V1 API - Class Google::Cloud::Build::V1::RepoSource (v0.18.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::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
Returns
  • (::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
Parameter
  • 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

Returns
  • (::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
Returns
  • (::String) — Explicit commit SHA to build.

#commit_sha=

def commit_sha=(value) -> ::String
Parameter
  • value (::String) — Explicit commit SHA to build.
Returns
  • (::String) — Explicit commit SHA to build.

#dir

def dir() -> ::String
Returns
  • (::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.

#dir=

def dir=(value) -> ::String
Parameter
  • 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.

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

#invert_regex

def invert_regex() -> ::Boolean
Returns
  • (::Boolean) — Only trigger a build if the revision regex does NOT match the revision regex.

#invert_regex=

def invert_regex=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Only trigger a build if the revision regex does NOT match the revision regex.
Returns
  • (::Boolean) — Only trigger a build if the revision regex does NOT match the revision regex.

#project_id

def project_id() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
Returns
  • (::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
Returns
  • (::String) — Name of the Cloud Source Repository.

#repo_name=

def repo_name=(value) -> ::String
Parameter
  • value (::String) — Name of the Cloud Source Repository.
Returns
  • (::String) — Name of the Cloud Source Repository.

#substitutions

def substitutions() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

#substitutions=

def substitutions=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

#tag_name

def tag_name() -> ::String
Returns
  • (::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
Parameter
  • 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

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