Bu kılavuz, ortak Drive'ları yönetmeyle ilgili görevler içerir. Örneğin, ortak drive'lar ile üyeleri ve izinleri yönetme
Ortak Drive'daki klasör sınırları hakkında daha fazla bilgi edinmek için Klasör kontrol edin.
Ortak Drive oluştur
Ortak Drive oluşturmak için drives.create
yöntemini kullanın.
Java
Python
Node.js
PHP
.NET
drives.create
yöntemine yapılan çağrılar:
her zaman mümkün.
requestId
parametresi,
gerekir. İstek zaman aşımına uğrarsa veya belirsiz bir arka uç hatası döndürürse
aynı istek tekrarlanabilir. requestId
ve isteğin gövde metni
değişmeyecektir.
Ortak drive önceki bir istekte başarıyla oluşturulduysa veya
normal yanıt döndürülür. Bazen, uzun bir süre geçtikten sonra
zaman veya isteğin gövdesi değiştiyse 409
hatası
requestId
öğesinin atılması gerektiğini belirten bir geri bildirim döndürüldü.
Ortak Drive üyesi ekleme veya kaldırma
Şunu kullanarak ortak Drive üyesi ekleyin veya kaldırın:
permissions
kaynağı.
Üye eklemek için ortak Drive'da izin oluşturun. İzin yöntemler, bir ortak drive'daki tek tek dosyalarda da kullanılabilir. üyelere ek ayrıcalıklar veya üye olmayanların ortak çalışma yapmasına izin verme öğelerdir.
Daha fazla bilgi ve örnek kod için Dosya, klasör ve dosya paylaşma Drive'lar.
Ortak Drive'ı silme
Birdrives.delete
ortak drive. Ortak Drive'daki tüm içeriğin çöp kutusuna taşınması veya silinmesi gerekir
işlemi yapmanız gerekir.
Alan yöneticileri için ortak drive'ları yönetme
Ortak Drive'ları bir genelinde yönetmek için useDomainAdminAccess
parametresini drives
ve permissions
kaynaklarına uygulayın
kurum içinde tutmaktır.
Bu yöntemleri useDomainAdminAccess=true
ile çağıran kullanıcılar
Drive and Docs
yöneticisi
edinin.
Yöneticiler, Google Etiket Yöneticisi'nde paylaşılan
Drive'lar bölümüne gidin veya paylaşılan
(yöneticinin üyeliğinden bağımsız olarak) kuruluşuna ait Drive'lar
Drive'da oturum açın.
Düzenleyeni olmayan bir ortak Drive'ı kurtarma
Aşağıdaki örnekte, paylaşılan verileri kurtarmak için bu kaynakların nasıl kullanılacağı gösterilmektedir artık düzenleyicisi olmayan sürücüler.
Java
Python
Node.js
PHP
.NET
Klasör sınırlamaları
Ortak Drive klasörlerinin bazı depolama alanı sınırları vardır. Daha fazla bilgi için bkz. Paylaşılanlar şurada Drive sınırları oluşturun: Google Drive'a gidin.
Öğe sınırı
Bir kullanıcının ortak Drive'ındaki her klasörün 500.000 öğe sınırı vardır. Örneğin, kısayolları da ekleyebilirsiniz.
Bu sınıra ulaşıldığında ortak Drive artık öğe kabul edemez. Alıcı: almak istemiyorsanız, kullanıcıların klasördeki öğeleri kalıcı olarak silmesi gerekir. Not çöp kutusundaki öğeler sınıra dahil edilir ancak kalıcı olarak silinmiş öğeler kullanmayın. Daha fazla bilgi edinmek için Dosyaları çöp kutusuna taşıma veya silme ve klasörleri tıklayın.
Klasör derinliği sınırı
Ortak drive'daki bir klasörde en fazla 100 düzeyde iç içe yerleştirilmiş klasör olamaz. Yani bir alt klasörün, boyutun üzerinde bir klasör altında depolanamayacağı 99 seviye derinliğinde. Bu sınırlama yalnızca alt klasörler için geçerlidir.
100'den fazla klasör düzeyi ekleme girişimlerinde
teamDriveHierarchyTooDeep
HTTP durum kodu yanıtı.