Cloud Functions V2 API - Class Google::Cloud::Functions::V2::RepoSource (v0.8.0)

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
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. eg. helloworld (no leading slash allowed)

#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. eg. helloworld (no leading slash allowed)

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. eg. helloworld (no leading slash allowed)

#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.

#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