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

Unified Diff: generated/googleapis/lib/storage/v1.dart

Issue 798373003: Api roll 8: 2014-12-15 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/src/common_internal.dart ('k') | generated/googleapis/lib/tagmanager/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/storage/v1.dart
diff --git a/generated/googleapis/lib/storage/v1.dart b/generated/googleapis/lib/storage/v1.dart
index fd3d98bee2ba92acdc94204a14c30395a0733867..7e84505207d6f94648415aefe9d3459a4662a696 100644
--- a/generated/googleapis/lib/storage/v1.dart
+++ b/generated/googleapis/lib/storage/v1.dart
@@ -37,8 +37,8 @@ class StorageApi {
ObjectAccessControlsResourceApi get objectAccessControls => new ObjectAccessControlsResourceApi(_requester);
ObjectsResourceApi get objects => new ObjectsResourceApi(_requester);
- StorageApi(http.Client client) :
- _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "storage/v1/");
+ StorageApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "storage/v1/"}) :
+ _requester = new common_internal.ApiRequester(client, rootUrl, servicePath);
}
@@ -477,6 +477,21 @@ class BucketsResourceApi {
* - "publicReadWrite" : Project team owners get OWNER access, and allUsers
* get WRITER access.
*
+ * [predefinedDefaultObjectAcl] - Apply a predefined set of default object
+ * access controls to this bucket.
+ * Possible string values are:
+ * - "authenticatedRead" : Object owner gets OWNER access, and
+ * allAuthenticatedUsers get READER access.
+ * - "bucketOwnerFullControl" : Object owner gets OWNER access, and project
+ * team owners get OWNER access.
+ * - "bucketOwnerRead" : Object owner gets OWNER access, and project team
+ * owners get READER access.
+ * - "private" : Object owner gets OWNER access.
+ * - "projectPrivate" : Object owner gets OWNER access, and project team
+ * members get access according to their roles.
+ * - "publicRead" : Object owner gets OWNER access, and allUsers get READER
+ * access.
+ *
* [projection] - Set of properties to return. Defaults to noAcl, unless the
* bucket resource specifies acl or defaultObjectAcl properties, when it
* defaults to full.
@@ -492,7 +507,7 @@ class BucketsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Bucket> insert(Bucket request, core.String project, {core.String predefinedAcl, core.String projection}) {
+ async.Future<Bucket> insert(Bucket request, core.String project, {core.String predefinedAcl, core.String predefinedDefaultObjectAcl, core.String projection}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -510,6 +525,9 @@ class BucketsResourceApi {
if (predefinedAcl != null) {
_queryParams["predefinedAcl"] = [predefinedAcl];
}
+ if (predefinedDefaultObjectAcl != null) {
+ _queryParams["predefinedDefaultObjectAcl"] = [predefinedDefaultObjectAcl];
+ }
if (projection != null) {
_queryParams["projection"] = [projection];
}
@@ -616,6 +634,21 @@ class BucketsResourceApi {
* - "publicReadWrite" : Project team owners get OWNER access, and allUsers
* get WRITER access.
*
+ * [predefinedDefaultObjectAcl] - Apply a predefined set of default object
+ * access controls to this bucket.
+ * Possible string values are:
+ * - "authenticatedRead" : Object owner gets OWNER access, and
+ * allAuthenticatedUsers get READER access.
+ * - "bucketOwnerFullControl" : Object owner gets OWNER access, and project
+ * team owners get OWNER access.
+ * - "bucketOwnerRead" : Object owner gets OWNER access, and project team
+ * owners get READER access.
+ * - "private" : Object owner gets OWNER access.
+ * - "projectPrivate" : Object owner gets OWNER access, and project team
+ * members get access according to their roles.
+ * - "publicRead" : Object owner gets OWNER access, and allUsers get READER
+ * access.
+ *
* [projection] - Set of properties to return. Defaults to full.
* Possible string values are:
* - "full" : Include all properties.
@@ -629,7 +662,7 @@ class BucketsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Bucket> patch(Bucket request, core.String bucket, {core.String ifMetagenerationMatch, core.String ifMetagenerationNotMatch, core.String predefinedAcl, core.String projection}) {
+ async.Future<Bucket> patch(Bucket request, core.String bucket, {core.String ifMetagenerationMatch, core.String ifMetagenerationNotMatch, core.String predefinedAcl, core.String predefinedDefaultObjectAcl, core.String projection}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -652,6 +685,9 @@ class BucketsResourceApi {
if (predefinedAcl != null) {
_queryParams["predefinedAcl"] = [predefinedAcl];
}
+ if (predefinedDefaultObjectAcl != null) {
+ _queryParams["predefinedDefaultObjectAcl"] = [predefinedDefaultObjectAcl];
+ }
if (projection != null) {
_queryParams["projection"] = [projection];
}
@@ -698,6 +734,21 @@ class BucketsResourceApi {
* - "publicReadWrite" : Project team owners get OWNER access, and allUsers
* get WRITER access.
*
+ * [predefinedDefaultObjectAcl] - Apply a predefined set of default object
+ * access controls to this bucket.
+ * Possible string values are:
+ * - "authenticatedRead" : Object owner gets OWNER access, and
+ * allAuthenticatedUsers get READER access.
+ * - "bucketOwnerFullControl" : Object owner gets OWNER access, and project
+ * team owners get OWNER access.
+ * - "bucketOwnerRead" : Object owner gets OWNER access, and project team
+ * owners get READER access.
+ * - "private" : Object owner gets OWNER access.
+ * - "projectPrivate" : Object owner gets OWNER access, and project team
+ * members get access according to their roles.
+ * - "publicRead" : Object owner gets OWNER access, and allUsers get READER
+ * access.
+ *
* [projection] - Set of properties to return. Defaults to full.
* Possible string values are:
* - "full" : Include all properties.
@@ -711,7 +762,7 @@ class BucketsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Bucket> update(Bucket request, core.String bucket, {core.String ifMetagenerationMatch, core.String ifMetagenerationNotMatch, core.String predefinedAcl, core.String projection}) {
+ async.Future<Bucket> update(Bucket request, core.String bucket, {core.String ifMetagenerationMatch, core.String ifMetagenerationNotMatch, core.String predefinedAcl, core.String predefinedDefaultObjectAcl, core.String projection}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -734,6 +785,9 @@ class BucketsResourceApi {
if (predefinedAcl != null) {
_queryParams["predefinedAcl"] = [predefinedAcl];
}
+ if (predefinedDefaultObjectAcl != null) {
+ _queryParams["predefinedDefaultObjectAcl"] = [predefinedDefaultObjectAcl];
+ }
if (projection != null) {
_queryParams["projection"] = [projection];
}
« no previous file with comments | « generated/googleapis/lib/src/common_internal.dart ('k') | generated/googleapis/lib/tagmanager/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698