This document explains how to view Secure Access Connect attachments and attachment details.
Required roles
To get the permissions that
you need to view attachments details,
ask your administrator to grant you the Compute Network Viewer
( roles/compute.networkViewer
) IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations
.
You might also be able to get the required permissions through custom roles or other predefined roles .
View all attachments in a region
To view all attachments in a region, do the following.
Console
-
In the Google Cloud console, go to the Secure Access Connect Attachmentspage.
-
On the top left, choose the project that you want to view attachments for. The attachments are displayed on the page.
gcloud
Run the gcloud network-security secure-access-connect attachments list
command
:
gcloud network-security secure-access-connect attachments list \
--project= PROJECT_ID
\
--location= REGION
Replace the following:
-
PROJECT_ID: your project ID -
REGION: the region where the attachments are located
API
Use the projects.locations.sacAttachments.list
method
GET https://networksecurity.googleapis.com/v1/{parent=project/ PROJECT_ID
/locations/ REGION
}/sacAttachments
Replace the following:
-
PROJECT_ID: your project ID -
REGION: the region where the attachment is located
View attachment details
To view details about an attachment, do the following.
Console
-
In the Google Cloud console, go to the Secure Access Connect Attachmentspage.
-
Click the attachment that you want to view details for.
gcloud
Run the gcloud network-security secure-access-connect attachments describe
command
:
gcloud network-security secure-access-connect attachments describe ATTACHMENT_ID
\
--project= PROJECT_ID
\
--location= REGION
Replace the following:
-
ATTACHMENT_ID: the ID of the attachment -
PROJECT_ID: your project ID -
REGION: the region where the attachments are located
API
Use the projects.locations.sacAttachments.get
method
GET https://networksecurity.googleapis.com/v1/{parent=project/ PROJECT_ID
/locations/ REGION
}/sacAttachments/ ATTACHMENT_ID
Replace the following:
-
PROJECT_ID: your project ID -
REGION: the region where the attachment is located -
ATTACHMENT_ID: the ID of the attachment

