Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Side by Side Diff: discovery/googleapis_beta/dns__v1beta1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/ndev.clouddns.readonly": {
9 "description": "View your DNS records hosted by Google Cloud DNS"
10 },
11 "https://www.googleapis.com/auth/ndev.clouddns.readwrite": {
12 "description": "View and manage your DNS records hosted by G oogle Cloud DNS"
13 }
14 }
15 }
16 },
17 "basePath": "/dns/v1beta1/projects/",
18 "baseUrl": "https://www.googleapis.com/dns/v1beta1/projects/",
19 "batchPath": "batch",
20 "description": "The Google Cloud DNS API provides services for configuring a nd serving authoritative DNS records.",
21 "discoveryVersion": "v1",
22 "documentationLink": "https://developers.google.com/cloud-dns",
23 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/vCiVqbmmplZsFYYO1peGBVgoOI0\"",
24 "icons": {
25 "x16": "http://www.google.com/images/icons/product/search-16.gif",
26 "x32": "http://www.google.com/images/icons/product/search-32.gif"
27 },
28 "id": "dns:v1beta1",
29 "kind": "discovery#restDescription",
30 "name": "dns",
31 "ownerDomain": "google.com",
32 "ownerName": "Google",
33 "parameters": {
34 "alt": {
35 "default": "json",
36 "description": "Data format for the response.",
37 "enum": [
38 "json"
39 ],
40 "enumDescriptions": [
41 "Responses with Content-Type of application/json"
42 ],
43 "location": "query",
44 "type": "string"
45 },
46 "fields": {
47 "description": "Selector specifying which fields to include in a par tial response.",
48 "location": "query",
49 "type": "string"
50 },
51 "key": {
52 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
53 "location": "query",
54 "type": "string"
55 },
56 "oauth_token": {
57 "description": "OAuth 2.0 token for the current user.",
58 "location": "query",
59 "type": "string"
60 },
61 "prettyPrint": {
62 "default": "true",
63 "description": "Returns response with indentations and line breaks." ,
64 "location": "query",
65 "type": "boolean"
66 },
67 "quotaUser": {
68 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
69 "location": "query",
70 "type": "string"
71 },
72 "userIp": {
73 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
74 "location": "query",
75 "type": "string"
76 }
77 },
78 "protocol": "rest",
79 "resources": {
80 "changes": {
81 "methods": {
82 "create": {
83 "description": "Atomically update the ResourceRecordSet coll ection.",
84 "httpMethod": "POST",
85 "id": "dns.changes.create",
86 "parameterOrder": [
87 "project",
88 "managedZone"
89 ],
90 "parameters": {
91 "managedZone": {
92 "description": "Identifies the managed zone addresse d by this request. Can be the managed zone name or id.",
93 "location": "path",
94 "required": true,
95 "type": "string"
96 },
97 "project": {
98 "description": "Identifies the project addressed by this request.",
99 "location": "path",
100 "required": true,
101 "type": "string"
102 }
103 },
104 "path": "{project}/managedZones/{managedZone}/changes",
105 "request": {
106 "$ref": "Change"
107 },
108 "response": {
109 "$ref": "Change"
110 },
111 "scopes": [
112 "https://www.googleapis.com/auth/cloud-platform",
113 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
114 ]
115 },
116 "get": {
117 "description": "Fetch the representation of an existing Chan ge.",
118 "httpMethod": "GET",
119 "id": "dns.changes.get",
120 "parameterOrder": [
121 "project",
122 "managedZone",
123 "changeId"
124 ],
125 "parameters": {
126 "changeId": {
127 "description": "The identifier of the requested chan ge, from a previous ResourceRecordSetsChangeResponse.",
128 "location": "path",
129 "required": true,
130 "type": "string"
131 },
132 "managedZone": {
133 "description": "Identifies the managed zone addresse d by this request. Can be the managed zone name or id.",
134 "location": "path",
135 "required": true,
136 "type": "string"
137 },
138 "project": {
139 "description": "Identifies the project addressed by this request.",
140 "location": "path",
141 "required": true,
142 "type": "string"
143 }
144 },
145 "path": "{project}/managedZones/{managedZone}/changes/{chang eId}",
146 "response": {
147 "$ref": "Change"
148 },
149 "scopes": [
150 "https://www.googleapis.com/auth/cloud-platform",
151 "https://www.googleapis.com/auth/ndev.clouddns.readonly" ,
152 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
153 ]
154 },
155 "list": {
156 "description": "Enumerate Changes to a ResourceRecordSet col lection.",
157 "httpMethod": "GET",
158 "id": "dns.changes.list",
159 "parameterOrder": [
160 "project",
161 "managedZone"
162 ],
163 "parameters": {
164 "managedZone": {
165 "description": "Identifies the managed zone addresse d by this request. Can be the managed zone name or id.",
166 "location": "path",
167 "required": true,
168 "type": "string"
169 },
170 "maxResults": {
171 "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to retur n.",
172 "format": "int32",
173 "location": "query",
174 "type": "integer"
175 },
176 "pageToken": {
177 "description": "Optional. A tag returned by a previo us list request that was truncated. Use this parameter to continue a previous li st request.",
178 "location": "query",
179 "type": "string"
180 },
181 "project": {
182 "description": "Identifies the project addressed by this request.",
183 "location": "path",
184 "required": true,
185 "type": "string"
186 },
187 "sortBy": {
188 "default": "changeSequence",
189 "description": "Sorting criterion. The only supporte d value is change sequence.",
190 "enum": [
191 "changeSequence"
192 ],
193 "enumDescriptions": [
194 ""
195 ],
196 "location": "query",
197 "type": "string"
198 },
199 "sortOrder": {
200 "description": "Sorting order direction: 'ascending' or 'descending'.",
201 "location": "query",
202 "type": "string"
203 }
204 },
205 "path": "{project}/managedZones/{managedZone}/changes",
206 "response": {
207 "$ref": "ChangesListResponse"
208 },
209 "scopes": [
210 "https://www.googleapis.com/auth/cloud-platform",
211 "https://www.googleapis.com/auth/ndev.clouddns.readonly" ,
212 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
213 ]
214 }
215 }
216 },
217 "managedZones": {
218 "methods": {
219 "create": {
220 "description": "Create a new ManagedZone.",
221 "httpMethod": "POST",
222 "id": "dns.managedZones.create",
223 "parameterOrder": [
224 "project"
225 ],
226 "parameters": {
227 "project": {
228 "description": "Identifies the project addressed by this request.",
229 "location": "path",
230 "required": true,
231 "type": "string"
232 }
233 },
234 "path": "{project}/managedZones",
235 "request": {
236 "$ref": "ManagedZone"
237 },
238 "response": {
239 "$ref": "ManagedZone"
240 },
241 "scopes": [
242 "https://www.googleapis.com/auth/cloud-platform",
243 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
244 ]
245 },
246 "delete": {
247 "description": "Delete a previously created ManagedZone.",
248 "httpMethod": "DELETE",
249 "id": "dns.managedZones.delete",
250 "parameterOrder": [
251 "project",
252 "managedZone"
253 ],
254 "parameters": {
255 "managedZone": {
256 "description": "Identifies the managed zone addresse d by this request. Can be the managed zone name or id.",
257 "location": "path",
258 "required": true,
259 "type": "string"
260 },
261 "project": {
262 "description": "Identifies the project addressed by this request.",
263 "location": "path",
264 "required": true,
265 "type": "string"
266 }
267 },
268 "path": "{project}/managedZones/{managedZone}",
269 "scopes": [
270 "https://www.googleapis.com/auth/cloud-platform",
271 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
272 ]
273 },
274 "get": {
275 "description": "Fetch the representation of an existing Mana gedZone.",
276 "httpMethod": "GET",
277 "id": "dns.managedZones.get",
278 "parameterOrder": [
279 "project",
280 "managedZone"
281 ],
282 "parameters": {
283 "managedZone": {
284 "description": "Identifies the managed zone addresse d by this request. Can be the managed zone name or id.",
285 "location": "path",
286 "required": true,
287 "type": "string"
288 },
289 "project": {
290 "description": "Identifies the project addressed by this request.",
291 "location": "path",
292 "required": true,
293 "type": "string"
294 }
295 },
296 "path": "{project}/managedZones/{managedZone}",
297 "response": {
298 "$ref": "ManagedZone"
299 },
300 "scopes": [
301 "https://www.googleapis.com/auth/cloud-platform",
302 "https://www.googleapis.com/auth/ndev.clouddns.readonly" ,
303 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
304 ]
305 },
306 "list": {
307 "description": "Enumerate ManagedZones that have been create d but not yet deleted.",
308 "httpMethod": "GET",
309 "id": "dns.managedZones.list",
310 "parameterOrder": [
311 "project"
312 ],
313 "parameters": {
314 "maxResults": {
315 "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to retur n.",
316 "format": "int32",
317 "location": "query",
318 "type": "integer"
319 },
320 "pageToken": {
321 "description": "Optional. A tag returned by a previo us list request that was truncated. Use this parameter to continue a previous li st request.",
322 "location": "query",
323 "type": "string"
324 },
325 "project": {
326 "description": "Identifies the project addressed by this request.",
327 "location": "path",
328 "required": true,
329 "type": "string"
330 }
331 },
332 "path": "{project}/managedZones",
333 "response": {
334 "$ref": "ManagedZonesListResponse"
335 },
336 "scopes": [
337 "https://www.googleapis.com/auth/cloud-platform",
338 "https://www.googleapis.com/auth/ndev.clouddns.readonly" ,
339 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
340 ]
341 }
342 }
343 },
344 "projects": {
345 "methods": {
346 "get": {
347 "description": "Fetch the representation of an existing Proj ect.",
348 "httpMethod": "GET",
349 "id": "dns.projects.get",
350 "parameterOrder": [
351 "project"
352 ],
353 "parameters": {
354 "project": {
355 "description": "Identifies the project addressed by this request.",
356 "location": "path",
357 "required": true,
358 "type": "string"
359 }
360 },
361 "path": "{project}",
362 "response": {
363 "$ref": "Project"
364 },
365 "scopes": [
366 "https://www.googleapis.com/auth/cloud-platform",
367 "https://www.googleapis.com/auth/ndev.clouddns.readonly" ,
368 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
369 ]
370 }
371 }
372 },
373 "resourceRecordSets": {
374 "methods": {
375 "list": {
376 "description": "Enumerate ResourceRecordSets that have been created but not yet deleted.",
377 "httpMethod": "GET",
378 "id": "dns.resourceRecordSets.list",
379 "parameterOrder": [
380 "project",
381 "managedZone"
382 ],
383 "parameters": {
384 "managedZone": {
385 "description": "Identifies the managed zone addresse d by this request. Can be the managed zone name or id.",
386 "location": "path",
387 "required": true,
388 "type": "string"
389 },
390 "maxResults": {
391 "description": "Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to retur n.",
392 "format": "int32",
393 "location": "query",
394 "type": "integer"
395 },
396 "name": {
397 "description": "Restricts the list to return only re cords with this fully qualified domain name.",
398 "location": "query",
399 "type": "string"
400 },
401 "pageToken": {
402 "description": "Optional. A tag returned by a previo us list request that was truncated. Use this parameter to continue a previous li st request.",
403 "location": "query",
404 "type": "string"
405 },
406 "project": {
407 "description": "Identifies the project addressed by this request.",
408 "location": "path",
409 "required": true,
410 "type": "string"
411 },
412 "type": {
413 "description": "Restricts the list to return only re cords of this type. If present, the \"name\" parameter must also be present.",
414 "location": "query",
415 "type": "string"
416 }
417 },
418 "path": "{project}/managedZones/{managedZone}/rrsets",
419 "response": {
420 "$ref": "ResourceRecordSetsListResponse"
421 },
422 "scopes": [
423 "https://www.googleapis.com/auth/cloud-platform",
424 "https://www.googleapis.com/auth/ndev.clouddns.readonly" ,
425 "https://www.googleapis.com/auth/ndev.clouddns.readwrite "
426 ]
427 }
428 }
429 }
430 },
431 "revision": "20140612",
432 "rootUrl": "https://www.googleapis.com/",
433 "schemas": {
434 "Change": {
435 "description": "An atomic update to a collection of ResourceRecordSe ts.",
436 "id": "Change",
437 "properties": {
438 "additions": {
439 "description": "Which ResourceRecordSets to add?",
440 "items": {
441 "$ref": "ResourceRecordSet"
442 },
443 "type": "array"
444 },
445 "deletions": {
446 "description": "Which ResourceRecordSets to remove? Must mat ch existing data exactly.",
447 "items": {
448 "$ref": "ResourceRecordSet"
449 },
450 "type": "array"
451 },
452 "id": {
453 "description": "Unique identifier for the resource; defined by the server (output only).",
454 "type": "string"
455 },
456 "kind": {
457 "default": "dns#change",
458 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"dns#change\".",
459 "type": "string"
460 },
461 "startTime": {
462 "description": "The time that this operation was started by the server. This is in RFC3339 text format.",
463 "type": "string"
464 },
465 "status": {
466 "description": "Status of the operation. Can be one of the f ollowing: \"PENDING\" or \"DONE\" (output only).",
467 "type": "string"
468 }
469 },
470 "type": "object"
471 },
472 "ChangesListResponse": {
473 "description": "The response to a request to enumerate Changes to a ResourceRecordSets collection.",
474 "id": "ChangesListResponse",
475 "properties": {
476 "changes": {
477 "description": "The requested changes.",
478 "items": {
479 "$ref": "Change"
480 },
481 "type": "array"
482 },
483 "kind": {
484 "default": "dns#changesListResponse",
485 "description": "Type of resource.",
486 "type": "string"
487 },
488 "nextPageToken": {
489 "description": "The presence of this field indicates that th ere exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination tok en.\n\nIn this way you can retrieve the complete contents of even very large col lections one page at a time. However, if the contents of the collection change b etween the first and last paginated list request, the set of all elements return ed will be an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.",
490 "type": "string"
491 }
492 },
493 "type": "object"
494 },
495 "ManagedZone": {
496 "description": "A zone is a subtree of the DNS namespace under one a dministrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.",
497 "id": "ManagedZone",
498 "properties": {
499 "creationTime": {
500 "description": "The time that this resource was created on t he server. This is in RFC3339 text format. Output only.",
501 "type": "string"
502 },
503 "description": {
504 "description": "A string to associate with this resource for the user's convenience. Has no effect on the managed zone's function.",
505 "type": "string"
506 },
507 "dnsName": {
508 "description": "The DNS name of this managed zone, for insta nce \"example.com.\".",
509 "type": "string"
510 },
511 "id": {
512 "description": "Unique identifier for the resource; defined by the server (output only)",
513 "format": "uint64",
514 "type": "string"
515 },
516 "kind": {
517 "default": "dns#managedZone",
518 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"dns#managedZone\".",
519 "type": "string"
520 },
521 "name": {
522 "description": "User assigned name for this resource. Must b e unique within the project.",
523 "type": "string"
524 },
525 "nameServers": {
526 "description": "Delegate your managed_zone to these virtual name servers; defined by the server (output only)",
527 "items": {
528 "type": "string"
529 },
530 "type": "array"
531 }
532 },
533 "type": "object"
534 },
535 "ManagedZonesListResponse": {
536 "id": "ManagedZonesListResponse",
537 "properties": {
538 "kind": {
539 "default": "dns#managedZonesListResponse",
540 "description": "Type of resource.",
541 "type": "string"
542 },
543 "managedZones": {
544 "description": "The managed zone resources.",
545 "items": {
546 "$ref": "ManagedZone"
547 },
548 "type": "array"
549 },
550 "nextPageToken": {
551 "description": "The presence of this field indicates that th ere exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token.\n\ nIn this way you can retrieve the complete contents of even very large collectio ns one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned wil l be an inconsistent view of the collection. There is no way to retrieve a consi stent snapshot of a collection larger than the maximum page size.",
552 "type": "string"
553 }
554 },
555 "type": "object"
556 },
557 "Project": {
558 "description": "A project resource. The project is a top level conta iner for resources including Cloud DNS ManagedZones. Projects can be created onl y in the APIs console.",
559 "id": "Project",
560 "properties": {
561 "id": {
562 "description": "User assigned unique identifier for the reso urce (output only).",
563 "type": "string"
564 },
565 "kind": {
566 "default": "dns#project",
567 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"dns#project\".",
568 "type": "string"
569 },
570 "number": {
571 "description": "Unique numeric identifier for the resource; defined by the server (output only).",
572 "format": "uint64",
573 "type": "string"
574 },
575 "quota": {
576 "$ref": "Quota",
577 "description": "Quotas assigned to this project (output only )."
578 }
579 },
580 "type": "object"
581 },
582 "Quota": {
583 "description": "Limits associated with a Project.",
584 "id": "Quota",
585 "properties": {
586 "kind": {
587 "default": "dns#quota",
588 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"dns#quota\".",
589 "type": "string"
590 },
591 "managedZones": {
592 "description": "Maximum allowed number of managed zones in t he project.",
593 "format": "int32",
594 "type": "integer"
595 },
596 "resourceRecordsPerRrset": {
597 "description": "Maximum allowed number of ResourceRecords pe r ResourceRecordSet.",
598 "format": "int32",
599 "type": "integer"
600 },
601 "rrsetAdditionsPerChange": {
602 "description": "Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.",
603 "format": "int32",
604 "type": "integer"
605 },
606 "rrsetDeletionsPerChange": {
607 "description": "Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.",
608 "format": "int32",
609 "type": "integer"
610 },
611 "rrsetsPerManagedZone": {
612 "description": "Maximum allowed number of ResourceRecordSets per zone in the project.",
613 "format": "int32",
614 "type": "integer"
615 },
616 "totalRrdataSizePerChange": {
617 "description": "Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.",
618 "format": "int32",
619 "type": "integer"
620 }
621 },
622 "type": "object"
623 },
624 "ResourceRecordSet": {
625 "description": "A unit of data that will be returned by the DNS serv ers.",
626 "id": "ResourceRecordSet",
627 "properties": {
628 "kind": {
629 "default": "dns#resourceRecordSet",
630 "description": "Identifies what kind of resource this is. Va lue: the fixed string \"dns#resourceRecordSet\".",
631 "type": "string"
632 },
633 "name": {
634 "description": "For example, www.example.com.",
635 "type": "string"
636 },
637 "rrdatas": {
638 "description": "As defined in RFC 1035 (section 5) and RFC 1 034 (section 3.6.1)",
639 "items": {
640 "type": "string"
641 },
642 "type": "array"
643 },
644 "ttl": {
645 "description": "Number of seconds that this ResourceRecordSe t can be cached by resolvers.",
646 "format": "int32",
647 "type": "integer"
648 },
649 "type": {
650 "description": "One of A, AAAA, SOA, MX, NS, TXT",
651 "type": "string"
652 }
653 },
654 "type": "object"
655 },
656 "ResourceRecordSetsListResponse": {
657 "id": "ResourceRecordSetsListResponse",
658 "properties": {
659 "kind": {
660 "default": "dns#resourceRecordSetsListResponse",
661 "description": "Type of resource.",
662 "type": "string"
663 },
664 "nextPageToken": {
665 "description": "The presence of this field indicates that th ere exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination tok en.\n\nIn this way you can retrieve the complete contents of even very large col lections one page at a time. However, if the contents of the collection change b etween the first and last paginated list request, the set of all elements return ed will be an inconsistent view of the collection. There is no way to retrieve a consistent snapshot of a collection larger than the maximum page size.",
666 "type": "string"
667 },
668 "rrsets": {
669 "description": "The resource record set resources.",
670 "items": {
671 "$ref": "ResourceRecordSet"
672 },
673 "type": "array"
674 }
675 },
676 "type": "object"
677 }
678 },
679 "servicePath": "dns/v1beta1/projects/",
680 "title": "Google Cloud DNS API",
681 "version": "v1beta1"
682 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698