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

Side by Side Diff: generated/googleapis/lib/storage/v1.dart

Issue 2159673002: Api-roll 39: 2016-07-18 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « generated/googleapis/lib/qpxexpress/v1.dart ('k') | generated/googleapis/lib/translate/v2.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 3160 matching lines...) Expand 10 before | Expand all | Expand 10 after
3171 _json["website"] = (website).toJson(); 3171 _json["website"] = (website).toJson();
3172 } 3172 }
3173 return _json; 3173 return _json;
3174 } 3174 }
3175 } 3175 }
3176 3176
3177 /** The project team associated with the entity, if any. */ 3177 /** The project team associated with the entity, if any. */
3178 class BucketAccessControlProjectTeam { 3178 class BucketAccessControlProjectTeam {
3179 /** The project number. */ 3179 /** The project number. */
3180 core.String projectNumber; 3180 core.String projectNumber;
3181 /** The team. Can be owners, editors, or viewers. */ 3181 /** The team. */
3182 core.String team; 3182 core.String team;
3183 3183
3184 BucketAccessControlProjectTeam(); 3184 BucketAccessControlProjectTeam();
3185 3185
3186 BucketAccessControlProjectTeam.fromJson(core.Map _json) { 3186 BucketAccessControlProjectTeam.fromJson(core.Map _json) {
3187 if (_json.containsKey("projectNumber")) { 3187 if (_json.containsKey("projectNumber")) {
3188 projectNumber = _json["projectNumber"]; 3188 projectNumber = _json["projectNumber"];
3189 } 3189 }
3190 if (_json.containsKey("team")) { 3190 if (_json.containsKey("team")) {
3191 team = _json["team"]; 3191 team = _json["team"];
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
3235 core.String etag; 3235 core.String etag;
3236 /** The ID of the access-control entry. */ 3236 /** The ID of the access-control entry. */
3237 core.String id; 3237 core.String id;
3238 /** 3238 /**
3239 * The kind of item this is. For bucket access control entries, this is always 3239 * The kind of item this is. For bucket access control entries, this is always
3240 * storage#bucketAccessControl. 3240 * storage#bucketAccessControl.
3241 */ 3241 */
3242 core.String kind; 3242 core.String kind;
3243 /** The project team associated with the entity, if any. */ 3243 /** The project team associated with the entity, if any. */
3244 BucketAccessControlProjectTeam projectTeam; 3244 BucketAccessControlProjectTeam projectTeam;
3245 /** The access permission for the entity. Can be READER, WRITER, or OWNER. */ 3245 /** The access permission for the entity. */
3246 core.String role; 3246 core.String role;
3247 /** The link to this access-control entry. */ 3247 /** The link to this access-control entry. */
3248 core.String selfLink; 3248 core.String selfLink;
3249 3249
3250 BucketAccessControl(); 3250 BucketAccessControl();
3251 3251
3252 BucketAccessControl.fromJson(core.Map _json) { 3252 BucketAccessControl.fromJson(core.Map _json) {
3253 if (_json.containsKey("bucket")) { 3253 if (_json.containsKey("bucket")) {
3254 bucket = _json["bucket"]; 3254 bucket = _json["bucket"];
3255 } 3255 }
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
3921 _json["updated"] = (updated).toIso8601String(); 3921 _json["updated"] = (updated).toIso8601String();
3922 } 3922 }
3923 return _json; 3923 return _json;
3924 } 3924 }
3925 } 3925 }
3926 3926
3927 /** The project team associated with the entity, if any. */ 3927 /** The project team associated with the entity, if any. */
3928 class ObjectAccessControlProjectTeam { 3928 class ObjectAccessControlProjectTeam {
3929 /** The project number. */ 3929 /** The project number. */
3930 core.String projectNumber; 3930 core.String projectNumber;
3931 /** The team. Can be owners, editors, or viewers. */ 3931 /** The team. */
3932 core.String team; 3932 core.String team;
3933 3933
3934 ObjectAccessControlProjectTeam(); 3934 ObjectAccessControlProjectTeam();
3935 3935
3936 ObjectAccessControlProjectTeam.fromJson(core.Map _json) { 3936 ObjectAccessControlProjectTeam.fromJson(core.Map _json) {
3937 if (_json.containsKey("projectNumber")) { 3937 if (_json.containsKey("projectNumber")) {
3938 projectNumber = _json["projectNumber"]; 3938 projectNumber = _json["projectNumber"];
3939 } 3939 }
3940 if (_json.containsKey("team")) { 3940 if (_json.containsKey("team")) {
3941 team = _json["team"]; 3941 team = _json["team"];
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3989 core.String id; 3989 core.String id;
3990 /** 3990 /**
3991 * The kind of item this is. For object access control entries, this is always 3991 * The kind of item this is. For object access control entries, this is always
3992 * storage#objectAccessControl. 3992 * storage#objectAccessControl.
3993 */ 3993 */
3994 core.String kind; 3994 core.String kind;
3995 /** The name of the object. */ 3995 /** The name of the object. */
3996 core.String object; 3996 core.String object;
3997 /** The project team associated with the entity, if any. */ 3997 /** The project team associated with the entity, if any. */
3998 ObjectAccessControlProjectTeam projectTeam; 3998 ObjectAccessControlProjectTeam projectTeam;
3999 /** The access permission for the entity. Can be READER or OWNER. */ 3999 /** The access permission for the entity. */
4000 core.String role; 4000 core.String role;
4001 /** The link to this access-control entry. */ 4001 /** The link to this access-control entry. */
4002 core.String selfLink; 4002 core.String selfLink;
4003 4003
4004 ObjectAccessControl(); 4004 ObjectAccessControl();
4005 4005
4006 ObjectAccessControl.fromJson(core.Map _json) { 4006 ObjectAccessControl.fromJson(core.Map _json) {
4007 if (_json.containsKey("bucket")) { 4007 if (_json.containsKey("bucket")) {
4008 bucket = _json["bucket"]; 4008 bucket = _json["bucket"];
4009 } 4009 }
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
4252 } 4252 }
4253 if (rewriteToken != null) { 4253 if (rewriteToken != null) {
4254 _json["rewriteToken"] = rewriteToken; 4254 _json["rewriteToken"] = rewriteToken;
4255 } 4255 }
4256 if (totalBytesRewritten != null) { 4256 if (totalBytesRewritten != null) {
4257 _json["totalBytesRewritten"] = totalBytesRewritten; 4257 _json["totalBytesRewritten"] = totalBytesRewritten;
4258 } 4258 }
4259 return _json; 4259 return _json;
4260 } 4260 }
4261 } 4261 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/qpxexpress/v1.dart ('k') | generated/googleapis/lib/translate/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698