API schemas: F
FeaturePlanDefinition
Section titled “FeaturePlanDefinition”Type: object
id(string, required, pattern^[a-z][a-z0-9_]{0,63}$)group(string, required)description(string, required)scope(string, required, one of"tenant","operator")enforcement(string, required, one of"inference","public_resource","model_policy","scoped_read","operator") — key_metadata_tags and scheduled_key_rotation are tenant/public_resource rights; key_policies and key_expiry_warnings are operator controls. A flag never grants RBAC or a selected team right.enterprise(boolean, required) — Vendor build classification; false in the shipped empty commercial cataloglicense_available(boolean, required) — Availability for new classified grants; never authorizes an identity or blocks established inference on expiry
FederatedMFACatalog
Section titled “FederatedMFACatalog”Type: object
version(integer (int64), required, min 0)base_fingerprint(string, required, pattern^[0-9a-f]{64}$)stored_base_fingerprint(string, required)base_mismatch(boolean, required)source(string, required, one of"default","yaml","console")declared(FederatedMFAPolicies, required)effective(FederatedMFAPolicies, required)override(FederatedMFAPolicies or null, required)- Any of (1): FederatedMFAPolicies
- Any of (2): null
epochs(object, required)- any other key: integer (int64)
providers(array of object, required, max items 10)id(string, required, min length 1, max length 64, pattern^[a-z][a-z0-9_-]{0,63}$) — Existing named OIDC ID, oidc for the legacy singleton, or saml. No new trust is created.label(string, required)protocol(string, required, one of"oidc","saml")
limits(object, required)max_policies(10, required)max_contexts(16, required)max_methods(16, required)max_value_bytes(256, required)max_auth_age_seconds(86400, required)
defaults(object, required)policies(array of any, required, max items 0)oidc_context_claim("acr", required)max_auth_age_seconds(null, required)clock_skew_seconds(30, required)
enabled(boolean, required) — Effective federated_mfa operator switch, default false. Configured requirements fail closed when it is false.access(object, required)write(boolean, required)
restart_required(false, required)
FederatedMFAGuard
Section titled “FederatedMFAGuard”Type: object
version(integer (int64), required, min 0)expected_base_fingerprint(string, required, pattern^[0-9a-f]{64}$)
FederatedMFAOIDC
Section titled “FederatedMFAOIDC”Type: object
context_claim(string, required, one of"acr","acrs", default"acr")allowed_acr(array of FederatedMFAValue, required, max items 16) — Any exact allowed signed context. For acrs, a Microsoft context needs a separately enforced Conditional Access MFA policy; the claim alone does not prove factor strength.required_amr(array of FederatedMFAValue, required, max items 16) — Every configured method must appear in signed amr. Configured context and method requirements combine with AND. Freshness alone is not assurance.max_auth_age_seconds(integer or null, required, defaultnull, min 0, max 86400) — Checked only at callback against signed auth_time/AuthnInstant plus documented 30-second skew, not local session TTL. null omits freshness; zero requests fresh authentication.
FederatedMFAPolicies
Section titled “FederatedMFAPolicies”Type: array of FederatedMFAPolicy, max items 10
At most one requirement per configured provider; empty means no configured requirements, never a role grant.
FederatedMFAPolicy
Section titled “FederatedMFAPolicy”Type: object or object
- One of (1): object
provider_id(string, required, min length 1, max length 64, pattern^[a-z][a-z0-9_-]{0,63}$) — Existing named OIDC ID, oidc for the legacy singleton, or saml. No new trust is created.oidc(FederatedMFAOIDC, required)
- One of (2): object
provider_id(string, required, min length 1, max length 64, pattern^[a-z][a-z0-9_-]{0,63}$) — Existing named OIDC ID, oidc for the legacy singleton, or saml. No new trust is created.saml(FederatedMFASAML, required)
FederatedMFASAML
Section titled “FederatedMFASAML”Type: object
allowed_authn_contexts(array of FederatedMFAValue, required, min items 1, max items 16) — Any exact class reference in the single selected signed AuthnStatement/AuthnContext. No inferred strength ordering.max_auth_age_seconds(integer or null, required, defaultnull, min 0, max 86400) — Checked only at callback against signed auth_time/AuthnInstant plus documented 30-second skew, not local session TTL. null omits freshness; zero requests fresh authentication.
FederatedMFAValue
Section titled “FederatedMFAValue”Type: string, min length 1, max length 256
FederatedMFAWrite
Section titled “FederatedMFAWrite”Type: object
version(integer (int64), required, min 0)expected_base_fingerprint(string, required, pattern^[0-9a-f]{64}$)federated_mfa(FederatedMFAPolicies, required)
FileDefaults
Section titled “FileDefaults”Type: object
models[].file_defaults (T199), applied while the gemini_file_defaults flag is on: the slice and resolution a file part gets on a Gemini target when the request names none, on GenerateContent, the translated Chat Completions and Responses routes (gemini_file_inputs) and the Interactions API (gemini_interactions). A value the request names always wins. The answer carries X-Gateway-File-Defaults: applied when a part was changed. Validated whatever the flag says; at least one member is required; not allowed on an auto route or an alias_of entry.
resolution(string, one of"low","medium","high") — Media resolution of documents, spreadsheets, images and video that name none. On Gemini 3 and later a page or image costs about 280, 560 or 1,120 tokens. Not applied to a GenerateContent request that sets generationConfig.mediaResolution.start_page(integer, min 1, max 2000) — First page (1-indexed, inclusive) of a document that names no page range.end_page(integer, min 1, max 2000) — Last page (inclusive) of a document that names no page range; not before start_page. The provider clamps it to the document’s last page.document_layers(array of string, max items 2) — Content layers of a document that names no slice. The provider’s default for a sliced document is page_image.sheet_index(integer, min 1, max 10000) — Sheet (1-indexed, in tab order) of a spreadsheet that names no slice.visible_cells(string, pattern^[A-Za-z]{1,3}[1-9][0-9]{0,6}(:[A-Za-z]{1,3}[1-9][0-9]{0,6})?$) — A1-style cell or range (A1:G40) of a spreadsheet that names no slice.spreadsheet_layers(array of string, max items 3) — Content layers of a spreadsheet that names no slice.
FileInputsSettings
Section titled “FileInputsSettings”Type: object
The file_inputs.* settings (T199), effective, under the YAML block’s name and leaf names. Read on every request; a change is a configuration rollout.
reference_prefixes(array of string, required, max items 64) — file_inputs.reference_prefixes: the references a caller may name as a file a Gemini target reads itself. A gs://bucket/ or gs://bucket/path/ prefix ending in /, read with the gateway’s own credentials, or a Files API prefix (https://generativelanguage.googleapis.com/v1beta/files/ or …/v1/files/; either one allows both spellings). Empty (the default) means none: files are sent inline.page_tokens(integer, required, default560, min 64, max 8192) — file_inputs.page_tokens: the input tokens a budget or token ceiling reserves per page of an inline PDF with a closed page range that names the page_image layer alone, at medium resolution; low resolution reserves half and high twice. The charge settles on the usage the answer reports.
FractionParameterDefinition
Section titled “FractionParameterDefinition”Type: object
key("runtime.memory_limit_share", required)group("runtime", required)kind("fraction", required)default("0.9", required)minimum("0", required)minimum_exclusive(true, required)maximum("1", required)sources(array of string, required, min items 2, max items 2)restart_required(true, required)
FXBudgetConversion
Section titled “FXBudgetConversion”Type: object
id(integer (int64), required)policy_id(string, required)budget_usd(string, required)entered_amount(string, required)entered_currency(string, required)per_usd(string, required)rate_date(string (date), required)source(string, required)quota_version(integer (int64), required)actor(string, required)created_at(string (date-time), required)
FXDisplay
Section titled “FXDisplay”Type: object
How amounts are displayed (T168 fx_display). Only status ok converts; stale and missing keep USD with a notice.
currency(string, required)status(string, required, one of"usd","ok","stale","missing")per_usd(string)rate_date(string (date))source(string)notice(string)chosen(string, required)from(string, required, one of"user","organization","gateway")
FXStatus
Section titled “FXStatus”Type: object
The display currency state (T168 fx_display). default_display_currency, refresh_interval and stale_after echo the fx.* settings under their YAML names, the effective values with the bounded defaults filled in; they are read at boot and change with a configuration rollout.
default_display_currency(string, required) — Gateway default display currency (fx.default_display_currency); USD when unset.refresh_interval(string, required) — How often each replica fetches the ECB daily rates (fx.refresh_interval), effective, as a Go duration such as 6h0m0s.stale_after(string, required) — How old the latest rate date may be before amounts show USD with a notice (fx.stale_after), effective, as a Go duration such as 96h0m0s.user_currency(string)organization_currency(string)organization_id(string)display(FXDisplay, required)rates(object or null)source(string)rate_date(string (date))fetched_at(string (date-time))per_usd(object)- any other key: string
currencies(array of string, required, max items 64)ledger_currency(string, required, one of"USD")