Creates a new Label.
HTTP request
POST https://drivelabels.googleapis.com/v2beta/labels
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
useAdminAccess
|
Set to |
languageCode
|
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. |
Request body
The request body contains an instance of Label
.
Response body
If successful, the response body contains a newly created instance of Label
.
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/drive.labels
-
https://www.googleapis.com/auth/drive.admin.labels
For more information, see the Authorization guide .