Namespace Google.Apis.DriveLabels.v2beta
Classes
DriveLabelsBaseServiceRequest<TResponse>
A base abstract class for DriveLabels requests.
DriveLabelsService
The DriveLabels Service.
DriveLabelsService.Scope
Available OAuth 2.0 scopes for use with the Drive Labels API.
DriveLabelsService.ScopeConstants
Available OAuth 2.0 scope constants for use with the Drive Labels API.
LabelsResource
The "labels" collection of methods.
LabelsResource.CreateRequest
Creates a label. For more information, see Create and publish a label.
LabelsResource.DeleteRequest
Permanently deletes a label and related metadata on Drive items. For more information, see Disable, enable, and delete a label. Once deleted, the label and related Drive item metadata will be deleted. Only draft labels and disabled labels may be deleted.
LabelsResource.DeltaRequest
Updates a single label by applying a set of update requests resulting in a new draft revision. For more information, see Update a label. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive items.
LabelsResource.DisableRequest
Disable a published label. For more information, see Disable, enable, and delete a
label. Disabling a label
will result in a new disabled published revision based on the current published revision. If there's a draft
revision, a new disabled draft revision will be created based on the latest draft revision. Older draft
revisions will be deleted. Once disabled, a label may be deleted with DeleteLabel.
LabelsResource.EnableRequest
Enable a disabled label and restore it to its published state. For more information, see Disable, enable, and delete a label. This will result in a new published revision based on the current disabled published revision. If there's an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.
LabelsResource.GetRequest
Get a label by its resource name. For more information, see Search for
labels. Resource name may be any
of: * labels/{id} - See labels/{id}@latest * labels/{id}@latest - Gets the latest revision of the
label. * labels/{id}@published - Gets the current published revision of the label. *
labels/{id}@{revision_id} - Gets the label at the specified revision ID.
LabelsResource.ListRequest
List labels. For more information, see Search for labels.
LabelsResource.LocksResource
The "locks" collection of methods.
LabelsResource.LocksResource.ListRequest
Lists the label locks on a label.
LabelsResource.PermissionsResource
The "permissions" collection of methods.
LabelsResource.PermissionsResource.BatchDeleteRequest
Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.PermissionsResource.BatchUpdateRequest
Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.PermissionsResource.CreateRequest
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.PermissionsResource.DeleteRequest
Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.PermissionsResource.ListRequest
Lists a label's permissions.
LabelsResource.PublishRequest
Publish all draft changes to the label. Once published, the label may not return to its draft state. For
more information, see Create and publish a
label. Publishing a label will
result in a new published revision. All previous draft revisions will be deleted. Previous published
revisions will be kept but are subject to automated deletion as needed. For more information, see Label
lifecycle. Once published,
some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions
on existing metadata related to the label will be rejected. For example, the following changes to a label
will be rejected after the label is published: * The label cannot be directly deleted. It must be disabled
first, then deleted. * Field.FieldType cannot be changed. * Changes to field validation options cannot
reject something that was previously accepted. * Reducing the maximum entries.
LabelsResource.RevisionsResource
The "revisions" collection of methods.
LabelsResource.RevisionsResource.LocksResource
The "locks" collection of methods.
LabelsResource.RevisionsResource.LocksResource.ListRequest
Lists the label locks on a label.
LabelsResource.RevisionsResource.PermissionsResource
The "permissions" collection of methods.
LabelsResource.RevisionsResource.PermissionsResource.BatchDeleteRequest
Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.RevisionsResource.PermissionsResource.BatchUpdateRequest
Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.RevisionsResource.PermissionsResource.CreateRequest
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.RevisionsResource.PermissionsResource.DeleteRequest
Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.RevisionsResource.PermissionsResource.ListRequest
Lists a label's permissions.
LabelsResource.RevisionsResource.UpdatePermissionsRequest
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LabelsResource.UpdateLabelCopyModeRequest
Updates a label's CopyMode. Changes to this policy aren't revisioned, don't require publishing, and take
effect immediately.
LabelsResource.UpdateLabelEnabledAppSettingsRequest
Updates a label's EnabledAppSettings. Enabling a label in a Google Workspace app allows it to be used in
that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.
LabelsResource.UpdatePermissionsRequest
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
LimitsResource
The "limits" collection of methods.
LimitsResource.GetLabelRequest
Get the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.
UsersResource
The "users" collection of methods.
UsersResource.GetCapabilitiesRequest
Gets the user capabilities.
Enums
DriveLabelsBaseServiceRequest<TResponse>.AltEnum
Data format for response.
DriveLabelsBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.
LabelsResource.GetRequest.ViewEnum
When specified, only certain fields belonging to the indicated view are returned.
LabelsResource.ListRequest.MinimumRoleEnum
Specifies the level of access the user must have on the returned labels. The minimum role a user must
have on a label. Defaults to READER.
LabelsResource.ListRequest.ViewEnum
When specified, only certain fields belonging to the indicated view are returned.