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

Side by Side Diff: generated/googleapis/lib/androidenterprise/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 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.androidenterprise.v1; 3 library googleapis.androidenterprise.v1;
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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 } 804 }
805 805
806 806
807 class EnterprisesResourceApi { 807 class EnterprisesResourceApi {
808 final commons.ApiRequester _requester; 808 final commons.ApiRequester _requester;
809 809
810 EnterprisesResourceApi(commons.ApiRequester client) : 810 EnterprisesResourceApi(commons.ApiRequester client) :
811 _requester = client; 811 _requester = client;
812 812
813 /** 813 /**
814 * Deletes the binding between the MDM and enterprise. This is now deprecated; 814 * Deletes the binding between the EMM and enterprise. This is now deprecated;
815 * use this to unenroll customers that were previously enrolled with the 815 * use this to unenroll customers that were previously enrolled with the
816 * 'insert' call, then enroll them again with the 'enroll' call. 816 * 'insert' call, then enroll them again with the 'enroll' call.
817 * 817 *
818 * Request parameters: 818 * Request parameters:
819 * 819 *
820 * [enterpriseId] - The ID of the enterprise. 820 * [enterpriseId] - The ID of the enterprise.
821 * 821 *
822 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 822 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
823 * error. 823 * error.
824 * 824 *
(...skipping 20 matching lines...) Expand all
845 "DELETE", 845 "DELETE",
846 body: _body, 846 body: _body,
847 queryParams: _queryParams, 847 queryParams: _queryParams,
848 uploadOptions: _uploadOptions, 848 uploadOptions: _uploadOptions,
849 uploadMedia: _uploadMedia, 849 uploadMedia: _uploadMedia,
850 downloadOptions: _downloadOptions); 850 downloadOptions: _downloadOptions);
851 return _response.then((data) => null); 851 return _response.then((data) => null);
852 } 852 }
853 853
854 /** 854 /**
855 * Enrolls an enterprise with the calling MDM. 855 * Enrolls an enterprise with the calling EMM.
856 * 856 *
857 * [request] - The metadata request object. 857 * [request] - The metadata request object.
858 * 858 *
859 * Request parameters: 859 * Request parameters:
860 * 860 *
861 * [token] - The token provided by the enterprise to register the MDM. 861 * [token] - The token provided by the enterprise to register the EMM.
862 * 862 *
863 * Completes with a [Enterprise]. 863 * Completes with a [Enterprise].
864 * 864 *
865 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 865 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
866 * error. 866 * error.
867 * 867 *
868 * If the used [http.Client] completes with an error when making a REST call, 868 * If the used [http.Client] completes with an error when making a REST call,
869 * this method will complete with the same error. 869 * this method will complete with the same error.
870 */ 870 */
871 async.Future<Enterprise> enroll(Enterprise request, core.String token) { 871 async.Future<Enterprise> enroll(Enterprise request, core.String token) {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 "GET", 968 "GET",
969 body: _body, 969 body: _body,
970 queryParams: _queryParams, 970 queryParams: _queryParams,
971 uploadOptions: _uploadOptions, 971 uploadOptions: _uploadOptions,
972 uploadMedia: _uploadMedia, 972 uploadMedia: _uploadMedia,
973 downloadOptions: _downloadOptions); 973 downloadOptions: _downloadOptions);
974 return _response.then((data) => new StoreLayout.fromJson(data)); 974 return _response.then((data) => new StoreLayout.fromJson(data));
975 } 975 }
976 976
977 /** 977 /**
978 * Establishes the binding between the MDM and an enterprise. This is now 978 * Establishes the binding between the EMM and an enterprise. This is now
979 * deprecated; use enroll instead. 979 * deprecated; use enroll instead.
980 * 980 *
981 * [request] - The metadata request object. 981 * [request] - The metadata request object.
982 * 982 *
983 * Request parameters: 983 * Request parameters:
984 * 984 *
985 * [token] - The token provided by the enterprise to register the MDM. 985 * [token] - The token provided by the enterprise to register the EMM.
986 * 986 *
987 * Completes with a [Enterprise]. 987 * Completes with a [Enterprise].
988 * 988 *
989 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 989 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
990 * error. 990 * error.
991 * 991 *
992 * If the used [http.Client] completes with an error when making a REST call, 992 * If the used [http.Client] completes with an error when making a REST call,
993 * this method will complete with the same error. 993 * this method will complete with the same error.
994 */ 994 */
995 async.Future<Enterprise> insert(Enterprise request, core.String token) { 995 async.Future<Enterprise> insert(Enterprise request, core.String token) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 "GET", 1054 "GET",
1055 body: _body, 1055 body: _body,
1056 queryParams: _queryParams, 1056 queryParams: _queryParams,
1057 uploadOptions: _uploadOptions, 1057 uploadOptions: _uploadOptions,
1058 uploadMedia: _uploadMedia, 1058 uploadMedia: _uploadMedia,
1059 downloadOptions: _downloadOptions); 1059 downloadOptions: _downloadOptions);
1060 return _response.then((data) => new EnterprisesListResponse.fromJson(data)); 1060 return _response.then((data) => new EnterprisesListResponse.fromJson(data));
1061 } 1061 }
1062 1062
1063 /** 1063 /**
1064 * Sends a test push notification to validate the MDM integration with the 1064 * Sends a test push notification to validate the EMM integration with the
1065 * Google Cloud Pub/Sub service for this enterprise. 1065 * Google Cloud Pub/Sub service for this enterprise.
1066 * 1066 *
1067 * Request parameters: 1067 * Request parameters:
1068 * 1068 *
1069 * [enterpriseId] - The ID of the enterprise. 1069 * [enterpriseId] - The ID of the enterprise.
1070 * 1070 *
1071 * Completes with a [EnterprisesSendTestPushNotificationResponse]. 1071 * Completes with a [EnterprisesSendTestPushNotificationResponse].
1072 * 1072 *
1073 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1073 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1074 * error. 1074 * error.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 "PUT", 1183 "PUT",
1184 body: _body, 1184 body: _body,
1185 queryParams: _queryParams, 1185 queryParams: _queryParams,
1186 uploadOptions: _uploadOptions, 1186 uploadOptions: _uploadOptions,
1187 uploadMedia: _uploadMedia, 1187 uploadMedia: _uploadMedia,
1188 downloadOptions: _downloadOptions); 1188 downloadOptions: _downloadOptions);
1189 return _response.then((data) => new StoreLayout.fromJson(data)); 1189 return _response.then((data) => new StoreLayout.fromJson(data));
1190 } 1190 }
1191 1191
1192 /** 1192 /**
1193 * Unenrolls an enterprise from the calling MDM. 1193 * Unenrolls an enterprise from the calling EMM.
1194 * 1194 *
1195 * Request parameters: 1195 * Request parameters:
1196 * 1196 *
1197 * [enterpriseId] - The ID of the enterprise. 1197 * [enterpriseId] - The ID of the enterprise.
1198 * 1198 *
1199 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1199 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1200 * error. 1200 * error.
1201 * 1201 *
1202 * If the used [http.Client] completes with an error when making a REST call, 1202 * If the used [http.Client] completes with an error when making a REST call,
1203 * this method will complete with the same error. 1203 * this method will complete with the same error.
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
2260 "GET", 2260 "GET",
2261 body: _body, 2261 body: _body,
2262 queryParams: _queryParams, 2262 queryParams: _queryParams,
2263 uploadOptions: _uploadOptions, 2263 uploadOptions: _uploadOptions,
2264 uploadMedia: _uploadMedia, 2264 uploadMedia: _uploadMedia,
2265 downloadOptions: _downloadOptions); 2265 downloadOptions: _downloadOptions);
2266 return _response.then((data) => new ProductPermissions.fromJson(data)); 2266 return _response.then((data) => new ProductPermissions.fromJson(data));
2267 } 2267 }
2268 2268
2269 /** 2269 /**
2270 * Updates the set of Android app permissions for this app that have been 2270 * This method has been deprecated. To programmatically approve applications,
2271 * accepted by the enterprise. 2271 * you must use the iframe mechanism via the generateApprovalUrl and approve
2272 * methods of the Products resource. For more information, see the Play EMM
2273 * API usage requirements.
2274 *
2275 * The updatePermissions method (deprecated) updates the set of Android app
2276 * permissions for this app that have been accepted by the enterprise.
2272 * 2277 *
2273 * [request] - The metadata request object. 2278 * [request] - The metadata request object.
2274 * 2279 *
2275 * Request parameters: 2280 * Request parameters:
2276 * 2281 *
2277 * [enterpriseId] - The ID of the enterprise. 2282 * [enterpriseId] - The ID of the enterprise.
2278 * 2283 *
2279 * [productId] - The ID of the product. 2284 * [productId] - The ID of the product.
2280 * 2285 *
2281 * Completes with a [ProductPermissions]. 2286 * Completes with a [ProductPermissions].
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
2909 final commons.ApiRequester _requester; 2914 final commons.ApiRequester _requester;
2910 2915
2911 UsersResourceApi(commons.ApiRequester client) : 2916 UsersResourceApi(commons.ApiRequester client) :
2912 _requester = client; 2917 _requester = client;
2913 2918
2914 /** 2919 /**
2915 * Generates a token (activation code) to allow this user to configure their 2920 * Generates a token (activation code) to allow this user to configure their
2916 * work account in the Android Setup Wizard. Revokes any previously generated 2921 * work account in the Android Setup Wizard. Revokes any previously generated
2917 * token. 2922 * token.
2918 * 2923 *
2924 * This call only works with Google managed accounts.
2925 *
2919 * Request parameters: 2926 * Request parameters:
2920 * 2927 *
2921 * [enterpriseId] - The ID of the enterprise. 2928 * [enterpriseId] - The ID of the enterprise.
2922 * 2929 *
2923 * [userId] - The ID of the user. 2930 * [userId] - The ID of the user.
2924 * 2931 *
2925 * Completes with a [UserToken]. 2932 * Completes with a [UserToken].
2926 * 2933 *
2927 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2934 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2928 * error. 2935 * error.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3039 "GET", 3046 "GET",
3040 body: _body, 3047 body: _body,
3041 queryParams: _queryParams, 3048 queryParams: _queryParams,
3042 uploadOptions: _uploadOptions, 3049 uploadOptions: _uploadOptions,
3043 uploadMedia: _uploadMedia, 3050 uploadMedia: _uploadMedia,
3044 downloadOptions: _downloadOptions); 3051 downloadOptions: _downloadOptions);
3045 return _response.then((data) => new ProductSet.fromJson(data)); 3052 return _response.then((data) => new ProductSet.fromJson(data));
3046 } 3053 }
3047 3054
3048 /** 3055 /**
3049 * Looks up a user by email address. This only works for Google managed users. 3056 * Looks up a user by their primary email address.
3050 * 3057 *
3051 * Request parameters: 3058 * Request parameters:
3052 * 3059 *
3053 * [enterpriseId] - The ID of the enterprise. 3060 * [enterpriseId] - The ID of the enterprise.
3054 * 3061 *
3055 * [email] - The exact primary email address of the user to look up. 3062 * [email] - The exact primary email address of the user to look up.
3056 * 3063 *
3057 * Completes with a [UsersListResponse]. 3064 * Completes with a [UsersListResponse].
3058 * 3065 *
3059 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 3066 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
3585 _json["collection"] = collection.map((value) => (value).toJson()).toList() ; 3592 _json["collection"] = collection.map((value) => (value).toJson()).toList() ;
3586 } 3593 }
3587 if (kind != null) { 3594 if (kind != null) {
3588 _json["kind"] = kind; 3595 _json["kind"] = kind;
3589 } 3596 }
3590 return _json; 3597 return _json;
3591 } 3598 }
3592 } 3599 }
3593 3600
3594 /** 3601 /**
3595 * A device resource represents a mobile device managed by the MDM and belonging 3602 * A device resource represents a mobile device managed by the EMM and belonging
3596 * to a specific enterprise user. 3603 * to a specific enterprise user.
3597 * 3604 *
3598 * This collection cannot be modified via the API; it is automatically populated 3605 * This collection cannot be modified via the API; it is automatically populated
3599 * as devices are set up to be managed. 3606 * as devices are set up to be managed.
3600 */ 3607 */
3601 class Device { 3608 class Device {
3602 /** 3609 /**
3603 * The Google Play Services Android ID for the device encoded as a lowercase 3610 * The Google Play Services Android ID for the device encoded as a lowercase
3604 * hex string, e.g. "123456789abcdef0". 3611 * hex string, e.g. "123456789abcdef0".
3605 */ 3612 */
3606 core.String androidId; 3613 core.String androidId;
3607 /** 3614 /**
3608 * Identifies what kind of resource this is. Value: the fixed string 3615 * Identifies what kind of resource this is. Value: the fixed string
3609 * "androidenterprise#device". 3616 * "androidenterprise#device".
3610 */ 3617 */
3611 core.String kind; 3618 core.String kind;
3612 /** 3619 /**
3613 * The mechanism by which this device is managed by the MDM. "managedDevice" 3620 * The mechanism by which this device is managed by the EMM. "managedDevice"
3614 * means that the MDM's app is a device owner. "managedProfile" means that the 3621 * means that the EMM's app is a device owner. "managedProfile" means that the
3615 * MDM's app is the profile owner (and there is a separate personal profile 3622 * EMM's app is the profile owner (and there is a separate personal profile
3616 * which is not managed). "containerApp" means that the MDM's app is managing 3623 * which is not managed). "containerApp" means that the EMM's app is managing
3617 * the Android for Work container app on the device. 3624 * the Android for Work container app on the device.
3618 */ 3625 */
3619 core.String managementType; 3626 core.String managementType;
3620 3627
3621 Device(); 3628 Device();
3622 3629
3623 Device.fromJson(core.Map _json) { 3630 Device.fromJson(core.Map _json) {
3624 if (_json.containsKey("androidId")) { 3631 if (_json.containsKey("androidId")) {
3625 androidId = _json["androidId"]; 3632 androidId = _json["androidId"];
3626 } 3633 }
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
3716 } 3723 }
3717 if (kind != null) { 3724 if (kind != null) {
3718 _json["kind"] = kind; 3725 _json["kind"] = kind;
3719 } 3726 }
3720 return _json; 3727 return _json;
3721 } 3728 }
3722 } 3729 }
3723 3730
3724 /** 3731 /**
3725 * An enterprise resource represents a binding between an organisation and their 3732 * An enterprise resource represents a binding between an organisation and their
3726 * MDM. 3733 * EMM.
3727 * 3734 *
3728 * To create an enterprise, an admin of the enterprise must first go through a 3735 * To create an enterprise, an admin of the enterprise must first go through a
3729 * Play for Work sign-up flow. At the end of this the admin will be presented 3736 * Play for Work sign-up flow. At the end of this the admin will be presented
3730 * with a token (a short opaque alphanumeric string). They must then present 3737 * with a token (a short opaque alphanumeric string). They must then present
3731 * this to the MDM, who then supplies it to the enroll method. Until this is 3738 * this to the EMM, who then supplies it to the enroll method. Until this is
3732 * done the MDM will not have any access to the enterprise. 3739 * done the EMM will not have any access to the enterprise.
3733 * 3740 *
3734 * After calling enroll the MDM should call setAccount to specify the service 3741 * After calling enroll the EMM should call setAccount to specify the service
3735 * account that will be allowed to act on behalf of the enterprise, which will 3742 * account that will be allowed to act on behalf of the enterprise, which will
3736 * be required for access to the enterprise's data through this API. Only one 3743 * be required for access to the enterprise's data through this API. Only one
3737 * call of setAccount is allowed for a given enterprise; the only way to change 3744 * call of setAccount is allowed for a given enterprise; the only way to change
3738 * the account later is to unenroll the enterprise and enroll it again 3745 * the account later is to unenroll the enterprise and enroll it again
3739 * (obtaining a new token). 3746 * (obtaining a new token).
3740 * 3747 *
3741 * The MDM can unenroll an enterprise in order to sever the binding between 3748 * The EMM can unenroll an enterprise in order to sever the binding between
3742 * them. Re-enrolling an enterprise is possible, but requires a new token to be 3749 * them. Re-enrolling an enterprise is possible, but requires a new token to be
3743 * retrieved. Enterprises.unenroll requires the MDM's credentials (as enroll 3750 * retrieved. Enterprises.unenroll requires the EMM's credentials (as enroll
3744 * does), not the enterprise's. Enterprises.unenroll can only be used for 3751 * does), not the enterprise's. Enterprises.unenroll can only be used for
3745 * enterprises that were previously enrolled with the enroll call. Any 3752 * enterprises that were previously enrolled with the enroll call. Any
3746 * enterprises that were enrolled using the (deprecated) Enterprises.insert call 3753 * enterprises that were enrolled using the (deprecated) Enterprises.insert call
3747 * must be unenrolled with Enterprises.delete and can then be re-enrolled using 3754 * must be unenrolled with Enterprises.delete and can then be re-enrolled using
3748 * the Enterprises.enroll call. 3755 * the Enterprises.enroll call.
3749 * 3756 *
3750 * The ID for an enterprise is an opaque string. It is returned by insert and 3757 * The ID for an enterprise is an opaque string. It is returned by insert and
3751 * enroll and can also be retrieved if the enterprise's primary domain is known 3758 * enroll and can also be retrieved if the enterprise's primary domain is known
3752 * using the list method. 3759 * using the list method.
3753 */ 3760 */
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
3902 3909
3903 /** 3910 /**
3904 * The existence of an entitlement resource means that a user has the right to 3911 * The existence of an entitlement resource means that a user has the right to
3905 * use a particular app on any of their devices. This might be because the app 3912 * use a particular app on any of their devices. This might be because the app
3906 * is free or because they have been allocated a license to the app from a group 3913 * is free or because they have been allocated a license to the app from a group
3907 * license purchased by the enterprise. 3914 * license purchased by the enterprise.
3908 * 3915 *
3909 * It should always be true that a user has an app installed on one of their 3916 * It should always be true that a user has an app installed on one of their
3910 * devices only if they have an entitlement to it. So if an entitlement is 3917 * devices only if they have an entitlement to it. So if an entitlement is
3911 * deleted, the app will be uninstalled from all devices. Similarly if the user 3918 * deleted, the app will be uninstalled from all devices. Similarly if the user
3912 * installs an app (and is permitted to do so), or the MDM triggers an install 3919 * installs an app (and is permitted to do so), or the EMM triggers an install
3913 * of the app, an entitlement to that app is automatically created. If this is 3920 * of the app, an entitlement to that app is automatically created. If this is
3914 * impossible - e.g. the enterprise has not purchased sufficient licenses - then 3921 * impossible - e.g. the enterprise has not purchased sufficient licenses - then
3915 * installation fails. 3922 * installation fails.
3916 * 3923 *
3917 * Note that entitlements are always user specific, not device specific; a user 3924 * Note that entitlements are always user specific, not device specific; a user
3918 * may have an entitlement even though they have not installed the app anywhere. 3925 * may have an entitlement even though they have not installed the app anywhere.
3919 * Once they have an entitlement they can install the app on multiple devices. 3926 * Once they have an entitlement they can install the app on multiple devices.
3920 * 3927 *
3921 * The API can be used to create an entitlement. If the app is a free app, a 3928 * The API can be used to create an entitlement. If the app is a free app, a
3922 * group license for that app is created. If it's a paid app, creating the 3929 * group license for that app is created. If it's a paid app, creating the
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
4337 } 4344 }
4338 } 4345 }
4339 4346
4340 /** 4347 /**
4341 * A permission represents some extra capability, to be granted to an Android 4348 * A permission represents some extra capability, to be granted to an Android
4342 * app, which requires explicit consent. An enterprise admin must consent to 4349 * app, which requires explicit consent. An enterprise admin must consent to
4343 * these permissions on behalf of their users before an entitlement for the app 4350 * these permissions on behalf of their users before an entitlement for the app
4344 * can be created. 4351 * can be created.
4345 * 4352 *
4346 * The permissions collection is read-only. The information provided for each 4353 * The permissions collection is read-only. The information provided for each
4347 * permission (localized name and description) is intended to be used in the MDM 4354 * permission (localized name and description) is intended to be used in the EMM
4348 * user interface when obtaining consent from the enterprise. 4355 * user interface when obtaining consent from the enterprise.
4349 */ 4356 */
4350 class Permission { 4357 class Permission {
4351 /** 4358 /**
4352 * A longer description of the permissions giving more details of what it 4359 * A longer description of the permissions giving more details of what it
4353 * affects. 4360 * affects.
4354 */ 4361 */
4355 core.String description; 4362 core.String description;
4356 /** 4363 /**
4357 * Identifies what kind of resource this is. Value: the fixed string 4364 * Identifies what kind of resource this is. Value: the fixed string
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
4399 } 4406 }
4400 4407
4401 /** 4408 /**
4402 * A product represents an app in the Google Play Store that is available to at 4409 * A product represents an app in the Google Play Store that is available to at
4403 * least some users in the enterprise. (Some apps are restricted to a single 4410 * least some users in the enterprise. (Some apps are restricted to a single
4404 * enterprise, and no information about them is made available outside that 4411 * enterprise, and no information about them is made available outside that
4405 * enterprise.) 4412 * enterprise.)
4406 * 4413 *
4407 * The information provided for each product (localized name, icon, link to the 4414 * The information provided for each product (localized name, icon, link to the
4408 * full Google Play details page) is intended to allow a basic representation of 4415 * full Google Play details page) is intended to allow a basic representation of
4409 * the product within an MDM user interface. 4416 * the product within an EMM user interface.
4410 */ 4417 */
4411 class Product { 4418 class Product {
4412 /** 4419 /**
4413 * App versions currently available for this product. The returned list 4420 * App versions currently available for this product. The returned list
4414 * contains only public versions. Alpha and beta versions are not included. 4421 * contains only public versions. Alpha and beta versions are not included.
4415 */ 4422 */
4416 core.List<AppVersion> appVersion; 4423 core.List<AppVersion> appVersion;
4417 /** The name of the author of the product (e.g. the app developer). */ 4424 /** The name of the author of the product (e.g. the app developer). */
4418 core.String authorName; 4425 core.String authorName;
4419 /** A link to the (consumer) Google Play details page for the product. */ 4426 /** A link to the (consumer) Google Play details page for the product. */
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
4959 } 4966 }
4960 return _json; 4967 return _json;
4961 } 4968 }
4962 } 4969 }
4963 4970
4964 /** 4971 /**
4965 * A user resource represents an individual user within the enterprise's domain. 4972 * A user resource represents an individual user within the enterprise's domain.
4966 * 4973 *
4967 * Note that each user is associated with a Google account based on the user's 4974 * Note that each user is associated with a Google account based on the user's
4968 * corporate email address (which must be in one of the enterprise's domains). 4975 * corporate email address (which must be in one of the enterprise's domains).
4969 * As part of installing an MDM app to manage a device the Google account must 4976 * As part of installing the EMM's DPC app to manage a device the Google account
4970 * be provisioned to the device, and so the user resource must be created before 4977 * must be provisioned to the device, and so the user resource must be created
4971 * that. This can be done using the Google Admin SDK Directory API. 4978 * before that. This can be done using the Google Admin SDK Directory API.
4972 * 4979 *
4973 * The ID for a user is an opaque string. It can be retrieved using the list 4980 * The ID for a user is an opaque string. It can be retrieved using the list
4974 * method queried by the user's primary email address. 4981 * method queried by the user's primary email address.
4975 */ 4982 */
4976 class User { 4983 class User {
4977 /** The unique ID for the user. */ 4984 /** The unique ID for the user. */
4978 core.String id; 4985 core.String id;
4979 /** 4986 /**
4980 * Identifies what kind of resource this is. Value: the fixed string 4987 * Identifies what kind of resource this is. Value: the fixed string
4981 * "androidenterprise#user". 4988 * "androidenterprise#user".
(...skipping 30 matching lines...) Expand all
5012 if (primaryEmail != null) { 5019 if (primaryEmail != null) {
5013 _json["primaryEmail"] = primaryEmail; 5020 _json["primaryEmail"] = primaryEmail;
5014 } 5021 }
5015 return _json; 5022 return _json;
5016 } 5023 }
5017 } 5024 }
5018 5025
5019 /** 5026 /**
5020 * A UserToken is used by a user when setting up a managed device or profile 5027 * A UserToken is used by a user when setting up a managed device or profile
5021 * with their work account on a device. When the user enters their email address 5028 * with their work account on a device. When the user enters their email address
5022 * and token (activation code) the appropriate MDM app can be automatically 5029 * and token (activation code) the appropriate EMM app can be automatically
5023 * downloaded. 5030 * downloaded.
5024 */ 5031 */
5025 class UserToken { 5032 class UserToken {
5026 /** 5033 /**
5027 * Identifies what kind of resource this is. Value: the fixed string 5034 * Identifies what kind of resource this is. Value: the fixed string
5028 * "androidenterprise#userToken". 5035 * "androidenterprise#userToken".
5029 */ 5036 */
5030 core.String kind; 5037 core.String kind;
5031 /** 5038 /**
5032 * The token (activation code) to be entered by the user. This consists of a 5039 * The token (activation code) to be entered by the user. This consists of a
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
5090 var _json = new core.Map(); 5097 var _json = new core.Map();
5091 if (kind != null) { 5098 if (kind != null) {
5092 _json["kind"] = kind; 5099 _json["kind"] = kind;
5093 } 5100 }
5094 if (user != null) { 5101 if (user != null) {
5095 _json["user"] = user.map((value) => (value).toJson()).toList(); 5102 _json["user"] = user.map((value) => (value).toJson()).toList();
5096 } 5103 }
5097 return _json; 5104 return _json;
5098 } 5105 }
5099 } 5106 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/analytics/v3.dart ('k') | generated/googleapis/lib/appsactivity/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698