En esta página, se enumeran todos los campos heredados y los que dejarán de estar disponibles.
Nombres de los campos actuales y heredados
En esta sección, se describen los nombres de campos heredados y se enumeran los recursos que tienen varios nombres para el mismo campo.
Los nombres de campos heredados no se enumeran en el documento de descubrimiento. Se proporcionan para admitir retrocompatibilidad. Te recomendamos que uses los nombres de campo actuales que se indican en el documento de descubrimiento siempre que sea posible.
Recursos con varios nombres para el mismo campo
En la siguiente tabla, se indican los recursos que tienen varios nombres para el mismo
. Todos los recursos se encuentran en compute.googleapis.com
. Estos nombres de campos se usan
por BatchGetAssetsHistory
, ExportAssets
y ListAssets
.
Tipo de recurso | Nombre del campo actual (recomendado) | Nombre de campo heredado |
---|---|---|
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 |
Tipos de recursos con el campo kmsKey obsoleto
En esta sección, se enumeran todos los tipos de recursos que tienen el campo kmsKey
heredado propagado en ResourceSearchResult cuando se llama a la API de SearchAllResources para la retrocompatibilidad. El nuevo campo kmsKeys
se puede usar para recuperar información de claves de Cloud KMS.
Servicio | Tipos de recursos |
---|---|
Artifact Registry |
|
BigQuery |
|
Bigtable |
|
Cloud Composer |
|
Funciones de Cloud Run |
|
API de Cloud Healthcare |
|
Cloud Logging |
|
Cloud Run |
|
Spanner |
|
Cloud SQL |
|
Cloud Storage |
|
Compute Engine |
|
Dataflow |
|
Dataproc |
|
Dataproc Metastore |
|
DataStream |
|
Dialogflow CX |
|
Document AI |
|
Memorystore para Redis |
|
Pub/Sub |
|
Vertex AI |
|