google-api-client 0.29.1 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +102 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/service.rb +37 -37
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +15 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- 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 +15 -15
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -67,7 +67,7 @@ module Google
|
|
67
67
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
68
68
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
69
69
|
def batch_get_reports(get_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
70
|
-
command =
|
70
|
+
command = make_simple_command(:post, 'v4/reports:batchGet', options)
|
71
71
|
command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation
|
72
72
|
command.request_object = get_reports_request_object
|
73
73
|
command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
98
98
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
99
99
|
def search_user_activity(search_user_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
100
|
-
command =
|
100
|
+
command = make_simple_command(:post, 'v4/userActivity:search', options)
|
101
101
|
command.request_representation = Google::Apis::AnalyticsreportingV4::SearchUserActivityRequest::Representation
|
102
102
|
command.request_object = search_user_activity_request_object
|
103
103
|
command.response_representation = Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse::Representation
|
@@ -1101,7 +1101,7 @@ module Google
|
|
1101
1101
|
|
1102
1102
|
# The server-assigned name, which is only unique within the same service that
|
1103
1103
|
# originally returns it. If you use the default HTTP mapping, the
|
1104
|
-
# `name` should
|
1104
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
1105
1105
|
# Corresponds to the JSON property `name`
|
1106
1106
|
# @return [String]
|
1107
1107
|
attr_accessor :name
|
@@ -72,7 +72,7 @@ module Google
|
|
72
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
74
|
def list_customers(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
-
command =
|
75
|
+
command = make_simple_command(:get, 'v1/customers', options)
|
76
76
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse::Representation
|
77
77
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListCustomersResponse
|
78
78
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -106,7 +106,7 @@ module Google
|
|
106
106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
108
|
def create_customer_configuration(parent, configuration_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
|
-
command =
|
109
|
+
command = make_simple_command(:post, 'v1/{+parent}/configurations', options)
|
110
110
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
|
111
111
|
command.request_object = configuration_object
|
112
112
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
|
@@ -141,7 +141,7 @@ module Google
|
|
141
141
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
142
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
143
|
def delete_customer_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
144
|
-
command =
|
144
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
145
145
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
|
146
146
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Empty
|
147
147
|
command.params['name'] = name unless name.nil?
|
@@ -172,7 +172,7 @@ module Google
|
|
172
172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
174
|
def get_customer_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
175
|
-
command =
|
175
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
176
176
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
|
177
177
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Configuration
|
178
178
|
command.params['name'] = name unless name.nil?
|
@@ -203,7 +203,7 @@ module Google
|
|
203
203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
204
204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
205
205
|
def list_customer_configurations(parent, fields: nil, quota_user: nil, options: nil, &block)
|
206
|
-
command =
|
206
|
+
command = make_simple_command(:get, 'v1/{+parent}/configurations', options)
|
207
207
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse::Representation
|
208
208
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListConfigurationsResponse
|
209
209
|
command.params['parent'] = parent unless parent.nil?
|
@@ -241,7 +241,7 @@ module Google
|
|
241
241
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
242
242
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
243
243
|
def patch_customer_configuration(name, configuration_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
244
|
-
command =
|
244
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
245
245
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
|
246
246
|
command.request_object = configuration_object
|
247
247
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Configuration::Representation
|
@@ -278,7 +278,7 @@ module Google
|
|
278
278
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
279
279
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
280
280
|
def apply_customer_device_configuration(parent, customer_apply_configuration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
281
|
-
command =
|
281
|
+
command = make_simple_command(:post, 'v1/{+parent}/devices:applyConfiguration', options)
|
282
282
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerApplyConfigurationRequest::Representation
|
283
283
|
command.request_object = customer_apply_configuration_request_object
|
284
284
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
|
@@ -311,7 +311,7 @@ module Google
|
|
311
311
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
312
312
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
313
313
|
def get_customer_device(name, fields: nil, quota_user: nil, options: nil, &block)
|
314
|
-
command =
|
314
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
315
315
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
316
316
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Device
|
317
317
|
command.params['name'] = name unless name.nil?
|
@@ -347,7 +347,7 @@ module Google
|
|
347
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
348
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
349
349
|
def list_customer_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
350
|
-
command =
|
350
|
+
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
351
351
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse::Representation
|
352
352
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDevicesResponse
|
353
353
|
command.params['parent'] = parent unless parent.nil?
|
@@ -381,7 +381,7 @@ module Google
|
|
381
381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
382
382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
383
383
|
def remove_customer_device_configuration(parent, customer_remove_configuration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
384
|
-
command =
|
384
|
+
command = make_simple_command(:post, 'v1/{+parent}/devices:removeConfiguration', options)
|
385
385
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerRemoveConfigurationRequest::Representation
|
386
386
|
command.request_object = customer_remove_configuration_request_object
|
387
387
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
|
@@ -418,7 +418,7 @@ module Google
|
|
418
418
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
419
419
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
420
420
|
def unclaim_customer_device(parent, customer_unclaim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
421
|
-
command =
|
421
|
+
command = make_simple_command(:post, 'v1/{+parent}/devices:unclaim', options)
|
422
422
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerUnclaimDeviceRequest::Representation
|
423
423
|
command.request_object = customer_unclaim_device_request_object
|
424
424
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
|
@@ -452,7 +452,7 @@ module Google
|
|
452
452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
453
453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
454
454
|
def list_customer_dpcs(parent, fields: nil, quota_user: nil, options: nil, &block)
|
455
|
-
command =
|
455
|
+
command = make_simple_command(:get, 'v1/{+parent}/dpcs', options)
|
456
456
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse::Representation
|
457
457
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::CustomerListDpcsResponse
|
458
458
|
command.params['parent'] = parent unless parent.nil?
|
@@ -484,7 +484,7 @@ module Google
|
|
484
484
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
485
485
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
486
486
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
487
|
-
command =
|
487
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
488
488
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
|
489
489
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Operation
|
490
490
|
command.params['name'] = name unless name.nil?
|
@@ -520,7 +520,7 @@ module Google
|
|
520
520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
521
521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
522
522
|
def create_customer(parent, create_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
523
|
-
command =
|
523
|
+
command = make_simple_command(:post, 'v1/{+parent}/customers', options)
|
524
524
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::CreateCustomerRequest::Representation
|
525
525
|
command.request_object = create_customer_request_object
|
526
526
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
@@ -559,7 +559,7 @@ module Google
|
|
559
559
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
560
560
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
561
561
|
def list_partner_customers(partner_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
562
|
-
command =
|
562
|
+
command = make_simple_command(:get, 'v1/partners/{+partnerId}/customers', options)
|
563
563
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse::Representation
|
564
564
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse
|
565
565
|
command.params['partnerId'] = partner_id unless partner_id.nil?
|
@@ -593,7 +593,7 @@ module Google
|
|
593
593
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
594
594
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
595
595
|
def claim_device(partner_id, claim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
596
|
-
command =
|
596
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claim', options)
|
597
597
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceRequest::Representation
|
598
598
|
command.request_object = claim_device_request_object
|
599
599
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDeviceResponse::Representation
|
@@ -628,7 +628,7 @@ module Google
|
|
628
628
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
629
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
630
|
def claim_partner_device_async(partner_id, claim_devices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
-
command =
|
631
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:claimAsync', options)
|
632
632
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::ClaimDevicesRequest::Representation
|
633
633
|
command.request_object = claim_devices_request_object
|
634
634
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
|
@@ -661,7 +661,7 @@ module Google
|
|
661
661
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
662
662
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
663
663
|
def find_partner_device_by_identifier(partner_id, find_devices_by_device_identifier_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
664
|
-
command =
|
664
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByIdentifier', options)
|
665
665
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierRequest::Representation
|
666
666
|
command.request_object = find_devices_by_device_identifier_request_object
|
667
667
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByDeviceIdentifierResponse::Representation
|
@@ -697,7 +697,7 @@ module Google
|
|
697
697
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
698
698
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
699
699
|
def find_partner_device_by_owner(partner_id, find_devices_by_owner_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
700
|
-
command =
|
700
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:findByOwner', options)
|
701
701
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerRequest::Representation
|
702
702
|
command.request_object = find_devices_by_owner_request_object
|
703
703
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::FindDevicesByOwnerResponse::Representation
|
@@ -730,7 +730,7 @@ module Google
|
|
730
730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
731
731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
732
732
|
def get_partner_device(name, fields: nil, quota_user: nil, options: nil, &block)
|
733
|
-
command =
|
733
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
734
734
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
735
735
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::Device
|
736
736
|
command.params['name'] = name unless name.nil?
|
@@ -763,7 +763,7 @@ module Google
|
|
763
763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
764
764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
765
765
|
def metadata_partner_device(metadata_owner_id, device_id, update_device_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
766
|
-
command =
|
766
|
+
command = make_simple_command(:post, 'v1/partners/{+metadataOwnerId}/devices/{+deviceId}/metadata', options)
|
767
767
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataRequest::Representation
|
768
768
|
command.request_object = update_device_metadata_request_object
|
769
769
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata::Representation
|
@@ -798,7 +798,7 @@ module Google
|
|
798
798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
799
799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
800
800
|
def unclaim_device(partner_id, unclaim_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
801
|
-
command =
|
801
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaim', options)
|
802
802
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UnclaimDeviceRequest::Representation
|
803
803
|
command.request_object = unclaim_device_request_object
|
804
804
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Empty::Representation
|
@@ -833,7 +833,7 @@ module Google
|
|
833
833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
835
|
def unclaim_partner_device_async(partner_id, unclaim_devices_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
836
|
-
command =
|
836
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:unclaimAsync', options)
|
837
837
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UnclaimDevicesRequest::Representation
|
838
838
|
command.request_object = unclaim_devices_request_object
|
839
839
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
|
@@ -869,7 +869,7 @@ module Google
|
|
869
869
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
870
870
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
871
871
|
def update_partner_device_metadata_async(partner_id, update_device_metadata_in_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
872
|
-
command =
|
872
|
+
command = make_simple_command(:post, 'v1/partners/{+partnerId}/devices:updateMetadataAsync', options)
|
873
873
|
command.request_representation = Google::Apis::AndroiddeviceprovisioningV1::UpdateDeviceMetadataInBatchRequest::Representation
|
874
874
|
command.request_object = update_device_metadata_in_batch_request_object
|
875
875
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::Operation::Representation
|
@@ -905,7 +905,7 @@ module Google
|
|
905
905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
906
906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
907
907
|
def list_partner_vendors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
908
|
-
command =
|
908
|
+
command = make_simple_command(:get, 'v1/{+parent}/vendors', options)
|
909
909
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListVendorsResponse::Representation
|
910
910
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListVendorsResponse
|
911
911
|
command.params['parent'] = parent unless parent.nil?
|
@@ -942,7 +942,7 @@ module Google
|
|
942
942
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
943
943
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
944
944
|
def list_partner_vendor_customers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
945
|
-
command =
|
945
|
+
command = make_simple_command(:get, 'v1/{+parent}/customers', options)
|
946
946
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListVendorCustomersResponse::Representation
|
947
947
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListVendorCustomersResponse
|
948
948
|
command.params['parent'] = parent unless parent.nil?
|
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
80
|
def get_device(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
81
|
-
command =
|
81
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
82
82
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
83
83
|
command.response_class = Google::Apis::AndroidenterpriseV1::Device
|
84
84
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -121,7 +121,7 @@ module Google
|
|
121
121
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
122
122
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
123
123
|
def get_device_state(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
124
|
-
command =
|
124
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
|
125
125
|
command.response_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
|
126
126
|
command.response_class = Google::Apis::AndroidenterpriseV1::DeviceState
|
127
127
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -158,7 +158,7 @@ module Google
|
|
158
158
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
159
159
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
160
160
|
def list_devices(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
161
|
-
command =
|
161
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices', options)
|
162
162
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListDevicesResponse::Representation
|
163
163
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListDevicesResponse
|
164
164
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -202,7 +202,7 @@ module Google
|
|
202
202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
203
203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
204
204
|
def patch_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
205
|
-
command =
|
205
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
206
206
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
207
207
|
command.request_object = device_object
|
208
208
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
251
|
def set_device_state(enterprise_id, user_id, device_id, device_state_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
252
|
-
command =
|
252
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', options)
|
253
253
|
command.request_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
|
254
254
|
command.request_object = device_state_object
|
255
255
|
command.response_representation = Google::Apis::AndroidenterpriseV1::DeviceState::Representation
|
@@ -296,7 +296,7 @@ module Google
|
|
296
296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
298
298
|
def update_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
299
|
-
command =
|
299
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
300
300
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
301
301
|
command.request_object = device_object
|
302
302
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
@@ -337,7 +337,7 @@ module Google
|
|
337
337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
338
338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
339
339
|
def acknowledge_enterprise_notification_set(notification_set_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
340
|
-
command =
|
340
|
+
command = make_simple_command(:post, 'enterprises/acknowledgeNotificationSet', options)
|
341
341
|
command.query['notificationSetId'] = notification_set_id unless notification_set_id.nil?
|
342
342
|
command.query['fields'] = fields unless fields.nil?
|
343
343
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -372,7 +372,7 @@ module Google
|
|
372
372
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
373
373
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
374
374
|
def complete_enterprise_signup(completion_token: nil, enterprise_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
375
|
-
command =
|
375
|
+
command = make_simple_command(:post, 'enterprises/completeSignup', options)
|
376
376
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
377
377
|
command.response_class = Google::Apis::AndroidenterpriseV1::Enterprise
|
378
378
|
command.query['completionToken'] = completion_token unless completion_token.nil?
|
@@ -410,7 +410,7 @@ module Google
|
|
410
410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
411
411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
412
412
|
def create_enterprise_web_token(enterprise_id, administrator_web_token_spec_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
413
|
-
command =
|
413
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/createWebToken', options)
|
414
414
|
command.request_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec::Representation
|
415
415
|
command.request_object = administrator_web_token_spec_object
|
416
416
|
command.response_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebToken::Representation
|
@@ -446,7 +446,7 @@ module Google
|
|
446
446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
447
447
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
448
448
|
def enroll_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
449
|
-
command =
|
449
|
+
command = make_simple_command(:post, 'enterprises/enroll', options)
|
450
450
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
451
451
|
command.request_object = enterprise_object
|
452
452
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
@@ -487,7 +487,7 @@ module Google
|
|
487
487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
489
|
def generate_enterprise_signup_url(callback_url: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
490
|
-
command =
|
490
|
+
command = make_simple_command(:post, 'enterprises/signupUrl', options)
|
491
491
|
command.response_representation = Google::Apis::AndroidenterpriseV1::SignupInfo::Representation
|
492
492
|
command.response_class = Google::Apis::AndroidenterpriseV1::SignupInfo
|
493
493
|
command.query['callbackUrl'] = callback_url unless callback_url.nil?
|
@@ -520,7 +520,7 @@ module Google
|
|
520
520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
521
521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
522
522
|
def get_enterprise(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
523
|
-
command =
|
523
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}', options)
|
524
524
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
525
525
|
command.response_class = Google::Apis::AndroidenterpriseV1::Enterprise
|
526
526
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -565,7 +565,7 @@ module Google
|
|
565
565
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
566
566
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
567
567
|
def get_enterprise_service_account(enterprise_id, key_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
568
|
-
command =
|
568
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccount', options)
|
569
569
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccount::Representation
|
570
570
|
command.response_class = Google::Apis::AndroidenterpriseV1::ServiceAccount
|
571
571
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -600,7 +600,7 @@ module Google
|
|
600
600
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
601
601
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
602
602
|
def get_enterprise_store_layout(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
603
|
-
command =
|
603
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout', options)
|
604
604
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
605
605
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayout
|
606
606
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -637,7 +637,7 @@ module Google
|
|
637
637
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
638
638
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
639
639
|
def list_enterprises(domain, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
640
|
-
command =
|
640
|
+
command = make_simple_command(:get, 'enterprises', options)
|
641
641
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse::Representation
|
642
642
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse
|
643
643
|
command.query['domain'] = domain unless domain.nil?
|
@@ -690,7 +690,7 @@ module Google
|
|
690
690
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
691
691
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
692
692
|
def pull_enterprise_notification_set(request_mode: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
693
|
-
command =
|
693
|
+
command = make_simple_command(:post, 'enterprises/pullNotificationSet', options)
|
694
694
|
command.response_representation = Google::Apis::AndroidenterpriseV1::NotificationSet::Representation
|
695
695
|
command.response_class = Google::Apis::AndroidenterpriseV1::NotificationSet
|
696
696
|
command.query['requestMode'] = request_mode unless request_mode.nil?
|
@@ -724,7 +724,7 @@ module Google
|
|
724
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
725
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
726
726
|
def send_enterprise_test_push_notification(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
727
|
-
command =
|
727
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/sendTestPushNotification', options)
|
728
728
|
command.response_representation = Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse::Representation
|
729
729
|
command.response_class = Google::Apis::AndroidenterpriseV1::SendTestPushNotificationResponse
|
730
730
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -759,7 +759,7 @@ module Google
|
|
759
759
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
760
760
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
761
761
|
def set_enterprise_account(enterprise_id, enterprise_account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
762
|
-
command =
|
762
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/account', options)
|
763
763
|
command.request_representation = Google::Apis::AndroidenterpriseV1::EnterpriseAccount::Representation
|
764
764
|
command.request_object = enterprise_account_object
|
765
765
|
command.response_representation = Google::Apis::AndroidenterpriseV1::EnterpriseAccount::Representation
|
@@ -801,7 +801,7 @@ module Google
|
|
801
801
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
802
802
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
803
803
|
def set_enterprise_store_layout(enterprise_id, store_layout_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
804
|
-
command =
|
804
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout', options)
|
805
805
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
806
806
|
command.request_object = store_layout_object
|
807
807
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
@@ -836,7 +836,7 @@ module Google
|
|
836
836
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
837
837
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
838
838
|
def unenroll_enterprise(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
839
|
-
command =
|
839
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/unenroll', options)
|
840
840
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
841
841
|
command.query['fields'] = fields unless fields.nil?
|
842
842
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -871,7 +871,7 @@ module Google
|
|
871
871
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
872
872
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
873
873
|
def delete_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
874
|
-
command =
|
874
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
875
875
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
876
876
|
command.params['userId'] = user_id unless user_id.nil?
|
877
877
|
command.params['entitlementId'] = entitlement_id unless entitlement_id.nil?
|
@@ -908,7 +908,7 @@ module Google
|
|
908
908
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
909
909
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
910
910
|
def get_entitlement(enterprise_id, user_id, entitlement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
911
|
-
command =
|
911
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
912
912
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
913
913
|
command.response_class = Google::Apis::AndroidenterpriseV1::Entitlement
|
914
914
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -945,7 +945,7 @@ module Google
|
|
945
945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
946
946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
947
947
|
def list_entitlements(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
948
|
-
command =
|
948
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/entitlements', options)
|
949
949
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse::Representation
|
950
950
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListEntitlementsResponse
|
951
951
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -990,7 +990,7 @@ module Google
|
|
990
990
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
991
991
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
992
992
|
def patch_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
993
|
-
command =
|
993
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
994
994
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
995
995
|
command.request_object = entitlement_object
|
996
996
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
@@ -1038,7 +1038,7 @@ module Google
|
|
1038
1038
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1039
1039
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1040
1040
|
def update_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1041
|
-
command =
|
1041
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
1042
1042
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
1043
1043
|
command.request_object = entitlement_object
|
1044
1044
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
@@ -1079,7 +1079,7 @@ module Google
|
|
1079
1079
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1080
1080
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1081
1081
|
def get_group_license(enterprise_id, group_license_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1082
|
-
command =
|
1082
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', options)
|
1083
1083
|
command.response_representation = Google::Apis::AndroidenterpriseV1::GroupLicense::Representation
|
1084
1084
|
command.response_class = Google::Apis::AndroidenterpriseV1::GroupLicense
|
1085
1085
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1113,7 +1113,7 @@ module Google
|
|
1113
1113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1114
1114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1115
1115
|
def list_group_licenses(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1116
|
-
command =
|
1116
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses', options)
|
1117
1117
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListGroupLicensesResponse::Representation
|
1118
1118
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListGroupLicensesResponse
|
1119
1119
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1150,7 +1150,7 @@ module Google
|
|
1150
1150
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1151
1151
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1152
1152
|
def list_group_license_users(enterprise_id, group_license_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1153
|
-
command =
|
1153
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', options)
|
1154
1154
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListGroupLicenseUsersResponse::Representation
|
1155
1155
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListGroupLicenseUsersResponse
|
1156
1156
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1192,7 +1192,7 @@ module Google
|
|
1192
1192
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1193
1193
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1194
1194
|
def delete_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1195
|
-
command =
|
1195
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
1196
1196
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
1197
1197
|
command.params['userId'] = user_id unless user_id.nil?
|
1198
1198
|
command.params['deviceId'] = device_id unless device_id.nil?
|
@@ -1233,7 +1233,7 @@ module Google
|
|
1233
1233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1234
1234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1235
1235
|
def get_install(enterprise_id, user_id, device_id, install_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1236
|
-
command =
|
1236
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
1237
1237
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
1238
1238
|
command.response_class = Google::Apis::AndroidenterpriseV1::Install
|
1239
1239
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1273,7 +1273,7 @@ module Google
|
|
1273
1273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1274
1274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1275
1275
|
def list_installs(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1276
|
-
command =
|
1276
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', options)
|
1277
1277
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListInstallsResponse::Representation
|
1278
1278
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListInstallsResponse
|
1279
1279
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1318,7 +1318,7 @@ module Google
|
|
1318
1318
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1319
1319
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1320
1320
|
def patch_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1321
|
-
command =
|
1321
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
1322
1322
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
1323
1323
|
command.request_object = install_object
|
1324
1324
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
@@ -1365,7 +1365,7 @@ module Google
|
|
1365
1365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1366
1366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1367
1367
|
def update_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1368
|
-
command =
|
1368
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
1369
1369
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
1370
1370
|
command.request_object = install_object
|
1371
1371
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
@@ -1410,7 +1410,7 @@ module Google
|
|
1410
1410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1411
1411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1412
1412
|
def delete_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1413
|
-
command =
|
1413
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
1414
1414
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
1415
1415
|
command.params['userId'] = user_id unless user_id.nil?
|
1416
1416
|
command.params['deviceId'] = device_id unless device_id.nil?
|
@@ -1451,7 +1451,7 @@ module Google
|
|
1451
1451
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1452
1452
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1453
1453
|
def get_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1454
|
-
command =
|
1454
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
1455
1455
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1456
1456
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
1457
1457
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1492,7 +1492,7 @@ module Google
|
|
1492
1492
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1493
1493
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1494
1494
|
def list_managedconfigurationsfordevices(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1495
|
-
command =
|
1495
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice', options)
|
1496
1496
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse::Representation
|
1497
1497
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForDeviceListResponse
|
1498
1498
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1536,7 +1536,7 @@ module Google
|
|
1536
1536
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1537
1537
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1538
1538
|
def patch_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1539
|
-
command =
|
1539
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
1540
1540
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1541
1541
|
command.request_object = managed_configuration_object
|
1542
1542
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
@@ -1583,7 +1583,7 @@ module Google
|
|
1583
1583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1584
1584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1585
1585
|
def update_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1586
|
-
command =
|
1586
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
1587
1587
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1588
1588
|
command.request_object = managed_configuration_object
|
1589
1589
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
@@ -1626,7 +1626,7 @@ module Google
|
|
1626
1626
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1627
1627
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1628
1628
|
def delete_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1629
|
-
command =
|
1629
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
1630
1630
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
1631
1631
|
command.params['userId'] = user_id unless user_id.nil?
|
1632
1632
|
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_id.nil?
|
@@ -1665,7 +1665,7 @@ module Google
|
|
1665
1665
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1666
1666
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1667
1667
|
def get_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1668
|
-
command =
|
1668
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
1669
1669
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1670
1670
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
1671
1671
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1703,7 +1703,7 @@ module Google
|
|
1703
1703
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1704
1704
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1705
1705
|
def list_managedconfigurationsforusers(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1706
|
-
command =
|
1706
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser', options)
|
1707
1707
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse::Representation
|
1708
1708
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsForUserListResponse
|
1709
1709
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1748,7 +1748,7 @@ module Google
|
|
1748
1748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1749
1749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1750
1750
|
def patch_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1751
|
-
command =
|
1751
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
1752
1752
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1753
1753
|
command.request_object = managed_configuration_object
|
1754
1754
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
@@ -1795,7 +1795,7 @@ module Google
|
|
1795
1795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1796
1796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1797
1797
|
def update_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1798
|
-
command =
|
1798
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
1799
1799
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
1800
1800
|
command.request_object = managed_configuration_object
|
1801
1801
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
@@ -1835,7 +1835,7 @@ module Google
|
|
1835
1835
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1836
1836
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1837
1837
|
def list_managedconfigurationssettings(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1838
|
-
command =
|
1838
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
|
1839
1839
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse::Representation
|
1840
1840
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse
|
1841
1841
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1872,7 +1872,7 @@ module Google
|
|
1872
1872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1873
1873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1874
1874
|
def get_permission(permission_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1875
|
-
command =
|
1875
|
+
command = make_simple_command(:get, 'permissions/{permissionId}', options)
|
1876
1876
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Permission::Representation
|
1877
1877
|
command.response_class = Google::Apis::AndroidenterpriseV1::Permission
|
1878
1878
|
command.params['permissionId'] = permission_id unless permission_id.nil?
|
@@ -1913,7 +1913,7 @@ module Google
|
|
1913
1913
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1914
1914
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1915
1915
|
def approve_product(enterprise_id, product_id, approve_product_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1916
|
-
command =
|
1916
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/approve', options)
|
1917
1917
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ApproveProductRequest::Representation
|
1918
1918
|
command.request_object = approve_product_request_object
|
1919
1919
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1959,7 +1959,7 @@ module Google
|
|
1959
1959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1960
1960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1961
1961
|
def generate_product_approval_url(enterprise_id, product_id, language_code: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1962
|
-
command =
|
1962
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl', options)
|
1963
1963
|
command.response_representation = Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse::Representation
|
1964
1964
|
command.response_class = Google::Apis::AndroidenterpriseV1::GenerateProductApprovalUrlResponse
|
1965
1965
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -1998,7 +1998,7 @@ module Google
|
|
1998
1998
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1999
1999
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2000
2000
|
def get_product(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2001
|
-
command =
|
2001
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}', options)
|
2002
2002
|
command.response_representation = Google::Apis::AndroidenterpriseV1::Product::Representation
|
2003
2003
|
command.response_class = Google::Apis::AndroidenterpriseV1::Product
|
2004
2004
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2042,7 +2042,7 @@ module Google
|
|
2042
2042
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2043
2043
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2044
2044
|
def get_product_app_restrictions_schema(enterprise_id, product_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2045
|
-
command =
|
2045
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', options)
|
2046
2046
|
command.response_representation = Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema::Representation
|
2047
2047
|
command.response_class = Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
|
2048
2048
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2079,7 +2079,7 @@ module Google
|
|
2079
2079
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2080
2080
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2081
2081
|
def get_product_permissions(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2082
|
-
command =
|
2082
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/permissions', options)
|
2083
2083
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductPermissions::Representation
|
2084
2084
|
command.response_class = Google::Apis::AndroidenterpriseV1::ProductPermissions
|
2085
2085
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2133,7 +2133,7 @@ module Google
|
|
2133
2133
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2134
2134
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2135
2135
|
def list_products(enterprise_id, approved: nil, language: nil, max_results: nil, query: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2136
|
-
command =
|
2136
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products', options)
|
2137
2137
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductsListResponse::Representation
|
2138
2138
|
command.response_class = Google::Apis::AndroidenterpriseV1::ProductsListResponse
|
2139
2139
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2173,7 +2173,7 @@ module Google
|
|
2173
2173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2174
2174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2175
2175
|
def unapprove_product(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2176
|
-
command =
|
2176
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/unapprove', options)
|
2177
2177
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
2178
2178
|
command.params['productId'] = product_id unless product_id.nil?
|
2179
2179
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2210,7 +2210,7 @@ module Google
|
|
2210
2210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2211
2211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2212
2212
|
def delete_serviceaccountkey(enterprise_id, key_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2213
|
-
command =
|
2213
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/serviceAccountKeys/{keyId}', options)
|
2214
2214
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
2215
2215
|
command.params['keyId'] = key_id unless key_id.nil?
|
2216
2216
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2247,7 +2247,7 @@ module Google
|
|
2247
2247
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2248
2248
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2249
2249
|
def insert_serviceaccountkey(enterprise_id, service_account_key_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2250
|
-
command =
|
2250
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
|
2251
2251
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
|
2252
2252
|
command.request_object = service_account_key_object
|
2253
2253
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKey::Representation
|
@@ -2286,7 +2286,7 @@ module Google
|
|
2286
2286
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2287
2287
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2288
2288
|
def list_serviceaccountkeys(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2289
|
-
command =
|
2289
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/serviceAccountKeys', options)
|
2290
2290
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ServiceAccountKeysListResponse::Representation
|
2291
2291
|
command.response_class = Google::Apis::AndroidenterpriseV1::ServiceAccountKeysListResponse
|
2292
2292
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2323,7 +2323,7 @@ module Google
|
|
2323
2323
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2324
2324
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2325
2325
|
def delete_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2326
|
-
command =
|
2326
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
2327
2327
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
2328
2328
|
command.params['pageId'] = page_id unless page_id.nil?
|
2329
2329
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
@@ -2360,7 +2360,7 @@ module Google
|
|
2360
2360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2361
2361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2362
2362
|
def get_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2363
|
-
command =
|
2363
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
2364
2364
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
2365
2365
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
2366
2366
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2398,7 +2398,7 @@ module Google
|
|
2398
2398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2399
2399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2400
2400
|
def insert_storelayoutcluster(enterprise_id, page_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2401
|
-
command =
|
2401
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
2402
2402
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
2403
2403
|
command.request_object = store_cluster_object
|
2404
2404
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
@@ -2436,7 +2436,7 @@ module Google
|
|
2436
2436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2437
2437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2438
2438
|
def list_storelayoutclusters(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2439
|
-
command =
|
2439
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
2440
2440
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse::Representation
|
2441
2441
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse
|
2442
2442
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2475,7 +2475,7 @@ module Google
|
|
2475
2475
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2476
2476
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2477
2477
|
def patch_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2478
|
-
command =
|
2478
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
2479
2479
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
2480
2480
|
command.request_object = store_cluster_object
|
2481
2481
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
@@ -2517,7 +2517,7 @@ module Google
|
|
2517
2517
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2518
2518
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2519
2519
|
def update_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2520
|
-
command =
|
2520
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
2521
2521
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
2522
2522
|
command.request_object = store_cluster_object
|
2523
2523
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
@@ -2556,7 +2556,7 @@ module Google
|
|
2556
2556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2557
2557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2558
2558
|
def delete_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2559
|
-
command =
|
2559
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
2560
2560
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
2561
2561
|
command.params['pageId'] = page_id unless page_id.nil?
|
2562
2562
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2590,7 +2590,7 @@ module Google
|
|
2590
2590
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2591
2591
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2592
2592
|
def get_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2593
|
-
command =
|
2593
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
2594
2594
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
2595
2595
|
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
2596
2596
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2625,7 +2625,7 @@ module Google
|
|
2625
2625
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2626
2626
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2627
2627
|
def insert_storelayoutpage(enterprise_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2628
|
-
command =
|
2628
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages', options)
|
2629
2629
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
2630
2630
|
command.request_object = store_page_object
|
2631
2631
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
@@ -2660,7 +2660,7 @@ module Google
|
|
2660
2660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2661
2661
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2662
2662
|
def list_storelayoutpages(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2663
|
-
command =
|
2663
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages', options)
|
2664
2664
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse::Representation
|
2665
2665
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse
|
2666
2666
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2696,7 +2696,7 @@ module Google
|
|
2696
2696
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2697
2697
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2698
2698
|
def patch_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2699
|
-
command =
|
2699
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
2700
2700
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
2701
2701
|
command.request_object = store_page_object
|
2702
2702
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
@@ -2735,7 +2735,7 @@ module Google
|
|
2735
2735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2736
2736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2737
2737
|
def update_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2738
|
-
command =
|
2738
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
2739
2739
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
2740
2740
|
command.request_object = store_page_object
|
2741
2741
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
@@ -2773,7 +2773,7 @@ module Google
|
|
2773
2773
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2774
2774
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2775
2775
|
def delete_user(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2776
|
-
command =
|
2776
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}', options)
|
2777
2777
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
2778
2778
|
command.params['userId'] = user_id unless user_id.nil?
|
2779
2779
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2811,7 +2811,7 @@ module Google
|
|
2811
2811
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2812
2812
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2813
2813
|
def generate_user_authentication_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2814
|
-
command =
|
2814
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/authenticationToken', options)
|
2815
2815
|
command.response_representation = Google::Apis::AndroidenterpriseV1::AuthenticationToken::Representation
|
2816
2816
|
command.response_class = Google::Apis::AndroidenterpriseV1::AuthenticationToken
|
2817
2817
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2850,7 +2850,7 @@ module Google
|
|
2850
2850
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2851
2851
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2852
2852
|
def generate_user_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2853
|
-
command =
|
2853
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/token', options)
|
2854
2854
|
command.response_representation = Google::Apis::AndroidenterpriseV1::UserToken::Representation
|
2855
2855
|
command.response_class = Google::Apis::AndroidenterpriseV1::UserToken
|
2856
2856
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2886,7 +2886,7 @@ module Google
|
|
2886
2886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2887
2887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2888
2888
|
def get_user(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2889
|
-
command =
|
2889
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}', options)
|
2890
2890
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
2891
2891
|
command.response_class = Google::Apis::AndroidenterpriseV1::User
|
2892
2892
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2922,7 +2922,7 @@ module Google
|
|
2922
2922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2923
2923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2924
2924
|
def get_user_available_product_set(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2925
|
-
command =
|
2925
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
|
2926
2926
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
|
2927
2927
|
command.response_class = Google::Apis::AndroidenterpriseV1::ProductSet
|
2928
2928
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -2962,7 +2962,7 @@ module Google
|
|
2962
2962
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2963
2963
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2964
2964
|
def insert_user(enterprise_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2965
|
-
command =
|
2965
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/users', options)
|
2966
2966
|
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
2967
2967
|
command.request_object = user_object
|
2968
2968
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
@@ -3001,7 +3001,7 @@ module Google
|
|
3001
3001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3002
3002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3003
3003
|
def list_users(enterprise_id, email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3004
|
-
command =
|
3004
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/users', options)
|
3005
3005
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListUsersResponse::Representation
|
3006
3006
|
command.response_class = Google::Apis::AndroidenterpriseV1::ListUsersResponse
|
3007
3007
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -3042,7 +3042,7 @@ module Google
|
|
3042
3042
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3043
3043
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3044
3044
|
def patch_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3045
|
-
command =
|
3045
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}', options)
|
3046
3046
|
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
3047
3047
|
command.request_object = user_object
|
3048
3048
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
@@ -3083,7 +3083,7 @@ module Google
|
|
3083
3083
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3084
3084
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3085
3085
|
def revoke_user_device_access(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3086
|
-
command =
|
3086
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/deviceAccess', options)
|
3087
3087
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3088
3088
|
command.params['userId'] = user_id unless user_id.nil?
|
3089
3089
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3117,7 +3117,7 @@ module Google
|
|
3117
3117
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3118
3118
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3119
3119
|
def revoke_user_token(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3120
|
-
command =
|
3120
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/users/{userId}/token', options)
|
3121
3121
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3122
3122
|
command.params['userId'] = user_id unless user_id.nil?
|
3123
3123
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3154,7 +3154,7 @@ module Google
|
|
3154
3154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3155
3155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3156
3156
|
def set_user_available_product_set(enterprise_id, user_id, product_set_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3157
|
-
command =
|
3157
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/availableProductSet', options)
|
3158
3158
|
command.request_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
|
3159
3159
|
command.request_object = product_set_object
|
3160
3160
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ProductSet::Representation
|
@@ -3197,7 +3197,7 @@ module Google
|
|
3197
3197
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3198
3198
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3199
3199
|
def update_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3200
|
-
command =
|
3200
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}', options)
|
3201
3201
|
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
3202
3202
|
command.request_object = user_object
|
3203
3203
|
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
@@ -3235,7 +3235,7 @@ module Google
|
|
3235
3235
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3236
3236
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3237
3237
|
def delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3238
|
-
command =
|
3238
|
+
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3239
3239
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
3240
3240
|
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
3241
3241
|
command.query['fields'] = fields unless fields.nil?
|
@@ -3269,7 +3269,7 @@ module Google
|
|
3269
3269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3270
3270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3271
3271
|
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3272
|
-
command =
|
3272
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3273
3273
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3274
3274
|
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
3275
3275
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -3304,7 +3304,7 @@ module Google
|
|
3304
3304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3305
3305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3306
3306
|
def insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3307
|
-
command =
|
3307
|
+
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webApps', options)
|
3308
3308
|
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3309
3309
|
command.request_object = web_app_object
|
3310
3310
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
@@ -3339,7 +3339,7 @@ module Google
|
|
3339
3339
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3340
3340
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3341
3341
|
def list_webapps(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3342
|
-
command =
|
3342
|
+
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webApps', options)
|
3343
3343
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebAppsListResponse::Representation
|
3344
3344
|
command.response_class = Google::Apis::AndroidenterpriseV1::WebAppsListResponse
|
3345
3345
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
@@ -3375,7 +3375,7 @@ module Google
|
|
3375
3375
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3376
3376
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3377
3377
|
def patch_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3378
|
-
command =
|
3378
|
+
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3379
3379
|
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3380
3380
|
command.request_object = web_app_object
|
3381
3381
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
@@ -3414,7 +3414,7 @@ module Google
|
|
3414
3414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3415
3415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3416
3416
|
def update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3417
|
-
command =
|
3417
|
+
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
3418
3418
|
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
3419
3419
|
command.request_object = web_app_object
|
3420
3420
|
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|