drivelabels.v2 library Null safety

Drive Labels API - v2

An API for managing Drive Labels

For more information, see developers.google.cn/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.
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.
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.
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.
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.
GoogleAppsDriveLabelsV2ListLabelsResponse
Response for listing Labels.
GoogleAppsDriveLabelsV2LockStatus
Contains information about whether a label component should be considered locked.
GoogleAppsDriveLabelsV2UserInfo
Information about a user.
LabelsResource

Typedefs

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.