Cloud Build v1 API - Class ConnectedRepository (2.18.0)

public sealed class ConnectedRepository : IMessage<ConnectedRepository>, IEquatable<ConnectedRepository>, IDeepCloneable<ConnectedRepository>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v1 API class ConnectedRepository.

Location of the source in a 2nd-gen Google Cloud Build repository resource.

Inheritance

object > ConnectedRepository

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

ConnectedRepository()

public ConnectedRepository()

ConnectedRepository(ConnectedRepository)

public ConnectedRepository(ConnectedRepository other)
Parameter
Name Description
other ConnectedRepository

Properties

Dir

public string Dir { get; set; }

Optional. Directory, relative to the source root, in which to run the build.

Property Value
Type Description
string

Repository

public string Repository { get; set; }

Required. Name of the Google Cloud Build repository, formatted as projects/*/locations/*/connections/*/repositories/*.

Property Value
Type Description
string

RepositoryAsRepositoryName

public RepositoryName RepositoryAsRepositoryName { get; set; }

RepositoryName-typed view over the Repository resource name property.

Property Value
Type Description
RepositoryName

Revision

public string Revision { get; set; }

Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.

Property Value
Type Description
string