Class TeamDrive
Deprecated: use the drive collection instead.
Implements
Inherited Members
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class TeamDrive : IDirectResponseSchema
Properties
BackgroundImageFile
An image file and cropping parameters from which a background image for this Team Drive is set. This is a
write only field; it can only be set on drive.teamdrives.update
requests that don't set themeId
. When
specified, all fields of the backgroundImageFile
must be set.
Declaration
[JsonProperty("backgroundImageFile")]
public virtual TeamDrive.BackgroundImageFileData BackgroundImageFile { get; set; }
Property Value
Type | Description |
---|---|
TeamDrive.BackgroundImageFileData |
BackgroundImageLink
A short-lived link to this Team Drive's background image.
Declaration
[JsonProperty("backgroundImageLink")]
public virtual string BackgroundImageLink { get; set; }
Property Value
Type | Description |
---|---|
string |
Capabilities
Capabilities the current user has on this Team Drive.
Declaration
[JsonProperty("capabilities")]
public virtual TeamDrive.CapabilitiesData Capabilities { get; set; }
Property Value
Type | Description |
---|---|
TeamDrive.CapabilitiesData |
ColorRgb
The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update
request
that does not set themeId
.
Declaration
[JsonProperty("colorRgb")]
public virtual string ColorRgb { get; set; }
Property Value
Type | Description |
---|---|
string |
CreatedTime
DateTime representation of CreatedTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreatedTimeDateTimeOffset instead.")]
public virtual DateTime? CreatedTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
CreatedTimeDateTimeOffset
DateTimeOffset representation of CreatedTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreatedTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreatedTimeRaw
The time at which the Team Drive was created (RFC 3339 date-time).
Declaration
[JsonProperty("createdTime")]
public virtual string CreatedTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive"
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of this Team Drive.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrgUnitId
The organizational unit of this shared drive. This field is only populated on drives.list
responses when
the useDomainAdminAccess
parameter is set to true
.
Declaration
[JsonProperty("orgUnitId")]
public virtual string OrgUnitId { get; set; }
Property Value
Type | Description |
---|---|
string |
Restrictions
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
Declaration
[JsonProperty("restrictions")]
public virtual TeamDrive.RestrictionsData Restrictions { get; set; }
Property Value
Type | Description |
---|---|
TeamDrive.RestrictionsData |
ThemeId
The ID of the theme from which the background image and color will be set. The set of possible
teamDriveThemes
can be retrieved from a drive.about.get
response. When not specified on a
drive.teamdrives.create
request, a random theme is chosen from which the background image and color are
set. This is a write-only field; it can only be set on requests that don't set colorRgb
or
backgroundImageFile
.
Declaration
[JsonProperty("themeId")]
public virtual string ThemeId { get; set; }
Property Value
Type | Description |
---|---|
string |