本页列出了所有旧版字段和即将弃用的字段。
当前和原有字段名称
本部分介绍了旧版字段名称,并列出了 为同一个字段指定多个名称。
发现文档中未列出旧版字段名称。 提供它们是为了支持向后兼容性。我们建议使用 发现文档中列出的当前字段名称。
同一字段具有多个名称的素材资源
下表列出了具有相同字段的多个名称的素材资源。所有资源都位于 compute.googleapis.com
中。这些字段名称由 BatchGetAssetsHistory
、ExportAssets
和 ListAssets
使用。
资源类型 | 当前字段名称(推荐) | 旧字段名称 |
---|---|---|
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 |
包含已废弃的 kmsKey 字段的资源类型
本部分列出了具有旧版 kmsKey
字段的所有资源类型
填充值
ResourceSearchResult
通话时
SearchAllResources API
以实现向后兼容性新的 kmsKeys
字段可用于检索
Cloud KMS 密钥信息。
服务 | 资源类型 |
---|---|
Artifact Registry |
|
BigQuery |
|
Bigtable |
|
Cloud Composer |
|
Cloud Run 函数 |
|
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 |
|