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

NameTypeJSON nameDescription
AnnotationsModels.Delivery.GitRepository_annotations?annotationsAt most 256 KiB in all; never policy input.
AutoBuildRepositorystring?autoBuildRepositoryOptional target registryRepository ID in the same location to trigger an automatic build on push to defaultBranch.
BackupBundleCountint?backupBundleCountCount of nightly `git bundle` backups verified in object storage (W108).
CloneUrlstring?cloneUrlHTTPS Git smart-HTTP clone and push URL.
CreateTimeDateTimeOffset?createTimeThe createTime property
DefaultBranchstring?defaultBranchDefault branch name (default main).
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DeployTargetIdsList<string>?deployTargetIdsApp or WebApp target IDs configured for push-to-deploy on defaultBranch pushes (W108).
Descriptionstring?descriptionHuman-readable description.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
HeadCommitShastring?headCommitShaMost recent commit SHA pushed to defaultBranch.
LabelsModels.Delivery.GitRepository_labels?labelsAt most 64.
LastBackupTimeDateTimeOffset?lastBackupTimeTimestamp of the most recent verified nightly `git bundle` backup (W108).
MirrorIntervalMinutesint?mirrorIntervalMinutesPull-mirror polling interval in minutes (15..1440; W108).
MirrorLastSyncTimeDateTimeOffset?mirrorLastSyncTimeTimestamp of the most recent pull-mirror synchronization (W108).
MirrorSourceUrlstring?mirrorSourceUrlOptional upstream Git repository URL to pull-mirror periodically (W108).
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
ProtectedBranchesList<string>?protectedBranchesBranch names requiring protected fast-forward enforcement (W108).
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
SizeByteslong?sizeBytesTotal stored packfile/tree size in bytes.
StateModels.Delivery.GitRepositoryState?stateHosted Git repository lifecycle states (ADR-0703, ADR-0717).
SuspendReasonstring?suspendReasonWhy the repository is paused (for example spend-cap), if paused.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
Visibilitystring?visibilityRepository visibility: PRIVATE (default) | PUBLIC.
WebhookDisabledbool?webhookDisabledTrue when inbound webhook processing was auto-disabled after repeated verification failures; `:enableWebhook` re-enables it (C-112).
WebhookPathstring?webhookPathPath 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.
WebhookSecretstring?webhookSecretAlways empty in get and list (S10-12). The per-repository webhook secret is returned only by `:revealWebhookSecret` (x-secret-output).