package google.apps.drive.labels.v2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service LabelService

label_service.proto:36

Manage metadata taxonomies based on Labels and Fields that may be used within Google Drive to organize and find files using custom metadata.

message BadgeColors

common.proto:130

The color derived from BadgeConfig and changed to the closest recommended supported color.

Used in: Field.SelectionOptions.Choice.DisplayHints

message BadgeConfig

common.proto:117

Badge status of the label.

Used in: Field.SelectionOptions.Choice.Properties

message DateLimits

label_limits.proto:125

Limits for date Field type.

Used in: FieldLimits

message DeleteLabelPermissionRequest

requests.proto:628

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

Used as request type in: LabelService.DeleteLabelPermission

Used as field type in: BatchDeleteLabelPermissionsRequest

message DeltaUpdateLabelRequest.CreateFieldRequest

requests.proto:210

Request to create a Field within a Label.

Used in: Request

message DeltaUpdateLabelRequest.CreateSelectionChoiceRequest

requests.proto:258

Request to create a Selection Choice.

Used in: Request

message DeltaUpdateLabelRequest.DeleteFieldRequest

requests.proto:204

Request to delete the Field.

Used in: Request

message DeltaUpdateLabelRequest.DeleteSelectionChoiceRequest

requests.proto:286

Request to delete a Choice.

Used in: Request

message DeltaUpdateLabelRequest.DisableFieldRequest

requests.proto:183

Request to disable the Field.

Used in: Request

message DeltaUpdateLabelRequest.DisableSelectionChoiceRequest

requests.proto:295

Request to disable a Choice.

Used in: Request

message DeltaUpdateLabelRequest.EnableFieldRequest

requests.proto:198

Request to enable the Field.

Used in: Request

message DeltaUpdateLabelRequest.EnableSelectionChoiceRequest

requests.proto:313

Request to enable a Choice.

Used in: Request

message DeltaUpdateLabelRequest.Request

requests.proto:129

A single kind of update to apply to a Label.

Used in: DeltaUpdateLabelRequest

message DeltaUpdateLabelRequest.UpdateFieldPropertiesRequest

requests.proto:216

Request to update Field properties.

Used in: Request

message DeltaUpdateLabelRequest.UpdateFieldTypeRequest

requests.proto:230

Request to change the type of a Field.

Used in: Request

message DeltaUpdateLabelRequest.UpdateLabelPropertiesRequest

requests.proto:172

Updates basic properties of a Label.

Used in: Request

message DeltaUpdateLabelRequest.UpdateSelectionChoicePropertiesRequest

requests.proto:268

Request to update a Choice properties.

Used in: Request

message DeltaUpdateLabelResponse.CreateFieldResponse

requests.proto:398

Response following Field create.

Used in: Response

message DeltaUpdateLabelResponse.CreateSelectionChoiceResponse

requests.proto:428

Response following Selection Choice create.

Used in: Response

message DeltaUpdateLabelResponse.DeleteFieldResponse

requests.proto:425

Response following Field delete.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.DeleteSelectionChoiceResponse

requests.proto:450

Response following Choice delete.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.DisableFieldResponse

requests.proto:422

Response following Field disable.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.DisableSelectionChoiceResponse

requests.proto:447

Response following Choice disable.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.EnableFieldResponse

requests.proto:419

Response following Field enable.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.EnableSelectionChoiceResponse

requests.proto:444

Response following Choice enable.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.Response

requests.proto:352

A single response from an update.

Used in: DeltaUpdateLabelResponse

message DeltaUpdateLabelResponse.UpdateFieldPropertiesResponse

requests.proto:409

Response following update to Field properties.

Used in: Response

message DeltaUpdateLabelResponse.UpdateFieldTypeResponse

requests.proto:416

Response following update to Field type.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.UpdateLabelPropertiesResponse

requests.proto:395

Response following update to Label properties.

Used in: Response

(message has no fields)

message DeltaUpdateLabelResponse.UpdateSelectionChoicePropertiesResponse

requests.proto:437

Response following update to Selection Choice properties.

Used in: Response

message ExceptionDetail

exception_detail.proto:112

Exception detail.

enum ExceptionType

exception_detail.proto:29

Every ExceptionType maps to one and only one Exception class. This allows internal clients to identify the exact server exception that caused the error for debugging and logging purposes. Add new ExceptionTypes to EXCEPTION_TYPE_TO_ERROR_CODE_MAP in j/c/g/apps/boq/metadata/model/service/exceptions/CategoryExceptionHelper

Used in: ExceptionDetail

message Field

field.proto:33

Defines a field that has a display name, data type, and other configuration options. This field defines the kind of metadata that may be set on a Drive item.

Used in: DeltaUpdateLabelRequest.CreateFieldRequest, Label

message Field.AppliedCapabilities

field.proto:84

The capabilities related to this field on applied metadata.

Used in: Field

message Field.DateOptions

field.proto:120

Options for the date field type.

Used in: DeltaUpdateLabelRequest.UpdateFieldTypeRequest, Field

enum Field.DateOptions.DateFormat

field.proto:122

Localized date format options.

Used in: DateOptions

message Field.DisplayHints

field.proto:48

UI display hints for rendering a field.

Used in: Field

message Field.IntegerOptions

field.proto:111

Options for the Integer field type.

Used in: DeltaUpdateLabelRequest.UpdateFieldTypeRequest, Field

message Field.ListOptions

field.proto:96

Options for a multi-valued variant of an associated field type.

Used in: SelectionOptions, UserOptions

message Field.Properties

field.proto:35

The basic properties of the field.

Used in: DeltaUpdateLabelRequest.UpdateFieldPropertiesRequest, Field

message Field.SchemaCapabilities

field.proto:65

The capabilities related to this field when editing the field.

Used in: Field

message Field.SelectionOptions

field.proto:152

Options for the selection field type.

Used in: DeltaUpdateLabelRequest.UpdateFieldTypeRequest, Field

message Field.SelectionOptions.Choice

field.proto:154

Selection field choice.

Used in: DeltaUpdateLabelRequest.CreateSelectionChoiceRequest, SelectionOptions

message Field.SelectionOptions.Choice.AppliedCapabilities

field.proto:219

The capabilities related to this choice on applied metadata.

Used in: Choice

message Field.SelectionOptions.Choice.DisplayHints

field.proto:174

UI display hints for rendering an option.

Used in: Choice

message Field.SelectionOptions.Choice.Properties

field.proto:156

Basic properties of the choice.

Used in: DeltaUpdateLabelRequest.UpdateSelectionChoicePropertiesRequest, Choice

message Field.SelectionOptions.Choice.SchemaCapabilities

field.proto:204

The capabilities related to this choice when editing the choice.

Used in: Choice

message Field.TextOptions

field.proto:102

Options for the Text field type.

Used in: DeltaUpdateLabelRequest.UpdateFieldTypeRequest, Field

message Field.UserOptions

field.proto:300

Options for the user field type.

Used in: DeltaUpdateLabelRequest.UpdateFieldTypeRequest, Field

message FieldLimits

label_limits.proto:61

Field constants governing the structure of a Field; such as, the maximum title length, minimum and maximum field values or length, etc.

Used in: LabelLimits

message IntegerLimits

label_limits.proto:116

Limits for integer Field type.

Used in: FieldLimits

message InvalidArgument

error_details.proto:26

Describes violations in a request to create or update a Label or its Fields.

message InvalidArgument.FieldViolation

error_details.proto:28

Describes the Field in which the violation occurred.

Used in: InvalidArgument

enum InvalidArgument.FieldViolation.Reason

error_details.proto:30

Possible reasons a field is invalid.

Used in: FieldViolation

message Label

label.proto:39

A label defines a taxonomy that can be applied to Drive items in order to organize and search across items. Labels can be simple strings, or can contain fields that describe additional metadata that can be further used to organize and search Drive items.

Used as response type in: LabelService.CreateLabel, LabelService.DisableLabel, LabelService.EnableLabel, LabelService.GetLabel, LabelService.PublishLabel, LabelService.UpdateLabelCopyMode

Used as field type in: CreateLabelRequest, DeltaUpdateLabelResponse, ListLabelsResponse

message Label.AppliedCapabilities

label.proto:72

The capabilities a user has on this label's applied metadata.

Used in: Label

message Label.AppliedLabelPolicy

label.proto:103

Behavior of this label when it's applied to Drive items.

Used in: Label

enum Label.AppliedLabelPolicy.CopyMode

label.proto:106

Indicates how the applied label and field values should be copied when a Drive item is copied.

Used in: AppliedLabelPolicy, UpdateLabelCopyModeRequest

message Label.DisplayHints

label.proto:55

UI display hints for rendering the label.

Used in: Label

enum Label.LabelType

label.proto:130

The type of this label.

Used in: Label

message Label.Properties

label.proto:46

Basic properties of the label.

Used in: DeltaUpdateLabelRequest.UpdateLabelPropertiesRequest, Label

message Label.SchemaCapabilities

label.proto:84

The capabilities related to this label when editing the label.

Used in: Label

message LabelLock

label_lock.proto:31

A Lock that can be applied to a Label, Field, or Choice.

Used in: ListLabelLocksResponse

message LabelLock.Capabilities

label_lock.proto:38

A description of a user's capabilities on a LabelLock.

Used in: LabelLock

enum LabelLock.State

label_lock.proto:44

A description of a LabelLock's state.

Used in: LabelLock

message LabelPermission

label_permission.proto:33

The permission that applies to a principal (user, group, audience) on a label.

Used as response type in: LabelService.CreateLabelPermission, LabelService.UpdateLabelPermission

Used as field type in: BatchUpdateLabelPermissionsResponse, CreateLabelPermissionRequest, ListLabelPermissionsResponse, UpdateLabelPermissionRequest

enum LabelPermission.LabelRole

label_permission.proto:40

Roles are concentric with subsequent role.

Used in: LabelPermission, ListLabelsRequest

enum LabelView

requests.proto:37

Resource view that can be applied to label responses. The default value `LABEL_VIEW_BASIC` implies the field mask: `name,id,revision_id,label_type,properties.*`\

Used in: DeltaUpdateLabelRequest, GetLabelRequest, ListLabelsRequest, UpdateLabelCopyModeRequest

message Lifecycle

common.proto:51

The lifecycle state of an object, such as label, field, or choice. The lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled states have some distinct characteristics: * Published—Some kinds of changes might be made to an object in this state, in which case `has_unpublished_changes` will be true. Also, some kinds of changes are not permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label are rejected. * Disabled—When disabled, the configured `DisabledPolicy` takes effect.

Used in: Field, Field.SelectionOptions.Choice, Label

message Lifecycle.DisabledPolicy

common.proto:54

The policy that governs how to treat a disabled label, field, or selection choice in different contexts.

Used in: DeltaUpdateLabelRequest.DisableFieldRequest, DeltaUpdateLabelRequest.DisableSelectionChoiceRequest, DisableLabelRequest, Lifecycle

enum Lifecycle.State

common.proto:72

The state of the object associated with this lifecycle.

Used in: Lifecycle

message ListLimits

label_limits.proto:92

Limits for list-variant of a Field type.

Used in: SelectionLimits, UserLimits

message LockStatus

common.proto:145

Contains information about whether a label component should be considered locked.

Used in: Field, Field.SelectionOptions.Choice, Label

message LongTextLimits

label_limits.proto:107

Limits for long text Field type.

Used in: FieldLimits

message PreconditionFailure

error_details.proto:75

Describes what preconditions have failed.

message PreconditionFailure.Violation

error_details.proto:77

Specific failure reason.

Used in: PreconditionFailure

enum PreconditionFailure.Violation.Reason

error_details.proto:79

The possible reasons a the violation occurred.

Used in: Violation

message SelectionLimits

label_limits.proto:134

Limits for selection Field type.

Used in: FieldLimits

message TextLimits

label_limits.proto:98

Limits for text Field type.

Used in: FieldLimits

message UpdateLabelPermissionRequest

requests.proto:609

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

Used as request type in: LabelService.UpdateLabelPermission

Used as field type in: BatchUpdateLabelPermissionsRequest

message UserInfo

common.proto:107

Information about a user.

Used in: Field, Field.SelectionOptions.Choice, Label, LabelLock

message UserLimits

label_limits.proto:152

Limits for Field.Type.USER.

Used in: FieldLimits

message WriteControl

requests.proto:48

Provides control over how write requests are executed. When not specified, the last write wins.

Used in: DeleteLabelRequest, DeltaUpdateLabelRequest, DisableLabelRequest, EnableLabelRequest, PublishLabelRequest