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
stringThe 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
stringThe unique ID of the calendar resource to delete.
Returns
Get(string, string)
Retrieves a calendar resource.
public virtual ResourcesResource.CalendarsResource.GetRequest Get(string customer, string calendarResourceId)
Parameters
customer
stringThe 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
stringThe unique ID of the calendar resource to retrieve.
Returns
Insert(CalendarResource, string)
Inserts a calendar resource.
public virtual ResourcesResource.CalendarsResource.InsertRequest Insert(CalendarResource body, string customer)
Parameters
body
CalendarResourceThe body of the request.
customer
stringThe 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
List(string)
Retrieves a list of calendar resources for an account.
public virtual ResourcesResource.CalendarsResource.ListRequest List(string customer)
Parameters
customer
stringThe 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
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
CalendarResourceThe body of the request.
customer
stringThe 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
stringThe unique ID of the calendar resource to update.
Returns
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
CalendarResourceThe body of the request.
customer
stringThe 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
stringThe unique ID of the calendar resource to update.