Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::GitSource (v0.6.0)

Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::GitSource.

A set of files in a Git repository.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#directory

def directory() -> ::String
Returns
  • (::String) — Optional. Subdirectory inside the repository. Example: 'staging/my-package'

#directory=

def directory=(value) -> ::String
Parameter
  • value (::String) — Optional. Subdirectory inside the repository. Example: 'staging/my-package'
Returns
  • (::String) — Optional. Subdirectory inside the repository. Example: 'staging/my-package'

#ref

def ref() -> ::String
Returns
  • (::String) — Optional. Git reference (e.g. branch or tag).

#ref=

def ref=(value) -> ::String
Parameter
  • value (::String) — Optional. Git reference (e.g. branch or tag).
Returns
  • (::String) — Optional. Git reference (e.g. branch or tag).

#repo

def repo() -> ::String
Returns
  • (::String) — Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'

#repo=

def repo=(value) -> ::String
Parameter
  • value (::String) — Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'
Returns
  • (::String) — Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'