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.
Implements
IMessageRepository, IEquatableRepository, IDeepCloneableRepository, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Constructors
Repository()
public Repository()
Repository(Repository)
public Repository(Repository other)
Parameter | |
---|---|
Name | Description |
other | Repository |
Properties
Annotations
public MapField<string, string> Annotations { get; }
Allows clients to store small amounts of arbitrary data.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Server assigned timestamp for when the connection was created.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
Property Value | |
---|---|
Type | Description |
string |
RemoteUri
public string RemoteUri { get; set; }
Required. Git Clone HTTPS URI.
Property Value | |
---|---|
Type | Description |
string |
RepositoryName
public RepositoryName RepositoryName { get; set; }
RepositoryName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
RepositoryName |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Server assigned timestamp for when the connection was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
WebhookId
public string WebhookId { get; set; }
Output only. External ID of the webhook created for the repository.
Property Value | |
---|---|
Type | Description |
string |