Design Center V1 API - Class Google::Cloud::DesignCenter::V1::GitSource (v0.1.0)

Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::GitSource.

Defines how to access a Git source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#commit_sha

def commit_sha() -> ::String
Returns
  • (::String) — Output only. The commit SHA of the git repo deduced from given ref_tag.

#developer_connect_config

def developer_connect_config() -> ::Google::Cloud::DesignCenter::V1::DeveloperConnectConfig
Returns

#developer_connect_config=

def developer_connect_config=(value) -> ::Google::Cloud::DesignCenter::V1::DeveloperConnectConfig
Parameter
Returns

#dir

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

#ref_tag

def ref_tag() -> ::String
Returns
  • (::String) — Required. The reference tag of the git repo.

#ref_tag=

def ref_tag=(value) -> ::String
Parameter
  • value (::String) — Required. The reference tag of the git repo.
Returns
  • (::String) — Required. The reference tag of the git repo.

#repo

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

#repo=

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