Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleAppsDriveLabelsV2Label

import type { GoogleAppsDriveLabelsV2Label } from "https://googleapis.deno.dev/v1/drivelabels:v2.ts";

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.

interface GoogleAppsDriveLabelsV2Label {
readonly appliedCapabilities?: GoogleAppsDriveLabelsV2LabelAppliedCapabilities;
readonly appliedLabelPolicy?: GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy;
readonly createTime?: Date;
readonly customer?: string;
readonly disabler?: GoogleAppsDriveLabelsV2UserInfo;
readonly disableTime?: Date;
readonly id?: string;
labelType?:
| "LABEL_TYPE_UNSPECIFIED"
| "SHARED"
| "ADMIN"
| "GOOGLE_APP";
learnMoreUri?: string;
readonly lifecycle?: GoogleAppsDriveLabelsV2Lifecycle;
readonly lockStatus?: GoogleAppsDriveLabelsV2LockStatus;
readonly name?: string;
readonly publisher?: GoogleAppsDriveLabelsV2UserInfo;
readonly publishTime?: Date;
readonly revisionCreateTime?: Date;
readonly revisionCreator?: GoogleAppsDriveLabelsV2UserInfo;
readonly revisionId?: string;
readonly schemaCapabilities?: GoogleAppsDriveLabelsV2LabelSchemaCapabilities;
}

§Properties

§

Output only. The capabilities related to this label on applied metadata.

§

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

§
readonly createTime?: Date
[src]

Output only. The time this label was created.

§

Output only. The user who created this label.

§
readonly customer?: string
[src]

Output only. The customer this label belongs to. For example: "customers/123abc789."

§

Output only. The user who disabled this label. This value has no meaning when the label is not disabled.

§
readonly disableTime?: Date
[src]

Output only. The time this label was disabled. This value has no meaning when the label is not disabled.

§

Output only. UI display hints for rendering the label.

§

List of fields in descending priority order.

§
readonly id?: string
[src]

Output only. Globally unique identifier of this label. ID makes up part of the label name, but unlike name, ID is consistent between revisions. Matches the regex: ([a-zA-Z0-9])+

§
labelType?: "LABEL_TYPE_UNSPECIFIED" | "SHARED" | "ADMIN" | "GOOGLE_APP"
[src]

Required. The type of label.

§
learnMoreUri?: string
[src]

Custom URL to present to users to allow them to learn more about this label and how it should be used.

§

Output only. The lifecycle state of the label including whether it's published, deprecated, and has draft changes.

§

Output only. The LockStatus of this label.

§
readonly name?: string
[src]

Output only. Resource name of the label. Will be in the form of either: labels/{id} or labels/{id}@{revision_id} depending on the request. See id and revision_id below.

§

Required. The basic properties of the label.

§

Output only. The user who published this label. This value has no meaning when the label is not published.

§
readonly publishTime?: Date
[src]

Output only. The time this label was published. This value has no meaning when the label is not published.

§
readonly revisionCreateTime?: Date
[src]

Output only. The time this label revision was created.

§
readonly revisionCreator?: GoogleAppsDriveLabelsV2UserInfo
[src]

Output only. The user who created this label revision.

§
readonly revisionId?: string
[src]

Output only. Revision ID of the label. Revision ID might be part of the label name depending on the request issued. A new revision is created whenever revisioned properties of a label are changed. Matches the regex: ([a-zA-Z0-9])+

§

Output only. The capabilities the user has on this label.