| OLD | NEW |
| 1 library googleapis.tagmanager.v1; | 1 library googleapis.tagmanager.v1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 static const TagmanagerPublishScope = "https://www.googleapis.com/auth/tagmana
ger.publish"; | 34 static const TagmanagerPublishScope = "https://www.googleapis.com/auth/tagmana
ger.publish"; |
| 35 | 35 |
| 36 /** View your Google Tag Manager containers */ | 36 /** View your Google Tag Manager containers */ |
| 37 static const TagmanagerReadonlyScope = "https://www.googleapis.com/auth/tagman
ager.readonly"; | 37 static const TagmanagerReadonlyScope = "https://www.googleapis.com/auth/tagman
ager.readonly"; |
| 38 | 38 |
| 39 | 39 |
| 40 final common_internal.ApiRequester _requester; | 40 final common_internal.ApiRequester _requester; |
| 41 | 41 |
| 42 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); | 42 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
| 43 | 43 |
| 44 TagmanagerApi(http.Client client) : | 44 TagmanagerApi(http.Client client, {core.String rootUrl: "https://www.googleapi
s.com/", core.String servicePath: "tagmanager/v1/"}) : |
| 45 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "tagmanager/v1/"); | 45 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 46 } | 46 } |
| 47 | 47 |
| 48 | 48 |
| 49 /** Not documented yet. */ | 49 /** Not documented yet. */ |
| 50 class AccountsResourceApi { | 50 class AccountsResourceApi { |
| 51 final common_internal.ApiRequester _requester; | 51 final common_internal.ApiRequester _requester; |
| 52 | 52 |
| 53 AccountsContainersResourceApi get containers => new AccountsContainersResource
Api(_requester); | 53 AccountsContainersResourceApi get containers => new AccountsContainersResource
Api(_requester); |
| 54 AccountsPermissionsResourceApi get permissions => new AccountsPermissionsResou
rceApi(_requester); | 54 AccountsPermissionsResourceApi get permissions => new AccountsPermissionsResou
rceApi(_requester); |
| 55 | 55 |
| (...skipping 4138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4194 _json["type"] = type; | 4194 _json["type"] = type; |
| 4195 } | 4195 } |
| 4196 if (variableId != null) { | 4196 if (variableId != null) { |
| 4197 _json["variableId"] = variableId; | 4197 _json["variableId"] = variableId; |
| 4198 } | 4198 } |
| 4199 return _json; | 4199 return _json; |
| 4200 } | 4200 } |
| 4201 } | 4201 } |
| 4202 | 4202 |
| 4203 | 4203 |
| OLD | NEW |