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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/analytics/v3.dart
diff --git a/generated/googleapis/lib/analytics/v3.dart b/generated/googleapis/lib/analytics/v3.dart
index 99a862ae85ca7cc3e8df310b9f525ad535af0497..2491f2505a481c328f60d3bb4dd095e19af8910e 100644
--- a/generated/googleapis/lib/analytics/v3.dart
+++ b/generated/googleapis/lib/analytics/v3.dart
@@ -3285,6 +3285,56 @@ class ManagementRemarketingAudienceResourceApi {
_requester = client;
/**
+ * Delete a remarketing audience.
+ *
+ * Request parameters:
+ *
+ * [accountId] - Account ID to which the remarketing audience belongs.
+ *
+ * [webPropertyId] - Web property ID to which the remarketing audience
+ * belongs.
+ *
+ * [remarketingAudienceId] - The ID of the remarketing audience to delete.
+ *
+ * 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,
+ * this method will complete with the same error.
+ */
+ async.Future delete(core.String accountId, core.String webPropertyId, core.String remarketingAudienceId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (accountId == null) {
+ throw new core.ArgumentError("Parameter accountId is required.");
+ }
+ if (webPropertyId == null) {
+ throw new core.ArgumentError("Parameter webPropertyId is required.");
+ }
+ if (remarketingAudienceId == null) {
+ throw new core.ArgumentError("Parameter remarketingAudienceId is required.");
+ }
+
+ _downloadOptions = null;
+
+ _url = 'management/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/webproperties/' + commons.Escaper.ecapeVariable('$webPropertyId') + '/remarketingAudiences/' + commons.Escaper.ecapeVariable('$remarketingAudienceId');
+
+ var _response = _requester.request(_url,
+ "DELETE",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => null);
+ }
+
+ /**
* Gets a remarketing audience to which the user has access.
*
* Request parameters:
« 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