Cloud Build V1 API - Class Google::Cloud::Build::V1::Dependency::GitSourceRepository (v1.5.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Dependency::GitSourceRepository.

A repository for a git source.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#developer_connect

def developer_connect() -> ::String
Returns
  • (::String) — The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as projects/*/locations/*/connections/*/gitRepositoryLink/*

    Note: The following fields are mutually exclusive: developer_connect, url. If a field in that set is populated, all other fields in the set will automatically be cleared.

#developer_connect=

def developer_connect=(value) -> ::String
Parameter
  • value (::String) — The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as projects/*/locations/*/connections/*/gitRepositoryLink/*

    Note: The following fields are mutually exclusive: developer_connect, url. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as projects/*/locations/*/connections/*/gitRepositoryLink/*

    Note: The following fields are mutually exclusive: developer_connect, url. If a field in that set is populated, all other fields in the set will automatically be cleared.

#url

def url() -> ::String
Returns
  • (::String) — Location of the Git repository.

    Note: The following fields are mutually exclusive: url, developer_connect. If a field in that set is populated, all other fields in the set will automatically be cleared.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — Location of the Git repository.

    Note: The following fields are mutually exclusive: url, developer_connect. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Location of the Git repository.

    Note: The following fields are mutually exclusive: url, developer_connect. If a field in that set is populated, all other fields in the set will automatically be cleared.