OLD | NEW |
1 library googleapis.analytics.v3; | 1 library googleapis.analytics.v3; |
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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 | 442 |
443 ManagementAccountSummariesResourceApi(common_internal.ApiRequester client) : | 443 ManagementAccountSummariesResourceApi(common_internal.ApiRequester client) : |
444 _requester = client; | 444 _requester = client; |
445 | 445 |
446 /** | 446 /** |
447 * Lists account summaries (lightweight tree comprised of | 447 * Lists account summaries (lightweight tree comprised of |
448 * accounts/properties/profiles) to which the user has access. | 448 * accounts/properties/profiles) to which the user has access. |
449 * | 449 * |
450 * Request parameters: | 450 * Request parameters: |
451 * | 451 * |
452 * [max_results] - The maximum number of filters to include in this response. | 452 * [max_results] - The maximum number of account summaries to include in this |
| 453 * response, where the largest acceptable value is 1000. |
453 * | 454 * |
454 * [start_index] - An index of the first entity to retrieve. Use this | 455 * [start_index] - An index of the first entity to retrieve. Use this |
455 * parameter as a pagination mechanism along with the max-results parameter. | 456 * parameter as a pagination mechanism along with the max-results parameter. |
456 * | 457 * |
457 * Completes with a [AccountSummaries]. | 458 * Completes with a [AccountSummaries]. |
458 * | 459 * |
459 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 460 * Completes with a [common.ApiRequestError] if the API endpoint returned an |
460 * error. | 461 * error. |
461 * | 462 * |
462 * If the used [http.Client] completes with an error when making a REST call, | 463 * If the used [http.Client] completes with an error when making a REST call, |
(...skipping 8911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9374 core.String currency; | 9375 core.String currency; |
9375 | 9376 |
9376 /** Default page for this view (profile). */ | 9377 /** Default page for this view (profile). */ |
9377 core.String defaultPage; | 9378 core.String defaultPage; |
9378 | 9379 |
9379 /** | 9380 /** |
9380 * Indicates whether ecommerce tracking is enabled for this view (profile). | 9381 * Indicates whether ecommerce tracking is enabled for this view (profile). |
9381 */ | 9382 */ |
9382 core.bool eCommerceTracking; | 9383 core.bool eCommerceTracking; |
9383 | 9384 |
| 9385 /** |
| 9386 * Indicates whether enhanced ecommerce tracking is enabled for this view |
| 9387 * (profile). |
| 9388 */ |
| 9389 core.bool enhancedECommerceTracking; |
| 9390 |
9384 /** The query parameters that are excluded from this view (profile). */ | 9391 /** The query parameters that are excluded from this view (profile). */ |
9385 core.String excludeQueryParameters; | 9392 core.String excludeQueryParameters; |
9386 | 9393 |
9387 /** View (Profile) ID. */ | 9394 /** View (Profile) ID. */ |
9388 core.String id; | 9395 core.String id; |
9389 | 9396 |
9390 /** Internal ID for the web property to which this view (profile) belongs. */ | 9397 /** Internal ID for the web property to which this view (profile) belongs. */ |
9391 core.String internalWebPropertyId; | 9398 core.String internalWebPropertyId; |
9392 | 9399 |
9393 /** Resource type for Analytics view (profile). */ | 9400 /** Resource type for Analytics view (profile). */ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9462 } | 9469 } |
9463 if (_json.containsKey("currency")) { | 9470 if (_json.containsKey("currency")) { |
9464 currency = _json["currency"]; | 9471 currency = _json["currency"]; |
9465 } | 9472 } |
9466 if (_json.containsKey("defaultPage")) { | 9473 if (_json.containsKey("defaultPage")) { |
9467 defaultPage = _json["defaultPage"]; | 9474 defaultPage = _json["defaultPage"]; |
9468 } | 9475 } |
9469 if (_json.containsKey("eCommerceTracking")) { | 9476 if (_json.containsKey("eCommerceTracking")) { |
9470 eCommerceTracking = _json["eCommerceTracking"]; | 9477 eCommerceTracking = _json["eCommerceTracking"]; |
9471 } | 9478 } |
| 9479 if (_json.containsKey("enhancedECommerceTracking")) { |
| 9480 enhancedECommerceTracking = _json["enhancedECommerceTracking"]; |
| 9481 } |
9472 if (_json.containsKey("excludeQueryParameters")) { | 9482 if (_json.containsKey("excludeQueryParameters")) { |
9473 excludeQueryParameters = _json["excludeQueryParameters"]; | 9483 excludeQueryParameters = _json["excludeQueryParameters"]; |
9474 } | 9484 } |
9475 if (_json.containsKey("id")) { | 9485 if (_json.containsKey("id")) { |
9476 id = _json["id"]; | 9486 id = _json["id"]; |
9477 } | 9487 } |
9478 if (_json.containsKey("internalWebPropertyId")) { | 9488 if (_json.containsKey("internalWebPropertyId")) { |
9479 internalWebPropertyId = _json["internalWebPropertyId"]; | 9489 internalWebPropertyId = _json["internalWebPropertyId"]; |
9480 } | 9490 } |
9481 if (_json.containsKey("kind")) { | 9491 if (_json.containsKey("kind")) { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9535 } | 9545 } |
9536 if (currency != null) { | 9546 if (currency != null) { |
9537 _json["currency"] = currency; | 9547 _json["currency"] = currency; |
9538 } | 9548 } |
9539 if (defaultPage != null) { | 9549 if (defaultPage != null) { |
9540 _json["defaultPage"] = defaultPage; | 9550 _json["defaultPage"] = defaultPage; |
9541 } | 9551 } |
9542 if (eCommerceTracking != null) { | 9552 if (eCommerceTracking != null) { |
9543 _json["eCommerceTracking"] = eCommerceTracking; | 9553 _json["eCommerceTracking"] = eCommerceTracking; |
9544 } | 9554 } |
| 9555 if (enhancedECommerceTracking != null) { |
| 9556 _json["enhancedECommerceTracking"] = enhancedECommerceTracking; |
| 9557 } |
9545 if (excludeQueryParameters != null) { | 9558 if (excludeQueryParameters != null) { |
9546 _json["excludeQueryParameters"] = excludeQueryParameters; | 9559 _json["excludeQueryParameters"] = excludeQueryParameters; |
9547 } | 9560 } |
9548 if (id != null) { | 9561 if (id != null) { |
9549 _json["id"] = id; | 9562 _json["id"] = id; |
9550 } | 9563 } |
9551 if (internalWebPropertyId != null) { | 9564 if (internalWebPropertyId != null) { |
9552 _json["internalWebPropertyId"] = internalWebPropertyId; | 9565 _json["internalWebPropertyId"] = internalWebPropertyId; |
9553 } | 9566 } |
9554 if (kind != null) { | 9567 if (kind != null) { |
(...skipping 2031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11586 _json["updated"] = (updated).toIso8601String(); | 11599 _json["updated"] = (updated).toIso8601String(); |
11587 } | 11600 } |
11588 if (websiteUrl != null) { | 11601 if (websiteUrl != null) { |
11589 _json["websiteUrl"] = websiteUrl; | 11602 _json["websiteUrl"] = websiteUrl; |
11590 } | 11603 } |
11591 return _json; | 11604 return _json; |
11592 } | 11605 } |
11593 } | 11606 } |
11594 | 11607 |
11595 | 11608 |
OLD | NEW |