LabelsResource class

Constructors

LabelsResource(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 new 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.
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