Skip to content

New GCalendarAclRuleObj

Spencer Varney edited this page Dec 9, 2016 · 2 revisions

New-GCalendarAclRuleObj

SYNOPSIS

Creates a new Calendar API AclRule object.

SYNTAX

New-GCalendarAclRuleObj [[-Id] <String>] [[-Role] <String>] [[-Scope] <ScopeData>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a AclRule object which may be required as a parameter for some other Cmdlets in the Calendar API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.Calendar.v3.Data.AclRule

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GCalendarAclRuleObj

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.

PARAMETERS

-Id

Identifier of the ACL rule.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Role

The role assigned to the scope. Possible values are:- "none" - Provides no access.- "freeBusyReader" - Provides read access to free/busy information.- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.- "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.- "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Scope

The scope of the rule.

Type: ScopeData
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

INPUTS

System.String

Identifier of the ACL rule.

System.String

The role assigned to the scope. Possible values are:- "none" - Provides no access.- "freeBusyReader" - Provides read access to free/busy information.- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.- "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.- "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.

Google.Apis.Calendar.v3.Data.AclRule+ScopeData

The scope of the rule.

OUTPUTS

Google.Apis.Calendar.v3.Data.AclRule

NOTES

Part of the gShell Project, relating to the Google Calendar API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally