GDriveSharedDrive Type
A shared drive.
Remarks
This type represents a shared drive.
Fields
Capabilities Integer |
The capabilities that the current user has for the shared drive. This field describes the effective capabilities that the current user has for the shared drive. The value is a bit field comprised of one or more of the following, OR'ed together:
| ||||||||||||||||||||||||||||||||||||||
CreatedTime String |
The creation date of the shared drive. This field holds a DateTime string representing the creation date of the shared drive. This is a combined date-time value (formatted according to RFC 3339). | ||||||||||||||||||||||||||||||||||||||
Hidden Boolean |
Whether the shared drive is hidden from default view. This field specifies whether the shared drive is hidden from default view. To hide or unhide a shared drive, call the ToggleSharedDriveHidden method. If a shared drive is hidden, it will not show up in the Google Drive UI by default (but is still otherwise accessible). Google Drive tracks this setting separately for each user; i.e., each member of a shared drive can choose whether the shared drive should be hidden or not. | ||||||||||||||||||||||||||||||||||||||
Id String |
The Id of the shared drive. This field holds the Id of the shared drive. | ||||||||||||||||||||||||||||||||||||||
Name String |
The name of the shared drive. This field reflects the name of the shared drive. The UpdateSharedDrive method can be used to rename the shared drive if the current user is allowed to do so (i.e., if the Capabilities field has the 0x08000 flag set). | ||||||||||||||||||||||||||||||||||||||
Restrictions Integer |
The restrictions that apply to the shared drive. This field specifies the restrictions that apply to the shared drive. The value is a bitmask comprised of one or more of the following, OR'ed together:
The UpdateSharedDrive method can be used to change any of the shared drive's restrictions that the current user is allowed to alter (indicated by the presence of the 0x00002, 0x00004, and/or 0x00010 flags in the Capabilities field). |