{
  "ownerDomain": "google.com",
  "documentationLink": "https://documentation.s3ns.fr/docs/quotas",
  "baseUrl": "https://cloudquotas.s3nsapis.fr/",
  "basePath": "",
  "revision": "20261116",
  "fullyEncodeReservedExpansion": true,
  "parameters": {
    "uploadType": {
      "location": "query",
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "prettyPrint": {
      "type": "boolean",
      "default": "true",
      "location": "query",
      "description": "Returns response with indentations and line breaks."
    },
    "callback": {
      "location": "query",
      "type": "string",
      "description": "JSONP"
    },
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "location": "query",
      "type": "string"
    },
    "quotaUser": {
      "location": "query",
      "type": "string",
      "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."
    },
    "alt": {
      "default": "json",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "location": "query",
      "type": "string",
      "description": "Data format for response.",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    },
    "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.",
      "type": "string",
      "location": "query"
    },
    "access_token": {
      "type": "string",
      "location": "query",
      "description": "OAuth access token."
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ],
      "location": "query",
      "type": "string"
    },
    "fields": {
      "type": "string",
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response."
    },
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    }
  },
  "kind": "discovery#restDescription",
  "name": "cloudquotas",
  "ownerName": "Google",
  "resources": {
    "folders": {
      "resources": {
        "locations": {
          "resources": {
            "services": {
              "resources": {
                "quotaInfos": {
                  "methods": {
                    "get": {
                      "id": "cloudquotas.folders.locations.services.quotaInfos.get",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/services/{servicesId}/quotaInfos/{quotaInfosId}",
                      "description": "Retrieve the QuotaInfo of a quota for a project, folder or organization.",
                      "response": {
                        "$ref": "QuotaInfo"
                      },
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "description": "Required. Identifier. The resource name of the quota info. An example name: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`",
                          "pattern": "^folders/[^/]+/locations/[^/]+/services/[^/]+/quotaInfos/[^/]+$",
                          "location": "path"
                        }
                      },
                      "path": "v1/{+name}"
                    },
                    "list": {
                      "response": {
                        "$ref": "ListQuotaInfosResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Lists QuotaInfos of all quotas for a given project, folder or organization.",
                      "path": "v1/{+parent}/quotaInfos",
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "pageToken": {
                          "description": "Optional. A token identifying a page of results the server should return.",
                          "location": "query",
                          "type": "string"
                        },
                        "parent": {
                          "required": true,
                          "description": "Required. Identifier. Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Example names: `projects/123/locations/global/services/compute.googleapis.com` `folders/234/locations/global/services/compute.googleapis.com` `organizations/345/locations/global/services/compute.googleapis.com`",
                          "pattern": "^folders/[^/]+/locations/[^/]+/services/[^/]+$",
                          "location": "path",
                          "type": "string"
                        },
                        "pageSize": {
                          "format": "int32",
                          "type": "integer",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                          "location": "query"
                        }
                      },
                      "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/services/{servicesId}/quotaInfos",
                      "httpMethod": "GET",
                      "id": "cloudquotas.folders.locations.services.quotaInfos.list"
                    }
                  }
                }
              }
            },
            "quotaPreferences": {
              "methods": {
                "get": {
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Gets details of a single QuotaPreference.",
                  "path": "v1/{+name}",
                  "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}",
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "pattern": "^folders/[^/]+/locations/[^/]+/quotaPreferences/[^/]+$",
                      "location": "path",
                      "description": "Required. Identifier. Name of the resource Example name: `projects/123/locations/global/quota_preferences/my-config-for-us-east1`"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "id": "cloudquotas.folders.locations.quotaPreferences.get",
                  "response": {
                    "$ref": "QuotaPreference"
                  }
                },
                "list": {
                  "path": "v1/{+parent}/quotaPreferences",
                  "httpMethod": "GET",
                  "parameters": {
                    "pageToken": {
                      "location": "query",
                      "description": "Optional. A token identifying a page of results the server should return.",
                      "type": "string"
                    },
                    "pageSize": {
                      "type": "integer",
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "location": "query",
                      "format": "int32"
                    },
                    "orderBy": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. How to order of the results. By default, the results are ordered by create time. Example orders: `quota_id`, `service, create_time`"
                    },
                    "parent": {
                      "pattern": "^folders/[^/]+/locations/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Required. Identifier. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed. When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container. Example parents: `projects/123/locations/global`",
                      "location": "path"
                    },
                    "filter": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. Filter result QuotaPreferences by their state, type, create/update time range. Example filters: `reconciling=true AND request_type=CLOUD_CONSOLE`, `reconciling=true OR creation_time\u003e2022-12-03T10:30:00`"
                    }
                  },
                  "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/quotaPreferences",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "ListQuotaPreferencesResponse"
                  },
                  "description": "Lists QuotaPreferences in a given project, folder or organization.",
                  "id": "cloudquotas.folders.locations.quotaPreferences.list"
                },
                "create": {
                  "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/quotaPreferences",
                  "request": {
                    "$ref": "QuotaPreference"
                  },
                  "path": "v1/{+parent}/quotaPreferences",
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "id": "cloudquotas.folders.locations.quotaPreferences.create",
                  "parameters": {
                    "quotaPreferenceId": {
                      "type": "string",
                      "description": "Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.",
                      "location": "query"
                    },
                    "ignoreSafetyChecks": {
                      "location": "query",
                      "repeated": true,
                      "enumDescriptions": [
                        "Unspecified quota safety check.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent."
                      ],
                      "enum": [
                        "QUOTA_SAFETY_CHECK_UNSPECIFIED",
                        "QUOTA_DECREASE_BELOW_USAGE",
                        "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"
                      ],
                      "description": "The list of quota safety checks to be ignored.",
                      "type": "string"
                    },
                    "parent": {
                      "required": true,
                      "description": "Required. Identifier. Value for parent. Example: `projects/123/locations/global`",
                      "type": "string",
                      "pattern": "^folders/[^/]+/locations/[^/]+$",
                      "location": "path"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Creates a new QuotaPreference that declares the desired value for a quota."
                },
                "patch": {
                  "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}",
                  "path": "v1/{+name}",
                  "description": "Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.",
                  "parameters": {
                    "allowMissing": {
                      "type": "boolean",
                      "location": "query",
                      "description": "Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored."
                    },
                    "ignoreSafetyChecks": {
                      "type": "string",
                      "enum": [
                        "QUOTA_SAFETY_CHECK_UNSPECIFIED",
                        "QUOTA_DECREASE_BELOW_USAGE",
                        "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"
                      ],
                      "location": "query",
                      "enumDescriptions": [
                        "Unspecified quota safety check.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent."
                      ],
                      "description": "The list of quota safety checks to be ignored.",
                      "repeated": true
                    },
                    "validateOnly": {
                      "location": "query",
                      "description": "Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.",
                      "type": "boolean"
                    },
                    "name": {
                      "type": "string",
                      "location": "path",
                      "pattern": "^folders/[^/]+/locations/[^/]+/quotaPreferences/[^/]+$",
                      "description": "Required except in the CREATE requests. The resource name of the quota preference. The path that follows `/locations` must be `/global`. For example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`",
                      "required": true
                    },
                    "updateMask": {
                      "type": "string",
                      "description": "Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.",
                      "format": "google-fieldmask",
                      "location": "query"
                    }
                  },
                  "httpMethod": "PATCH",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "id": "cloudquotas.folders.locations.quotaPreferences.patch",
                  "request": {
                    "$ref": "QuotaPreference"
                  }
                }
              }
            }
          }
        }
      }
    },
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "services": {
              "resources": {
                "quotaInfos": {
                  "methods": {
                    "list": {
                      "path": "v1/{+parent}/quotaInfos",
                      "description": "Lists QuotaInfos of all quotas for a given project, folder or organization.",
                      "response": {
                        "$ref": "ListQuotaInfosResponse"
                      },
                      "httpMethod": "GET",
                      "parameters": {
                        "pageSize": {
                          "type": "integer",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                          "location": "query",
                          "format": "int32"
                        },
                        "pageToken": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. A token identifying a page of results the server should return."
                        },
                        "parent": {
                          "description": "Required. Identifier. Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Example names: `projects/123/locations/global/services/compute.googleapis.com` `folders/234/locations/global/services/compute.googleapis.com` `organizations/345/locations/global/services/compute.googleapis.com`",
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+$"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "id": "cloudquotas.projects.locations.services.quotaInfos.list",
                      "parameterOrder": [
                        "parent"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/quotaInfos"
                    },
                    "get": {
                      "path": "v1/{+name}",
                      "response": {
                        "$ref": "QuotaInfo"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "Required. Identifier. The resource name of the quota info. An example name: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`",
                          "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/quotaInfos/[^/]+$"
                        }
                      },
                      "id": "cloudquotas.projects.locations.services.quotaInfos.get",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/quotaInfos/{quotaInfosId}",
                      "description": "Retrieve the QuotaInfo of a quota for a project, folder or organization.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ]
                    }
                  }
                }
              }
            },
            "quotaPreferences": {
              "methods": {
                "get": {
                  "id": "cloudquotas.projects.locations.quotaPreferences.get",
                  "path": "v1/{+name}",
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "description": "Gets details of a single QuotaPreference.",
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "Required. Identifier. Name of the resource Example name: `projects/123/locations/global/quota_preferences/my-config-for-us-east1`",
                      "pattern": "^projects/[^/]+/locations/[^/]+/quotaPreferences/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  }
                },
                "patch": {
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "request": {
                    "$ref": "QuotaPreference"
                  },
                  "description": "Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.",
                  "parameters": {
                    "updateMask": {
                      "description": "Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.",
                      "format": "google-fieldmask",
                      "type": "string",
                      "location": "query"
                    },
                    "ignoreSafetyChecks": {
                      "description": "The list of quota safety checks to be ignored.",
                      "location": "query",
                      "repeated": true,
                      "type": "string",
                      "enum": [
                        "QUOTA_SAFETY_CHECK_UNSPECIFIED",
                        "QUOTA_DECREASE_BELOW_USAGE",
                        "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"
                      ],
                      "enumDescriptions": [
                        "Unspecified quota safety check.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent."
                      ]
                    },
                    "allowMissing": {
                      "description": "Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored.",
                      "type": "boolean",
                      "location": "query"
                    },
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/quotaPreferences/[^/]+$",
                      "location": "path",
                      "description": "Required except in the CREATE requests. The resource name of the quota preference. The path that follows `/locations` must be `/global`. For example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`",
                      "type": "string",
                      "required": true
                    },
                    "validateOnly": {
                      "location": "query",
                      "type": "boolean",
                      "description": "Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled."
                    }
                  },
                  "httpMethod": "PATCH",
                  "id": "cloudquotas.projects.locations.quotaPreferences.patch",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/{+name}"
                },
                "create": {
                  "request": {
                    "$ref": "QuotaPreference"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/quotaPreferences",
                  "path": "v1/{+parent}/quotaPreferences",
                  "httpMethod": "POST",
                  "parameters": {
                    "ignoreSafetyChecks": {
                      "location": "query",
                      "repeated": true,
                      "description": "The list of quota safety checks to be ignored.",
                      "type": "string",
                      "enumDescriptions": [
                        "Unspecified quota safety check.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent."
                      ],
                      "enum": [
                        "QUOTA_SAFETY_CHECK_UNSPECIFIED",
                        "QUOTA_DECREASE_BELOW_USAGE",
                        "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"
                      ]
                    },
                    "quotaPreferenceId": {
                      "type": "string",
                      "description": "Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.",
                      "location": "query"
                    },
                    "parent": {
                      "required": true,
                      "description": "Required. Identifier. Value for parent. Example: `projects/123/locations/global`",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Creates a new QuotaPreference that declares the desired value for a quota.",
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "id": "cloudquotas.projects.locations.quotaPreferences.create"
                },
                "list": {
                  "httpMethod": "GET",
                  "parameters": {
                    "pageToken": {
                      "description": "Optional. A token identifying a page of results the server should return.",
                      "location": "query",
                      "type": "string"
                    },
                    "orderBy": {
                      "type": "string",
                      "description": "Optional. How to order of the results. By default, the results are ordered by create time. Example orders: `quota_id`, `service, create_time`",
                      "location": "query"
                    },
                    "parent": {
                      "location": "path",
                      "description": "Required. Identifier. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed. When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container. Example parents: `projects/123/locations/global`",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    },
                    "filter": {
                      "type": "string",
                      "description": "Optional. Filter result QuotaPreferences by their state, type, create/update time range. Example filters: `reconciling=true AND request_type=CLOUD_CONSOLE`, `reconciling=true OR creation_time\u003e2022-12-03T10:30:00`",
                      "location": "query"
                    },
                    "pageSize": {
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "format": "int32",
                      "location": "query",
                      "type": "integer"
                    }
                  },
                  "id": "cloudquotas.projects.locations.quotaPreferences.list",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/quotaPreferences",
                  "description": "Lists QuotaPreferences in a given project, folder or organization.",
                  "path": "v1/{+parent}/quotaPreferences",
                  "parameterOrder": [
                    "parent"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "response": {
                    "$ref": "ListQuotaPreferencesResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "organizations": {
      "resources": {
        "locations": {
          "resources": {
            "services": {
              "resources": {
                "quotaInfos": {
                  "methods": {
                    "list": {
                      "response": {
                        "$ref": "ListQuotaInfosResponse"
                      },
                      "id": "cloudquotas.organizations.locations.services.quotaInfos.list",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "parameters": {
                        "parent": {
                          "required": true,
                          "location": "path",
                          "description": "Required. Identifier. Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Example names: `projects/123/locations/global/services/compute.googleapis.com` `folders/234/locations/global/services/compute.googleapis.com` `organizations/345/locations/global/services/compute.googleapis.com`",
                          "pattern": "^organizations/[^/]+/locations/[^/]+/services/[^/]+$",
                          "type": "string"
                        },
                        "pageSize": {
                          "format": "int32",
                          "type": "integer",
                          "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                          "location": "query"
                        },
                        "pageToken": {
                          "description": "Optional. A token identifying a page of results the server should return.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "httpMethod": "GET",
                      "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/services/{servicesId}/quotaInfos",
                      "parameterOrder": [
                        "parent"
                      ],
                      "description": "Lists QuotaInfos of all quotas for a given project, folder or organization.",
                      "path": "v1/{+parent}/quotaInfos"
                    },
                    "get": {
                      "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/services/{servicesId}/quotaInfos/{quotaInfosId}",
                      "path": "v1/{+name}",
                      "parameters": {
                        "name": {
                          "pattern": "^organizations/[^/]+/locations/[^/]+/services/[^/]+/quotaInfos/[^/]+$",
                          "type": "string",
                          "required": true,
                          "description": "Required. Identifier. The resource name of the quota info. An example name: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`",
                          "location": "path"
                        }
                      },
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "cloudquotas.organizations.locations.services.quotaInfos.get",
                      "response": {
                        "$ref": "QuotaInfo"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform"
                      ],
                      "description": "Retrieve the QuotaInfo of a quota for a project, folder or organization."
                    }
                  }
                }
              }
            },
            "quotaPreferences": {
              "methods": {
                "get": {
                  "id": "cloudquotas.organizations.locations.quotaPreferences.get",
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "path": "v1/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "description": "Gets details of a single QuotaPreference.",
                  "parameters": {
                    "name": {
                      "description": "Required. Identifier. Name of the resource Example name: `projects/123/locations/global/quota_preferences/my-config-for-us-east1`",
                      "pattern": "^organizations/[^/]+/locations/[^/]+/quotaPreferences/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}"
                },
                "patch": {
                  "path": "v1/{+name}",
                  "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "id": "cloudquotas.organizations.locations.quotaPreferences.patch",
                  "parameters": {
                    "ignoreSafetyChecks": {
                      "type": "string",
                      "enumDescriptions": [
                        "Unspecified quota safety check.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent."
                      ],
                      "repeated": true,
                      "enum": [
                        "QUOTA_SAFETY_CHECK_UNSPECIFIED",
                        "QUOTA_DECREASE_BELOW_USAGE",
                        "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"
                      ],
                      "location": "query",
                      "description": "The list of quota safety checks to be ignored."
                    },
                    "allowMissing": {
                      "location": "query",
                      "type": "boolean",
                      "description": "Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored."
                    },
                    "name": {
                      "description": "Required except in the CREATE requests. The resource name of the quota preference. The path that follows `/locations` must be `/global`. For example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`",
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "pattern": "^organizations/[^/]+/locations/[^/]+/quotaPreferences/[^/]+$"
                    },
                    "validateOnly": {
                      "location": "query",
                      "type": "boolean",
                      "description": "Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled."
                    },
                    "updateMask": {
                      "location": "query",
                      "format": "google-fieldmask",
                      "type": "string",
                      "description": "Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten."
                    }
                  },
                  "description": "Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.",
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "httpMethod": "PATCH",
                  "request": {
                    "$ref": "QuotaPreference"
                  }
                },
                "create": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/quotaPreferences",
                  "path": "v1/{+parent}/quotaPreferences",
                  "parameterOrder": [
                    "parent"
                  ],
                  "response": {
                    "$ref": "QuotaPreference"
                  },
                  "request": {
                    "$ref": "QuotaPreference"
                  },
                  "id": "cloudquotas.organizations.locations.quotaPreferences.create",
                  "parameters": {
                    "parent": {
                      "description": "Required. Identifier. Value for parent. Example: `projects/123/locations/global`",
                      "location": "path",
                      "pattern": "^organizations/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "required": true
                    },
                    "ignoreSafetyChecks": {
                      "enum": [
                        "QUOTA_SAFETY_CHECK_UNSPECIFIED",
                        "QUOTA_DECREASE_BELOW_USAGE",
                        "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"
                      ],
                      "type": "string",
                      "enumDescriptions": [
                        "Unspecified quota safety check.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to be lower than the consumer's quota usage.",
                        "Validates that a quota mutation would not cause the consumer's effective limit to decrease by more than 10 percent."
                      ],
                      "repeated": true,
                      "description": "The list of quota safety checks to be ignored.",
                      "location": "query"
                    },
                    "quotaPreferenceId": {
                      "description": "Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "httpMethod": "POST",
                  "description": "Creates a new QuotaPreference that declares the desired value for a quota."
                },
                "list": {
                  "path": "v1/{+parent}/quotaPreferences",
                  "id": "cloudquotas.organizations.locations.quotaPreferences.list",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/quotaPreferences",
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Lists QuotaPreferences in a given project, folder or organization.",
                  "response": {
                    "$ref": "ListQuotaPreferencesResponse"
                  },
                  "httpMethod": "GET",
                  "parameters": {
                    "orderBy": {
                      "description": "Optional. How to order of the results. By default, the results are ordered by create time. Example orders: `quota_id`, `service, create_time`",
                      "location": "query",
                      "type": "string"
                    },
                    "pageToken": {
                      "description": "Optional. A token identifying a page of results the server should return.",
                      "type": "string",
                      "location": "query"
                    },
                    "pageSize": {
                      "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
                      "type": "integer",
                      "location": "query",
                      "format": "int32"
                    },
                    "parent": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "pattern": "^organizations/[^/]+/locations/[^/]+$",
                      "description": "Required. Identifier. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed. When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container. Example parents: `projects/123/locations/global`"
                    },
                    "filter": {
                      "description": "Optional. Filter result QuotaPreferences by their state, type, create/update time range. Example filters: `reconciling=true AND request_type=CLOUD_CONSOLE`, `reconciling=true OR creation_time\u003e2022-12-03T10:30:00`",
                      "type": "string",
                      "location": "query"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "description": "Cloud Quotas API provides GCP service consumers with management and observability for resource usage, quotas, and restrictions of the services they consume.",
  "protocol": "rest",
  "servicePath": "",
  "batchPath": "batch",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        }
      }
    }
  },
  "version": "v1",
  "title": "Cloud Quotas API",
  "discoveryVersion": "v1",
  "rootUrl": "https://cloudquotas.s3nsapis.fr/",
  "icons": {
    "x32": "",
    "x16": ""
  },
  "version_module": true,
  "id": "cloudquotas:v1",
  "schemas": {
    "ListQuotaInfosResponse": {
      "id": "ListQuotaInfosResponse",
      "description": "Message for response to listing QuotaInfos",
      "type": "object",
      "properties": {
        "quotaInfos": {
          "type": "array",
          "description": "The list of QuotaInfo",
          "items": {
            "$ref": "QuotaInfo"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      }
    },
    "RolloutInfo": {
      "type": "object",
      "description": "[Output only] Rollout information of a quota.",
      "properties": {
        "ongoingRollout": {
          "type": "boolean",
          "description": "Whether there is an ongoing rollout for a quota or not."
        }
      },
      "id": "RolloutInfo"
    },
    "QuotaIncreaseEligibility": {
      "id": "QuotaIncreaseEligibility",
      "description": "Eligibility information regarding requesting increase adjustment of a quota.",
      "properties": {
        "isEligible": {
          "description": "Whether a higher quota value can be requested for the quota.",
          "type": "boolean"
        },
        "ineligibilityReason": {
          "enum": [
            "INELIGIBILITY_REASON_UNSPECIFIED",
            "NO_VALID_BILLING_ACCOUNT",
            "NOT_SUPPORTED",
            "NOT_ENOUGH_USAGE_HISTORY",
            "OTHER"
          ],
          "enumDescriptions": [
            "Default value when is_eligible is true.",
            "The container is not linked with a valid billing account.",
            "Quota increase is not supported for the quota.",
            "There is not enough usage history to determine the eligibility.",
            "Other reasons."
          ],
          "description": "The reason of why it is ineligible to request increased value of the quota. If the is_eligible field is true, it defaults to INELIGIBILITY_REASON_UNSPECIFIED.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ListQuotaPreferencesResponse": {
      "properties": {
        "unreachable": {
          "description": "Locations that could not be reached.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nextPageToken": {
          "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        },
        "quotaPreferences": {
          "type": "array",
          "description": "The list of QuotaPreference",
          "items": {
            "$ref": "QuotaPreference"
          }
        }
      },
      "id": "ListQuotaPreferencesResponse",
      "description": "Message for response to listing QuotaPreferences",
      "type": "object"
    },
    "DimensionsInfo": {
      "type": "object",
      "id": "DimensionsInfo",
      "properties": {
        "dimensions": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The map of dimensions in key-value pairs. The key of a map entry is \"region\", \"zone\", or the name of a service-specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimensionInfo instance configured for the specific value. For example: `{\"provider\" : \"Example Organization\"}` where `provider` is a service-specific quota dimension and `Example Organization` is the provider name.",
          "type": "object"
        },
        "details": {
          "description": "Quota details for the specified dimensions.",
          "$ref": "QuotaDetails"
        },
        "applicableLocations": {
          "items": {
            "type": "string"
          },
          "description": "The applicable regions or zones of this dimension. The field is set to ['global'] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to.",
          "type": "array"
        }
      },
      "description": "The detailed quota information such as effective quota value for a combination of dimensions."
    },
    "QuotaInfo": {
      "description": "QuotaInfo represents information about a particular quota for a given project, folder or organization.",
      "type": "object",
      "properties": {
        "quotaIncreaseEligibility": {
          "description": "Whether it is eligible to request a higher quota value for this quota.",
          "$ref": "QuotaIncreaseEligibility"
        },
        "isPrecise": {
          "description": "Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.",
          "type": "boolean"
        },
        "metricDisplayName": {
          "description": "The display name of the quota metric",
          "type": "string"
        },
        "service": {
          "type": "string",
          "description": "The name of the service in which the quota is defined. For example, `compute.googleapis.com`"
        },
        "quotaId": {
          "description": "The id of the quota, which is unique within the service. For example, `CpusPerProjectPerRegion`",
          "type": "string"
        },
        "isFixed": {
          "description": "Whether the quota value is fixed or adjustable",
          "type": "boolean"
        },
        "containerType": {
          "enumDescriptions": [
            "Unspecified container type.",
            "consumer project",
            "folder",
            "organization"
          ],
          "type": "string",
          "description": "The container type of the QuotaInfo.",
          "enum": [
            "CONTAINER_TYPE_UNSPECIFIED",
            "PROJECT",
            "FOLDER",
            "ORGANIZATION"
          ]
        },
        "quotaDisplayName": {
          "type": "string",
          "description": "The display name of the quota."
        },
        "refreshInterval": {
          "type": "string",
          "description": "The reset time interval for the quota. Refresh interval applies to rate quota only. For example, \"minute\" for per minute, \"day\" for per day, or \"10 seconds\" for every 10 seconds."
        },
        "serviceRequestQuotaUri": {
          "description": "URI to the page where users can request more quota for the cloud service—for example, https://console.documentation.s3ns.fr/iam-admin/quotas.",
          "type": "string"
        },
        "dimensions": {
          "description": "The dimensions the quota is defined on.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "type": "string",
          "description": "Resource name of this QuotaInfo. The ID component following \"locations/\" must be \"global\". For example, `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`"
        },
        "metricUnit": {
          "type": "string",
          "description": "The unit in which the metric value is reported, e.g., \"MByte\"."
        },
        "isConcurrent": {
          "description": "Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.",
          "type": "boolean"
        },
        "dimensionsInfos": {
          "items": {
            "$ref": "DimensionsInfo"
          },
          "description": "The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.",
          "type": "array"
        },
        "metric": {
          "description": "The metric of the quota. It specifies the resources consumption the quota is defined for. For example, `compute.googleapis.com/cpus`",
          "type": "string"
        }
      },
      "id": "QuotaInfo"
    },
    "QuotaPreference": {
      "id": "QuotaPreference",
      "description": "QuotaPreference represents the preferred quota configuration specified for a project, folder or organization. There is only one QuotaPreference resource for a quota value targeting a unique set of dimensions.",
      "properties": {
        "quotaId": {
          "type": "string",
          "description": "Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. For example, `CpusPerProjectPerRegion`"
        },
        "etag": {
          "type": "string",
          "description": "Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags."
        },
        "dimensions": {
          "type": "object",
          "description": "Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as `region`, `zone`, `network_id`, and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. Note: QuotaPreferences can only be applied across all values of `user` and `resource` dimension. Do not set values for `user` or `resource` in the dimension map. For example: `{\"provider\" : \"Example Organization\"}` where `provider` is a service-specific quota dimension and `Example Organization` is the provider name.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "contactEmail": {
          "type": "string",
          "description": "Input only. An email address that can be used to contact the user, in case Cloud de Confiance needs more information to make a decision before additional quota can be granted. When requesting a quota increase, the email address is required. When requesting a quota decrease, the email address is optional. For example, the email address is optional when the `QuotaConfig.preferred_value` is smaller than the `QuotaDetails.reset_value`."
        },
        "justification": {
          "description": "The reason / justification for this quota preference.",
          "type": "string"
        },
        "reconciling": {
          "description": "Output only. Is the quota preference pending Cloud de Confiance approval and fulfillment.",
          "type": "boolean",
          "readOnly": true
        },
        "quotaConfig": {
          "$ref": "QuotaConfig",
          "description": "Required. Preferred quota configuration."
        },
        "service": {
          "type": "string",
          "description": "Required. The name of the service to which the quota preference is applied."
        },
        "name": {
          "description": "Required except in the CREATE requests. The resource name of the quota preference. The path that follows `/locations` must be `/global`. For example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`",
          "type": "string"
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. Create time stamp",
          "readOnly": true
        },
        "updateTime": {
          "description": "Output only. Update time stamp",
          "format": "google-datetime",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "QuotaConfig": {
      "properties": {
        "preferredValue": {
          "type": "string",
          "format": "int64",
          "description": "Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is \"unlimited\"."
        },
        "stateDetail": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Optional details about the state of this quota preference. For example, it may contain a description of a partially approved request or explain why the request was denied."
        },
        "annotations": {
          "description": "Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "grantedValue": {
          "readOnly": true,
          "description": "Output only. Granted quota value.",
          "type": "string",
          "format": "int64"
        },
        "requestOrigin": {
          "enum": [
            "ORIGIN_UNSPECIFIED",
            "CLOUD_CONSOLE",
            "AUTO_ADJUSTER"
          ],
          "type": "string",
          "readOnly": true,
          "enumDescriptions": [
            "The unspecified value.",
            "Created through Cloud Console.",
            "Generated by automatic quota adjustment."
          ],
          "description": "Output only. The origin of the quota preference request."
        },
        "traceId": {
          "readOnly": true,
          "description": "Output only. The trace id that the Cloud de Confiance uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "The preferred quota configuration.",
      "id": "QuotaConfig"
    },
    "QuotaDetails": {
      "description": "The quota details for a map of dimensions.",
      "type": "object",
      "id": "QuotaDetails",
      "properties": {
        "value": {
          "description": "The value currently in effect and being enforced.",
          "type": "string",
          "format": "int64"
        },
        "rolloutInfo": {
          "$ref": "RolloutInfo",
          "description": "Rollout information of this quota. This field is present only if the effective limit will change due to the ongoing rollout of the service config."
        }
      }
    }
  },
  "canonicalName": "Cloud Quotas"
}
