Show / Hide Table of Contents

Namespace Google.Apis.DriveLabels.v2

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 new Label.

LabelsResource.DeleteRequest

Permanently deletes a Label and related metadata on Drive Items. 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. 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. Disabling a Label will result in a new disabled published revision based on the current published revision. If there is 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. This will result in a new published revision based on the current disabled published revision. If there is 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. 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.

LabelsResource.LocksResource

The "locks" collection of methods.

LabelsResource.LocksResource.ListRequest

Lists the LabelLocks on a Label.

LabelsResource.PermissionsResource

The "permissions" collection of methods.

LabelsResource.PermissionsResource.BatchDeleteRequest

Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

LabelsResource.PermissionsResource.BatchUpdateRequest

Updates Label 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.

LabelsResource.PermissionsResource.CreateRequest

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.

LabelsResource.PermissionsResource.DeleteRequest

Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not 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. See google.apps.drive.labels.v2.Lifecycle for more information. 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. 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 max entries.

LabelsResource.RevisionsResource

The "revisions" collection of methods.

LabelsResource.RevisionsResource.LocksResource

The "locks" collection of methods.

LabelsResource.RevisionsResource.LocksResource.ListRequest

Lists the LabelLocks 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, are not revisioned, and do not require publishing.

LabelsResource.RevisionsResource.PermissionsResource.BatchUpdateRequest

Updates Label 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.

LabelsResource.RevisionsResource.PermissionsResource.CreateRequest

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.

LabelsResource.RevisionsResource.PermissionsResource.DeleteRequest

Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not 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 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.

LabelsResource.UpdateLabelCopyModeRequest

Updates a Label's CopyMode. Changes to this policy are not revisioned, do not require publishing, and take effect immediately.

LabelsResource.UpdatePermissionsRequest

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.

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.

In this article
Back to top Generated by DocFX