Method: userRolePermissions.list

  • This API call is used to retrieve a list of user role permissions, with optional filtering capabilities.

  • The request is made using a GET HTTP request to a specified URL that includes a required profile ID path parameter.

  • Optional filtering can be applied using query parameters, specifically by providing a list of user role permission IDs.

  • The request body must be empty, and a successful response will return a JSON object containing a list of user role permissions and a kind identifier.

  • Authorization requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets a list of user role permissions, possibly filtered.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/userRolePermissions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
ids[]

string (int64 format)

Select only user role permissions with these IDs.

Request body

The request body must be empty.

Response body

User Role Permission userRolePermissions.list Response

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "userRolePermissions": [
    {
      object (UserRolePermission)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#userRolePermissionsListResponse"

.

userRolePermissions[]

object (UserRolePermission)

User role permission collection.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking