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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/bigquery/v2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/appsactivity/v1.dart
diff --git a/generated/googleapis/lib/appsactivity/v1.dart b/generated/googleapis/lib/appsactivity/v1.dart
index f975195551bece2836597a9cb164ce15305ee37f..76b54b605facb8a78f500a626aa23690e3b40a75 100644
--- a/generated/googleapis/lib/appsactivity/v1.dart
+++ b/generated/googleapis/lib/appsactivity/v1.dart
@@ -607,9 +607,20 @@ class Target {
/** A representation of a user. */
class User {
+ /**
+ * A boolean which indicates whether the specified User was deleted. If true,
+ * name, photo and permission_id will be omitted.
+ */
+ core.bool isDeleted;
/** The displayable name of the user. */
core.String name;
/**
+ * The permission ID associated with this user. Equivalent to the Drive API's
+ * permission ID for this user, returned as part of the Drive Permissions
+ * resource.
+ */
+ core.String permissionId;
+ /**
* The profile photo of the user. Not present if the user has no profile
* photo.
*/
@@ -618,9 +629,15 @@ class User {
User();
User.fromJson(core.Map _json) {
+ if (_json.containsKey("isDeleted")) {
+ isDeleted = _json["isDeleted"];
+ }
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("permissionId")) {
+ permissionId = _json["permissionId"];
+ }
if (_json.containsKey("photo")) {
photo = new Photo.fromJson(_json["photo"]);
}
@@ -628,9 +645,15 @@ class User {
core.Map toJson() {
var _json = new core.Map();
+ if (isDeleted != null) {
+ _json["isDeleted"] = isDeleted;
+ }
if (name != null) {
_json["name"] = name;
}
+ if (permissionId != null) {
+ _json["permissionId"] = permissionId;
+ }
if (photo != null) {
_json["photo"] = (photo).toJson();
}
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/bigquery/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698