Show / Hide Table of Contents

Class Repo

A repository (or repo) is a Git repository storing versioned source content.

Inheritance
object
Repo
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.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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX