Class Codebase
The connection to an external source repository to watch for event-driven updates to the backend.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseAppHosting.v1.Data
Assembly: Google.Apis.FirebaseAppHosting.v1.dll
Syntax
public class Codebase : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Repository
Required. The resource name for the Developer Connect
gitRepositoryLink
connected to this backend, in the format:
projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink} The
connection for the gitRepositoryLink must made be using the Firebase App Hosting GitHub App via the
Firebase Console.
Declaration
[JsonProperty("repository")]
public virtual string Repository { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RootDirectory
Optional. If repository is provided, the directory relative to the root of the repository to use as the
root for the deployed web app. Defaults to use the root of the repository if not provided. If deploying a
monorepo, this should be the directory that
contains the package.json or apphosting.yaml file.
Declaration
[JsonProperty("rootDirectory")]
public virtual string RootDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |