OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.storage.v1; | 3 library googleapis.storage.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 return _response.then((data) => new Bucket.fromJson(data)); | 542 return _response.then((data) => new Bucket.fromJson(data)); |
543 } | 543 } |
544 | 544 |
545 /** | 545 /** |
546 * Retrieves a list of buckets for a given project. | 546 * Retrieves a list of buckets for a given project. |
547 * | 547 * |
548 * Request parameters: | 548 * Request parameters: |
549 * | 549 * |
550 * [project] - A valid API project identifier. | 550 * [project] - A valid API project identifier. |
551 * | 551 * |
552 * [maxResults] - Maximum number of buckets to return. | 552 * [maxResults] - Maximum number of buckets to return in a single response. |
| 553 * The service will use this parameter or 1,000 items, whichever is smaller. |
553 * | 554 * |
554 * [pageToken] - A previously-returned page token representing part of the | 555 * [pageToken] - A previously-returned page token representing part of the |
555 * larger set of results to view. | 556 * larger set of results to view. |
556 * | 557 * |
557 * [prefix] - Filter results to buckets whose names begin with this prefix. | 558 * [prefix] - Filter results to buckets whose names begin with this prefix. |
558 * | 559 * |
559 * [projection] - Set of properties to return. Defaults to noAcl. | 560 * [projection] - Set of properties to return. Defaults to noAcl. |
560 * Possible string values are: | 561 * Possible string values are: |
561 * - "full" : Include all properties. | 562 * - "full" : Include all properties. |
562 * - "noAcl" : Omit owner, acl and defaultObjectAcl properties. | 563 * - "noAcl" : Omit owner, acl and defaultObjectAcl properties. |
(...skipping 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 * Request parameters: | 2107 * Request parameters: |
2107 * | 2108 * |
2108 * [bucket] - Name of the bucket in which to look for objects. | 2109 * [bucket] - Name of the bucket in which to look for objects. |
2109 * | 2110 * |
2110 * [delimiter] - Returns results in a directory-like mode. items will contain | 2111 * [delimiter] - Returns results in a directory-like mode. items will contain |
2111 * only objects whose names, aside from the prefix, do not contain delimiter. | 2112 * only objects whose names, aside from the prefix, do not contain delimiter. |
2112 * Objects whose names, aside from the prefix, contain delimiter will have | 2113 * Objects whose names, aside from the prefix, contain delimiter will have |
2113 * their name, truncated after the delimiter, returned in prefixes. Duplicate | 2114 * their name, truncated after the delimiter, returned in prefixes. Duplicate |
2114 * prefixes are omitted. | 2115 * prefixes are omitted. |
2115 * | 2116 * |
2116 * [maxResults] - Maximum number of items plus prefixes to return. As | 2117 * [maxResults] - Maximum number of items plus prefixes to return in a single |
2117 * duplicate prefixes are omitted, fewer total results may be returned than | 2118 * page of responses. As duplicate prefixes are omitted, fewer total results |
2118 * requested. The default value of this parameter is 1,000 items. | 2119 * may be returned than requested. The service will use this parameter or |
| 2120 * 1,000 items, whichever is smaller. |
2119 * | 2121 * |
2120 * [pageToken] - A previously-returned page token representing part of the | 2122 * [pageToken] - A previously-returned page token representing part of the |
2121 * larger set of results to view. | 2123 * larger set of results to view. |
2122 * | 2124 * |
2123 * [prefix] - Filter results to objects whose names begin with this prefix. | 2125 * [prefix] - Filter results to objects whose names begin with this prefix. |
2124 * | 2126 * |
2125 * [projection] - Set of properties to return. Defaults to noAcl. | 2127 * [projection] - Set of properties to return. Defaults to noAcl. |
2126 * Possible string values are: | 2128 * Possible string values are: |
2127 * - "full" : Include all properties. | 2129 * - "full" : Include all properties. |
2128 * - "noAcl" : Omit the owner, acl property. | 2130 * - "noAcl" : Omit the owner, acl property. |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2580 * Request parameters: | 2582 * Request parameters: |
2581 * | 2583 * |
2582 * [bucket] - Name of the bucket in which to look for objects. | 2584 * [bucket] - Name of the bucket in which to look for objects. |
2583 * | 2585 * |
2584 * [delimiter] - Returns results in a directory-like mode. items will contain | 2586 * [delimiter] - Returns results in a directory-like mode. items will contain |
2585 * only objects whose names, aside from the prefix, do not contain delimiter. | 2587 * only objects whose names, aside from the prefix, do not contain delimiter. |
2586 * Objects whose names, aside from the prefix, contain delimiter will have | 2588 * Objects whose names, aside from the prefix, contain delimiter will have |
2587 * their name, truncated after the delimiter, returned in prefixes. Duplicate | 2589 * their name, truncated after the delimiter, returned in prefixes. Duplicate |
2588 * prefixes are omitted. | 2590 * prefixes are omitted. |
2589 * | 2591 * |
2590 * [maxResults] - Maximum number of items plus prefixes to return. As | 2592 * [maxResults] - Maximum number of items plus prefixes to return in a single |
2591 * duplicate prefixes are omitted, fewer total results may be returned than | 2593 * page of responses. As duplicate prefixes are omitted, fewer total results |
2592 * requested. The default value of this parameter is 1,000 items. | 2594 * may be returned than requested. The service will use this parameter or |
| 2595 * 1,000 items, whichever is smaller. |
2593 * | 2596 * |
2594 * [pageToken] - A previously-returned page token representing part of the | 2597 * [pageToken] - A previously-returned page token representing part of the |
2595 * larger set of results to view. | 2598 * larger set of results to view. |
2596 * | 2599 * |
2597 * [prefix] - Filter results to objects whose names begin with this prefix. | 2600 * [prefix] - Filter results to objects whose names begin with this prefix. |
2598 * | 2601 * |
2599 * [projection] - Set of properties to return. Defaults to noAcl. | 2602 * [projection] - Set of properties to return. Defaults to noAcl. |
2600 * Possible string values are: | 2603 * Possible string values are: |
2601 * - "full" : Include all properties. | 2604 * - "full" : Include all properties. |
2602 * - "noAcl" : Omit the owner, acl property. | 2605 * - "noAcl" : Omit the owner, acl property. |
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4300 } | 4303 } |
4301 if (rewriteToken != null) { | 4304 if (rewriteToken != null) { |
4302 _json["rewriteToken"] = rewriteToken; | 4305 _json["rewriteToken"] = rewriteToken; |
4303 } | 4306 } |
4304 if (totalBytesRewritten != null) { | 4307 if (totalBytesRewritten != null) { |
4305 _json["totalBytesRewritten"] = totalBytesRewritten; | 4308 _json["totalBytesRewritten"] = totalBytesRewritten; |
4306 } | 4309 } |
4307 return _json; | 4310 return _json; |
4308 } | 4311 } |
4309 } | 4312 } |
OLD | NEW |