google-api-client 0.40.0 → 0.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +297 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
- data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
- data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +144 -48
- data/generated/google/apis/apigee_v1/representations.rb +17 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -13
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
- data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +801 -219
- data/generated/google/apis/compute_alpha/representations.rb +220 -32
- data/generated/google/apis/compute_alpha/service.rb +899 -113
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +490 -131
- data/generated/google/apis/compute_beta/representations.rb +97 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +706 -76
- data/generated/google/apis/compute_v1/representations.rb +200 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +142 -24
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +71 -24
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
- data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +9 -9
- data/generated/google/apis/healthcare_v1/service.rb +5 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +92 -81
- data/generated/google/apis/iam_v1/service.rb +167 -148
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -19
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommender_v1.rb +34 -0
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +16 -9
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +26 -22
- data/generated/google/apis/spanner_v1/service.rb +15 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -11
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
|
@@ -490,12 +490,6 @@ module Google
|
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
491
491
|
end
|
|
492
492
|
|
|
493
|
-
class UserToken
|
|
494
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
-
|
|
496
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
-
end
|
|
498
|
-
|
|
499
493
|
class ListUsersResponse
|
|
500
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
495
|
|
|
@@ -536,7 +530,6 @@ module Google
|
|
|
536
530
|
class AdministratorWebToken
|
|
537
531
|
# @private
|
|
538
532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
539
|
-
property :kind, as: 'kind'
|
|
540
533
|
property :token, as: 'token'
|
|
541
534
|
end
|
|
542
535
|
end
|
|
@@ -544,7 +537,6 @@ module Google
|
|
|
544
537
|
class AdministratorWebTokenSpec
|
|
545
538
|
# @private
|
|
546
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
547
|
-
property :kind, as: 'kind'
|
|
548
540
|
property :managed_configurations, as: 'managedConfigurations', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations::Representation
|
|
549
541
|
|
|
550
542
|
property :parent, as: 'parent'
|
|
@@ -670,14 +662,12 @@ module Google
|
|
|
670
662
|
# @private
|
|
671
663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
672
664
|
property :approval_url, as: 'approvalUrl'
|
|
673
|
-
property :kind, as: 'kind'
|
|
674
665
|
end
|
|
675
666
|
end
|
|
676
667
|
|
|
677
668
|
class AuthenticationToken
|
|
678
669
|
# @private
|
|
679
670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
680
|
-
property :kind, as: 'kind'
|
|
681
671
|
property :token, as: 'token'
|
|
682
672
|
end
|
|
683
673
|
end
|
|
@@ -705,7 +695,6 @@ module Google
|
|
|
705
695
|
class ConfigurationVariables
|
|
706
696
|
# @private
|
|
707
697
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
708
|
-
property :kind, as: 'kind'
|
|
709
698
|
property :mcm_id, as: 'mcmId'
|
|
710
699
|
collection :variable_set, as: 'variableSet', class: Google::Apis::AndroidenterpriseV1::VariableSet, decorator: Google::Apis::AndroidenterpriseV1::VariableSet::Representation
|
|
711
700
|
|
|
@@ -716,7 +705,6 @@ module Google
|
|
|
716
705
|
# @private
|
|
717
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
718
707
|
property :android_id, as: 'androidId'
|
|
719
|
-
property :kind, as: 'kind'
|
|
720
708
|
property :management_type, as: 'managementType'
|
|
721
709
|
property :policy, as: 'policy', class: Google::Apis::AndroidenterpriseV1::Policy, decorator: Google::Apis::AndroidenterpriseV1::Policy::Representation
|
|
722
710
|
|
|
@@ -748,7 +736,6 @@ module Google
|
|
|
748
736
|
# @private
|
|
749
737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
750
738
|
property :account_state, as: 'accountState'
|
|
751
|
-
property :kind, as: 'kind'
|
|
752
739
|
end
|
|
753
740
|
end
|
|
754
741
|
|
|
@@ -757,7 +744,6 @@ module Google
|
|
|
757
744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
758
745
|
collection :device, as: 'device', class: Google::Apis::AndroidenterpriseV1::Device, decorator: Google::Apis::AndroidenterpriseV1::Device::Representation
|
|
759
746
|
|
|
760
|
-
property :kind, as: 'kind'
|
|
761
747
|
end
|
|
762
748
|
end
|
|
763
749
|
|
|
@@ -767,7 +753,6 @@ module Google
|
|
|
767
753
|
collection :administrator, as: 'administrator', class: Google::Apis::AndroidenterpriseV1::Administrator, decorator: Google::Apis::AndroidenterpriseV1::Administrator::Representation
|
|
768
754
|
|
|
769
755
|
property :id, as: 'id'
|
|
770
|
-
property :kind, as: 'kind'
|
|
771
756
|
property :name, as: 'name'
|
|
772
757
|
property :primary_domain, as: 'primaryDomain'
|
|
773
758
|
end
|
|
@@ -777,7 +762,6 @@ module Google
|
|
|
777
762
|
# @private
|
|
778
763
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
779
764
|
property :account_email, as: 'accountEmail'
|
|
780
|
-
property :kind, as: 'kind'
|
|
781
765
|
end
|
|
782
766
|
end
|
|
783
767
|
|
|
@@ -786,7 +770,6 @@ module Google
|
|
|
786
770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
787
771
|
collection :enterprise, as: 'enterprise', class: Google::Apis::AndroidenterpriseV1::Enterprise, decorator: Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
|
788
772
|
|
|
789
|
-
property :kind, as: 'kind'
|
|
790
773
|
end
|
|
791
774
|
end
|
|
792
775
|
|
|
@@ -801,7 +784,6 @@ module Google
|
|
|
801
784
|
class Entitlement
|
|
802
785
|
# @private
|
|
803
786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
804
|
-
property :kind, as: 'kind'
|
|
805
787
|
property :product_id, as: 'productId'
|
|
806
788
|
property :reason, as: 'reason'
|
|
807
789
|
end
|
|
@@ -812,7 +794,6 @@ module Google
|
|
|
812
794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
813
795
|
collection :entitlement, as: 'entitlement', class: Google::Apis::AndroidenterpriseV1::Entitlement, decorator: Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
|
814
796
|
|
|
815
|
-
property :kind, as: 'kind'
|
|
816
797
|
end
|
|
817
798
|
end
|
|
818
799
|
|
|
@@ -821,7 +802,6 @@ module Google
|
|
|
821
802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
822
803
|
property :acquisition_kind, as: 'acquisitionKind'
|
|
823
804
|
property :approval, as: 'approval'
|
|
824
|
-
property :kind, as: 'kind'
|
|
825
805
|
property :num_provisioned, as: 'numProvisioned'
|
|
826
806
|
property :num_purchased, as: 'numPurchased'
|
|
827
807
|
property :permissions, as: 'permissions'
|
|
@@ -832,7 +812,6 @@ module Google
|
|
|
832
812
|
class ListGroupLicenseUsersResponse
|
|
833
813
|
# @private
|
|
834
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
835
|
-
property :kind, as: 'kind'
|
|
836
815
|
collection :user, as: 'user', class: Google::Apis::AndroidenterpriseV1::User, decorator: Google::Apis::AndroidenterpriseV1::User::Representation
|
|
837
816
|
|
|
838
817
|
end
|
|
@@ -843,7 +822,6 @@ module Google
|
|
|
843
822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
844
823
|
collection :group_license, as: 'groupLicense', class: Google::Apis::AndroidenterpriseV1::GroupLicense, decorator: Google::Apis::AndroidenterpriseV1::GroupLicense::Representation
|
|
845
824
|
|
|
846
|
-
property :kind, as: 'kind'
|
|
847
825
|
end
|
|
848
826
|
end
|
|
849
827
|
|
|
@@ -851,7 +829,6 @@ module Google
|
|
|
851
829
|
# @private
|
|
852
830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
853
831
|
property :install_state, as: 'installState'
|
|
854
|
-
property :kind, as: 'kind'
|
|
855
832
|
property :product_id, as: 'productId'
|
|
856
833
|
property :version_code, as: 'versionCode'
|
|
857
834
|
end
|
|
@@ -873,7 +850,6 @@ module Google
|
|
|
873
850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
874
851
|
collection :install, as: 'install', class: Google::Apis::AndroidenterpriseV1::Install, decorator: Google::Apis::AndroidenterpriseV1::Install::Representation
|
|
875
852
|
|
|
876
|
-
property :kind, as: 'kind'
|
|
877
853
|
end
|
|
878
854
|
end
|
|
879
855
|
|
|
@@ -919,7 +895,6 @@ module Google
|
|
|
919
895
|
class ManagedConfigurationsForDeviceListResponse
|
|
920
896
|
# @private
|
|
921
897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
922
|
-
property :kind, as: 'kind'
|
|
923
898
|
collection :managed_configuration_for_device, as: 'managedConfigurationForDevice', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
924
899
|
|
|
925
900
|
end
|
|
@@ -928,7 +903,6 @@ module Google
|
|
|
928
903
|
class ManagedConfigurationsForUserListResponse
|
|
929
904
|
# @private
|
|
930
905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
931
|
-
property :kind, as: 'kind'
|
|
932
906
|
collection :managed_configuration_for_user, as: 'managedConfigurationForUser', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
933
907
|
|
|
934
908
|
end
|
|
@@ -937,7 +911,6 @@ module Google
|
|
|
937
911
|
class ManagedConfigurationsSettings
|
|
938
912
|
# @private
|
|
939
913
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
940
|
-
property :kind, as: 'kind'
|
|
941
914
|
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
|
942
915
|
property :mcm_id, as: 'mcmId'
|
|
943
916
|
property :name, as: 'name'
|
|
@@ -947,7 +920,6 @@ module Google
|
|
|
947
920
|
class ManagedConfigurationsSettingsListResponse
|
|
948
921
|
# @private
|
|
949
922
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
950
|
-
property :kind, as: 'kind'
|
|
951
923
|
collection :managed_configurations_settings, as: 'managedConfigurationsSettings', class: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings::Representation
|
|
952
924
|
|
|
953
925
|
end
|
|
@@ -1023,7 +995,6 @@ module Google
|
|
|
1023
995
|
class NotificationSet
|
|
1024
996
|
# @private
|
|
1025
997
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1026
|
-
property :kind, as: 'kind'
|
|
1027
998
|
collection :notification, as: 'notification', class: Google::Apis::AndroidenterpriseV1::Notification, decorator: Google::Apis::AndroidenterpriseV1::Notification::Representation
|
|
1028
999
|
|
|
1029
1000
|
property :notification_set_id, as: 'notificationSetId'
|
|
@@ -1043,7 +1014,6 @@ module Google
|
|
|
1043
1014
|
# @private
|
|
1044
1015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1045
1016
|
property :description, as: 'description'
|
|
1046
|
-
property :kind, as: 'kind'
|
|
1047
1017
|
property :name, as: 'name'
|
|
1048
1018
|
property :permission_id, as: 'permissionId'
|
|
1049
1019
|
end
|
|
@@ -1079,7 +1049,6 @@ module Google
|
|
|
1079
1049
|
property :distribution_channel, as: 'distributionChannel'
|
|
1080
1050
|
collection :features, as: 'features'
|
|
1081
1051
|
property :icon_url, as: 'iconUrl'
|
|
1082
|
-
property :kind, as: 'kind'
|
|
1083
1052
|
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
|
1084
1053
|
property :min_android_sdk_version, as: 'minAndroidSdkVersion'
|
|
1085
1054
|
collection :permissions, as: 'permissions', class: Google::Apis::AndroidenterpriseV1::ProductPermission, decorator: Google::Apis::AndroidenterpriseV1::ProductPermission::Representation
|
|
@@ -1124,7 +1093,6 @@ module Google
|
|
|
1124
1093
|
class ProductPermissions
|
|
1125
1094
|
# @private
|
|
1126
1095
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1127
|
-
property :kind, as: 'kind'
|
|
1128
1096
|
collection :permission, as: 'permission', class: Google::Apis::AndroidenterpriseV1::ProductPermission, decorator: Google::Apis::AndroidenterpriseV1::ProductPermission::Representation
|
|
1129
1097
|
|
|
1130
1098
|
property :product_id, as: 'productId'
|
|
@@ -1147,7 +1115,6 @@ module Google
|
|
|
1147
1115
|
class ProductSet
|
|
1148
1116
|
# @private
|
|
1149
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1150
|
-
property :kind, as: 'kind'
|
|
1151
1118
|
collection :product_id, as: 'productId'
|
|
1152
1119
|
property :product_set_behavior, as: 'productSetBehavior'
|
|
1153
1120
|
collection :product_visibility, as: 'productVisibility', class: Google::Apis::AndroidenterpriseV1::ProductVisibility, decorator: Google::Apis::AndroidenterpriseV1::ProductVisibility::Representation
|
|
@@ -1191,7 +1158,6 @@ module Google
|
|
|
1191
1158
|
class ProductsListResponse
|
|
1192
1159
|
# @private
|
|
1193
1160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1194
|
-
property :kind, as: 'kind'
|
|
1195
1161
|
property :page_info, as: 'pageInfo', class: Google::Apis::AndroidenterpriseV1::PageInfo, decorator: Google::Apis::AndroidenterpriseV1::PageInfo::Representation
|
|
1196
1162
|
|
|
1197
1163
|
collection :product, as: 'product', class: Google::Apis::AndroidenterpriseV1::Product, decorator: Google::Apis::AndroidenterpriseV1::Product::Representation
|
|
@@ -1206,7 +1172,6 @@ module Google
|
|
|
1206
1172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1207
1173
|
property :key, as: 'key', class: Google::Apis::AndroidenterpriseV1::ServiceAccountKey, decorator: Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
|
|
1208
1174
|
|
|
1209
|
-
property :kind, as: 'kind'
|
|
1210
1175
|
property :name, as: 'name'
|
|
1211
1176
|
end
|
|
1212
1177
|
end
|
|
@@ -1216,7 +1181,6 @@ module Google
|
|
|
1216
1181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1217
1182
|
property :data, as: 'data'
|
|
1218
1183
|
property :id, as: 'id'
|
|
1219
|
-
property :kind, as: 'kind'
|
|
1220
1184
|
property :public_data, as: 'publicData'
|
|
1221
1185
|
property :type, as: 'type'
|
|
1222
1186
|
end
|
|
@@ -1243,7 +1207,6 @@ module Google
|
|
|
1243
1207
|
# @private
|
|
1244
1208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1245
1209
|
property :id, as: 'id'
|
|
1246
|
-
property :kind, as: 'kind'
|
|
1247
1210
|
collection :name, as: 'name', class: Google::Apis::AndroidenterpriseV1::LocalizedText, decorator: Google::Apis::AndroidenterpriseV1::LocalizedText::Representation
|
|
1248
1211
|
|
|
1249
1212
|
property :order_in_page, as: 'orderInPage'
|
|
@@ -1255,7 +1218,6 @@ module Google
|
|
|
1255
1218
|
# @private
|
|
1256
1219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1257
1220
|
property :homepage_id, as: 'homepageId'
|
|
1258
|
-
property :kind, as: 'kind'
|
|
1259
1221
|
property :store_layout_type, as: 'storeLayoutType'
|
|
1260
1222
|
end
|
|
1261
1223
|
end
|
|
@@ -1265,14 +1227,12 @@ module Google
|
|
|
1265
1227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1266
1228
|
collection :cluster, as: 'cluster', class: Google::Apis::AndroidenterpriseV1::StoreCluster, decorator: Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
1267
1229
|
|
|
1268
|
-
property :kind, as: 'kind'
|
|
1269
1230
|
end
|
|
1270
1231
|
end
|
|
1271
1232
|
|
|
1272
1233
|
class StoreLayoutPagesListResponse
|
|
1273
1234
|
# @private
|
|
1274
1235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1275
|
-
property :kind, as: 'kind'
|
|
1276
1236
|
collection :page, as: 'page', class: Google::Apis::AndroidenterpriseV1::StorePage, decorator: Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
1277
1237
|
|
|
1278
1238
|
end
|
|
@@ -1282,7 +1242,6 @@ module Google
|
|
|
1282
1242
|
# @private
|
|
1283
1243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1284
1244
|
property :id, as: 'id'
|
|
1285
|
-
property :kind, as: 'kind'
|
|
1286
1245
|
collection :link, as: 'link'
|
|
1287
1246
|
collection :name, as: 'name', class: Google::Apis::AndroidenterpriseV1::LocalizedText, decorator: Google::Apis::AndroidenterpriseV1::LocalizedText::Representation
|
|
1288
1247
|
|
|
@@ -1312,25 +1271,14 @@ module Google
|
|
|
1312
1271
|
property :account_type, as: 'accountType'
|
|
1313
1272
|
property :display_name, as: 'displayName'
|
|
1314
1273
|
property :id, as: 'id'
|
|
1315
|
-
property :kind, as: 'kind'
|
|
1316
1274
|
property :management_type, as: 'managementType'
|
|
1317
1275
|
property :primary_email, as: 'primaryEmail'
|
|
1318
1276
|
end
|
|
1319
1277
|
end
|
|
1320
1278
|
|
|
1321
|
-
class UserToken
|
|
1322
|
-
# @private
|
|
1323
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1324
|
-
property :kind, as: 'kind'
|
|
1325
|
-
property :token, as: 'token'
|
|
1326
|
-
property :user_id, as: 'userId'
|
|
1327
|
-
end
|
|
1328
|
-
end
|
|
1329
|
-
|
|
1330
1279
|
class ListUsersResponse
|
|
1331
1280
|
# @private
|
|
1332
1281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1333
|
-
property :kind, as: 'kind'
|
|
1334
1282
|
collection :user, as: 'user', class: Google::Apis::AndroidenterpriseV1::User, decorator: Google::Apis::AndroidenterpriseV1::User::Representation
|
|
1335
1283
|
|
|
1336
1284
|
end
|
|
@@ -1339,7 +1287,6 @@ module Google
|
|
|
1339
1287
|
class VariableSet
|
|
1340
1288
|
# @private
|
|
1341
1289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1342
|
-
property :kind, as: 'kind'
|
|
1343
1290
|
property :placeholder, as: 'placeholder'
|
|
1344
1291
|
property :user_value, as: 'userValue'
|
|
1345
1292
|
end
|
|
@@ -1369,7 +1316,6 @@ module Google
|
|
|
1369
1316
|
class WebAppsListResponse
|
|
1370
1317
|
# @private
|
|
1371
1318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1372
|
-
property :kind, as: 'kind'
|
|
1373
1319
|
collection :web_app, as: 'webApp', class: Google::Apis::AndroidenterpriseV1::WebApp, decorator: Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
1374
1320
|
|
|
1375
1321
|
end
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module AndroidenterpriseV1
|
|
23
23
|
# Google Play EMM API
|
|
24
24
|
#
|
|
25
|
-
# Manages the deployment of apps to Android
|
|
25
|
+
# Manages the deployment of apps to Android Enterprise devices.
|
|
26
26
|
#
|
|
27
27
|
# @example
|
|
28
28
|
# require 'google/apis/androidenterprise_v1'
|
|
@@ -38,22 +38,20 @@ module Google
|
|
|
38
38
|
attr_accessor :key
|
|
39
39
|
|
|
40
40
|
# @return [String]
|
|
41
|
-
#
|
|
42
|
-
# characters.
|
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43
43
|
attr_accessor :quota_user
|
|
44
44
|
|
|
45
|
-
# @return [String]
|
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
|
47
|
-
attr_accessor :user_ip
|
|
48
|
-
|
|
49
45
|
def initialize
|
|
50
|
-
super('https://www.googleapis.com/', '
|
|
46
|
+
super('https://www.googleapis.com/', '')
|
|
51
47
|
@batch_path = 'batch/androidenterprise/v1'
|
|
52
48
|
end
|
|
53
49
|
|
|
54
|
-
# Uploads a report containing any changes in app states on the device since
|
|
55
|
-
# last report was generated. You can call this method up to 3 times every
|
|
56
|
-
# hours for a given device.
|
|
50
|
+
# Uploads a report containing any changes in app states on the device since
|
|
51
|
+
# the last report was generated. You can call this method up to 3 times every
|
|
52
|
+
# 24 hours for a given device.
|
|
53
|
+
# If you exceed the quota, then the Google Play EMM API returns <code>HTTP
|
|
54
|
+
# 429 Too Many Requests</code>.
|
|
57
55
|
# @param [String] enterprise_id
|
|
58
56
|
# The ID of the enterprise.
|
|
59
57
|
# @param [String] user_id
|
|
@@ -63,10 +61,8 @@ module Google
|
|
|
63
61
|
# @param [String] fields
|
|
64
62
|
# Selector specifying which fields to include in a partial response.
|
|
65
63
|
# @param [String] quota_user
|
|
66
|
-
#
|
|
67
|
-
# characters.
|
|
68
|
-
# @param [String] user_ip
|
|
69
|
-
# Deprecated. Please use quotaUser instead.
|
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
70
66
|
# @param [Google::Apis::RequestOptions] options
|
|
71
67
|
# Request-specific options
|
|
72
68
|
#
|
|
@@ -79,14 +75,13 @@ module Google
|
|
|
79
75
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
80
76
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
81
77
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
82
|
-
def force_device_report_upload(enterprise_id, user_id, device_id, fields: nil, quota_user: nil,
|
|
83
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload', options)
|
|
78
|
+
def force_device_report_upload(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
79
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload', options)
|
|
84
80
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
85
81
|
command.params['userId'] = user_id unless user_id.nil?
|
|
86
82
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
87
83
|
command.query['fields'] = fields unless fields.nil?
|
|
88
84
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
89
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
90
85
|
execute_or_queue_command(command, &block)
|
|
91
86
|
end
|
|
92
87
|
|
|
@@ -100,10 +95,8 @@ module Google
|
|
|
100
95
|
# @param [String] fields
|
|
101
96
|
# Selector specifying which fields to include in a partial response.
|
|
102
97
|
# @param [String] quota_user
|
|
103
|
-
#
|
|
104
|
-
# characters.
|
|
105
|
-
# @param [String] user_ip
|
|
106
|
-
# Deprecated. Please use quotaUser instead.
|
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
107
100
|
# @param [Google::Apis::RequestOptions] options
|
|
108
101
|
# Request-specific options
|
|
109
102
|
#
|
|
@@ -116,8 +109,8 @@ module Google
|
|
|
116
109
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
117
110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
118
111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
119
|
-
def get_device(enterprise_id, user_id, device_id, fields: nil, quota_user: nil,
|
|
120
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
|
112
|
+
def get_device(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
113
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
|
121
114
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
|
122
115
|
command.response_class = Google::Apis::AndroidenterpriseV1::Device
|
|
123
116
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -125,15 +118,16 @@ module Google
|
|
|
125
118
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
126
119
|
command.query['fields'] = fields unless fields.nil?
|
|
127
120
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
128
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
129
121
|
execute_or_queue_command(command, &block)
|
|
130
122
|
end
|
|
131
123
|
|
|
132
|
-
# Retrieves whether a device's access to Google services is enabled or
|
|
124
|
+
# Retrieves whether a device's access to Google services is enabled or
|
|
125
|
+
# disabled.
|
|
133
126
|
# The device state takes effect only if enforcing EMM policies on Android
|
|
134
|
-
# devices is enabled in the Google Admin Console.
|
|
135
|
-
# ignored and all devices are allowed access
|
|
136
|
-
#
|
|
127
|
+
# devices is enabled in the Google Admin Console.
|
|
128
|
+
# Otherwise, the device state is ignored and all devices are allowed access
|
|
129
|
+
# to Google services.
|
|
130
|
+
# This is only supported for Google-managed users.
|
|
137
131
|
# @param [String] enterprise_id
|
|
138
132
|
# The ID of the enterprise.
|
|
139
133
|
# @param [String] user_id
|
|
@@ -143,10 +137,8 @@ module Google
|
|
|
143
137
|
# @param [String] fields
|
|
144
138
|
# Selector specifying which fields to include in a partial response.
|
|
145
139
|
# @param [String] quota_user
|
|
146
|
-
#
|
|
147
|
-
# characters.
|
|
148
|
-
# @param [String] user_ip
|
|
149
|
-
# Deprecated. Please use quotaUser instead.
|
|
140
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
141
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
150
142
|
# @param [Google::Apis::RequestOptions] options
|
|
151
143
|
# Request-specific options
|
|
152
144
|
#
|
|
@@ -159,8 +151,8 @@ module Google
|
|
|
159
151
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
160
152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
161
153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
162
|
-
def get_device_state(enterprise_id, user_id, device_id, fields: nil, quota_user: nil,
|
|
163
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
|
|
154
|
+
def get_device_state(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
155
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
|
|
164
156
|
command.response_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
|
|
165
157
|
command.response_class = Google::Apis::AndroidenterpriseV1::DeviceState
|
|
166
158
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -168,7 +160,6 @@ module Google
|
|
|
168
160
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
169
161
|
command.query['fields'] = fields unless fields.nil?
|
|
170
162
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
171
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
172
163
|
execute_or_queue_command(command, &block)
|
|
173
164
|
end
|
|
174
165
|
|
|
@@ -180,10 +171,8 @@ module Google
|
|
|
180
171
|
# @param [String] fields
|
|
181
172
|
# Selector specifying which fields to include in a partial response.
|
|
182
173
|
# @param [String] quota_user
|
|
183
|
-
#
|
|
184
|
-
# characters.
|
|
185
|
-
# @param [String] user_ip
|
|
186
|
-
# Deprecated. Please use quotaUser instead.
|
|
174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
187
176
|
# @param [Google::Apis::RequestOptions] options
|
|
188
177
|
# Request-specific options
|
|
189
178
|
#
|
|
@@ -196,23 +185,23 @@ module Google
|
|
|
196
185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
197
186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
198
187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
199
|
-
def list_devices(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
200
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices', options)
|
|
188
|
+
def list_devices(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
189
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices', options)
|
|
201
190
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListDevicesResponse::Representation
|
|
202
191
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListDevicesResponse
|
|
203
192
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
204
193
|
command.params['userId'] = user_id unless user_id.nil?
|
|
205
194
|
command.query['fields'] = fields unless fields.nil?
|
|
206
195
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
207
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
208
196
|
execute_or_queue_command(command, &block)
|
|
209
197
|
end
|
|
210
198
|
|
|
211
|
-
# Sets whether a device's access to Google services is enabled or disabled.
|
|
212
|
-
# device state takes effect only if enforcing EMM policies on Android
|
|
213
|
-
# enabled in the Google Admin Console.
|
|
214
|
-
# and all devices are allowed access
|
|
215
|
-
#
|
|
199
|
+
# Sets whether a device's access to Google services is enabled or disabled.
|
|
200
|
+
# The device state takes effect only if enforcing EMM policies on Android
|
|
201
|
+
# devices is enabled in the Google Admin Console.
|
|
202
|
+
# Otherwise, the device state is ignored and all devices are allowed access
|
|
203
|
+
# to Google services.
|
|
204
|
+
# This is only supported for Google-managed users.
|
|
216
205
|
# @param [String] enterprise_id
|
|
217
206
|
# The ID of the enterprise.
|
|
218
207
|
# @param [String] user_id
|
|
@@ -223,10 +212,8 @@ module Google
|
|
|
223
212
|
# @param [String] fields
|
|
224
213
|
# Selector specifying which fields to include in a partial response.
|
|
225
214
|
# @param [String] quota_user
|
|
226
|
-
#
|
|
227
|
-
# characters.
|
|
228
|
-
# @param [String] user_ip
|
|
229
|
-
# Deprecated. Please use quotaUser instead.
|
|
215
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
216
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
230
217
|
# @param [Google::Apis::RequestOptions] options
|
|
231
218
|
# Request-specific options
|
|
232
219
|
#
|
|
@@ -239,8 +226,8 @@ module Google
|
|
|
239
226
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
240
227
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
241
228
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
242
|
-
def set_device_state(enterprise_id, user_id, device_id, device_state_object = nil, fields: nil, quota_user: nil,
|
|
243
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
|
|
229
|
+
def set_device_state(enterprise_id, user_id, device_id, device_state_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
230
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
|
|
244
231
|
command.request_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
|
|
245
232
|
command.request_object = device_state_object
|
|
246
233
|
command.response_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
|
|
@@ -250,7 +237,6 @@ module Google
|
|
|
250
237
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
251
238
|
command.query['fields'] = fields unless fields.nil?
|
|
252
239
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
253
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
254
240
|
execute_or_queue_command(command, &block)
|
|
255
241
|
end
|
|
256
242
|
|
|
@@ -263,17 +249,15 @@ module Google
|
|
|
263
249
|
# The ID of the device.
|
|
264
250
|
# @param [Google::Apis::AndroidenterpriseV1::Device] device_object
|
|
265
251
|
# @param [String] update_mask
|
|
266
|
-
# Mask that identifies which fields to update. If not set, all modifiable
|
|
267
|
-
# will be modified.
|
|
268
|
-
# When set in a query parameter, this field should be specified as
|
|
269
|
-
# field1
|
|
252
|
+
# Mask that identifies which fields to update. If not set, all modifiable
|
|
253
|
+
# fields will be modified.
|
|
254
|
+
# When set in a query parameter, this field should be specified as
|
|
255
|
+
# <code>updateMask=<field1>,<field2>,...</code>
|
|
270
256
|
# @param [String] fields
|
|
271
257
|
# Selector specifying which fields to include in a partial response.
|
|
272
258
|
# @param [String] quota_user
|
|
273
|
-
#
|
|
274
|
-
# characters.
|
|
275
|
-
# @param [String] user_ip
|
|
276
|
-
# Deprecated. Please use quotaUser instead.
|
|
259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
277
261
|
# @param [Google::Apis::RequestOptions] options
|
|
278
262
|
# Request-specific options
|
|
279
263
|
#
|
|
@@ -286,8 +270,8 @@ module Google
|
|
|
286
270
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
287
271
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
288
272
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
289
|
-
def update_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil,
|
|
290
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
|
273
|
+
def update_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
274
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
|
291
275
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
|
292
276
|
command.request_object = device_object
|
|
293
277
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
|
@@ -298,23 +282,20 @@ module Google
|
|
|
298
282
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
299
283
|
command.query['fields'] = fields unless fields.nil?
|
|
300
284
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
301
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
302
285
|
execute_or_queue_command(command, &block)
|
|
303
286
|
end
|
|
304
287
|
|
|
305
|
-
# Acknowledges notifications that were received from
|
|
306
|
-
# PullNotificationSet to prevent subsequent calls from returning
|
|
307
|
-
# notifications.
|
|
288
|
+
# Acknowledges notifications that were received from
|
|
289
|
+
# Enterprises.PullNotificationSet to prevent subsequent calls from returning
|
|
290
|
+
# the same notifications.
|
|
308
291
|
# @param [String] notification_set_id
|
|
309
|
-
# The notification set ID as returned by Enterprises.PullNotificationSet.
|
|
310
|
-
# must be provided.
|
|
292
|
+
# The notification set ID as returned by Enterprises.PullNotificationSet.
|
|
293
|
+
# This must be provided.
|
|
311
294
|
# @param [String] fields
|
|
312
295
|
# Selector specifying which fields to include in a partial response.
|
|
313
296
|
# @param [String] quota_user
|
|
314
|
-
#
|
|
315
|
-
# characters.
|
|
316
|
-
# @param [String] user_ip
|
|
317
|
-
# Deprecated. Please use quotaUser instead.
|
|
297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
318
299
|
# @param [Google::Apis::RequestOptions] options
|
|
319
300
|
# Request-specific options
|
|
320
301
|
#
|
|
@@ -327,17 +308,17 @@ module Google
|
|
|
327
308
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
328
309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
329
310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
330
|
-
def acknowledge_enterprise_notification_set(notification_set_id: nil, fields: nil, quota_user: nil,
|
|
331
|
-
command = make_simple_command(:post, 'enterprises/acknowledgeNotificationSet', options)
|
|
311
|
+
def acknowledge_enterprise_notification_set(notification_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
312
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/acknowledgeNotificationSet', options)
|
|
332
313
|
command.query['notificationSetId'] = notification_set_id unless notification_set_id.nil?
|
|
333
314
|
command.query['fields'] = fields unless fields.nil?
|
|
334
315
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
335
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
336
316
|
execute_or_queue_command(command, &block)
|
|
337
317
|
end
|
|
338
318
|
|
|
339
|
-
# Completes the signup flow, by specifying the Completion token and
|
|
340
|
-
# token.
|
|
319
|
+
# Completes the signup flow, by specifying the Completion token and
|
|
320
|
+
# Enterprise token.
|
|
321
|
+
# This request must not be called multiple times for a given Enterprise
|
|
341
322
|
# Token.
|
|
342
323
|
# @param [String] completion_token
|
|
343
324
|
# The Completion token initially returned by GenerateSignupUrl.
|
|
@@ -346,10 +327,8 @@ module Google
|
|
|
346
327
|
# @param [String] fields
|
|
347
328
|
# Selector specifying which fields to include in a partial response.
|
|
348
329
|
# @param [String] quota_user
|
|
349
|
-
#
|
|
350
|
-
# characters.
|
|
351
|
-
# @param [String] user_ip
|
|
352
|
-
# Deprecated. Please use quotaUser instead.
|
|
330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
353
332
|
# @param [Google::Apis::RequestOptions] options
|
|
354
333
|
# Request-specific options
|
|
355
334
|
#
|
|
@@ -362,32 +341,29 @@ module Google
|
|
|
362
341
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
363
342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
364
343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
365
|
-
def complete_enterprise_signup(completion_token: nil, enterprise_token: nil, fields: nil, quota_user: nil,
|
|
366
|
-
command = make_simple_command(:post, 'enterprises/completeSignup', options)
|
|
344
|
+
def complete_enterprise_signup(completion_token: nil, enterprise_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
345
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/completeSignup', options)
|
|
367
346
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
|
368
347
|
command.response_class = Google::Apis::AndroidenterpriseV1::Enterprise
|
|
369
348
|
command.query['completionToken'] = completion_token unless completion_token.nil?
|
|
370
349
|
command.query['enterpriseToken'] = enterprise_token unless enterprise_token.nil?
|
|
371
350
|
command.query['fields'] = fields unless fields.nil?
|
|
372
351
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
373
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
374
352
|
execute_or_queue_command(command, &block)
|
|
375
353
|
end
|
|
376
354
|
|
|
377
|
-
# Returns a unique token to access an embeddable UI. To generate a
|
|
378
|
-
# the generated token into the managed Google Play javascript
|
|
379
|
-
# may only be used to start one UI session. See the
|
|
380
|
-
# for further information.
|
|
355
|
+
# Returns a unique token to access an embeddable UI. To generate a
|
|
356
|
+
# web UI, pass the generated token into the managed Google Play javascript
|
|
357
|
+
# API. Each token may only be used to start one UI session. See the
|
|
358
|
+
# javascript API documentation for further information.
|
|
381
359
|
# @param [String] enterprise_id
|
|
382
360
|
# The ID of the enterprise.
|
|
383
361
|
# @param [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec] administrator_web_token_spec_object
|
|
384
362
|
# @param [String] fields
|
|
385
363
|
# Selector specifying which fields to include in a partial response.
|
|
386
364
|
# @param [String] quota_user
|
|
387
|
-
#
|
|
388
|
-
# characters.
|
|
389
|
-
# @param [String] user_ip
|
|
390
|
-
# Deprecated. Please use quotaUser instead.
|
|
365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
391
367
|
# @param [Google::Apis::RequestOptions] options
|
|
392
368
|
# Request-specific options
|
|
393
369
|
#
|
|
@@ -400,8 +376,8 @@ module Google
|
|
|
400
376
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
401
377
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
402
378
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
403
|
-
def create_enterprise_web_token(enterprise_id, administrator_web_token_spec_object = nil, fields: nil, quota_user: nil,
|
|
404
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/createWebToken', options)
|
|
379
|
+
def create_enterprise_web_token(enterprise_id, administrator_web_token_spec_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
380
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/createWebToken', options)
|
|
405
381
|
command.request_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec::Representation
|
|
406
382
|
command.request_object = administrator_web_token_spec_object
|
|
407
383
|
command.response_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebToken::Representation
|
|
@@ -409,21 +385,18 @@ module Google
|
|
|
409
385
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
410
386
|
command.query['fields'] = fields unless fields.nil?
|
|
411
387
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
412
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
413
388
|
execute_or_queue_command(command, &block)
|
|
414
389
|
end
|
|
415
390
|
|
|
416
391
|
# Enrolls an enterprise with the calling EMM.
|
|
417
392
|
# @param [String] token
|
|
418
|
-
# The token provided by the enterprise to register the EMM.
|
|
393
|
+
# Required. The token provided by the enterprise to register the EMM.
|
|
419
394
|
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
|
420
395
|
# @param [String] fields
|
|
421
396
|
# Selector specifying which fields to include in a partial response.
|
|
422
397
|
# @param [String] quota_user
|
|
423
|
-
#
|
|
424
|
-
# characters.
|
|
425
|
-
# @param [String] user_ip
|
|
426
|
-
# Deprecated. Please use quotaUser instead.
|
|
398
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
399
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
427
400
|
# @param [Google::Apis::RequestOptions] options
|
|
428
401
|
# Request-specific options
|
|
429
402
|
#
|
|
@@ -436,8 +409,8 @@ module Google
|
|
|
436
409
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
437
410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
438
411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
439
|
-
def enroll_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil,
|
|
440
|
-
command = make_simple_command(:post, 'enterprises/enroll', options)
|
|
412
|
+
def enroll_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
413
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/enroll', options)
|
|
441
414
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
|
442
415
|
command.request_object = enterprise_object
|
|
443
416
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
|
@@ -445,26 +418,24 @@ module Google
|
|
|
445
418
|
command.query['token'] = token unless token.nil?
|
|
446
419
|
command.query['fields'] = fields unless fields.nil?
|
|
447
420
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
448
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
449
421
|
execute_or_queue_command(command, &block)
|
|
450
422
|
end
|
|
451
423
|
|
|
452
424
|
# Generates a sign-up URL.
|
|
453
425
|
# @param [String] callback_url
|
|
454
426
|
# The callback URL to which the Admin will be redirected after successfully
|
|
455
|
-
# creating an enterprise. Before redirecting there the system will add a
|
|
456
|
-
# query parameter to this URL named "enterpriseToken" which will
|
|
457
|
-
# opaque token to be used for the CompleteSignup request
|
|
458
|
-
# Beware that this means that the URL will be parsed, the parameter added
|
|
459
|
-
# then a new URL formatted, i.e. there may be some minor formatting
|
|
460
|
-
# more importantly, the URL must be well-formed so that it can
|
|
427
|
+
# creating an enterprise. Before redirecting there the system will add a
|
|
428
|
+
# single query parameter to this URL named "enterpriseToken" which will
|
|
429
|
+
# contain an opaque token to be used for the CompleteSignup request.<br>
|
|
430
|
+
# Beware that this means that the URL will be parsed, the parameter added
|
|
431
|
+
# and then a new URL formatted, i.e. there may be some minor formatting
|
|
432
|
+
# changes and, more importantly, the URL must be well-formed so that it can
|
|
433
|
+
# be parsed.
|
|
461
434
|
# @param [String] fields
|
|
462
435
|
# Selector specifying which fields to include in a partial response.
|
|
463
436
|
# @param [String] quota_user
|
|
464
|
-
#
|
|
465
|
-
# characters.
|
|
466
|
-
# @param [String] user_ip
|
|
467
|
-
# Deprecated. Please use quotaUser instead.
|
|
437
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
438
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
468
439
|
# @param [Google::Apis::RequestOptions] options
|
|
469
440
|
# Request-specific options
|
|
470
441
|
#
|
|
@@ -477,14 +448,13 @@ module Google
|
|
|
477
448
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
478
449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
479
450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
480
|
-
def generate_enterprise_signup_url(callback_url: nil, fields: nil, quota_user: nil,
|
|
481
|
-
command = make_simple_command(:post, 'enterprises/signupUrl', options)
|
|
451
|
+
def generate_enterprise_signup_url(callback_url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
452
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/signupUrl', options)
|
|
482
453
|
command.response_representation = Google::Apis::AndroidenterpriseV1::SignupInfo::Representation
|
|
483
454
|
command.response_class = Google::Apis::AndroidenterpriseV1::SignupInfo
|
|
484
455
|
command.query['callbackUrl'] = callback_url unless callback_url.nil?
|
|
485
456
|
command.query['fields'] = fields unless fields.nil?
|
|
486
457
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
487
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
488
458
|
execute_or_queue_command(command, &block)
|
|
489
459
|
end
|
|
490
460
|
|
|
@@ -494,10 +464,8 @@ module Google
|
|
|
494
464
|
# @param [String] fields
|
|
495
465
|
# Selector specifying which fields to include in a partial response.
|
|
496
466
|
# @param [String] quota_user
|
|
497
|
-
#
|
|
498
|
-
# characters.
|
|
499
|
-
# @param [String] user_ip
|
|
500
|
-
# Deprecated. Please use quotaUser instead.
|
|
467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
501
469
|
# @param [Google::Apis::RequestOptions] options
|
|
502
470
|
# Request-specific options
|
|
503
471
|
#
|
|
@@ -510,28 +478,31 @@ module Google
|
|
|
510
478
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
511
479
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
512
480
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
513
|
-
def get_enterprise(enterprise_id, fields: nil, quota_user: nil,
|
|
514
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}', options)
|
|
481
|
+
def get_enterprise(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
482
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}', options)
|
|
515
483
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
|
516
484
|
command.response_class = Google::Apis::AndroidenterpriseV1::Enterprise
|
|
517
485
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
518
486
|
command.query['fields'] = fields unless fields.nil?
|
|
519
487
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
520
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
521
488
|
execute_or_queue_command(command, &block)
|
|
522
489
|
end
|
|
523
490
|
|
|
524
|
-
# Returns a service account and credentials. The service account
|
|
525
|
-
# the enterprise by calling setAccount. The service account
|
|
526
|
-
# enterprise and EMM, and will be deleted if the enterprise
|
|
527
|
-
# credentials contain private key data and are not stored
|
|
528
|
-
#
|
|
529
|
-
#
|
|
530
|
-
#
|
|
491
|
+
# Returns a service account and credentials. The service account
|
|
492
|
+
# can be bound to the enterprise by calling setAccount. The service account
|
|
493
|
+
# is unique to this enterprise and EMM, and will be deleted if the enterprise
|
|
494
|
+
# is unbound. The credentials contain private key data and are not stored
|
|
495
|
+
# server-side.
|
|
496
|
+
# <br> <br>
|
|
497
|
+
# This method can only be called after calling
|
|
498
|
+
# Enterprises.Enroll or Enterprises.CompleteSignup, and before
|
|
499
|
+
# Enterprises.SetAccount; at other times it will return an error.
|
|
500
|
+
# <br> <br>
|
|
531
501
|
# Subsequent calls after the first will generate a new, unique set of
|
|
532
502
|
# credentials, and invalidate the previously generated credentials.
|
|
533
|
-
#
|
|
534
|
-
# the
|
|
503
|
+
# <br> <br>
|
|
504
|
+
# Once the service account is bound to the enterprise, it can be managed
|
|
505
|
+
# using the serviceAccountKeys resource.
|
|
535
506
|
# @param [String] enterprise_id
|
|
536
507
|
# The ID of the enterprise.
|
|
537
508
|
# @param [String] key_type
|
|
@@ -539,10 +510,8 @@ module Google
|
|
|
539
510
|
# @param [String] fields
|
|
540
511
|
# Selector specifying which fields to include in a partial response.
|
|
541
512
|
# @param [String] quota_user
|
|
542
|
-
#
|
|
543
|
-
# characters.
|
|
544
|
-
# @param [String] user_ip
|
|
545
|
-
# Deprecated. Please use quotaUser instead.
|
|
513
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
514
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
546
515
|
# @param [Google::Apis::RequestOptions] options
|
|
547
516
|
# Request-specific options
|
|
548
517
|
#
|
|
@@ -555,29 +524,27 @@ module Google
|
|
|
555
524
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
556
525
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
557
526
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
558
|
-
def get_enterprise_service_account(enterprise_id, key_type: nil, fields: nil, quota_user: nil,
|
|
559
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccount', options)
|
|
527
|
+
def get_enterprise_service_account(enterprise_id, key_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
528
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/serviceAccount', options)
|
|
560
529
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccount::Representation
|
|
561
530
|
command.response_class = Google::Apis::AndroidenterpriseV1::ServiceAccount
|
|
562
531
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
563
532
|
command.query['keyType'] = key_type unless key_type.nil?
|
|
564
533
|
command.query['fields'] = fields unless fields.nil?
|
|
565
534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
566
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
567
535
|
execute_or_queue_command(command, &block)
|
|
568
536
|
end
|
|
569
537
|
|
|
570
|
-
# Returns the store layout for the enterprise. If the store layout
|
|
571
|
-
# set, returns "basic" as the store layout type and no
|
|
538
|
+
# Returns the store layout for the enterprise. If the store layout
|
|
539
|
+
# has not been set, returns "basic" as the store layout type and no
|
|
540
|
+
# homepage.
|
|
572
541
|
# @param [String] enterprise_id
|
|
573
542
|
# The ID of the enterprise.
|
|
574
543
|
# @param [String] fields
|
|
575
544
|
# Selector specifying which fields to include in a partial response.
|
|
576
545
|
# @param [String] quota_user
|
|
577
|
-
#
|
|
578
|
-
# characters.
|
|
579
|
-
# @param [String] user_ip
|
|
580
|
-
# Deprecated. Please use quotaUser instead.
|
|
546
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
547
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
581
548
|
# @param [Google::Apis::RequestOptions] options
|
|
582
549
|
# Request-specific options
|
|
583
550
|
#
|
|
@@ -590,31 +557,28 @@ module Google
|
|
|
590
557
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
591
558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
592
559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
593
|
-
def get_enterprise_store_layout(enterprise_id, fields: nil, quota_user: nil,
|
|
594
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout', options)
|
|
560
|
+
def get_enterprise_store_layout(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
561
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout', options)
|
|
595
562
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
|
596
563
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayout
|
|
597
564
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
598
565
|
command.query['fields'] = fields unless fields.nil?
|
|
599
566
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
600
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
601
567
|
execute_or_queue_command(command, &block)
|
|
602
568
|
end
|
|
603
569
|
|
|
604
|
-
# Looks up an enterprise by domain name.
|
|
605
|
-
#
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
# call.
|
|
570
|
+
# Looks up an enterprise by domain name.
|
|
571
|
+
# This is only supported for enterprises created via the Google-initiated
|
|
572
|
+
# creation flow. Lookup of the id is not needed for enterprises created via
|
|
573
|
+
# the EMM-initiated flow since the EMM learns the enterprise ID in the
|
|
574
|
+
# callback specified in the Enterprises.generateSignupUrl call.
|
|
609
575
|
# @param [String] domain
|
|
610
|
-
# The exact primary domain name of the enterprise to look up.
|
|
576
|
+
# Required. The exact primary domain name of the enterprise to look up.
|
|
611
577
|
# @param [String] fields
|
|
612
578
|
# Selector specifying which fields to include in a partial response.
|
|
613
579
|
# @param [String] quota_user
|
|
614
|
-
#
|
|
615
|
-
# characters.
|
|
616
|
-
# @param [String] user_ip
|
|
617
|
-
# Deprecated. Please use quotaUser instead.
|
|
580
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
581
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
618
582
|
# @param [Google::Apis::RequestOptions] options
|
|
619
583
|
# Request-specific options
|
|
620
584
|
#
|
|
@@ -627,47 +591,53 @@ module Google
|
|
|
627
591
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
628
592
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
629
593
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
630
|
-
def list_enterprises(domain, fields: nil, quota_user: nil,
|
|
631
|
-
command = make_simple_command(:get, 'enterprises', options)
|
|
594
|
+
def list_enterprises(domain, fields: nil, quota_user: nil, options: nil, &block)
|
|
595
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises', options)
|
|
632
596
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse::Representation
|
|
633
597
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse
|
|
634
598
|
command.query['domain'] = domain unless domain.nil?
|
|
635
599
|
command.query['fields'] = fields unless fields.nil?
|
|
636
600
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
637
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
638
601
|
execute_or_queue_command(command, &block)
|
|
639
602
|
end
|
|
640
603
|
|
|
641
|
-
# Pulls and returns a notification set for the enterprises associated with
|
|
642
|
-
# service account authenticated for the request. The notification set may
|
|
643
|
-
# empty if no notification are pending.
|
|
644
|
-
#
|
|
645
|
-
#
|
|
646
|
-
#
|
|
647
|
-
#
|
|
648
|
-
#
|
|
649
|
-
#
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
#
|
|
653
|
-
#
|
|
604
|
+
# Pulls and returns a notification set for the enterprises associated with
|
|
605
|
+
# the service account authenticated for the request. The notification set may
|
|
606
|
+
# be empty if no notification are pending.
|
|
607
|
+
# <br>
|
|
608
|
+
# A notification set returned needs to be acknowledged within 20 seconds
|
|
609
|
+
# by calling Enterprises.AcknowledgeNotificationSet, unless the
|
|
610
|
+
# notification set is empty.
|
|
611
|
+
# <br>
|
|
612
|
+
# Notifications that are not acknowledged within the 20 seconds will
|
|
613
|
+
# eventually be included again in the response to another PullNotificationSet
|
|
614
|
+
# request, and those that are never acknowledged will ultimately be deleted
|
|
615
|
+
# according to the Google Cloud Platform Pub/Sub system policy.
|
|
616
|
+
# <br>
|
|
617
|
+
# Multiple requests might be performed concurrently to retrieve
|
|
618
|
+
# notifications, in which case the pending notifications (if any) will be
|
|
619
|
+
# split among each caller, if any are pending.
|
|
620
|
+
# <br>
|
|
654
621
|
# If no notifications are present, an empty notification list is returned.
|
|
655
|
-
# Subsequent requests may return more notifications once they become
|
|
622
|
+
# Subsequent requests may return more notifications once they become
|
|
623
|
+
# available.
|
|
656
624
|
# @param [String] request_mode
|
|
657
625
|
# The request mode for pulling notifications.
|
|
658
|
-
#
|
|
659
|
-
#
|
|
660
|
-
#
|
|
661
|
-
#
|
|
662
|
-
#
|
|
663
|
-
#
|
|
626
|
+
# <br>
|
|
627
|
+
# Specifying <code>waitForNotifications</code> will cause the request to
|
|
628
|
+
# block and wait until one or more notifications are present, or return an
|
|
629
|
+
# empty notification list if no notifications are present after some time.
|
|
630
|
+
# <br>
|
|
631
|
+
# Speciying <code>returnImmediately</code> will cause the request to
|
|
632
|
+
# immediately return the pending notifications, or an empty list if no
|
|
633
|
+
# notifications are present.
|
|
634
|
+
# <br>
|
|
635
|
+
# If omitted, defaults to <code>waitForNotifications</code>.
|
|
664
636
|
# @param [String] fields
|
|
665
637
|
# Selector specifying which fields to include in a partial response.
|
|
666
638
|
# @param [String] quota_user
|
|
667
|
-
#
|
|
668
|
-
# characters.
|
|
669
|
-
# @param [String] user_ip
|
|
670
|
-
# Deprecated. Please use quotaUser instead.
|
|
639
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
640
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
671
641
|
# @param [Google::Apis::RequestOptions] options
|
|
672
642
|
# Request-specific options
|
|
673
643
|
#
|
|
@@ -680,28 +650,25 @@ module Google
|
|
|
680
650
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
681
651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
682
652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
683
|
-
def pull_enterprise_notification_set(request_mode: nil, fields: nil, quota_user: nil,
|
|
684
|
-
command = make_simple_command(:post, 'enterprises/pullNotificationSet', options)
|
|
653
|
+
def pull_enterprise_notification_set(request_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
654
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/pullNotificationSet', options)
|
|
685
655
|
command.response_representation = Google::Apis::AndroidenterpriseV1::NotificationSet::Representation
|
|
686
656
|
command.response_class = Google::Apis::AndroidenterpriseV1::NotificationSet
|
|
687
657
|
command.query['requestMode'] = request_mode unless request_mode.nil?
|
|
688
658
|
command.query['fields'] = fields unless fields.nil?
|
|
689
659
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
690
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
691
660
|
execute_or_queue_command(command, &block)
|
|
692
661
|
end
|
|
693
662
|
|
|
694
|
-
# Sends a test notification to validate the EMM integration with
|
|
695
|
-
# Cloud Pub/Sub service for this enterprise.
|
|
663
|
+
# Sends a test notification to validate the EMM integration with
|
|
664
|
+
# the Google Cloud Pub/Sub service for this enterprise.
|
|
696
665
|
# @param [String] enterprise_id
|
|
697
666
|
# The ID of the enterprise.
|
|
698
667
|
# @param [String] fields
|
|
699
668
|
# Selector specifying which fields to include in a partial response.
|
|
700
669
|
# @param [String] quota_user
|
|
701
|
-
#
|
|
702
|
-
# characters.
|
|
703
|
-
# @param [String] user_ip
|
|
704
|
-
# Deprecated. Please use quotaUser instead.
|
|
670
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
671
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
705
672
|
# @param [Google::Apis::RequestOptions] options
|
|
706
673
|
# Request-specific options
|
|
707
674
|
#
|
|
@@ -714,14 +681,13 @@ module Google
|
|
|
714
681
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
715
682
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
716
683
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
717
|
-
def send_enterprise_test_push_notification(enterprise_id, fields: nil, quota_user: nil,
|
|
718
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/sendTestPushNotification', options)
|
|
684
|
+
def send_enterprise_test_push_notification(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
685
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/sendTestPushNotification', options)
|
|
719
686
|
command.response_representation = Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse::Representation
|
|
720
687
|
command.response_class = Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse
|
|
721
688
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
722
689
|
command.query['fields'] = fields unless fields.nil?
|
|
723
690
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
724
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
725
691
|
execute_or_queue_command(command, &block)
|
|
726
692
|
end
|
|
727
693
|
|
|
@@ -733,10 +699,8 @@ module Google
|
|
|
733
699
|
# @param [String] fields
|
|
734
700
|
# Selector specifying which fields to include in a partial response.
|
|
735
701
|
# @param [String] quota_user
|
|
736
|
-
#
|
|
737
|
-
# characters.
|
|
738
|
-
# @param [String] user_ip
|
|
739
|
-
# Deprecated. Please use quotaUser instead.
|
|
702
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
703
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
740
704
|
# @param [Google::Apis::RequestOptions] options
|
|
741
705
|
# Request-specific options
|
|
742
706
|
#
|
|
@@ -749,8 +713,8 @@ module Google
|
|
|
749
713
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
750
714
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
751
715
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
752
|
-
def set_enterprise_account(enterprise_id, enterprise_account_object = nil, fields: nil, quota_user: nil,
|
|
753
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/account', options)
|
|
716
|
+
def set_enterprise_account(enterprise_id, enterprise_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
717
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/account', options)
|
|
754
718
|
command.request_representation = Google::Apis::AndroidenterpriseV1::EnterpriseAccount::Representation
|
|
755
719
|
command.request_object = enterprise_account_object
|
|
756
720
|
command.response_representation = Google::Apis::AndroidenterpriseV1::EnterpriseAccount::Representation
|
|
@@ -758,27 +722,26 @@ module Google
|
|
|
758
722
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
759
723
|
command.query['fields'] = fields unless fields.nil?
|
|
760
724
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
761
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
762
725
|
execute_or_queue_command(command, &block)
|
|
763
726
|
end
|
|
764
727
|
|
|
765
|
-
# Sets the store layout for the enterprise. By default, storeLayoutType
|
|
766
|
-
# to "basic" and the basic store layout is enabled. The basic
|
|
767
|
-
# contains apps approved by the admin, and that have
|
|
768
|
-
# product set for a user (using the
|
|
769
|
-
#
|
|
770
|
-
#
|
|
771
|
-
#
|
|
728
|
+
# Sets the store layout for the enterprise. By default, storeLayoutType
|
|
729
|
+
# is set to "basic" and the basic store layout is enabled. The basic
|
|
730
|
+
# layout only contains apps approved by the admin, and that have
|
|
731
|
+
# been added to the available product set for a user (using the
|
|
732
|
+
# <a href="/android/work/play/emm-api/v1/users/setAvailableProductSet">
|
|
733
|
+
# setAvailableProductSet</a> call). Apps on the page are sorted in order of
|
|
734
|
+
# their product ID value. If you create a custom store layout (by setting
|
|
735
|
+
# storeLayoutType = "custom" and setting a homepage), the basic store
|
|
736
|
+
# layout is disabled.
|
|
772
737
|
# @param [String] enterprise_id
|
|
773
738
|
# The ID of the enterprise.
|
|
774
739
|
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
|
|
775
740
|
# @param [String] fields
|
|
776
741
|
# Selector specifying which fields to include in a partial response.
|
|
777
742
|
# @param [String] quota_user
|
|
778
|
-
#
|
|
779
|
-
# characters.
|
|
780
|
-
# @param [String] user_ip
|
|
781
|
-
# Deprecated. Please use quotaUser instead.
|
|
743
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
744
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
782
745
|
# @param [Google::Apis::RequestOptions] options
|
|
783
746
|
# Request-specific options
|
|
784
747
|
#
|
|
@@ -791,8 +754,8 @@ module Google
|
|
|
791
754
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
792
755
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
793
756
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
794
|
-
def set_enterprise_store_layout(enterprise_id, store_layout_object = nil, fields: nil, quota_user: nil,
|
|
795
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout', options)
|
|
757
|
+
def set_enterprise_store_layout(enterprise_id, store_layout_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
758
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout', options)
|
|
796
759
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
|
797
760
|
command.request_object = store_layout_object
|
|
798
761
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
|
@@ -800,7 +763,6 @@ module Google
|
|
|
800
763
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
801
764
|
command.query['fields'] = fields unless fields.nil?
|
|
802
765
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
803
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
804
766
|
execute_or_queue_command(command, &block)
|
|
805
767
|
end
|
|
806
768
|
|
|
@@ -810,10 +772,8 @@ module Google
|
|
|
810
772
|
# @param [String] fields
|
|
811
773
|
# Selector specifying which fields to include in a partial response.
|
|
812
774
|
# @param [String] quota_user
|
|
813
|
-
#
|
|
814
|
-
# characters.
|
|
815
|
-
# @param [String] user_ip
|
|
816
|
-
# Deprecated. Please use quotaUser instead.
|
|
775
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
776
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
817
777
|
# @param [Google::Apis::RequestOptions] options
|
|
818
778
|
# Request-specific options
|
|
819
779
|
#
|
|
@@ -826,12 +786,11 @@ module Google
|
|
|
826
786
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
827
787
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
828
788
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
829
|
-
def unenroll_enterprise(enterprise_id, fields: nil, quota_user: nil,
|
|
830
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/unenroll', options)
|
|
789
|
+
def unenroll_enterprise(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
790
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/unenroll', options)
|
|
831
791
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
832
792
|
command.query['fields'] = fields unless fields.nil?
|
|
833
793
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
834
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
835
794
|
execute_or_queue_command(command, &block)
|
|
836
795
|
end
|
|
837
796
|
|
|
@@ -845,10 +804,8 @@ module Google
|
|
|
845
804
|
# @param [String] fields
|
|
846
805
|
# Selector specifying which fields to include in a partial response.
|
|
847
806
|
# @param [String] quota_user
|
|
848
|
-
#
|
|
849
|
-
# characters.
|
|
850
|
-
# @param [String] user_ip
|
|
851
|
-
# Deprecated. Please use quotaUser instead.
|
|
807
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
808
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
852
809
|
# @param [Google::Apis::RequestOptions] options
|
|
853
810
|
# Request-specific options
|
|
854
811
|
#
|
|
@@ -861,14 +818,13 @@ module Google
|
|
|
861
818
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
862
819
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
863
820
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
864
|
-
def delete_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil,
|
|
865
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
821
|
+
def delete_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
822
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
866
823
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
867
824
|
command.params['userId'] = user_id unless user_id.nil?
|
|
868
825
|
command.params['entitlementId'] = entitlement_id unless entitlement_id.nil?
|
|
869
826
|
command.query['fields'] = fields unless fields.nil?
|
|
870
827
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
871
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
872
828
|
execute_or_queue_command(command, &block)
|
|
873
829
|
end
|
|
874
830
|
|
|
@@ -882,10 +838,8 @@ module Google
|
|
|
882
838
|
# @param [String] fields
|
|
883
839
|
# Selector specifying which fields to include in a partial response.
|
|
884
840
|
# @param [String] quota_user
|
|
885
|
-
#
|
|
886
|
-
# characters.
|
|
887
|
-
# @param [String] user_ip
|
|
888
|
-
# Deprecated. Please use quotaUser instead.
|
|
841
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
842
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
889
843
|
# @param [Google::Apis::RequestOptions] options
|
|
890
844
|
# Request-specific options
|
|
891
845
|
#
|
|
@@ -898,8 +852,8 @@ module Google
|
|
|
898
852
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
899
853
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
900
854
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
901
|
-
def get_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil,
|
|
902
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
855
|
+
def get_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
856
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
903
857
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
|
904
858
|
command.response_class = Google::Apis::AndroidenterpriseV1::Entitlement
|
|
905
859
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -907,7 +861,6 @@ module Google
|
|
|
907
861
|
command.params['entitlementId'] = entitlement_id unless entitlement_id.nil?
|
|
908
862
|
command.query['fields'] = fields unless fields.nil?
|
|
909
863
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
910
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
911
864
|
execute_or_queue_command(command, &block)
|
|
912
865
|
end
|
|
913
866
|
|
|
@@ -919,10 +872,8 @@ module Google
|
|
|
919
872
|
# @param [String] fields
|
|
920
873
|
# Selector specifying which fields to include in a partial response.
|
|
921
874
|
# @param [String] quota_user
|
|
922
|
-
#
|
|
923
|
-
# characters.
|
|
924
|
-
# @param [String] user_ip
|
|
925
|
-
# Deprecated. Please use quotaUser instead.
|
|
875
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
876
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
926
877
|
# @param [Google::Apis::RequestOptions] options
|
|
927
878
|
# Request-specific options
|
|
928
879
|
#
|
|
@@ -935,15 +886,14 @@ module Google
|
|
|
935
886
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
936
887
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
937
888
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
938
|
-
def list_entitlements(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
939
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements', options)
|
|
889
|
+
def list_entitlements(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
890
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements', options)
|
|
940
891
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse::Representation
|
|
941
892
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
|
|
942
893
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
943
894
|
command.params['userId'] = user_id unless user_id.nil?
|
|
944
895
|
command.query['fields'] = fields unless fields.nil?
|
|
945
896
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
946
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
947
897
|
execute_or_queue_command(command, &block)
|
|
948
898
|
end
|
|
949
899
|
|
|
@@ -957,16 +907,14 @@ module Google
|
|
|
957
907
|
# @param [Google::Apis::AndroidenterpriseV1::Entitlement] entitlement_object
|
|
958
908
|
# @param [Boolean] install
|
|
959
909
|
# Set to true to also install the product on all the user's devices where
|
|
960
|
-
# possible. Failure to install on one or more devices will not prevent
|
|
961
|
-
# operation from returning successfully, as long as the entitlement
|
|
962
|
-
# successfully assigned to the user.
|
|
910
|
+
# possible. Failure to install on one or more devices will not prevent
|
|
911
|
+
# this operation from returning successfully, as long as the entitlement
|
|
912
|
+
# was successfully assigned to the user.
|
|
963
913
|
# @param [String] fields
|
|
964
914
|
# Selector specifying which fields to include in a partial response.
|
|
965
915
|
# @param [String] quota_user
|
|
966
|
-
#
|
|
967
|
-
# characters.
|
|
968
|
-
# @param [String] user_ip
|
|
969
|
-
# Deprecated. Please use quotaUser instead.
|
|
916
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
917
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
970
918
|
# @param [Google::Apis::RequestOptions] options
|
|
971
919
|
# Request-specific options
|
|
972
920
|
#
|
|
@@ -979,8 +927,8 @@ module Google
|
|
|
979
927
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
980
928
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
981
929
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
982
|
-
def update_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil,
|
|
983
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
930
|
+
def update_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
931
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
984
932
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
|
985
933
|
command.request_object = entitlement_object
|
|
986
934
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
|
@@ -991,7 +939,6 @@ module Google
|
|
|
991
939
|
command.query['install'] = install unless install.nil?
|
|
992
940
|
command.query['fields'] = fields unless fields.nil?
|
|
993
941
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
994
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
995
942
|
execute_or_queue_command(command, &block)
|
|
996
943
|
end
|
|
997
944
|
|
|
@@ -999,15 +946,13 @@ module Google
|
|
|
999
946
|
# @param [String] enterprise_id
|
|
1000
947
|
# The ID of the enterprise.
|
|
1001
948
|
# @param [String] group_license_id
|
|
1002
|
-
# The ID of the product the group license is for, e.g.
|
|
1003
|
-
# gm".
|
|
949
|
+
# The ID of the product the group license is for, e.g.
|
|
950
|
+
# "app:com.google.android.gm".
|
|
1004
951
|
# @param [String] fields
|
|
1005
952
|
# Selector specifying which fields to include in a partial response.
|
|
1006
953
|
# @param [String] quota_user
|
|
1007
|
-
#
|
|
1008
|
-
# characters.
|
|
1009
|
-
# @param [String] user_ip
|
|
1010
|
-
# Deprecated. Please use quotaUser instead.
|
|
954
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
955
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1011
956
|
# @param [Google::Apis::RequestOptions] options
|
|
1012
957
|
# Request-specific options
|
|
1013
958
|
#
|
|
@@ -1020,15 +965,14 @@ module Google
|
|
|
1020
965
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1021
966
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1022
967
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1023
|
-
def get_group_license(enterprise_id, group_license_id, fields: nil, quota_user: nil,
|
|
1024
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', options)
|
|
968
|
+
def get_group_license(enterprise_id, group_license_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
969
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', options)
|
|
1025
970
|
command.response_representation = Google::Apis::AndroidenterpriseV1::GroupLicense::Representation
|
|
1026
971
|
command.response_class = Google::Apis::AndroidenterpriseV1::GroupLicense
|
|
1027
972
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1028
973
|
command.params['groupLicenseId'] = group_license_id unless group_license_id.nil?
|
|
1029
974
|
command.query['fields'] = fields unless fields.nil?
|
|
1030
975
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1031
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1032
976
|
execute_or_queue_command(command, &block)
|
|
1033
977
|
end
|
|
1034
978
|
|
|
@@ -1038,10 +982,8 @@ module Google
|
|
|
1038
982
|
# @param [String] fields
|
|
1039
983
|
# Selector specifying which fields to include in a partial response.
|
|
1040
984
|
# @param [String] quota_user
|
|
1041
|
-
#
|
|
1042
|
-
# characters.
|
|
1043
|
-
# @param [String] user_ip
|
|
1044
|
-
# Deprecated. Please use quotaUser instead.
|
|
985
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
986
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1045
987
|
# @param [Google::Apis::RequestOptions] options
|
|
1046
988
|
# Request-specific options
|
|
1047
989
|
#
|
|
@@ -1054,31 +996,28 @@ module Google
|
|
|
1054
996
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1055
997
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1056
998
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1057
|
-
def list_group_licenses(enterprise_id, fields: nil, quota_user: nil,
|
|
1058
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses', options)
|
|
999
|
+
def list_group_licenses(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1000
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses', options)
|
|
1059
1001
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListGroupLicensesResponse::Representation
|
|
1060
1002
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListGroupLicensesResponse
|
|
1061
1003
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1062
1004
|
command.query['fields'] = fields unless fields.nil?
|
|
1063
1005
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1064
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1065
1006
|
execute_or_queue_command(command, &block)
|
|
1066
1007
|
end
|
|
1067
1008
|
|
|
1068
|
-
# Retrieves the IDs of the users who have been granted entitlements
|
|
1069
|
-
# license.
|
|
1009
|
+
# Retrieves the IDs of the users who have been granted entitlements
|
|
1010
|
+
# under the license.
|
|
1070
1011
|
# @param [String] enterprise_id
|
|
1071
1012
|
# The ID of the enterprise.
|
|
1072
1013
|
# @param [String] group_license_id
|
|
1073
|
-
# The ID of the product the group license is for, e.g.
|
|
1074
|
-
# gm".
|
|
1014
|
+
# The ID of the product the group license is for, e.g.
|
|
1015
|
+
# "app:com.google.android.gm".
|
|
1075
1016
|
# @param [String] fields
|
|
1076
1017
|
# Selector specifying which fields to include in a partial response.
|
|
1077
1018
|
# @param [String] quota_user
|
|
1078
|
-
#
|
|
1079
|
-
# characters.
|
|
1080
|
-
# @param [String] user_ip
|
|
1081
|
-
# Deprecated. Please use quotaUser instead.
|
|
1019
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1020
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1082
1021
|
# @param [Google::Apis::RequestOptions] options
|
|
1083
1022
|
# Request-specific options
|
|
1084
1023
|
#
|
|
@@ -1091,20 +1030,20 @@ module Google
|
|
|
1091
1030
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1092
1031
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1093
1032
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1094
|
-
def list_group_license_users(enterprise_id, group_license_id, fields: nil, quota_user: nil,
|
|
1095
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', options)
|
|
1033
|
+
def list_group_license_users(enterprise_id, group_license_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1034
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', options)
|
|
1096
1035
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListGroupLicenseUsersResponse::Representation
|
|
1097
1036
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListGroupLicenseUsersResponse
|
|
1098
1037
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1099
1038
|
command.params['groupLicenseId'] = group_license_id unless group_license_id.nil?
|
|
1100
1039
|
command.query['fields'] = fields unless fields.nil?
|
|
1101
1040
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1102
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1103
1041
|
execute_or_queue_command(command, &block)
|
|
1104
1042
|
end
|
|
1105
1043
|
|
|
1106
|
-
# Requests to remove an app from a device. A call to get or
|
|
1107
|
-
# the app as installed on the device until
|
|
1044
|
+
# Requests to remove an app from a device. A call to <code>get</code> or
|
|
1045
|
+
# <code>list</code> will still show the app as installed on the device until
|
|
1046
|
+
# it is actually removed.
|
|
1108
1047
|
# @param [String] enterprise_id
|
|
1109
1048
|
# The ID of the enterprise.
|
|
1110
1049
|
# @param [String] user_id
|
|
@@ -1112,15 +1051,13 @@ module Google
|
|
|
1112
1051
|
# @param [String] device_id
|
|
1113
1052
|
# The Android ID of the device.
|
|
1114
1053
|
# @param [String] install_id
|
|
1115
|
-
# The ID of the product represented by the install, e.g.
|
|
1116
|
-
# gm".
|
|
1054
|
+
# The ID of the product represented by the install, e.g.
|
|
1055
|
+
# "app:com.google.android.gm".
|
|
1117
1056
|
# @param [String] fields
|
|
1118
1057
|
# Selector specifying which fields to include in a partial response.
|
|
1119
1058
|
# @param [String] quota_user
|
|
1120
|
-
#
|
|
1121
|
-
# characters.
|
|
1122
|
-
# @param [String] user_ip
|
|
1123
|
-
# Deprecated. Please use quotaUser instead.
|
|
1059
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1060
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1124
1061
|
# @param [Google::Apis::RequestOptions] options
|
|
1125
1062
|
# Request-specific options
|
|
1126
1063
|
#
|
|
@@ -1133,15 +1070,14 @@ module Google
|
|
|
1133
1070
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1134
1071
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1135
1072
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1136
|
-
def delete_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil,
|
|
1137
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
1073
|
+
def delete_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1074
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
1138
1075
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1139
1076
|
command.params['userId'] = user_id unless user_id.nil?
|
|
1140
1077
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
1141
1078
|
command.params['installId'] = install_id unless install_id.nil?
|
|
1142
1079
|
command.query['fields'] = fields unless fields.nil?
|
|
1143
1080
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1144
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1145
1081
|
execute_or_queue_command(command, &block)
|
|
1146
1082
|
end
|
|
1147
1083
|
|
|
@@ -1153,15 +1089,13 @@ module Google
|
|
|
1153
1089
|
# @param [String] device_id
|
|
1154
1090
|
# The Android ID of the device.
|
|
1155
1091
|
# @param [String] install_id
|
|
1156
|
-
# The ID of the product represented by the install, e.g.
|
|
1157
|
-
# gm".
|
|
1092
|
+
# The ID of the product represented by the install, e.g.
|
|
1093
|
+
# "app:com.google.android.gm".
|
|
1158
1094
|
# @param [String] fields
|
|
1159
1095
|
# Selector specifying which fields to include in a partial response.
|
|
1160
1096
|
# @param [String] quota_user
|
|
1161
|
-
#
|
|
1162
|
-
# characters.
|
|
1163
|
-
# @param [String] user_ip
|
|
1164
|
-
# Deprecated. Please use quotaUser instead.
|
|
1097
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1098
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1165
1099
|
# @param [Google::Apis::RequestOptions] options
|
|
1166
1100
|
# Request-specific options
|
|
1167
1101
|
#
|
|
@@ -1174,8 +1108,8 @@ module Google
|
|
|
1174
1108
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1175
1109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1176
1110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1177
|
-
def get_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil,
|
|
1178
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
1111
|
+
def get_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1112
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
1179
1113
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
|
1180
1114
|
command.response_class = Google::Apis::AndroidenterpriseV1::Install
|
|
1181
1115
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1184,7 +1118,6 @@ module Google
|
|
|
1184
1118
|
command.params['installId'] = install_id unless install_id.nil?
|
|
1185
1119
|
command.query['fields'] = fields unless fields.nil?
|
|
1186
1120
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1187
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1188
1121
|
execute_or_queue_command(command, &block)
|
|
1189
1122
|
end
|
|
1190
1123
|
|
|
@@ -1198,10 +1131,8 @@ module Google
|
|
|
1198
1131
|
# @param [String] fields
|
|
1199
1132
|
# Selector specifying which fields to include in a partial response.
|
|
1200
1133
|
# @param [String] quota_user
|
|
1201
|
-
#
|
|
1202
|
-
# characters.
|
|
1203
|
-
# @param [String] user_ip
|
|
1204
|
-
# Deprecated. Please use quotaUser instead.
|
|
1134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1205
1136
|
# @param [Google::Apis::RequestOptions] options
|
|
1206
1137
|
# Request-specific options
|
|
1207
1138
|
#
|
|
@@ -1214,8 +1145,8 @@ module Google
|
|
|
1214
1145
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1215
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1216
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1217
|
-
def list_installs(enterprise_id, user_id, device_id, fields: nil, quota_user: nil,
|
|
1218
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', options)
|
|
1148
|
+
def list_installs(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1149
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', options)
|
|
1219
1150
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListInstallsResponse::Representation
|
|
1220
1151
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListInstallsResponse
|
|
1221
1152
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1223,12 +1154,12 @@ module Google
|
|
|
1223
1154
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
1224
1155
|
command.query['fields'] = fields unless fields.nil?
|
|
1225
1156
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1226
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1227
1157
|
execute_or_queue_command(command, &block)
|
|
1228
1158
|
end
|
|
1229
1159
|
|
|
1230
|
-
# Requests to install the latest version of an app to a device. If the app
|
|
1231
|
-
# already installed, then it is updated to the latest version if
|
|
1160
|
+
# Requests to install the latest version of an app to a device. If the app
|
|
1161
|
+
# is already installed, then it is updated to the latest version if
|
|
1162
|
+
# necessary.
|
|
1232
1163
|
# @param [String] enterprise_id
|
|
1233
1164
|
# The ID of the enterprise.
|
|
1234
1165
|
# @param [String] user_id
|
|
@@ -1236,16 +1167,14 @@ module Google
|
|
|
1236
1167
|
# @param [String] device_id
|
|
1237
1168
|
# The Android ID of the device.
|
|
1238
1169
|
# @param [String] install_id
|
|
1239
|
-
# The ID of the product represented by the install, e.g.
|
|
1240
|
-
# gm".
|
|
1170
|
+
# The ID of the product represented by the install, e.g.
|
|
1171
|
+
# "app:com.google.android.gm".
|
|
1241
1172
|
# @param [Google::Apis::AndroidenterpriseV1::Install] install_object
|
|
1242
1173
|
# @param [String] fields
|
|
1243
1174
|
# Selector specifying which fields to include in a partial response.
|
|
1244
1175
|
# @param [String] quota_user
|
|
1245
|
-
#
|
|
1246
|
-
# characters.
|
|
1247
|
-
# @param [String] user_ip
|
|
1248
|
-
# Deprecated. Please use quotaUser instead.
|
|
1176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1249
1178
|
# @param [Google::Apis::RequestOptions] options
|
|
1250
1179
|
# Request-specific options
|
|
1251
1180
|
#
|
|
@@ -1258,8 +1187,8 @@ module Google
|
|
|
1258
1187
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1259
1188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1260
1189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1261
|
-
def update_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil,
|
|
1262
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
1190
|
+
def update_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1191
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
1263
1192
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
|
1264
1193
|
command.request_object = install_object
|
|
1265
1194
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
|
@@ -1270,11 +1199,11 @@ module Google
|
|
|
1270
1199
|
command.params['installId'] = install_id unless install_id.nil?
|
|
1271
1200
|
command.query['fields'] = fields unless fields.nil?
|
|
1272
1201
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1273
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1274
1202
|
execute_or_queue_command(command, &block)
|
|
1275
1203
|
end
|
|
1276
1204
|
|
|
1277
|
-
# Removes a per-device managed configuration for an app for the specified
|
|
1205
|
+
# Removes a per-device managed configuration for an app for the specified
|
|
1206
|
+
# device.
|
|
1278
1207
|
# @param [String] enterprise_id
|
|
1279
1208
|
# The ID of the enterprise.
|
|
1280
1209
|
# @param [String] user_id
|
|
@@ -1282,15 +1211,13 @@ module Google
|
|
|
1282
1211
|
# @param [String] device_id
|
|
1283
1212
|
# The Android ID of the device.
|
|
1284
1213
|
# @param [String] managed_configuration_for_device_id
|
|
1285
|
-
# The ID of the managed configuration (a product ID), e.g.
|
|
1286
|
-
# android.gm".
|
|
1214
|
+
# The ID of the managed configuration (a product ID), e.g.
|
|
1215
|
+
# "app:com.google.android.gm".
|
|
1287
1216
|
# @param [String] fields
|
|
1288
1217
|
# Selector specifying which fields to include in a partial response.
|
|
1289
1218
|
# @param [String] quota_user
|
|
1290
|
-
#
|
|
1291
|
-
# characters.
|
|
1292
|
-
# @param [String] user_ip
|
|
1293
|
-
# Deprecated. Please use quotaUser instead.
|
|
1219
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1220
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1294
1221
|
# @param [Google::Apis::RequestOptions] options
|
|
1295
1222
|
# Request-specific options
|
|
1296
1223
|
#
|
|
@@ -1303,15 +1230,14 @@ module Google
|
|
|
1303
1230
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1304
1231
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1305
1232
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1306
|
-
def delete_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil,
|
|
1307
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
1233
|
+
def delete_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1234
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
1308
1235
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1309
1236
|
command.params['userId'] = user_id unless user_id.nil?
|
|
1310
1237
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
1311
1238
|
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_id.nil?
|
|
1312
1239
|
command.query['fields'] = fields unless fields.nil?
|
|
1313
1240
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1314
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1315
1241
|
execute_or_queue_command(command, &block)
|
|
1316
1242
|
end
|
|
1317
1243
|
|
|
@@ -1323,15 +1249,13 @@ module Google
|
|
|
1323
1249
|
# @param [String] device_id
|
|
1324
1250
|
# The Android ID of the device.
|
|
1325
1251
|
# @param [String] managed_configuration_for_device_id
|
|
1326
|
-
# The ID of the managed configuration (a product ID), e.g.
|
|
1327
|
-
# android.gm".
|
|
1252
|
+
# The ID of the managed configuration (a product ID), e.g.
|
|
1253
|
+
# "app:com.google.android.gm".
|
|
1328
1254
|
# @param [String] fields
|
|
1329
1255
|
# Selector specifying which fields to include in a partial response.
|
|
1330
1256
|
# @param [String] quota_user
|
|
1331
|
-
#
|
|
1332
|
-
# characters.
|
|
1333
|
-
# @param [String] user_ip
|
|
1334
|
-
# Deprecated. Please use quotaUser instead.
|
|
1257
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1258
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1335
1259
|
# @param [Google::Apis::RequestOptions] options
|
|
1336
1260
|
# Request-specific options
|
|
1337
1261
|
#
|
|
@@ -1344,8 +1268,8 @@ module Google
|
|
|
1344
1268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1345
1269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1346
1270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1347
|
-
def get_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil,
|
|
1348
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
1271
|
+
def get_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1272
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
1349
1273
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
1350
1274
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
|
1351
1275
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1354,12 +1278,11 @@ module Google
|
|
|
1354
1278
|
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_id.nil?
|
|
1355
1279
|
command.query['fields'] = fields unless fields.nil?
|
|
1356
1280
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1357
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1358
1281
|
execute_or_queue_command(command, &block)
|
|
1359
1282
|
end
|
|
1360
1283
|
|
|
1361
|
-
# Lists all the per-device managed configurations for the specified device.
|
|
1362
|
-
# the ID is set.
|
|
1284
|
+
# Lists all the per-device managed configurations for the specified device.
|
|
1285
|
+
# Only the ID is set.
|
|
1363
1286
|
# @param [String] enterprise_id
|
|
1364
1287
|
# The ID of the enterprise.
|
|
1365
1288
|
# @param [String] user_id
|
|
@@ -1369,10 +1292,8 @@ module Google
|
|
|
1369
1292
|
# @param [String] fields
|
|
1370
1293
|
# Selector specifying which fields to include in a partial response.
|
|
1371
1294
|
# @param [String] quota_user
|
|
1372
|
-
#
|
|
1373
|
-
# characters.
|
|
1374
|
-
# @param [String] user_ip
|
|
1375
|
-
# Deprecated. Please use quotaUser instead.
|
|
1295
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1296
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1376
1297
|
# @param [Google::Apis::RequestOptions] options
|
|
1377
1298
|
# Request-specific options
|
|
1378
1299
|
#
|
|
@@ -1385,8 +1306,8 @@ module Google
|
|
|
1385
1306
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1386
1307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1387
1308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1388
|
-
def list_managedconfigurationsfordevices(enterprise_id, user_id, device_id, fields: nil, quota_user: nil,
|
|
1389
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', options)
|
|
1309
|
+
def list_managedconfigurationsfordevices(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1310
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', options)
|
|
1390
1311
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse::Representation
|
|
1391
1312
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse
|
|
1392
1313
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1394,7 +1315,6 @@ module Google
|
|
|
1394
1315
|
command.params['deviceId'] = device_id unless device_id.nil?
|
|
1395
1316
|
command.query['fields'] = fields unless fields.nil?
|
|
1396
1317
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1397
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1398
1318
|
execute_or_queue_command(command, &block)
|
|
1399
1319
|
end
|
|
1400
1320
|
|
|
@@ -1407,16 +1327,14 @@ module Google
|
|
|
1407
1327
|
# @param [String] device_id
|
|
1408
1328
|
# The Android ID of the device.
|
|
1409
1329
|
# @param [String] managed_configuration_for_device_id
|
|
1410
|
-
# The ID of the managed configuration (a product ID), e.g.
|
|
1411
|
-
# android.gm".
|
|
1330
|
+
# The ID of the managed configuration (a product ID), e.g.
|
|
1331
|
+
# "app:com.google.android.gm".
|
|
1412
1332
|
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_object
|
|
1413
1333
|
# @param [String] fields
|
|
1414
1334
|
# Selector specifying which fields to include in a partial response.
|
|
1415
1335
|
# @param [String] quota_user
|
|
1416
|
-
#
|
|
1417
|
-
# characters.
|
|
1418
|
-
# @param [String] user_ip
|
|
1419
|
-
# Deprecated. Please use quotaUser instead.
|
|
1336
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1337
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1420
1338
|
# @param [Google::Apis::RequestOptions] options
|
|
1421
1339
|
# Request-specific options
|
|
1422
1340
|
#
|
|
@@ -1429,8 +1347,8 @@ module Google
|
|
|
1429
1347
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1430
1348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1431
1349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1432
|
-
def update_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil,
|
|
1433
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
1350
|
+
def update_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1351
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
1434
1352
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
1435
1353
|
command.request_object = managed_configuration_object
|
|
1436
1354
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
@@ -1441,7 +1359,6 @@ module Google
|
|
|
1441
1359
|
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_id.nil?
|
|
1442
1360
|
command.query['fields'] = fields unless fields.nil?
|
|
1443
1361
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1444
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1445
1362
|
execute_or_queue_command(command, &block)
|
|
1446
1363
|
end
|
|
1447
1364
|
|
|
@@ -1451,15 +1368,13 @@ module Google
|
|
|
1451
1368
|
# @param [String] user_id
|
|
1452
1369
|
# The ID of the user.
|
|
1453
1370
|
# @param [String] managed_configuration_for_user_id
|
|
1454
|
-
# The ID of the managed configuration (a product ID), e.g.
|
|
1455
|
-
# android.gm".
|
|
1371
|
+
# The ID of the managed configuration (a product ID), e.g.
|
|
1372
|
+
# "app:com.google.android.gm".
|
|
1456
1373
|
# @param [String] fields
|
|
1457
1374
|
# Selector specifying which fields to include in a partial response.
|
|
1458
1375
|
# @param [String] quota_user
|
|
1459
|
-
#
|
|
1460
|
-
# characters.
|
|
1461
|
-
# @param [String] user_ip
|
|
1462
|
-
# Deprecated. Please use quotaUser instead.
|
|
1376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1463
1378
|
# @param [Google::Apis::RequestOptions] options
|
|
1464
1379
|
# Request-specific options
|
|
1465
1380
|
#
|
|
@@ -1472,14 +1387,13 @@ module Google
|
|
|
1472
1387
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1473
1388
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1474
1389
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1475
|
-
def delete_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil,
|
|
1476
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
1390
|
+
def delete_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1391
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
1477
1392
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1478
1393
|
command.params['userId'] = user_id unless user_id.nil?
|
|
1479
1394
|
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_id.nil?
|
|
1480
1395
|
command.query['fields'] = fields unless fields.nil?
|
|
1481
1396
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1482
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1483
1397
|
execute_or_queue_command(command, &block)
|
|
1484
1398
|
end
|
|
1485
1399
|
|
|
@@ -1490,15 +1404,13 @@ module Google
|
|
|
1490
1404
|
# @param [String] user_id
|
|
1491
1405
|
# The ID of the user.
|
|
1492
1406
|
# @param [String] managed_configuration_for_user_id
|
|
1493
|
-
# The ID of the managed configuration (a product ID), e.g.
|
|
1494
|
-
# android.gm".
|
|
1407
|
+
# The ID of the managed configuration (a product ID), e.g.
|
|
1408
|
+
# "app:com.google.android.gm".
|
|
1495
1409
|
# @param [String] fields
|
|
1496
1410
|
# Selector specifying which fields to include in a partial response.
|
|
1497
1411
|
# @param [String] quota_user
|
|
1498
|
-
#
|
|
1499
|
-
# characters.
|
|
1500
|
-
# @param [String] user_ip
|
|
1501
|
-
# Deprecated. Please use quotaUser instead.
|
|
1412
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1413
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1502
1414
|
# @param [Google::Apis::RequestOptions] options
|
|
1503
1415
|
# Request-specific options
|
|
1504
1416
|
#
|
|
@@ -1511,8 +1423,8 @@ module Google
|
|
|
1511
1423
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1512
1424
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1513
1425
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1514
|
-
def get_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil,
|
|
1515
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
1426
|
+
def get_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1427
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
1516
1428
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
1517
1429
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
|
1518
1430
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1520,12 +1432,11 @@ module Google
|
|
|
1520
1432
|
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_id.nil?
|
|
1521
1433
|
command.query['fields'] = fields unless fields.nil?
|
|
1522
1434
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1523
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1524
1435
|
execute_or_queue_command(command, &block)
|
|
1525
1436
|
end
|
|
1526
1437
|
|
|
1527
|
-
# Lists all the per-user managed configurations for the specified user. Only
|
|
1528
|
-
# ID is set.
|
|
1438
|
+
# Lists all the per-user managed configurations for the specified user. Only
|
|
1439
|
+
# the ID is set.
|
|
1529
1440
|
# @param [String] enterprise_id
|
|
1530
1441
|
# The ID of the enterprise.
|
|
1531
1442
|
# @param [String] user_id
|
|
@@ -1533,10 +1444,8 @@ module Google
|
|
|
1533
1444
|
# @param [String] fields
|
|
1534
1445
|
# Selector specifying which fields to include in a partial response.
|
|
1535
1446
|
# @param [String] quota_user
|
|
1536
|
-
#
|
|
1537
|
-
# characters.
|
|
1538
|
-
# @param [String] user_ip
|
|
1539
|
-
# Deprecated. Please use quotaUser instead.
|
|
1447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1540
1449
|
# @param [Google::Apis::RequestOptions] options
|
|
1541
1450
|
# Request-specific options
|
|
1542
1451
|
#
|
|
@@ -1549,38 +1458,42 @@ module Google
|
|
|
1549
1458
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1550
1459
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1551
1460
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1552
|
-
def list_managedconfigurationsforusers(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
1553
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', options)
|
|
1461
|
+
def list_managedconfigurationsforusers(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1462
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', options)
|
|
1554
1463
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse::Representation
|
|
1555
1464
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse
|
|
1556
1465
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1557
1466
|
command.params['userId'] = user_id unless user_id.nil?
|
|
1558
1467
|
command.query['fields'] = fields unless fields.nil?
|
|
1559
1468
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1560
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1561
1469
|
execute_or_queue_command(command, &block)
|
|
1562
1470
|
end
|
|
1563
1471
|
|
|
1564
1472
|
# Adds or updates the managed configuration settings for an app for the
|
|
1565
|
-
# specified user.
|
|
1566
|
-
#
|
|
1567
|
-
#
|
|
1568
|
-
#
|
|
1473
|
+
# specified user.
|
|
1474
|
+
# If you support the <a
|
|
1475
|
+
# href="https://developers.google.com/android/work/play/emm-api/managed-
|
|
1476
|
+
# configurations-iframe">Managed
|
|
1477
|
+
# configurations iframe</a>,
|
|
1478
|
+
# you can apply managed configurations to a user by specifying an
|
|
1479
|
+
# <code>mcmId</code>
|
|
1480
|
+
# and its associated configuration variables (if any) in the request.
|
|
1481
|
+
# Alternatively,
|
|
1482
|
+
# all EMMs can apply managed configurations by passing a list of managed
|
|
1483
|
+
# properties.
|
|
1569
1484
|
# @param [String] enterprise_id
|
|
1570
1485
|
# The ID of the enterprise.
|
|
1571
1486
|
# @param [String] user_id
|
|
1572
1487
|
# The ID of the user.
|
|
1573
1488
|
# @param [String] managed_configuration_for_user_id
|
|
1574
|
-
# The ID of the managed configuration (a product ID), e.g.
|
|
1575
|
-
# android.gm".
|
|
1489
|
+
# The ID of the managed configuration (a product ID), e.g.
|
|
1490
|
+
# "app:com.google.android.gm".
|
|
1576
1491
|
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_object
|
|
1577
1492
|
# @param [String] fields
|
|
1578
1493
|
# Selector specifying which fields to include in a partial response.
|
|
1579
1494
|
# @param [String] quota_user
|
|
1580
|
-
#
|
|
1581
|
-
# characters.
|
|
1582
|
-
# @param [String] user_ip
|
|
1583
|
-
# Deprecated. Please use quotaUser instead.
|
|
1495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1584
1497
|
# @param [Google::Apis::RequestOptions] options
|
|
1585
1498
|
# Request-specific options
|
|
1586
1499
|
#
|
|
@@ -1593,8 +1506,8 @@ module Google
|
|
|
1593
1506
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1594
1507
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1595
1508
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1596
|
-
def update_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil,
|
|
1597
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
1509
|
+
def update_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1510
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
1598
1511
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
1599
1512
|
command.request_object = managed_configuration_object
|
|
1600
1513
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
@@ -1604,7 +1517,6 @@ module Google
|
|
|
1604
1517
|
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_id.nil?
|
|
1605
1518
|
command.query['fields'] = fields unless fields.nil?
|
|
1606
1519
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1607
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1608
1520
|
execute_or_queue_command(command, &block)
|
|
1609
1521
|
end
|
|
1610
1522
|
|
|
@@ -1612,14 +1524,13 @@ module Google
|
|
|
1612
1524
|
# @param [String] enterprise_id
|
|
1613
1525
|
# The ID of the enterprise.
|
|
1614
1526
|
# @param [String] product_id
|
|
1615
|
-
# The ID of the product for which the managed configurations settings applies
|
|
1527
|
+
# The ID of the product for which the managed configurations settings applies
|
|
1528
|
+
# to.
|
|
1616
1529
|
# @param [String] fields
|
|
1617
1530
|
# Selector specifying which fields to include in a partial response.
|
|
1618
1531
|
# @param [String] quota_user
|
|
1619
|
-
#
|
|
1620
|
-
# characters.
|
|
1621
|
-
# @param [String] user_ip
|
|
1622
|
-
# Deprecated. Please use quotaUser instead.
|
|
1532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1623
1534
|
# @param [Google::Apis::RequestOptions] options
|
|
1624
1535
|
# Request-specific options
|
|
1625
1536
|
#
|
|
@@ -1632,15 +1543,14 @@ module Google
|
|
|
1632
1543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1633
1544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1634
1545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1635
|
-
def list_managedconfigurationssettings(enterprise_id, product_id, fields: nil, quota_user: nil,
|
|
1636
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
|
|
1546
|
+
def list_managedconfigurationssettings(enterprise_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1547
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
|
|
1637
1548
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse::Representation
|
|
1638
1549
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse
|
|
1639
1550
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1640
1551
|
command.params['productId'] = product_id unless product_id.nil?
|
|
1641
1552
|
command.query['fields'] = fields unless fields.nil?
|
|
1642
1553
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1643
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1644
1554
|
execute_or_queue_command(command, &block)
|
|
1645
1555
|
end
|
|
1646
1556
|
|
|
@@ -1653,10 +1563,8 @@ module Google
|
|
|
1653
1563
|
# @param [String] fields
|
|
1654
1564
|
# Selector specifying which fields to include in a partial response.
|
|
1655
1565
|
# @param [String] quota_user
|
|
1656
|
-
#
|
|
1657
|
-
# characters.
|
|
1658
|
-
# @param [String] user_ip
|
|
1659
|
-
# Deprecated. Please use quotaUser instead.
|
|
1566
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1567
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1660
1568
|
# @param [Google::Apis::RequestOptions] options
|
|
1661
1569
|
# Request-specific options
|
|
1662
1570
|
#
|
|
@@ -1669,23 +1577,24 @@ module Google
|
|
|
1669
1577
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1670
1578
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1671
1579
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1672
|
-
def get_permission(permission_id, language: nil, fields: nil, quota_user: nil,
|
|
1673
|
-
command = make_simple_command(:get, 'permissions/{permissionId}', options)
|
|
1580
|
+
def get_permission(permission_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1581
|
+
command = make_simple_command(:get, 'androidenterprise/v1/permissions/{permissionId}', options)
|
|
1674
1582
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Permission::Representation
|
|
1675
1583
|
command.response_class = Google::Apis::AndroidenterpriseV1::Permission
|
|
1676
1584
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
|
1677
1585
|
command.query['language'] = language unless language.nil?
|
|
1678
1586
|
command.query['fields'] = fields unless fields.nil?
|
|
1679
1587
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1680
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1681
1588
|
execute_or_queue_command(command, &block)
|
|
1682
1589
|
end
|
|
1683
1590
|
|
|
1684
|
-
# Approves the specified product and the relevant app permissions, if any.
|
|
1685
|
-
# maximum number of products that you can approve per enterprise customer
|
|
1686
|
-
# 000
|
|
1687
|
-
# To learn how to use managed Google Play to design and create a store
|
|
1688
|
-
# display approved products to your users,
|
|
1591
|
+
# <p>Approves the specified product and the relevant app permissions, if any.
|
|
1592
|
+
# The maximum number of products that you can approve per enterprise customer
|
|
1593
|
+
# is 1,000.</p>
|
|
1594
|
+
# <p>To learn how to use managed Google Play to design and create a store
|
|
1595
|
+
# layout to display approved products to your users,
|
|
1596
|
+
# see <a href="/android/work/play/emm-api/store-layout">Store Layout
|
|
1597
|
+
# Design</a>.</p>
|
|
1689
1598
|
# @param [String] enterprise_id
|
|
1690
1599
|
# The ID of the enterprise.
|
|
1691
1600
|
# @param [String] product_id
|
|
@@ -1694,10 +1603,8 @@ module Google
|
|
|
1694
1603
|
# @param [String] fields
|
|
1695
1604
|
# Selector specifying which fields to include in a partial response.
|
|
1696
1605
|
# @param [String] quota_user
|
|
1697
|
-
#
|
|
1698
|
-
# characters.
|
|
1699
|
-
# @param [String] user_ip
|
|
1700
|
-
# Deprecated. Please use quotaUser instead.
|
|
1606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1701
1608
|
# @param [Google::Apis::RequestOptions] options
|
|
1702
1609
|
# Request-specific options
|
|
1703
1610
|
#
|
|
@@ -1710,40 +1617,39 @@ module Google
|
|
|
1710
1617
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1711
1618
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1712
1619
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1713
|
-
def approve_product(enterprise_id, product_id, approve_product_request_object = nil, fields: nil, quota_user: nil,
|
|
1714
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/approve', options)
|
|
1620
|
+
def approve_product(enterprise_id, product_id, approve_product_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1621
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve', options)
|
|
1715
1622
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ApproveProductRequest::Representation
|
|
1716
1623
|
command.request_object = approve_product_request_object
|
|
1717
1624
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1718
1625
|
command.params['productId'] = product_id unless product_id.nil?
|
|
1719
1626
|
command.query['fields'] = fields unless fields.nil?
|
|
1720
1627
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1721
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1722
1628
|
execute_or_queue_command(command, &block)
|
|
1723
1629
|
end
|
|
1724
1630
|
|
|
1725
|
-
# Generates a URL that can be rendered in an iframe to display the
|
|
1726
|
-
# if any) of a product. An enterprise admin must view these
|
|
1727
|
-
# accept them on behalf of their organization in order to
|
|
1728
|
-
#
|
|
1729
|
-
#
|
|
1730
|
-
#
|
|
1731
|
-
#
|
|
1732
|
-
#
|
|
1631
|
+
# Generates a URL that can be rendered in an iframe to display the
|
|
1632
|
+
# permissions (if any) of a product. An enterprise admin must view these
|
|
1633
|
+
# permissions and accept them on behalf of their organization in order to
|
|
1634
|
+
# approve that product. <br><br>
|
|
1635
|
+
# Admins should accept the displayed permissions by
|
|
1636
|
+
# interacting with a separate UI element in the EMM console, which in turn
|
|
1637
|
+
# should trigger the use of this URL as the
|
|
1638
|
+
# <code>approvalUrlInfo.approvalUrl</code> property in a
|
|
1639
|
+
# <code>Products.approve</code> call to approve the product.
|
|
1640
|
+
# This URL can only be used to display permissions for up to 1 day.
|
|
1733
1641
|
# @param [String] enterprise_id
|
|
1734
1642
|
# The ID of the enterprise.
|
|
1735
1643
|
# @param [String] product_id
|
|
1736
1644
|
# The ID of the product.
|
|
1737
1645
|
# @param [String] language_code
|
|
1738
|
-
# The BCP 47 language code used for permission names and descriptions in
|
|
1739
|
-
# returned iframe, for instance "en-US".
|
|
1646
|
+
# The BCP 47 language code used for permission names and descriptions in
|
|
1647
|
+
# the returned iframe, for instance "en-US".
|
|
1740
1648
|
# @param [String] fields
|
|
1741
1649
|
# Selector specifying which fields to include in a partial response.
|
|
1742
1650
|
# @param [String] quota_user
|
|
1743
|
-
#
|
|
1744
|
-
# characters.
|
|
1745
|
-
# @param [String] user_ip
|
|
1746
|
-
# Deprecated. Please use quotaUser instead.
|
|
1651
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1652
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1747
1653
|
# @param [Google::Apis::RequestOptions] options
|
|
1748
1654
|
# Request-specific options
|
|
1749
1655
|
#
|
|
@@ -1756,8 +1662,8 @@ module Google
|
|
|
1756
1662
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1757
1663
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1758
1664
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1759
|
-
def generate_product_approval_url(enterprise_id, product_id, language_code: nil, fields: nil, quota_user: nil,
|
|
1760
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', options)
|
|
1665
|
+
def generate_product_approval_url(enterprise_id, product_id, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1666
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', options)
|
|
1761
1667
|
command.response_representation = Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse::Representation
|
|
1762
1668
|
command.response_class = Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse
|
|
1763
1669
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1765,7 +1671,6 @@ module Google
|
|
|
1765
1671
|
command.query['languageCode'] = language_code unless language_code.nil?
|
|
1766
1672
|
command.query['fields'] = fields unless fields.nil?
|
|
1767
1673
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1768
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1769
1674
|
execute_or_queue_command(command, &block)
|
|
1770
1675
|
end
|
|
1771
1676
|
|
|
@@ -1779,10 +1684,8 @@ module Google
|
|
|
1779
1684
|
# @param [String] fields
|
|
1780
1685
|
# Selector specifying which fields to include in a partial response.
|
|
1781
1686
|
# @param [String] quota_user
|
|
1782
|
-
#
|
|
1783
|
-
# characters.
|
|
1784
|
-
# @param [String] user_ip
|
|
1785
|
-
# Deprecated. Please use quotaUser instead.
|
|
1687
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1688
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1786
1689
|
# @param [Google::Apis::RequestOptions] options
|
|
1787
1690
|
# Request-specific options
|
|
1788
1691
|
#
|
|
@@ -1795,8 +1698,8 @@ module Google
|
|
|
1795
1698
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1796
1699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1797
1700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1798
|
-
def get_product(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil,
|
|
1799
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}', options)
|
|
1701
|
+
def get_product(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1702
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}', options)
|
|
1800
1703
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Product::Representation
|
|
1801
1704
|
command.response_class = Google::Apis::AndroidenterpriseV1::Product
|
|
1802
1705
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1804,16 +1707,17 @@ module Google
|
|
|
1804
1707
|
command.query['language'] = language unless language.nil?
|
|
1805
1708
|
command.query['fields'] = fields unless fields.nil?
|
|
1806
1709
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1807
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1808
1710
|
execute_or_queue_command(command, &block)
|
|
1809
1711
|
end
|
|
1810
1712
|
|
|
1811
|
-
# Retrieves the schema that defines the configurable properties for this
|
|
1812
|
-
# All products have a schema, but this schema may be empty if no
|
|
1813
|
-
# configurations have been defined. This schema can be used to
|
|
1814
|
-
# that allows an admin to configure the product.
|
|
1815
|
-
# configuration based on the schema obtained using this
|
|
1816
|
-
#
|
|
1713
|
+
# Retrieves the schema that defines the configurable properties for this
|
|
1714
|
+
# product. All products have a schema, but this schema may be empty if no
|
|
1715
|
+
# managed configurations have been defined. This schema can be used to
|
|
1716
|
+
# populate a UI that allows an admin to configure the product.
|
|
1717
|
+
# To apply a managed configuration based on the schema obtained using this
|
|
1718
|
+
# API, see
|
|
1719
|
+
# <a href="/android/work/play/emm-api/managed-configurations">Managed
|
|
1720
|
+
# Configurations through Play</a>.
|
|
1817
1721
|
# @param [String] enterprise_id
|
|
1818
1722
|
# The ID of the enterprise.
|
|
1819
1723
|
# @param [String] product_id
|
|
@@ -1823,10 +1727,8 @@ module Google
|
|
|
1823
1727
|
# @param [String] fields
|
|
1824
1728
|
# Selector specifying which fields to include in a partial response.
|
|
1825
1729
|
# @param [String] quota_user
|
|
1826
|
-
#
|
|
1827
|
-
# characters.
|
|
1828
|
-
# @param [String] user_ip
|
|
1829
|
-
# Deprecated. Please use quotaUser instead.
|
|
1730
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1731
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1830
1732
|
# @param [Google::Apis::RequestOptions] options
|
|
1831
1733
|
# Request-specific options
|
|
1832
1734
|
#
|
|
@@ -1839,8 +1741,8 @@ module Google
|
|
|
1839
1741
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1840
1742
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1841
1743
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1842
|
-
def get_product_app_restrictions_schema(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil,
|
|
1843
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', options)
|
|
1744
|
+
def get_product_app_restrictions_schema(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1745
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', options)
|
|
1844
1746
|
command.response_representation = Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema::Representation
|
|
1845
1747
|
command.response_class = Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
|
|
1846
1748
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1848,7 +1750,6 @@ module Google
|
|
|
1848
1750
|
command.query['language'] = language unless language.nil?
|
|
1849
1751
|
command.query['fields'] = fields unless fields.nil?
|
|
1850
1752
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1851
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1852
1753
|
execute_or_queue_command(command, &block)
|
|
1853
1754
|
end
|
|
1854
1755
|
|
|
@@ -1860,10 +1761,8 @@ module Google
|
|
|
1860
1761
|
# @param [String] fields
|
|
1861
1762
|
# Selector specifying which fields to include in a partial response.
|
|
1862
1763
|
# @param [String] quota_user
|
|
1863
|
-
#
|
|
1864
|
-
# characters.
|
|
1865
|
-
# @param [String] user_ip
|
|
1866
|
-
# Deprecated. Please use quotaUser instead.
|
|
1764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1867
1766
|
# @param [Google::Apis::RequestOptions] options
|
|
1868
1767
|
# Request-specific options
|
|
1869
1768
|
#
|
|
@@ -1876,48 +1775,46 @@ module Google
|
|
|
1876
1775
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1877
1776
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1878
1777
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1879
|
-
def get_product_permissions(enterprise_id, product_id, fields: nil, quota_user: nil,
|
|
1880
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/permissions', options)
|
|
1778
|
+
def get_product_permissions(enterprise_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1779
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/permissions', options)
|
|
1881
1780
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductPermissions::Representation
|
|
1882
1781
|
command.response_class = Google::Apis::AndroidenterpriseV1::ProductPermissions
|
|
1883
1782
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1884
1783
|
command.params['productId'] = product_id unless product_id.nil?
|
|
1885
1784
|
command.query['fields'] = fields unless fields.nil?
|
|
1886
1785
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1887
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1888
1786
|
execute_or_queue_command(command, &block)
|
|
1889
1787
|
end
|
|
1890
1788
|
|
|
1891
|
-
# Finds approved products that match a query, or all approved products
|
|
1892
|
-
# is no query.
|
|
1789
|
+
# Finds approved products that match a query, or all approved products
|
|
1790
|
+
# if there is no query.
|
|
1893
1791
|
# @param [String] enterprise_id
|
|
1894
1792
|
# The ID of the enterprise.
|
|
1895
1793
|
# @param [Boolean] approved
|
|
1896
|
-
# Specifies whether to search among all products (false) or among
|
|
1897
|
-
# that have been approved (true). Only "true" is
|
|
1898
|
-
# specified.
|
|
1794
|
+
# Specifies whether to search among all products (false) or among
|
|
1795
|
+
# only products that have been approved (true). Only "true" is
|
|
1796
|
+
# supported, and should be specified.
|
|
1899
1797
|
# @param [String] language
|
|
1900
|
-
# The BCP47 tag for the user's preferred language (e.g. "en-US", "de").
|
|
1901
|
-
# are returned in the language best matching the preferred
|
|
1798
|
+
# The BCP47 tag for the user's preferred language (e.g. "en-US", "de").
|
|
1799
|
+
# Results are returned in the language best matching the preferred
|
|
1800
|
+
# language.
|
|
1902
1801
|
# @param [Fixnum] max_results
|
|
1903
|
-
#
|
|
1904
|
-
#
|
|
1905
|
-
# retrievable within a single response.
|
|
1802
|
+
# Defines how many results the list operation should return.
|
|
1803
|
+
# The default number depends on the resource collection.
|
|
1906
1804
|
# @param [String] query
|
|
1907
|
-
# The search query as typed in the Google Play store search box.
|
|
1908
|
-
# approved apps will be returned (using the pagination
|
|
1909
|
-
# apps that are not available in the store
|
|
1805
|
+
# The search query as typed in the Google Play store search box.
|
|
1806
|
+
# If omitted, all approved apps will be returned (using the pagination
|
|
1807
|
+
# parameters), including apps that are not available in the store
|
|
1808
|
+
# (e.g. unpublished apps).
|
|
1910
1809
|
# @param [String] token
|
|
1911
|
-
#
|
|
1912
|
-
#
|
|
1913
|
-
#
|
|
1810
|
+
# Defines the token of the page to return, usually taken from
|
|
1811
|
+
# TokenPagination.
|
|
1812
|
+
# This can only be used if token paging is enabled.
|
|
1914
1813
|
# @param [String] fields
|
|
1915
1814
|
# Selector specifying which fields to include in a partial response.
|
|
1916
1815
|
# @param [String] quota_user
|
|
1917
|
-
#
|
|
1918
|
-
# characters.
|
|
1919
|
-
# @param [String] user_ip
|
|
1920
|
-
# Deprecated. Please use quotaUser instead.
|
|
1816
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1817
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1921
1818
|
# @param [Google::Apis::RequestOptions] options
|
|
1922
1819
|
# Request-specific options
|
|
1923
1820
|
#
|
|
@@ -1930,8 +1827,8 @@ module Google
|
|
|
1930
1827
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1931
1828
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1932
1829
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1933
|
-
def list_products(enterprise_id, approved: nil, language: nil, max_results: nil, query: nil, token: nil, fields: nil, quota_user: nil,
|
|
1934
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products', options)
|
|
1830
|
+
def list_products(enterprise_id, approved: nil, language: nil, max_results: nil, query: nil, token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1831
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/products', options)
|
|
1935
1832
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductsListResponse::Representation
|
|
1936
1833
|
command.response_class = Google::Apis::AndroidenterpriseV1::ProductsListResponse
|
|
1937
1834
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -1942,7 +1839,6 @@ module Google
|
|
|
1942
1839
|
command.query['token'] = token unless token.nil?
|
|
1943
1840
|
command.query['fields'] = fields unless fields.nil?
|
|
1944
1841
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1945
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1946
1842
|
execute_or_queue_command(command, &block)
|
|
1947
1843
|
end
|
|
1948
1844
|
|
|
@@ -1954,10 +1850,8 @@ module Google
|
|
|
1954
1850
|
# @param [String] fields
|
|
1955
1851
|
# Selector specifying which fields to include in a partial response.
|
|
1956
1852
|
# @param [String] quota_user
|
|
1957
|
-
#
|
|
1958
|
-
# characters.
|
|
1959
|
-
# @param [String] user_ip
|
|
1960
|
-
# Deprecated. Please use quotaUser instead.
|
|
1853
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1854
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1961
1855
|
# @param [Google::Apis::RequestOptions] options
|
|
1962
1856
|
# Request-specific options
|
|
1963
1857
|
#
|
|
@@ -1970,20 +1864,19 @@ module Google
|
|
|
1970
1864
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1971
1865
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1972
1866
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1973
|
-
def unapprove_product(enterprise_id, product_id, fields: nil, quota_user: nil,
|
|
1974
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/unapprove', options)
|
|
1867
|
+
def unapprove_product(enterprise_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1868
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove', options)
|
|
1975
1869
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
1976
1870
|
command.params['productId'] = product_id unless product_id.nil?
|
|
1977
1871
|
command.query['fields'] = fields unless fields.nil?
|
|
1978
1872
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1979
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1980
1873
|
execute_or_queue_command(command, &block)
|
|
1981
1874
|
end
|
|
1982
1875
|
|
|
1983
1876
|
# Removes and invalidates the specified credentials for the service account
|
|
1984
1877
|
# associated with this enterprise. The calling service account must have been
|
|
1985
|
-
# retrieved by calling Enterprises.GetServiceAccount and must have been set
|
|
1986
|
-
# the enterprise service account by calling Enterprises.SetAccount.
|
|
1878
|
+
# retrieved by calling Enterprises.GetServiceAccount and must have been set
|
|
1879
|
+
# as the enterprise service account by calling Enterprises.SetAccount.
|
|
1987
1880
|
# @param [String] enterprise_id
|
|
1988
1881
|
# The ID of the enterprise.
|
|
1989
1882
|
# @param [String] key_id
|
|
@@ -1991,10 +1884,8 @@ module Google
|
|
|
1991
1884
|
# @param [String] fields
|
|
1992
1885
|
# Selector specifying which fields to include in a partial response.
|
|
1993
1886
|
# @param [String] quota_user
|
|
1994
|
-
#
|
|
1995
|
-
# characters.
|
|
1996
|
-
# @param [String] user_ip
|
|
1997
|
-
# Deprecated. Please use quotaUser instead.
|
|
1887
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1888
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1998
1889
|
# @param [Google::Apis::RequestOptions] options
|
|
1999
1890
|
# Request-specific options
|
|
2000
1891
|
#
|
|
@@ -2007,31 +1898,29 @@ module Google
|
|
|
2007
1898
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2008
1899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2009
1900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2010
|
-
def delete_serviceaccountkey(enterprise_id, key_id, fields: nil, quota_user: nil,
|
|
2011
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}', options)
|
|
1901
|
+
def delete_serviceaccountkey(enterprise_id, key_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1902
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys/{keyId}', options)
|
|
2012
1903
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2013
1904
|
command.params['keyId'] = key_id unless key_id.nil?
|
|
2014
1905
|
command.query['fields'] = fields unless fields.nil?
|
|
2015
1906
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2016
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2017
1907
|
execute_or_queue_command(command, &block)
|
|
2018
1908
|
end
|
|
2019
1909
|
|
|
2020
1910
|
# Generates new credentials for the service account associated with this
|
|
2021
1911
|
# enterprise. The calling service account must have been retrieved by calling
|
|
2022
|
-
# Enterprises.GetServiceAccount and must have been set as the enterprise
|
|
2023
|
-
# account by calling Enterprises.SetAccount.
|
|
2024
|
-
# Only the type of the key should be populated in the resource to be
|
|
1912
|
+
# Enterprises.GetServiceAccount and must have been set as the enterprise
|
|
1913
|
+
# service account by calling Enterprises.SetAccount. <br><br>
|
|
1914
|
+
# Only the type of the key should be populated in the resource to be
|
|
1915
|
+
# inserted.
|
|
2025
1916
|
# @param [String] enterprise_id
|
|
2026
1917
|
# The ID of the enterprise.
|
|
2027
1918
|
# @param [Google::Apis::AndroidenterpriseV1::ServiceAccountKey] service_account_key_object
|
|
2028
1919
|
# @param [String] fields
|
|
2029
1920
|
# Selector specifying which fields to include in a partial response.
|
|
2030
1921
|
# @param [String] quota_user
|
|
2031
|
-
#
|
|
2032
|
-
# characters.
|
|
2033
|
-
# @param [String] user_ip
|
|
2034
|
-
# Deprecated. Please use quotaUser instead.
|
|
1922
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1923
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2035
1924
|
# @param [Google::Apis::RequestOptions] options
|
|
2036
1925
|
# Request-specific options
|
|
2037
1926
|
#
|
|
@@ -2044,8 +1933,8 @@ module Google
|
|
|
2044
1933
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2045
1934
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2046
1935
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2047
|
-
def insert_serviceaccountkey(enterprise_id, service_account_key_object = nil, fields: nil, quota_user: nil,
|
|
2048
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
|
|
1936
|
+
def insert_serviceaccountkey(enterprise_id, service_account_key_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1937
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys', options)
|
|
2049
1938
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
|
|
2050
1939
|
command.request_object = service_account_key_object
|
|
2051
1940
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
|
|
@@ -2053,24 +1942,21 @@ module Google
|
|
|
2053
1942
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2054
1943
|
command.query['fields'] = fields unless fields.nil?
|
|
2055
1944
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2056
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2057
1945
|
execute_or_queue_command(command, &block)
|
|
2058
1946
|
end
|
|
2059
1947
|
|
|
2060
1948
|
# Lists all active credentials for the service account associated with this
|
|
2061
|
-
# enterprise. Only the ID and key type are returned. The calling service
|
|
2062
|
-
# must have been retrieved by calling Enterprises.GetServiceAccount
|
|
2063
|
-
# have been set as the enterprise service account by calling
|
|
2064
|
-
# SetAccount.
|
|
1949
|
+
# enterprise. Only the ID and key type are returned. The calling service
|
|
1950
|
+
# account must have been retrieved by calling Enterprises.GetServiceAccount
|
|
1951
|
+
# and must have been set as the enterprise service account by calling
|
|
1952
|
+
# Enterprises.SetAccount.
|
|
2065
1953
|
# @param [String] enterprise_id
|
|
2066
1954
|
# The ID of the enterprise.
|
|
2067
1955
|
# @param [String] fields
|
|
2068
1956
|
# Selector specifying which fields to include in a partial response.
|
|
2069
1957
|
# @param [String] quota_user
|
|
2070
|
-
#
|
|
2071
|
-
# characters.
|
|
2072
|
-
# @param [String] user_ip
|
|
2073
|
-
# Deprecated. Please use quotaUser instead.
|
|
1958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2074
1960
|
# @param [Google::Apis::RequestOptions] options
|
|
2075
1961
|
# Request-specific options
|
|
2076
1962
|
#
|
|
@@ -2083,14 +1969,13 @@ module Google
|
|
|
2083
1969
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2084
1970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2085
1971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2086
|
-
def list_serviceaccountkeys(enterprise_id, fields: nil, quota_user: nil,
|
|
2087
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
|
|
1972
|
+
def list_serviceaccountkeys(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1973
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys', options)
|
|
2088
1974
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKeysListResponse::Representation
|
|
2089
1975
|
command.response_class = Google::Apis::AndroidenterpriseV1::ServiceAccountKeysListResponse
|
|
2090
1976
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2091
1977
|
command.query['fields'] = fields unless fields.nil?
|
|
2092
1978
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2093
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2094
1979
|
execute_or_queue_command(command, &block)
|
|
2095
1980
|
end
|
|
2096
1981
|
|
|
@@ -2104,10 +1989,8 @@ module Google
|
|
|
2104
1989
|
# @param [String] fields
|
|
2105
1990
|
# Selector specifying which fields to include in a partial response.
|
|
2106
1991
|
# @param [String] quota_user
|
|
2107
|
-
#
|
|
2108
|
-
# characters.
|
|
2109
|
-
# @param [String] user_ip
|
|
2110
|
-
# Deprecated. Please use quotaUser instead.
|
|
1992
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1993
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2111
1994
|
# @param [Google::Apis::RequestOptions] options
|
|
2112
1995
|
# Request-specific options
|
|
2113
1996
|
#
|
|
@@ -2120,14 +2003,13 @@ module Google
|
|
|
2120
2003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2121
2004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2122
2005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2123
|
-
def delete_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil,
|
|
2124
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
2006
|
+
def delete_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2007
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
2125
2008
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2126
2009
|
command.params['pageId'] = page_id unless page_id.nil?
|
|
2127
2010
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
|
2128
2011
|
command.query['fields'] = fields unless fields.nil?
|
|
2129
2012
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2130
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2131
2013
|
execute_or_queue_command(command, &block)
|
|
2132
2014
|
end
|
|
2133
2015
|
|
|
@@ -2141,10 +2023,8 @@ module Google
|
|
|
2141
2023
|
# @param [String] fields
|
|
2142
2024
|
# Selector specifying which fields to include in a partial response.
|
|
2143
2025
|
# @param [String] quota_user
|
|
2144
|
-
#
|
|
2145
|
-
# characters.
|
|
2146
|
-
# @param [String] user_ip
|
|
2147
|
-
# Deprecated. Please use quotaUser instead.
|
|
2026
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2027
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2148
2028
|
# @param [Google::Apis::RequestOptions] options
|
|
2149
2029
|
# Request-specific options
|
|
2150
2030
|
#
|
|
@@ -2157,8 +2037,8 @@ module Google
|
|
|
2157
2037
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2158
2038
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2159
2039
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2160
|
-
def get_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil,
|
|
2161
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
2040
|
+
def get_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2041
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
2162
2042
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
2163
2043
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
|
2164
2044
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
@@ -2166,7 +2046,6 @@ module Google
|
|
|
2166
2046
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
|
2167
2047
|
command.query['fields'] = fields unless fields.nil?
|
|
2168
2048
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2169
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2170
2049
|
execute_or_queue_command(command, &block)
|
|
2171
2050
|
end
|
|
2172
2051
|
|
|
@@ -2179,10 +2058,8 @@ module Google
|
|
|
2179
2058
|
# @param [String] fields
|
|
2180
2059
|
# Selector specifying which fields to include in a partial response.
|
|
2181
2060
|
# @param [String] quota_user
|
|
2182
|
-
#
|
|
2183
|
-
# characters.
|
|
2184
|
-
# @param [String] user_ip
|
|
2185
|
-
# Deprecated. Please use quotaUser instead.
|
|
2061
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2062
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2186
2063
|
# @param [Google::Apis::RequestOptions] options
|
|
2187
2064
|
# Request-specific options
|
|
2188
2065
|
#
|
|
@@ -2195,8 +2072,8 @@ module Google
|
|
|
2195
2072
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2196
2073
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2197
2074
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2198
|
-
def insert_storelayoutcluster(enterprise_id, page_id, store_cluster_object = nil, fields: nil, quota_user: nil,
|
|
2199
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
|
2075
|
+
def insert_storelayoutcluster(enterprise_id, page_id, store_cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2076
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
|
2200
2077
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
2201
2078
|
command.request_object = store_cluster_object
|
|
2202
2079
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
@@ -2205,7 +2082,6 @@ module Google
|
|
|
2205
2082
|
command.params['pageId'] = page_id unless page_id.nil?
|
|
2206
2083
|
command.query['fields'] = fields unless fields.nil?
|
|
2207
2084
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2208
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2209
2085
|
execute_or_queue_command(command, &block)
|
|
2210
2086
|
end
|
|
2211
2087
|
|
|
@@ -2217,10 +2093,8 @@ module Google
|
|
|
2217
2093
|
# @param [String] fields
|
|
2218
2094
|
# Selector specifying which fields to include in a partial response.
|
|
2219
2095
|
# @param [String] quota_user
|
|
2220
|
-
#
|
|
2221
|
-
# characters.
|
|
2222
|
-
# @param [String] user_ip
|
|
2223
|
-
# Deprecated. Please use quotaUser instead.
|
|
2096
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2097
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2224
2098
|
# @param [Google::Apis::RequestOptions] options
|
|
2225
2099
|
# Request-specific options
|
|
2226
2100
|
#
|
|
@@ -2233,15 +2107,14 @@ module Google
|
|
|
2233
2107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2234
2108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2235
2109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2236
|
-
def list_storelayoutclusters(enterprise_id, page_id, fields: nil, quota_user: nil,
|
|
2237
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
|
2110
|
+
def list_storelayoutclusters(enterprise_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2111
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
|
2238
2112
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse::Representation
|
|
2239
2113
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse
|
|
2240
2114
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2241
2115
|
command.params['pageId'] = page_id unless page_id.nil?
|
|
2242
2116
|
command.query['fields'] = fields unless fields.nil?
|
|
2243
2117
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2244
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2245
2118
|
execute_or_queue_command(command, &block)
|
|
2246
2119
|
end
|
|
2247
2120
|
|
|
@@ -2256,10 +2129,8 @@ module Google
|
|
|
2256
2129
|
# @param [String] fields
|
|
2257
2130
|
# Selector specifying which fields to include in a partial response.
|
|
2258
2131
|
# @param [String] quota_user
|
|
2259
|
-
#
|
|
2260
|
-
# characters.
|
|
2261
|
-
# @param [String] user_ip
|
|
2262
|
-
# Deprecated. Please use quotaUser instead.
|
|
2132
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2133
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2263
2134
|
# @param [Google::Apis::RequestOptions] options
|
|
2264
2135
|
# Request-specific options
|
|
2265
2136
|
#
|
|
@@ -2272,8 +2143,8 @@ module Google
|
|
|
2272
2143
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2273
2144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2274
2145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2275
|
-
def update_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil,
|
|
2276
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
2146
|
+
def update_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2147
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
2277
2148
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
2278
2149
|
command.request_object = store_cluster_object
|
|
2279
2150
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
@@ -2283,7 +2154,6 @@ module Google
|
|
|
2283
2154
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
|
2284
2155
|
command.query['fields'] = fields unless fields.nil?
|
|
2285
2156
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2286
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2287
2157
|
execute_or_queue_command(command, &block)
|
|
2288
2158
|
end
|
|
2289
2159
|
|
|
@@ -2295,10 +2165,8 @@ module Google
|
|
|
2295
2165
|
# @param [String] fields
|
|
2296
2166
|
# Selector specifying which fields to include in a partial response.
|
|
2297
2167
|
# @param [String] quota_user
|
|
2298
|
-
#
|
|
2299
|
-
# characters.
|
|
2300
|
-
# @param [String] user_ip
|
|
2301
|
-
# Deprecated. Please use quotaUser instead.
|
|
2168
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2169
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2302
2170
|
# @param [Google::Apis::RequestOptions] options
|
|
2303
2171
|
# Request-specific options
|
|
2304
2172
|
#
|
|
@@ -2311,13 +2179,12 @@ module Google
|
|
|
2311
2179
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2312
2180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2313
2181
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2314
|
-
def delete_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil,
|
|
2315
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
2182
|
+
def delete_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2183
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
2316
2184
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2317
2185
|
command.params['pageId'] = page_id unless page_id.nil?
|
|
2318
2186
|
command.query['fields'] = fields unless fields.nil?
|
|
2319
2187
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2320
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2321
2188
|
execute_or_queue_command(command, &block)
|
|
2322
2189
|
end
|
|
2323
2190
|
|
|
@@ -2329,10 +2196,8 @@ module Google
|
|
|
2329
2196
|
# @param [String] fields
|
|
2330
2197
|
# Selector specifying which fields to include in a partial response.
|
|
2331
2198
|
# @param [String] quota_user
|
|
2332
|
-
#
|
|
2333
|
-
# characters.
|
|
2334
|
-
# @param [String] user_ip
|
|
2335
|
-
# Deprecated. Please use quotaUser instead.
|
|
2199
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2200
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2336
2201
|
# @param [Google::Apis::RequestOptions] options
|
|
2337
2202
|
# Request-specific options
|
|
2338
2203
|
#
|
|
@@ -2345,15 +2210,14 @@ module Google
|
|
|
2345
2210
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2346
2211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2347
2212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2348
|
-
def get_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil,
|
|
2349
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
2213
|
+
def get_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2214
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
2350
2215
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
2351
2216
|
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
|
2352
2217
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2353
2218
|
command.params['pageId'] = page_id unless page_id.nil?
|
|
2354
2219
|
command.query['fields'] = fields unless fields.nil?
|
|
2355
2220
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2356
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2357
2221
|
execute_or_queue_command(command, &block)
|
|
2358
2222
|
end
|
|
2359
2223
|
|
|
@@ -2364,10 +2228,8 @@ module Google
|
|
|
2364
2228
|
# @param [String] fields
|
|
2365
2229
|
# Selector specifying which fields to include in a partial response.
|
|
2366
2230
|
# @param [String] quota_user
|
|
2367
|
-
#
|
|
2368
|
-
# characters.
|
|
2369
|
-
# @param [String] user_ip
|
|
2370
|
-
# Deprecated. Please use quotaUser instead.
|
|
2231
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2232
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2371
2233
|
# @param [Google::Apis::RequestOptions] options
|
|
2372
2234
|
# Request-specific options
|
|
2373
2235
|
#
|
|
@@ -2380,8 +2242,8 @@ module Google
|
|
|
2380
2242
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2381
2243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2382
2244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2383
|
-
def insert_storelayoutpage(enterprise_id, store_page_object = nil, fields: nil, quota_user: nil,
|
|
2384
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages', options)
|
|
2245
|
+
def insert_storelayoutpage(enterprise_id, store_page_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2246
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages', options)
|
|
2385
2247
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
2386
2248
|
command.request_object = store_page_object
|
|
2387
2249
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
@@ -2389,7 +2251,6 @@ module Google
|
|
|
2389
2251
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2390
2252
|
command.query['fields'] = fields unless fields.nil?
|
|
2391
2253
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2392
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2393
2254
|
execute_or_queue_command(command, &block)
|
|
2394
2255
|
end
|
|
2395
2256
|
|
|
@@ -2399,10 +2260,8 @@ module Google
|
|
|
2399
2260
|
# @param [String] fields
|
|
2400
2261
|
# Selector specifying which fields to include in a partial response.
|
|
2401
2262
|
# @param [String] quota_user
|
|
2402
|
-
#
|
|
2403
|
-
# characters.
|
|
2404
|
-
# @param [String] user_ip
|
|
2405
|
-
# Deprecated. Please use quotaUser instead.
|
|
2263
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2264
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2406
2265
|
# @param [Google::Apis::RequestOptions] options
|
|
2407
2266
|
# Request-specific options
|
|
2408
2267
|
#
|
|
@@ -2415,14 +2274,13 @@ module Google
|
|
|
2415
2274
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2416
2275
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2417
2276
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2418
|
-
def list_storelayoutpages(enterprise_id, fields: nil, quota_user: nil,
|
|
2419
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages', options)
|
|
2277
|
+
def list_storelayoutpages(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2278
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages', options)
|
|
2420
2279
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse::Representation
|
|
2421
2280
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse
|
|
2422
2281
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2423
2282
|
command.query['fields'] = fields unless fields.nil?
|
|
2424
2283
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2425
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2426
2284
|
execute_or_queue_command(command, &block)
|
|
2427
2285
|
end
|
|
2428
2286
|
|
|
@@ -2435,10 +2293,8 @@ module Google
|
|
|
2435
2293
|
# @param [String] fields
|
|
2436
2294
|
# Selector specifying which fields to include in a partial response.
|
|
2437
2295
|
# @param [String] quota_user
|
|
2438
|
-
#
|
|
2439
|
-
# characters.
|
|
2440
|
-
# @param [String] user_ip
|
|
2441
|
-
# Deprecated. Please use quotaUser instead.
|
|
2296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2442
2298
|
# @param [Google::Apis::RequestOptions] options
|
|
2443
2299
|
# Request-specific options
|
|
2444
2300
|
#
|
|
@@ -2451,8 +2307,8 @@ module Google
|
|
|
2451
2307
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2452
2308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2453
2309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2454
|
-
def update_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil,
|
|
2455
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
2310
|
+
def update_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2311
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
2456
2312
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
2457
2313
|
command.request_object = store_page_object
|
|
2458
2314
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
@@ -2461,7 +2317,6 @@ module Google
|
|
|
2461
2317
|
command.params['pageId'] = page_id unless page_id.nil?
|
|
2462
2318
|
command.query['fields'] = fields unless fields.nil?
|
|
2463
2319
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2464
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2465
2320
|
execute_or_queue_command(command, &block)
|
|
2466
2321
|
end
|
|
2467
2322
|
|
|
@@ -2473,10 +2328,8 @@ module Google
|
|
|
2473
2328
|
# @param [String] fields
|
|
2474
2329
|
# Selector specifying which fields to include in a partial response.
|
|
2475
2330
|
# @param [String] quota_user
|
|
2476
|
-
#
|
|
2477
|
-
# characters.
|
|
2478
|
-
# @param [String] user_ip
|
|
2479
|
-
# Deprecated. Please use quotaUser instead.
|
|
2331
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2332
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2480
2333
|
# @param [Google::Apis::RequestOptions] options
|
|
2481
2334
|
# Request-specific options
|
|
2482
2335
|
#
|
|
@@ -2489,19 +2342,18 @@ module Google
|
|
|
2489
2342
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2490
2343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2491
2344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2492
|
-
def delete_user(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
2493
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}', options)
|
|
2345
|
+
def delete_user(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2346
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}', options)
|
|
2494
2347
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2495
2348
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2496
2349
|
command.query['fields'] = fields unless fields.nil?
|
|
2497
2350
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2498
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2499
2351
|
execute_or_queue_command(command, &block)
|
|
2500
2352
|
end
|
|
2501
2353
|
|
|
2502
2354
|
# Generates an authentication token which the device policy client can use to
|
|
2503
|
-
# provision the given EMM-managed user account on a device.
|
|
2504
|
-
# is single-use and expires after a few minutes.
|
|
2355
|
+
# provision the given EMM-managed user account on a device.
|
|
2356
|
+
# The generated token is single-use and expires after a few minutes.
|
|
2505
2357
|
# You can provision a maximum of 10 devices per user.
|
|
2506
2358
|
# This call only works with EMM-managed accounts.
|
|
2507
2359
|
# @param [String] enterprise_id
|
|
@@ -2511,10 +2363,8 @@ module Google
|
|
|
2511
2363
|
# @param [String] fields
|
|
2512
2364
|
# Selector specifying which fields to include in a partial response.
|
|
2513
2365
|
# @param [String] quota_user
|
|
2514
|
-
#
|
|
2515
|
-
# characters.
|
|
2516
|
-
# @param [String] user_ip
|
|
2517
|
-
# Deprecated. Please use quotaUser instead.
|
|
2366
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2367
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2518
2368
|
# @param [Google::Apis::RequestOptions] options
|
|
2519
2369
|
# Request-specific options
|
|
2520
2370
|
#
|
|
@@ -2527,54 +2377,14 @@ module Google
|
|
|
2527
2377
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2528
2378
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2529
2379
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2530
|
-
def generate_user_authentication_token(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
2531
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/authenticationToken', options)
|
|
2380
|
+
def generate_user_authentication_token(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2381
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/authenticationToken', options)
|
|
2532
2382
|
command.response_representation = Google::Apis::AndroidenterpriseV1::AuthenticationToken::Representation
|
|
2533
2383
|
command.response_class = Google::Apis::AndroidenterpriseV1::AuthenticationToken
|
|
2534
2384
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2535
2385
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2536
2386
|
command.query['fields'] = fields unless fields.nil?
|
|
2537
2387
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2538
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2539
|
-
execute_or_queue_command(command, &block)
|
|
2540
|
-
end
|
|
2541
|
-
|
|
2542
|
-
# Generates a token (activation code) to allow this user to configure their
|
|
2543
|
-
# managed account in the Android Setup Wizard. Revokes any previously generated
|
|
2544
|
-
# token.
|
|
2545
|
-
# This call only works with Google managed accounts.
|
|
2546
|
-
# @param [String] enterprise_id
|
|
2547
|
-
# The ID of the enterprise.
|
|
2548
|
-
# @param [String] user_id
|
|
2549
|
-
# The ID of the user.
|
|
2550
|
-
# @param [String] fields
|
|
2551
|
-
# Selector specifying which fields to include in a partial response.
|
|
2552
|
-
# @param [String] quota_user
|
|
2553
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
2554
|
-
# characters.
|
|
2555
|
-
# @param [String] user_ip
|
|
2556
|
-
# Deprecated. Please use quotaUser instead.
|
|
2557
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2558
|
-
# Request-specific options
|
|
2559
|
-
#
|
|
2560
|
-
# @yield [result, err] Result & error if block supplied
|
|
2561
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::UserToken] parsed result object
|
|
2562
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2563
|
-
#
|
|
2564
|
-
# @return [Google::Apis::AndroidenterpriseV1::UserToken]
|
|
2565
|
-
#
|
|
2566
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2567
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2568
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2569
|
-
def generate_user_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2570
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/token', options)
|
|
2571
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::UserToken::Representation
|
|
2572
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::UserToken
|
|
2573
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2574
|
-
command.params['userId'] = user_id unless user_id.nil?
|
|
2575
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2576
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2577
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2578
2388
|
execute_or_queue_command(command, &block)
|
|
2579
2389
|
end
|
|
2580
2390
|
|
|
@@ -2586,10 +2396,8 @@ module Google
|
|
|
2586
2396
|
# @param [String] fields
|
|
2587
2397
|
# Selector specifying which fields to include in a partial response.
|
|
2588
2398
|
# @param [String] quota_user
|
|
2589
|
-
#
|
|
2590
|
-
# characters.
|
|
2591
|
-
# @param [String] user_ip
|
|
2592
|
-
# Deprecated. Please use quotaUser instead.
|
|
2399
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2400
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2593
2401
|
# @param [Google::Apis::RequestOptions] options
|
|
2594
2402
|
# Request-specific options
|
|
2595
2403
|
#
|
|
@@ -2602,15 +2410,14 @@ module Google
|
|
|
2602
2410
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2603
2411
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2604
2412
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2605
|
-
def get_user(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
2606
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}', options)
|
|
2413
|
+
def get_user(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2414
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}', options)
|
|
2607
2415
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
2608
2416
|
command.response_class = Google::Apis::AndroidenterpriseV1::User
|
|
2609
2417
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2610
2418
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2611
2419
|
command.query['fields'] = fields unless fields.nil?
|
|
2612
2420
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2613
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2614
2421
|
execute_or_queue_command(command, &block)
|
|
2615
2422
|
end
|
|
2616
2423
|
|
|
@@ -2622,10 +2429,8 @@ module Google
|
|
|
2622
2429
|
# @param [String] fields
|
|
2623
2430
|
# Selector specifying which fields to include in a partial response.
|
|
2624
2431
|
# @param [String] quota_user
|
|
2625
|
-
#
|
|
2626
|
-
# characters.
|
|
2627
|
-
# @param [String] user_ip
|
|
2628
|
-
# Deprecated. Please use quotaUser instead.
|
|
2432
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2433
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2629
2434
|
# @param [Google::Apis::RequestOptions] options
|
|
2630
2435
|
# Request-specific options
|
|
2631
2436
|
#
|
|
@@ -2638,34 +2443,32 @@ module Google
|
|
|
2638
2443
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2639
2444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2640
2445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2641
|
-
def get_user_available_product_set(enterprise_id, user_id, fields: nil, quota_user: nil,
|
|
2642
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
|
|
2446
|
+
def get_user_available_product_set(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2447
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
|
|
2643
2448
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
|
|
2644
2449
|
command.response_class = Google::Apis::AndroidenterpriseV1::ProductSet
|
|
2645
2450
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2646
2451
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2647
2452
|
command.query['fields'] = fields unless fields.nil?
|
|
2648
2453
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2649
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2650
2454
|
execute_or_queue_command(command, &block)
|
|
2651
2455
|
end
|
|
2652
2456
|
|
|
2653
2457
|
# Creates a new EMM-managed user.
|
|
2654
|
-
# The Users resource
|
|
2655
|
-
#
|
|
2656
|
-
#
|
|
2657
|
-
# user
|
|
2658
|
-
#
|
|
2458
|
+
# The <a href="/android/work/play/emm-api/v1/users.html">Users</a> resource
|
|
2459
|
+
# passed in the body of the request should include an
|
|
2460
|
+
# <code>accountIdentifier</code> and an <code>accountType</code>.
|
|
2461
|
+
# <p>If a corresponding user already exists with the same account identifier,
|
|
2462
|
+
# the user will be updated with the resource. In this case only the
|
|
2463
|
+
# <code>displayName</code> field can be changed.
|
|
2659
2464
|
# @param [String] enterprise_id
|
|
2660
2465
|
# The ID of the enterprise.
|
|
2661
2466
|
# @param [Google::Apis::AndroidenterpriseV1::User] user_object
|
|
2662
2467
|
# @param [String] fields
|
|
2663
2468
|
# Selector specifying which fields to include in a partial response.
|
|
2664
2469
|
# @param [String] quota_user
|
|
2665
|
-
#
|
|
2666
|
-
# characters.
|
|
2667
|
-
# @param [String] user_ip
|
|
2668
|
-
# Deprecated. Please use quotaUser instead.
|
|
2470
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2471
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2669
2472
|
# @param [Google::Apis::RequestOptions] options
|
|
2670
2473
|
# Request-specific options
|
|
2671
2474
|
#
|
|
@@ -2678,8 +2481,8 @@ module Google
|
|
|
2678
2481
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2679
2482
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2680
2483
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2681
|
-
def insert_user(enterprise_id, user_object = nil, fields: nil, quota_user: nil,
|
|
2682
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users', options)
|
|
2484
|
+
def insert_user(enterprise_id, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2485
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/users', options)
|
|
2683
2486
|
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
2684
2487
|
command.request_object = user_object
|
|
2685
2488
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
@@ -2687,24 +2490,22 @@ module Google
|
|
|
2687
2490
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2688
2491
|
command.query['fields'] = fields unless fields.nil?
|
|
2689
2492
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2690
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2691
2493
|
execute_or_queue_command(command, &block)
|
|
2692
2494
|
end
|
|
2693
2495
|
|
|
2694
|
-
# Looks up a user by primary email address.
|
|
2695
|
-
# managed users.
|
|
2696
|
-
# the id is already returned in the
|
|
2496
|
+
# Looks up a user by primary email address.
|
|
2497
|
+
# This is only supported for Google-managed users. Lookup of the id is not
|
|
2498
|
+
# needed for EMM-managed users because the id is already returned in the
|
|
2499
|
+
# result of the Users.insert call.
|
|
2697
2500
|
# @param [String] enterprise_id
|
|
2698
2501
|
# The ID of the enterprise.
|
|
2699
2502
|
# @param [String] email
|
|
2700
|
-
# The exact primary email address of the user to look up.
|
|
2503
|
+
# Required. The exact primary email address of the user to look up.
|
|
2701
2504
|
# @param [String] fields
|
|
2702
2505
|
# Selector specifying which fields to include in a partial response.
|
|
2703
2506
|
# @param [String] quota_user
|
|
2704
|
-
#
|
|
2705
|
-
# characters.
|
|
2706
|
-
# @param [String] user_ip
|
|
2707
|
-
# Deprecated. Please use quotaUser instead.
|
|
2507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2708
2509
|
# @param [Google::Apis::RequestOptions] options
|
|
2709
2510
|
# Request-specific options
|
|
2710
2511
|
#
|
|
@@ -2717,21 +2518,20 @@ module Google
|
|
|
2717
2518
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2718
2519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2719
2520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2720
|
-
def list_users(enterprise_id, email, fields: nil, quota_user: nil,
|
|
2721
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users', options)
|
|
2521
|
+
def list_users(enterprise_id, email, fields: nil, quota_user: nil, options: nil, &block)
|
|
2522
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/users', options)
|
|
2722
2523
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListUsersResponse::Representation
|
|
2723
2524
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListUsersResponse
|
|
2724
2525
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2725
2526
|
command.query['email'] = email unless email.nil?
|
|
2726
2527
|
command.query['fields'] = fields unless fields.nil?
|
|
2727
2528
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2728
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2729
2529
|
execute_or_queue_command(command, &block)
|
|
2730
2530
|
end
|
|
2731
2531
|
|
|
2732
|
-
# Revokes access to all devices currently provisioned to the user. The user
|
|
2733
|
-
# no longer be able to use the managed Play store on any of their
|
|
2734
|
-
# devices.
|
|
2532
|
+
# Revokes access to all devices currently provisioned to the user. The user
|
|
2533
|
+
# will no longer be able to use the managed Play store on any of their
|
|
2534
|
+
# managed devices.
|
|
2735
2535
|
# This call only works with EMM-managed accounts.
|
|
2736
2536
|
# @param [String] enterprise_id
|
|
2737
2537
|
# The ID of the enterprise.
|
|
@@ -2740,44 +2540,8 @@ module Google
|
|
|
2740
2540
|
# @param [String] fields
|
|
2741
2541
|
# Selector specifying which fields to include in a partial response.
|
|
2742
2542
|
# @param [String] quota_user
|
|
2743
|
-
#
|
|
2744
|
-
# characters.
|
|
2745
|
-
# @param [String] user_ip
|
|
2746
|
-
# Deprecated. Please use quotaUser instead.
|
|
2747
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2748
|
-
# Request-specific options
|
|
2749
|
-
#
|
|
2750
|
-
# @yield [result, err] Result & error if block supplied
|
|
2751
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
2752
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2753
|
-
#
|
|
2754
|
-
# @return [void]
|
|
2755
|
-
#
|
|
2756
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2757
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2758
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2759
|
-
def revoke_user_device_access(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2760
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/deviceAccess', options)
|
|
2761
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2762
|
-
command.params['userId'] = user_id unless user_id.nil?
|
|
2763
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2764
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2765
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2766
|
-
execute_or_queue_command(command, &block)
|
|
2767
|
-
end
|
|
2768
|
-
|
|
2769
|
-
# Revokes a previously generated token (activation code) for the user.
|
|
2770
|
-
# @param [String] enterprise_id
|
|
2771
|
-
# The ID of the enterprise.
|
|
2772
|
-
# @param [String] user_id
|
|
2773
|
-
# The ID of the user.
|
|
2774
|
-
# @param [String] fields
|
|
2775
|
-
# Selector specifying which fields to include in a partial response.
|
|
2776
|
-
# @param [String] quota_user
|
|
2777
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
2778
|
-
# characters.
|
|
2779
|
-
# @param [String] user_ip
|
|
2780
|
-
# Deprecated. Please use quotaUser instead.
|
|
2543
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2544
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2781
2545
|
# @param [Google::Apis::RequestOptions] options
|
|
2782
2546
|
# Request-specific options
|
|
2783
2547
|
#
|
|
@@ -2790,19 +2554,20 @@ module Google
|
|
|
2790
2554
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2791
2555
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2792
2556
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2793
|
-
def
|
|
2794
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/
|
|
2557
|
+
def revoke_user_device_access(enterprise_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2558
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/deviceAccess', options)
|
|
2795
2559
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2796
2560
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2797
2561
|
command.query['fields'] = fields unless fields.nil?
|
|
2798
2562
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2799
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2800
2563
|
execute_or_queue_command(command, &block)
|
|
2801
2564
|
end
|
|
2802
2565
|
|
|
2803
|
-
# Modifies the set of products that a user is entitled to access (referred to
|
|
2804
|
-
# whitelisted products). Only products that are
|
|
2805
|
-
#
|
|
2566
|
+
# Modifies the set of products that a user is entitled to access (referred to
|
|
2567
|
+
# as <em>whitelisted</em> products). Only products that are
|
|
2568
|
+
# <a href="/android/work/play/emm-api/v1/products/approve">approved</a>
|
|
2569
|
+
# or products that were previously approved (products with revoked approval)
|
|
2570
|
+
# can be whitelisted.
|
|
2806
2571
|
# @param [String] enterprise_id
|
|
2807
2572
|
# The ID of the enterprise.
|
|
2808
2573
|
# @param [String] user_id
|
|
@@ -2811,10 +2576,8 @@ module Google
|
|
|
2811
2576
|
# @param [String] fields
|
|
2812
2577
|
# Selector specifying which fields to include in a partial response.
|
|
2813
2578
|
# @param [String] quota_user
|
|
2814
|
-
#
|
|
2815
|
-
# characters.
|
|
2816
|
-
# @param [String] user_ip
|
|
2817
|
-
# Deprecated. Please use quotaUser instead.
|
|
2579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2818
2581
|
# @param [Google::Apis::RequestOptions] options
|
|
2819
2582
|
# Request-specific options
|
|
2820
2583
|
#
|
|
@@ -2827,8 +2590,8 @@ module Google
|
|
|
2827
2590
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2828
2591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2829
2592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2830
|
-
def set_user_available_product_set(enterprise_id, user_id, product_set_object = nil, fields: nil, quota_user: nil,
|
|
2831
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
|
|
2593
|
+
def set_user_available_product_set(enterprise_id, user_id, product_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2594
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
|
|
2832
2595
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
|
|
2833
2596
|
command.request_object = product_set_object
|
|
2834
2597
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
|
|
@@ -2837,15 +2600,16 @@ module Google
|
|
|
2837
2600
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2838
2601
|
command.query['fields'] = fields unless fields.nil?
|
|
2839
2602
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2840
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2841
2603
|
execute_or_queue_command(command, &block)
|
|
2842
2604
|
end
|
|
2843
2605
|
|
|
2844
2606
|
# Updates the details of an EMM-managed user.
|
|
2845
|
-
# Can be used with EMM-managed users only (not Google managed users).
|
|
2846
|
-
#
|
|
2847
|
-
#
|
|
2848
|
-
#
|
|
2607
|
+
# Can be used with EMM-managed users only (not Google managed users).
|
|
2608
|
+
# Pass the new details in the
|
|
2609
|
+
# <a href="/android/work/play/emm-api/v1/users.html">Users</a>
|
|
2610
|
+
# resource in the request body. Only the <code>displayName</code> field
|
|
2611
|
+
# can be changed. Other fields must either be unset or have the
|
|
2612
|
+
# currently active value.
|
|
2849
2613
|
# @param [String] enterprise_id
|
|
2850
2614
|
# The ID of the enterprise.
|
|
2851
2615
|
# @param [String] user_id
|
|
@@ -2854,10 +2618,8 @@ module Google
|
|
|
2854
2618
|
# @param [String] fields
|
|
2855
2619
|
# Selector specifying which fields to include in a partial response.
|
|
2856
2620
|
# @param [String] quota_user
|
|
2857
|
-
#
|
|
2858
|
-
# characters.
|
|
2859
|
-
# @param [String] user_ip
|
|
2860
|
-
# Deprecated. Please use quotaUser instead.
|
|
2621
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2622
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2861
2623
|
# @param [Google::Apis::RequestOptions] options
|
|
2862
2624
|
# Request-specific options
|
|
2863
2625
|
#
|
|
@@ -2870,8 +2632,8 @@ module Google
|
|
|
2870
2632
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2871
2633
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2872
2634
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2873
|
-
def update_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil,
|
|
2874
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}', options)
|
|
2635
|
+
def update_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2636
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}', options)
|
|
2875
2637
|
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
2876
2638
|
command.request_object = user_object
|
|
2877
2639
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
@@ -2880,7 +2642,6 @@ module Google
|
|
|
2880
2642
|
command.params['userId'] = user_id unless user_id.nil?
|
|
2881
2643
|
command.query['fields'] = fields unless fields.nil?
|
|
2882
2644
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2883
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2884
2645
|
execute_or_queue_command(command, &block)
|
|
2885
2646
|
end
|
|
2886
2647
|
|
|
@@ -2892,10 +2653,8 @@ module Google
|
|
|
2892
2653
|
# @param [String] fields
|
|
2893
2654
|
# Selector specifying which fields to include in a partial response.
|
|
2894
2655
|
# @param [String] quota_user
|
|
2895
|
-
#
|
|
2896
|
-
# characters.
|
|
2897
|
-
# @param [String] user_ip
|
|
2898
|
-
# Deprecated. Please use quotaUser instead.
|
|
2656
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2657
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2899
2658
|
# @param [Google::Apis::RequestOptions] options
|
|
2900
2659
|
# Request-specific options
|
|
2901
2660
|
#
|
|
@@ -2908,13 +2667,12 @@ module Google
|
|
|
2908
2667
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2909
2668
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2910
2669
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2911
|
-
def delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil,
|
|
2912
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
2670
|
+
def delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2671
|
+
command = make_simple_command(:delete, 'androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
2913
2672
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2914
2673
|
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
2915
2674
|
command.query['fields'] = fields unless fields.nil?
|
|
2916
2675
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2917
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2918
2676
|
execute_or_queue_command(command, &block)
|
|
2919
2677
|
end
|
|
2920
2678
|
|
|
@@ -2926,10 +2684,8 @@ module Google
|
|
|
2926
2684
|
# @param [String] fields
|
|
2927
2685
|
# Selector specifying which fields to include in a partial response.
|
|
2928
2686
|
# @param [String] quota_user
|
|
2929
|
-
#
|
|
2930
|
-
# characters.
|
|
2931
|
-
# @param [String] user_ip
|
|
2932
|
-
# Deprecated. Please use quotaUser instead.
|
|
2687
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2688
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2933
2689
|
# @param [Google::Apis::RequestOptions] options
|
|
2934
2690
|
# Request-specific options
|
|
2935
2691
|
#
|
|
@@ -2942,15 +2698,14 @@ module Google
|
|
|
2942
2698
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2943
2699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2944
2700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2945
|
-
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil,
|
|
2946
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
2701
|
+
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2702
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
2947
2703
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
2948
2704
|
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
|
2949
2705
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2950
2706
|
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
2951
2707
|
command.query['fields'] = fields unless fields.nil?
|
|
2952
2708
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2953
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2954
2709
|
execute_or_queue_command(command, &block)
|
|
2955
2710
|
end
|
|
2956
2711
|
|
|
@@ -2961,10 +2716,8 @@ module Google
|
|
|
2961
2716
|
# @param [String] fields
|
|
2962
2717
|
# Selector specifying which fields to include in a partial response.
|
|
2963
2718
|
# @param [String] quota_user
|
|
2964
|
-
#
|
|
2965
|
-
# characters.
|
|
2966
|
-
# @param [String] user_ip
|
|
2967
|
-
# Deprecated. Please use quotaUser instead.
|
|
2719
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2720
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2968
2721
|
# @param [Google::Apis::RequestOptions] options
|
|
2969
2722
|
# Request-specific options
|
|
2970
2723
|
#
|
|
@@ -2977,8 +2730,8 @@ module Google
|
|
|
2977
2730
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2978
2731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2979
2732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2980
|
-
def insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil,
|
|
2981
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webApps', options)
|
|
2733
|
+
def insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2734
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/webApps', options)
|
|
2982
2735
|
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
2983
2736
|
command.request_object = web_app_object
|
|
2984
2737
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
@@ -2986,7 +2739,6 @@ module Google
|
|
|
2986
2739
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
2987
2740
|
command.query['fields'] = fields unless fields.nil?
|
|
2988
2741
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2989
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2990
2742
|
execute_or_queue_command(command, &block)
|
|
2991
2743
|
end
|
|
2992
2744
|
|
|
@@ -2996,10 +2748,8 @@ module Google
|
|
|
2996
2748
|
# @param [String] fields
|
|
2997
2749
|
# Selector specifying which fields to include in a partial response.
|
|
2998
2750
|
# @param [String] quota_user
|
|
2999
|
-
#
|
|
3000
|
-
# characters.
|
|
3001
|
-
# @param [String] user_ip
|
|
3002
|
-
# Deprecated. Please use quotaUser instead.
|
|
2751
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2752
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3003
2753
|
# @param [Google::Apis::RequestOptions] options
|
|
3004
2754
|
# Request-specific options
|
|
3005
2755
|
#
|
|
@@ -3012,14 +2762,13 @@ module Google
|
|
|
3012
2762
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3013
2763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3014
2764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3015
|
-
def list_webapps(enterprise_id, fields: nil, quota_user: nil,
|
|
3016
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps', options)
|
|
2765
|
+
def list_webapps(enterprise_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2766
|
+
command = make_simple_command(:get, 'androidenterprise/v1/enterprises/{enterpriseId}/webApps', options)
|
|
3017
2767
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebAppsListResponse::Representation
|
|
3018
2768
|
command.response_class = Google::Apis::AndroidenterpriseV1::WebAppsListResponse
|
|
3019
2769
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3020
2770
|
command.query['fields'] = fields unless fields.nil?
|
|
3021
2771
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3022
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3023
2772
|
execute_or_queue_command(command, &block)
|
|
3024
2773
|
end
|
|
3025
2774
|
|
|
@@ -3032,10 +2781,8 @@ module Google
|
|
|
3032
2781
|
# @param [String] fields
|
|
3033
2782
|
# Selector specifying which fields to include in a partial response.
|
|
3034
2783
|
# @param [String] quota_user
|
|
3035
|
-
#
|
|
3036
|
-
# characters.
|
|
3037
|
-
# @param [String] user_ip
|
|
3038
|
-
# Deprecated. Please use quotaUser instead.
|
|
2784
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2785
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3039
2786
|
# @param [Google::Apis::RequestOptions] options
|
|
3040
2787
|
# Request-specific options
|
|
3041
2788
|
#
|
|
@@ -3048,8 +2795,8 @@ module Google
|
|
|
3048
2795
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3049
2796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3050
2797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3051
|
-
def update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil,
|
|
3052
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
2798
|
+
def update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2799
|
+
command = make_simple_command(:put, 'androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
3053
2800
|
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3054
2801
|
command.request_object = web_app_object
|
|
3055
2802
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
@@ -3058,7 +2805,6 @@ module Google
|
|
|
3058
2805
|
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
3059
2806
|
command.query['fields'] = fields unless fields.nil?
|
|
3060
2807
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3061
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3062
2808
|
execute_or_queue_command(command, &block)
|
|
3063
2809
|
end
|
|
3064
2810
|
|
|
@@ -3067,7 +2813,6 @@ module Google
|
|
|
3067
2813
|
def apply_command_defaults(command)
|
|
3068
2814
|
command.query['key'] = key unless key.nil?
|
|
3069
2815
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3070
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3071
2816
|
end
|
|
3072
2817
|
end
|
|
3073
2818
|
end
|