Cloud Build v2 API - Class Repository (1.3.0)

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

Reference documentation and code samples for the Cloud Build v2 API class Repository.

A repository associated to a parent connection.

Inheritance

object > Repository

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

Repository()

public Repository()

Repository(Repository)

public Repository(Repository other)
Parameter
NameDescription
otherRepository

Properties

Annotations

public MapField<string, string> Annotations { get; }

Allows clients to store small amounts of arbitrary data.

Property Value
TypeDescription
MapFieldstringstring

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Server assigned timestamp for when the connection was created.

Property Value
TypeDescription
Timestamp

Etag

public string Etag { get; set; }

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Immutable. Resource name of the repository, in the format projects/*/locations/*/connections/*/repositories/*.

Property Value
TypeDescription
string

RemoteUri

public string RemoteUri { get; set; }

Required. Git Clone HTTPS URI.

Property Value
TypeDescription
string

RepositoryName

public RepositoryName RepositoryName { get; set; }

RepositoryName-typed view over the Name resource name property.

Property Value
TypeDescription
RepositoryName

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Server assigned timestamp for when the connection was updated.

Property Value
TypeDescription
Timestamp

WebhookId

public string WebhookId { get; set; }

Output only. External ID of the webhook created for the repository.

Property Value
TypeDescription
string