{
  "slug": "gcloud-beta-network-connectivity-hubs-support-psc-export-flags-9f3979b392a7",
  "title": "gcloud beta network-connectivity hubs support PSC export flags",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-11T00:00:00.000Z",
  "announced_at": "2026-08-11T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When configuring a hub’s Private Service Connect exports, use the published-services/regional-Google-APIs flag, the global-Google-APIs flag, or both with `gcloud beta network-connectivity hubs create` or `update`.",
    "examples": [
      "gcloud beta network-connectivity hubs create <HUB> --export-psc-published-services-and-regional-google-apis --export-psc-global-google-apis",
      "gcloud beta network-connectivity hubs update <HUB> --export-psc-published-services-and-regional-google-apis --export-psc-global-google-apis"
    ],
    "gotchas": [
      "Availability: beta",
      "<HUB> (required): Hub ID or fully qualified hub identifier.",
      "--export-psc-published-services-and-regional-google-apis: Enable propagation of Private Service Connect endpoints for published services and regional Google APIs. On update, `--no-export-psc-published-services-and-regional-google-apis` disables it. On create, this flag may be specified with the global-APIs flag, but not with `--export-psc`.",
      "--export-psc-global-google-apis: Enable propagation of Private Service Connect endpoints for global Google APIs. On update, `--no-export-psc-global-google-apis` disables it. On create, this flag may be specified with the published-services/regional-APIs flag, but not with `--export-psc`.",
      "Hub create permission (required): The documented IAM permission for creating a hub is `networkconnectivity.hubs.create`.",
      "Hub update permission (required): The documented IAM permission for updating a hub is `networkconnectivity.hubs.update`.",
      "Network Connectivity API (required): Enable the Network Connectivity API before performing NCC tasks.",
      "Prerequisite: Enable the Network Connectivity API.",
      "Prerequisite: For create, have `networkconnectivity.hubs.create`; for update, have `networkconnectivity.hubs.update`."
    ]
  },
  "why_it_matters": "Configure which Private Service Connect services and Google APIs a hub exports.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#58000_2026-08-11",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/network-connectivity/hubs/create",
    "https://docs.cloud.google.com/sdk/gcloud/reference/beta/network-connectivity/hubs/update",
    "https://docs.cloud.google.com/network-connectivity/docs/network-connectivity-center/how-to/working-with-hubs-spokes?hl=en"
  ],
  "rank": 0.93024,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-1b3c63b953a140ee-25:gate",
    "evidence_hash": "201f3ad00ec0bdb5f6486b9f16ef37e47a8ca605cf9720ed6de0b662bdd79129"
  },
  "review": {
    "draft_hash": "5853215271c1f0798d2fe5206aa32feaf547385d00643968799faa3c73846081",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
