< Back
New-GoogleDirectoryRole
Post
NAME New-GoogleDirectoryRole
SYNOPSIS
Creates a new GSuite role.
SYNTAX
New-GoogleDirectoryRole [-Name] <String> [-Privileges] <Hashtable[]> [-CustomerId <String>] -BearerToken <String>
[-UseCompression] [-PassThru] [<CommonParameters>]
New-GoogleDirectoryRole [-Name] <String> [-Privileges] <Hashtable[]> [-CustomerId <String>] [-ProfileLocation
<String>] [-Persist] [-UseCompression] [-PassThru] [<CommonParameters>]
DESCRIPTION
This cmdlet creates a new GSuite role.
PARAMETERS
-Name <String>
The name of the role to create.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Privileges <Hashtable[]>
The privileges to assign to the role. This is an array of items where each item has a privilege name and
service id. For
example:
$Priv = @{
SYNOPSIS
Creates a new GSuite role.
SYNTAX
New-GoogleDirectoryRole [-Name] <String> [-Privileges] <Hashtable[]> [-CustomerId <String>] -BearerToken <String>
[-UseCompression] [-PassThru] [<CommonParameters>]
New-GoogleDirectoryRole [-Name] <String> [-Privileges] <Hashtable[]> [-CustomerId <String>] [-ProfileLocation
<String>] [-Persist] [-UseCompression] [-PassThru] [<CommonParameters>]
DESCRIPTION
This cmdlet creates a new GSuite role.
PARAMETERS
-Name <String>
The name of the role to create.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Privileges <Hashtable[]>
The privileges to assign to the role. This is an array of items where each item has a privilege name and
service id. For
example:
$Priv = @{