支援代碼的服務

標記可用於為資源加上註解,在某些情況下,還可將資源是否具備特定標記設為條件,並按照這項條件強制執行政策。本文列出支援標記的 Google Cloud 服務、政策引擎服務和資源類型。詳情請參閱「標記總覽」。

Identity and Access Management (IAM) 等政策引擎會評估標記,控管存取權和設定。如果服務資源支援標記附加,且政策引擎支援該資源類型,您就能有條件地對該資源強制執行政策。如果資源無法直接由政策引擎指定,請標記上層專案、資料夾或組織,透過繼承機制管理政策。每個政策引擎都會在「Policy engine services」(政策引擎服務) 區段中列出支援的資源。如要附加標記,請參閱「建立及管理標記」。

政策引擎服務

下列服務包含可加入標記的政策。在這些政策中參照標記,即可精細調整政策在 Google Cloud 資源階層中支援資源的運作方式。

Google Cloud 服務 資源類型
Cloud Billing
Identity and Access Management (IAM)
組織政策服務
Cloud Next Generation Firewall

以下各節說明如何搭配使用標記與政策引擎服務。

Identity and Access Management

您可以根據資源是否具有特定標記,有條件地授予 IAM 角色或有條件地拒絕 IAM 權限。

資源會從上層組織、資料夾和專案繼承標記值。因此,您可以使用標記管理任何 Google Cloud 資源的存取權。

如要進一步瞭解如何搭配使用標記和 IAM,控管 Google Cloud 資源的存取權,請參閱「標記和存取控管」。

組織政策服務

您可以搭配使用組織政策和標記,控管組織政策限制如何套用至特定資源。使用代管和自訂限制的組織政策,可參照附加至支援資源的標記,有條件地強制執行。

大多數舊版代管限制無法包含涉及服務資源標記的條件。如需支援服務資源附加標記條件的舊版代管限制清單,請參閱「使用標記設定組織政策範圍」。

Cloud Next Generation Firewall

您可以使用標記,在網路防火牆政策和區域防火牆政策中定義來源和目標。詳情請參閱「使用安全標記管理 VM 流量」。

Cloud Billing

Cloud Billing 匯出至 BigQuery 的資料,包含資源從上層專案、資料夾和組織繼承的標記。除了繼承的標記外,系統只會回報 Compute Engine 執行個體、Spanner 執行個體和 Artifact Registry 存放區的資源層級標記。

支援的服務資源

您可以將標記附加至下列類型的 Google Cloud 資源:

Google Cloud 服務 資源類型
AlloyDB for PostgreSQL
API Gateway
  • API
  • 閘道
API 中心
Anti Money Laundering AI
Artifact Registry
備份和災難復原服務
BigQuery
Bigtable
Google Cloud Armor
Certificate Manager
憑證授權單位服務
  • CA 集區
  • 憑證範本
Cloud Data Fusion
Cloud Deploy
Cloud Domains
  • 註冊項目
Cloud Key Management Service (Cloud KMS)
Cloud Load Balancing
Cloud Logging
Cloud Monitoring
Cloud Router
Cloud Interconnect
Cloud VPN
Cloud Run
Cloud Service Mesh
Cloud SQL
Cloud Storage
Cloud Workstations
Transcoder API
  • 工作
  • JobTemplate
Managed Service for Apache Airflow
Compute Engine
Config Controller
Cloud Next Generation Firewall
Dataform
Managed Service for Apache Spark
Dataproc Metastore
Datastore
Datastream
Cloud DNS
Eventarc
Filestore
Firestore
Google Distributed Cloud
  • BareMetalCluster
  • BareMetalAdminCluster
  • VMWareCluster
  • VMWareAdminCluster
Google Kubernetes Engine (GKE)
GKE 附加叢集
Identity and Access Management
Infrastructure Manager
Knowledge Catalog
Live Stream API
Looker (Google Cloud Core)
Managed Service for Microsoft Active Directory (Managed Microsoft AD)
Memorystore for Memcached
Memorystore for Redis
Memorystore for Redis Cluster
Migrate to Virtual Machines
Network Connectivity Center
Network Intelligence Center
Parameter Manager
Pub/Sub
reCAPTCHA Enterprise
  • 鍵
Resource Manager
Secret Manager
Spanner
Vertex AI Workbench
Google Cloud VMware Engine
  • 私有雲
  • 私人連線
  • 網路
  • 網路對接
  • 網路政策
虛擬私人雲端
Workflows