target.apidocs.com.google.api.services.directory.Directory.Resources.Calendars.html Maven / Gradle / Ivy
Directory.Resources.Calendars (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.Resources.Calendars
- java.lang.Object
-
- com.google.api.services.directory.Directory.Resources.Calendars
-
- Enclosing class:
- Directory.Resources
public class Directory.Resources.Calendars
extends Object
The "calendars" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Resources.Calendars.Delete
class
Directory.Resources.Calendars.Get
class
Directory.Resources.Calendars.Insert
class
Directory.Resources.Calendars.List
class
Directory.Resources.Calendars.Patch
class
Directory.Resources.Calendars.Update
-
Constructor Summary
Constructors
Constructor and Description
Calendars()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Directory.Resources.Calendars.Delete
delete(String customer,
String calendarResourceId)
Deletes a calendar resource.
Directory.Resources.Calendars.Get
get(String customer,
String calendarResourceId)
Retrieves a calendar resource.
Directory.Resources.Calendars.Insert
insert(String customer,
CalendarResource content)
Inserts a calendar resource.
Directory.Resources.Calendars.List
list(String customer)
Retrieves a list of calendar resources for an account.
Directory.Resources.Calendars.Patch
patch(String customer,
String calendarResourceId,
CalendarResource content)
Patches a calendar resource.
Directory.Resources.Calendars.Update
update(String customer,
String calendarResourceId,
CalendarResource content)
Updates a calendar resource.
-
-
Method Detail
-
delete
public Directory.Resources.Calendars.Delete delete(String customer,
String calendarResourceId)
throws IOException
Deletes a calendar resource.
Create a request for the method "calendars.delete".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
calendarResourceId
- The unique ID of the calendar resource to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.Resources.Calendars.Get get(String customer,
String calendarResourceId)
throws IOException
Retrieves a calendar resource.
Create a request for the method "calendars.get".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
calendarResourceId
- The unique ID of the calendar resource to retrieve.
- Returns:
- the request
- Throws:
IOException
-
insert
public Directory.Resources.Calendars.Insert insert(String customer,
CalendarResource content)
throws IOException
Inserts a calendar resource.
Create a request for the method "calendars.insert".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
content
- the CalendarResource
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.Resources.Calendars.List list(String customer)
throws IOException
Retrieves a list of calendar resources for an account.
Create a request for the method "calendars.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
- Returns:
- the request
- Throws:
IOException
-
patch
public Directory.Resources.Calendars.Patch patch(String customer,
String calendarResourceId,
CalendarResource content)
throws IOException
Patches a calendar resource.
Create a request for the method "calendars.patch".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
calendarResourceId
- The unique ID of the calendar resource to update.
content
- the CalendarResource
- Returns:
- the request
- Throws:
IOException
-
update
public Directory.Resources.Calendars.Update update(String customer,
String calendarResourceId,
CalendarResource content)
throws IOException
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.
Create a request for the method "calendars.update".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- The unique ID for the customer's Google Workspace account. As an account administrator, you can also
use the `my_customer` alias to represent your account's customer ID.
calendarResourceId
- The unique ID of the calendar resource to update.
content
- the CalendarResource
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.