Google Cloud Build V1 Client - Class RepositoryType (0.9.0)

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

All possible SCM repo types from Repo API.

Protobuf type google.devtools.cloudbuild.v1.RepositoryEventConfig.RepositoryType

Namespace

Google \ Cloud \ Build \ V1 \ RepositoryEventConfig

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

REPOSITORY_TYPE_UNSPECIFIED

Value: 0

If unspecified, RepositoryType defaults to GITHUB.

Generated from protobuf enum REPOSITORY_TYPE_UNSPECIFIED = 0;

GITHUB

Value: 1

The SCM repo is GITHUB.

Generated from protobuf enum GITHUB = 1;

GITHUB_ENTERPRISE

Value: 2

The SCM repo is GITHUB Enterprise.

Generated from protobuf enum GITHUB_ENTERPRISE = 2;

GITLAB_ENTERPRISE

Value: 3

The SCM repo is GITLAB Enterprise.

Generated from protobuf enum GITLAB_ENTERPRISE = 3;