openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 96.8 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://drivelabels.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"An API for managing Drive Labels","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Drive Labels API","version":"v2beta","x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://upload.wikimedia.org/wikipedia/commons/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg"},"x-origin":[{"format":"google","url":"https://drivelabels.googleapis.com/$discovery/rest?version=v2beta","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"drivelabels"},"externalDocs":{"url":"https://developers.google.com/drive/labels"},"tags":[{"name":"labels"},{"name":"limits"},{"name":"users"}],"paths":{"/v2beta/labels":{"get":{"description":"List labels.","operationId":"drivelabels.labels.list","parameters":[{"description":"The customer to scope this list request to. For example: \"customers/abcd1234\". If unset, will return all labels within the current customer.","in":"query","name":"customer","schema":{"type":"string"}},{"description":"The BCP-47 language code to use for evaluating localized field labels. When not specified, values in the default configured language are used.","in":"query","name":"languageCode","schema":{"type":"string"}},{"description":"Specifies the level of access the user must have on the returned Labels. The minimum role a user must have on a label. Defaults to `READER`.","in":"query","name":"minimumRole","schema":{"enum":["LABEL_ROLE_UNSPECIFIED","READER","APPLIER","ORGANIZER","EDITOR"],"type":"string"}},{"description":"Maximum number of labels to return per page. Default: 50. Max: 200.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The token of the page to return.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Whether to include only published labels in the results. * When `true`, only the current published label revisions are returned. Disabled labels are included. Returned label resource names reference the published revision (`labels/{id}/{revision_id}`). * When `false`, the current label revisions are returned, which might not be published. Returned label resource names don't reference a specific revision (`labels/{id}`).","in":"query","name":"publishedOnly","schema":{"type":"boolean"}},{"description":"Set to `true` in order to use the user's admin credentials. This will return all Labels within the customer.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}},{"description":"When specified, only certain fields belonging to the indicated view are returned.","in":"query","name":"view","schema":{"enum":["LABEL_VIEW_BASIC","LABEL_VIEW_FULL"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaListLabelsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels.readonly"]}],"tags":["labels"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a new Label.","operationId":"drivelabels.labels.create","parameters":[{"description":"The BCP-47 language code to use for evaluating localized Field labels in response. When not specified, values in the default configured language will be used.","in":"query","name":"languageCode","schema":{"type":"string"}},{"description":"Set to `true` in order to use the user's admin privileges. The server will verify the user is an admin before allowing access.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/limits/label":{"get":{"description":"Get the constraints on the structure of a Label; such as, the maximum number of Fields allowed and maximum length of the label title.","operationId":"drivelabels.limits.getLabel","parameters":[{"description":"Required. Label revision resource name Must be: \"limits/label\"","in":"query","name":"name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelLimits"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels.readonly"]}],"tags":["limits"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v2beta/{name}":{"delete":{"description":"Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.","operationId":"drivelabels.labels.revisions.permissions.delete","parameters":[{"description":"Required. Label Permission resource name.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}},{"description":"The revision_id of the label that the write request will be applied to. If this is not the latest revision of the label, the request will not be processed and will return a 400 Bad Request error.","in":"query","name":"writeControl.requiredRevisionId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]},"get":{"description":"Gets the user capabilities.","operationId":"drivelabels.users.getCapabilities","parameters":[{"description":"Required. The resource name of the user. Only \"users/me/capabilities\" is supported.","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"The customer to scope this request to. For example: \"customers/abcd1234\". If unset, will return settings within the current customer.","in":"query","name":"customer","schema":{"type":"string"}},{"description":"Set to `true` in order to use the user's admin credentials. The server verifies that the user is an admin for the label before allowing access.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}},{"description":"When specified, only certain fields belonging to the indicated view are returned.","in":"query","name":"view","schema":{"enum":["LABEL_VIEW_BASIC","LABEL_VIEW_FULL"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaUserCapabilities"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels.readonly"]}],"tags":["users"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v2beta/{name}:delta":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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.","operationId":"drivelabels.labels.delta","parameters":[{"description":"Required. The resource name of the Label to update.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{name}:disable":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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`.","operationId":"drivelabels.labels.disable","parameters":[{"description":"Required. Label resource name.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDisableLabelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{name}:enable":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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.","operationId":"drivelabels.labels.enable","parameters":[{"description":"Required. Label resource name.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaEnableLabelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{name}:publish":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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.","operationId":"drivelabels.labels.publish","parameters":[{"description":"Required. Label resource name.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaPublishLabelRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{name}:updateLabelCopyMode":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do not require publishing, and take effect immediately.","operationId":"drivelabels.labels.updateLabelCopyMode","parameters":[{"description":"Required. The resource name of the Label to update.","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaUpdateLabelCopyModeRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{parent}/locks":{"get":{"description":"Lists the LabelLocks on a Label.","operationId":"drivelabels.labels.revisions.locks.list","parameters":[{"description":"Required. Label on which Locks are applied. Format: labels/{label}","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Maximum number of Locks to return per page. Default: 100. Max: 200.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The token of the page to return.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaListLabelLocksResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels.readonly"]}],"tags":["labels"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v2beta/{parent}/permissions":{"get":{"description":"Lists a Label's permissions.","operationId":"drivelabels.labels.revisions.permissions.list","parameters":[{"description":"Required. The parent Label resource name on which Label Permission are listed. Format: labels/{label}","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Maximum number of permissions to return per page. Default: 50. Max: 200.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"The token of the page to return.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaListLabelPermissionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels.readonly"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels.readonly"]}],"tags":["labels"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"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.","operationId":"drivelabels.labels.revisions.updatePermissions","parameters":[{"description":"Required. The parent Label resource name.","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelPermission"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelPermission"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]},"post":{"description":"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.","operationId":"drivelabels.labels.revisions.permissions.create","parameters":[{"description":"Required. The parent Label resource name on the Label Permission is created. Format: labels/{label}","in":"path","name":"parent","required":true,"schema":{"type":"string"}},{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.","in":"query","name":"useAdminAccess","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelPermission"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelPermission"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{parent}/permissions:batchDelete":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.","operationId":"drivelabels.labels.revisions.permissions.batchDelete","parameters":[{"description":"Required. The parent Label resource name shared by all permissions being deleted. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleProtobufEmpty"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}},"/v2beta/{parent}/permissions:batchUpdate":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"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.","operationId":"drivelabels.labels.revisions.permissions.batchUpdate","parameters":[{"description":"Required. The parent Label resource name shared by all permissions being updated. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.","in":"path","name":"parent","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive.admin.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.admin.labels"]},{"Oauth2":["https://www.googleapis.com/auth/drive.labels"],"Oauth2c":["https://www.googleapis.com/auth/drive.labels"]}],"tags":["labels"]}}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"GoogleAppsDriveLabelsV2betaBadgeColors":{"description":"The color derived from BadgeConfig and changed to the closest recommended supported color.","properties":{"backgroundColor":{"$ref":"#/components/schemas/GoogleTypeColor","description":"Output only. Badge background that pairs with the foreground.","readOnly":true},"foregroundColor":{"$ref":"#/components/schemas/GoogleTypeColor","description":"Output only. Badge foreground that pairs with the background.","readOnly":true},"soloColor":{"$ref":"#/components/schemas/GoogleTypeColor","description":"Output only. Color that can be used for text without a background.","readOnly":true}},"type":"object"},"GoogleAppsDriveLabelsV2betaBadgeConfig":{"description":"Badge status of the label.","properties":{"color":{"$ref":"#/components/schemas/GoogleTypeColor","description":"The color of the badge. When not specified, no badge is rendered. The background, foreground, and solo (light and dark mode) colors set here are changed in the Drive UI into the closest recommended supported color."},"priorityOverride":{"description":"Override the default global priority of this badge. When set to 0, the default priority heuristic is used.","format":"int64","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaBatchDeleteLabelPermissionsRequest":{"description":"Deletes one of more Label Permissions.","properties":{"requests":{"description":"Required. The request message specifying the resources to update.","items":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest"},"type":"array"},"useAdminAccess":{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access. If this is set, the use_admin_access field in the DeleteLabelPermissionRequest messages must either be empty or match this field.","type":"boolean"}},"type":"object"},"GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsRequest":{"description":"Updates one or more Label Permissions.","properties":{"requests":{"description":"Required. The request message specifying the resources to update.","items":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaUpdateLabelPermissionRequest"},"type":"array"},"useAdminAccess":{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access. If this is set, the use_admin_access field in the UpdateLabelPermissionRequest messages must either be empty or match this field.","type":"boolean"}},"type":"object"},"GoogleAppsDriveLabelsV2betaBatchUpdateLabelPermissionsResponse":{"description":"Response for updating one or more Label Permissions.","properties":{"permissions":{"description":"Required. Permissions updated.","items":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelPermission"},"type":"array"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDateLimits":{"description":"Limits for date Field type.","properties":{"maxValue":{"$ref":"#/components/schemas/GoogleTypeDate","description":"Maximum value for the date Field type."},"minValue":{"$ref":"#/components/schemas/GoogleTypeDate","description":"Minimum value for the date Field type."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeleteLabelPermissionRequest":{"description":"Deletes a Label Permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.","properties":{"name":{"description":"Required. Label Permission resource name.","type":"string"},"useAdminAccess":{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.","type":"boolean"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequest":{"description":"The set of requests for updating aspects of a Label. If any request is not valid, no requests will be applied.","properties":{"languageCode":{"description":"The BCP-47 language code to use for evaluating localized Field labels when `include_label_in_response` is `true`.","type":"string"},"requests":{"description":"A list of updates to apply to the Label. Requests will be applied in the order they are specified.","items":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest"},"type":"array"},"useAdminAccess":{"description":"Set to `true` in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access.","type":"boolean"},"view":{"description":"When specified, only certain fields belonging to the indicated view will be returned.","enum":["LABEL_VIEW_BASIC","LABEL_VIEW_FULL"],"type":"string"},"writeControl":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaWriteControl","description":"Provides control over how write requests are executed."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest":{"description":"Request to create a Field within a Label.","properties":{"field":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaField","description":"Required. Field to create."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest":{"description":"Request to create a Selection Choice.","properties":{"choice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoice","description":"Required. The Choice to create."},"fieldId":{"description":"Required. The Selection Field in which a Choice will be created.","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest":{"description":"Request to delete the Field.","properties":{"id":{"description":"Required. ID of the Field to delete.","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest":{"description":"Request to delete a Choice.","properties":{"fieldId":{"description":"Required. The Selection Field from which a Choice will be deleted.","type":"string"},"id":{"description":"Required. Choice to delete.","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest":{"description":"Request to disable the Field.","properties":{"disabledPolicy":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy","description":"Required. Field Disabled Policy."},"id":{"description":"Required. Key of the Field to disable.","type":"string"},"updateMask":{"description":"The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as short-hand for updating every field.","format":"google-fieldmask","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest":{"description":"Request to disable a Choice.","properties":{"disabledPolicy":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy","description":"Required. The disabled policy to update."},"fieldId":{"description":"Required. The Selection Field in which a Choice will be disabled.","type":"string"},"id":{"description":"Required. Choice to disable.","type":"string"},"updateMask":{"description":"The fields that should be updated. At least one field must be specified. The root `disabled_policy` is implied and should not be specified. A single `*` can be used as short-hand for updating every field.","format":"google-fieldmask","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest":{"description":"Request to enable the Field.","properties":{"id":{"description":"Required. ID of the Field to enable.","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest":{"description":"Request to enable a Choice.","properties":{"fieldId":{"description":"Required. The Selection Field in which a Choice will be enabled.","type":"string"},"id":{"description":"Required. Choice to enable.","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestRequest":{"description":"A single kind of update to apply to a Label.","properties":{"createField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateFieldRequest","description":"Creates a new Field."},"createSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestCreateSelectionChoiceRequest","description":"Creates Choice within a Selection field."},"deleteField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteFieldRequest","description":"Deletes a Field from the label."},"deleteSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDeleteSelectionChoiceRequest","description":"Delete a Choice within a Selection Field."},"disableField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableFieldRequest","description":"Disables the Field."},"disableSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestDisableSelectionChoiceRequest","description":"Disable a Choice within a Selection Field."},"enableField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableFieldRequest","description":"Enables the Field."},"enableSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestEnableSelectionChoiceRequest","description":"Enable a Choice within a Selection Field."},"updateField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest","description":"Updates basic properties of a Field."},"updateFieldType":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest","description":"Update Field type and/or type options."},"updateLabel":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest","description":"Updates the Label properties."},"updateSelectionChoiceProperties":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest","description":"Update a Choice properties within a Selection Field."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldPropertiesRequest":{"description":"Request to update Field properties.","properties":{"id":{"description":"Required. The Field to update.","type":"string"},"properties":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldProperties","description":"Required. Basic Field properties."},"updateMask":{"description":"The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `*` can be used as short-hand for updating every field.","format":"google-fieldmask","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateFieldTypeRequest":{"description":"Request to change the type of a Field.","properties":{"dateOptions":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldDateOptions","description":"Update field to Date."},"id":{"description":"Required. The Field to update.","type":"string"},"integerOptions":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldIntegerOptions","description":"Update field to Integer."},"selectionOptions":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldSelectionOptions","description":"Update field to Selection."},"textOptions":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldTextOptions","description":"Update field to Text."},"updateMask":{"description":"The fields that should be updated. At least one field must be specified. The root of `type_options` is implied and should not be specified. A single `*` can be used as short-hand for updating every field.","format":"google-fieldmask","type":"string"},"userOptions":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldUserOptions","description":"Update field to User."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateLabelPropertiesRequest":{"description":"Updates basic properties of a Label.","properties":{"properties":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabelProperties","description":"Required. Label properties to update."},"updateMask":{"description":"The fields that should be updated. At least one field must be specified. The root `label_properties` is implied and should not be specified. A single `*` can be used as short-hand for updating every field.","format":"google-fieldmask","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest":{"description":"Request to update a Choice properties.","properties":{"fieldId":{"description":"Required. The Selection Field to update.","type":"string"},"id":{"description":"Required. The Choice to update.","type":"string"},"properties":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceProperties","description":"Required. The Choice properties to update."},"updateMask":{"description":"The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `*` can be used as short-hand for updating every field.","format":"google-fieldmask","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponse":{"description":"Response for Label update.","properties":{"responses":{"description":"The reply of the updates. This maps 1:1 with the updates, although responses to some requests may be empty.","items":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse"},"type":"array"},"updatedLabel":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaLabel","description":"The label after updates were applied. This is only set if [BatchUpdateLabelResponse2.include_label_in_response] is `true` and there were no errors."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse":{"description":"Response following Field create.","properties":{"id":{"description":"The field of the created field. When left blank in a create request, a key will be autogenerated and can be identified here.","type":"string"},"priority":{"description":"The priority of the created field. The priority may change from what was specified to assure contiguous priorities between fields (1-n).","format":"int32","type":"integer"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse":{"description":"Response following Selection Choice create.","properties":{"fieldId":{"description":"The server-generated id of the field.","type":"string"},"id":{"description":"The server-generated ID of the created choice within the Field","type":"string"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse":{"description":"Response following Field delete.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse":{"description":"Response following Choice delete.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse":{"description":"Response following Field disable.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse":{"description":"Response following Choice disable.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse":{"description":"Response following Field enable.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse":{"description":"Response following Choice enable.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseResponse":{"description":"A single response from an update.","properties":{"createField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateFieldResponse","description":"Creates a new Field."},"createSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseCreateSelectionChoiceResponse","description":"Creates a new selection list option to add to a Selection Field."},"deleteField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteFieldResponse","description":"Deletes a Field from the label."},"deleteSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDeleteSelectionChoiceResponse","description":"Deletes a Choice from a Selection Field."},"disableField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableFieldResponse","description":"Disables Field."},"disableSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseDisableSelectionChoiceResponse","description":"Disables a Choice within a Selection Field."},"enableField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableFieldResponse","description":"Enables Field."},"enableSelectionChoice":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseEnableSelectionChoiceResponse","description":"Enables a Choice within a Selection Field."},"updateField":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse","description":"Updates basic properties of a Field."},"updateFieldType":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse","description":"Update Field type and/or type options."},"updateLabel":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateLabelPropertiesResponse","description":"Updated basic properties of a Label."},"updateSelectionChoiceProperties":{"$ref":"#/components/schemas/GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse","description":"Updates a Choice within a Selection Field."}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldPropertiesResponse":{"description":"Response following update to Field properties.","properties":{"priority":{"description":"The priority of the updated field. The priority may change from what was specified to assure contiguous priorities between fields (1-n).","format":"int32","type":"integer"}},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelResponseUpdateFieldTypeResponse":{"description":"Response following update to Field type.","properties":{},"type":"object"},"GoogleAppsDriveLabelsV2betaDeltaUpdateLabelRespon