[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# View attachments details\n\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document explains how to view Secure Access Connect attachments and attachment\ndetails.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to view attachments details,\n\nask your administrator to grant you the\n\n\n[Compute Network Viewer](/iam/docs/roles-permissions/compute#compute.networkViewer) (`roles/compute.networkViewer`)\nIAM role on project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nView all attachments in a region\n--------------------------------\n\nTo view all attachments in a region, do the following. \n\n### gcloud\n\nRun the\n[`gcloud beta network-security secure-access-connect attachments list` command](/sdk/gcloud/reference/beta/network-security/secure-access-connect/attachments/list): \n\n gcloud beta network-security secure-access-connect attachments list \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the region where the attachments are located\n\n### API\n\nUse the [`projects.locations.sacAttachments.list` method](/secure-access-connect/docs/reference/network-security/rest/v1beta1/projects.locations.sacAttachments/list)\n=====================================================================================================================================================================\n\n GET https://networksecurity.googleapis.com/v1beta1/{parent=project/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e}/sacAttachments\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the region where the attachment is located\n\nView attachment details\n-----------------------\n\nTo view details about an attachment, do the following. \n\n### gcloud\n\nRun the\n[`gcloud beta network-security secure-access-connect attachments describe` command](/sdk/gcloud/reference/beta/network-security/secure-access-connect/attachments/describe): \n\n gcloud beta network-security secure-access-connect attachments describe \u003cvar translate=\"no\"\u003eATTACHMENT_ID\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eATTACHMENT_ID\u003c/var\u003e: the ID of the attachment\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the region where the attachments are located\n\n### API\n\nUse the [`projects.locations.sacAttachments.get` method](/secure-access-connect/docs/reference/network-security/rest/v1beta1/projects.locations.sacAttachments/get) \n\n GET https://networksecurity.googleapis.com/v1beta1/{parent=project/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e}/sacAttachments/\u003cvar translate=\"no\"\u003eATTACHMENT_ID\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the region where the attachment is located\n- \u003cvar translate=\"no\"\u003eATTACHMENT_ID\u003c/var\u003e: the ID of the attachment"]]