SDK reference / Models / Delivery
GitRepository
Kind: class
Namespace: Egulu.Sdk.Models.Delivery
A hosted Git repository with authenticated push-to-build webhooks (W97, W35b; ADR-0703, ADR-0717).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Delivery.GitRepository_annotations? | annotations | At most 256 KiB in all; never policy input. |
AutoBuildRepository | string? | autoBuildRepository | Optional target registryRepository ID in the same location to trigger an automatic build on push to defaultBranch. |
BackupBundleCount | int? | backupBundleCount | Count of nightly `git bundle` backups verified in object storage (W108). |
CloneUrl | string? | cloneUrl | HTTPS Git smart-HTTP clone and push URL. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DefaultBranch | string? | defaultBranch | Default branch name (default main). |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DeployTargetIds | List<string>? | deployTargetIds | App or WebApp target IDs configured for push-to-deploy on defaultBranch pushes (W108). |
Description | string? | description | Human-readable description. |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
HeadCommitSha | string? | headCommitSha | Most recent commit SHA pushed to defaultBranch. |
Labels | Models.Delivery.GitRepository_labels? | labels | At most 64. |
LastBackupTime | DateTimeOffset? | lastBackupTime | Timestamp of the most recent verified nightly `git bundle` backup (W108). |
MirrorIntervalMinutes | int? | mirrorIntervalMinutes | Pull-mirror polling interval in minutes (15..1440; W108). |
MirrorLastSyncTime | DateTimeOffset? | mirrorLastSyncTime | Timestamp of the most recent pull-mirror synchronization (W108). |
MirrorSourceUrl | string? | mirrorSourceUrl | Optional upstream Git repository URL to pull-mirror periodically (W108). |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
ProtectedBranches | List<string>? | protectedBranches | Branch names requiring protected fast-forward enforcement (W108). |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
SizeBytes | long? | sizeBytes | Total stored packfile/tree size in bytes. |
State | Models.Delivery.GitRepositoryState? | state | Hosted Git repository lifecycle states (ADR-0703, ADR-0717). |
SuspendReason | string? | suspendReason | Why the repository is paused (for example spend-cap), if paused. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
Visibility | string? | visibility | Repository visibility: PRIVATE (default) | PUBLIC. |
WebhookDisabled | bool? | webhookDisabled | True when inbound webhook processing was auto-disabled after repeated verification failures; `:enableWebhook` re-enables it (C-112). |
WebhookPath | string? | webhookPath | Path of the public webhook receiver to configure at the Git provider, for example `/hooks/git/{hookId}` (C-112). It addresses the repository by an unguessable hook ID and carries no secret; the provider's signature is the credential. |
WebhookSecret | string? | webhookSecret | Always empty in get and list (S10-12). The per-repository webhook secret is returned only by `:revealWebhookSecret` (x-secret-output). |