gcpRole resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a GCP role in a GCP authorization system.

Inherits from entity.

Methods

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.

Properties

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).

Relationships

None.

JSON representation

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"
    }
  ]
}