Liking cljdoc? Tell your friends :D

happygapi.drivelabels.labels

Drive Labels API: labels. An API for managing Drive Labels See: https://developers.google.com/drive/labelsapi/reference/rest/v2/labels

Drive Labels API: labels.
An API for managing Drive Labels
See: https://developers.google.com/drive/labelsapi/reference/rest/v2/labels
raw docstring

create$clj

(create$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/create

Required parameters: none

Optional parameters: languageCode, useAdminAccess

Body:

{:disabler {:person string}, :properties {:title string, :description string}, :appliedCapabilities {:canRead boolean, :canApply boolean, :canRemove boolean}, :appliedLabelPolicy {:copyMode string}, :creator {:person string}, :publisher {:person string}, :publishTime string, :revisionCreateTime string, :name string, :fields [{:disabler GoogleAppsDriveLabelsV2UserInfo, :properties GoogleAppsDriveLabelsV2FieldProperties, :appliedCapabilities GoogleAppsDriveLabelsV2FieldAppliedCapabilities, :dateOptions GoogleAppsDriveLabelsV2FieldDateOptions, :creator GoogleAppsDriveLabelsV2UserInfo, :publisher GoogleAppsDriveLabelsV2UserInfo, :integerOptions GoogleAppsDriveLabelsV2FieldIntegerOptions, :createTime string, :schemaCapabilities GoogleAppsDriveLabelsV2FieldSchemaCapabilities, :queryKey string, :lifecycle GoogleAppsDriveLabelsV2Lifecycle, :updateTime string, :disableTime string, :displayHints GoogleAppsDriveLabelsV2FieldDisplayHints, :id string, :userOptions GoogleAppsDriveLabelsV2FieldUserOptions, :updater GoogleAppsDriveLabelsV2UserInfo, :selectionOptions GoogleAppsDriveLabelsV2FieldSelectionOptions, :textOptions GoogleAppsDriveLabelsV2FieldTextOptions, :lockStatus GoogleAppsDriveLabelsV2LockStatus}], :createTime string, :revisionId string, :labelType string, :schemaCapabilities {:canDisable boolean, :canEnable boolean, :canDelete boolean, :canUpdate boolean}, :lifecycle {:hasUnpublishedChanges boolean, :disabledPolicy GoogleAppsDriveLabelsV2LifecycleDisabledPolicy, :state string}, :customer string, :disableTime string, :displayHints {:shownInApply boolean, :disabled boolean, :priority string, :hiddenInSearch boolean}, :id string, :revisionCreator {:person string}, :lockStatus {:locked boolean}, :learnMoreUri string}

Creates a new Label.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/create

Required parameters: none

Optional parameters: languageCode, useAdminAccess

Body: 

{:disabler {:person string},
 :properties {:title string, :description string},
 :appliedCapabilities {:canRead boolean,
                       :canApply boolean,
                       :canRemove boolean},
 :appliedLabelPolicy {:copyMode string},
 :creator {:person string},
 :publisher {:person string},
 :publishTime string,
 :revisionCreateTime string,
 :name string,
 :fields [{:disabler GoogleAppsDriveLabelsV2UserInfo,
           :properties GoogleAppsDriveLabelsV2FieldProperties,
           :appliedCapabilities GoogleAppsDriveLabelsV2FieldAppliedCapabilities,
           :dateOptions GoogleAppsDriveLabelsV2FieldDateOptions,
           :creator GoogleAppsDriveLabelsV2UserInfo,
           :publisher GoogleAppsDriveLabelsV2UserInfo,
           :integerOptions GoogleAppsDriveLabelsV2FieldIntegerOptions,
           :createTime string,
           :schemaCapabilities GoogleAppsDriveLabelsV2FieldSchemaCapabilities,
           :queryKey string,
           :lifecycle GoogleAppsDriveLabelsV2Lifecycle,
           :updateTime string,
           :disableTime string,
           :displayHints GoogleAppsDriveLabelsV2FieldDisplayHints,
           :id string,
           :userOptions GoogleAppsDriveLabelsV2FieldUserOptions,
           :updater GoogleAppsDriveLabelsV2UserInfo,
           :selectionOptions GoogleAppsDriveLabelsV2FieldSelectionOptions,
           :textOptions GoogleAppsDriveLabelsV2FieldTextOptions,
           :lockStatus GoogleAppsDriveLabelsV2LockStatus}],
 :createTime string,
 :revisionId string,
 :labelType string,
 :schemaCapabilities {:canDisable boolean,
                      :canEnable boolean,
                      :canDelete boolean,
                      :canUpdate boolean},
 :lifecycle {:hasUnpublishedChanges boolean,
             :disabledPolicy GoogleAppsDriveLabelsV2LifecycleDisabledPolicy,
             :state string},
 :customer string,
 :disableTime string,
 :displayHints {:shownInApply boolean,
                :disabled boolean,
                :priority string,
                :hiddenInSearch boolean},
 :id string,
 :revisionCreator {:person string},
 :lockStatus {:locked boolean},
 :learnMoreUri string}

Creates a new Label.
sourceraw docstring

delete$clj

(delete$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/delete

Required parameters: name

Optional parameters: writeControl.requiredRevisionId, useAdminAccess

Permanently deletes a Label and related metadata on Drive Items. Once deleted, the Label and related Drive item metadata will be deleted. Only draft Labels, and disabled Labels may be deleted.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/delete

Required parameters: name

Optional parameters: writeControl.requiredRevisionId, useAdminAccess

Permanently deletes a Label and related metadata on Drive Items. Once deleted, the Label and related Drive item metadata will be deleted. Only draft Labels, and disabled Labels may be deleted.
sourceraw docstring

delta$clj

(delta$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/delta

Required parameters: name

Optional parameters: none

Body:

{:requests [{:disableField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest, :deleteSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest, :enableSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest, :disableSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest, :createSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest, :createField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest, :updateSelectionChoiceProperties GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest, :enableField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest, :updateLabel GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest, :updateField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest, :updateFieldType GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest, :deleteField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest}], :view string, :useAdminAccess boolean, :writeControl {:requiredRevisionId string}, :languageCode string}

Updates a single Label by applying a set of update requests resulting in a new draft revision. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive Items.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/delta

Required parameters: name

Optional parameters: none

Body: 

{:requests [{:disableField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest,
             :deleteSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest,
             :enableSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest,
             :disableSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest,
             :createSelectionChoice GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest,
             :createField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest,
             :updateSelectionChoiceProperties GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest,
             :enableField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest,
             :updateLabel GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest,
             :updateField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest,
             :updateFieldType GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest,
             :deleteField GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest}],
 :view string,
 :useAdminAccess boolean,
 :writeControl {:requiredRevisionId string},
 :languageCode string}

Updates a single Label by applying a set of update requests resulting in a new draft revision. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive Items.
sourceraw docstring

disable$clj

(disable$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/disable

Required parameters: name

Optional parameters: none

Body:

{:languageCode string, :disabledPolicy {:hideInSearch boolean, :showInApply boolean}, :useAdminAccess boolean, :updateMask string, :writeControl {:requiredRevisionId string}}

Disable a published Label. Disabling a Label will result in a new disabled published revision based on the current published revision. If there is a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with DeleteLabel.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/disable

Required parameters: name

Optional parameters: none

Body: 

{:languageCode string,
 :disabledPolicy {:hideInSearch boolean, :showInApply boolean},
 :useAdminAccess boolean,
 :updateMask string,
 :writeControl {:requiredRevisionId string}}

Disable a published Label. Disabling a Label will result in a new disabled published revision based on the current published revision. If there is a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`.
sourceraw docstring

enable$clj

(enable$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/enable

Required parameters: name

Optional parameters: none

Body:

{:languageCode string, :writeControl {:requiredRevisionId string}, :useAdminAccess boolean}

Enable a disabled Label and restore it to its published state. This will result in a new published revision based on the current disabled published revision. If there is an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/enable

Required parameters: name

Optional parameters: none

Body: 

{:languageCode string,
 :writeControl {:requiredRevisionId string},
 :useAdminAccess boolean}

Enable a disabled Label and restore it to its published state. This will result in a new published revision based on the current disabled published revision. If there is an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/get

Required parameters: name

Optional parameters: languageCode, useAdminAccess, view

Get a label by its resource name. Resource name may be any of: * labels/{id} - See labels/{id}@latest * labels/{id}@latest - Gets the latest revision of the label. * labels/{id}@published - Gets the current published revision of the label. * labels/{id}@{revision_id} - Gets the label at the specified revision ID.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/get

Required parameters: name

Optional parameters: languageCode, useAdminAccess, view

Get a label by its resource name. Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/list

Required parameters: none

Optional parameters: useAdminAccess, languageCode, pageSize, pageToken, customer, publishedOnly, view, minimumRole

List labels.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/list

Required parameters: none

Optional parameters: useAdminAccess, languageCode, pageSize, pageToken, customer, publishedOnly, view, minimumRole

List labels.
sourceraw docstring

locks-list$clj

(locks-list$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/locks/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the LabelLocks on a Label.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/locks/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the LabelLocks on a Label.
sourceraw docstring

permissions-batchDelete$clj

(permissions-batchDelete$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/batchDelete

Required parameters: parent

Optional parameters: none

Body:

{:requests [{:name string, :useAdminAccess boolean}], :useAdminAccess boolean}

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

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/batchDelete

Required parameters: parent

Optional parameters: none

Body: 

{:requests [{:name string, :useAdminAccess boolean}],
 :useAdminAccess boolean}

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

permissions-batchUpdate$clj

(permissions-batchUpdate$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/batchUpdate

Required parameters: parent

Optional parameters: none

Body:

{:useAdminAccess boolean, :requests [{:useAdminAccess boolean, :labelPermission GoogleAppsDriveLabelsV2LabelPermission, :parent string}]}

Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/batchUpdate

Required parameters: parent

Optional parameters: none

Body: 

{:useAdminAccess boolean,
 :requests [{:useAdminAccess boolean,
             :labelPermission GoogleAppsDriveLabelsV2LabelPermission,
             :parent string}]}

Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

permissions-create$clj

(permissions-create$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/create

Required parameters: parent

Optional parameters: useAdminAccess

Body:

{:name string, :person string, :role string, :group string, :audience string, :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/create

Required parameters: parent

Optional parameters: useAdminAccess

Body: 

{:name string,
 :person string,
 :role string,
 :group string,
 :audience string,
 :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

permissions-delete$clj

(permissions-delete$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/delete

Required parameters: name

Optional parameters: useAdminAccess

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

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/delete

Required parameters: name

Optional parameters: useAdminAccess

Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

permissions-list$clj

(permissions-list$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/list

Required parameters: parent

Optional parameters: pageSize, useAdminAccess, pageToken

Lists a Label's permissions.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/permissions/list

Required parameters: parent

Optional parameters: pageSize, useAdminAccess, pageToken

Lists a Label's permissions.
sourceraw docstring

publish$clj

(publish$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/publish

Required parameters: name

Optional parameters: none

Body:

{:writeControl {:requiredRevisionId string}, :languageCode string, :useAdminAccess boolean}

Publish all draft changes to the Label. Once published, the Label may not return to its draft state. See google.apps.drive.labels.v2.Lifecycle for more information. Publishing a Label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the Label will be rejected. For example, the following changes to a Label will be rejected after the Label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * Field.FieldType cannot be changed. * Changes to Field validation options cannot reject something that was previously accepted. * Reducing the max entries.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/publish

Required parameters: name

Optional parameters: none

Body: 

{:writeControl {:requiredRevisionId string},
 :languageCode string,
 :useAdminAccess boolean}

Publish all draft changes to the Label. Once published, the Label may not return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for more information. Publishing a Label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the Label will be rejected. For example, the following changes to a Label will be rejected after the Label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * Field.FieldType cannot be changed. * Changes to Field validation options cannot reject something that was previously accepted. * Reducing the max entries.
sourceraw docstring

revisions-locks-list$clj

(revisions-locks-list$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/locks/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the LabelLocks on a Label.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/locks/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the LabelLocks on a Label.
sourceraw docstring

revisions-permissions-batchDelete$clj

(revisions-permissions-batchDelete$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/batchDelete

Required parameters: parent

Optional parameters: none

Body:

{:requests [{:name string, :useAdminAccess boolean}], :useAdminAccess boolean}

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

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/batchDelete

Required parameters: parent

Optional parameters: none

Body: 

{:requests [{:name string, :useAdminAccess boolean}],
 :useAdminAccess boolean}

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

revisions-permissions-batchUpdate$clj

(revisions-permissions-batchUpdate$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/batchUpdate

Required parameters: parent

Optional parameters: none

Body:

{:useAdminAccess boolean, :requests [{:useAdminAccess boolean, :labelPermission GoogleAppsDriveLabelsV2LabelPermission, :parent string}]}

Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/batchUpdate

Required parameters: parent

Optional parameters: none

Body: 

{:useAdminAccess boolean,
 :requests [{:useAdminAccess boolean,
             :labelPermission GoogleAppsDriveLabelsV2LabelPermission,
             :parent string}]}

Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

revisions-permissions-create$clj

(revisions-permissions-create$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/create

Required parameters: parent

Optional parameters: useAdminAccess

Body:

{:name string, :person string, :role string, :group string, :audience string, :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/create

Required parameters: parent

Optional parameters: useAdminAccess

Body: 

{:name string,
 :person string,
 :role string,
 :group string,
 :audience string,
 :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

revisions-permissions-delete$clj

(revisions-permissions-delete$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/delete

Required parameters: name

Optional parameters: useAdminAccess

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

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/delete

Required parameters: name

Optional parameters: useAdminAccess

Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

revisions-permissions-list$clj

(revisions-permissions-list$ auth parameters)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/list

Required parameters: parent

Optional parameters: pageSize, pageToken, useAdminAccess

Lists a Label's permissions.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/permissions/list

Required parameters: parent

Optional parameters: pageSize, pageToken, useAdminAccess

Lists a Label's permissions.
sourceraw docstring

revisions-updatePermissions$clj

(revisions-updatePermissions$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/updatePermissions

Required parameters: parent

Optional parameters: useAdminAccess

Body:

{:name string, :person string, :role string, :group string, :audience string, :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/revisions/updatePermissions

Required parameters: parent

Optional parameters: useAdminAccess

Body: 

{:name string,
 :person string,
 :role string,
 :group string,
 :audience string,
 :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

updateLabelCopyMode$clj

(updateLabelCopyMode$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/updateLabelCopyMode

Required parameters: name

Optional parameters: none

Body:

{:view string, :copyMode string, :useAdminAccess boolean, :languageCode string}

Updates a Label's CopyMode. Changes to this policy are not revisioned, do not require publishing, and take effect immediately.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/updateLabelCopyMode

Required parameters: name

Optional parameters: none

Body: 

{:view string,
 :copyMode string,
 :useAdminAccess boolean,
 :languageCode string}

Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do not require publishing, and take effect immediately.
sourceraw docstring

updatePermissions$clj

(updatePermissions$ auth parameters body)

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/updatePermissions

Required parameters: parent

Optional parameters: useAdminAccess

Body:

{:name string, :person string, :role string, :group string, :audience string, :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.

https://developers.google.com/drive/labelsapi/reference/rest/v2/labels/updatePermissions

Required parameters: parent

Optional parameters: useAdminAccess

Body: 

{:name string,
 :person string,
 :role string,
 :group string,
 :audience string,
 :email string}

Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close