- Resource: Reservation
- JSON representation
- SpecificSKUReservation
- ReservedInstanceProperties
- ReservedDisk
- DiskInterface
- AggregateReservation
- VMFamily
- ReservedResourceInfo
- Accelerator
- WorkloadType
- Status
- ResourceStatus
- SpecificSKUAllocation
- HealthInfo
- HealthStatus
- ReservationSharingPolicy
- ServiceShareType
- DeploymentType
- AdvancedDeploymentControl
- ReservationOperationalMode
- ProtectionTier
- ReservationParams
- EarlyAccessMaintenance
- Methods
Resource: Reservation
Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.
| JSON representation |
|---|
{ "kind": string, "id": string, "creationTimestamp": string, "selfLink": string, "zone": string, "description": string, "name": string, "commitment": string, "linkedCommitments": [ string ], "specificReservationRequired": boolean, "status": enum ( |
| Fields | |
|---|---|
kind |
Output only. Output only. Type of the resource. Always
for reservations. |
id |
Output only. Output only. The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
Output only. Output only. Creation timestamp in RFC3339 text format. |
selfLink |
Output only. Output only. Server-defined fully-qualified URL for this resource. |
zone |
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment. |
description |
An optional description of this resource. Provide this property when you create the resource. |
name |
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
commitment |
Output only. Output only. Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. |
linkedCommitments[] |
Output only. Output only. Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments. |
specificReservationRequired |
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation. |
status |
Output only. Output only. The status of the reservation.
|
shareSettings |
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation. Available from 2026-03-01.. |
satisfiesPzs |
Output only. Output only. Reserved for future use. Available from 2026-03-01.. |
resourcePolicies |
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation. Available from 2026-03-01.. |
resourceStatus |
Output only. Output only. Status information for Reservation resource. Available from 2026-03-01.. |
reservationSharingPolicy |
Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Cloud de Confiance managed services. Available from 2026-03-01.. |
deploymentType |
Specifies the deployment strategy for this reservation. |
advancedDeploymentControl |
Advanced control for cluster management, applicable only to DENSE deployment type reservations. |
enableEmergentMaintenance |
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors. |
protectionTier |
Protection tier for the workload which specifies the workload expectations in the event of infrastructure failures at data center (e.g. power and/or cooling failures). |
schedulingType |
The type of maintenance for the reservation. |
params |
Input only. Additional params passed with the request, but not persisted as part of resource payload. |
earlyAccessMaintenance |
Indicates the early access maintenance for the reservation. If this field is absent or set to NO_EARLY_ACCESS, the reservation is not enrolled in early access maintenance and the standard notice applies. |
Union field
|
|
specificReservation |
Reservation for instances with specific machine shapes. |
aggregateReservation |
Reservation for aggregated resources, providing shape flexibility. Available from 2026-03-01.. |
Union field
|
|
deleteAtTime |
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format. |
deleteAfterDuration |
Duration time relative to reservation creation when Compute Engine will automatically delete this resource. |
SpecificSKUReservation
This reservation type allows to pre allocate specific instance configuration.
| JSON representation |
|---|
{
"instanceProperties": {
object ( |
| Fields | |
|---|---|
instanceProperties |
The instance properties for the reservation. |
count |
Specifies the number of resources that are allocated. |
inUseCount |
Output only. Output only. Indicates how many instances are in use. |
assuredCount |
Output only. Output only. Indicates how many instances are actually usable currently. |
sourceInstanceTemplate |
Specifies the instance template to create the reservation. If you use this field, you must exclude the
field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template:
Available from 2026-03-01.. |
ReservedInstanceProperties
Properties of the SKU instances being reserved. Next ID: 10
| JSON representation |
|---|
{ "machineType": string, "guestAccelerators": [ { object ( |
| Fields | |
|---|---|
machineType |
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. |
guestAccelerators[] |
Specifies accelerator type and count. |
minCpuPlatform |
Minimum cpu platform the reservation. |
localSsds[] |
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd. |
locationHint |
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API. Available from 2026-03-01.. |
ReservedDisk
| JSON representation |
|---|
{
"diskSizeGb": string,
"interface": enum ( |
| Fields | |
|---|---|
diskSizeGb |
Specifies the size of the disk in base-2 GB. |
interface |
Specifies the disk interface to use for attaching this disk, which is either
or
. The default is
. For performance characteristics of SCSI over NVMe, see Local SSD performance. |
DiskInterface
| Enums | |
|---|---|
SCSI |
|
NVME |
|
AggregateReservation
This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.
| JSON representation |
|---|
{ "vmFamily": enum ( |
| Fields | |
|---|---|
vmFamily |
The VM family that all instances scheduled against this reservation must belong to. Available from 2026-03-01.. |
reservedResources[] |
reservations.list of reserved resources (CPUs, memory, accelerators). Available from 2026-03-01.. |
inUseResources[] |
Output only. Output only. reservations.list of resources currently in use. Available from 2026-03-01.. |
workloadType |
The workload type of the instances that will target this reservation. Available from 2026-03-01.. |
VMFamily
reservations.list of compute machine families and series for use with aggregate reservations. LINT.IfChange
| Enums | |
|---|---|
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_DEVICE_CT3 |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P |
Available from 2026-03-01.. |
VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X |
Available from 2026-03-01.. |
ReservedResourceInfo
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field
|
|
accelerator |
Properties of accelerator resources in this reservation. Available from 2026-03-01.. |
Accelerator
| JSON representation |
|---|
{ "acceleratorCount": integer, "acceleratorType": string } |
| Fields | |
|---|---|
acceleratorCount |
Number of accelerators of specified type. Available from 2026-03-01.. |
acceleratorType |
Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l" Available from 2026-03-01.. |
WorkloadType
| Enums | |
|---|---|
UNSPECIFIED |
|
SERVING |
Reserved resources will be optimized for SERVING workloads, such as ML inference. |
BATCH |
Reserved resources will be optimized for BATCH workloads, such as ML training. |
Status
| Enums | |
|---|---|
INVALID |
|
CREATING |
Reservation resources are being allocated. |
READY |
Reservation resources have been allocated, and the reservation is ready for use. |
DELETING |
Reservation deletion is in progress. |
UPDATING |
Reservation update is in progress. |
ResourceStatus
Output only. Contains output only fields.
| JSON representation |
|---|
{ "specificSkuAllocation": { object ( |
| Fields | |
|---|---|
specificSkuAllocation |
Allocation Properties of this reservation. Available from 2026-03-01.. |
reservationMaintenance |
Maintenance information for this reservation |
reservationBlockCount |
The number of reservation blocks associated with this reservation. |
healthInfo |
Output only. Health information for the reservation. |
SpecificSKUAllocation
Contains Properties set for the reservation.
| JSON representation |
|---|
{ "sourceInstanceTemplateId": string, "utilizations": { string: string, ... } } |
| Fields | |
|---|---|
sourceInstanceTemplateId |
ID of the instance template used to populate reservation properties. Available from 2026-03-01.. |
utilizations |
Per service utilization breakdown. The Key is the Cloud de Confiance managed service name. Available from 2026-03-01.. |
HealthInfo
Health information for the reservation.
| JSON representation |
|---|
{
"healthStatus": enum ( |
| Fields | |
|---|---|
healthStatus |
The health status of the reservation. |
healthyBlockCount |
The number of reservation blocks that are healthy. |
degradedBlockCount |
The number of reservation blocks that are degraded. |
HealthStatus
| Enums | |
|---|---|
HEALTH_STATUS_UNSPECIFIED |
The health status of the reservation is unspecified. |
HEALTHY |
The reservation is healthy. |
DEGRADED |
The reservation is degraded. |
ReservationSharingPolicy
| JSON representation |
|---|
{
"serviceShareType": enum ( |
| Fields | |
|---|---|
serviceShareType |
Sharing config for all Cloud de Confiance services. Available from 2026-03-01.. |
DeploymentType
Indicates if the reservation allocation strategy is static or dynamic. Inherited from the future reservation which delivered this reservation.
| Enums | |
|---|---|
DEPLOYMENT_TYPE_UNSPECIFIED |
|
DENSE |
The reserved capacity is made up of densely deployed reservation blocks. |
AdvancedDeploymentControl
Advance control for cluster management, applicable only to DENSE deployment type reservations.
| JSON representation |
|---|
{
"reservationOperationalMode": enum ( |
| Fields | |
|---|---|
reservationOperationalMode |
Indicates chosen reservation operational mode for the reservation. |
ReservationOperationalMode
Defines the reservation operational mode for the reservation. This determines how Cloud de Confiance manages the failure of machines and provides capacity.
| Enums | |
|---|---|
RESERVATION_OPERATIONAL_MODE_UNSPECIFIED |
|
HIGHLY_AVAILABLE_CAPACITY |
Cloud de Confiance manages the failure of machines to provide high availability. |
ALL_CAPACITY |
Cloud de Confiance does not manage the failure of machines, but provides additional capacity, which is not guaranteed to be available. |
ProtectionTier
Protection tier for the workload. LINT.IfChange
| Enums | |
|---|---|
PROTECTION_TIER_UNSPECIFIED |
Unspecified protection tier. |
STANDARD |
STANDARD protection for workload that should be protected by redundancies (e.g. power, cooling) at the data center level. In the event of infrastructure failures at data center (e.g. power and/or cooling failures), this workload is expected to continue as normal using the redundancies. |
CAPACITY_OPTIMIZED |
CAPACITY_OPTIMIZED capacity leverages redundancies (e.g. power, cooling) at the data center during normal operating conditions. In the event of infrastructure failures at data center (e.g. power and/or cooling failures), this workload may be disrupted. As a consequence, it has a weaker availability SLO than STANDARD. |
ReservationParams
Additional reservation params.
| JSON representation |
|---|
{ "resourceManagerTags": { string: string, ... } } |
| Fields | |
|---|---|
resourceManagerTags |
Input only. Resource manager tags to be bound to the reservation. Tag keys and values have the same definition as resource manager tags. Keys and values can be either in numeric format, such as |
EarlyAccessMaintenance
Enum to represent the early access maintenance
| Enums | |
|---|---|
NO_EARLY_ACCESS |
No early access. |
WAVE1 |
Wave 1: Fastest notification period |
WAVE2 |
Wave 2: Medium notification period |
Methods |
|
|---|---|
|
The method compute.v1.AllocationsService.AggregatedList is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.Delete is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.Get is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.GetPolicy is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.Insert is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.List is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.PerformMaintenance is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.Resize is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.SetPolicy is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.TestPermissions is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.AllocationsService.Update is not available in Cloud de Confiance by S3NS. |