Class Repo
A repository (or repo) is a Git repository storing versioned source content.
Implements
Inherited Members
Namespace: Google.Apis.CloudSourceRepositories.v1.Data
Assembly: Google.Apis.CloudSourceRepositories.v1.dll
Syntax
public class Repo : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MirrorConfig
How this repository mirrors a repository managed by another service. Read-only field.
Declaration
[JsonProperty("mirrorConfig")]
public virtual MirrorConfig MirrorConfig { get; set; }
Property Value
Type | Description |
---|---|
MirrorConfig |
Name
Resource name of the repository, of the form projects//repos/
. The repo name may contain slashes. eg,
projects/myproject/repos/name/with/slash
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PubsubConfigs
How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.
Declaration
[JsonProperty("pubsubConfigs")]
public virtual IDictionary<string, PubsubConfig> PubsubConfigs { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, PubsubConfig> |
Size
The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.
Declaration
[JsonProperty("size")]
public virtual long? Size { get; set; }
Property Value
Type | Description |
---|---|
long? |
Url
URL to clone the repository from Google Cloud Source Repositories. Read-only field.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type | Description |
---|---|
string |