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

Side by Side Diff: generated/googleapis/lib/analytics/v3.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 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 unified diff | Download patch
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.analytics.v3; 3 library googleapis.analytics.v3;
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 3267 matching lines...) Expand 10 before | Expand all | Expand 10 after
3278 } 3278 }
3279 3279
3280 3280
3281 class ManagementRemarketingAudienceResourceApi { 3281 class ManagementRemarketingAudienceResourceApi {
3282 final commons.ApiRequester _requester; 3282 final commons.ApiRequester _requester;
3283 3283
3284 ManagementRemarketingAudienceResourceApi(commons.ApiRequester client) : 3284 ManagementRemarketingAudienceResourceApi(commons.ApiRequester client) :
3285 _requester = client; 3285 _requester = client;
3286 3286
3287 /** 3287 /**
3288 * Delete a remarketing audience.
3289 *
3290 * Request parameters:
3291 *
3292 * [accountId] - Account ID to which the remarketing audience belongs.
3293 *
3294 * [webPropertyId] - Web property ID to which the remarketing audience
3295 * belongs.
3296 *
3297 * [remarketingAudienceId] - The ID of the remarketing audience to delete.
3298 *
3299 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
3300 * error.
3301 *
3302 * If the used [http.Client] completes with an error when making a REST call,
3303 * this method will complete with the same error.
3304 */
3305 async.Future delete(core.String accountId, core.String webPropertyId, core.Str ing remarketingAudienceId) {
3306 var _url = null;
3307 var _queryParams = new core.Map();
3308 var _uploadMedia = null;
3309 var _uploadOptions = null;
3310 var _downloadOptions = commons.DownloadOptions.Metadata;
3311 var _body = null;
3312
3313 if (accountId == null) {
3314 throw new core.ArgumentError("Parameter accountId is required.");
3315 }
3316 if (webPropertyId == null) {
3317 throw new core.ArgumentError("Parameter webPropertyId is required.");
3318 }
3319 if (remarketingAudienceId == null) {
3320 throw new core.ArgumentError("Parameter remarketingAudienceId is required. ");
3321 }
3322
3323 _downloadOptions = null;
3324
3325 _url = 'management/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/webproperties/' + commons.Escaper.ecapeVariable('$webPropertyId') + '/remark etingAudiences/' + commons.Escaper.ecapeVariable('$remarketingAudienceId');
3326
3327 var _response = _requester.request(_url,
3328 "DELETE",
3329 body: _body,
3330 queryParams: _queryParams,
3331 uploadOptions: _uploadOptions,
3332 uploadMedia: _uploadMedia,
3333 downloadOptions: _downloadOptions);
3334 return _response.then((data) => null);
3335 }
3336
3337 /**
3288 * Gets a remarketing audience to which the user has access. 3338 * Gets a remarketing audience to which the user has access.
3289 * 3339 *
3290 * Request parameters: 3340 * Request parameters:
3291 * 3341 *
3292 * [accountId] - The account ID of the remarketing audience to retrieve. 3342 * [accountId] - The account ID of the remarketing audience to retrieve.
3293 * 3343 *
3294 * [webPropertyId] - The web property ID of the remarketing audience to 3344 * [webPropertyId] - The web property ID of the remarketing audience to
3295 * retrieve. 3345 * retrieve.
3296 * 3346 *
3297 * [remarketingAudienceId] - The ID of the remarketing audience to retrieve. 3347 * [remarketingAudienceId] - The ID of the remarketing audience to retrieve.
(...skipping 8967 matching lines...) Expand 10 before | Expand all | Expand 10 after
12265 } 12315 }
12266 if (updated != null) { 12316 if (updated != null) {
12267 _json["updated"] = (updated).toIso8601String(); 12317 _json["updated"] = (updated).toIso8601String();
12268 } 12318 }
12269 if (websiteUrl != null) { 12319 if (websiteUrl != null) {
12270 _json["websiteUrl"] = websiteUrl; 12320 _json["websiteUrl"] = websiteUrl;
12271 } 12321 }
12272 return _json; 12322 return _json;
12273 } 12323 }
12274 } 12324 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/admin/reports_v1.dart ('k') | generated/googleapis/lib/appengine/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698