Campaign Manager 360 API . userRolePermissions

Instance Methods

close()

Close httplib2 connections.

get(profileId, id, x__xgafv=None)

Gets one user role permission by ID.

list(profileId, ids=None, x__xgafv=None)

Gets a list of user role permissions, possibly filtered.

Method Details

close()
Close httplib2 connections.
get(profileId, id, x__xgafv=None)
Gets one user role permission by ID.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, User role permission ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a user role permission.
  "availability": "A String", # Levels of availability for a user role permission.
  "id": "A String", # ID of this user role permission.
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
  "name": "A String", # Name of this user role permission.
  "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
}
list(profileId, ids=None, x__xgafv=None)
Gets a list of user role permissions, possibly filtered.

Args:
  profileId: string, User profile ID associated with this request. (required)
  ids: string, Select only user role permissions with these IDs. (repeated)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # User Role Permission List Response
  "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionsListResponse".
  "userRolePermissions": [ # User role permission collection.
    { # Contains properties of a user role permission.
      "availability": "A String", # Levels of availability for a user role permission.
      "id": "A String", # ID of this user role permission.
      "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
      "name": "A String", # Name of this user role permission.
      "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
    },
  ],
}