| title | gcpRole resource type |
|---|---|
| description | Represents a GCP role in a GCP authorization system. |
| author | mrudulahg01 |
| ms.reviewer | ciem_pm |
| ms.localizationpriority | medium |
| ms.subservice | entra-permissions-management |
| doc_type | resourcePageType |
| ms.date | 05/23/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
[!INCLUDE permissions-management-retirement-note]
Represents a GCP role in a GCP authorization system.
Inherits from entity.
| Method | Return type | Description |
|---|---|---|
| List | gcpRole collection | Get a list of the gcpRole objects and their properties. |
| Get | gcpRole | Read the properties and relationships of a gcpRole object. |
| Property | Type | Description |
|---|---|---|
| displayName | String | The name of the GCP role. Supports $filter and (eq,contains). |
| externalId | String | The ID of the GCP role as defined by GCP. Alternate key. |
| gcpRoleType | gcpRoleType | The type of GCP role. The possible values are: system, custom, unknownFutureValue. Supports $filter and (eq). |
| id | String | The ID for the GCP role in Permissions Management. Read-only. Inherited from entity. |
| scopes | gcpScope collection | Resources that an identity assigned this GCP role can perform actions on. Supports $filter and (eq). |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.gcpRole",
"id": "String (identifier)",
"externalId": "String",
"displayName": "String",
"gcpRoleType": "String",
"scopes": [
{
"@odata.type": "microsoft.graph.gcpScope"
}
]
}