Google Cloud Build V1 Client - Class RepoType (0.14.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class RepoType.

The type of the repo, since it may not be explicit from the repo field (e.g from a URL).

Protobuf type google.devtools.cloudbuild.v1.GitFileSource.RepoType

Namespace

Google \ Cloud \ Build \ V1 \ GitFileSource

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

UNKNOWN

Value: 0

The default, unknown repo type. Don't use it, instead use one of the other repo types.

Generated from protobuf enum UNKNOWN = 0;

CLOUD_SOURCE_REPOSITORIES

Value: 1

A Google Cloud Source Repositories-hosted repo.

Generated from protobuf enum CLOUD_SOURCE_REPOSITORIES = 1;

GITHUB

Value: 2

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

Generated from protobuf enum GITHUB = 2;

BITBUCKET_SERVER

Value: 3

A Bitbucket Server-hosted repo.

Generated from protobuf enum BITBUCKET_SERVER = 3;

GITLAB

Value: 4

A GitLab-hosted repo.

Generated from protobuf enum GITLAB = 4;