CalendarModeAdviceRequest
A request to recommend the best way to consume the specified resources in the future.
Properties
| Name | Type | Description |
|---|---|---|
| futureResourcesSpecs | object | Specification of resources to create in the future. The key of the map is an arbitrary string specified by the caller. Value of the map is a specification of required resources and their constraints. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-calendar-mode-advice-request-schema.json",
"title": "CalendarModeAdviceRequest",
"description": "A request to recommend the best way to consume the specified resources in the\nfuture.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-compute-engine-advice-api-openapi.yml#/components/schemas/CalendarModeAdviceRequest",
"properties": {
"futureResourcesSpecs": {
"description": "Specification of resources to create in the future.\nThe key of the map is an arbitrary string specified by the caller.\nValue of the map is a specification of required resources and their\nconstraints. Currently only one value is allowed in this map.",
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/FutureResourcesSpec"
}
}
},
"type": "object",
"$defs": {
"FlexibleTimeRange": {
"description": "Specifies a flexible time range with flexible start time and duration.\n\nIt is possible to specify a contradictory time range that cannot be matched\nby any Interval. This causes a validation error.",
"type": "object",
"properties": {
"maxDuration": {
"format": "google-duration",
"type": "string"
},
"startTimeNotLaterThan": {
"type": "string",
"format": "google-datetime"
},
"startTimeNotEarlierThan": {
"type": "string",
"format": "google-datetime"
},
"minDuration": {
"type": "string",
"format": "google-duration"
}
}
},
"FutureResourcesSpec": {
"properties": {
"timeRangeSpec": {
"$ref": "#/$defs/FlexibleTimeRange",
"description": "Specification of a time range in which the resources may be created.\nThe time range specifies start of resource use and planned end of resource\nuse."
},
"targetResources": {
"$ref": "#/$defs/FutureResourcesSpecTargetResources",
"description": "Specification of the reserved resources."
},
"locationPolicy": {
"$ref": "#/$defs/FutureResourcesSpecLocationPolicy",
"description": "Optional location policy allowing to exclude some zone(s) in which\nthe resources must not be created."
},
"deploymentType": {
"description": "Indicates if the reservation allocation strategy is static (DENSE) or\ndynamic (STANDARD). Defaults to DENSE.",
"type": "string",
"enum": [
"DENSE",
"DEPLOYMENT_TYPE_UNSPECIFIED"
]
}
},
"type": "object",
"description": "Specification of resources to be created at some time in the future within an\noptionally specified set of locations, and within the specified time range."
},
"FutureResourcesSpecAggregateResources": {
"properties": {
"vmFamily": {
"type": "string",
"description": "The VM family that all instances scheduled against this reservation\nmust belong to. Use for TPU reservations.",
"enum": [
"VM_FAMILY_CLOUD_TPU_DEVICE_CT3",
"VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L",
"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP",
"VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E",
"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P",
"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P",
"VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P",
"VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X"
]
},
"workloadType": {
"enum": [
"BATCH",
"SERVING",
"UNSPECIFIED"
],
"description": "Workload type. Use for TPU reservations.",
"type": "string"
},
"acceleratorCount": {
"format": "int64",
"description": "Size of the request, in accelerator (chip) count.",
"type": "string"
}
},
"type": "object"
},
"FutureResourcesSpecLocalSsdPartition": {
"properties": {
"diskInterface": {
"type": "string",
"description": "Disk interface. Defaults to SCSI.",
"enum": [
"NVME",
"SCSI"
]
},
"diskSizeGb": {
"description": "The size of the disk in GB.",
"type": "string",
"format": "int64"
}
},
"type": "object"
},
"FutureResourcesSpecLocationPolicy": {
"properties": {
"locations": {
"additionalProperties": {
"$ref": "#/$defs/FutureResourcesSpecLocationPolicyLocation"
},
"type": "object",
"description": "Preferences for specified locations.\nKeys of the map are locations - zones, in format of 'zones/'.\nValues are preferences for the zones.\nIf a zone is not specified in this map, it is ALLOWed."
}
},
"description": "Specification of locations to create resources in.",
"type": "object"
},
"FutureResourcesSpecLocationPolicyLocation": {
"description": "Preference for a single specified location.",
"properties": {
"preference": {
"enum": [
"ALLOW",
"DENY",
"PREFERENCE_UNSPECIFIED"
],
"description": "Preference for this location.",
"type": "string"
}
},
"type": "object"
},
"FutureResourcesSpecSpecificSKUResources": {
"properties": {
"localSsdPartitions": {
"description": "Local SSD partitions. You do not have to include SSD partitions that\nare built in the machine type.",
"type": "array",
"items": {
"$ref": "#/$defs/FutureResourcesSpecLocalSsdPartition"
}
},
"machineType": {
"description": "The machine type to use for instances that will use the reservation.\nThis field only accepts machine type names. e.g. n2-standard-4\nand does not accept machine type full or partial url. e.g.\nprojects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4.\nUse for GPU reservations.",
"type": "string"
},
"instanceCount": {
"format": "int64",
"description": "Size of the request, in instance count.",
"type": "string"
}
},
"type": "object"
},
"FutureResourcesSpecTargetResources": {
"description": "Specification of reserved resources.",
"type": "object",
"properties": {
"specificSkuResources": {
"$ref": "#/$defs/FutureResourcesSpecSpecificSKUResources"
},
"aggregateResources": {
"$ref": "#/$defs/FutureResourcesSpecAggregateResources"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/google-cloud-compute-engine-calendar-mode-advice-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.