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

Unified Diff: generated/googleapis/lib/drive/v2.dart

Issue 595873002: Api roll 1: 2014-09-23 (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/doubleclicksearch/v2.dart ('k') | generated/googleapis/lib/freebase/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/drive/v2.dart
diff --git a/generated/googleapis/lib/drive/v2.dart b/generated/googleapis/lib/drive/v2.dart
index 4c092e3547bda699ccbe36c0c0fd71ade7aef886..042f969eb4050ab2b9bb15b0d5c666476e053aea 100644
--- a/generated/googleapis/lib/drive/v2.dart
+++ b/generated/googleapis/lib/drive/v2.dart
@@ -57,7 +57,7 @@ class DriveApi {
RevisionsResourceApi get revisions => new RevisionsResourceApi(_requester);
DriveApi(http.Client client) :
- _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "/drive/v2/");
+ _requester = new common_internal.ApiRequester(client, "https://www.googleapis.com/", "drive/v2/");
}
@@ -5389,6 +5389,48 @@ class FileThumbnail {
}
+/** Metadata about video media. This will only be present for video types. */
+class FileVideoMediaMetadata {
+ /** The duration of the video in milliseconds. */
+ core.String durationMillis;
+
+ /** The height of the video in pixels. */
+ core.int height;
+
+ /** The width of the video in pixels. */
+ core.int width;
+
+
+ FileVideoMediaMetadata();
+
+ FileVideoMediaMetadata.fromJson(core.Map _json) {
+ if (_json.containsKey("durationMillis")) {
+ durationMillis = _json["durationMillis"];
+ }
+ if (_json.containsKey("height")) {
+ height = _json["height"];
+ }
+ if (_json.containsKey("width")) {
+ width = _json["width"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (durationMillis != null) {
+ _json["durationMillis"] = durationMillis;
+ }
+ if (height != null) {
+ _json["height"] = height;
+ }
+ if (width != null) {
+ _json["width"] = width;
+ }
+ return _json;
+ }
+}
+
+
/** The metadata for a file. */
class File {
/** A link for opening the file in a relevant Google editor or viewer. */
@@ -5593,6 +5635,9 @@ class File {
*/
core.String version;
+ /** Metadata about video media. This will only be present for video types. */
+ FileVideoMediaMetadata videoMediaMetadata;
+
/**
* A link for downloading the content of the file in a browser using cookie
* based authentication. In cases where the content is shared publicly, the
@@ -5751,6 +5796,9 @@ class File {
if (_json.containsKey("version")) {
version = _json["version"];
}
+ if (_json.containsKey("videoMediaMetadata")) {
+ videoMediaMetadata = new FileVideoMediaMetadata.fromJson(_json["videoMediaMetadata"]);
+ }
if (_json.containsKey("webContentLink")) {
webContentLink = _json["webContentLink"];
}
@@ -5902,6 +5950,9 @@ class File {
if (version != null) {
_json["version"] = version;
}
+ if (videoMediaMetadata != null) {
+ _json["videoMediaMetadata"] = (videoMediaMetadata).toJson();
+ }
if (webContentLink != null) {
_json["webContentLink"] = webContentLink;
}
@@ -6113,9 +6164,7 @@ class Permission {
/**
* The email address of the user this permission refers to. This is an
- * output-only field which is present when the permission type is user and the
- * given user's Google+ profile privacy settings allow exposing their email
- * address.
+ * output-only field which is present when the permission type is user.
*/
core.String emailAddress;
« no previous file with comments | « generated/googleapis/lib/doubleclicksearch/v2.dart ('k') | generated/googleapis/lib/freebase/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698