2015-06-23 23:05:46 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'google/apis/admin_directory_v1/service.rb'
|
|
|
|
require 'google/apis/admin_directory_v1/classes.rb'
|
|
|
|
require 'google/apis/admin_directory_v1/representations.rb'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
# Admin Directory API
|
|
|
|
#
|
|
|
|
# The Admin SDK Directory API lets you view and manage enterprise resources such
|
|
|
|
# as users and groups, administrative notifications, security features, and more.
|
|
|
|
#
|
|
|
|
# @see https://developers.google.com/admin-sdk/directory/
|
|
|
|
module AdminDirectoryV1
|
|
|
|
VERSION = 'DirectoryV1'
|
2016-10-12 22:52:51 +00:00
|
|
|
REVISION = '20161003'
|
2015-12-03 01:10:07 +00:00
|
|
|
|
|
|
|
# View and manage customer related information
|
|
|
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
|
|
|
|
|
|
|
# View customer related information
|
|
|
|
AUTH_ADMIN_DIRECTORY_CUSTOMER_READONLY = 'https://www.googleapis.com/auth/admin.directory.customer.readonly'
|
2015-06-23 23:05:46 +00:00
|
|
|
|
|
|
|
# View and manage your Chrome OS devices' metadata
|
|
|
|
AUTH_ADMIN_DIRECTORY_DEVICE_CHROMEOS = 'https://www.googleapis.com/auth/admin.directory.device.chromeos'
|
|
|
|
|
|
|
|
# View your Chrome OS devices' metadata
|
|
|
|
AUTH_ADMIN_DIRECTORY_DEVICE_CHROMEOS_READONLY = 'https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly'
|
|
|
|
|
|
|
|
# View and manage your mobile devices' metadata
|
|
|
|
AUTH_ADMIN_DIRECTORY_DEVICE_MOBILE = 'https://www.googleapis.com/auth/admin.directory.device.mobile'
|
|
|
|
|
|
|
|
# Manage your mobile devices by performing administrative tasks
|
|
|
|
AUTH_ADMIN_DIRECTORY_DEVICE_MOBILE_ACTION = 'https://www.googleapis.com/auth/admin.directory.device.mobile.action'
|
|
|
|
|
|
|
|
# View your mobile devices' metadata
|
|
|
|
AUTH_ADMIN_DIRECTORY_DEVICE_MOBILE_READONLY = 'https://www.googleapis.com/auth/admin.directory.device.mobile.readonly'
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
# View and manage the provisioning of domains for your customers
|
|
|
|
AUTH_ADMIN_DIRECTORY_DOMAIN = 'https://www.googleapis.com/auth/admin.directory.domain'
|
|
|
|
|
|
|
|
# View domains related to your customers
|
|
|
|
AUTH_ADMIN_DIRECTORY_DOMAIN_READONLY = 'https://www.googleapis.com/auth/admin.directory.domain.readonly'
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
# View and manage the provisioning of groups on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group'
|
|
|
|
|
|
|
|
# View and manage group subscriptions on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_GROUP_MEMBER = 'https://www.googleapis.com/auth/admin.directory.group.member'
|
|
|
|
|
|
|
|
# View group subscriptions on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_GROUP_MEMBER_READONLY = 'https://www.googleapis.com/auth/admin.directory.group.member.readonly'
|
|
|
|
|
|
|
|
# View groups on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_GROUP_READONLY = 'https://www.googleapis.com/auth/admin.directory.group.readonly'
|
|
|
|
|
|
|
|
# View and manage notifications received on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_NOTIFICATIONS = 'https://www.googleapis.com/auth/admin.directory.notifications'
|
|
|
|
|
|
|
|
# View and manage organization units on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_ORGUNIT = 'https://www.googleapis.com/auth/admin.directory.orgunit'
|
|
|
|
|
|
|
|
# View organization units on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_ORGUNIT_READONLY = 'https://www.googleapis.com/auth/admin.directory.orgunit.readonly'
|
|
|
|
|
2015-12-14 22:27:57 +00:00
|
|
|
# View and manage the provisioning of calendar resources on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_RESOURCE_CALENDAR = 'https://www.googleapis.com/auth/admin.directory.resource.calendar'
|
|
|
|
|
|
|
|
# View calendar resources on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_RESOURCE_CALENDAR_READONLY = 'https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly'
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
# Manage delegated admin roles for your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_ROLEMANAGEMENT = 'https://www.googleapis.com/auth/admin.directory.rolemanagement'
|
|
|
|
|
|
|
|
# View delegated admin roles for your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_ROLEMANAGEMENT_READONLY = 'https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly'
|
|
|
|
|
2015-06-23 23:05:46 +00:00
|
|
|
# View and manage the provisioning of users on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user'
|
|
|
|
|
|
|
|
# View and manage user aliases on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USER_ALIAS = 'https://www.googleapis.com/auth/admin.directory.user.alias'
|
|
|
|
|
|
|
|
# View user aliases on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USER_ALIAS_READONLY = 'https://www.googleapis.com/auth/admin.directory.user.alias.readonly'
|
|
|
|
|
|
|
|
# View users on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USER_READONLY = 'https://www.googleapis.com/auth/admin.directory.user.readonly'
|
|
|
|
|
|
|
|
# Manage data access permissions for users on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USER_SECURITY = 'https://www.googleapis.com/auth/admin.directory.user.security'
|
|
|
|
|
|
|
|
# View and manage the provisioning of user schemas on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USERSCHEMA = 'https://www.googleapis.com/auth/admin.directory.userschema'
|
|
|
|
|
|
|
|
# View user schemas on your domain
|
|
|
|
AUTH_ADMIN_DIRECTORY_USERSCHEMA_READONLY = 'https://www.googleapis.com/auth/admin.directory.userschema.readonly'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|