roles.patch: Patches a role.

Description Usage Arguments Details See Also

View source: R/roles.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
22
roles.patch(
  roleId,
  customer,
  rolePrivileges = NULL,
  roleName = NULL,
  isSuperAdminRole = NULL,
  isSystemRole = NULL,
  etag = NULL,
  roleDescription = 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.roles.patch"]]$scopes[[1]]),
  return_request = F,
  return_response = F
)

Arguments

roleId

Immutable ID of the role.

customer

Immutable ID of the Google Workspace account.

rolePrivileges

The set of privileges that are granted to this role.

roleName

Name of the role.

isSuperAdminRole

Returns true if the role is a super admin role.

isSystemRole

Returns true if this is a pre-defined system role.

etag

ETag of the resource.

roleDescription

A short description of the role.

kind

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

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.