google-api-client 0.28.7 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -32
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +138 -0
- data/Rakefile +31 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
- data/generated/google/apis/appengine_v1beta/service.rb +7 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +4 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -4
- data/generated/google/apis/bigquery_v2/representations.rb +13 -0
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
- data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +16 -16
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +224 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +3 -2
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
- data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +328 -25
- data/generated/google/apis/compute_alpha/representations.rb +134 -0
- data/generated/google/apis/compute_alpha/service.rb +465 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +86 -20
- data/generated/google/apis/compute_beta/representations.rb +7 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +994 -103
- data/generated/google/apis/compute_v1/representations.rb +346 -0
- data/generated/google/apis/compute_v1/service.rb +533 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +167 -21
- data/generated/google/apis/container_v1/representations.rb +66 -0
- data/generated/google/apis/container_v1/service.rb +85 -36
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +86 -21
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/container_v1beta1/service.rb +38 -38
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -5
- data/generated/google/apis/content_v2/service.rb +6 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +18 -4
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/content_v2_1/service.rb +6 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +5 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +202 -93
- data/generated/google/apis/dns_v1/service.rb +110 -15
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
- data/generated/google/apis/dns_v1beta2/service.rb +141 -21
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
- data/generated/google/apis/dns_v2beta1/service.rb +110 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +601 -69
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +452 -96
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -64
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +407 -77
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +399 -8
- data/generated/google/apis/file_v1/representations.rb +121 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +399 -8
- data/generated/google/apis/file_v1beta1/representations.rb +121 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +76 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +9 -8
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +13 -7
- data/generated/google/apis/jobs_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
- data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +64 -16
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +0 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -4
- data/generated/google/apis/people_v1/classes.rb +19 -11
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +1 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +8 -90
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +7 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +3 -2
- data/generated/google/apis/poly_v1/service.rb +11 -8
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1/service.rb +8 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +20 -19
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +144 -0
- data/generated/google/apis/storage_v1/representations.rb +56 -0
- data/generated/google/apis/storage_v1/service.rb +441 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +6 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +37 -18
- data/generated/google/apis/vault_v1/representations.rb +3 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +84 -47
- data/generated/google/apis/vision_v1/service.rb +68 -4
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +0 -171
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -9
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -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 = '20190416'
|
30
30
|
|
31
31
|
# Manage Android devices and apps for your customers
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
@@ -284,6 +284,11 @@ module Google
|
|
284
284
|
# @return [String]
|
285
285
|
attr_accessor :installer_package_name
|
286
286
|
|
287
|
+
# List of keyed app states reported by the app.
|
288
|
+
# Corresponds to the JSON property `keyedAppStates`
|
289
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::KeyedAppState>]
|
290
|
+
attr_accessor :keyed_app_states
|
291
|
+
|
287
292
|
# Package name of the app.
|
288
293
|
# Corresponds to the JSON property `packageName`
|
289
294
|
# @return [String]
|
@@ -330,6 +335,7 @@ module Google
|
|
330
335
|
@display_name = args[:display_name] if args.key?(:display_name)
|
331
336
|
@events = args[:events] if args.key?(:events)
|
332
337
|
@installer_package_name = args[:installer_package_name] if args.key?(:installer_package_name)
|
338
|
+
@keyed_app_states = args[:keyed_app_states] if args.key?(:keyed_app_states)
|
333
339
|
@package_name = args[:package_name] if args.key?(:package_name)
|
334
340
|
@package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
|
335
341
|
@signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
|
@@ -339,6 +345,26 @@ module Google
|
|
339
345
|
end
|
340
346
|
end
|
341
347
|
|
348
|
+
# Settings controlling the behavior of application reports.
|
349
|
+
class ApplicationReportingSettings
|
350
|
+
include Google::Apis::Core::Hashable
|
351
|
+
|
352
|
+
# Whether removed apps are included in application reports.
|
353
|
+
# Corresponds to the JSON property `includeRemovedApps`
|
354
|
+
# @return [Boolean]
|
355
|
+
attr_accessor :include_removed_apps
|
356
|
+
alias_method :include_removed_apps?, :include_removed_apps
|
357
|
+
|
358
|
+
def initialize(**args)
|
359
|
+
update!(**args)
|
360
|
+
end
|
361
|
+
|
362
|
+
# Update properties of this object
|
363
|
+
def update!(**args)
|
364
|
+
@include_removed_apps = args[:include_removed_apps] if args.key?(:include_removed_apps)
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
342
368
|
# A rule for automatically choosing a private key and certificate to
|
343
369
|
# authenticate the device to a server.
|
344
370
|
class ChoosePrivateKeyRule
|
@@ -1202,6 +1228,61 @@ module Google
|
|
1202
1228
|
end
|
1203
1229
|
end
|
1204
1230
|
|
1231
|
+
# Keyed app state reported by the app.
|
1232
|
+
class KeyedAppState
|
1233
|
+
include Google::Apis::Core::Hashable
|
1234
|
+
|
1235
|
+
# The creation time of the app state on the device.
|
1236
|
+
# Corresponds to the JSON property `createTime`
|
1237
|
+
# @return [String]
|
1238
|
+
attr_accessor :create_time
|
1239
|
+
|
1240
|
+
# Optionally, a machine-readable value to be read by the EMM. For example,
|
1241
|
+
# setting values that the admin can choose to query against in the EMM console (
|
1242
|
+
# e.g. “notify me if the battery_warning data < 10”).
|
1243
|
+
# Corresponds to the JSON property `data`
|
1244
|
+
# @return [String]
|
1245
|
+
attr_accessor :data
|
1246
|
+
|
1247
|
+
# The key for the app state. Acts as a point of reference for what the app is
|
1248
|
+
# providing state for. For example, when providing managed configuration
|
1249
|
+
# feedback, this key could be the managed configuration key.
|
1250
|
+
# Corresponds to the JSON property `key`
|
1251
|
+
# @return [String]
|
1252
|
+
attr_accessor :key
|
1253
|
+
|
1254
|
+
# The time the app state was most recently updated.
|
1255
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
1256
|
+
# @return [String]
|
1257
|
+
attr_accessor :last_update_time
|
1258
|
+
|
1259
|
+
# Optionally, a free-form message string to explain the app state. If the state
|
1260
|
+
# was triggered by a particular value (e.g. a managed configuration value), it
|
1261
|
+
# should be included in the message.
|
1262
|
+
# Corresponds to the JSON property `message`
|
1263
|
+
# @return [String]
|
1264
|
+
attr_accessor :message
|
1265
|
+
|
1266
|
+
# The severity of the app state.
|
1267
|
+
# Corresponds to the JSON property `severity`
|
1268
|
+
# @return [String]
|
1269
|
+
attr_accessor :severity
|
1270
|
+
|
1271
|
+
def initialize(**args)
|
1272
|
+
update!(**args)
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# Update properties of this object
|
1276
|
+
def update!(**args)
|
1277
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1278
|
+
@data = args[:data] if args.key?(:data)
|
1279
|
+
@key = args[:key] if args.key?(:key)
|
1280
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
1281
|
+
@message = args[:message] if args.key?(:message)
|
1282
|
+
@severity = args[:severity] if args.key?(:severity)
|
1283
|
+
end
|
1284
|
+
end
|
1285
|
+
|
1205
1286
|
# An action to launch an app.
|
1206
1287
|
class LaunchAppAction
|
1207
1288
|
include Google::Apis::Core::Hashable
|
@@ -1296,6 +1377,31 @@ module Google
|
|
1296
1377
|
end
|
1297
1378
|
end
|
1298
1379
|
|
1380
|
+
# Response to a request to list web apps for a given enterprise.
|
1381
|
+
class ListWebAppsResponse
|
1382
|
+
include Google::Apis::Core::Hashable
|
1383
|
+
|
1384
|
+
# If there are more results, a token to retrieve next page of results.
|
1385
|
+
# Corresponds to the JSON property `nextPageToken`
|
1386
|
+
# @return [String]
|
1387
|
+
attr_accessor :next_page_token
|
1388
|
+
|
1389
|
+
# The list of web apps.
|
1390
|
+
# Corresponds to the JSON property `webApps`
|
1391
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::WebApp>]
|
1392
|
+
attr_accessor :web_apps
|
1393
|
+
|
1394
|
+
def initialize(**args)
|
1395
|
+
update!(**args)
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
# Update properties of this object
|
1399
|
+
def update!(**args)
|
1400
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1401
|
+
@web_apps = args[:web_apps] if args.key?(:web_apps)
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1299
1405
|
# The managed configurations template for the app, saved from the managed
|
1300
1406
|
# configurations iframe.
|
1301
1407
|
class ManagedConfigurationTemplate
|
@@ -2745,6 +2851,11 @@ module Google
|
|
2745
2851
|
class StatusReportingSettings
|
2746
2852
|
include Google::Apis::Core::Hashable
|
2747
2853
|
|
2854
|
+
# Settings controlling the behavior of application reports.
|
2855
|
+
# Corresponds to the JSON property `applicationReportingSettings`
|
2856
|
+
# @return [Google::Apis::AndroidmanagementV1::ApplicationReportingSettings]
|
2857
|
+
attr_accessor :application_reporting_settings
|
2858
|
+
|
2748
2859
|
# Whether app reports are enabled.
|
2749
2860
|
# Corresponds to the JSON property `applicationReportsEnabled`
|
2750
2861
|
# @return [Boolean]
|
@@ -2799,6 +2910,7 @@ module Google
|
|
2799
2910
|
|
2800
2911
|
# Update properties of this object
|
2801
2912
|
def update!(**args)
|
2913
|
+
@application_reporting_settings = args[:application_reporting_settings] if args.key?(:application_reporting_settings)
|
2802
2914
|
@application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled)
|
2803
2915
|
@device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
|
2804
2916
|
@display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
|
@@ -2928,6 +3040,82 @@ module Google
|
|
2928
3040
|
end
|
2929
3041
|
end
|
2930
3042
|
|
3043
|
+
# A web app.
|
3044
|
+
class WebApp
|
3045
|
+
include Google::Apis::Core::Hashable
|
3046
|
+
|
3047
|
+
# The display mode of the web app.
|
3048
|
+
# Corresponds to the JSON property `displayMode`
|
3049
|
+
# @return [String]
|
3050
|
+
attr_accessor :display_mode
|
3051
|
+
|
3052
|
+
# A list of icons for the web app. Must have at least one element.
|
3053
|
+
# Corresponds to the JSON property `icons`
|
3054
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::WebAppIcon>]
|
3055
|
+
attr_accessor :icons
|
3056
|
+
|
3057
|
+
# The name of the web app, which is generated by the server during creation in
|
3058
|
+
# the form enterprises/`enterpriseId`/webApps/`packageName`.
|
3059
|
+
# Corresponds to the JSON property `name`
|
3060
|
+
# @return [String]
|
3061
|
+
attr_accessor :name
|
3062
|
+
|
3063
|
+
# The start URL, i.e. the URL that should load when the user opens the
|
3064
|
+
# application.
|
3065
|
+
# Corresponds to the JSON property `startUrl`
|
3066
|
+
# @return [String]
|
3067
|
+
attr_accessor :start_url
|
3068
|
+
|
3069
|
+
# The title of the web app as displayed to the user (e.g., amongst a list of
|
3070
|
+
# other applications, or as a label for an icon).
|
3071
|
+
# Corresponds to the JSON property `title`
|
3072
|
+
# @return [String]
|
3073
|
+
attr_accessor :title
|
3074
|
+
|
3075
|
+
# The current version of the app.<p>Note that the version can automatically
|
3076
|
+
# increase during the lifetime of the web app, while Google does internal
|
3077
|
+
# housekeeping to keep the web app up-to-date.
|
3078
|
+
# Corresponds to the JSON property `versionCode`
|
3079
|
+
# @return [Fixnum]
|
3080
|
+
attr_accessor :version_code
|
3081
|
+
|
3082
|
+
def initialize(**args)
|
3083
|
+
update!(**args)
|
3084
|
+
end
|
3085
|
+
|
3086
|
+
# Update properties of this object
|
3087
|
+
def update!(**args)
|
3088
|
+
@display_mode = args[:display_mode] if args.key?(:display_mode)
|
3089
|
+
@icons = args[:icons] if args.key?(:icons)
|
3090
|
+
@name = args[:name] if args.key?(:name)
|
3091
|
+
@start_url = args[:start_url] if args.key?(:start_url)
|
3092
|
+
@title = args[:title] if args.key?(:title)
|
3093
|
+
@version_code = args[:version_code] if args.key?(:version_code)
|
3094
|
+
end
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
# An icon for a web app. Supported formats are: png, jpg and webp.
|
3098
|
+
class WebAppIcon
|
3099
|
+
include Google::Apis::Core::Hashable
|
3100
|
+
|
3101
|
+
# The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
|
3102
|
+
# section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). <ul> <li>
|
3103
|
+
# The image type can be png or jpg. <li>The image should ideally be square. <li>
|
3104
|
+
# The image should ideally have a size of 512x512. </ul>
|
3105
|
+
# Corresponds to the JSON property `imageData`
|
3106
|
+
# @return [String]
|
3107
|
+
attr_accessor :image_data
|
3108
|
+
|
3109
|
+
def initialize(**args)
|
3110
|
+
update!(**args)
|
3111
|
+
end
|
3112
|
+
|
3113
|
+
# Update properties of this object
|
3114
|
+
def update!(**args)
|
3115
|
+
@image_data = args[:image_data] if args.key?(:image_data)
|
3116
|
+
end
|
3117
|
+
end
|
3118
|
+
|
2931
3119
|
# A web token used to access the managed Google Play iframe.
|
2932
3120
|
class WebToken
|
2933
3121
|
include Google::Apis::Core::Hashable
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class ApplicationReportingSettings
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class ChoosePrivateKeyRule
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -136,6 +142,12 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class KeyedAppState
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class LaunchAppAction
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
@@ -160,6 +172,12 @@ module Google
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class ListWebAppsResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class ManagedConfigurationTemplate
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -316,6 +334,18 @@ module Google
|
|
316
334
|
include Google::Apis::Core::JsonObjectSupport
|
317
335
|
end
|
318
336
|
|
337
|
+
class WebApp
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class WebAppIcon
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
319
349
|
class WebToken
|
320
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
351
|
|
@@ -392,6 +422,8 @@ module Google
|
|
392
422
|
collection :events, as: 'events', class: Google::Apis::AndroidmanagementV1::ApplicationEvent, decorator: Google::Apis::AndroidmanagementV1::ApplicationEvent::Representation
|
393
423
|
|
394
424
|
property :installer_package_name, as: 'installerPackageName'
|
425
|
+
collection :keyed_app_states, as: 'keyedAppStates', class: Google::Apis::AndroidmanagementV1::KeyedAppState, decorator: Google::Apis::AndroidmanagementV1::KeyedAppState::Representation
|
426
|
+
|
395
427
|
property :package_name, as: 'packageName'
|
396
428
|
property :package_sha256_hash, as: 'packageSha256Hash'
|
397
429
|
collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
|
@@ -401,6 +433,13 @@ module Google
|
|
401
433
|
end
|
402
434
|
end
|
403
435
|
|
436
|
+
class ApplicationReportingSettings
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :include_removed_apps, as: 'includeRemovedApps'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
404
443
|
class ChoosePrivateKeyRule
|
405
444
|
# @private
|
406
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -591,6 +630,18 @@ module Google
|
|
591
630
|
end
|
592
631
|
end
|
593
632
|
|
633
|
+
class KeyedAppState
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :create_time, as: 'createTime'
|
637
|
+
property :data, as: 'data'
|
638
|
+
property :key, as: 'key'
|
639
|
+
property :last_update_time, as: 'lastUpdateTime'
|
640
|
+
property :message, as: 'message'
|
641
|
+
property :severity, as: 'severity'
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
594
645
|
class LaunchAppAction
|
595
646
|
# @private
|
596
647
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -625,6 +676,15 @@ module Google
|
|
625
676
|
end
|
626
677
|
end
|
627
678
|
|
679
|
+
class ListWebAppsResponse
|
680
|
+
# @private
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :next_page_token, as: 'nextPageToken'
|
683
|
+
collection :web_apps, as: 'webApps', class: Google::Apis::AndroidmanagementV1::WebApp, decorator: Google::Apis::AndroidmanagementV1::WebApp::Representation
|
684
|
+
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
628
688
|
class ManagedConfigurationTemplate
|
629
689
|
# @private
|
630
690
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -931,6 +991,8 @@ module Google
|
|
931
991
|
class StatusReportingSettings
|
932
992
|
# @private
|
933
993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
994
|
+
property :application_reporting_settings, as: 'applicationReportingSettings', class: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings, decorator: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings::Representation
|
995
|
+
|
934
996
|
property :application_reports_enabled, as: 'applicationReportsEnabled'
|
935
997
|
property :device_settings_enabled, as: 'deviceSettingsEnabled'
|
936
998
|
property :display_info_enabled, as: 'displayInfoEnabled'
|
@@ -976,6 +1038,26 @@ module Google
|
|
976
1038
|
end
|
977
1039
|
end
|
978
1040
|
|
1041
|
+
class WebApp
|
1042
|
+
# @private
|
1043
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1044
|
+
property :display_mode, as: 'displayMode'
|
1045
|
+
collection :icons, as: 'icons', class: Google::Apis::AndroidmanagementV1::WebAppIcon, decorator: Google::Apis::AndroidmanagementV1::WebAppIcon::Representation
|
1046
|
+
|
1047
|
+
property :name, as: 'name'
|
1048
|
+
property :start_url, as: 'startUrl'
|
1049
|
+
property :title, as: 'title'
|
1050
|
+
property :version_code, :numeric_string => true, as: 'versionCode'
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
class WebAppIcon
|
1055
|
+
# @private
|
1056
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1057
|
+
property :image_data, as: 'imageData'
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
979
1061
|
class WebToken
|
980
1062
|
# @private
|
981
1063
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -716,6 +716,176 @@ module Google
|
|
716
716
|
execute_or_queue_command(command, &block)
|
717
717
|
end
|
718
718
|
|
719
|
+
# Creates a web app.
|
720
|
+
# @param [String] parent
|
721
|
+
# The name of the enterprise in the form enterprises/`enterpriseId`.
|
722
|
+
# @param [Google::Apis::AndroidmanagementV1::WebApp] web_app_object
|
723
|
+
# @param [String] fields
|
724
|
+
# Selector specifying which fields to include in a partial response.
|
725
|
+
# @param [String] quota_user
|
726
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
727
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
728
|
+
# @param [Google::Apis::RequestOptions] options
|
729
|
+
# Request-specific options
|
730
|
+
#
|
731
|
+
# @yield [result, err] Result & error if block supplied
|
732
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
|
733
|
+
# @yieldparam err [StandardError] error object if request failed
|
734
|
+
#
|
735
|
+
# @return [Google::Apis::AndroidmanagementV1::WebApp]
|
736
|
+
#
|
737
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
738
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
739
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
740
|
+
def create_enterprise_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
741
|
+
command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
|
742
|
+
command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
743
|
+
command.request_object = web_app_object
|
744
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
745
|
+
command.response_class = Google::Apis::AndroidmanagementV1::WebApp
|
746
|
+
command.params['parent'] = parent unless parent.nil?
|
747
|
+
command.query['fields'] = fields unless fields.nil?
|
748
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
749
|
+
execute_or_queue_command(command, &block)
|
750
|
+
end
|
751
|
+
|
752
|
+
# Deletes a web app.
|
753
|
+
# @param [String] name
|
754
|
+
# The name of the web app in the form enterprises/`enterpriseId`/webApps/`
|
755
|
+
# packageName`.
|
756
|
+
# @param [String] fields
|
757
|
+
# Selector specifying which fields to include in a partial response.
|
758
|
+
# @param [String] quota_user
|
759
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
760
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
761
|
+
# @param [Google::Apis::RequestOptions] options
|
762
|
+
# Request-specific options
|
763
|
+
#
|
764
|
+
# @yield [result, err] Result & error if block supplied
|
765
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::Empty] parsed result object
|
766
|
+
# @yieldparam err [StandardError] error object if request failed
|
767
|
+
#
|
768
|
+
# @return [Google::Apis::AndroidmanagementV1::Empty]
|
769
|
+
#
|
770
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
771
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
|
+
def delete_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
|
774
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
775
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
|
776
|
+
command.response_class = Google::Apis::AndroidmanagementV1::Empty
|
777
|
+
command.params['name'] = name unless name.nil?
|
778
|
+
command.query['fields'] = fields unless fields.nil?
|
779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
780
|
+
execute_or_queue_command(command, &block)
|
781
|
+
end
|
782
|
+
|
783
|
+
# Gets a web app.
|
784
|
+
# @param [String] name
|
785
|
+
# The name of the web app in the form enterprises/`enterpriseId`/webApp/`
|
786
|
+
# packageName`.
|
787
|
+
# @param [String] fields
|
788
|
+
# Selector specifying which fields to include in a partial response.
|
789
|
+
# @param [String] quota_user
|
790
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
791
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
792
|
+
# @param [Google::Apis::RequestOptions] options
|
793
|
+
# Request-specific options
|
794
|
+
#
|
795
|
+
# @yield [result, err] Result & error if block supplied
|
796
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
|
797
|
+
# @yieldparam err [StandardError] error object if request failed
|
798
|
+
#
|
799
|
+
# @return [Google::Apis::AndroidmanagementV1::WebApp]
|
800
|
+
#
|
801
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
802
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
|
+
def get_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
|
805
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
806
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
807
|
+
command.response_class = Google::Apis::AndroidmanagementV1::WebApp
|
808
|
+
command.params['name'] = name unless name.nil?
|
809
|
+
command.query['fields'] = fields unless fields.nil?
|
810
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
811
|
+
execute_or_queue_command(command, &block)
|
812
|
+
end
|
813
|
+
|
814
|
+
# Lists web apps for a given enterprise.
|
815
|
+
# @param [String] parent
|
816
|
+
# The name of the enterprise in the form enterprises/`enterpriseId`.
|
817
|
+
# @param [Fixnum] page_size
|
818
|
+
# The requested page size. The actual page size may be fixed to a min or max
|
819
|
+
# value.
|
820
|
+
# @param [String] page_token
|
821
|
+
# A token identifying a page of results returned by the server.
|
822
|
+
# @param [String] fields
|
823
|
+
# Selector specifying which fields to include in a partial response.
|
824
|
+
# @param [String] quota_user
|
825
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
826
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
827
|
+
# @param [Google::Apis::RequestOptions] options
|
828
|
+
# Request-specific options
|
829
|
+
#
|
830
|
+
# @yield [result, err] Result & error if block supplied
|
831
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::ListWebAppsResponse] parsed result object
|
832
|
+
# @yieldparam err [StandardError] error object if request failed
|
833
|
+
#
|
834
|
+
# @return [Google::Apis::AndroidmanagementV1::ListWebAppsResponse]
|
835
|
+
#
|
836
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
837
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
838
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
839
|
+
def list_enterprise_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
840
|
+
command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
|
841
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::ListWebAppsResponse::Representation
|
842
|
+
command.response_class = Google::Apis::AndroidmanagementV1::ListWebAppsResponse
|
843
|
+
command.params['parent'] = parent unless parent.nil?
|
844
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
845
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
846
|
+
command.query['fields'] = fields unless fields.nil?
|
847
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
848
|
+
execute_or_queue_command(command, &block)
|
849
|
+
end
|
850
|
+
|
851
|
+
# Updates a web app.
|
852
|
+
# @param [String] name
|
853
|
+
# The name of the web app in the form enterprises/`enterpriseId`/webApps/`
|
854
|
+
# packageName`.
|
855
|
+
# @param [Google::Apis::AndroidmanagementV1::WebApp] web_app_object
|
856
|
+
# @param [String] update_mask
|
857
|
+
# The field mask indicating the fields to update. If not set, all modifiable
|
858
|
+
# fields will be modified.
|
859
|
+
# @param [String] fields
|
860
|
+
# Selector specifying which fields to include in a partial response.
|
861
|
+
# @param [String] quota_user
|
862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
864
|
+
# @param [Google::Apis::RequestOptions] options
|
865
|
+
# Request-specific options
|
866
|
+
#
|
867
|
+
# @yield [result, err] Result & error if block supplied
|
868
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
|
869
|
+
# @yieldparam err [StandardError] error object if request failed
|
870
|
+
#
|
871
|
+
# @return [Google::Apis::AndroidmanagementV1::WebApp]
|
872
|
+
#
|
873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
|
+
def patch_enterprise_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
877
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
878
|
+
command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
879
|
+
command.request_object = web_app_object
|
880
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
|
881
|
+
command.response_class = Google::Apis::AndroidmanagementV1::WebApp
|
882
|
+
command.params['name'] = name unless name.nil?
|
883
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
884
|
+
command.query['fields'] = fields unless fields.nil?
|
885
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
886
|
+
execute_or_queue_command(command, &block)
|
887
|
+
end
|
888
|
+
|
719
889
|
# Creates a web token to access an embeddable managed Google Play web UI for a
|
720
890
|
# given enterprise.
|
721
891
|
# @param [String] parent
|