drivelabels/v2 library
Drive Labels API - v2
An API for managing Drive Labels
For more information, see developers.google.com/drive/labels
Create an instance of DriveLabelsApi to access these resources:
Classes
- DriveLabelsApi
- An API for managing Drive Labels
- GoogleAppsDriveLabelsV2BadgeColors
- The color derived from BadgeConfig and changed to the closest recommended supported color.
- GoogleAppsDriveLabelsV2BadgeConfig
- Badge status of the label.
- GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest
- Deletes one of more Label Permissions.
- GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest
- Updates one or more Label Permissions.
- GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse
- Response for updating one or more Label Permissions.
- GoogleAppsDriveLabelsV2DateLimits
- Limits for date Field type.
- GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest
- Deletes a Label Permission.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest
- The set of requests for updating aspects of a Label.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest
- Request to create a Field within a Label.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
- Request to create a Selection Choice.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest
- Request to delete the Field.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest
- Request to delete a Choice.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest
- Request to disable the Field.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest
- Request to disable a Choice.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest
- Request to enable the Field.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest
- Request to enable a Choice.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest
- A single kind of update to apply to a Label.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest
- Request to update Field properties.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest
- Request to change the type of a Field.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest
- Updates basic properties of a Label.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
- Request to update a Choice properties.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse
- Response for Label update.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
- Response following Field create.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse
- Response following Selection Choice create.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse
- A single response from an update.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse
- Response following update to Field properties.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse
- Response following update to Selection Choice properties.
- GoogleAppsDriveLabelsV2DisableLabelRequest
- Request to deprecate a published Label.
- GoogleAppsDriveLabelsV2EnableLabelRequest
- Request to enable a label.
- GoogleAppsDriveLabelsV2Field
- Defines a field that has a display name, data type, and other configuration options.
- GoogleAppsDriveLabelsV2FieldAppliedCapabilities
- The capabilities related to this field on applied metadata.
- GoogleAppsDriveLabelsV2FieldDateOptions
- Options for the date field type.
- GoogleAppsDriveLabelsV2FieldDisplayHints
- UI display hints for rendering a field.
- GoogleAppsDriveLabelsV2FieldIntegerOptions
- Options for the Integer field type.
- GoogleAppsDriveLabelsV2FieldLimits
- Field constants governing the structure of a Field; such as, the maximum title length, minimum and maximum field values or length, etc.
- GoogleAppsDriveLabelsV2FieldListOptions
- Options for a multi-valued variant of an associated field type.
- GoogleAppsDriveLabelsV2FieldProperties
- The basic properties of the field.
- GoogleAppsDriveLabelsV2FieldSchemaCapabilities
- The capabilities related to this field when editing the field.
- GoogleAppsDriveLabelsV2FieldSelectionOptions
- Options for the selection field type.
- GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
- Selection field choice.
- GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
- The capabilities related to this choice on applied metadata.
- GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
- UI display hints for rendering an option.
- GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
- Basic properties of the choice.
- GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
- The capabilities related to this choice when editing the choice.
- GoogleAppsDriveLabelsV2FieldTextOptions
- Options for the Text field type.
- GoogleAppsDriveLabelsV2FieldUserOptions
- Options for the user field type.
- GoogleAppsDriveLabelsV2IntegerLimits
- Limits for integer Field type.
- GoogleAppsDriveLabelsV2Label
- A label defines a taxonomy that can be applied to Drive items in order to organize and search across items.
- GoogleAppsDriveLabelsV2LabelAppliedCapabilities
- The capabilities a user has on this label's applied metadata.
- GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
- Behavior of this label when it's applied to Drive items.
- GoogleAppsDriveLabelsV2LabelDisplayHints
- UI display hints for rendering the label.
- GoogleAppsDriveLabelsV2LabelLimits
- Label constraints governing the structure of a Label; such as, the maximum number of Fields allowed and maximum length of the label title.
- GoogleAppsDriveLabelsV2LabelLock
- A Lock that can be applied to a Label, Field, or Choice.
- GoogleAppsDriveLabelsV2LabelLockCapabilities
- A description of a user's capabilities on a LabelLock.
- GoogleAppsDriveLabelsV2LabelPermission
- The permission that applies to a principal (user, group, audience) on a label.
- GoogleAppsDriveLabelsV2LabelProperties
- Basic properties of the label.
- GoogleAppsDriveLabelsV2LabelSchemaCapabilities
- The capabilities related to this label when editing the label.
- GoogleAppsDriveLabelsV2Lifecycle
- The lifecycle state of an object, such as label, field, or choice.
- GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
- The policy that governs how to treat a disabled label, field, or selection choice in different contexts.
- GoogleAppsDriveLabelsV2ListLabelLocksResponse
- The response to a ListLabelLocksRequest.
- GoogleAppsDriveLabelsV2ListLabelPermissionsResponse
- Response for listing the permissions on a Label.
- GoogleAppsDriveLabelsV2ListLabelsResponse
- Response for listing Labels.
- GoogleAppsDriveLabelsV2ListLimits
- Limits for list-variant of a Field type.
- GoogleAppsDriveLabelsV2LockStatus
- Contains information about whether a label component should be considered locked.
- GoogleAppsDriveLabelsV2LongTextLimits
- Limits for long text Field type.
- GoogleAppsDriveLabelsV2PublishLabelRequest
- Request to publish a label.
- GoogleAppsDriveLabelsV2SelectionLimits
- Limits for selection Field type.
- GoogleAppsDriveLabelsV2TextLimits
- Limits for text Field type.
- GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest
-
Request to update the
CopyMode
of the given Label. - GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest
- Updates a Label Permission.
- GoogleAppsDriveLabelsV2UserCapabilities
- The capabilities of a user.
- GoogleAppsDriveLabelsV2UserInfo
- Information about a user.
- GoogleAppsDriveLabelsV2UserLimits
- Limits for Field.Type.USER.
- GoogleAppsDriveLabelsV2WriteControl
- Provides control over how write requests are executed.
- LabelsLocksResource
- LabelsPermissionsResource
- LabelsResource
- LabelsRevisionsLocksResource
- LabelsRevisionsPermissionsResource
- LabelsRevisionsResource
- LimitsResource
- UsersResource
Typedefs
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse = $Empty
- Response following Field delete.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse = $Empty
- Response following Choice delete.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse = $Empty
- Response following Field disable.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse = $Empty
- Response following Choice disable.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse = $Empty
- Response following Field enable.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse = $Empty
- Response following Choice enable.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse = $Empty
- Response following update to Field type.
- GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse = $Empty
- Response following update to Label properties.
- GoogleProtobufEmpty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- GoogleTypeColor = $Color
- Represents a color in the RGBA color space.
- GoogleTypeDate = $Date
- Represents a whole or partial calendar date, such as a birthday.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.