google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -23,10 +23,10 @@ module Google
|
|
23
23
|
# Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android
|
24
24
|
# for Work users.
|
25
25
|
#
|
26
|
-
# @see https://developers.google.com/play/
|
26
|
+
# @see https://developers.google.com/android/work/play/emm-api
|
27
27
|
module AndroidenterpriseV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20151215'
|
30
30
|
|
31
31
|
# Manage corporate Android devices
|
32
32
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -27,6 +27,12 @@ module Google
|
|
27
27
|
class AppRestrictionsSchema
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
31
|
+
# androidenterprise#appRestrictionsSchema".
|
32
|
+
# Corresponds to the JSON property `kind`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :kind
|
35
|
+
|
30
36
|
# The set of restrictions that make up this schema.
|
31
37
|
# Corresponds to the JSON property `restrictions`
|
32
38
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>]
|
@@ -38,6 +44,7 @@ module Google
|
|
38
44
|
|
39
45
|
# Update properties of this object
|
40
46
|
def update!(**args)
|
47
|
+
@kind = args[:kind] unless args[:kind].nil?
|
41
48
|
@restrictions = args[:restrictions] unless args[:restrictions].nil?
|
42
49
|
end
|
43
50
|
end
|
@@ -237,10 +244,11 @@ module Google
|
|
237
244
|
attr_accessor :product_id
|
238
245
|
|
239
246
|
# Whether this collection is visible to all users, or only to the users that
|
240
|
-
# have been granted access through the
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
247
|
+
# have been granted access through the "Collectionviewers" API. With the launch
|
248
|
+
# of the "setAvailableProductSet" API, this property should always be set to "
|
249
|
+
# viewersOnly", as the "allUsers" option will bypass the "availableProductSet"
|
250
|
+
# for all users within a domain.
|
251
|
+
# The "allUsers" setting is deprecated, and will be removed.
|
244
252
|
# Corresponds to the JSON property `visibility`
|
245
253
|
# @return [String]
|
246
254
|
attr_accessor :visibility
|
@@ -290,7 +298,7 @@ module Google
|
|
290
298
|
include Google::Apis::Core::Hashable
|
291
299
|
|
292
300
|
# An ordered collection of products which can be made visible on the Google Play
|
293
|
-
# Store
|
301
|
+
# Store to a selected group of users.
|
294
302
|
# Corresponds to the JSON property `collection`
|
295
303
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Collection>]
|
296
304
|
attr_accessor :collection
|
@@ -522,6 +530,32 @@ module Google
|
|
522
530
|
end
|
523
531
|
end
|
524
532
|
|
533
|
+
#
|
534
|
+
class SendTestPushNotificationResponse
|
535
|
+
include Google::Apis::Core::Hashable
|
536
|
+
|
537
|
+
# The message ID of the test push notification that was sent.
|
538
|
+
# Corresponds to the JSON property `messageId`
|
539
|
+
# @return [String]
|
540
|
+
attr_accessor :message_id
|
541
|
+
|
542
|
+
# The name of the Cloud Pub/Sub topic to which notifications for this enterprise'
|
543
|
+
# s enrolled account will be sent.
|
544
|
+
# Corresponds to the JSON property `topicName`
|
545
|
+
# @return [String]
|
546
|
+
attr_accessor :topic_name
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@message_id = args[:message_id] unless args[:message_id].nil?
|
555
|
+
@topic_name = args[:topic_name] unless args[:topic_name].nil?
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
525
559
|
# The existence of an entitlement resource means that a user has the right to
|
526
560
|
# use a particular app on any of their devices. This might be because the app is
|
527
561
|
# free or because they have been allocated a license to the app from a group
|
@@ -823,6 +857,31 @@ module Google
|
|
823
857
|
end
|
824
858
|
end
|
825
859
|
|
860
|
+
# A localized string with its locale.
|
861
|
+
class LocalizedText
|
862
|
+
include Google::Apis::Core::Hashable
|
863
|
+
|
864
|
+
# The BCP47 tag for a locale. (e.g. "en-US", "de").
|
865
|
+
# Corresponds to the JSON property `locale`
|
866
|
+
# @return [String]
|
867
|
+
attr_accessor :locale
|
868
|
+
|
869
|
+
# The text localized in the associated locale.
|
870
|
+
# Corresponds to the JSON property `text`
|
871
|
+
# @return [String]
|
872
|
+
attr_accessor :text
|
873
|
+
|
874
|
+
def initialize(**args)
|
875
|
+
update!(**args)
|
876
|
+
end
|
877
|
+
|
878
|
+
# Update properties of this object
|
879
|
+
def update!(**args)
|
880
|
+
@locale = args[:locale] unless args[:locale].nil?
|
881
|
+
@text = args[:text] unless args[:text].nil?
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
826
885
|
# A permission represents some extra capability, to be granted to an Android app,
|
827
886
|
# which requires explicit consent. An enterprise admin must consent to these
|
828
887
|
# permissions on behalf of their users before an entitlement for the app can be
|
@@ -914,8 +973,8 @@ module Google
|
|
914
973
|
# @return [String]
|
915
974
|
attr_accessor :kind
|
916
975
|
|
917
|
-
# A string of the form app:
|
918
|
-
#
|
976
|
+
# A string of the form app:<package name>. For example, app:com.google.android.
|
977
|
+
# gm represents the Gmail app.
|
919
978
|
# Corresponds to the JSON property `productId`
|
920
979
|
# @return [String]
|
921
980
|
attr_accessor :product_id
|
@@ -1019,6 +1078,32 @@ module Google
|
|
1019
1078
|
end
|
1020
1079
|
end
|
1021
1080
|
|
1081
|
+
# A set of products.
|
1082
|
+
class ProductSet
|
1083
|
+
include Google::Apis::Core::Hashable
|
1084
|
+
|
1085
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
1086
|
+
# androidenterprise#productSet".
|
1087
|
+
# Corresponds to the JSON property `kind`
|
1088
|
+
# @return [String]
|
1089
|
+
attr_accessor :kind
|
1090
|
+
|
1091
|
+
# The list of product IDs making up the set of products.
|
1092
|
+
# Corresponds to the JSON property `productId`
|
1093
|
+
# @return [Array<String>]
|
1094
|
+
attr_accessor :product_id
|
1095
|
+
|
1096
|
+
def initialize(**args)
|
1097
|
+
update!(**args)
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
# Update properties of this object
|
1101
|
+
def update!(**args)
|
1102
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1103
|
+
@product_id = args[:product_id] unless args[:product_id].nil?
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1022
1107
|
#
|
1023
1108
|
class ApproveProductRequest
|
1024
1109
|
include Google::Apis::Core::Hashable
|
@@ -1064,6 +1149,188 @@ module Google
|
|
1064
1149
|
end
|
1065
1150
|
end
|
1066
1151
|
|
1152
|
+
# Definition of a Google Play for Work store cluster, a list of products
|
1153
|
+
# displayed as part of a store page.
|
1154
|
+
class StoreCluster
|
1155
|
+
include Google::Apis::Core::Hashable
|
1156
|
+
|
1157
|
+
# Unique ID of this cluster. Assigned by the server. Immutable once assigned.
|
1158
|
+
# Corresponds to the JSON property `id`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :id
|
1161
|
+
|
1162
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
1163
|
+
# androidenterprise#storeCluster".
|
1164
|
+
# Corresponds to the JSON property `kind`
|
1165
|
+
# @return [String]
|
1166
|
+
attr_accessor :kind
|
1167
|
+
|
1168
|
+
# Ordered list of localized strings giving the name of this page. The text
|
1169
|
+
# displayed is the one that best matches the user locale, or the first entry if
|
1170
|
+
# there is no good match. There needs to be at least one entry.
|
1171
|
+
# Corresponds to the JSON property `name`
|
1172
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
1173
|
+
attr_accessor :name
|
1174
|
+
|
1175
|
+
# String (US-ASCII only) used to determine order of this cluster within the
|
1176
|
+
# parent page's elements. Page elements are sorted in lexicographic order of
|
1177
|
+
# this field. Duplicated values are allowed, but ordering between elements with
|
1178
|
+
# duplicate order is undefined.
|
1179
|
+
# The value of this field is never visible to a user, it is used solely for the
|
1180
|
+
# purpose of defining an ordering. Maximum length is 20 characters.
|
1181
|
+
# Corresponds to the JSON property `orderInPage`
|
1182
|
+
# @return [String]
|
1183
|
+
attr_accessor :order_in_page
|
1184
|
+
|
1185
|
+
# List of products in the order they are displayed in the cluster. There should
|
1186
|
+
# not be duplicates within a cluster.
|
1187
|
+
# Corresponds to the JSON property `productId`
|
1188
|
+
# @return [Array<String>]
|
1189
|
+
attr_accessor :product_id
|
1190
|
+
|
1191
|
+
def initialize(**args)
|
1192
|
+
update!(**args)
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# Update properties of this object
|
1196
|
+
def update!(**args)
|
1197
|
+
@id = args[:id] unless args[:id].nil?
|
1198
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1199
|
+
@name = args[:name] unless args[:name].nil?
|
1200
|
+
@order_in_page = args[:order_in_page] unless args[:order_in_page].nil?
|
1201
|
+
@product_id = args[:product_id] unless args[:product_id].nil?
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# General setting for the Google Play for Work store layout, currently only
|
1206
|
+
# specifying the page to display the first time the store is opened.
|
1207
|
+
class StoreLayout
|
1208
|
+
include Google::Apis::Core::Hashable
|
1209
|
+
|
1210
|
+
# The ID of the store page to be used as the homepage. The homepage will be used
|
1211
|
+
# as the first page shown in the Google Play for Work store.
|
1212
|
+
# If there is no homepage set, an empty store is shown. The homepage can be
|
1213
|
+
# unset (by not specifying it) to empty the store.
|
1214
|
+
# If there exists at least one page, this field must be set to the ID of a valid
|
1215
|
+
# page.
|
1216
|
+
# Corresponds to the JSON property `homepageId`
|
1217
|
+
# @return [String]
|
1218
|
+
attr_accessor :homepage_id
|
1219
|
+
|
1220
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
1221
|
+
# androidenterprise#storeLayout".
|
1222
|
+
# Corresponds to the JSON property `kind`
|
1223
|
+
# @return [String]
|
1224
|
+
attr_accessor :kind
|
1225
|
+
|
1226
|
+
def initialize(**args)
|
1227
|
+
update!(**args)
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# Update properties of this object
|
1231
|
+
def update!(**args)
|
1232
|
+
@homepage_id = args[:homepage_id] unless args[:homepage_id].nil?
|
1233
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
# The store page resources for the enterprise.
|
1238
|
+
class StoreLayoutClustersListResponse
|
1239
|
+
include Google::Apis::Core::Hashable
|
1240
|
+
|
1241
|
+
# A store cluster of an enterprise.
|
1242
|
+
# Corresponds to the JSON property `cluster`
|
1243
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::StoreCluster>]
|
1244
|
+
attr_accessor :cluster
|
1245
|
+
|
1246
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
1247
|
+
# androidenterprise#storeLayoutClustersListResponse".
|
1248
|
+
# Corresponds to the JSON property `kind`
|
1249
|
+
# @return [String]
|
1250
|
+
attr_accessor :kind
|
1251
|
+
|
1252
|
+
def initialize(**args)
|
1253
|
+
update!(**args)
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
# Update properties of this object
|
1257
|
+
def update!(**args)
|
1258
|
+
@cluster = args[:cluster] unless args[:cluster].nil?
|
1259
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# The store page resources for the enterprise.
|
1264
|
+
class StoreLayoutPagesListResponse
|
1265
|
+
include Google::Apis::Core::Hashable
|
1266
|
+
|
1267
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
1268
|
+
# androidenterprise#storeLayoutPagesListResponse".
|
1269
|
+
# Corresponds to the JSON property `kind`
|
1270
|
+
# @return [String]
|
1271
|
+
attr_accessor :kind
|
1272
|
+
|
1273
|
+
# A store page of an enterprise.
|
1274
|
+
# Corresponds to the JSON property `page`
|
1275
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::StorePage>]
|
1276
|
+
attr_accessor :page
|
1277
|
+
|
1278
|
+
def initialize(**args)
|
1279
|
+
update!(**args)
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
# Update properties of this object
|
1283
|
+
def update!(**args)
|
1284
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1285
|
+
@page = args[:page] unless args[:page].nil?
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
# Definition of a Google Play for Work store page, made of a localized name and
|
1290
|
+
# links to other pages. A page also contains clusters defined as a subcollection.
|
1291
|
+
class StorePage
|
1292
|
+
include Google::Apis::Core::Hashable
|
1293
|
+
|
1294
|
+
# Unique ID of this page. Assigned by the server. Immutable once assigned.
|
1295
|
+
# Corresponds to the JSON property `id`
|
1296
|
+
# @return [String]
|
1297
|
+
attr_accessor :id
|
1298
|
+
|
1299
|
+
# Identifies what kind of resource this is. Value: the fixed string "
|
1300
|
+
# androidenterprise#storePage".
|
1301
|
+
# Corresponds to the JSON property `kind`
|
1302
|
+
# @return [String]
|
1303
|
+
attr_accessor :kind
|
1304
|
+
|
1305
|
+
# Ordered list of pages a user should be able to reach from this page. The pages
|
1306
|
+
# must exist, must not be this page, and once a link is created the page linked
|
1307
|
+
# to cannot be deleted until all links to it are removed. It is recommended that
|
1308
|
+
# the basic pages are created first, before adding the links between pages.
|
1309
|
+
# No attempt is made to verify that all pages are reachable from the homepage.
|
1310
|
+
# Corresponds to the JSON property `link`
|
1311
|
+
# @return [Array<String>]
|
1312
|
+
attr_accessor :link
|
1313
|
+
|
1314
|
+
# Ordered list of localized strings giving the name of this page. The text
|
1315
|
+
# displayed is the one that best matches the user locale, or the first entry if
|
1316
|
+
# there is no good match. There needs to be at least one entry.
|
1317
|
+
# Corresponds to the JSON property `name`
|
1318
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
1319
|
+
attr_accessor :name
|
1320
|
+
|
1321
|
+
def initialize(**args)
|
1322
|
+
update!(**args)
|
1323
|
+
end
|
1324
|
+
|
1325
|
+
# Update properties of this object
|
1326
|
+
def update!(**args)
|
1327
|
+
@id = args[:id] unless args[:id].nil?
|
1328
|
+
@kind = args[:kind] unless args[:kind].nil?
|
1329
|
+
@link = args[:link] unless args[:link].nil?
|
1330
|
+
@name = args[:name] unless args[:name].nil?
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
|
1067
1334
|
# A user resource represents an individual user within the enterprise's domain.
|
1068
1335
|
# Note that each user is associated with a Google account based on the user's
|
1069
1336
|
# corporate email address (which must be in one of the enterprise's domains). As
|
@@ -1086,7 +1353,8 @@ module Google
|
|
1086
1353
|
# @return [String]
|
1087
1354
|
attr_accessor :kind
|
1088
1355
|
|
1089
|
-
# The user's primary email, e.g. "jsmith@example.com".
|
1356
|
+
# The user's primary email, e.g. "jsmith@example.com". Will always be set for
|
1357
|
+
# Google managed users and not set for EMM managed users.
|
1090
1358
|
# Corresponds to the JSON property `primaryEmail`
|
1091
1359
|
# @return [String]
|
1092
1360
|
attr_accessor :primary_email
|
@@ -78,6 +78,10 @@ module Google
|
|
78
78
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
79
79
|
end
|
80
80
|
|
81
|
+
class SendTestPushNotificationResponse
|
82
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
83
|
+
end
|
84
|
+
|
81
85
|
class Entitlement
|
82
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
83
87
|
end
|
@@ -106,6 +110,10 @@ module Google
|
|
106
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
107
111
|
end
|
108
112
|
|
113
|
+
class LocalizedText
|
114
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
115
|
+
end
|
116
|
+
|
109
117
|
class Permission
|
110
118
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
119
|
end
|
@@ -122,6 +130,10 @@ module Google
|
|
122
130
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
131
|
end
|
124
132
|
|
133
|
+
class ProductSet
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
end
|
136
|
+
|
125
137
|
class ApproveProductRequest
|
126
138
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
127
139
|
end
|
@@ -130,6 +142,26 @@ module Google
|
|
130
142
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
131
143
|
end
|
132
144
|
|
145
|
+
class StoreCluster
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
end
|
148
|
+
|
149
|
+
class StoreLayout
|
150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
151
|
+
end
|
152
|
+
|
153
|
+
class StoreLayoutClustersListResponse
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
155
|
+
end
|
156
|
+
|
157
|
+
class StoreLayoutPagesListResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
end
|
160
|
+
|
161
|
+
class StorePage
|
162
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
163
|
+
end
|
164
|
+
|
133
165
|
class User
|
134
166
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
167
|
end
|
@@ -145,6 +177,7 @@ module Google
|
|
145
177
|
class AppRestrictionsSchema
|
146
178
|
# @private
|
147
179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
180
|
+
property :kind, as: 'kind'
|
148
181
|
collection :restrictions, as: 'restrictions', class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction, decorator: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction::Representation
|
149
182
|
|
150
183
|
end
|
@@ -273,6 +306,14 @@ module Google
|
|
273
306
|
end
|
274
307
|
end
|
275
308
|
|
309
|
+
class SendTestPushNotificationResponse
|
310
|
+
# @private
|
311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
+
property :message_id, as: 'messageId'
|
313
|
+
property :topic_name, as: 'topicName'
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
276
317
|
class Entitlement
|
277
318
|
# @private
|
278
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -340,6 +381,14 @@ module Google
|
|
340
381
|
end
|
341
382
|
end
|
342
383
|
|
384
|
+
class LocalizedText
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
property :locale, as: 'locale'
|
388
|
+
property :text, as: 'text'
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
343
392
|
class Permission
|
344
393
|
# @private
|
345
394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -385,6 +434,14 @@ module Google
|
|
385
434
|
end
|
386
435
|
end
|
387
436
|
|
437
|
+
class ProductSet
|
438
|
+
# @private
|
439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
440
|
+
property :kind, as: 'kind'
|
441
|
+
collection :product_id, as: 'productId'
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
388
445
|
class ApproveProductRequest
|
389
446
|
# @private
|
390
447
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -400,6 +457,55 @@ module Google
|
|
400
457
|
end
|
401
458
|
end
|
402
459
|
|
460
|
+
class StoreCluster
|
461
|
+
# @private
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
463
|
+
property :id, as: 'id'
|
464
|
+
property :kind, as: 'kind'
|
465
|
+
collection :name, as: 'name', class: Google::Apis::AndroidenterpriseV1::LocalizedText, decorator: Google::Apis::AndroidenterpriseV1::LocalizedText::Representation
|
466
|
+
|
467
|
+
property :order_in_page, as: 'orderInPage'
|
468
|
+
collection :product_id, as: 'productId'
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class StoreLayout
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
property :homepage_id, as: 'homepageId'
|
476
|
+
property :kind, as: 'kind'
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
class StoreLayoutClustersListResponse
|
481
|
+
# @private
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
483
|
+
collection :cluster, as: 'cluster', class: Google::Apis::AndroidenterpriseV1::StoreCluster, decorator: Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
484
|
+
|
485
|
+
property :kind, as: 'kind'
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
class StoreLayoutPagesListResponse
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :kind, as: 'kind'
|
493
|
+
collection :page, as: 'page', class: Google::Apis::AndroidenterpriseV1::StorePage, decorator: Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
494
|
+
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class StorePage
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
property :id, as: 'id'
|
502
|
+
property :kind, as: 'kind'
|
503
|
+
collection :link, as: 'link'
|
504
|
+
collection :name, as: 'name', class: Google::Apis::AndroidenterpriseV1::LocalizedText, decorator: Google::Apis::AndroidenterpriseV1::LocalizedText::Representation
|
505
|
+
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
403
509
|
class User
|
404
510
|
# @private
|
405
511
|
class Representation < Google::Apis::Core::JsonRepresentation
|