Show / Hide Table of Contents

Class ResourcesResource.CalendarsResource

The "calendars" collection of methods.

Inheritance
System.Object
ResourcesResource.CalendarsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class CalendarsResource

Constructors

CalendarsResource(IClientService)

Constructs a new resource.

Declaration
public CalendarsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(String, String)

Deletes a calendar resource.

Declaration
public virtual ResourcesResource.CalendarsResource.DeleteRequest Delete(string customer, string calendarResourceId)
Parameters
Type Name Description
System.String customer

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.

System.String calendarResourceId

The unique ID of the calendar resource to delete.

Returns
Type Description
ResourcesResource.CalendarsResource.DeleteRequest

Get(String, String)

Retrieves a calendar resource.

Declaration
public virtual ResourcesResource.CalendarsResource.GetRequest Get(string customer, string calendarResourceId)
Parameters
Type Name Description
System.String customer

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.

System.String calendarResourceId

The unique ID of the calendar resource to retrieve.

Returns
Type Description
ResourcesResource.CalendarsResource.GetRequest

Insert(CalendarResource, String)

Inserts a calendar resource.

Declaration
public virtual ResourcesResource.CalendarsResource.InsertRequest Insert(CalendarResource body, string customer)
Parameters
Type Name Description
CalendarResource body

The body of the request.

System.String customer

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
Type Description
ResourcesResource.CalendarsResource.InsertRequest

List(String)

Retrieves a list of calendar resources for an account.

Declaration
public virtual ResourcesResource.CalendarsResource.ListRequest List(string customer)
Parameters
Type Name Description
System.String customer

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
Type Description
ResourcesResource.CalendarsResource.ListRequest

Patch(CalendarResource, String, String)

Patches a calendar resource via Apiary Patch Orchestration.

Declaration
public virtual ResourcesResource.CalendarsResource.PatchRequest Patch(CalendarResource body, string customer, string calendarResourceId)
Parameters
Type Name Description
CalendarResource body

The body of the request.

System.String customer

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.

System.String calendarResourceId

The unique ID of the calendar resource to update.

Returns
Type Description
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.

Declaration
public virtual ResourcesResource.CalendarsResource.UpdateRequest Update(CalendarResource body, string customer, string calendarResourceId)
Parameters
Type Name Description
CalendarResource body

The body of the request.

System.String customer

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.

System.String calendarResourceId

The unique ID of the calendar resource to update.

Returns
Type Description
ResourcesResource.CalendarsResource.UpdateRequest
Back to top