Private Catalog V1beta1 API - Class Google::Cloud::PrivateCatalog::V1beta1::GitSource (v0.5.0)

Reference documentation and code samples for the Private Catalog V1beta1 API class Google::Cloud::PrivateCatalog::V1beta1::GitSource.

Defines how to access a Git Source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#branch

def branch() -> ::String
Returns
  • (::String) — The revision branch to use.

#branch=

def branch=(value) -> ::String
Parameter
  • value (::String) — The revision branch to use.
Returns
  • (::String) — The revision branch to use.

#commit

def commit() -> ::String
Returns
  • (::String) — The revision commit to use.

#commit=

def commit=(value) -> ::String
Parameter
  • value (::String) — The revision commit to use.
Returns
  • (::String) — The revision commit to use.

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

#repo

def repo() -> ::String
Returns
  • (::String) — Location of the Git repo to build.

#repo=

def repo=(value) -> ::String
Parameter
  • value (::String) — Location of the Git repo to build.
Returns
  • (::String) — Location of the Git repo to build.

#tag

def tag() -> ::String
Returns
  • (::String) — The revision tag to use.

#tag=

def tag=(value) -> ::String
Parameter
  • value (::String) — The revision tag to use.
Returns
  • (::String) — The revision tag to use.