SDK reference / Models / Delivery

EnvironmentObject

Kind: class

Namespace: Egulu.Sdk.Models.Delivery

A deployment environment with its protection rules: who must approve, how long a deployment waits, and which refs may deploy (W36; ADR-0701, ADR-0208).

Properties

NameTypeJSON nameDescription
AllowedRefsList<string>?allowedRefsGit refs that may deploy to this environment; empty means any ref.
AnnotationsModels.Delivery.Environment_annotations?annotationsAt most 256 KiB in all; never policy input.
AppsList<string>?appsThe apps that deploy to this environment.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
Descriptionstring?descriptionHuman-readable description.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
Generationlong?generationThe generation of the spec; it rises with every change.
IsProductionbool?isProductionWhether this is a production environment. Set at creation.
LabelsModels.Delivery.Environment_labels?labelsAt most 64.
Locationstring?locationThe location the environment lives in.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
ObservedGenerationlong?observedGenerationThe generation the platform last acted on.
OverlayModels.Delivery.EnvironmentOverlay?overlayVariables and secret references laid over each app's own.
ProtectionEnforcementstring?protectionEnforcementWhere the protection rules are enforced: `release-promotion` (W98 part 3; it was `admission-check-only` before): allowedRefs,requiredChecks, waitTimerSeconds and requiredApprovers (an ADR-0102 plan with passkey approvals) apply when a release is promoted intothe environment and again before its deploy. Other deploy paths (an app's own deployRevision, previews) do not read them.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
RequiredApproversint?requiredApproversApprovals a deployment needs before it starts: 0 to 2.
RequiredChecksList<string>?requiredChecksChecks that must have passed on the commit. Set at creation.
StateModels.Delivery.EnvironmentState?stateLifecycle states of an environment.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
WaitTimerSecondsint?waitTimerSecondsSeconds a deployment waits before it starts; 0 or more.