Google Limits API

Operations related to Limits

Operations 1

GET /v2/limits/label Google Retrieve Limits Label #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-limits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-limits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Drive Labels Limits API
  description: An API for managing Drive Labels
  version: v2
  contact:
    name: Google
    url: https://google.com
    x-twitter: youtube
  license:
    name: Creative Commons Attribution 3.0
    url: http://creativecommons.org/licenses/by/3.0/
  termsOfService: https://developers.google.com/terms/
servers:
- url: https://drivelabels.googleapis.com
  description: Google Drive Labels API Server
tags:
- name: Limits
  description: Operations related to Limits
paths:
  /v2/limits/label:
    get:
      tags:
      - Limits
      summary: Google Retrieve Limits Label
      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: googleDrivelabelsLimitsGetlabel
      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
      parameters:
      - description: 'Required. Label revision resource name Must be: "limits/label"'
        in: query
        name: name
        schema:
          type: string
      - description: V1 error format.
        in: query
        name: $.xgafv
        schema:
          enum:
          - '1'
          - '2'
          type: string
      - description: OAuth access token.
        in: query
        name: access_token
        schema:
          type: string
      - description: Data format for response.
        in: query
        name: alt
        schema:
          enum:
          - json
          - media
          - proto
          type: string
      - description: JSONP
        in: query
        name: callback
        schema:
          type: string
      - description: Selector specifying which fields to include in a partial response.
        in: query
        name: fields
        schema:
          type: string
      - 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
      - description: OAuth 2.0 token for the current user.
        in: query
        name: oauth_token
        schema:
          type: string
      - description: Returns response with indentations and line breaks.
        in: query
        name: prettyPrint
        schema:
          type: boolean
      - 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
      - description: Upload protocol for media (e.g. "raw", "multipart").
        in: query
        name: upload_protocol
        schema:
          type: string
      - description: Legacy upload protocol for media (e.g. "media", "multipart").
        in: query
        name: uploadType
        schema:
          type: string
      - in: header
        name: Authorization
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAppsDriveLabelsV2LabelLimits'
      x-microcks-operation:
        delay: 100
        dispatcher: FALLBACK
        dispatcherRules: SuccessExample
components:
  schemas:
    GoogleAppsDriveLabelsV2LabelLimits:
      description: Label constraints governing the structure of a Label; such as, the maximum number of Fields allowed and maximum length of the label title.
      properties:
        fieldLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2FieldLimits'
          description: The limits for Fields.
        maxDeletedFields:
          description: The maximum number of published Fields that can be deleted.
          format: int32
          type: integer
        maxDescriptionLength:
          description: The maximum number of characters allowed for the description.
          format: int32
          type: integer
        maxDraftRevisions:
          description: The maximum number of draft revisions that will be kept before deleting old drafts.
          format: int32
          type: integer
        maxFields:
          description: The maximum number of Fields allowed within the label.
          format: int32
          type: integer
        maxTitleLength:
          description: The maximum number of characters allowed for the title.
          format: int32
          type: integer
        name:
          description: Resource name.
          type: string
      type: object
    GoogleTypeDate:
      description: 'Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp'
      properties:
        day:
          description: Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
          format: int32
          type: integer
        month:
          description: Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
          format: int32
          type: integer
        year:
          description: Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
          format: int32
          type: integer
      type: object
    GoogleAppsDriveLabelsV2LongTextLimits:
      description: Limits for long text Field type.
      properties:
        maxLength:
          description: Maximum length allowed for a long text Field type.
          format: int32
          type: integer
        minLength:
          description: Minimum length allowed for a long text Field type.
          format: int32
          type: integer
      type: object
    GoogleAppsDriveLabelsV2IntegerLimits:
      description: Limits for integer Field type.
      properties:
        maxValue:
          description: Maximum value for an integer Field type.
          format: int64
          type: string
        minValue:
          description: Minimum value for an integer Field type.
          format: int64
          type: string
      type: object
    GoogleAppsDriveLabelsV2ListLimits:
      description: Limits for list-variant of a Field type.
      properties:
        maxEntries:
          description: Maximum number of values allowed for the Field type.
          format: int32
          type: integer
      type: object
    GoogleAppsDriveLabelsV2SelectionLimits:
      description: Limits for selection Field type.
      properties:
        listLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2ListLimits'
          description: Limits for list-variant of a Field type.
        maxChoices:
          description: The max number of choices.
          format: int32
          type: integer
        maxDeletedChoices:
          description: Maximum number of deleted choices.
          format: int32
          type: integer
        maxDisplayNameLength:
          description: Maximum length for display name.
          format: int32
          type: integer
        maxIdLength:
          description: Maximum ID length for a selection options.
          format: int32
          type: integer
      type: object
    GoogleAppsDriveLabelsV2TextLimits:
      description: Limits for text Field type.
      properties:
        maxLength:
          description: Maximum length allowed for a text Field type.
          format: int32
          type: integer
        minLength:
          description: Minimum length allowed for a text Field type.
          format: int32
          type: integer
      type: object
    GoogleAppsDriveLabelsV2FieldLimits:
      description: Field constants governing the structure of a Field; such as, the maximum title length, minimum and maximum field values or length, etc.
      properties:
        dateLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2DateLimits'
          description: Date Field limits.
        integerLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2IntegerLimits'
          description: Integer Field limits.
        longTextLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2LongTextLimits'
          description: Long text Field limits.
        maxDescriptionLength:
          description: Limits for Field description, also called help text.
          format: int32
          type: integer
        maxDisplayNameLength:
          description: Limits for Field title.
          format: int32
          type: integer
        maxIdLength:
          description: Max length for the id.
          format: int32
          type: integer
        selectionLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2SelectionLimits'
          description: Selection Field limits.
        textLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2TextLimits'
          description: The relevant limits for the specified Field.Type. Text Field limits.
        userLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2UserLimits'
          description: User Field limits.
      type: object
    GoogleAppsDriveLabelsV2UserLimits:
      description: Limits for Field.Type.USER.
      properties:
        listLimits:
          $ref: '#/components/schemas/GoogleAppsDriveLabelsV2ListLimits'
          description: Limits for list-variant of a Field type.
      type: object
    GoogleAppsDriveLabelsV2DateLimits:
      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
  securitySchemes:
    Oauth2:
      description: Oauth 2.0 implicit authentication
      flows:
        implicit:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          scopes:
            https://www.googleapis.com/auth/drive.admin.labels: See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies
            https://www.googleapis.com/auth/drive.admin.labels.readonly: See all Google Drive labels and label-related admin policies in your organization
            https://www.googleapis.com/auth/drive.labels: See, edit, create, and delete your Google Drive labels
            https://www.googleapis.com/auth/drive.labels.readonly: See your Google Drive labels
      type: oauth2
    Oauth2c:
      description: Oauth 2.0 authorizationCode authentication
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          scopes:
            https://www.googleapis.com/auth/drive.admin.labels: See, edit, create, and delete all Google Drive labels in your organization, and see your organization's label-related admin policies
            https://www.googleapis.com/auth/drive.admin.labels.readonly: See all Google Drive labels and label-related admin policies in your organization
            https://www.googleapis.com/auth/drive.labels: See, edit, create, and delete your Google Drive labels
            https://www.googleapis.com/auth/drive.labels.readonly: See your Google Drive labels
          tokenUrl: https://accounts.google.com/o/oauth2/token
      type: oauth2
externalDocs:
  url: https://developers.google.com/drive/labels