Legacy fields

Stay organized with collections Save and categorize content based on your preferences.

This page lists all the legacy fields and fields to be deprecated.

Current and Legacy field names

This section describes legacy field names and lists the assets that have multiple names for the same field.

Legacy field names are not listed in the Discovery document. They are provided to support backward compatibility. We recommend using the current field names listed in the Discovery document whenever possible.

Assets with multiple names for the same field

The following table lists the assets that have multiple names for the same field. All resources are in compute.googleapis.com. These field names are used by BatchGetAssetsHistory, ExportAssets, and ListAssets.

Resource type Current field name (Recommended) Legacy field name
BackendBucket
cdnPolicy.bypassCacheOnRequestHeaders cdnPolicy.bypassCacheOnRequestHeader
cdnPolicy.includeHttpHeaders cdnPolicy.includeHttpHeader
customResponseHeaders customResponseHeader
BackendService
cdnPolicy.bypassCacheOnRequestHeaders cdnPolicy.bypassCacheOnRequestHeader
cdnPolicy.cacheKeyPolicy.includeHttpHeaders cdnPolicy.cacheKeyPolicy.includeHttpHeader
cdnPolicy.cacheKeyPolicy.includeNamedCookies cdnPolicy.cacheKeyPolicy.includeNamedCookie
customResponseHeaders customResponseHeader
securitySettings.clientTlsPolicy securitySettings.authentication
securitySettings.subjectAltNames securitySettings.subjectAltName
RegionBackendService
cdnPolicy.bypassCacheOnRequestHeaders cdnPolicy.bypassCacheOnRequestHeader
cdnPolicy.cacheKeyPolicy.includeHttpHeaders cdnPolicy.cacheKeyPolicy.includeHttpHeader
cdnPolicy.cacheKeyPolicy.includeNamedCookies cdnPolicy.cacheKeyPolicy.includeNamedCookie
customResponseHeaders customResponseHeader
securitySettings.clientTlsPolicy securitySettings.authentication
securitySettings.subjectAltNames securitySettings.subjectAltName
ExternalVpnGateway
interfaces interface
FirewallPolicy
rules.match.srcSecureTags rules.match.srcSecureTag
targetSecureTags targetSecureTag
ForwardingRule
metadataFilters metadataFilter
GlobalAddress
users user
GlobalForwardingRule
metadataFilters metadataFilter
Image
shieldedInstanceInitialState.keks shieldedInstanceInitialState.kek
shieldedInstanceInitialState.dbs shieldedInstanceInitialState.db
shieldedInstanceInitialState.dbxs shieldedInstanceInitialState.dbx
Instance
reservationAffinity allocationAffinity
disks.initializeParams.licenses disks.initializeParams.license
disks.initializeParams.resourcePolicies disks.initializeParams.resourcePolicy
disks.shieldedInstanceInitialState.keks disks.shieldedInstanceInitialState.kek
disks.shieldedInstanceInitialState.dbs disks.shieldedInstanceInitialState.db
disks.shieldedInstanceInitialState.dbxs disks.shieldedInstanceInitialState.dbx
networkInterfaces.ipv6AccessConfigs networkInterfaces.ipv6AccessConfig
InstanceTemplate
properties.reservationAffinity properties.allocationAffinity
properties.disks.initializeParams.licenses properties.disks.initializeParams.license
properties.disks.initializeParams.resourcePolicies properties.disks.initializeParams.resourcePolicy
properties.disks.shieldedInstanceInitialState.keks properties.disks.shieldedInstanceInitialState.kek
properties.disks.shieldedInstanceInitialState.dbs properties.disks.shieldedInstanceInitialState.db
properties.disks.shieldedInstanceInitialState.dbxs properties.disks.shieldedInstanceInitialState.dbx
properties.networkInterfaces properties.networkInterface
properties.resourcePolicies properties.resourcePolicy
Interconnect
circuitInfos circuitInfo
InterconnectAttachment
candidateIpv6Subnets candidateIpv6Subnet
ipsecInternalAddresses ipsecInternalAddress
NodeTemplate
accelerators accelerator
disks disk
PacketMirroring
network mirroredNetwork
filter.cidrRanges filter.cidrRange
filter.ipProtocols filter.ipProtocol
ResourcePolicy
resourceStatus.instanceSchedulePolicy resourceStatus.instanceSchedulePolicyStatus
snapshotSchedulePolicy.snapshotProperties.storageLocations snapshotSchedulePolicy.snapshotProperties.storageLocation
snapshotSchedulePolicy.schedule.weeklySchedule.dayOfWeeks snapshotSchedulePolicy.schedule.weeklySchedule.dayOfWeek
Route
asPaths asPath
Router
nats.drainNatIps nats.drainNatIp
nats.rules nats.rule
SecurityPolicy
rules rule
headerAction.requestHeadersToAdds headerAction.requestHeadersToAdd
match.config.srcIpRanges match.config.srcIpRange
SslPolicy
customFeatures customFeature
enabledFeatures enabledFeature
warnings warning
TargetHttpProxy
serverTlsPolicy authentication
authorizationPolicy authorization
UrlMap
pathMatchers.routeRules.service pathMatchers.routeRules.backendService
pathMatchers.routeRules.routeAction.corsPolicy.allowOrigins pathMatchers.routeRules.routeAction.corsPolicy.allowOrigin
pathMatchers.routeRules.routeAction.corsPolicy.allowOriginRegexes pathMatchers.routeRules.routeAction.corsPolicy.allowOriginRegex
pathMatchers.routeRules.routeAction.corsPolicy.allowMethods pathMatchers.routeRules.routeAction.corsPolicy.allowMethod
pathMatchers.routeRules.routeAction.corsPolicy.allowHeaders pathMatchers.routeRules.routeAction.corsPolicy.allowHeader
pathMatchers.routeRules.routeAction.corsPolicy.exposeHeaders pathMatchers.routeRules.routeAction.corsPolicy.exposeHeader
pathMatchers.routeRules.routeAction.retryPolicy.retryConditions pathMatchers.routeRules.routeAction.retryPolicy.retryCondition
pathMatchers.routeRules.routeAction.weightedBackendServices pathMatchers.routeRules.routeAction.weightedBackendService
VpnGateway
vpnInterfaces vpnInterface

Resource types with the to be deprecated kmsKey field

This section lists all the resource types which will have the legacy kmsKey field populated in ResourceSearchResult while calling SearchAllResources API for backward-compatibility. The new kmsKeys field can be used to retrieve KMS key information.

Service Resource types
Vertex AIaiplatform.googleapis.com/BatchPredictionJob
aiplatform.googleapis.com/CustomJob
aiplatform.googleapis.com/DataLabelingJob
aiplatform.googleapis.com/Dataset
aiplatform.googleapis.com/Endpoint
aiplatform.googleapis.com/HyperparameterTuningJob
aiplatform.googleapis.com/MetadataStore
aiplatform.googleapis.com/Model
aiplatform.googleapis.com/ModelDeploymentMonitoringJob
aiplatform.googleapis.com/PipelineJob
aiplatform.googleapis.com/TrainingPipeline
Artifact Registryartifactregistry.googleapis.com/Repository
BigQuerybigquery.googleapis.com/Dataset
bigquery.googleapis.com/Table
bigquery.googleapis.com/Model
Cloud Bigtablebigtableadmin.googleapis.com/Backup
bigtableadmin.googleapis.com/Cluster
Cloud Functionscloudfunctions.googleapis.com/CloudFunction
Cloud Runrun.googleapis.com/Revision
Dataprocdataproc.googleapis.com/Cluster
Dialogflow CXdialogflow.googleapis.com/LocationSettings
Cloud Spannerspanner.googleapis.com/Database
Cloud SQLsqladmin.googleapis.com/Instance
sqladmin.googleapis.com/BackupRun
Cloud Storagestorage.googleapis.com/Bucket
Compute Enginecompute.googleapis.com/Disk
compute.googleapis.com/Image
Dataproc Metastoremetastore.googleapis.com/Service
Cloud Logginglogging.googleapis.com/LogBucket
Dataflowdataflow.googleapis.com/Job
Cloud Composercomposer.googleapis.com/Environment
Document AIdocumentai.googleapis.com/HumanReviewConfig
documentai.googleapis.com/Processor
documentai.googleapis.com/ProcessorVersion
Memorystore for Redisredis.googleapis.com/Instance
Cloud Healthcare APIhealthcare.googleapis.com/Dataset
Datastreamdatastream.googleapis.com/Stream
Pub/Subpubsub.googleapis.com/Topic