Struct gsuite_api::GSuite[][src]

pub struct GSuite { /* fields omitted */ }
Expand description

Entrypoint for interacting with the GSuite APIs.

Implementations

Create a new GSuite client struct. It takes a type that can convert into an &str (String or Vec<u8> for example). As long as the function is given a valid API Key and Secret your requests will work.

Get the currently set authorization token.

List Google groups.

Get the settings for a Google group.

Update a Google group.

Update a Google group’s settings.

Create a google group.

Update a Google group’s aliases.

Update an alias for a Google group.

Check if a user is a member of a Google group.

Update a member of a Google group.

Add a user as a member of a Google group.

Remove a user as a member of a Google group.

Delete a group. The group_key can be the group’s email address, group alias, or the unique group ID. FROM: https://developers.google.com/admin-sdk/directory/reference/rest/v1/groups/delete

List users.

Update a user.

Create a user.

Delete a user. The user_key can be the user’s primary email address, alias email address, or unique user ID. FROM: https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/delete

Update a user’s aliases.

Update an alias for a user.

List calendar resources.

Update a calendar resource.

Create a calendar resource.

Delete a calendar resource. FROM: https://developers.google.com/admin-sdk/directory/reference/rest/v1/resources.calendars/delete

List buildings.

Update a building.

Create a building.

Delete a building. FROM: https://developers.google.com/admin-sdk/directory/reference/rest/v1/resources.buildings/delete

List calendars for a user.

List events on a calendar with a query.

List events on a calendar.

List recurring event instances.

List past events on a calendar.

Create a calendar event.

Update a calendar event.

Get a calendar event.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.