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

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

Issue 1078053002: Roll of googleapis as of 4/7/2015. (Closed) Base URL: https://github.com/dart-lang/googleapis.git@master
Patch Set: Created 5 years, 8 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/androidpublisher/v2.dart ('k') | generated/googleapis/lib/appstate/v1.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 0b8e6dbc58ccb08c21a3e1ec42708cad8d96d1da..76669a12e6cb6ec5670ffaf5f34d54b0ea8b401b 100644
--- a/generated/googleapis/lib/appsactivity/v1.dart
+++ b/generated/googleapis/lib/appsactivity/v1.dart
@@ -1,47 +1,49 @@
+// This is a generated file (see the discoveryapis_generator project).
+
library googleapis.appsactivity.v1;
-import "dart:core" as core;
-import "dart:collection" as collection;
-import "dart:async" as async;
-import "dart:convert" as convert;
+import 'dart:core' as core;
+import 'dart:collection' as collection;
+import 'dart:async' as async;
+import 'dart:convert' as convert;
-import "package:crypto/crypto.dart" as crypto;
+import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
+import 'package:crypto/crypto.dart' as crypto;
import 'package:http/http.dart' as http;
-import '../src/common_internal.dart' as common_internal;
-import '../common/common.dart' as common;
-export '../common/common.dart' show ApiRequestError;
-export '../common/common.dart' show DetailedApiRequestError;
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
+ ApiRequestError, DetailedApiRequestError;
+
+const core.String USER_AGENT = 'dart-api-client appsactivity/v1';
/** Provides a historical view of activity. */
class AppsactivityApi {
/** View the activity history of your Google Apps */
static const ActivityScope = "https://www.googleapis.com/auth/activity";
- /** View and manage the files and documents in your Google Drive */
+ /** View and manage the files in your Google Drive */
static const DriveScope = "https://www.googleapis.com/auth/drive";
- /** View metadata for files and documents in your Google Drive */
+ /** View metadata for files in your Google Drive */
static const DriveMetadataReadonlyScope = "https://www.googleapis.com/auth/drive.metadata.readonly";
- /** View the files and documents in your Google Drive */
+ /** View the files in your Google Drive */
static const DriveReadonlyScope = "https://www.googleapis.com/auth/drive.readonly";
- final common_internal.ApiRequester _requester;
+ final commons.ApiRequester _requester;
ActivitiesResourceApi get activities => new ActivitiesResourceApi(_requester);
AppsactivityApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "appsactivity/v1/"}) :
- _requester = new common_internal.ApiRequester(client, rootUrl, servicePath);
+ _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
}
-/** Not documented yet. */
class ActivitiesResourceApi {
- final common_internal.ApiRequester _requester;
+ final commons.ApiRequester _requester;
- ActivitiesResourceApi(common_internal.ApiRequester client) :
+ ActivitiesResourceApi(commons.ApiRequester client) :
_requester = client;
/**
@@ -79,7 +81,7 @@ class ActivitiesResourceApi {
*
* Completes with a [ListActivitiesResponse].
*
- * Completes with a [common.ApiRequestError] if the API endpoint returned an
+ * Completes with a [commons.ApiRequestError] if the API endpoint returned an
* error.
*
* If the used [http.Client] completes with an error when making a REST call,
@@ -90,7 +92,7 @@ class ActivitiesResourceApi {
var _queryParams = new core.Map();
var _uploadMedia = null;
var _uploadOptions = null;
- var _downloadOptions = common.DownloadOptions.Metadata;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
if (drive_ancestorId != null) {
@@ -676,5 +678,3 @@ class User {
return _json;
}
}
-
-
« no previous file with comments | « generated/googleapis/lib/androidpublisher/v2.dart ('k') | generated/googleapis/lib/appstate/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698