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
- (::Google::Cloud::DesignCenter::V1::DeveloperConnectConfig) — Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
#developer_connect_config=
def developer_connect_config=(value) -> ::Google::Cloud::DesignCenter::V1::DeveloperConnectConfig
Parameter
- value (::Google::Cloud::DesignCenter::V1::DeveloperConnectConfig) — Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
Returns
- (::Google::Cloud::DesignCenter::V1::DeveloperConnectConfig) — Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
#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
diris 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
diris 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
diris 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.