Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::GitSource (v1.51.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::GitSource.

Specifies source code to be fetched from a public Git repository.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dir

def dir() -> ::String
Returns
  • (::String) — Optional. Directory, relative to the source root, in which to run the build.

#dir=

def dir=(value) -> ::String
Parameter
  • value (::String) — Optional. Directory, relative to the source root, in which to run the build.
Returns
  • (::String) — Optional. Directory, relative to the source root, in which to run the build.

#revision

def revision() -> ::String
Returns
  • (::String) — Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.

#revision=

def revision=(value) -> ::String
Parameter
  • value (::String) — Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
Returns
  • (::String) — Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.

#url

def url() -> ::String
Returns
  • (::String) — Required. The HTTPS URL of the public Git repository to clone.

#url=

def url=(value) -> ::String
Parameter
  • value (::String) — Required. The HTTPS URL of the public Git repository to clone.
Returns
  • (::String) — Required. The HTTPS URL of the public Git repository to clone.