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 |
|
ExternalVpnGateway |
interfaces |
interface |
FirewallPolicy |
rules.match.srcSecureTags |
rules.match.srcSecureTag |
targetSecureTags |
targetSecureTag |
|
ForwardingRule |
metadataFilters |
metadataFilter |
GlobalAddress |
users |
user |
GlobalForwardingRule |
metadataFilters |
metadataFilter |
Image |
shieldedInstanceInitialState.dbs |
shieldedInstanceInitialState.db |
shieldedInstanceInitialState.dbxs |
shieldedInstanceInitialState.dbx |
|
shieldedInstanceInitialState.keks |
shieldedInstanceInitialState.kek |
|
Instance |
disks.initializeParams.licenses |
disks.initializeParams.license |
disks.initializeParams.resourcePolicies |
disks.initializeParams.resourcePolicy |
|
disks.shieldedInstanceInitialState.dbs |
disks.shieldedInstanceInitialState.db |
|
disks.shieldedInstanceInitialState.dbxs |
disks.shieldedInstanceInitialState.dbx |
|
disks.shieldedInstanceInitialState.keks |
disks.shieldedInstanceInitialState.kek |
|
networkInterfaces.ipv6AccessConfigs |
networkInterfaces.ipv6AccessConfig |
|
reservationAffinity |
allocationAffinity |
|
InstanceTemplate |
properties.disks.initializeParams.licenses |
properties.disks.initializeParams.license |
properties.disks.initializeParams.resourcePolicies |
properties.disks.initializeParams.resourcePolicy |
|
properties.disks.shieldedInstanceInitialState.dbs |
properties.disks.shieldedInstanceInitialState.db |
|
properties.disks.shieldedInstanceInitialState.dbxs |
properties.disks.shieldedInstanceInitialState.dbx |
|
properties.disks.shieldedInstanceInitialState.keks |
properties.disks.shieldedInstanceInitialState.kek |
|
properties.networkInterfaces |
properties.networkInterface |
|
properties.reservationAffinity |
properties.allocationAffinity |
|
properties.resourcePolicies |
properties.resourcePolicy |
|
Interconnect |
circuitInfos |
circuitInfo |
InterconnectAttachment |
candidateIpv6Subnets |
candidateIpv6Subnet |
ipsecInternalAddresses |
ipsecInternalAddress |
|
NodeTemplate |
accelerators |
accelerator |
disks |
disk |
|
PacketMirroring |
filter.cidrRanges |
filter.cidrRange |
filter.ipProtocols |
filter.ipProtocol |
|
network |
mirroredNetwork |
|
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 |
|
ResourcePolicy |
resourceStatus.instanceSchedulePolicy |
resourceStatus.instanceSchedulePolicyStatus |
snapshotSchedulePolicy.schedule.weeklySchedule.dayOfWeeks |
snapshotSchedulePolicy.schedule.weeklySchedule.dayOfWeek |
|
snapshotSchedulePolicy.snapshotProperties.storageLocations |
snapshotSchedulePolicy.snapshotProperties.storageLocation |
|
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 |
authorizationPolicy |
authorization |
serverTlsPolicy |
authentication |
|
UrlMap |
pathMatchers.routeRules.routeAction.corsPolicy.allowHeaders |
pathMatchers.routeRules.routeAction.corsPolicy.allowHeader |
pathMatchers.routeRules.routeAction.corsPolicy.allowMethods |
pathMatchers.routeRules.routeAction.corsPolicy.allowMethod |
|
pathMatchers.routeRules.routeAction.corsPolicy.allowOrigins |
pathMatchers.routeRules.routeAction.corsPolicy.allowOrigin |
|
pathMatchers.routeRules.routeAction.corsPolicy.allowOriginRegexes |
pathMatchers.routeRules.routeAction.corsPolicy.allowOriginRegex |
|
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 |
|
pathMatchers.routeRules.service |
pathMatchers.routeRules.backendService |
|
VpnGateway |
vpnInterfaces |
vpnInterface |
Resource types with the deprecated kmsKey field
This section lists all the resource types which have the legacy kmsKey
field
populated in
ResourceSearchResult
while calling
SearchAllResources API
for backward-compatibility. The new kmsKeys
field can be used to retrieve
Cloud KMS key information.
Service | Resource types |
---|---|
Artifact Registry |
|
BigQuery |
|
Bigtable |
|
Cloud Composer |
|
Cloud Run functions |
|
Cloud Healthcare API |
|
Cloud Logging |
|
Cloud Run |
|
Spanner |
|
Cloud SQL |
|
Cloud Storage |
|
Compute Engine |
|
Dataflow |
|
Dataproc |
|
Dataproc Metastore |
|
Datastream |
|
Dialogflow CX |
|
Document AI |
|
Memorystore for Redis |
|
Pub/Sub |
|
Vertex AI |
|