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/books/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/bigquery/v2.dart ('k') | generated/googleapis/lib/clouddebugger/v2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/books/v1.dart
diff --git a/generated/googleapis/lib/books/v1.dart b/generated/googleapis/lib/books/v1.dart
index 637af3b76efffe8f0bae616f028fb796924efcec..e15d8068a5d7a974afb070dff9d36bc4ecb54bdd 100644
--- a/generated/googleapis/lib/books/v1.dart
+++ b/generated/googleapis/lib/books/v1.dart
@@ -2079,8 +2079,6 @@ class NotificationResourceApi {
*
* [source] - String to identify the originator of this request.
*
- * [targetIds] - List of target ids used for experiments or user segments
- *
* Completes with a [Notification].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2089,7 +2087,7 @@ class NotificationResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Notification> get(core.String notificationId, {core.String locale, core.String source, core.List<core.String> targetIds}) {
+ async.Future<Notification> get(core.String notificationId, {core.String locale, core.String source}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2107,9 +2105,6 @@ class NotificationResourceApi {
if (source != null) {
_queryParams["source"] = [source];
}
- if (targetIds != null) {
- _queryParams["targetIds"] = targetIds;
- }
_url = 'notification/get';
@@ -2263,8 +2258,6 @@ class PersonalizedstreamResourceApi {
*
* [source] - String to identify the originator of this request.
*
- * [targetIds] - List of target ids used for experiments or user segments
- *
* Completes with a [Discoveryclusters].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -2273,7 +2266,7 @@ class PersonalizedstreamResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Discoveryclusters> get({core.String locale, core.String maxAllowedMaturityRating, core.String source, core.List<core.String> targetIds}) {
+ async.Future<Discoveryclusters> get({core.String locale, core.String maxAllowedMaturityRating, core.String source}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2290,9 +2283,6 @@ class PersonalizedstreamResourceApi {
if (source != null) {
_queryParams["source"] = [source];
}
- if (targetIds != null) {
- _queryParams["targetIds"] = targetIds;
- }
_url = 'personalizedstream/get';
@@ -2933,6 +2923,8 @@ class VolumesMybooksResourceApi {
*
* [acquireMethod] - How the book was aquired
*
+ * [country] - ISO-3166-1 code to override the IP-based location.
+ *
* [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used
* for generating recommendations.
*
@@ -2955,7 +2947,7 @@ class VolumesMybooksResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Volumes> list({core.List<core.String> acquireMethod, core.String locale, core.int maxResults, core.List<core.String> processingState, core.String source, core.int startIndex}) {
+ async.Future<Volumes> list({core.List<core.String> acquireMethod, core.String country, core.String locale, core.int maxResults, core.List<core.String> processingState, core.String source, core.int startIndex}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -2966,6 +2958,9 @@ class VolumesMybooksResourceApi {
if (acquireMethod != null) {
_queryParams["acquireMethod"] = acquireMethod;
}
+ if (country != null) {
+ _queryParams["country"] = [country];
+ }
if (locale != null) {
_queryParams["locale"] = [locale];
}
@@ -3020,8 +3015,6 @@ class VolumesRecommendedResourceApi {
*
* [source] - String to identify the originator of this request.
*
- * [targetIds] - List of target ids used for experiments or user segments
- *
* Completes with a [Volumes].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -3030,7 +3023,7 @@ class VolumesRecommendedResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Volumes> list({core.String locale, core.String maxAllowedMaturityRating, core.String source, core.List<core.String> targetIds}) {
+ async.Future<Volumes> list({core.String locale, core.String maxAllowedMaturityRating, core.String source}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -3047,9 +3040,6 @@ class VolumesRecommendedResourceApi {
if (source != null) {
_queryParams["source"] = [source];
}
- if (targetIds != null) {
- _queryParams["targetIds"] = targetIds;
- }
_url = 'volumes/recommended';
@@ -5588,6 +5578,7 @@ class Notification {
core.String kind;
core.String notificationType;
core.String pcampaignId;
+ core.String reason;
core.bool showNotificationSettingsAction;
core.String targetUrl;
core.String title;
@@ -5613,6 +5604,9 @@ class Notification {
if (_json.containsKey("pcampaign_id")) {
pcampaignId = _json["pcampaign_id"];
}
+ if (_json.containsKey("reason")) {
+ reason = _json["reason"];
+ }
if (_json.containsKey("show_notification_settings_action")) {
showNotificationSettingsAction = _json["show_notification_settings_action"];
}
@@ -5644,6 +5638,9 @@ class Notification {
if (pcampaignId != null) {
_json["pcampaign_id"] = pcampaignId;
}
+ if (reason != null) {
+ _json["reason"] = reason;
+ }
if (showNotificationSettingsAction != null) {
_json["show_notification_settings_action"] = showNotificationSettingsAction;
}
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/clouddebugger/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698