google-api-client 0.42.2 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +129 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -270
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +733 -1180
- data/generated/google/apis/apigee_v1/service.rb +879 -1133
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +184 -341
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
- data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/datafusion_v1/representations.rb +390 -0
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
- data/generated/google/apis/displayvideo_v1/service.rb +104 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -286
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/memcache_v1.rb +35 -0
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/memcache_v1/service.rb +558 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +12 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +31 -14
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +721 -0
- data/generated/google/apis/osconfig_v1/representations.rb +337 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +148 -13
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +60 -48
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -2
- data/generated/google/apis/run_v1/service.rb +38 -2
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +937 -1175
- data/generated/google/apis/youtube_v3/service.rb +975 -1284
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
|
51
51
|
# Lists the user's customer accounts.
|
52
52
|
# @param [Fixnum] page_size
|
53
|
-
# The maximum number of customers to show in a page of results.
|
54
|
-
#
|
53
|
+
# The maximum number of customers to show in a page of results. A number between
|
54
|
+
# 1 and 100 (inclusive).
|
55
55
|
# @param [String] page_token
|
56
56
|
# A token specifying which result page to return.
|
57
57
|
# @param [String] fields
|
@@ -85,8 +85,8 @@ module Google
|
|
85
85
|
# Creates a new configuration. Once created, a customer can apply the
|
86
86
|
# configuration to devices.
|
87
87
|
# @param [String] parent
|
88
|
-
# Required. The customer that manages the configuration. An API resource name
|
89
|
-
#
|
88
|
+
# Required. The customer that manages the configuration. An API resource name in
|
89
|
+
# the format `customers/[CUSTOMER_ID]`.
|
90
90
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::Configuration] configuration_object
|
91
91
|
# @param [String] fields
|
92
92
|
# Selector specifying which fields to include in a partial response.
|
@@ -120,8 +120,8 @@ module Google
|
|
120
120
|
# Deletes an unused configuration. The API call fails if the customer has
|
121
121
|
# devices with the configuration applied.
|
122
122
|
# @param [String] name
|
123
|
-
# Required. The configuration to delete. An API resource name in the format
|
124
|
-
#
|
123
|
+
# Required. The configuration to delete. An API resource name in the format `
|
124
|
+
# customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. If the
|
125
125
|
# configuration is applied to any devices, the API call fails.
|
126
126
|
# @param [String] fields
|
127
127
|
# Selector specifying which fields to include in a partial response.
|
@@ -152,8 +152,8 @@ module Google
|
|
152
152
|
|
153
153
|
# Gets the details of a configuration.
|
154
154
|
# @param [String] name
|
155
|
-
# Required. The configuration to get. An API resource name in the format
|
156
|
-
#
|
155
|
+
# Required. The configuration to get. An API resource name in the format `
|
156
|
+
# customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`.
|
157
157
|
# @param [String] fields
|
158
158
|
# Selector specifying which fields to include in a partial response.
|
159
159
|
# @param [String] quota_user
|
@@ -183,8 +183,8 @@ module Google
|
|
183
183
|
|
184
184
|
# Lists a customer's configurations.
|
185
185
|
# @param [String] parent
|
186
|
-
# Required. The customer that manages the listed configurations. An API
|
187
|
-
#
|
186
|
+
# Required. The customer that manages the listed configurations. An API resource
|
187
|
+
# name in the format `customers/[CUSTOMER_ID]`.
|
188
188
|
# @param [String] fields
|
189
189
|
# Selector specifying which fields to include in a partial response.
|
190
190
|
# @param [String] quota_user
|
@@ -214,15 +214,14 @@ module Google
|
|
214
214
|
|
215
215
|
# Updates a configuration's field values.
|
216
216
|
# @param [String] name
|
217
|
-
# Output only. The API resource name in the format
|
218
|
-
#
|
219
|
-
# the server.
|
217
|
+
# Output only. The API resource name in the format `customers/[CUSTOMER_ID]/
|
218
|
+
# configurations/[CONFIGURATION_ID]`. Assigned by the server.
|
220
219
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::Configuration] configuration_object
|
221
220
|
# @param [String] update_mask
|
222
|
-
# Required. The field mask applied to the target `Configuration` before
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
221
|
+
# Required. The field mask applied to the target `Configuration` before updating
|
222
|
+
# the fields. To learn more about using field masks, read [FieldMask](/protocol-
|
223
|
+
# buffers/docs/reference/google.protobuf#fieldmask) in the Protocol Buffers
|
224
|
+
# documentation.
|
226
225
|
# @param [String] fields
|
227
226
|
# Selector specifying which fields to include in a partial response.
|
228
227
|
# @param [String] quota_user
|
@@ -257,8 +256,8 @@ module Google
|
|
257
256
|
# enrollment. After applying a configuration to a device, the device
|
258
257
|
# automatically provisions itself on first boot, or next factory reset.
|
259
258
|
# @param [String] parent
|
260
|
-
# Required. The customer managing the device. An API resource name in the
|
261
|
-
#
|
259
|
+
# Required. The customer managing the device. An API resource name in the format
|
260
|
+
# `customers/[CUSTOMER_ID]`.
|
262
261
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest] customer_apply_configuration_request_object
|
263
262
|
# @param [String] fields
|
264
263
|
# Selector specifying which fields to include in a partial response.
|
@@ -291,8 +290,8 @@ module Google
|
|
291
290
|
|
292
291
|
# Gets the details of a device.
|
293
292
|
# @param [String] name
|
294
|
-
# Required. The device to get. An API resource name in the format
|
295
|
-
#
|
293
|
+
# Required. The device to get. An API resource name in the format `customers/[
|
294
|
+
# CUSTOMER_ID]/devices/[DEVICE_ID]`.
|
296
295
|
# @param [String] fields
|
297
296
|
# Selector specifying which fields to include in a partial response.
|
298
297
|
# @param [String] quota_user
|
@@ -325,8 +324,8 @@ module Google
|
|
325
324
|
# Required. The customer managing the devices. An API resource name in the
|
326
325
|
# format `customers/[CUSTOMER_ID]`.
|
327
326
|
# @param [Fixnum] page_size
|
328
|
-
# The maximum number of devices to show in a page of results.
|
329
|
-
#
|
327
|
+
# The maximum number of devices to show in a page of results. Must be between 1
|
328
|
+
# and 100 inclusive.
|
330
329
|
# @param [String] page_token
|
331
330
|
# A token specifying which result page to return.
|
332
331
|
# @param [String] fields
|
@@ -360,8 +359,8 @@ module Google
|
|
360
359
|
|
361
360
|
# Removes a configuration from device.
|
362
361
|
# @param [String] parent
|
363
|
-
# Required. The customer managing the device in the format
|
364
|
-
#
|
362
|
+
# Required. The customer managing the device in the format `customers/[
|
363
|
+
# CUSTOMER_ID]`.
|
365
364
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::CustomerRemoveConfigurationRequest] customer_remove_configuration_request_object
|
366
365
|
# @param [String] fields
|
367
366
|
# Selector specifying which fields to include in a partial response.
|
@@ -392,13 +391,12 @@ module Google
|
|
392
391
|
execute_or_queue_command(command, &block)
|
393
392
|
end
|
394
393
|
|
395
|
-
# Unclaims a device from a customer and removes it from zero-touch
|
396
|
-
# enrollment.
|
394
|
+
# Unclaims a device from a customer and removes it from zero-touch enrollment.
|
397
395
|
# After removing a device, a customer must contact their reseller to register
|
398
396
|
# the device into zero-touch enrollment again.
|
399
397
|
# @param [String] parent
|
400
|
-
# Required. The customer managing the device. An API resource name in the
|
401
|
-
#
|
398
|
+
# Required. The customer managing the device. An API resource name in the format
|
399
|
+
# `customers/[CUSTOMER_ID]`.
|
402
400
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest] customer_unclaim_device_request_object
|
403
401
|
# @param [String] fields
|
404
402
|
# Selector specifying which fields to include in a partial response.
|
@@ -429,8 +427,7 @@ module Google
|
|
429
427
|
execute_or_queue_command(command, &block)
|
430
428
|
end
|
431
429
|
|
432
|
-
# Lists the DPCs (device policy controllers) that support zero-touch
|
433
|
-
# enrollment.
|
430
|
+
# Lists the DPCs (device policy controllers) that support zero-touch enrollment.
|
434
431
|
# @param [String] parent
|
435
432
|
# Required. The customer that can use the DPCs in configurations. An API
|
436
433
|
# resource name in the format `customers/[CUSTOMER_ID]`.
|
@@ -461,9 +458,8 @@ module Google
|
|
461
458
|
execute_or_queue_command(command, &block)
|
462
459
|
end
|
463
460
|
|
464
|
-
# Gets the latest state of a long-running operation.
|
465
|
-
#
|
466
|
-
# service.
|
461
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
462
|
+
# to poll the operation result at intervals as recommended by the API service.
|
467
463
|
# @param [String] name
|
468
464
|
# The name of the operation resource.
|
469
465
|
# @param [String] fields
|
@@ -494,10 +490,10 @@ module Google
|
|
494
490
|
end
|
495
491
|
|
496
492
|
# Creates a customer for zero-touch enrollment. After the method returns
|
497
|
-
# successfully, admin and owner roles can manage devices and EMM configs
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
493
|
+
# successfully, admin and owner roles can manage devices and EMM configs by
|
494
|
+
# calling API methods or using their zero-touch enrollment portal. The customer
|
495
|
+
# receives an email that welcomes them to zero-touch enrollment and explains how
|
496
|
+
# to sign into the portal.
|
501
497
|
# @param [String] parent
|
502
498
|
# Required. The parent resource ID in the format `partners/[PARTNER_ID]` that
|
503
499
|
# identifies the reseller.
|
@@ -531,14 +527,14 @@ module Google
|
|
531
527
|
execute_or_queue_command(command, &block)
|
532
528
|
end
|
533
529
|
|
534
|
-
# Lists the customers that are enrolled to the reseller identified by the
|
535
|
-
#
|
536
|
-
#
|
530
|
+
# Lists the customers that are enrolled to the reseller identified by the `
|
531
|
+
# partnerId` argument. This list includes customers that the reseller created
|
532
|
+
# and customers that enrolled themselves using the portal.
|
537
533
|
# @param [Fixnum] partner_id
|
538
534
|
# Required. The ID of the reseller partner.
|
539
535
|
# @param [Fixnum] page_size
|
540
|
-
# The maximum number of results to be returned. If not specified or 0, all
|
541
|
-
#
|
536
|
+
# The maximum number of results to be returned. If not specified or 0, all the
|
537
|
+
# records are returned.
|
542
538
|
# @param [String] page_token
|
543
539
|
# A token identifying a page of results returned by the server.
|
544
540
|
# @param [String] fields
|
@@ -604,9 +600,9 @@ module Google
|
|
604
600
|
execute_or_queue_command(command, &block)
|
605
601
|
end
|
606
602
|
|
607
|
-
# Claims a batch of devices for a customer asynchronously. Adds the devices
|
608
|
-
#
|
609
|
-
#
|
603
|
+
# Claims a batch of devices for a customer asynchronously. Adds the devices to
|
604
|
+
# zero-touch enrollment. To learn more, read [Long‑running batch operations](/
|
605
|
+
# zero-touch/guides/how-it-works#operations).
|
610
606
|
# @param [Fixnum] partner_id
|
611
607
|
# Required. The ID of the reseller partner.
|
612
608
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest] claim_devices_request_object
|
@@ -673,9 +669,8 @@ module Google
|
|
673
669
|
end
|
674
670
|
|
675
671
|
# Finds devices claimed for customers. The results only contain devices
|
676
|
-
# registered to the reseller that's identified by the `partnerId` argument.
|
677
|
-
#
|
678
|
-
# results.
|
672
|
+
# registered to the reseller that's identified by the `partnerId` argument. The
|
673
|
+
# customer's devices purchased from other resellers don't appear in the results.
|
679
674
|
# @param [Fixnum] partner_id
|
680
675
|
# Required. The ID of the reseller partner.
|
681
676
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest] find_devices_by_owner_request_object
|
@@ -710,8 +705,8 @@ module Google
|
|
710
705
|
|
711
706
|
# Gets a device.
|
712
707
|
# @param [String] name
|
713
|
-
# Required. The device API resource name in the format
|
714
|
-
#
|
708
|
+
# Required. The device API resource name in the format `partners/[PARTNER_ID]/
|
709
|
+
# devices/[DEVICE_ID]`.
|
715
710
|
# @param [String] fields
|
716
711
|
# Selector specifying which fields to include in a partial response.
|
717
712
|
# @param [String] quota_user
|
@@ -775,8 +770,7 @@ module Google
|
|
775
770
|
execute_or_queue_command(command, &block)
|
776
771
|
end
|
777
772
|
|
778
|
-
# Unclaims a device from a customer and removes it from zero-touch
|
779
|
-
# enrollment.
|
773
|
+
# Unclaims a device from a customer and removes it from zero-touch enrollment.
|
780
774
|
# @param [Fixnum] partner_id
|
781
775
|
# Required. The ID of the reseller partner.
|
782
776
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest] unclaim_device_request_object
|
@@ -809,9 +803,9 @@ module Google
|
|
809
803
|
execute_or_queue_command(command, &block)
|
810
804
|
end
|
811
805
|
|
812
|
-
# Unclaims a batch of devices for a customer asynchronously. Removes the
|
813
|
-
#
|
814
|
-
#
|
806
|
+
# Unclaims a batch of devices for a customer asynchronously. Removes the devices
|
807
|
+
# from zero-touch enrollment. To learn more, read [Long‑running batch operations]
|
808
|
+
# (/zero-touch/guides/how-it-works#operations).
|
815
809
|
# @param [Fixnum] partner_id
|
816
810
|
# Required. The reseller partner ID.
|
817
811
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest] unclaim_devices_request_object
|
@@ -845,9 +839,9 @@ module Google
|
|
845
839
|
end
|
846
840
|
|
847
841
|
# Updates the reseller metadata attached to a batch of devices. This method
|
848
|
-
# updates devices asynchronously and returns an `Operation` that can be used
|
849
|
-
#
|
850
|
-
#
|
842
|
+
# updates devices asynchronously and returns an `Operation` that can be used to
|
843
|
+
# track progress. Read [Long‑running batch operations](/zero-touch/guides/how-it-
|
844
|
+
# works#operations).
|
851
845
|
# @param [Fixnum] partner_id
|
852
846
|
# Required. The reseller partner ID.
|
853
847
|
# @param [Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest] update_device_metadata_in_batch_request_object
|
@@ -918,8 +912,8 @@ module Google
|
|
918
912
|
|
919
913
|
# Lists the customers of the vendor.
|
920
914
|
# @param [String] parent
|
921
|
-
# Required. The resource name in the format
|
922
|
-
#
|
915
|
+
# Required. The resource name in the format `partners/[PARTNER_ID]/vendors/[
|
916
|
+
# VENDOR_ID]`.
|
923
917
|
# @param [Fixnum] page_size
|
924
918
|
# The maximum number of results to be returned.
|
925
919
|
# @param [String] page_token
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200801'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AndroidenterpriseV1
|
24
24
|
|
25
|
-
# This represents an enterprise admin who can manage the enterprise
|
26
|
-
#
|
25
|
+
# This represents an enterprise admin who can manage the enterprise in the
|
26
|
+
# managed Google Play store.
|
27
27
|
class Administrator
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
@@ -61,9 +61,9 @@ module Google
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
# Specification for a token used to generate iframes. The token specifies
|
65
|
-
#
|
66
|
-
#
|
64
|
+
# Specification for a token used to generate iframes. The token specifies what
|
65
|
+
# data the admin is allowed to modify and the URI the iframe is allowed to
|
66
|
+
# communiate with.
|
67
67
|
class AdministratorWebTokenSpec
|
68
68
|
include Google::Apis::Core::Hashable
|
69
69
|
|
@@ -72,14 +72,14 @@ module Google
|
|
72
72
|
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations]
|
73
73
|
attr_accessor :managed_configurations
|
74
74
|
|
75
|
-
# The URI of the parent frame hosting the iframe. To prevent XSS, the iframe
|
76
|
-
#
|
77
|
-
#
|
75
|
+
# The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may
|
76
|
+
# not be hosted at other URIs. This URI must be https. Use whitespaces to
|
77
|
+
# separate multiple parent URIs.
|
78
78
|
# Corresponds to the JSON property `parent`
|
79
79
|
# @return [String]
|
80
80
|
attr_accessor :parent
|
81
81
|
|
82
|
-
# Deprecated. Use
|
82
|
+
# Deprecated. Use PlaySearch.approveApps.
|
83
83
|
# Corresponds to the JSON property `permission`
|
84
84
|
# @return [Array<String>]
|
85
85
|
attr_accessor :permission
|
@@ -144,10 +144,7 @@ module Google
|
|
144
144
|
class AdministratorWebTokenSpecPlaySearch
|
145
145
|
include Google::Apis::Core::Hashable
|
146
146
|
|
147
|
-
# Allow access to the iframe in
|
148
|
-
# href="https://developers.google.com/android/work/play/emm-api/managed-play-
|
149
|
-
# iframe#render">approve
|
150
|
-
# mode</a>. Default is false.
|
147
|
+
# Allow access to the iframe in approve mode. Default is false.
|
151
148
|
# Corresponds to the JSON property `approveApps`
|
152
149
|
# @return [Boolean]
|
153
150
|
attr_accessor :approve_apps
|
@@ -230,8 +227,8 @@ module Google
|
|
230
227
|
end
|
231
228
|
end
|
232
229
|
|
233
|
-
# Represents the list of app restrictions available to be pre-configured for
|
234
|
-
#
|
230
|
+
# Represents the list of app restrictions available to be pre-configured for the
|
231
|
+
# product.
|
235
232
|
class AppRestrictionsSchema
|
236
233
|
include Google::Apis::Core::Hashable
|
237
234
|
|
@@ -257,14 +254,13 @@ module Google
|
|
257
254
|
end
|
258
255
|
|
259
256
|
# An event generated when a new app version is uploaded to Google Play and its
|
260
|
-
# app restrictions schema changed.
|
261
|
-
#
|
262
|
-
# Products.getAppRestrictionsSchema on the EMM API.
|
257
|
+
# app restrictions schema changed. To fetch the app restrictions schema for an
|
258
|
+
# app, use Products.getAppRestrictionsSchema on the EMM API.
|
263
259
|
class AppRestrictionsSchemaChangeEvent
|
264
260
|
include Google::Apis::Core::Hashable
|
265
261
|
|
266
|
-
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
267
|
-
#
|
262
|
+
# The id of the product (e.g. "app:com.google.android.gm") for which the app
|
263
|
+
# restriction schema changed. This field will always be present.
|
268
264
|
# Corresponds to the JSON property `productId`
|
269
265
|
# @return [String]
|
270
266
|
attr_accessor :product_id
|
@@ -289,37 +285,34 @@ module Google
|
|
289
285
|
# @return [Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestrictionRestrictionValue]
|
290
286
|
attr_accessor :default_value
|
291
287
|
|
292
|
-
# A longer description of the restriction, giving more detail of what it
|
293
|
-
# affects.
|
288
|
+
# A longer description of the restriction, giving more detail of what it affects.
|
294
289
|
# Corresponds to the JSON property `description`
|
295
290
|
# @return [String]
|
296
291
|
attr_accessor :description
|
297
292
|
|
298
|
-
# For
|
299
|
-
#
|
293
|
+
# For choice or multiselect restrictions, the list of possible entries' human-
|
294
|
+
# readable names.
|
300
295
|
# Corresponds to the JSON property `entry`
|
301
296
|
# @return [Array<String>]
|
302
297
|
attr_accessor :entry
|
303
298
|
|
304
|
-
# For
|
305
|
-
#
|
306
|
-
#
|
307
|
-
#
|
308
|
-
# <code>multiselect</code> restriction.
|
299
|
+
# For choice or multiselect restrictions, the list of possible entries' machine-
|
300
|
+
# readable values. These values should be used in the configuration, either as a
|
301
|
+
# single string value for a choice restriction or in a stringArray for a
|
302
|
+
# multiselect restriction.
|
309
303
|
# Corresponds to the JSON property `entryValue`
|
310
304
|
# @return [Array<String>]
|
311
305
|
attr_accessor :entry_value
|
312
306
|
|
313
|
-
# The unique key that the product uses to identify the restriction,
|
314
|
-
#
|
307
|
+
# The unique key that the product uses to identify the restriction, e.g. "com.
|
308
|
+
# google.android.gm.fieldname".
|
315
309
|
# Corresponds to the JSON property `key`
|
316
310
|
# @return [String]
|
317
311
|
attr_accessor :key
|
318
312
|
|
319
|
-
# For
|
320
|
-
#
|
321
|
-
#
|
322
|
-
# <code>bundleArray</code> restriction is at most two levels deep.
|
313
|
+
# For bundle or bundleArray restrictions, the list of nested restrictions. A
|
314
|
+
# bundle restriction is always nested within a bundleArray restriction, and a
|
315
|
+
# bundleArray restriction is at most two levels deep.
|
323
316
|
# Corresponds to the JSON property `nestedRestriction`
|
324
317
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>]
|
325
318
|
attr_accessor :nested_restriction
|
@@ -371,14 +364,12 @@ module Google
|
|
371
364
|
# @return [Fixnum]
|
372
365
|
attr_accessor :value_integer
|
373
366
|
|
374
|
-
# The list of string values - this will only be present if type is
|
375
|
-
# multiselect.
|
367
|
+
# The list of string values - this will only be present if type is multiselect.
|
376
368
|
# Corresponds to the JSON property `valueMultiselect`
|
377
369
|
# @return [Array<String>]
|
378
370
|
attr_accessor :value_multiselect
|
379
371
|
|
380
|
-
# The string value - this will be present for types string, choice and
|
381
|
-
# hidden.
|
372
|
+
# The string value - this will be present for types string, choice and hidden.
|
382
373
|
# Corresponds to the JSON property `valueString`
|
383
374
|
# @return [String]
|
384
375
|
attr_accessor :value_string
|
@@ -401,14 +392,12 @@ module Google
|
|
401
392
|
class AppState
|
402
393
|
include Google::Apis::Core::Hashable
|
403
394
|
|
404
|
-
# List of keyed app states.
|
405
|
-
# This field will always be present.
|
395
|
+
# List of keyed app states. This field will always be present.
|
406
396
|
# Corresponds to the JSON property `keyedAppState`
|
407
397
|
# @return [Array<Google::Apis::AndroidenterpriseV1::KeyedAppState>]
|
408
398
|
attr_accessor :keyed_app_state
|
409
399
|
|
410
|
-
# The package name of the app.
|
411
|
-
# This field will always be present.
|
400
|
+
# The package name of the app. This field will always be present.
|
412
401
|
# Corresponds to the JSON property `packageName`
|
413
402
|
# @return [String]
|
414
403
|
attr_accessor :package_name
|
@@ -457,14 +446,14 @@ module Google
|
|
457
446
|
attr_accessor :is_production
|
458
447
|
alias_method :is_production?, :is_production
|
459
448
|
|
460
|
-
# Deprecated, use
|
449
|
+
# Deprecated, use trackId instead.
|
461
450
|
# Corresponds to the JSON property `track`
|
462
451
|
# @return [String]
|
463
452
|
attr_accessor :track
|
464
453
|
|
465
|
-
# Track ids that the app version is published in. Replaces the
|
466
|
-
#
|
467
|
-
#
|
454
|
+
# Track ids that the app version is published in. Replaces the track field (
|
455
|
+
# deprecated), but doesn't include the production track (see isProduction
|
456
|
+
# instead).
|
468
457
|
# Corresponds to the JSON property `trackId`
|
469
458
|
# @return [Array<String>]
|
470
459
|
attr_accessor :track_id
|
@@ -474,8 +463,7 @@ module Google
|
|
474
463
|
# @return [Fixnum]
|
475
464
|
attr_accessor :version_code
|
476
465
|
|
477
|
-
# The string used in the Play store by the app developer to identify
|
478
|
-
# the version.
|
466
|
+
# The string used in the Play store by the app developer to identify the version.
|
479
467
|
# The string is not necessarily unique or localized (for example, the string
|
480
468
|
# could be "1.4").
|
481
469
|
# Corresponds to the JSON property `versionString`
|
@@ -501,7 +489,7 @@ module Google
|
|
501
489
|
include Google::Apis::Core::Hashable
|
502
490
|
|
503
491
|
# A URL that displays a product's permissions and that can also be used to
|
504
|
-
# approve the product with the
|
492
|
+
# approve the product with the Products.approve call.
|
505
493
|
# Corresponds to the JSON property `approvalUrl`
|
506
494
|
# @return [String]
|
507
495
|
attr_accessor :approval_url
|
@@ -522,8 +510,8 @@ module Google
|
|
522
510
|
include Google::Apis::Core::Hashable
|
523
511
|
|
524
512
|
# The authentication token to be passed to the device policy client on the
|
525
|
-
# device where it can be used to provision the account for which this token
|
526
|
-
#
|
513
|
+
# device where it can be used to provision the account for which this token was
|
514
|
+
# generated.
|
527
515
|
# Corresponds to the JSON property `token`
|
528
516
|
# @return [String]
|
529
517
|
attr_accessor :token
|
@@ -574,8 +562,8 @@ module Google
|
|
574
562
|
class AutoInstallPolicy
|
575
563
|
include Google::Apis::Core::Hashable
|
576
564
|
|
577
|
-
# The constraints for auto-installing the app. You can specify a maximum of
|
578
|
-
#
|
565
|
+
# The constraints for auto-installing the app. You can specify a maximum of one
|
566
|
+
# constraint.
|
579
567
|
# Corresponds to the JSON property `autoInstallConstraint`
|
580
568
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
|
581
569
|
attr_accessor :auto_install_constraint
|
@@ -592,9 +580,9 @@ module Google
|
|
592
580
|
attr_accessor :auto_install_priority
|
593
581
|
|
594
582
|
# The minimum version of the app. If a lower version of the app is installed,
|
595
|
-
# then the app will be auto-updated according to the auto-install
|
596
|
-
#
|
597
|
-
#
|
583
|
+
# then the app will be auto-updated according to the auto-install constraints,
|
584
|
+
# instead of waiting for the regular auto-update. You can set a minimum version
|
585
|
+
# code for at most 20 apps per device.
|
598
586
|
# Corresponds to the JSON property `minimumVersionCode`
|
599
587
|
# @return [Fixnum]
|
600
588
|
attr_accessor :minimum_version_code
|
@@ -612,10 +600,10 @@ module Google
|
|
612
600
|
end
|
613
601
|
end
|
614
602
|
|
615
|
-
# A configuration variables resource contains the managed configuration
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
603
|
+
# A configuration variables resource contains the managed configuration settings
|
604
|
+
# ID to be applied to a single user, as well as the variable set that is
|
605
|
+
# attributed to the user. The variable set will be used to replace placeholders
|
606
|
+
# in the managed configuration settings.
|
619
607
|
class ConfigurationVariables
|
620
608
|
include Google::Apis::Core::Hashable
|
621
609
|
|
@@ -640,31 +628,26 @@ module Google
|
|
640
628
|
end
|
641
629
|
end
|
642
630
|
|
643
|
-
# A Devices resource represents a mobile device managed by the EMM and
|
644
|
-
#
|
631
|
+
# A Devices resource represents a mobile device managed by the EMM and belonging
|
632
|
+
# to a specific enterprise user.
|
645
633
|
class Device
|
646
634
|
include Google::Apis::Core::Hashable
|
647
635
|
|
648
|
-
# The Google Play Services Android ID for the device encoded as
|
649
|
-
#
|
650
|
-
# <code>"123456789abcdef0"</code>.
|
636
|
+
# The Google Play Services Android ID for the device encoded as a lowercase hex
|
637
|
+
# string. For example, "123456789abcdef0".
|
651
638
|
# Corresponds to the JSON property `androidId`
|
652
639
|
# @return [String]
|
653
640
|
attr_accessor :android_id
|
654
641
|
|
655
|
-
# Identifies the extent to which the device is controlled by a managed
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
# <li>"<code>unmanagedProfile</code>", a device that has been allowed (by the
|
665
|
-
# domain's admin, using the Admin Console to enable the privilege) to use
|
666
|
-
# managed Google Play, but the profile is itself
|
667
|
-
# not owned by a DPC.</li></ul>
|
642
|
+
# Identifies the extent to which the device is controlled by a managed Google
|
643
|
+
# Play EMM in various deployment configurations. Possible values include: - "
|
644
|
+
# managedDevice", a device that has the EMM's device policy controller (DPC) as
|
645
|
+
# the device owner. - "managedProfile", a device that has a profile managed by
|
646
|
+
# the DPC (DPC is profile owner) in addition to a separate, personal profile
|
647
|
+
# that is unavailable to the DPC. - "containerApp", no longer used (deprecated).
|
648
|
+
# - "unmanagedProfile", a device that has been allowed (by the domain's admin,
|
649
|
+
# using the Admin Console to enable the privilege) to use managed Google Play,
|
650
|
+
# but the profile is itself not owned by a DPC.
|
668
651
|
# Corresponds to the JSON property `managementType`
|
669
652
|
# @return [String]
|
670
653
|
attr_accessor :management_type
|
@@ -698,15 +681,14 @@ module Google
|
|
698
681
|
class DeviceReport
|
699
682
|
include Google::Apis::Core::Hashable
|
700
683
|
|
701
|
-
# List of app states set by managed apps on the device. App states are
|
702
|
-
#
|
703
|
-
# This field will always be present.
|
684
|
+
# List of app states set by managed apps on the device. App states are defined
|
685
|
+
# by the app's developers. This field will always be present.
|
704
686
|
# Corresponds to the JSON property `appState`
|
705
687
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AppState>]
|
706
688
|
attr_accessor :app_state
|
707
689
|
|
708
|
-
# The timestamp of the last report update in milliseconds since epoch.
|
709
|
-
#
|
690
|
+
# The timestamp of the last report update in milliseconds since epoch. This
|
691
|
+
# field will always be present.
|
710
692
|
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
711
693
|
# @return [Fixnum]
|
712
694
|
attr_accessor :last_updated_timestamp_millis
|
@@ -726,8 +708,7 @@ module Google
|
|
726
708
|
class DeviceReportUpdateEvent
|
727
709
|
include Google::Apis::Core::Hashable
|
728
710
|
|
729
|
-
# The Android ID of the device.
|
730
|
-
# This field will always be present.
|
711
|
+
# The Android ID of the device. This field will always be present.
|
731
712
|
# Corresponds to the JSON property `deviceId`
|
732
713
|
# @return [String]
|
733
714
|
attr_accessor :device_id
|
@@ -738,8 +719,7 @@ module Google
|
|
738
719
|
# @return [Google::Apis::AndroidenterpriseV1::DeviceReport]
|
739
720
|
attr_accessor :report
|
740
721
|
|
741
|
-
# The ID of the user.
|
742
|
-
# This field will always be present.
|
722
|
+
# The ID of the user. This field will always be present.
|
743
723
|
# Corresponds to the JSON property `userId`
|
744
724
|
# @return [String]
|
745
725
|
attr_accessor :user_id
|
@@ -756,15 +736,15 @@ module Google
|
|
756
736
|
end
|
757
737
|
end
|
758
738
|
|
759
|
-
# The state of a user's device, as accessed by the getState and setState
|
760
|
-
#
|
739
|
+
# The state of a user's device, as accessed by the getState and setState methods
|
740
|
+
# on device resources.
|
761
741
|
class DeviceState
|
762
742
|
include Google::Apis::Core::Hashable
|
763
743
|
|
764
|
-
# The state of the Google account on the device. "enabled" indicates that
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
744
|
+
# The state of the Google account on the device. "enabled" indicates that the
|
745
|
+
# Google account on the device can be used to access Google services (including
|
746
|
+
# Google Play), while "disabled" means that it cannot. A new device is initially
|
747
|
+
# in the "disabled" state.
|
768
748
|
# Corresponds to the JSON property `accountState`
|
769
749
|
# @return [String]
|
770
750
|
attr_accessor :account_state
|
@@ -798,27 +778,22 @@ module Google
|
|
798
778
|
end
|
799
779
|
end
|
800
780
|
|
801
|
-
# An Enterprises resource represents the binding between an EMM and a
|
802
|
-
#
|
803
|
-
#
|
804
|
-
#
|
805
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
#
|
809
|
-
#
|
810
|
-
#
|
811
|
-
#
|
812
|
-
# Google Play sign-up UI (Google-provided mechanism) to create the binding
|
813
|
-
# without manual steps.</li></ul> As an EMM, you can support either or both
|
814
|
-
# approaches in your EMM console. See <a
|
815
|
-
# href="/android/work/play/emm-api/create-enterprise">Create an Enterprise</a>
|
816
|
-
# for details.
|
781
|
+
# An Enterprises resource represents the binding between an EMM and a specific
|
782
|
+
# organization. That binding can be instantiated in one of two different ways
|
783
|
+
# using this API as follows: - For Google managed domain customers, the process
|
784
|
+
# involves using Enterprises.enroll and Enterprises.setAccount (in conjunction
|
785
|
+
# with artifacts obtained from the Admin console and the Google API Console) and
|
786
|
+
# submitted to the EMM through a more-or-less manual process. - For managed
|
787
|
+
# Google Play Accounts customers, the process involves using Enterprises.
|
788
|
+
# generateSignupUrl and Enterprises.completeSignup in conjunction with the
|
789
|
+
# managed Google Play sign-up UI (Google-provided mechanism) to create the
|
790
|
+
# binding without manual steps. As an EMM, you can support either or both
|
791
|
+
# approaches in your EMM console. See Create an Enterprise for details.
|
817
792
|
class Enterprise
|
818
793
|
include Google::Apis::Core::Hashable
|
819
794
|
|
820
|
-
# Admins of the enterprise. This is only supported for enterprises
|
821
|
-
#
|
795
|
+
# Admins of the enterprise. This is only supported for enterprises created via
|
796
|
+
# the EMM-initiated flow.
|
822
797
|
# Corresponds to the JSON property `administrator`
|
823
798
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Administrator>]
|
824
799
|
attr_accessor :administrator
|
@@ -851,8 +826,8 @@ module Google
|
|
851
826
|
end
|
852
827
|
end
|
853
828
|
|
854
|
-
# A service account that can be used to authenticate as the enterprise to
|
855
|
-
#
|
829
|
+
# A service account that can be used to authenticate as the enterprise to API
|
830
|
+
# calls that require such authentication.
|
856
831
|
class EnterpriseAccount
|
857
832
|
include Google::Apis::Core::Hashable
|
858
833
|
|
@@ -899,8 +874,8 @@ module Google
|
|
899
874
|
# @return [String]
|
900
875
|
attr_accessor :message_id
|
901
876
|
|
902
|
-
# The name of the Cloud Pub/Sub topic to which notifications for this
|
903
|
-
#
|
877
|
+
# The name of the Cloud Pub/Sub topic to which notifications for this enterprise'
|
878
|
+
# s enrolled account will be sent.
|
904
879
|
# Corresponds to the JSON property `topicName`
|
905
880
|
# @return [String]
|
906
881
|
attr_accessor :topic_name
|
@@ -920,35 +895,32 @@ module Google
|
|
920
895
|
# to use a particular app. Entitlements are user specific, not device specific.
|
921
896
|
# This allows a user with an entitlement to an app to install the app on all
|
922
897
|
# their devices. It's also possible for a user to hold an entitlement to an app
|
923
|
-
# without installing the app on any device.
|
924
|
-
#
|
925
|
-
#
|
926
|
-
#
|
927
|
-
#
|
928
|
-
#
|
929
|
-
#
|
930
|
-
#
|
931
|
-
#
|
932
|
-
# the app
|
933
|
-
#
|
934
|
-
#
|
935
|
-
#
|
936
|
-
# Installs.delete()</a> before deleting the entitlement.
|
937
|
-
# Entitlements for apps that a user pays for on an unmanaged profile have
|
938
|
-
# <code class="">"userPurchase"</code> as the entitlement reason. These
|
898
|
+
# without installing the app on any device. The API can be used to create an
|
899
|
+
# entitlement. As an option, you can also use the API to trigger the
|
900
|
+
# installation of an app on all a user's managed devices at the same time the
|
901
|
+
# entitlement is created. If the app is free, creating the entitlement also
|
902
|
+
# creates a group license for that app. For paid apps, creating the entitlement
|
903
|
+
# consumes one license, and that license remains consumed until the entitlement
|
904
|
+
# is removed. If the enterprise hasn't purchased enough licenses, then no
|
905
|
+
# entitlement is created and the installation fails. An entitlement is also not
|
906
|
+
# created for an app if the app requires permissions that the enterprise hasn't
|
907
|
+
# accepted. If an entitlement is deleted, the app may be uninstalled from a user'
|
908
|
+
# s device. As a best practice, uninstall the app by calling Installs.delete()
|
909
|
+
# before deleting the entitlement. Entitlements for apps that a user pays for on
|
910
|
+
# an unmanaged profile have "userPurchase" as the entitlement reason. These
|
939
911
|
# entitlements cannot be removed via the API.
|
940
912
|
class Entitlement
|
941
913
|
include Google::Apis::Core::Hashable
|
942
914
|
|
943
|
-
# The ID of the product that the entitlement is for. For example,
|
944
|
-
#
|
915
|
+
# The ID of the product that the entitlement is for. For example, "app:com.
|
916
|
+
# google.android.gm".
|
945
917
|
# Corresponds to the JSON property `productId`
|
946
918
|
# @return [String]
|
947
919
|
attr_accessor :product_id
|
948
920
|
|
949
|
-
# The reason for the entitlement. For example,
|
950
|
-
#
|
951
|
-
#
|
921
|
+
# The reason for the entitlement. For example, "free" for free apps. This
|
922
|
+
# property is temporary: it will be replaced by the acquisition kind field of
|
923
|
+
# group licenses.
|
952
924
|
# Corresponds to the JSON property `reason`
|
953
925
|
# @return [String]
|
954
926
|
attr_accessor :reason
|
@@ -968,9 +940,9 @@ module Google
|
|
968
940
|
class ListEntitlementsResponse
|
969
941
|
include Google::Apis::Core::Hashable
|
970
942
|
|
971
|
-
# An entitlement of a user to a product (e.g. an app).
|
972
|
-
#
|
973
|
-
#
|
943
|
+
# An entitlement of a user to a product (e.g. an app). For example, a free app
|
944
|
+
# that they have installed, or a paid app that they have been allocated a
|
945
|
+
# license to.
|
974
946
|
# Corresponds to the JSON property `entitlement`
|
975
947
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Entitlement>]
|
976
948
|
attr_accessor :entitlement
|
@@ -985,74 +957,67 @@ module Google
|
|
985
957
|
end
|
986
958
|
end
|
987
959
|
|
988
|
-
# Group license objects allow you to keep track of licenses (called
|
989
|
-
# <a href="/android/work/play/emm-api/v1/entitlements">entitlements</a>)
|
960
|
+
# Group license objects allow you to keep track of licenses (called entitlements)
|
990
961
|
# for both free and paid apps. For a free app, a group license is created when
|
991
962
|
# an enterprise admin first approves the product in Google Play or when the
|
992
963
|
# first entitlement for the product is created for a user via the API. For a
|
993
964
|
# paid app, a group license object is only created when an enterprise admin
|
994
|
-
# purchases the product in Google Play for the first time.
|
995
|
-
#
|
996
|
-
#
|
997
|
-
# total number of
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
# entitlements for the product.
|
965
|
+
# purchases the product in Google Play for the first time. Use the API to query
|
966
|
+
# group licenses. A Grouplicenses resource includes the total number of licenses
|
967
|
+
# purchased (paid apps only) and the total number of licenses currently in use.
|
968
|
+
# In other words, the total number of Entitlements that exist for the product.
|
969
|
+
# Only one group license object is created per product and group license objects
|
970
|
+
# are never deleted. If a product is unapproved, its group license remains. This
|
971
|
+
# allows enterprise admins to keep track of any remaining entitlements for the
|
972
|
+
# product.
|
1003
973
|
class GroupLicense
|
1004
974
|
include Google::Apis::Core::Hashable
|
1005
975
|
|
1006
|
-
# How this group license was acquired.
|
1007
|
-
#
|
1008
|
-
#
|
1009
|
-
# <code>"free"</code> (for free products).
|
976
|
+
# How this group license was acquired. "bulkPurchase" means that this
|
977
|
+
# Grouplicenses resource was created because the enterprise purchased licenses
|
978
|
+
# for this product; otherwise, the value is "free" (for free products).
|
1010
979
|
# Corresponds to the JSON property `acquisitionKind`
|
1011
980
|
# @return [String]
|
1012
981
|
attr_accessor :acquisition_kind
|
1013
982
|
|
1014
|
-
# Whether the product to which this group license relates is currently
|
1015
|
-
#
|
1016
|
-
#
|
1017
|
-
#
|
1018
|
-
#
|
983
|
+
# Whether the product to which this group license relates is currently approved
|
984
|
+
# by the enterprise. Products are approved when a group license is first created,
|
985
|
+
# but this approval may be revoked by an enterprise admin via Google Play.
|
986
|
+
# Unapproved products will not be visible to end users in collections, and new
|
987
|
+
# entitlements to them should not normally be created.
|
1019
988
|
# Corresponds to the JSON property `approval`
|
1020
989
|
# @return [String]
|
1021
990
|
attr_accessor :approval
|
1022
991
|
|
1023
|
-
# The total number of provisioned licenses for this product.
|
1024
|
-
#
|
992
|
+
# The total number of provisioned licenses for this product. Returned by read
|
993
|
+
# operations, but ignored in write operations.
|
1025
994
|
# Corresponds to the JSON property `numProvisioned`
|
1026
995
|
# @return [Fixnum]
|
1027
996
|
attr_accessor :num_provisioned
|
1028
997
|
|
1029
|
-
# The number of purchased licenses (possibly in multiple purchases).
|
1030
|
-
#
|
1031
|
-
#
|
1032
|
-
# <code>"free"</code>).
|
998
|
+
# The number of purchased licenses (possibly in multiple purchases). If this
|
999
|
+
# field is omitted, then there is no limit on the number of licenses that can be
|
1000
|
+
# provisioned (for example, if the acquisition kind is "free").
|
1033
1001
|
# Corresponds to the JSON property `numPurchased`
|
1034
1002
|
# @return [Fixnum]
|
1035
1003
|
attr_accessor :num_purchased
|
1036
1004
|
|
1037
|
-
# The permission approval status of the product. This field
|
1038
|
-
#
|
1039
|
-
# <li>"<code>currentApproved</code>", the current set
|
1005
|
+
# The permission approval status of the product. This field is only set if the
|
1006
|
+
# product is approved. Possible states are: - "currentApproved", the current set
|
1040
1007
|
# of permissions is approved, but additional permissions will require the
|
1041
|
-
# administrator to reapprove the product (If the product was approved
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
#
|
1046
|
-
#
|
1047
|
-
#
|
1048
|
-
# the current permissions are approved and any future permission updates
|
1049
|
-
# will be automatically approved without administrator review.</li></ul>
|
1008
|
+
# administrator to reapprove the product (If the product was approved without
|
1009
|
+
# specifying the approved permissions setting, then this is the default behavior.
|
1010
|
+
# ), - "needsReapproval", the product has unapproved permissions. No additional
|
1011
|
+
# product licenses can be assigned until the product is reapproved, - "
|
1012
|
+
# allCurrentAndFutureApproved", the current permissions are approved and any
|
1013
|
+
# future permission updates will be automatically approved without administrator
|
1014
|
+
# review.
|
1050
1015
|
# Corresponds to the JSON property `permissions`
|
1051
1016
|
# @return [String]
|
1052
1017
|
attr_accessor :permissions
|
1053
1018
|
|
1054
|
-
# The ID of the product that the license is for. For example,
|
1055
|
-
#
|
1019
|
+
# The ID of the product that the license is for. For example, "app:com.google.
|
1020
|
+
# android.gm".
|
1056
1021
|
# Corresponds to the JSON property `productId`
|
1057
1022
|
# @return [String]
|
1058
1023
|
attr_accessor :product_id
|
@@ -1110,49 +1075,41 @@ module Google
|
|
1110
1075
|
end
|
1111
1076
|
end
|
1112
1077
|
|
1113
|
-
# The existence of an Installs resource indicates that an app is
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
# the
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
# again an install resource and possibly an entitlement resource are
|
1131
|
-
# automatically created.
|
1132
|
-
# The API can also be used to delete an install resource, which triggers the
|
1133
|
-
# removal of the app from the device. Note that deleting an install does not
|
1134
|
-
# automatically remove the corresponding entitlement, even if there are no
|
1135
|
-
# remaining installs. The install resource will also be deleted if the user
|
1136
|
-
# uninstalls the app themselves.
|
1078
|
+
# The existence of an Installs resource indicates that an app is installed on a
|
1079
|
+
# particular device (or that an install is pending). The API can be used to
|
1080
|
+
# create an install resource using the update method. This triggers the actual
|
1081
|
+
# install of the app on the device. If the user does not already have an
|
1082
|
+
# entitlement for the app, then an attempt is made to create one. If this fails (
|
1083
|
+
# for example, because the app is not free and there is no available license),
|
1084
|
+
# then the creation of the install fails. The API can also be used to update an
|
1085
|
+
# installed app. If the update method is used on an existing install, then the
|
1086
|
+
# app will be updated to the latest available version. Note that it is not
|
1087
|
+
# possible to force the installation of a specific version of an app: the
|
1088
|
+
# version code is read-only. If a user installs an app themselves (as permitted
|
1089
|
+
# by the enterprise), then again an install resource and possibly an entitlement
|
1090
|
+
# resource are automatically created. The API can also be used to delete an
|
1091
|
+
# install resource, which triggers the removal of the app from the device. Note
|
1092
|
+
# that deleting an install does not automatically remove the corresponding
|
1093
|
+
# entitlement, even if there are no remaining installs. The install resource
|
1094
|
+
# will also be deleted if the user uninstalls the app themselves.
|
1137
1095
|
class Install
|
1138
1096
|
include Google::Apis::Core::Hashable
|
1139
1097
|
|
1140
|
-
# Install state. The state
|
1141
|
-
#
|
1142
|
-
#
|
1143
|
-
# means that the app has been installed. This field is read-only.
|
1098
|
+
# Install state. The state "installPending" means that an install request has
|
1099
|
+
# recently been made and download to the device is in progress. The state "
|
1100
|
+
# installed" means that the app has been installed. This field is read-only.
|
1144
1101
|
# Corresponds to the JSON property `installState`
|
1145
1102
|
# @return [String]
|
1146
1103
|
attr_accessor :install_state
|
1147
1104
|
|
1148
|
-
# The ID of the product that the install is for. For example,
|
1149
|
-
#
|
1105
|
+
# The ID of the product that the install is for. For example, "app:com.google.
|
1106
|
+
# android.gm".
|
1150
1107
|
# Corresponds to the JSON property `productId`
|
1151
1108
|
# @return [String]
|
1152
1109
|
attr_accessor :product_id
|
1153
1110
|
|
1154
|
-
# The version of the installed product. Guaranteed to be set only if the
|
1155
|
-
#
|
1111
|
+
# The version of the installed product. Guaranteed to be set only if the install
|
1112
|
+
# state is "installed".
|
1156
1113
|
# Corresponds to the JSON property `versionCode`
|
1157
1114
|
# @return [Fixnum]
|
1158
1115
|
attr_accessor :version_code
|
@@ -1173,8 +1130,7 @@ module Google
|
|
1173
1130
|
class InstallFailureEvent
|
1174
1131
|
include Google::Apis::Core::Hashable
|
1175
1132
|
|
1176
|
-
# The Android ID of the device.
|
1177
|
-
# This field will always be present.
|
1133
|
+
# The Android ID of the device. This field will always be present.
|
1178
1134
|
# Corresponds to the JSON property `deviceId`
|
1179
1135
|
# @return [String]
|
1180
1136
|
attr_accessor :device_id
|
@@ -1184,20 +1140,18 @@ module Google
|
|
1184
1140
|
# @return [String]
|
1185
1141
|
attr_accessor :failure_details
|
1186
1142
|
|
1187
|
-
# The reason for the installation failure.
|
1188
|
-
# This field will always be present.
|
1143
|
+
# The reason for the installation failure. This field will always be present.
|
1189
1144
|
# Corresponds to the JSON property `failureReason`
|
1190
1145
|
# @return [String]
|
1191
1146
|
attr_accessor :failure_reason
|
1192
1147
|
|
1193
|
-
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
1194
|
-
#
|
1148
|
+
# The id of the product (e.g. "app:com.google.android.gm") for which the install
|
1149
|
+
# failure event occured. This field will always be present.
|
1195
1150
|
# Corresponds to the JSON property `productId`
|
1196
1151
|
# @return [String]
|
1197
1152
|
attr_accessor :product_id
|
1198
1153
|
|
1199
|
-
# The ID of the user.
|
1200
|
-
# This field will always be present.
|
1154
|
+
# The ID of the user. This field will always be present.
|
1201
1155
|
# Corresponds to the JSON property `userId`
|
1202
1156
|
# @return [String]
|
1203
1157
|
attr_accessor :user_id
|
@@ -1220,9 +1174,8 @@ module Google
|
|
1220
1174
|
class ListInstallsResponse
|
1221
1175
|
include Google::Apis::Core::Hashable
|
1222
1176
|
|
1223
|
-
# An installation of an app for a user on a specific device.
|
1224
|
-
#
|
1225
|
-
# entitlement to the app.
|
1177
|
+
# An installation of an app for a user on a specific device. The existence of an
|
1178
|
+
# install implies that the user must have an entitlement to the app.
|
1226
1179
|
# Corresponds to the JSON property `install`
|
1227
1180
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Install>]
|
1228
1181
|
attr_accessor :install
|
@@ -1242,36 +1195,34 @@ module Google
|
|
1242
1195
|
class KeyedAppState
|
1243
1196
|
include Google::Apis::Core::Hashable
|
1244
1197
|
|
1245
|
-
# Additional field intended for machine-readable data. For example, a number
|
1246
|
-
#
|
1247
|
-
#
|
1198
|
+
# Additional field intended for machine-readable data. For example, a number or
|
1199
|
+
# JSON object. To prevent XSS, we recommend removing any HTML from the data
|
1200
|
+
# before displaying it.
|
1248
1201
|
# Corresponds to the JSON property `data`
|
1249
1202
|
# @return [String]
|
1250
1203
|
attr_accessor :data
|
1251
1204
|
|
1252
|
-
# Key indicating what the app is providing a state for. The content of the
|
1253
|
-
#
|
1254
|
-
#
|
1255
|
-
# This field will always be present.
|
1205
|
+
# Key indicating what the app is providing a state for. The content of the key
|
1206
|
+
# is set by the app's developer. To prevent XSS, we recommend removing any HTML
|
1207
|
+
# from the key before displaying it. This field will always be present.
|
1256
1208
|
# Corresponds to the JSON property `key`
|
1257
1209
|
# @return [String]
|
1258
1210
|
attr_accessor :key
|
1259
1211
|
|
1260
|
-
# Free-form, human-readable message describing the app state. For example,
|
1261
|
-
#
|
1262
|
-
#
|
1212
|
+
# Free-form, human-readable message describing the app state. For example, an
|
1213
|
+
# error message. To prevent XSS, we recommend removing any HTML from the message
|
1214
|
+
# before displaying it.
|
1263
1215
|
# Corresponds to the JSON property `message`
|
1264
1216
|
# @return [String]
|
1265
1217
|
attr_accessor :message
|
1266
1218
|
|
1267
|
-
# Severity of the app state.
|
1268
|
-
# This field will always be present.
|
1219
|
+
# Severity of the app state. This field will always be present.
|
1269
1220
|
# Corresponds to the JSON property `severity`
|
1270
1221
|
# @return [String]
|
1271
1222
|
attr_accessor :severity
|
1272
1223
|
|
1273
|
-
# Timestamp of when the app set the state in milliseconds since epoch.
|
1274
|
-
#
|
1224
|
+
# Timestamp of when the app set the state in milliseconds since epoch. This
|
1225
|
+
# field will always be present.
|
1275
1226
|
# Corresponds to the JSON property `stateTimestampMillis`
|
1276
1227
|
# @return [Fixnum]
|
1277
1228
|
attr_accessor :state_timestamp_millis
|
@@ -1315,9 +1266,8 @@ module Google
|
|
1315
1266
|
end
|
1316
1267
|
end
|
1317
1268
|
|
1318
|
-
# Maintenance window for managed Google Play Accounts.
|
1319
|
-
#
|
1320
|
-
# window.
|
1269
|
+
# Maintenance window for managed Google Play Accounts. This allows Play store to
|
1270
|
+
# update the apps on the foreground in the designated window.
|
1321
1271
|
class MaintenanceWindow
|
1322
1272
|
include Google::Apis::Core::Hashable
|
1323
1273
|
|
@@ -1345,15 +1295,15 @@ module Google
|
|
1345
1295
|
end
|
1346
1296
|
|
1347
1297
|
# A managed configuration resource contains the set of managed properties
|
1348
|
-
# defined by the app developer in the app's managed configurations schema,
|
1349
|
-
#
|
1298
|
+
# defined by the app developer in the app's managed configurations schema, as
|
1299
|
+
# well as any configuration variables defined for the user.
|
1350
1300
|
class ManagedConfiguration
|
1351
1301
|
include Google::Apis::Core::Hashable
|
1352
1302
|
|
1353
|
-
# A configuration variables resource contains the managed configuration
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
#
|
1303
|
+
# A configuration variables resource contains the managed configuration settings
|
1304
|
+
# ID to be applied to a single user, as well as the variable set that is
|
1305
|
+
# attributed to the user. The variable set will be used to replace placeholders
|
1306
|
+
# in the managed configuration settings.
|
1357
1307
|
# Corresponds to the JSON property `configurationVariables`
|
1358
1308
|
# @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
|
1359
1309
|
attr_accessor :configuration_variables
|
@@ -1368,8 +1318,8 @@ module Google
|
|
1368
1318
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
1369
1319
|
attr_accessor :managed_property
|
1370
1320
|
|
1371
|
-
# The ID of the product that the managed configuration is for, e.g.
|
1372
|
-
#
|
1321
|
+
# The ID of the product that the managed configuration is for, e.g. "app:com.
|
1322
|
+
# google.android.gm".
|
1373
1323
|
# Corresponds to the JSON property `productId`
|
1374
1324
|
# @return [String]
|
1375
1325
|
attr_accessor :product_id
|
@@ -1425,15 +1375,15 @@ module Google
|
|
1425
1375
|
end
|
1426
1376
|
end
|
1427
1377
|
|
1428
|
-
# A managed configurations settings resource contains the set of
|
1429
|
-
#
|
1430
|
-
#
|
1431
|
-
#
|
1378
|
+
# A managed configurations settings resource contains the set of managed
|
1379
|
+
# properties that have been configured for an Android app to be applied to a set
|
1380
|
+
# of users. The app's developer would have defined configurable properties in
|
1381
|
+
# the managed configurations schema.
|
1432
1382
|
class ManagedConfigurationsSettings
|
1433
1383
|
include Google::Apis::Core::Hashable
|
1434
1384
|
|
1435
|
-
# The last updated time of the managed configuration settings in
|
1436
|
-
#
|
1385
|
+
# The last updated time of the managed configuration settings in milliseconds
|
1386
|
+
# since 1970-01-01T00:00:00Z.
|
1437
1387
|
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
1438
1388
|
# @return [Fixnum]
|
1439
1389
|
attr_accessor :last_updated_timestamp_millis
|
@@ -1464,8 +1414,8 @@ module Google
|
|
1464
1414
|
class ManagedConfigurationsSettingsListResponse
|
1465
1415
|
include Google::Apis::Core::Hashable
|
1466
1416
|
|
1467
|
-
# A managed configurations settings for an app that may be assigned to a
|
1468
|
-
#
|
1417
|
+
# A managed configurations settings for an app that may be assigned to a group
|
1418
|
+
# of users in an enterprise.
|
1469
1419
|
# Corresponds to the JSON property `managedConfigurationsSettings`
|
1470
1420
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings>]
|
1471
1421
|
attr_accessor :managed_configurations_settings
|
@@ -1492,8 +1442,7 @@ module Google
|
|
1492
1442
|
# @return [String]
|
1493
1443
|
attr_accessor :key
|
1494
1444
|
|
1495
|
-
# The boolean value - this will only be present if type of the property is
|
1496
|
-
# bool.
|
1445
|
+
# The boolean value - this will only be present if type of the property is bool.
|
1497
1446
|
# Corresponds to the JSON property `valueBool`
|
1498
1447
|
# @return [Boolean]
|
1499
1448
|
attr_accessor :value_bool
|
@@ -1504,8 +1453,8 @@ module Google
|
|
1504
1453
|
# @return [Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle]
|
1505
1454
|
attr_accessor :value_bundle
|
1506
1455
|
|
1507
|
-
# The list of bundles of properties - this will only be present if type of
|
1508
|
-
#
|
1456
|
+
# The list of bundles of properties - this will only be present if type of the
|
1457
|
+
# property is bundle_array.
|
1509
1458
|
# Corresponds to the JSON property `valueBundleArray`
|
1510
1459
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle>]
|
1511
1460
|
attr_accessor :value_bundle_array
|
@@ -1516,14 +1465,14 @@ module Google
|
|
1516
1465
|
# @return [Fixnum]
|
1517
1466
|
attr_accessor :value_integer
|
1518
1467
|
|
1519
|
-
# The string value - this will only be present if type of the property is
|
1520
|
-
#
|
1468
|
+
# The string value - this will only be present if type of the property is string,
|
1469
|
+
# choice or hidden.
|
1521
1470
|
# Corresponds to the JSON property `valueString`
|
1522
1471
|
# @return [String]
|
1523
1472
|
attr_accessor :value_string
|
1524
1473
|
|
1525
|
-
# The list of string values - this will only be present if type of the
|
1526
|
-
#
|
1474
|
+
# The list of string values - this will only be present if type of the property
|
1475
|
+
# is multiselect.
|
1527
1476
|
# Corresponds to the JSON property `valueStringArray`
|
1528
1477
|
# @return [Array<String>]
|
1529
1478
|
attr_accessor :value_string_array
|
@@ -1567,8 +1516,7 @@ module Google
|
|
1567
1516
|
class NewDeviceEvent
|
1568
1517
|
include Google::Apis::Core::Hashable
|
1569
1518
|
|
1570
|
-
# The Android ID of the device.
|
1571
|
-
# This field will always be present.
|
1519
|
+
# The Android ID of the device. This field will always be present.
|
1572
1520
|
# Corresponds to the JSON property `deviceId`
|
1573
1521
|
# @return [String]
|
1574
1522
|
attr_accessor :device_id
|
@@ -1578,19 +1526,15 @@ module Google
|
|
1578
1526
|
# @return [String]
|
1579
1527
|
attr_accessor :dpc_package_name
|
1580
1528
|
|
1581
|
-
# Identifies the extent to which the device is controlled by an Android
|
1582
|
-
#
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
# device owner,</li>
|
1586
|
-
# <li>"<code>managedProfile</code>", a device where the DPC is set as profile
|
1587
|
-
# owner.</li></ul>
|
1529
|
+
# Identifies the extent to which the device is controlled by an Android EMM in
|
1530
|
+
# various deployment configurations. Possible values include: - "managedDevice",
|
1531
|
+
# a device where the DPC is set as device owner, - "managedProfile", a device
|
1532
|
+
# where the DPC is set as profile owner.
|
1588
1533
|
# Corresponds to the JSON property `managementType`
|
1589
1534
|
# @return [String]
|
1590
1535
|
attr_accessor :management_type
|
1591
1536
|
|
1592
|
-
# The ID of the user.
|
1593
|
-
# This field will always be present.
|
1537
|
+
# The ID of the user. This field will always be present.
|
1594
1538
|
# Corresponds to the JSON property `userId`
|
1595
1539
|
# @return [String]
|
1596
1540
|
attr_accessor :user_id
|
@@ -1612,10 +1556,9 @@ module Google
|
|
1612
1556
|
class NewPermissionsEvent
|
1613
1557
|
include Google::Apis::Core::Hashable
|
1614
1558
|
|
1615
|
-
# The set of permissions that the enterprise admin has already approved for
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
# permissions.
|
1559
|
+
# The set of permissions that the enterprise admin has already approved for this
|
1560
|
+
# application. Use Permissions.Get on the EMM API to retrieve details about
|
1561
|
+
# these permissions.
|
1619
1562
|
# Corresponds to the JSON property `approvedPermissions`
|
1620
1563
|
# @return [Array<String>]
|
1621
1564
|
attr_accessor :approved_permissions
|
@@ -1626,9 +1569,8 @@ module Google
|
|
1626
1569
|
# @return [String]
|
1627
1570
|
attr_accessor :product_id
|
1628
1571
|
|
1629
|
-
# The set of permissions that the app is currently requesting.
|
1630
|
-
#
|
1631
|
-
# permissions.
|
1572
|
+
# The set of permissions that the app is currently requesting. Use Permissions.
|
1573
|
+
# Get on the EMM API to retrieve details about these permissions.
|
1632
1574
|
# Corresponds to the JSON property `requestedPermissions`
|
1633
1575
|
# @return [Array<String>]
|
1634
1576
|
attr_accessor :requested_permissions
|
@@ -1650,9 +1592,8 @@ module Google
|
|
1650
1592
|
include Google::Apis::Core::Hashable
|
1651
1593
|
|
1652
1594
|
# An event generated when a new app version is uploaded to Google Play and its
|
1653
|
-
# app restrictions schema changed.
|
1654
|
-
#
|
1655
|
-
# Products.getAppRestrictionsSchema on the EMM API.
|
1595
|
+
# app restrictions schema changed. To fetch the app restrictions schema for an
|
1596
|
+
# app, use Products.getAppRestrictionsSchema on the EMM API.
|
1656
1597
|
# Corresponds to the JSON property `appRestrictionsSchemaChangeEvent`
|
1657
1598
|
# @return [Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaChangeEvent]
|
1658
1599
|
attr_accessor :app_restrictions_schema_change_event
|
@@ -1670,8 +1611,8 @@ module Google
|
|
1670
1611
|
# @return [Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent]
|
1671
1612
|
attr_accessor :device_report_update_event
|
1672
1613
|
|
1673
|
-
# The ID of the enterprise for which the notification is sent.
|
1674
|
-
#
|
1614
|
+
# The ID of the enterprise for which the notification is sent. This will always
|
1615
|
+
# be present.
|
1675
1616
|
# Corresponds to the JSON property `enterpriseId`
|
1676
1617
|
# @return [String]
|
1677
1618
|
attr_accessor :enterprise_id
|
@@ -1706,9 +1647,8 @@ module Google
|
|
1706
1647
|
# @return [Google::Apis::AndroidenterpriseV1::ProductAvailabilityChangeEvent]
|
1707
1648
|
attr_accessor :product_availability_change_event
|
1708
1649
|
|
1709
|
-
# The time when the notification was published in
|
1710
|
-
#
|
1711
|
-
# This will always be present.
|
1650
|
+
# The time when the notification was published in milliseconds since 1970-01-
|
1651
|
+
# 01T00:00:00Z. This will always be present.
|
1712
1652
|
# Corresponds to the JSON property `timestampMillis`
|
1713
1653
|
# @return [Fixnum]
|
1714
1654
|
attr_accessor :timestamp_millis
|
@@ -1733,8 +1673,8 @@ module Google
|
|
1733
1673
|
end
|
1734
1674
|
end
|
1735
1675
|
|
1736
|
-
# A resource returned by the PullNotificationSet API, which contains
|
1737
|
-
#
|
1676
|
+
# A resource returned by the PullNotificationSet API, which contains a
|
1677
|
+
# collection of notifications for enterprises associated with the service
|
1738
1678
|
# account authenticated for the request.
|
1739
1679
|
class NotificationSet
|
1740
1680
|
include Google::Apis::Core::Hashable
|
@@ -1744,9 +1684,9 @@ module Google
|
|
1744
1684
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Notification>]
|
1745
1685
|
attr_accessor :notification
|
1746
1686
|
|
1747
|
-
# The notification set ID, required to mark the notification as
|
1748
|
-
#
|
1749
|
-
#
|
1687
|
+
# The notification set ID, required to mark the notification as received with
|
1688
|
+
# the Enterprises.AcknowledgeNotification API. This will be omitted if no
|
1689
|
+
# notifications are present.
|
1750
1690
|
# Corresponds to the JSON property `notificationSetId`
|
1751
1691
|
# @return [String]
|
1752
1692
|
attr_accessor :notification_set_id
|
@@ -1762,14 +1702,14 @@ module Google
|
|
1762
1702
|
end
|
1763
1703
|
end
|
1764
1704
|
|
1765
|
-
# Information about the current page.
|
1766
|
-
#
|
1767
|
-
#
|
1705
|
+
# Information about the current page. List operations that supports paging
|
1706
|
+
# return only one "page" of results. This protocol buffer message describes the
|
1707
|
+
# page that has been returned.
|
1768
1708
|
class PageInfo
|
1769
1709
|
include Google::Apis::Core::Hashable
|
1770
1710
|
|
1771
|
-
# Maximum number of results returned in one page.
|
1772
|
-
#
|
1711
|
+
# Maximum number of results returned in one page. ! The number of results
|
1712
|
+
# included in the API response.
|
1773
1713
|
# Corresponds to the JSON property `resultPerPage`
|
1774
1714
|
# @return [Fixnum]
|
1775
1715
|
attr_accessor :result_per_page
|
@@ -1779,8 +1719,8 @@ module Google
|
|
1779
1719
|
# @return [Fixnum]
|
1780
1720
|
attr_accessor :start_index
|
1781
1721
|
|
1782
|
-
# Total number of results available on the backend
|
1783
|
-
#
|
1722
|
+
# Total number of results available on the backend ! The total number of results
|
1723
|
+
# in the result set.
|
1784
1724
|
# Corresponds to the JSON property `totalResults`
|
1785
1725
|
# @return [Fixnum]
|
1786
1726
|
attr_accessor :total_results
|
@@ -1798,18 +1738,16 @@ module Google
|
|
1798
1738
|
end
|
1799
1739
|
|
1800
1740
|
# A Permissions resource represents some extra capability, to be granted to an
|
1801
|
-
# Android app, which requires explicit consent. An enterprise admin must
|
1802
|
-
#
|
1803
|
-
#
|
1804
|
-
#
|
1805
|
-
#
|
1806
|
-
# used in the MDM user interface when obtaining consent from the
|
1807
|
-
# enterprise.
|
1741
|
+
# Android app, which requires explicit consent. An enterprise admin must consent
|
1742
|
+
# to these permissions on behalf of their users before an entitlement for the
|
1743
|
+
# app can be created. The permissions collection is read-only. The information
|
1744
|
+
# provided for each permission (localized name and description) is intended to
|
1745
|
+
# be used in the MDM user interface when obtaining consent from the enterprise.
|
1808
1746
|
class Permission
|
1809
1747
|
include Google::Apis::Core::Hashable
|
1810
1748
|
|
1811
|
-
# A longer description of the Permissions resource, giving more details of
|
1812
|
-
#
|
1749
|
+
# A longer description of the Permissions resource, giving more details of what
|
1750
|
+
# it affects.
|
1813
1751
|
# Corresponds to the JSON property `description`
|
1814
1752
|
# @return [String]
|
1815
1753
|
attr_accessor :description
|
@@ -1841,41 +1779,38 @@ module Google
|
|
1841
1779
|
include Google::Apis::Core::Hashable
|
1842
1780
|
|
1843
1781
|
# The auto-update policy for apps installed on the device. "choiceToTheUser"
|
1844
|
-
# allows the device's user to configure the app update policy. "always"
|
1845
|
-
#
|
1846
|
-
#
|
1782
|
+
# allows the device's user to configure the app update policy. "always" enables
|
1783
|
+
# auto updates. "never" disables auto updates. "wifiOnly" enables auto updates
|
1784
|
+
# only when the device is connected to wifi.
|
1847
1785
|
# Corresponds to the JSON property `autoUpdatePolicy`
|
1848
1786
|
# @return [String]
|
1849
1787
|
attr_accessor :auto_update_policy
|
1850
1788
|
|
1851
|
-
# Whether the device reports app states to the EMM. The default value is
|
1852
|
-
#
|
1789
|
+
# Whether the device reports app states to the EMM. The default value is "
|
1790
|
+
# deviceReportDisabled".
|
1853
1791
|
# Corresponds to the JSON property `deviceReportPolicy`
|
1854
1792
|
# @return [String]
|
1855
1793
|
attr_accessor :device_report_policy
|
1856
1794
|
|
1857
|
-
# Maintenance window for managed Google Play Accounts.
|
1858
|
-
#
|
1859
|
-
# window.
|
1795
|
+
# Maintenance window for managed Google Play Accounts. This allows Play store to
|
1796
|
+
# update the apps on the foreground in the designated window.
|
1860
1797
|
# Corresponds to the JSON property `maintenanceWindow`
|
1861
1798
|
# @return [Google::Apis::AndroidenterpriseV1::MaintenanceWindow]
|
1862
1799
|
attr_accessor :maintenance_window
|
1863
1800
|
|
1864
|
-
# The availability granted to the device for the specified products. "all"
|
1865
|
-
#
|
1866
|
-
#
|
1867
|
-
#
|
1868
|
-
#
|
1869
|
-
#
|
1870
|
-
#
|
1871
|
-
# level is applied by default.
|
1801
|
+
# The availability granted to the device for the specified products. "all" gives
|
1802
|
+
# the device access to all products, regardless of approval status. "all" does
|
1803
|
+
# not enable automatic visibility of "alpha" or "beta" tracks. "whitelist"
|
1804
|
+
# grants the device access the products specified in productPolicy[]. Only
|
1805
|
+
# products that are approved or products that were previously approved (products
|
1806
|
+
# with revoked approval) by the enterprise can be whitelisted. If no value is
|
1807
|
+
# provided, the availability set at the user level is applied by default.
|
1872
1808
|
# Corresponds to the JSON property `productAvailabilityPolicy`
|
1873
1809
|
# @return [String]
|
1874
1810
|
attr_accessor :product_availability_policy
|
1875
1811
|
|
1876
|
-
# The list of product policies. The
|
1877
|
-
#
|
1878
|
-
# product policies to be applied.
|
1812
|
+
# The list of product policies. The productAvailabilityPolicy needs to be set to
|
1813
|
+
# WHITELIST or ALL for the product policies to be applied.
|
1879
1814
|
# Corresponds to the JSON property `productPolicy`
|
1880
1815
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPolicy>]
|
1881
1816
|
attr_accessor :product_policy
|
@@ -1897,10 +1832,9 @@ module Google
|
|
1897
1832
|
# A Products resource represents an app in the Google Play store that is
|
1898
1833
|
# available to at least some users in the enterprise. (Some apps are restricted
|
1899
1834
|
# to a single enterprise, and no information about them is made available
|
1900
|
-
# outside that enterprise.)
|
1901
|
-
#
|
1902
|
-
#
|
1903
|
-
# representation of the product within an EMM user interface.
|
1835
|
+
# outside that enterprise.) The information provided for each product (localized
|
1836
|
+
# name, icon, link to the full Google Play details page) is intended to allow a
|
1837
|
+
# basic representation of the product within an EMM user interface.
|
1904
1838
|
class Product
|
1905
1839
|
include Google::Apis::Core::Hashable
|
1906
1840
|
|
@@ -1924,7 +1858,7 @@ module Google
|
|
1924
1858
|
# @return [Array<String>]
|
1925
1859
|
attr_accessor :available_countries
|
1926
1860
|
|
1927
|
-
# Deprecated, use
|
1861
|
+
# Deprecated, use appTracks instead.
|
1928
1862
|
# Corresponds to the JSON property `availableTracks`
|
1929
1863
|
# @return [Array<String>]
|
1930
1864
|
attr_accessor :available_tracks
|
@@ -1949,13 +1883,12 @@ module Google
|
|
1949
1883
|
# @return [String]
|
1950
1884
|
attr_accessor :details_url
|
1951
1885
|
|
1952
|
-
# How and to whom the package is made available.
|
1953
|
-
#
|
1954
|
-
#
|
1955
|
-
# enterprise
|
1956
|
-
# package is a private app (restricted to an
|
1957
|
-
#
|
1958
|
-
# a private app (restricted to an enterprise) and is privately hosted.
|
1886
|
+
# How and to whom the package is made available. The value publicGoogleHosted
|
1887
|
+
# means that the package is available through the Play store and not restricted
|
1888
|
+
# to a specific enterprise. The value privateGoogleHosted means that the package
|
1889
|
+
# is a private app (restricted to an enterprise) but hosted by Google. The value
|
1890
|
+
# privateSelfHosted means that the package is a private app (restricted to an
|
1891
|
+
# enterprise) and is privately hosted.
|
1959
1892
|
# Corresponds to the JSON property `distributionChannel`
|
1960
1893
|
# @return [String]
|
1961
1894
|
attr_accessor :distribution_channel
|
@@ -1965,14 +1898,14 @@ module Google
|
|
1965
1898
|
# @return [Array<String>]
|
1966
1899
|
attr_accessor :features
|
1967
1900
|
|
1968
|
-
# A link to an image that can be used as an icon for the product.
|
1969
|
-
#
|
1901
|
+
# A link to an image that can be used as an icon for the product. This image is
|
1902
|
+
# suitable for use at up to 512px x 512px.
|
1970
1903
|
# Corresponds to the JSON property `iconUrl`
|
1971
1904
|
# @return [String]
|
1972
1905
|
attr_accessor :icon_url
|
1973
1906
|
|
1974
|
-
# The approximate time (within 7 days) the app was last published, expressed
|
1975
|
-
#
|
1907
|
+
# The approximate time (within 7 days) the app was last published, expressed in
|
1908
|
+
# milliseconds since epoch.
|
1976
1909
|
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
1977
1910
|
# @return [Fixnum]
|
1978
1911
|
attr_accessor :last_updated_timestamp_millis
|
@@ -1987,16 +1920,15 @@ module Google
|
|
1987
1920
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]
|
1988
1921
|
attr_accessor :permissions
|
1989
1922
|
|
1990
|
-
# A string of the form
|
1991
|
-
#
|
1923
|
+
# A string of the form *app:<package name>*. For example, app:com.google.android.
|
1924
|
+
# gm represents the Gmail app.
|
1992
1925
|
# Corresponds to the JSON property `productId`
|
1993
1926
|
# @return [String]
|
1994
1927
|
attr_accessor :product_id
|
1995
1928
|
|
1996
|
-
# Whether this product is free, free with in-app purchases, or paid.
|
1997
|
-
#
|
1998
|
-
#
|
1999
|
-
# people who own it).
|
1929
|
+
# Whether this product is free, free with in-app purchases, or paid. If the
|
1930
|
+
# pricing is unknown, this means the product is not generally available anymore (
|
1931
|
+
# even though it might still be available to people who own it).
|
2000
1932
|
# Corresponds to the JSON property `productPricing`
|
2001
1933
|
# @return [String]
|
2002
1934
|
attr_accessor :product_pricing
|
@@ -2022,8 +1954,8 @@ module Google
|
|
2022
1954
|
# @return [Google::Apis::AndroidenterpriseV1::ProductSigningCertificate]
|
2023
1955
|
attr_accessor :signing_certificate
|
2024
1956
|
|
2025
|
-
# A link to a smaller image that can be used as an icon for the product.
|
2026
|
-
#
|
1957
|
+
# A link to a smaller image that can be used as an icon for the product. This
|
1958
|
+
# image is suitable for use at up to 128px x 128px.
|
2027
1959
|
# Corresponds to the JSON property `smallIconUrl`
|
2028
1960
|
# @return [String]
|
2029
1961
|
attr_accessor :small_icon_url
|
@@ -2033,8 +1965,8 @@ module Google
|
|
2033
1965
|
# @return [String]
|
2034
1966
|
attr_accessor :title
|
2035
1967
|
|
2036
|
-
# A link to the managed Google Play details page for the product,
|
2037
|
-
#
|
1968
|
+
# A link to the managed Google Play details page for the product, for use by an
|
1969
|
+
# Enterprise admin.
|
2038
1970
|
# Corresponds to the JSON property `workDetailsUrl`
|
2039
1971
|
# @return [String]
|
2040
1972
|
attr_accessor :work_details_url
|
@@ -2076,8 +2008,8 @@ module Google
|
|
2076
2008
|
class ProductApprovalEvent
|
2077
2009
|
include Google::Apis::Core::Hashable
|
2078
2010
|
|
2079
|
-
# Whether the product was approved or unapproved.
|
2080
|
-
#
|
2011
|
+
# Whether the product was approved or unapproved. This field will always be
|
2012
|
+
# present.
|
2081
2013
|
# Corresponds to the JSON property `approved`
|
2082
2014
|
# @return [String]
|
2083
2015
|
attr_accessor :approved
|
@@ -2103,14 +2035,13 @@ module Google
|
|
2103
2035
|
class ProductAvailabilityChangeEvent
|
2104
2036
|
include Google::Apis::Core::Hashable
|
2105
2037
|
|
2106
|
-
# The new state of the product.
|
2107
|
-
# This field will always be present.
|
2038
|
+
# The new state of the product. This field will always be present.
|
2108
2039
|
# Corresponds to the JSON property `availabilityStatus`
|
2109
2040
|
# @return [String]
|
2110
2041
|
attr_accessor :availability_status
|
2111
2042
|
|
2112
|
-
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
2113
|
-
#
|
2043
|
+
# The id of the product (e.g. "app:com.google.android.gm") for which the product
|
2044
|
+
# availability changed. This field will always be present.
|
2114
2045
|
# Corresponds to the JSON property `productId`
|
2115
2046
|
# @return [String]
|
2116
2047
|
attr_accessor :product_id
|
@@ -2126,11 +2057,10 @@ module Google
|
|
2126
2057
|
end
|
2127
2058
|
end
|
2128
2059
|
|
2129
|
-
# A product permissions resource represents the set of permissions
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
#
|
2133
|
-
# the set to indicate that permissions have been accepted.
|
2060
|
+
# A product permissions resource represents the set of permissions required by a
|
2061
|
+
# specific app and whether or not they have been accepted by an enterprise admin.
|
2062
|
+
# The API can be used to read the set of permissions, and also to update the
|
2063
|
+
# set to indicate that permissions have been accepted.
|
2134
2064
|
class ProductPermission
|
2135
2065
|
include Google::Apis::Core::Hashable
|
2136
2066
|
|
@@ -2155,8 +2085,8 @@ module Google
|
|
2155
2085
|
end
|
2156
2086
|
end
|
2157
2087
|
|
2158
|
-
# Information about the permissions required by a specific app and
|
2159
|
-
#
|
2088
|
+
# Information about the permissions required by a specific app and whether they
|
2089
|
+
# have been accepted by the enterprise.
|
2160
2090
|
class ProductPermissions
|
2161
2091
|
include Google::Apis::Core::Hashable
|
2162
2092
|
|
@@ -2165,8 +2095,8 @@ module Google
|
|
2165
2095
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]
|
2166
2096
|
attr_accessor :permission
|
2167
2097
|
|
2168
|
-
# The ID of the app that the permissions relate to, e.g.
|
2169
|
-
#
|
2098
|
+
# The ID of the app that the permissions relate to, e.g. "app:com.google.android.
|
2099
|
+
# gm".
|
2170
2100
|
# Corresponds to the JSON property `productId`
|
2171
2101
|
# @return [String]
|
2172
2102
|
attr_accessor :product_id
|
@@ -2192,26 +2122,25 @@ module Google
|
|
2192
2122
|
attr_accessor :auto_install_policy
|
2193
2123
|
|
2194
2124
|
# A managed configuration resource contains the set of managed properties
|
2195
|
-
# defined by the app developer in the app's managed configurations schema,
|
2196
|
-
#
|
2125
|
+
# defined by the app developer in the app's managed configurations schema, as
|
2126
|
+
# well as any configuration variables defined for the user.
|
2197
2127
|
# Corresponds to the JSON property `managedConfiguration`
|
2198
2128
|
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
2199
2129
|
attr_accessor :managed_configuration
|
2200
2130
|
|
2201
|
-
# The ID of the product. For example,
|
2202
|
-
# <code>"app:com.google.android.gm"</code>.
|
2131
|
+
# The ID of the product. For example, "app:com.google.android.gm".
|
2203
2132
|
# Corresponds to the JSON property `productId`
|
2204
2133
|
# @return [String]
|
2205
2134
|
attr_accessor :product_id
|
2206
2135
|
|
2207
2136
|
# Grants the device visibility to the specified product release track(s),
|
2208
|
-
# identified by
|
2209
|
-
#
|
2137
|
+
# identified by trackIds. The list of release tracks of a product can be
|
2138
|
+
# obtained by calling Products.Get.
|
2210
2139
|
# Corresponds to the JSON property `trackIds`
|
2211
2140
|
# @return [Array<String>]
|
2212
2141
|
attr_accessor :track_ids
|
2213
2142
|
|
2214
|
-
# Deprecated. Use
|
2143
|
+
# Deprecated. Use trackIds instead.
|
2215
2144
|
# Corresponds to the JSON property `tracks`
|
2216
2145
|
# @return [Array<String>]
|
2217
2146
|
attr_accessor :tracks
|
@@ -2239,28 +2168,26 @@ module Google
|
|
2239
2168
|
# @return [Array<String>]
|
2240
2169
|
attr_accessor :product_id
|
2241
2170
|
|
2242
|
-
# The interpretation of this product set. "unknown" should never be sent and
|
2243
|
-
#
|
2244
|
-
#
|
2245
|
-
#
|
2246
|
-
#
|
2247
|
-
#
|
2248
|
-
#
|
2249
|
-
#
|
2250
|
-
# "
|
2251
|
-
#
|
2252
|
-
#
|
2253
|
-
# ProductVisibility to enable "alpha" or "beta" tracks per user.
|
2171
|
+
# The interpretation of this product set. "unknown" should never be sent and is
|
2172
|
+
# ignored if received. "whitelist" means that the user is entitled to access the
|
2173
|
+
# product set. "includeAll" means that all products are accessible, including
|
2174
|
+
# products that are approved, products with revoked approval, and products that
|
2175
|
+
# have never been approved. "allApproved" means that the user is entitled to
|
2176
|
+
# access all products that are approved for the enterprise. If the value is "
|
2177
|
+
# allApproved" or "includeAll", the productId field is ignored. If no value is
|
2178
|
+
# provided, it is interpreted as "whitelist" for backwards compatibility.
|
2179
|
+
# Further "allApproved" or "includeAll" does not enable automatic visibility of "
|
2180
|
+
# alpha" or "beta" tracks for Android app. Use ProductVisibility to enable "
|
2181
|
+
# alpha" or "beta" tracks per user.
|
2254
2182
|
# Corresponds to the JSON property `productSetBehavior`
|
2255
2183
|
# @return [String]
|
2256
2184
|
attr_accessor :product_set_behavior
|
2257
2185
|
|
2258
|
-
# Additional list of product IDs making up the product set.
|
2259
|
-
#
|
2260
|
-
#
|
2261
|
-
#
|
2262
|
-
#
|
2263
|
-
# it will result in an error.
|
2186
|
+
# Additional list of product IDs making up the product set. Unlike the productID
|
2187
|
+
# array, in this list It's possible to specify which tracks (alpha, beta,
|
2188
|
+
# production) of a product are visible to the user. See ProductVisibility and
|
2189
|
+
# its fields for more information. Specifying the same product ID both here and
|
2190
|
+
# in the productId array is not allowed and it will result in an error.
|
2264
2191
|
# Corresponds to the JSON property `productVisibility`
|
2265
2192
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductVisibility>]
|
2266
2193
|
attr_accessor :product_visibility
|
@@ -2282,8 +2209,8 @@ module Google
|
|
2282
2209
|
include Google::Apis::Core::Hashable
|
2283
2210
|
|
2284
2211
|
# The base64 urlsafe encoded SHA1 hash of the certificate. (This field is
|
2285
|
-
# deprecated in favor of SHA2-256. It should not be used and may be
|
2286
|
-
#
|
2212
|
+
# deprecated in favor of SHA2-256. It should not be used and may be removed at
|
2213
|
+
# any time.)
|
2287
2214
|
# Corresponds to the JSON property `certificateHashSha1`
|
2288
2215
|
# @return [String]
|
2289
2216
|
attr_accessor :certificate_hash_sha1
|
@@ -2308,19 +2235,19 @@ module Google
|
|
2308
2235
|
class ProductVisibility
|
2309
2236
|
include Google::Apis::Core::Hashable
|
2310
2237
|
|
2311
|
-
# The product ID to make visible to the user.
|
2312
|
-
#
|
2238
|
+
# The product ID to make visible to the user. Required for each item in the
|
2239
|
+
# productVisibility list.
|
2313
2240
|
# Corresponds to the JSON property `productId`
|
2314
2241
|
# @return [String]
|
2315
2242
|
attr_accessor :product_id
|
2316
2243
|
|
2317
2244
|
# Grants the user visibility to the specified product track(s), identified by
|
2318
|
-
#
|
2245
|
+
# trackIds.
|
2319
2246
|
# Corresponds to the JSON property `trackIds`
|
2320
2247
|
# @return [Array<String>]
|
2321
2248
|
attr_accessor :track_ids
|
2322
2249
|
|
2323
|
-
# Deprecated. Use
|
2250
|
+
# Deprecated. Use trackIds instead.
|
2324
2251
|
# Corresponds to the JSON property `tracks`
|
2325
2252
|
# @return [Array<String>]
|
2326
2253
|
attr_accessor :tracks
|
@@ -2346,12 +2273,12 @@ module Google
|
|
2346
2273
|
# @return [Google::Apis::AndroidenterpriseV1::ApprovalUrlInfo]
|
2347
2274
|
attr_accessor :approval_url_info
|
2348
2275
|
|
2349
|
-
# Sets how new permission requests for the product are handled.
|
2350
|
-
#
|
2351
|
-
#
|
2352
|
-
#
|
2353
|
-
#
|
2354
|
-
#
|
2276
|
+
# Sets how new permission requests for the product are handled. "allPermissions"
|
2277
|
+
# automatically approves all current and future permissions for the product. "
|
2278
|
+
# currentPermissionsOnly" approves the current set of permissions for the
|
2279
|
+
# product, but any future permissions added through updates will require manual
|
2280
|
+
# reapproval. If not specified, only the current set of permissions will be
|
2281
|
+
# approved.
|
2355
2282
|
# Corresponds to the JSON property `approvedPermissions`
|
2356
2283
|
# @return [String]
|
2357
2284
|
attr_accessor :approved_permissions
|
@@ -2371,15 +2298,13 @@ module Google
|
|
2371
2298
|
class GenerateProductApprovalUrlResponse
|
2372
2299
|
include Google::Apis::Core::Hashable
|
2373
2300
|
|
2374
|
-
# A URL that can be rendered in an iframe to display the permissions (if
|
2375
|
-
#
|
2376
|
-
#
|
2377
|
-
#
|
2378
|
-
# If the product is currently
|
2379
|
-
#
|
2380
|
-
#
|
2381
|
-
# that product has added permissions since it was last approved, and the
|
2382
|
-
# URL will only display those new permissions that have not yet been
|
2301
|
+
# A URL that can be rendered in an iframe to display the permissions (if any) of
|
2302
|
+
# a product. This URL can be used to approve the product only once and only
|
2303
|
+
# within 24 hours of being generated, using the Products.approve call. If the
|
2304
|
+
# product is currently unapproved and has no permissions, this URL will point to
|
2305
|
+
# an empty page. If the product is currently approved, a URL will only be
|
2306
|
+
# generated if that product has added permissions since it was last approved,
|
2307
|
+
# and the URL will only display those new permissions that have not yet been
|
2383
2308
|
# accepted.
|
2384
2309
|
# Corresponds to the JSON property `url`
|
2385
2310
|
# @return [String]
|
@@ -2399,9 +2324,9 @@ module Google
|
|
2399
2324
|
class ProductsListResponse
|
2400
2325
|
include Google::Apis::Core::Hashable
|
2401
2326
|
|
2402
|
-
# Information about the current page.
|
2403
|
-
#
|
2404
|
-
#
|
2327
|
+
# Information about the current page. List operations that supports paging
|
2328
|
+
# return only one "page" of results. This protocol buffer message describes the
|
2329
|
+
# page that has been returned.
|
2405
2330
|
# Corresponds to the JSON property `pageInfo`
|
2406
2331
|
# @return [Google::Apis::AndroidenterpriseV1::PageInfo]
|
2407
2332
|
attr_accessor :page_info
|
@@ -2412,15 +2337,14 @@ module Google
|
|
2412
2337
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Product>]
|
2413
2338
|
attr_accessor :product
|
2414
2339
|
|
2415
|
-
# Pagination information returned by a List operation when token pagination
|
2416
|
-
#
|
2417
|
-
#
|
2418
|
-
#
|
2419
|
-
#
|
2420
|
-
#
|
2421
|
-
#
|
2422
|
-
#
|
2423
|
-
# next_page_token or previous_page_token to access another page.
|
2340
|
+
# Pagination information returned by a List operation when token pagination is
|
2341
|
+
# enabled. List operations that supports paging return only one "page" of
|
2342
|
+
# results. This protocol buffer message describes the page that has been
|
2343
|
+
# returned. When using token pagination, clients should use the next/previous
|
2344
|
+
# token to get another page of the result. The presence or absence of next/
|
2345
|
+
# previous token indicates whether a next/previous page is available and
|
2346
|
+
# provides a mean of accessing this page. ListRequest.page_token should be set
|
2347
|
+
# to either next_page_token or previous_page_token to access another page.
|
2424
2348
|
# Corresponds to the JSON property `tokenPagination`
|
2425
2349
|
# @return [Google::Apis::AndroidenterpriseV1::TokenPagination]
|
2426
2350
|
attr_accessor :token_pagination
|
@@ -2468,23 +2392,21 @@ module Google
|
|
2468
2392
|
class ServiceAccountKey
|
2469
2393
|
include Google::Apis::Core::Hashable
|
2470
2394
|
|
2471
|
-
# The body of the private key credentials file, in string format. This
|
2472
|
-
#
|
2473
|
-
# by Google.
|
2395
|
+
# The body of the private key credentials file, in string format. This is only
|
2396
|
+
# populated when the ServiceAccountKey is created, and is not stored by Google.
|
2474
2397
|
# Corresponds to the JSON property `data`
|
2475
2398
|
# @return [String]
|
2476
2399
|
attr_accessor :data
|
2477
2400
|
|
2478
|
-
# An opaque, unique identifier for this ServiceAccountKey.
|
2479
|
-
#
|
2401
|
+
# An opaque, unique identifier for this ServiceAccountKey. Assigned by the
|
2402
|
+
# server.
|
2480
2403
|
# Corresponds to the JSON property `id`
|
2481
2404
|
# @return [String]
|
2482
2405
|
attr_accessor :id
|
2483
2406
|
|
2484
2407
|
# Public key data for the credentials file. This is an X.509 cert. If you are
|
2485
|
-
# using the
|
2486
|
-
#
|
2487
|
-
# credentials file.
|
2408
|
+
# using the googleCredentials key type, this is identical to the cert that can
|
2409
|
+
# be retrieved by using the X.509 cert url inside of the credentials file.
|
2488
2410
|
# Corresponds to the JSON property `publicData`
|
2489
2411
|
# @return [String]
|
2490
2412
|
attr_accessor :public_data
|
@@ -2526,13 +2448,13 @@ module Google
|
|
2526
2448
|
end
|
2527
2449
|
end
|
2528
2450
|
|
2529
|
-
# A resource returned by the GenerateSignupUrl API, which contains the
|
2530
|
-
#
|
2451
|
+
# A resource returned by the GenerateSignupUrl API, which contains the Signup
|
2452
|
+
# URL and Completion Token.
|
2531
2453
|
class SignupInfo
|
2532
2454
|
include Google::Apis::Core::Hashable
|
2533
2455
|
|
2534
|
-
# An opaque token that will be required, along with the Enterprise Token,
|
2535
|
-
#
|
2456
|
+
# An opaque token that will be required, along with the Enterprise Token, for
|
2457
|
+
# obtaining the enterprise resource from CompleteSignup.
|
2536
2458
|
# Corresponds to the JSON property `completionToken`
|
2537
2459
|
# @return [String]
|
2538
2460
|
attr_accessor :completion_token
|
@@ -2542,8 +2464,8 @@ module Google
|
|
2542
2464
|
# @return [String]
|
2543
2465
|
attr_accessor :kind
|
2544
2466
|
|
2545
|
-
# A URL under which the Admin can sign up for an enterprise.
|
2546
|
-
#
|
2467
|
+
# A URL under which the Admin can sign up for an enterprise. The page pointed to
|
2468
|
+
# cannot be rendered in an iframe.
|
2547
2469
|
# Corresponds to the JSON property `url`
|
2548
2470
|
# @return [String]
|
2549
2471
|
attr_accessor :url
|
@@ -2570,28 +2492,25 @@ module Google
|
|
2570
2492
|
# @return [String]
|
2571
2493
|
attr_accessor :id
|
2572
2494
|
|
2573
|
-
# Ordered list of localized strings giving the name of this page.
|
2574
|
-
#
|
2575
|
-
#
|
2576
|
-
# at least one entry.
|
2495
|
+
# Ordered list of localized strings giving the name of this page. The text
|
2496
|
+
# displayed is the one that best matches the user locale, or the first entry if
|
2497
|
+
# there is no good match. There needs to be at least one entry.
|
2577
2498
|
# Corresponds to the JSON property `name`
|
2578
2499
|
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
2579
2500
|
attr_accessor :name
|
2580
2501
|
|
2581
2502
|
# String (US-ASCII only) used to determine order of this cluster within the
|
2582
|
-
# parent page's elements. Page elements are sorted in lexicographic order
|
2583
|
-
#
|
2584
|
-
#
|
2585
|
-
#
|
2586
|
-
#
|
2587
|
-
# for the purpose of defining an ordering. Maximum length is 256
|
2588
|
-
# characters.
|
2503
|
+
# parent page's elements. Page elements are sorted in lexicographic order of
|
2504
|
+
# this field. Duplicated values are allowed, but ordering between elements with
|
2505
|
+
# duplicate order is undefined. The value of this field is never visible to a
|
2506
|
+
# user, it is used solely for the purpose of defining an ordering. Maximum
|
2507
|
+
# length is 256 characters.
|
2589
2508
|
# Corresponds to the JSON property `orderInPage`
|
2590
2509
|
# @return [String]
|
2591
2510
|
attr_accessor :order_in_page
|
2592
2511
|
|
2593
|
-
# List of products in the order they are displayed in the cluster. There
|
2594
|
-
#
|
2512
|
+
# List of products in the order they are displayed in the cluster. There should
|
2513
|
+
# not be duplicates within a cluster.
|
2595
2514
|
# Corresponds to the JSON property `productId`
|
2596
2515
|
# @return [Array<String>]
|
2597
2516
|
attr_accessor :product_id
|
@@ -2609,24 +2528,22 @@ module Google
|
|
2609
2528
|
end
|
2610
2529
|
end
|
2611
2530
|
|
2612
|
-
# General setting for the managed Google Play store layout,
|
2613
|
-
#
|
2614
|
-
# the store is opened.
|
2531
|
+
# General setting for the managed Google Play store layout, currently only
|
2532
|
+
# specifying the page to display the first time the store is opened.
|
2615
2533
|
class StoreLayout
|
2616
2534
|
include Google::Apis::Core::Hashable
|
2617
2535
|
|
2618
|
-
# The ID of the store page to be used as the homepage. The homepage is the
|
2619
|
-
#
|
2620
|
-
#
|
2621
|
-
# type to "basic".
|
2536
|
+
# The ID of the store page to be used as the homepage. The homepage is the first
|
2537
|
+
# page shown in the managed Google Play Store. Not specifying a homepage is
|
2538
|
+
# equivalent to setting the store layout type to "basic".
|
2622
2539
|
# Corresponds to the JSON property `homepageId`
|
2623
2540
|
# @return [String]
|
2624
2541
|
attr_accessor :homepage_id
|
2625
2542
|
|
2626
|
-
# The store layout type. By default, this value is set to "basic"
|
2627
|
-
#
|
2628
|
-
#
|
2629
|
-
#
|
2543
|
+
# The store layout type. By default, this value is set to "basic" if the
|
2544
|
+
# homepageId field is not set, and to "custom" otherwise. If set to "basic", the
|
2545
|
+
# layout will consist of all approved apps that have been whitelisted for the
|
2546
|
+
# user.
|
2630
2547
|
# Corresponds to the JSON property `storeLayoutType`
|
2631
2548
|
# @return [String]
|
2632
2549
|
attr_accessor :store_layout_type
|
@@ -2680,9 +2597,8 @@ module Google
|
|
2680
2597
|
end
|
2681
2598
|
end
|
2682
2599
|
|
2683
|
-
# Definition of a managed Google Play store page, made of a localized name
|
2684
|
-
#
|
2685
|
-
# as a subcollection.
|
2600
|
+
# Definition of a managed Google Play store page, made of a localized name and
|
2601
|
+
# links to other pages. A page also contains clusters defined as a subcollection.
|
2686
2602
|
class StorePage
|
2687
2603
|
include Google::Apis::Core::Hashable
|
2688
2604
|
|
@@ -2691,19 +2607,17 @@ module Google
|
|
2691
2607
|
# @return [String]
|
2692
2608
|
attr_accessor :id
|
2693
2609
|
|
2694
|
-
# Ordered list of pages a user should be able to reach from this page.
|
2695
|
-
#
|
2696
|
-
#
|
2697
|
-
#
|
2698
|
-
# The API doesn't verify that the pages exist or the pages are reachable.
|
2610
|
+
# Ordered list of pages a user should be able to reach from this page. The list
|
2611
|
+
# can't include this page. It is recommended that the basic pages are created
|
2612
|
+
# first, before adding the links between pages. The API doesn't verify that the
|
2613
|
+
# pages exist or the pages are reachable.
|
2699
2614
|
# Corresponds to the JSON property `link`
|
2700
2615
|
# @return [Array<String>]
|
2701
2616
|
attr_accessor :link
|
2702
2617
|
|
2703
|
-
# Ordered list of localized strings giving the name of this page.
|
2704
|
-
#
|
2705
|
-
#
|
2706
|
-
# at least one entry.
|
2618
|
+
# Ordered list of localized strings giving the name of this page. The text
|
2619
|
+
# displayed is the one that best matches the user locale, or the first entry if
|
2620
|
+
# there is no good match. There needs to be at least one entry.
|
2707
2621
|
# Corresponds to the JSON property `name`
|
2708
2622
|
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
2709
2623
|
attr_accessor :name
|
@@ -2720,15 +2634,14 @@ module Google
|
|
2720
2634
|
end
|
2721
2635
|
end
|
2722
2636
|
|
2723
|
-
# Pagination information returned by a List operation when token pagination
|
2724
|
-
#
|
2725
|
-
#
|
2726
|
-
#
|
2727
|
-
#
|
2728
|
-
#
|
2729
|
-
#
|
2730
|
-
#
|
2731
|
-
# next_page_token or previous_page_token to access another page.
|
2637
|
+
# Pagination information returned by a List operation when token pagination is
|
2638
|
+
# enabled. List operations that supports paging return only one "page" of
|
2639
|
+
# results. This protocol buffer message describes the page that has been
|
2640
|
+
# returned. When using token pagination, clients should use the next/previous
|
2641
|
+
# token to get another page of the result. The presence or absence of next/
|
2642
|
+
# previous token indicates whether a next/previous page is available and
|
2643
|
+
# provides a mean of accessing this page. ListRequest.page_token should be set
|
2644
|
+
# to either next_page_token or previous_page_token to access another page.
|
2732
2645
|
class TokenPagination
|
2733
2646
|
include Google::Apis::Core::Hashable
|
2734
2647
|
|
@@ -2758,15 +2671,15 @@ module Google
|
|
2758
2671
|
class TrackInfo
|
2759
2672
|
include Google::Apis::Core::Hashable
|
2760
2673
|
|
2761
|
-
# A modifiable name for a track. This is the visible name in the play
|
2762
|
-
#
|
2674
|
+
# A modifiable name for a track. This is the visible name in the play developer
|
2675
|
+
# console.
|
2763
2676
|
# Corresponds to the JSON property `trackAlias`
|
2764
2677
|
# @return [String]
|
2765
2678
|
attr_accessor :track_alias
|
2766
2679
|
|
2767
|
-
# Unmodifiable, unique track identifier. This identifier is the
|
2768
|
-
#
|
2769
|
-
#
|
2680
|
+
# Unmodifiable, unique track identifier. This identifier is the releaseTrackId
|
2681
|
+
# in the url of the play developer console page that displays the track
|
2682
|
+
# information.
|
2770
2683
|
# Corresponds to the JSON property `trackId`
|
2771
2684
|
# @return [String]
|
2772
2685
|
attr_accessor :track_id
|
@@ -2783,43 +2696,37 @@ module Google
|
|
2783
2696
|
end
|
2784
2697
|
|
2785
2698
|
# A Users resource represents an account associated with an enterprise. The
|
2786
|
-
# account may be specific to a device or to an individual user (who can then
|
2787
|
-
#
|
2699
|
+
# account may be specific to a device or to an individual user (who can then use
|
2700
|
+
# the account across multiple devices). The account may provide access to
|
2788
2701
|
# managed Google Play only, or to other Google services, depending on the
|
2789
|
-
# identity model:
|
2790
|
-
#
|
2791
|
-
# Google
|
2792
|
-
#
|
2793
|
-
#
|
2794
|
-
# provide access to managed Google Play.</li>
|
2795
|
-
# </ul>
|
2702
|
+
# identity model: - The Google managed domain identity model requires
|
2703
|
+
# synchronization to Google account sources (via primaryEmail). - The managed
|
2704
|
+
# Google Play Accounts identity model provides a dynamic means for enterprises
|
2705
|
+
# to create user or device accounts as needed. These accounts provide access to
|
2706
|
+
# managed Google Play.
|
2796
2707
|
class User
|
2797
2708
|
include Google::Apis::Core::Hashable
|
2798
2709
|
|
2799
|
-
# A unique identifier you create for this user, such as "user342" or
|
2800
|
-
#
|
2801
|
-
#
|
2802
|
-
# Not set for Google-managed users.
|
2710
|
+
# A unique identifier you create for this user, such as "user342" or "asset#
|
2711
|
+
# 44418". Do not use personally identifiable information (PII) for this property.
|
2712
|
+
# Must always be set for EMM-managed users. Not set for Google-managed users.
|
2803
2713
|
# Corresponds to the JSON property `accountIdentifier`
|
2804
2714
|
# @return [String]
|
2805
2715
|
attr_accessor :account_identifier
|
2806
2716
|
|
2807
|
-
# The type of account that this user represents. A
|
2808
|
-
#
|
2809
|
-
#
|
2810
|
-
#
|
2811
|
-
# but a Google-managed user (<code>googleManaged</code>) is always a
|
2812
|
-
# <code>userAccount</code>.
|
2717
|
+
# The type of account that this user represents. A userAccount can be installed
|
2718
|
+
# on multiple devices, but a deviceAccount is specific to a single device. An
|
2719
|
+
# EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount),
|
2720
|
+
# but a Google-managed user (googleManaged) is always a userAccount.
|
2813
2721
|
# Corresponds to the JSON property `accountType`
|
2814
2722
|
# @return [String]
|
2815
2723
|
attr_accessor :account_type
|
2816
2724
|
|
2817
2725
|
# The name that will appear in user interfaces. Setting this property is
|
2818
|
-
# optional when creating EMM-managed users. If you do set this property,
|
2819
|
-
#
|
2820
|
-
#
|
2821
|
-
#
|
2822
|
-
# @mutable androidenterprise.users.update
|
2726
|
+
# optional when creating EMM-managed users. If you do set this property, use
|
2727
|
+
# something generic about the organization (such as "Example, Inc.") or your
|
2728
|
+
# name (as EMM). Not used for Google-managed user accounts. @mutable
|
2729
|
+
# androidenterprise.users.update
|
2823
2730
|
# Corresponds to the JSON property `displayName`
|
2824
2731
|
# @return [String]
|
2825
2732
|
attr_accessor :display_name
|
@@ -2829,17 +2736,15 @@ module Google
|
|
2829
2736
|
# @return [String]
|
2830
2737
|
attr_accessor :id
|
2831
2738
|
|
2832
|
-
# The entity that manages the user.
|
2833
|
-
#
|
2834
|
-
#
|
2835
|
-
# EMM is in charge.
|
2739
|
+
# The entity that manages the user. With googleManaged users, the source of
|
2740
|
+
# truth is Google so EMMs have to make sure a Google Account exists for the user.
|
2741
|
+
# With emmManaged users, the EMM is in charge.
|
2836
2742
|
# Corresponds to the JSON property `managementType`
|
2837
2743
|
# @return [String]
|
2838
2744
|
attr_accessor :management_type
|
2839
2745
|
|
2840
|
-
# The user's primary email address, for example, "jsmith@example.com".
|
2841
|
-
#
|
2842
|
-
# users.
|
2746
|
+
# The user's primary email address, for example, "jsmith@example.com". Will
|
2747
|
+
# always be set for Google managed users and not set for EMM managed users.
|
2843
2748
|
# Corresponds to the JSON property `primaryEmail`
|
2844
2749
|
# @return [String]
|
2845
2750
|
attr_accessor :primary_email
|
@@ -2878,10 +2783,10 @@ module Google
|
|
2878
2783
|
end
|
2879
2784
|
end
|
2880
2785
|
|
2881
|
-
# A variable set is a key-value pair of EMM-provided placeholders and
|
2882
|
-
#
|
2883
|
-
#
|
2884
|
-
#
|
2786
|
+
# A variable set is a key-value pair of EMM-provided placeholders and its
|
2787
|
+
# corresponding value, which is attributed to a user. For example, $FIRSTNAME
|
2788
|
+
# could be a placeholder, and its value could be Alice. Placeholders should
|
2789
|
+
# start with a '$' sign and should be alphanumeric only.
|
2885
2790
|
class VariableSet
|
2886
2791
|
include Google::Apis::Core::Hashable
|
2887
2792
|
|
@@ -2907,23 +2812,19 @@ module Google
|
|
2907
2812
|
end
|
2908
2813
|
|
2909
2814
|
# A WebApps resource represents a web app created for an enterprise. Web apps
|
2910
|
-
# are published to managed Google Play and can be distributed like other
|
2911
|
-
#
|
2815
|
+
# are published to managed Google Play and can be distributed like other Android
|
2816
|
+
# apps. On a user's device, a web app opens its specified URL.
|
2912
2817
|
class WebApp
|
2913
2818
|
include Google::Apis::Core::Hashable
|
2914
2819
|
|
2915
|
-
# The display mode of the web app.
|
2916
|
-
#
|
2917
|
-
#
|
2918
|
-
# the
|
2919
|
-
#
|
2920
|
-
#
|
2921
|
-
# bar are visible
|
2922
|
-
#
|
2923
|
-
# the device's status and navigation bars. All browser UI elements, page
|
2924
|
-
# URL, system status bar and back button are not visible, and the web app
|
2925
|
-
# takes up the entirety of the available display area.
|
2926
|
-
# </ul>
|
2820
|
+
# The display mode of the web app. Possible values include: - "minimalUi", the
|
2821
|
+
# device's status bar, navigation bar, the app's URL, and a refresh button are
|
2822
|
+
# visible when the app is open. For HTTP URLs, you can only select this option. -
|
2823
|
+
# "standalone", the device's status bar and navigation bar are visible when the
|
2824
|
+
# app is open. - "fullScreen", the app opens in full screen mode, hiding the
|
2825
|
+
# device's status and navigation bars. All browser UI elements, page URL, system
|
2826
|
+
# status bar and back button are not visible, and the web app takes up the
|
2827
|
+
# entirety of the available display area.
|
2927
2828
|
# Corresponds to the JSON property `displayMode`
|
2928
2829
|
# @return [String]
|
2929
2830
|
attr_accessor :display_mode
|
@@ -2952,19 +2853,16 @@ module Google
|
|
2952
2853
|
# @return [String]
|
2953
2854
|
attr_accessor :title
|
2954
2855
|
|
2955
|
-
# The current version of the app.
|
2956
|
-
#
|
2957
|
-
#
|
2958
|
-
# up-to-date.
|
2856
|
+
# The current version of the app. Note that the version can automatically
|
2857
|
+
# increase during the lifetime of the web app, while Google does internal
|
2858
|
+
# housekeeping to keep the web app up-to-date.
|
2959
2859
|
# Corresponds to the JSON property `versionCode`
|
2960
2860
|
# @return [Fixnum]
|
2961
2861
|
attr_accessor :version_code
|
2962
2862
|
|
2963
|
-
# The ID of the application.
|
2964
|
-
#
|
2965
|
-
#
|
2966
|
-
# <code>"com.google.enterprise.webapp."</code> followed by a
|
2967
|
-
# random id.
|
2863
|
+
# The ID of the application. A string of the form "app:<package name>" where the
|
2864
|
+
# package name always starts with the prefix "com.google.enterprise.webapp."
|
2865
|
+
# followed by a random id.
|
2968
2866
|
# Corresponds to the JSON property `webAppId`
|
2969
2867
|
# @return [String]
|
2970
2868
|
attr_accessor :web_app_id
|
@@ -2990,12 +2888,9 @@ module Google
|
|
2990
2888
|
include Google::Apis::Core::Hashable
|
2991
2889
|
|
2992
2890
|
# The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
|
2993
|
-
# section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
|
2994
|
-
#
|
2995
|
-
#
|
2996
|
-
# <li>The image should ideally be square.
|
2997
|
-
# <li>The image should ideally have a size of 512x512.
|
2998
|
-
# </ul>
|
2891
|
+
# section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image
|
2892
|
+
# type can be png or jpg. - The image should ideally be square. - The image
|
2893
|
+
# should ideally have a size of 512x512.
|
2999
2894
|
# Corresponds to the JSON property `imageData`
|
3000
2895
|
# @return [String]
|
3001
2896
|
attr_accessor :image_data
|