SDK reference / Models / Network

Api

Kind: class

Namespace: Egulu.Sdk.Models.Network

An API (founder, 22 Nov 2026; proposed ADR-0699): a managed front door for an HTTP API on the platform's edge, with hosts and a base path, versions(in the path or in the api-version header), keys sent in one place the API chooses, a default way to authenticate, backends and operations. The edgechooses the most specific operation of a request (literal segments before parameters), checks the key or the token, applies the consumer's plan andthe operation's transforms and forwards to the backend. It is carried out by the edge router's own configuration, generated from this resource,checked, applied as a whole and kept as last-known-good: a configuration that fails a check never replaces the one that serves, and stateDetailssays what was refused. Metered per million requests (api-gateway-requests).

Properties

NameTypeJSON nameDescription
AnnotationsModels.Network.Api_annotations?annotationsAt most 256 KiB in all; never policy input.
Authstring?authThe default way to authenticate: NONE, KEY (default), JWT or KEY_AND_JWT.
BackendHealthModels.Network.ApiBackendHealth?backendHealthHow many backends the platform reaches (resolved to an address).
BackendsList<Models.Network.ApiBackend>?backendsThe backends, at most 20.
BasePathstring?basePathThe base path: `/` (default) or a path without parameters and without a trailing slash (`/pets-api`).
ConfigHashstring?configHashSHA-256 of the configuration the edge router serves now.
ConfigVersionlong?configVersionVersion of the configuration the edge router serves now (the API's generation it was rendered from).
CreateTimeDateTimeOffset?createTimeThe createTime property
DefaultBackendstring?defaultBackendThe backend an operation uses when it names none.
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
HostsList<string>?hostsThe host names it is served on, 1 to 10: lower-case, at least two labels, no wildcard. Each must be a platform name of the project or at or under a verified custom domain of the project.
JwksFetchTimestring?jwksFetchTimeWhen the platform last fetched the issuer's keys (RFC 3339, UTC).
JwksKeyCountint?jwksKeyCountHow many keys of the issuer the platform holds for token validation.
KeyInstring?keyInHEADER (default) or QUERY: where a consumer sends its key. A key is sent in one place, never both.
KeyNamestring?keyNameThe header's or the query parameter's name; `x-api-key` or `api_key` when omitted.
LabelsModels.Network.Api_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
OperationsList<Models.Network.ApiOperation>?operationsThe operations, at most 200.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhat is not carried yet, or what the edge refused, when something is not.
TokenValidationModels.Network.ApiTokenValidation?tokenValidationHow tokens are checked. Needed when the API or an operation takes JWT or KEY_AND_JWT.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
VersionSchemestring?versionSchemeNONE (default), PATH (the version follows the base path) or HEADER (the `api-version` header).
VersionsList<string>?versionsThe versions, at most 20; at least one with PATH or HEADER, none with NONE.