-
Notifications
You must be signed in to change notification settings - Fork 10
New GARoleObj
Creates a new Directory API Role object.
New-GARoleObj [[-IsSuperAdminRole] <Boolean>] [[-IsSystemRole] <Boolean>] [[-RoleDescription] <String>]
[[-RoleId] <Int64>] [[-RoleName] <String>] [[-RolePrivileges] <RolePrivilegesData[]>] [-WhatIf] [-Confirm]
This provides a Cmdlet-Based approach to creating a Role object which may be required as a parameter for some other Cmdlets in the Directory API category.
You could alternately create this object by calling New-Object -TypeName Google.Apis.admin.Directory.directory_v1.Data.Role
PS C:\> New-GARoleObj
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
Returns true if the role is a super admin role.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Returns true if this is a pre-defined system role.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A short description of the role.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
ID of the role.
Type: Int64
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the role.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The set of privileges that are granted to this role.
Type: RolePrivilegesData[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Returns true if the role is a super admin role.
Returns true if this is a pre-defined system role.
A short description of the role.
ID of the role.
Name of the role.
The set of privileges that are granted to this role.
Part of the gShell Project, relating to the Google Directory API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads