This predefined role contains
the permissions required to view network profiles. To see the exact permissions that are
required, expand the Required permissions section:
Required permissions
The following permissions are required to view network profiles:
This section describes how to list network profiles by using the Google Cloud CLI
and the API. There is a unique instance of a given network profile for each
location in which it is available.
If you are using the Google Cloud console, you can view the list of network
profiles by location as part of the network profile configuration when you
create a VPC network. For more information, see
Create a VPC network for RDMA NICs.
GET https://compute.googleapis.com/compute/projects/PROJECT_ID/global/networkProfiles
Replace PROJECT_ID with your project ID.
View the details of a network profile
This section describes how to view the details of a network profile by using the
Google Cloud CLI or the API.
If you are using the Google Cloud console, you can view the details of a network
profile as part of the network profile configuration when you create a VPC network,
or when viewing an existing network
that has a network profile configured.
[[["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-28 UTC."],[],[],null,["# View network profiles\n=====================\n\nThis page describes how to view network profiles in Google Cloud.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to view network profiles,\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 your 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\nThis predefined role contains\n\nthe permissions required to view network profiles. To see the exact permissions that are\nrequired, expand the **Required permissions** section:\n\n\n#### Required permissions\n\nThe following permissions are required to view network profiles:\n\n- ` compute.networkProfiles.get `\n- ` compute.networkProfiles.list`\n\n\nYou might also be able to get\nthese permissions\nwith [custom roles](/iam/docs/creating-custom-roles) or\nother [predefined roles](/iam/docs/roles-overview#predefined).\n\nList network profiles\n---------------------\n\nThis section describes how to list network profiles by using the Google Cloud CLI\nand the API. There is a unique instance of a given network profile for each\nlocation in which it is available.\n\nIf you are using the Google Cloud console, you can view the list of network\nprofiles by location as part of the network profile configuration when you\ncreate a VPC network. For more information, see\n[Create a VPC network for RDMA NICs](/vpc/docs/create-vpc-network-rdma). \n\n### gcloud\n\nTo list all network profiles in Google Cloud, use the [`gcloud compute network-profiles list` command](/sdk/gcloud/reference/compute/network-profiles/list). \n\n```\ngcloud compute network-profiles list\n```\n\nTo list the network profiles that are available in a specific zone, use the `location.name` filter. \n\n```\ngcloud compute network-profiles list --filter='location.name=ZONE'\n```\n\nReplace \u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e with the zone for which you want to view\nnetwork profiles, such as `europe-west1-b`.\n\n### API\n\nTo list all network profiles in Google Cloud, use the [`networkProfiles.list` method](/compute/docs/reference/rest/v1/networkProfiles/list). \n\n```\nGET https://compute.googleapis.com/compute/projects/PROJECT_ID/global/networkProfiles\n```\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e with your project ID.\n\nView the details of a network profile\n-------------------------------------\n\nThis section describes how to view the details of a network profile by using the\nGoogle Cloud CLI or the API.\n\nIf you are using the Google Cloud console, you can view the details of a network\nprofile as part of the network profile configuration when you [create a VPC network](/vpc/docs/create-vpc-network-rdma),\nor when [viewing an existing network](/vpc/docs/create-modify-vpc-networks#viewing-networks)\nthat has a network profile configured. \n\n### gcloud\n\nTo view the details of a network profile, use the [`gcloud compute network-profiles describe` command](/sdk/gcloud/reference/compute/network-profiles/describe). \n\n```\ngcloud compute network-profiles describe NETWORK_PROFILE\n```\n\nReplace \u003cvar translate=\"no\"\u003eNETWORK_PROFILE\u003c/var\u003e with the name of the network profile.\n\n### API\n\nTo view the details of a network profile, use the [`networkProfiles.get` method](/compute/docs/reference/rest/v1/networkProfiles/get). \n\n```\nGET https://compute.googleapis.com/compute/projects/PROJECT_ID/global/networkProfiles/NETWORK_PROFILE\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your project ID.\n- \u003cvar translate=\"no\"\u003eNETWORK_PROFILE\u003c/var\u003e: the name of the network profile.\n\nWhat's next\n-----------\n\n- [Get an overview of network profiles](/vpc/docs/network-profiles)\n- [Learn about the RDMA network profile](/vpc/docs/rdma-network-profiles)\n- [Create a VPC network for RDMA NICs](/vpc/docs/create-vpc-network-rdma)"]]