• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "auth": {
3    "oauth2": {
4      "scopes": {
5        "https://www.googleapis.com/auth/cloud-platform": {
6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7        },
8        "https://www.googleapis.com/auth/cloud-platform.read-only": {
9          "description": "View your data across Google Cloud services and see the email address of your Google Account"
10        }
11      }
12    }
13  },
14  "basePath": "",
15  "baseUrl": "https://apikeys.googleapis.com/",
16  "batchPath": "batch",
17  "canonicalName": "Api Keys Service",
18  "description": "Manages the API keys associated with developer projects.",
19  "discoveryVersion": "v1",
20  "documentationLink": "https://cloud.google.com/api-keys/docs",
21  "fullyEncodeReservedExpansion": true,
22  "icons": {
23    "x16": "http://www.google.com/images/icons/product/search-16.gif",
24    "x32": "http://www.google.com/images/icons/product/search-32.gif"
25  },
26  "id": "apikeys:v2",
27  "kind": "discovery#restDescription",
28  "mtlsRootUrl": "https://apikeys.mtls.googleapis.com/",
29  "name": "apikeys",
30  "ownerDomain": "google.com",
31  "ownerName": "Google",
32  "parameters": {
33    "$.xgafv": {
34      "description": "V1 error format.",
35      "enum": [
36        "1",
37        "2"
38      ],
39      "enumDescriptions": [
40        "v1 error format",
41        "v2 error format"
42      ],
43      "location": "query",
44      "type": "string"
45    },
46    "access_token": {
47      "description": "OAuth access token.",
48      "location": "query",
49      "type": "string"
50    },
51    "alt": {
52      "default": "json",
53      "description": "Data format for response.",
54      "enum": [
55        "json",
56        "media",
57        "proto"
58      ],
59      "enumDescriptions": [
60        "Responses with Content-Type of application/json",
61        "Media download with context-dependent Content-Type",
62        "Responses with Content-Type of application/x-protobuf"
63      ],
64      "location": "query",
65      "type": "string"
66    },
67    "callback": {
68      "description": "JSONP",
69      "location": "query",
70      "type": "string"
71    },
72    "fields": {
73      "description": "Selector specifying which fields to include in a partial response.",
74      "location": "query",
75      "type": "string"
76    },
77    "key": {
78      "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.",
79      "location": "query",
80      "type": "string"
81    },
82    "oauth_token": {
83      "description": "OAuth 2.0 token for the current user.",
84      "location": "query",
85      "type": "string"
86    },
87    "prettyPrint": {
88      "default": "true",
89      "description": "Returns response with indentations and line breaks.",
90      "location": "query",
91      "type": "boolean"
92    },
93    "quotaUser": {
94      "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.",
95      "location": "query",
96      "type": "string"
97    },
98    "uploadType": {
99      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
100      "location": "query",
101      "type": "string"
102    },
103    "upload_protocol": {
104      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
105      "location": "query",
106      "type": "string"
107    }
108  },
109  "protocol": "rest",
110  "resources": {
111    "keys": {
112      "methods": {
113        "lookupKey": {
114          "description": "Find the parent project and resource name of the API key that matches the key string in the request. If the API key has been purged, resource name will not be set. The service account must have the `apikeys.keys.lookup` permission on the parent project.",
115          "flatPath": "v2/keys:lookupKey",
116          "httpMethod": "GET",
117          "id": "apikeys.keys.lookupKey",
118          "parameterOrder": [],
119          "parameters": {
120            "keyString": {
121              "description": "Required. Finds the project that owns the key string value.",
122              "location": "query",
123              "type": "string"
124            }
125          },
126          "path": "v2/keys:lookupKey",
127          "response": {
128            "$ref": "V2LookupKeyResponse"
129          },
130          "scopes": [
131            "https://www.googleapis.com/auth/cloud-platform",
132            "https://www.googleapis.com/auth/cloud-platform.read-only"
133          ]
134        }
135      }
136    },
137    "operations": {
138      "methods": {
139        "get": {
140          "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
141          "flatPath": "v2/operations/{operationsId}",
142          "httpMethod": "GET",
143          "id": "apikeys.operations.get",
144          "parameterOrder": [
145            "name"
146          ],
147          "parameters": {
148            "name": {
149              "description": "The name of the operation resource.",
150              "location": "path",
151              "pattern": "^operations/[^/]+$",
152              "required": true,
153              "type": "string"
154            }
155          },
156          "path": "v2/{+name}",
157          "response": {
158            "$ref": "Operation"
159          },
160          "scopes": [
161            "https://www.googleapis.com/auth/cloud-platform",
162            "https://www.googleapis.com/auth/cloud-platform.read-only"
163          ]
164        }
165      }
166    },
167    "projects": {
168      "resources": {
169        "locations": {
170          "resources": {
171            "keys": {
172              "methods": {
173                "clone": {
174                  "description": "Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
175                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}:clone",
176                  "httpMethod": "POST",
177                  "id": "apikeys.projects.locations.keys.clone",
178                  "parameterOrder": [
179                    "name"
180                  ],
181                  "parameters": {
182                    "name": {
183                      "description": "Required. The resource name of the API key to be cloned in the same project.",
184                      "location": "path",
185                      "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
186                      "required": true,
187                      "type": "string"
188                    }
189                  },
190                  "path": "v2/{+name}:clone",
191                  "request": {
192                    "$ref": "V2CloneKeyRequest"
193                  },
194                  "response": {
195                    "$ref": "Operation"
196                  },
197                  "scopes": [
198                    "https://www.googleapis.com/auth/cloud-platform"
199                  ]
200                },
201                "create": {
202                  "description": "Creates a new API key. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
203                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys",
204                  "httpMethod": "POST",
205                  "id": "apikeys.projects.locations.keys.create",
206                  "parameterOrder": [
207                    "parent"
208                  ],
209                  "parameters": {
210                    "keyId": {
211                      "description": "User specified key id (optional). If specified, it will become the final component of the key resource name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the id must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. The id must NOT be a UUID-like string.",
212                      "location": "query",
213                      "type": "string"
214                    },
215                    "parent": {
216                      "description": "Required. The project in which the API key is created.",
217                      "location": "path",
218                      "pattern": "^projects/[^/]+/locations/[^/]+$",
219                      "required": true,
220                      "type": "string"
221                    }
222                  },
223                  "path": "v2/{+parent}/keys",
224                  "request": {
225                    "$ref": "V2Key"
226                  },
227                  "response": {
228                    "$ref": "Operation"
229                  },
230                  "scopes": [
231                    "https://www.googleapis.com/auth/cloud-platform"
232                  ]
233                },
234                "delete": {
235                  "description": "Deletes an API key. Deleted key can be retrieved within 30 days of deletion. Afterward, key will be purged from the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
236                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}",
237                  "httpMethod": "DELETE",
238                  "id": "apikeys.projects.locations.keys.delete",
239                  "parameterOrder": [
240                    "name"
241                  ],
242                  "parameters": {
243                    "etag": {
244                      "description": "Optional. The etag known to the client for the expected state of the key. This is to be used for optimistic concurrency.",
245                      "location": "query",
246                      "type": "string"
247                    },
248                    "name": {
249                      "description": "Required. The resource name of the API key to be deleted.",
250                      "location": "path",
251                      "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
252                      "required": true,
253                      "type": "string"
254                    }
255                  },
256                  "path": "v2/{+name}",
257                  "response": {
258                    "$ref": "Operation"
259                  },
260                  "scopes": [
261                    "https://www.googleapis.com/auth/cloud-platform"
262                  ]
263                },
264                "get": {
265                  "description": "Gets the metadata for an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
266                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}",
267                  "httpMethod": "GET",
268                  "id": "apikeys.projects.locations.keys.get",
269                  "parameterOrder": [
270                    "name"
271                  ],
272                  "parameters": {
273                    "name": {
274                      "description": "Required. The resource name of the API key to get.",
275                      "location": "path",
276                      "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
277                      "required": true,
278                      "type": "string"
279                    }
280                  },
281                  "path": "v2/{+name}",
282                  "response": {
283                    "$ref": "V2Key"
284                  },
285                  "scopes": [
286                    "https://www.googleapis.com/auth/cloud-platform",
287                    "https://www.googleapis.com/auth/cloud-platform.read-only"
288                  ]
289                },
290                "getKeyString": {
291                  "description": "Get the key string for an API key. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
292                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}/keyString",
293                  "httpMethod": "GET",
294                  "id": "apikeys.projects.locations.keys.getKeyString",
295                  "parameterOrder": [
296                    "name"
297                  ],
298                  "parameters": {
299                    "name": {
300                      "description": "Required. The resource name of the API key to be retrieved.",
301                      "location": "path",
302                      "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
303                      "required": true,
304                      "type": "string"
305                    }
306                  },
307                  "path": "v2/{+name}/keyString",
308                  "response": {
309                    "$ref": "V2GetKeyStringResponse"
310                  },
311                  "scopes": [
312                    "https://www.googleapis.com/auth/cloud-platform",
313                    "https://www.googleapis.com/auth/cloud-platform.read-only"
314                  ]
315                },
316                "list": {
317                  "description": "Lists the API keys owned by a project. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
318                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys",
319                  "httpMethod": "GET",
320                  "id": "apikeys.projects.locations.keys.list",
321                  "parameterOrder": [
322                    "parent"
323                  ],
324                  "parameters": {
325                    "filter": {
326                      "description": "Optional. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.",
327                      "location": "query",
328                      "type": "string"
329                    },
330                    "pageSize": {
331                      "description": "Optional. Specifies the maximum number of results to be returned at a time.",
332                      "format": "int32",
333                      "location": "query",
334                      "type": "integer"
335                    },
336                    "pageToken": {
337                      "description": "Optional. Requests a specific page of results.",
338                      "location": "query",
339                      "type": "string"
340                    },
341                    "parent": {
342                      "description": "Required. Lists all API keys associated with this project.",
343                      "location": "path",
344                      "pattern": "^projects/[^/]+/locations/[^/]+$",
345                      "required": true,
346                      "type": "string"
347                    }
348                  },
349                  "path": "v2/{+parent}/keys",
350                  "response": {
351                    "$ref": "V2ListKeysResponse"
352                  },
353                  "scopes": [
354                    "https://www.googleapis.com/auth/cloud-platform",
355                    "https://www.googleapis.com/auth/cloud-platform.read-only"
356                  ]
357                },
358                "patch": {
359                  "description": "Patches the modifiable fields of an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
360                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}",
361                  "httpMethod": "PATCH",
362                  "id": "apikeys.projects.locations.keys.patch",
363                  "parameterOrder": [
364                    "name"
365                  ],
366                  "parameters": {
367                    "name": {
368                      "description": "Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.",
369                      "location": "path",
370                      "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
371                      "required": true,
372                      "type": "string"
373                    },
374                    "updateMask": {
375                      "description": "The field mask specifies which fields to be updated as part of this request. All other fields are ignored. Mutable fields are: `display_name` and `restrictions`. If an update mask is not provided, the service treats it as an implied mask equivalent to all allowed fields that are set on the wire. If the field mask has a special value \"*\", the service treats it equivalent to replace all allowed mutable fields.",
376                      "format": "google-fieldmask",
377                      "location": "query",
378                      "type": "string"
379                    }
380                  },
381                  "path": "v2/{+name}",
382                  "request": {
383                    "$ref": "V2Key"
384                  },
385                  "response": {
386                    "$ref": "Operation"
387                  },
388                  "scopes": [
389                    "https://www.googleapis.com/auth/cloud-platform"
390                  ]
391                },
392                "undelete": {
393                  "description": "Undeletes an API key which was deleted within 30 days. NOTE: Key is a global resource; hence the only supported value for location is `global`.",
394                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}:undelete",
395                  "httpMethod": "POST",
396                  "id": "apikeys.projects.locations.keys.undelete",
397                  "parameterOrder": [
398                    "name"
399                  ],
400                  "parameters": {
401                    "name": {
402                      "description": "Required. The resource name of the API key to be undeleted.",
403                      "location": "path",
404                      "pattern": "^projects/[^/]+/locations/[^/]+/keys/[^/]+$",
405                      "required": true,
406                      "type": "string"
407                    }
408                  },
409                  "path": "v2/{+name}:undelete",
410                  "request": {
411                    "$ref": "V2UndeleteKeyRequest"
412                  },
413                  "response": {
414                    "$ref": "Operation"
415                  },
416                  "scopes": [
417                    "https://www.googleapis.com/auth/cloud-platform"
418                  ]
419                }
420              }
421            }
422          }
423        }
424      }
425    }
426  },
427  "revision": "20211215",
428  "rootUrl": "https://apikeys.googleapis.com/",
429  "schemas": {
430    "Operation": {
431      "description": "This resource represents a long-running operation that is the result of a network API call.",
432      "id": "Operation",
433      "properties": {
434        "done": {
435          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
436          "type": "boolean"
437        },
438        "error": {
439          "$ref": "Status",
440          "description": "The error result of the operation in case of failure or cancellation."
441        },
442        "metadata": {
443          "additionalProperties": {
444            "description": "Properties of the object. Contains field @type with type URL.",
445            "type": "any"
446          },
447          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
448          "type": "object"
449        },
450        "name": {
451          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
452          "type": "string"
453        },
454        "response": {
455          "additionalProperties": {
456            "description": "Properties of the object. Contains field @type with type URL.",
457            "type": "any"
458          },
459          "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
460          "type": "object"
461        }
462      },
463      "type": "object"
464    },
465    "Status": {
466      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
467      "id": "Status",
468      "properties": {
469        "code": {
470          "description": "The status code, which should be an enum value of google.rpc.Code.",
471          "format": "int32",
472          "type": "integer"
473        },
474        "details": {
475          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
476          "items": {
477            "additionalProperties": {
478              "description": "Properties of the object. Contains field @type with type URL.",
479              "type": "any"
480            },
481            "type": "object"
482          },
483          "type": "array"
484        },
485        "message": {
486          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
487          "type": "string"
488        }
489      },
490      "type": "object"
491    },
492    "V2AndroidApplication": {
493      "description": "Identifier of an Android application for key use.",
494      "id": "V2AndroidApplication",
495      "properties": {
496        "packageName": {
497          "description": "The package name of the application.",
498          "type": "string"
499        },
500        "sha1Fingerprint": {
501          "description": "The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter.",
502          "type": "string"
503        }
504      },
505      "type": "object"
506    },
507    "V2AndroidKeyRestrictions": {
508      "description": "The Android apps that are allowed to use the key.",
509      "id": "V2AndroidKeyRestrictions",
510      "properties": {
511        "allowedApplications": {
512          "description": "A list of Android applications that are allowed to make API calls with this key.",
513          "items": {
514            "$ref": "V2AndroidApplication"
515          },
516          "type": "array"
517        }
518      },
519      "type": "object"
520    },
521    "V2ApiTarget": {
522      "description": "A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.",
523      "id": "V2ApiTarget",
524      "properties": {
525        "methods": {
526          "description": "Optional. List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*`",
527          "items": {
528            "type": "string"
529          },
530          "type": "array"
531        },
532        "service": {
533          "description": "The service for this restriction. It should be the canonical service name, for example: `translate.googleapis.com`. You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) to get a list of services that are enabled in the project.",
534          "type": "string"
535        }
536      },
537      "type": "object"
538    },
539    "V2BrowserKeyRestrictions": {
540      "description": "The HTTP referrers (websites) that are allowed to use the key.",
541      "id": "V2BrowserKeyRestrictions",
542      "properties": {
543        "allowedReferrers": {
544          "description": "A list of regular expressions for the referrer URLs that are allowed to make API calls with this key.",
545          "items": {
546            "type": "string"
547          },
548          "type": "array"
549        }
550      },
551      "type": "object"
552    },
553    "V2CloneKeyRequest": {
554      "description": "Request message for `CloneKey` method.",
555      "id": "V2CloneKeyRequest",
556      "properties": {
557        "keyId": {
558          "description": "User specified key id (optional). If specified, it will become the final component of the key resource name. The id must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the id must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. The id must NOT be a UUID-like string.",
559          "type": "string"
560        }
561      },
562      "type": "object"
563    },
564    "V2GetKeyStringResponse": {
565      "description": "Response message for `GetKeyString` method.",
566      "id": "V2GetKeyStringResponse",
567      "properties": {
568        "keyString": {
569          "description": "An encrypted and signed value of the key.",
570          "type": "string"
571        }
572      },
573      "type": "object"
574    },
575    "V2IosKeyRestrictions": {
576      "description": "The iOS apps that are allowed to use the key.",
577      "id": "V2IosKeyRestrictions",
578      "properties": {
579        "allowedBundleIds": {
580          "description": "A list of bundle IDs that are allowed when making API calls with this key.",
581          "items": {
582            "type": "string"
583          },
584          "type": "array"
585        }
586      },
587      "type": "object"
588    },
589    "V2Key": {
590      "description": "The representation of a key managed by the API Keys API.",
591      "id": "V2Key",
592      "properties": {
593        "createTime": {
594          "description": "Output only. A timestamp identifying the time this key was originally created.",
595          "format": "google-datetime",
596          "readOnly": true,
597          "type": "string"
598        },
599        "deleteTime": {
600          "description": "Output only. A timestamp when this key was deleted. If the resource is not deleted, this must be empty.",
601          "format": "google-datetime",
602          "readOnly": true,
603          "type": "string"
604        },
605        "displayName": {
606          "description": "Human-readable display name of this key that you can modify. The maximum length is 63 characters.",
607          "type": "string"
608        },
609        "etag": {
610          "description": "Output only. A checksum computed by the server based on the current value of the Key resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
611          "readOnly": true,
612          "type": "string"
613        },
614        "keyString": {
615          "description": "Output only. An encrypted and signed value held by this key. This field can be accessed only through the `GetKeyString` method.",
616          "readOnly": true,
617          "type": "string"
618        },
619        "name": {
620          "description": "Output only. The resource name of the key. The `name` has the form: `projects//locations/global/keys/`. For example: `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` NOTE: Key is a global resource; hence the only supported value for location is `global`.",
621          "readOnly": true,
622          "type": "string"
623        },
624        "restrictions": {
625          "$ref": "V2Restrictions",
626          "description": "Key restrictions."
627        },
628        "uid": {
629          "description": "Output only. Unique id in UUID4 format.",
630          "readOnly": true,
631          "type": "string"
632        },
633        "updateTime": {
634          "description": "Output only. A timestamp identifying the time this key was last updated.",
635          "format": "google-datetime",
636          "readOnly": true,
637          "type": "string"
638        }
639      },
640      "type": "object"
641    },
642    "V2ListKeysResponse": {
643      "description": "Response message for `ListKeys` method.",
644      "id": "V2ListKeysResponse",
645      "properties": {
646        "keys": {
647          "description": "A list of API keys.",
648          "items": {
649            "$ref": "V2Key"
650          },
651          "type": "array"
652        },
653        "nextPageToken": {
654          "description": "The pagination token for the next page of results.",
655          "type": "string"
656        }
657      },
658      "type": "object"
659    },
660    "V2LookupKeyResponse": {
661      "description": "Response message for `LookupKey` method.",
662      "id": "V2LookupKeyResponse",
663      "properties": {
664        "name": {
665          "description": "The resource name of the API key. If the API key has been purged, resource name is empty.",
666          "type": "string"
667        },
668        "parent": {
669          "description": "The project that owns the key with the value specified in the request.",
670          "type": "string"
671        }
672      },
673      "type": "object"
674    },
675    "V2Restrictions": {
676      "description": "Describes the restrictions on the key.",
677      "id": "V2Restrictions",
678      "properties": {
679        "androidKeyRestrictions": {
680          "$ref": "V2AndroidKeyRestrictions",
681          "description": "The Android apps that are allowed to use the key."
682        },
683        "apiTargets": {
684          "description": "A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed.",
685          "items": {
686            "$ref": "V2ApiTarget"
687          },
688          "type": "array"
689        },
690        "browserKeyRestrictions": {
691          "$ref": "V2BrowserKeyRestrictions",
692          "description": "The HTTP referrers (websites) that are allowed to use the key."
693        },
694        "iosKeyRestrictions": {
695          "$ref": "V2IosKeyRestrictions",
696          "description": "The iOS apps that are allowed to use the key."
697        },
698        "serverKeyRestrictions": {
699          "$ref": "V2ServerKeyRestrictions",
700          "description": "The IP addresses of callers that are allowed to use the key."
701        }
702      },
703      "type": "object"
704    },
705    "V2ServerKeyRestrictions": {
706      "description": "The IP addresses of callers that are allowed to use the key.",
707      "id": "V2ServerKeyRestrictions",
708      "properties": {
709        "allowedIps": {
710          "description": "A list of the caller IP addresses that are allowed to make API calls with this key.",
711          "items": {
712            "type": "string"
713          },
714          "type": "array"
715        }
716      },
717      "type": "object"
718    },
719    "V2UndeleteKeyRequest": {
720      "description": "Request message for `UndeleteKey` method.",
721      "id": "V2UndeleteKeyRequest",
722      "properties": {},
723      "type": "object"
724    }
725  },
726  "servicePath": "",
727  "title": "API Keys API",
728  "version": "v2",
729  "version_module": true
730}