Show / Hide Table of Contents

Class GitRepoSource

GitRepoSource describes a repo and ref of a code repository.

Inheritance
object
GitRepoSource
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class GitRepoSource : IDirectResponseSchema

Properties

BitbucketServerConfig

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

Declaration
[JsonProperty("bitbucketServerConfig")]
public virtual string BitbucketServerConfig { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

GithubEnterpriseConfig

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

Declaration
[JsonProperty("githubEnterpriseConfig")]
public virtual string GithubEnterpriseConfig { get; set; }
Property Value
Type Description
string

Ref__

The branch or tag to use. Must start with "refs/" (required).

Declaration
[JsonProperty("ref")]
public virtual string Ref__ { get; set; }
Property Value
Type Description
string

RepoType

See RepoType below.

Declaration
[JsonProperty("repoType")]
public virtual string RepoType { get; set; }
Property Value
Type Description
string

Repository

The connected repository resource name, in the format projects/*/locations/*/connections/*/repositories/*. Either uri or repository can be specified and is required.

Declaration
[JsonProperty("repository")]
public virtual string Repository { get; set; }
Property Value
Type Description
string

Uri

The URI of the repo (e.g. https://github.com/user/repo.git). Either uri or repository can be specified and is required.

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX