class Google::Directory

Included Modules

Defined in:

directory/directory.cr
directory/group/group.cr
directory/group/group_query.cr
directory/member.cr
directory/user/address.cr
directory/user/email.cr
directory/user/gender.cr
directory/user/language.cr
directory/user/name.cr
directory/user/organization.cr
directory/user/phone.cr
directory/user/posix_account.cr
directory/user/relation.cr
directory/user/user.cr
directory/user/user_query.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(auth : Google::Auth | Google::FileAuth | String, domain : String, projection : String = "full", view_type : String = "admin_view", user_agent : String | Nil = nil) #

[View source]

Instance Method Detail

def groups(response : HTTP::Client::Response) #

[View source]
def groups(user_id = nil, **opts) #

[View source]
def groups_request(user_id = nil, **opts) #

https://developers.google.com/admin-sdk/directory/v1/reference/groups/list


[View source]
def lookup(response : HTTP::Client::Response) #

[View source]
def lookup(user_id) #

[View source]
def lookup_request(user_id) #

https://developers.google.com/admin-sdk/directory/v1/reference/users/get


[View source]
def members(response : HTTP::Client::Response) #

[View source]
def members(group_id : String, include_indirect : Bool = true, role : Role | Nil = nil) #

[View source]
def members_request(group_id : String, include_indirect : Bool = true, role : Role | Nil = nil) #

https://developers.google.com/admin-sdk/directory/reference/rest/v1/members/list


[View source]
def users(response : HTTP::Client::Response) #

[View source]
def users(query = nil, limit = 500, **opts) #

[View source]
def users_request(query = nil, limit = 500, **opts) #

API details: https://developers.google.com/admin-sdk/directory/v1/reference/users/list


[View source]