LabelsResource class

Constructors

LabelsResource.new(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
locks LabelsLocksResource
no setter
permissions LabelsPermissionsResource
no setter
revisions LabelsRevisionsResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(GoogleAppsDriveLabelsV2Label request, {String? languageCode, bool? useAdminAccess, String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Creates a label.
delete(String name, {bool? useAdminAccess, String? writeControl_requiredRevisionId, String? $fields}) Future<GoogleProtobufEmpty>
Permanently deletes a label and related metadata on Drive items.
delta(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest request, String name, {String? $fields}) Future<GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse>
Updates a single label by applying a set of update requests resulting in a new draft revision.
disable(GoogleAppsDriveLabelsV2DisableLabelRequest request, String name, {String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Disable a published label.
enable(GoogleAppsDriveLabelsV2EnableLabelRequest request, String name, {String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Enable a disabled label and restore it to its published state.
get(String name, {String? languageCode, bool? useAdminAccess, String? view, String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Get a label by its resource name.
list({String? customer, String? languageCode, String? minimumRole, int? pageSize, String? pageToken, bool? publishedOnly, bool? useAdminAccess, String? view, String? $fields}) Future<GoogleAppsDriveLabelsV2ListLabelsResponse>
List labels.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(GoogleAppsDriveLabelsV2PublishLabelRequest request, String name, {String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Publish all draft changes to the label.
toString() String
A string representation of this object.
inherited
updateLabelCopyMode(GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest request, String name, {String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Updates a label's CopyMode.
updateLabelEnabledAppSettings(GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest request, String name, {String? $fields}) Future<GoogleAppsDriveLabelsV2Label>
Updates a label's EnabledAppSettings.
updatePermissions(GoogleAppsDriveLabelsV2LabelPermission request, String parent, {bool? useAdminAccess, String? $fields}) Future<GoogleAppsDriveLabelsV2LabelPermission>
Updates a label's permissions.

Operators

operator ==(Object other) bool
The equality operator.
inherited