Class GoogleAppsDriveLabelsV2LabelLock
A Lock that can be applied to a Label, Field, or Choice.
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2.Data
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class GoogleAppsDriveLabelsV2LabelLock : IDirectResponseSchema
Properties
Capabilities
Output only. The user's capabilities on this LabelLock.
Declaration
[JsonProperty("capabilities")]
public virtual GoogleAppsDriveLabelsV2LabelLockCapabilities Capabilities { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsDriveLabelsV2LabelLockCapabilities |
ChoiceId
The ID of the Selection Field Choice that should be locked. If present, field_id
must also be present.
Declaration
[JsonProperty("choiceId")]
public virtual string ChoiceId { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The time this LabelLock was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Creator
Output only. The user whose credentials were used to create the LabelLock. This will not be present if no user was responsible for creating the LabelLock.
Declaration
[JsonProperty("creator")]
public virtual GoogleAppsDriveLabelsV2UserInfo Creator { get; set; }
Property Value
Type | Description |
---|---|
GoogleAppsDriveLabelsV2UserInfo |
DeleteTime
object representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
Type | Description |
---|---|
object |
DeleteTimeDateTimeOffset
DateTimeOffset representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
DeleteTimeRaw
Output only. A timestamp indicating when this LabelLock was scheduled for deletion. This will be present only if this LabelLock is in the DELETING state.
Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { 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 |
FieldId
The ID of the Field that should be locked. Empty if the whole Label should be locked.
Declaration
[JsonProperty("fieldId")]
public virtual string FieldId { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. Resource name of this LabelLock.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. This LabelLock's state.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |