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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/android/management
|
27
27
|
module AndroidmanagementV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190506'
|
30
30
|
|
31
31
|
# Manage Android devices and apps for your customers
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
@@ -365,6 +365,30 @@ module Google
|
|
365
365
|
end
|
366
366
|
end
|
367
367
|
|
368
|
+
# An action to block access to apps and data on a fully managed device or in a
|
369
|
+
# work profile. This action also triggers a device or work profile to displays a
|
370
|
+
# user-facing notification with information (where possible) on how to correct
|
371
|
+
# the compliance issue. Note: wipeAction must also be specified.
|
372
|
+
class BlockAction
|
373
|
+
include Google::Apis::Core::Hashable
|
374
|
+
|
375
|
+
# Number of days the policy is non-compliant before the device or work profile
|
376
|
+
# is blocked. To block access immediately, set to 0. blockAfterDays must be less
|
377
|
+
# than wipeAfterDays.
|
378
|
+
# Corresponds to the JSON property `blockAfterDays`
|
379
|
+
# @return [Fixnum]
|
380
|
+
attr_accessor :block_after_days
|
381
|
+
|
382
|
+
def initialize(**args)
|
383
|
+
update!(**args)
|
384
|
+
end
|
385
|
+
|
386
|
+
# Update properties of this object
|
387
|
+
def update!(**args)
|
388
|
+
@block_after_days = args[:block_after_days] if args.key?(:block_after_days)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
368
392
|
# A rule for automatically choosing a private key and certificate to
|
369
393
|
# authenticate the device to a server.
|
370
394
|
class ChoosePrivateKeyRule
|
@@ -688,6 +712,11 @@ module Google
|
|
688
712
|
# @return [String]
|
689
713
|
attr_accessor :state
|
690
714
|
|
715
|
+
# Map of selected system properties name and value related to the device.
|
716
|
+
# Corresponds to the JSON property `systemProperties`
|
717
|
+
# @return [Hash<String,String>]
|
718
|
+
attr_accessor :system_properties
|
719
|
+
|
691
720
|
# A user belonging to an enterprise.
|
692
721
|
# Corresponds to the JSON property `user`
|
693
722
|
# @return [Google::Apis::AndroidmanagementV1::User]
|
@@ -733,6 +762,7 @@ module Google
|
|
733
762
|
@previous_device_names = args[:previous_device_names] if args.key?(:previous_device_names)
|
734
763
|
@software_info = args[:software_info] if args.key?(:software_info)
|
735
764
|
@state = args[:state] if args.key?(:state)
|
765
|
+
@system_properties = args[:system_properties] if args.key?(:system_properties)
|
736
766
|
@user = args[:user] if args.key?(:user)
|
737
767
|
@user_name = args[:user_name] if args.key?(:user_name)
|
738
768
|
end
|
@@ -1764,8 +1794,8 @@ module Google
|
|
1764
1794
|
attr_accessor :metadata
|
1765
1795
|
|
1766
1796
|
# The server-assigned name, which is only unique within the same service that
|
1767
|
-
# originally returns it. If you use the default HTTP mapping, the name should
|
1768
|
-
#
|
1797
|
+
# originally returns it. If you use the default HTTP mapping, the name should be
|
1798
|
+
# a resource name ending with operations/`unique_id`.
|
1769
1799
|
# Corresponds to the JSON property `name`
|
1770
1800
|
# @return [String]
|
1771
1801
|
attr_accessor :name
|
@@ -2204,6 +2234,11 @@ module Google
|
|
2204
2234
|
# @return [Fixnum]
|
2205
2235
|
attr_accessor :maximum_time_to_lock
|
2206
2236
|
|
2237
|
+
# The minimum allowed Android API level.
|
2238
|
+
# Corresponds to the JSON property `minimumApiLevel`
|
2239
|
+
# @return [Fixnum]
|
2240
|
+
attr_accessor :minimum_api_level
|
2241
|
+
|
2207
2242
|
# Whether configuring mobile networks is disabled.
|
2208
2243
|
# Corresponds to the JSON property `mobileNetworksConfigDisabled`
|
2209
2244
|
# @return [Boolean]
|
@@ -2297,6 +2332,12 @@ module Google
|
|
2297
2332
|
# @return [String]
|
2298
2333
|
attr_accessor :play_store_mode
|
2299
2334
|
|
2335
|
+
# Rules that define the behavior when a particular policy can not be applied on
|
2336
|
+
# device
|
2337
|
+
# Corresponds to the JSON property `policyEnforcementRules`
|
2338
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::PolicyEnforcementRule>]
|
2339
|
+
attr_accessor :policy_enforcement_rules
|
2340
|
+
|
2300
2341
|
# Allows showing UI on a device for a user to choose a private key alias if
|
2301
2342
|
# there are no matching rules in ChoosePrivateKeyRules. For devices below
|
2302
2343
|
# Android P, setting this may leave enterprise keys vulnerable.
|
@@ -2491,6 +2532,7 @@ module Google
|
|
2491
2532
|
@location_mode = args[:location_mode] if args.key?(:location_mode)
|
2492
2533
|
@long_support_message = args[:long_support_message] if args.key?(:long_support_message)
|
2493
2534
|
@maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock)
|
2535
|
+
@minimum_api_level = args[:minimum_api_level] if args.key?(:minimum_api_level)
|
2494
2536
|
@mobile_networks_config_disabled = args[:mobile_networks_config_disabled] if args.key?(:mobile_networks_config_disabled)
|
2495
2537
|
@modify_accounts_disabled = args[:modify_accounts_disabled] if args.key?(:modify_accounts_disabled)
|
2496
2538
|
@mount_physical_media_disabled = args[:mount_physical_media_disabled] if args.key?(:mount_physical_media_disabled)
|
@@ -2506,6 +2548,7 @@ module Google
|
|
2506
2548
|
@permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
|
2507
2549
|
@persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
|
2508
2550
|
@play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
|
2551
|
+
@policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules)
|
2509
2552
|
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
|
2510
2553
|
@recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
|
2511
2554
|
@remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
|
@@ -2534,6 +2577,43 @@ module Google
|
|
2534
2577
|
end
|
2535
2578
|
end
|
2536
2579
|
|
2580
|
+
# A rule that defines the actions to take if a device or work profile is not
|
2581
|
+
# compliant with the policy specified in settingName.
|
2582
|
+
class PolicyEnforcementRule
|
2583
|
+
include Google::Apis::Core::Hashable
|
2584
|
+
|
2585
|
+
# An action to block access to apps and data on a fully managed device or in a
|
2586
|
+
# work profile. This action also triggers a device or work profile to displays a
|
2587
|
+
# user-facing notification with information (where possible) on how to correct
|
2588
|
+
# the compliance issue. Note: wipeAction must also be specified.
|
2589
|
+
# Corresponds to the JSON property `blockAction`
|
2590
|
+
# @return [Google::Apis::AndroidmanagementV1::BlockAction]
|
2591
|
+
attr_accessor :block_action
|
2592
|
+
|
2593
|
+
# The top-level policy to enforce. For example, applications or
|
2594
|
+
# passwordRequirements.
|
2595
|
+
# Corresponds to the JSON property `settingName`
|
2596
|
+
# @return [String]
|
2597
|
+
attr_accessor :setting_name
|
2598
|
+
|
2599
|
+
# An action to reset a fully managed device or delete a work profile. Note:
|
2600
|
+
# blockAction must also be specified.
|
2601
|
+
# Corresponds to the JSON property `wipeAction`
|
2602
|
+
# @return [Google::Apis::AndroidmanagementV1::WipeAction]
|
2603
|
+
attr_accessor :wipe_action
|
2604
|
+
|
2605
|
+
def initialize(**args)
|
2606
|
+
update!(**args)
|
2607
|
+
end
|
2608
|
+
|
2609
|
+
# Update properties of this object
|
2610
|
+
def update!(**args)
|
2611
|
+
@block_action = args[:block_action] if args.key?(:block_action)
|
2612
|
+
@setting_name = args[:setting_name] if args.key?(:setting_name)
|
2613
|
+
@wipe_action = args[:wipe_action] if args.key?(:wipe_action)
|
2614
|
+
end
|
2615
|
+
end
|
2616
|
+
|
2537
2617
|
# A power management event.
|
2538
2618
|
class PowerManagementEvent
|
2539
2619
|
include Google::Apis::Core::Hashable
|
@@ -3157,6 +3237,35 @@ module Google
|
|
3157
3237
|
@value = args[:value] if args.key?(:value)
|
3158
3238
|
end
|
3159
3239
|
end
|
3240
|
+
|
3241
|
+
# An action to reset a fully managed device or delete a work profile. Note:
|
3242
|
+
# blockAction must also be specified.
|
3243
|
+
class WipeAction
|
3244
|
+
include Google::Apis::Core::Hashable
|
3245
|
+
|
3246
|
+
# Whether the factory-reset protection data is preserved on the device. This
|
3247
|
+
# setting doesn’t apply to work profiles.
|
3248
|
+
# Corresponds to the JSON property `preserveFrp`
|
3249
|
+
# @return [Boolean]
|
3250
|
+
attr_accessor :preserve_frp
|
3251
|
+
alias_method :preserve_frp?, :preserve_frp
|
3252
|
+
|
3253
|
+
# Number of days the policy is non-compliant before the device or work profile
|
3254
|
+
# is wiped. wipeAfterDays must be greater than blockAfterDays.
|
3255
|
+
# Corresponds to the JSON property `wipeAfterDays`
|
3256
|
+
# @return [Fixnum]
|
3257
|
+
attr_accessor :wipe_after_days
|
3258
|
+
|
3259
|
+
def initialize(**args)
|
3260
|
+
update!(**args)
|
3261
|
+
end
|
3262
|
+
|
3263
|
+
# Update properties of this object
|
3264
|
+
def update!(**args)
|
3265
|
+
@preserve_frp = args[:preserve_frp] if args.key?(:preserve_frp)
|
3266
|
+
@wipe_after_days = args[:wipe_after_days] if args.key?(:wipe_after_days)
|
3267
|
+
end
|
3268
|
+
end
|
3160
3269
|
end
|
3161
3270
|
end
|
3162
3271
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BlockAction
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class ChoosePrivateKeyRule
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -262,6 +268,12 @@ module Google
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
263
269
|
end
|
264
270
|
|
271
|
+
class PolicyEnforcementRule
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
265
277
|
class PowerManagementEvent
|
266
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
279
|
|
@@ -352,6 +364,12 @@ module Google
|
|
352
364
|
include Google::Apis::Core::JsonObjectSupport
|
353
365
|
end
|
354
366
|
|
367
|
+
class WipeAction
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
355
373
|
class AlwaysOnVpnPackage
|
356
374
|
# @private
|
357
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -440,6 +458,13 @@ module Google
|
|
440
458
|
end
|
441
459
|
end
|
442
460
|
|
461
|
+
class BlockAction
|
462
|
+
# @private
|
463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
+
property :block_after_days, as: 'blockAfterDays'
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
443
468
|
class ChoosePrivateKeyRule
|
444
469
|
# @private
|
445
470
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -517,6 +542,7 @@ module Google
|
|
517
542
|
property :software_info, as: 'softwareInfo', class: Google::Apis::AndroidmanagementV1::SoftwareInfo, decorator: Google::Apis::AndroidmanagementV1::SoftwareInfo::Representation
|
518
543
|
|
519
544
|
property :state, as: 'state'
|
545
|
+
hash :system_properties, as: 'systemProperties'
|
520
546
|
property :user, as: 'user', class: Google::Apis::AndroidmanagementV1::User, decorator: Google::Apis::AndroidmanagementV1::User::Representation
|
521
547
|
|
522
548
|
property :user_name, as: 'userName'
|
@@ -862,6 +888,7 @@ module Google
|
|
862
888
|
property :long_support_message, as: 'longSupportMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
863
889
|
|
864
890
|
property :maximum_time_to_lock, :numeric_string => true, as: 'maximumTimeToLock'
|
891
|
+
property :minimum_api_level, as: 'minimumApiLevel'
|
865
892
|
property :mobile_networks_config_disabled, as: 'mobileNetworksConfigDisabled'
|
866
893
|
property :modify_accounts_disabled, as: 'modifyAccountsDisabled'
|
867
894
|
property :mount_physical_media_disabled, as: 'mountPhysicalMediaDisabled'
|
@@ -882,6 +909,8 @@ module Google
|
|
882
909
|
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
|
883
910
|
|
884
911
|
property :play_store_mode, as: 'playStoreMode'
|
912
|
+
collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
|
913
|
+
|
885
914
|
property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
|
886
915
|
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
|
887
916
|
|
@@ -915,6 +944,17 @@ module Google
|
|
915
944
|
end
|
916
945
|
end
|
917
946
|
|
947
|
+
class PolicyEnforcementRule
|
948
|
+
# @private
|
949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
950
|
+
property :block_action, as: 'blockAction', class: Google::Apis::AndroidmanagementV1::BlockAction, decorator: Google::Apis::AndroidmanagementV1::BlockAction::Representation
|
951
|
+
|
952
|
+
property :setting_name, as: 'settingName'
|
953
|
+
property :wipe_action, as: 'wipeAction', class: Google::Apis::AndroidmanagementV1::WipeAction, decorator: Google::Apis::AndroidmanagementV1::WipeAction::Representation
|
954
|
+
|
955
|
+
end
|
956
|
+
end
|
957
|
+
|
918
958
|
class PowerManagementEvent
|
919
959
|
# @private
|
920
960
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1067,6 +1107,14 @@ module Google
|
|
1067
1107
|
property :value, as: 'value'
|
1068
1108
|
end
|
1069
1109
|
end
|
1110
|
+
|
1111
|
+
class WipeAction
|
1112
|
+
# @private
|
1113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1114
|
+
property :preserve_frp, as: 'preserveFrp'
|
1115
|
+
property :wipe_after_days, as: 'wipeAfterDays'
|
1116
|
+
end
|
1117
|
+
end
|
1070
1118
|
end
|
1071
1119
|
end
|
1072
1120
|
end
|
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
76
|
def create_enterprise(enterprise_object = nil, enterprise_token: nil, project_id: nil, signup_url_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
-
command =
|
77
|
+
command = make_simple_command(:post, 'v1/enterprises', options)
|
78
78
|
command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
|
79
79
|
command.request_object = enterprise_object
|
80
80
|
command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
|
@@ -108,7 +108,7 @@ module Google
|
|
108
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
110
|
def get_enterprise(name, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
-
command =
|
111
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
112
112
|
command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
|
113
113
|
command.response_class = Google::Apis::AndroidmanagementV1::Enterprise
|
114
114
|
command.params['name'] = name unless name.nil?
|
@@ -142,7 +142,7 @@ module Google
|
|
142
142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
143
143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
144
144
|
def patch_enterprise(name, enterprise_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
145
|
-
command =
|
145
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
146
146
|
command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
|
147
147
|
command.request_object = enterprise_object
|
148
148
|
command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
|
@@ -180,7 +180,7 @@ module Google
|
|
180
180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
181
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
182
|
def get_enterprise_application(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
183
|
-
command =
|
183
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
184
184
|
command.response_representation = Google::Apis::AndroidmanagementV1::Application::Representation
|
185
185
|
command.response_class = Google::Apis::AndroidmanagementV1::Application
|
186
186
|
command.params['name'] = name unless name.nil?
|
@@ -214,7 +214,7 @@ module Google
|
|
214
214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
215
215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
216
216
|
def delete_enterprise_device(name, wipe_data_flags: nil, fields: nil, quota_user: nil, options: nil, &block)
|
217
|
-
command =
|
217
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
218
218
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
219
219
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
220
220
|
command.params['name'] = name unless name.nil?
|
@@ -246,7 +246,7 @@ module Google
|
|
246
246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
247
247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
248
248
|
def get_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
|
249
|
-
command =
|
249
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
250
250
|
command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation
|
251
251
|
command.response_class = Google::Apis::AndroidmanagementV1::Device
|
252
252
|
command.params['name'] = name unless name.nil?
|
@@ -280,7 +280,7 @@ module Google
|
|
280
280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
281
281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
282
282
|
def issue_enterprise_device_command(name, command_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
283
|
-
command =
|
283
|
+
command = make_simple_command(:post, 'v1/{+name}:issueCommand', options)
|
284
284
|
command.request_representation = Google::Apis::AndroidmanagementV1::Command::Representation
|
285
285
|
command.request_object = command_object
|
286
286
|
command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation
|
@@ -317,7 +317,7 @@ module Google
|
|
317
317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
318
318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
319
319
|
def list_enterprise_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
320
|
-
command =
|
320
|
+
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
321
321
|
command.response_representation = Google::Apis::AndroidmanagementV1::ListDevicesResponse::Representation
|
322
322
|
command.response_class = Google::Apis::AndroidmanagementV1::ListDevicesResponse
|
323
323
|
command.params['parent'] = parent unless parent.nil?
|
@@ -354,7 +354,7 @@ module Google
|
|
354
354
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
355
355
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
356
356
|
def patch_enterprise_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
357
|
-
command =
|
357
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
358
358
|
command.request_representation = Google::Apis::AndroidmanagementV1::Device::Representation
|
359
359
|
command.request_object = device_object
|
360
360
|
command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
395
395
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
396
396
|
def cancel_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
397
|
-
command =
|
397
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
398
398
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
399
399
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
400
400
|
command.params['name'] = name unless name.nil?
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
428
428
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
429
429
|
def delete_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
430
|
-
command =
|
430
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
431
431
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
432
432
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
433
433
|
command.params['name'] = name unless name.nil?
|
@@ -458,7 +458,7 @@ module Google
|
|
458
458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
459
459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
460
460
|
def get_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
461
|
-
command =
|
461
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
462
462
|
command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation
|
463
463
|
command.response_class = Google::Apis::AndroidmanagementV1::Operation
|
464
464
|
command.params['name'] = name unless name.nil?
|
@@ -501,7 +501,7 @@ module Google
|
|
501
501
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
502
502
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
503
503
|
def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
504
|
-
command =
|
504
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
505
505
|
command.response_representation = Google::Apis::AndroidmanagementV1::ListOperationsResponse::Representation
|
506
506
|
command.response_class = Google::Apis::AndroidmanagementV1::ListOperationsResponse
|
507
507
|
command.params['name'] = name unless name.nil?
|
@@ -535,7 +535,7 @@ module Google
|
|
535
535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
536
536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
537
537
|
def create_enterprise_enrollment_token(parent, enrollment_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
538
|
-
command =
|
538
|
+
command = make_simple_command(:post, 'v1/{+parent}/enrollmentTokens', options)
|
539
539
|
command.request_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation
|
540
540
|
command.request_object = enrollment_token_object
|
541
541
|
command.response_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation
|
@@ -569,7 +569,7 @@ module Google
|
|
569
569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
571
|
def delete_enterprise_enrollment_token(name, fields: nil, quota_user: nil, options: nil, &block)
|
572
|
-
command =
|
572
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
573
573
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
574
574
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
575
575
|
command.params['name'] = name unless name.nil?
|
@@ -601,7 +601,7 @@ module Google
|
|
601
601
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
602
602
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
603
603
|
def delete_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
604
|
-
command =
|
604
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
605
605
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
606
606
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
607
607
|
command.params['name'] = name unless name.nil?
|
@@ -632,7 +632,7 @@ module Google
|
|
632
632
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
633
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
634
|
def get_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
635
|
-
command =
|
635
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
636
636
|
command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
|
637
637
|
command.response_class = Google::Apis::AndroidmanagementV1::Policy
|
638
638
|
command.params['name'] = name unless name.nil?
|
@@ -667,7 +667,7 @@ module Google
|
|
667
667
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
668
668
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
669
669
|
def list_enterprise_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
670
|
-
command =
|
670
|
+
command = make_simple_command(:get, 'v1/{+parent}/policies', options)
|
671
671
|
command.response_representation = Google::Apis::AndroidmanagementV1::ListPoliciesResponse::Representation
|
672
672
|
command.response_class = Google::Apis::AndroidmanagementV1::ListPoliciesResponse
|
673
673
|
command.params['parent'] = parent unless parent.nil?
|
@@ -704,7 +704,7 @@ module Google
|
|
704
704
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
705
705
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
706
706
|
def patch_enterprise_policy(name, policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
707
|
-
command =
|
707
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
708
708
|
command.request_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
|
709
709
|
command.request_object = policy_object
|
710
710
|
command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
|
@@ -738,7 +738,7 @@ module Google
|
|
738
738
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
739
739
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
740
740
|
def create_enterprise_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
741
|
-
command =
|
741
|
+
command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
|
742
742
|
command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
743
743
|
command.request_object = web_app_object
|
744
744
|
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
@@ -771,7 +771,7 @@ module Google
|
|
771
771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
773
|
def delete_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
|
774
|
-
command =
|
774
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
775
775
|
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
776
776
|
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
777
777
|
command.params['name'] = name unless name.nil?
|
@@ -802,7 +802,7 @@ module Google
|
|
802
802
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
803
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
804
|
def get_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
|
805
|
-
command =
|
805
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
806
806
|
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
807
807
|
command.response_class = Google::Apis::AndroidmanagementV1::WebApp
|
808
808
|
command.params['name'] = name unless name.nil?
|
@@ -837,7 +837,7 @@ module Google
|
|
837
837
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
838
838
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
839
839
|
def list_enterprise_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
840
|
-
command =
|
840
|
+
command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
|
841
841
|
command.response_representation = Google::Apis::AndroidmanagementV1::ListWebAppsResponse::Representation
|
842
842
|
command.response_class = Google::Apis::AndroidmanagementV1::ListWebAppsResponse
|
843
843
|
command.params['parent'] = parent unless parent.nil?
|
@@ -874,7 +874,7 @@ module Google
|
|
874
874
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
875
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
876
|
def patch_enterprise_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
877
|
-
command =
|
877
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
878
878
|
command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
879
879
|
command.request_object = web_app_object
|
880
880
|
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
@@ -909,7 +909,7 @@ module Google
|
|
909
909
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
910
910
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
911
911
|
def create_enterprise_web_token(parent, web_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
912
|
-
command =
|
912
|
+
command = make_simple_command(:post, 'v1/{+parent}/webTokens', options)
|
913
913
|
command.request_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation
|
914
914
|
command.request_object = web_token_object
|
915
915
|
command.response_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation
|
@@ -948,7 +948,7 @@ module Google
|
|
948
948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
949
949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
950
950
|
def create_signup_url(callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
951
|
-
command =
|
951
|
+
command = make_simple_command(:post, 'v1/signupUrls', options)
|
952
952
|
command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation
|
953
953
|
command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl
|
954
954
|
command.query['callbackUrl'] = callback_url unless callback_url.nil?
|