Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::DeveloperConnectSourceConfig.
This config specifies the location of a source (such as GitHub or Bitbucket) through Developer Connect.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#developer_connect_repo_uri
def developer_connect_repo_uri() -> ::String
Returns
-
(::String) — Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#developer_connect_repo_uri=
def developer_connect_repo_uri=(value) -> ::String
Parameter
-
value (::String) — Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Returns
-
(::String) — Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
#dir
def dir() -> ::String
Returns
- (::String) — Required. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.
#dir=
def dir=(value) -> ::String
Parameter
- value (::String) — Required. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.
Returns
- (::String) — Required. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.
#fetched_commit_sha
def fetched_commit_sha() -> ::String
Returns
- (::String) — Output only. The SHA of the commit deduced from GitReference.
#reference
def reference() -> ::Google::Cloud::DesignCenter::V1::GitReference
Returns
- (::Google::Cloud::DesignCenter::V1::GitReference) — Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.
#reference=
def reference=(value) -> ::Google::Cloud::DesignCenter::V1::GitReference
Parameter
- value (::Google::Cloud::DesignCenter::V1::GitReference) — Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.
Returns
- (::Google::Cloud::DesignCenter::V1::GitReference) — Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.