Package | Description |
---|---|
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
ContentRestriction |
ContentRestriction.clone() |
ContentRestriction |
ContentRestriction.set(String fieldName,
Object value) |
ContentRestriction |
ContentRestriction.setOwnerRestricted(Boolean ownerRestricted)
Whether the content restriction can only be modified or removed by a user who owns the file.
|
ContentRestriction |
ContentRestriction.setReadOnly(Boolean readOnly)
Whether the content of the file is read-only.
|
ContentRestriction |
ContentRestriction.setReason(String reason)
Reason for why the content of the file is restricted.
|
ContentRestriction |
ContentRestriction.setRestrictingUser(User restrictingUser)
Output only.
|
ContentRestriction |
ContentRestriction.setRestrictionTime(com.google.api.client.util.DateTime restrictionTime)
The time at which the content restriction was set (formatted RFC 3339 timestamp).
|
ContentRestriction |
ContentRestriction.setSystemRestricted(Boolean systemRestricted)
Output only.
|
ContentRestriction |
ContentRestriction.setType(String type)
Output only.
|
Modifier and Type | Method and Description |
---|---|
List<ContentRestriction> |
File.getContentRestrictions()
Restrictions for accessing the content of the file.
|
Modifier and Type | Method and Description |
---|---|
File |
File.setContentRestrictions(List<ContentRestriction> contentRestrictions)
Restrictions for accessing the content of the file.
|
Copyright © 2011–2024 Google. All rights reserved.