Class LabelsResource.RevisionsResource
The "revisions" collection of methods.
Inherited Members
Namespace: Google.Apis.DriveLabels.v2
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class LabelsResource.RevisionsResource
Constructors
RevisionsResource(IClientService)
Constructs a new resource.
Declaration
public RevisionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Locks
Gets the Locks resource.
Declaration
public virtual LabelsResource.RevisionsResource.LocksResource Locks { get; }
Property Value
Type | Description |
---|---|
LabelsResource.RevisionsResource.LocksResource |
Permissions
Gets the Permissions resource.
Declaration
public virtual LabelsResource.RevisionsResource.PermissionsResource Permissions { get; }
Property Value
Type | Description |
---|---|
LabelsResource.RevisionsResource.PermissionsResource |
Methods
UpdatePermissions(GoogleAppsDriveLabelsV2LabelPermission, string)
Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
Declaration
public virtual LabelsResource.RevisionsResource.UpdatePermissionsRequest UpdatePermissions(GoogleAppsDriveLabelsV2LabelPermission body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAppsDriveLabelsV2LabelPermission | body | The body of the request. |
string | parent | Required. The parent Label resource name. |
Returns
Type | Description |
---|---|
LabelsResource.RevisionsResource.UpdatePermissionsRequest |