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
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Network.Api_annotations? | annotations | At most 256 KiB in all; never policy input. |
Auth | string? | auth | The default way to authenticate: NONE, KEY (default), JWT or KEY_AND_JWT. |
BackendHealth | Models.Network.ApiBackendHealth? | backendHealth | How many backends the platform reaches (resolved to an address). |
Backends | List<Models.Network.ApiBackend>? | backends | The backends, at most 20. |
BasePath | string? | basePath | The base path: `/` (default) or a path without parameters and without a trailing slash (`/pets-api`). |
ConfigHash | string? | configHash | SHA-256 of the configuration the edge router serves now. |
ConfigVersion | long? | configVersion | Version of the configuration the edge router serves now (the API's generation it was rendered from). |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DefaultBackend | string? | defaultBackend | The backend an operation uses when it names none. |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Hosts | List<string>? | hosts | The 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. |
JwksFetchTime | string? | jwksFetchTime | When the platform last fetched the issuer's keys (RFC 3339, UTC). |
JwksKeyCount | int? | jwksKeyCount | How many keys of the issuer the platform holds for token validation. |
KeyIn | string? | keyIn | HEADER (default) or QUERY: where a consumer sends its key. A key is sent in one place, never both. |
KeyName | string? | keyName | The header's or the query parameter's name; `x-api-key` or `api_key` when omitted. |
Labels | Models.Network.Api_labels? | labels | At most 64. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
Operations | List<Models.Network.ApiOperation>? | operations | The operations, at most 200. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
State | Models.Network.NetworkState? | state | Current lifecycle state. |
StateDetails | string? | stateDetails | What is not carried yet, or what the edge refused, when something is not. |
TokenValidation | Models.Network.ApiTokenValidation? | tokenValidation | How tokens are checked. Needed when the API or an operation takes JWT or KEY_AND_JWT. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
VersionScheme | string? | versionScheme | NONE (default), PATH (the version follows the base path) or HEADER (the `api-version` header). |
Versions | List<string>? | versions | The versions, at most 20; at least one with PATH or HEADER, none with NONE. |