Table of Contents

Class ResourcesResource.CalendarsResource

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

The "calendars" collection of methods.

public class ResourcesResource.CalendarsResource
Inheritance
ResourcesResource.CalendarsResource
Inherited Members

Constructors

CalendarsResource(IClientService)

Constructs a new resource.

public CalendarsResource(IClientService service)

Parameters

service IClientService

Methods

Delete(string, string)

Deletes a calendar resource.

public virtual ResourcesResource.CalendarsResource.DeleteRequest Delete(string customer, string calendarResourceId)

Parameters

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

calendarResourceId string

The unique ID of the calendar resource to delete.

Returns

ResourcesResource.CalendarsResource.DeleteRequest

Get(string, string)

Retrieves a calendar resource.

public virtual ResourcesResource.CalendarsResource.GetRequest Get(string customer, string calendarResourceId)

Parameters

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

calendarResourceId string

The unique ID of the calendar resource to retrieve.

Returns

ResourcesResource.CalendarsResource.GetRequest

Insert(CalendarResource, string)

Inserts a calendar resource.

public virtual ResourcesResource.CalendarsResource.InsertRequest Insert(CalendarResource body, string customer)

Parameters

body CalendarResource

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

Returns

ResourcesResource.CalendarsResource.InsertRequest

List(string)

Retrieves a list of calendar resources for an account.

public virtual ResourcesResource.CalendarsResource.ListRequest List(string customer)

Parameters

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

Returns

ResourcesResource.CalendarsResource.ListRequest

Patch(CalendarResource, string, string)

Updates a calendar resource.

         This method supports patch semantics, meaning you only need to include the fields you wish to update.
         Fields that are not present in the request will be preserved. This method supports patch
         semantics.
public virtual ResourcesResource.CalendarsResource.PatchRequest Patch(CalendarResource body, string customer, string calendarResourceId)

Parameters

body CalendarResource

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

calendarResourceId string

The unique ID of the calendar resource to update.

Returns

ResourcesResource.CalendarsResource.PatchRequest

Update(CalendarResource, string, string)

Updates a calendar resource.

         This method supports patch semantics, meaning you only need to include the fields you wish to update.
         Fields that are not present in the request will be preserved.
public virtual ResourcesResource.CalendarsResource.UpdateRequest Update(CalendarResource body, string customer, string calendarResourceId)

Parameters

body CalendarResource

The body of the request.

customer string

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.

calendarResourceId string

The unique ID of the calendar resource to update.

Returns

ResourcesResource.CalendarsResource.UpdateRequest