roleAssignments.insert: Creates a role assignment.

Description Usage Arguments Details See Also

View source: R/roleAssignments.R

Description

Autogenerated via package_make.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
roleAssignments.insert(
  customer,
  roleAssignmentId = NULL,
  scopeType = NULL,
  assignedTo = NULL,
  etag = NULL,
  orgUnitId = NULL,
  roleId = NULL,
  kind = NULL,
  callback = NULL,
  fields = NULL,
  uploadType = NULL,
  upload_protocol = NULL,
  prettyPrint = NULL,
  quotaUser = NULL,
  alt = NULL,
  gargle_token = gargle::token_fetch(scopes =
    .endpoints[["directory.roleAssignments.insert"]]$scopes[[1]]),
  return_request = F,
  return_response = F
)

Arguments

customer

Immutable ID of the Google Workspace account.

roleAssignmentId

ID of this roleAssignment.

scopeType

The scope in which this role is assigned.

assignedTo

The unique ID of the user this role is assigned to.

etag

ETag of the resource.

orgUnitId

If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.

roleId

The ID of the role that is assigned.

kind

The type of the API resource. This is always admin#directory#roleAssignment.

callback

JSONP

fields

Selector specifying which fields to include in a partial response.

uploadType

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol

Upload protocol for media (e.g. "raw", "multipart").

prettyPrint

Returns response with indentations and line breaks.

quotaUser

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

alt

Data format for response.

gargle_token

A token prepared by one of gargle's token generating functions. Defaults to gargle::token_fetch(...) with appropriate scopes. See token_fetch for more info.

return_request

Whether to return the request without making it. Defaults to FALSE. See request_build for more info on the returned request object.

return_response

Whether to return the response or the response content. Defaults to FALSE (return response content).

Details

Authentication scopes used by this function are:

See Also

Google Documentation


samterfa/gapiAdminSDK documentation built on Dec. 22, 2021, 10:11 p.m.