已啟用的服務

如要使用多數 Google Cloud API 和服務,您必須先在Google Cloud 專案中啟用這些 API 和服務。在 Google Cloud 專案中啟用 API 和服務會發生以下變更:

  • 將 API 和服務與專案建立關聯。
  • 在 Google Cloud 控制台中新增監控頁面。
  • 如果專案已啟用計費功能,則系統會為 API 與服務啟用計費功能。
  • 在部分情況下,只有在您啟用關聯服務時,系統才會顯示 Identity and Access Management (IAM) 角色。

呼叫服務

使用 Google Cloud API 和服務時,通常須滿足下列高階需求:

  1. 您應具備 Google Cloud 專案。如要瞭解如何建立Google Cloud 專案,請參閱「建立專案」一文。

  2. 請為專案啟用 API 或服務。如要瞭解如何啟用 API 和服務,請參閱「啟用及停用服務」一文。

  3. 您應該擁有已啟用服務的驗證憑證。如要瞭解如何對 Google Cloud API 進行驗證,請參閱「API 和服務的驗證 Google Cloud 」一文。

用來呼叫 Google Cloud API 和服務的憑證與您用來建立這些 API 和服務的專案相關聯。

IAM 角色可見度

部分 IAM 角色只有在相關聯的服務於 Google Cloud 專案中啟用時才會顯示。舉例來說,roles/compute.admin 角色只有在專案已啟用 compute.googleapis.com API 時才會顯示。如要瞭解如何列出可在專案中授予的角色,請參閱「查看可針對資源授予的角色」一文。

預設啟用的服務

使用 Google Cloud 控制台或 Google Cloud CLI 建立 Google Cloud 專案時,系統會依預設啟用下列 API 和服務:

服務名稱 API 端點
BigQuery sharing (舊稱 Analytics Hub) analyticshub.googleapis.com
BigQuery API bigquery.googleapis.com
BigQuery Connection API bigqueryconnection.googleapis.com
BigQuery Data Policy API bigquerydatapolicy.googleapis.com
BigQuery 資料移轉服務 bigquerydatatransfer.googleapis.com
BigQuery Migration API bigquerymigration.googleapis.com
BigQuery Reservation API bigqueryreservation.googleapis.com
BigQuery Storage API bigquerystorage.googleapis.com
Cloud Datastore API datastore.googleapis.com
Cloud Dataform API dataform.googleapis.com
Cloud Dataplex API dataplex.googleapis.com
Cloud Logging API logging.googleapis.com
Cloud Monitoring API monitoring.googleapis.com
Cloud SQL sql-component.googleapis.com
Cloud Storage storage-component.googleapis.com
Cloud Storage API storage.googleapis.com
Cloud Trace API cloudtrace.googleapis.com
Google Cloud API cloudapis.googleapis.com
Google Cloud Storage JSON API storage-api.googleapis.com
Service Management API servicemanagement.googleapis.com
Service Usage API serviceusage.googleapis.com
Telemetry API telemetry.googleapis.com