Class ResourcesResource.CalendarsResource
The "calendars" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class ResourcesResource.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 |
|---|---|---|
| string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
| 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 |
|---|---|---|
| string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
| 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. |
| string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
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 |
|---|---|---|
| string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
Returns
| Type | Description |
|---|---|
| ResourcesResource.CalendarsResource.ListRequest |
Patch(CalendarResource, string, string)
Patches a calendar resource.
Declaration
public virtual ResourcesResource.CalendarsResource.PatchRequest Patch(CalendarResource body, string customer, string calendarResourceId)
Parameters
| Type | Name | Description |
|---|---|---|
| CalendarResource | body | The body of the request. |
| string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
| 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. |
| string | customer | The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the |
| string | calendarResourceId | The unique ID of the calendar resource to update. |
Returns
| Type | Description |
|---|---|
| ResourcesResource.CalendarsResource.UpdateRequest |