Class AclResource.InsertRequest
Creates an access control rule.
Inheritance
System.Object
AclResource.InsertRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class InsertRequest : CalendarBaseServiceRequest<AclRule>, IClientServiceRequest<AclRule>, IClientServiceRequest
Constructors
InsertRequest(IClientService, AclRule, String)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, AclRule body, string calendarId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AclRule | body | |
| System.String | calendarId |
Properties
CalendarId
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
Declaration
public virtual string CalendarId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.AclRule>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.AclRule>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.AclRule>.RestPath
SendNotifications
Whether to send notifications about the calendar sharing change. Optional. The default is True.
Declaration
public virtual Nullable<bool> SendNotifications { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.AclRule>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Calendar.v3.CalendarBaseServiceRequest<Google.Apis.Calendar.v3.Data.AclRule>.InitParameters()