google-api-client 0.39.3 → 0.40.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 +242 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
- data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +318 -166
- data/generated/google/apis/compute_alpha/representations.rb +80 -33
- data/generated/google/apis/compute_alpha/service.rb +194 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +237 -83
- data/generated/google/apis/compute_beta/representations.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +155 -58
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +62 -4
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +363 -5
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -0
- data/generated/google/apis/file_v1beta1/representations.rb +34 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +64 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
- data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +111 -93
- data/generated/google/apis/iam_v1/service.rb +166 -144
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +17 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -9
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +70 -15
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85631843cd82c83065e06711a59cd3a6792d8bb9c15bef7eb7611c0348407ad5
|
4
|
+
data.tar.gz: 21f40511a7bc7a35b19f2ee027f746e5f8ebaa77d18fc092073fe7af053d624a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a616d96437dcf882f74108ad9452f1fdce6be2edf7ca9bfb404a7a6850725df2165920d432eaa63c99aa6e739dda646c8890c914556d51ad821cced5789be493
|
7
|
+
data.tar.gz: 30c2a47dac0b8f63da4bdc6b852d2dd3a6f8417b32606e98aef36efca23836650e7d47e4f25735481dd2bec672892904c4be05367c396bde9d1c522866251435
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,245 @@
|
|
1
|
+
# 0.40.2
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Updated `androidenterprise_v1`
|
4
|
+
* Updated `androidpublisher_v3`
|
5
|
+
* Updated `apigee_v1`
|
6
|
+
* Updated `appsmarket_v2`
|
7
|
+
* Updated `artifactregistry_v1beta1`
|
8
|
+
* Updated `bigquery_v2`
|
9
|
+
* Updated `binaryauthorization_v1`
|
10
|
+
* Updated `books_v1`
|
11
|
+
* Updated `cloudasset_v1`
|
12
|
+
* Updated `cloudasset_v1beta1`
|
13
|
+
* Updated `cloudasset_v1p1beta1`
|
14
|
+
* Updated `cloudasset_v1p4beta1`
|
15
|
+
* Updated `cloudbuild_v1`
|
16
|
+
* Updated `cloudbuild_v1alpha1`
|
17
|
+
* Updated `cloudbuild_v1alpha2`
|
18
|
+
* Updated `cloudkms_v1`
|
19
|
+
* Updated `cloudresourcemanager_v1`
|
20
|
+
* Updated `cloudresourcemanager_v1beta1`
|
21
|
+
* Updated `cloudresourcemanager_v2`
|
22
|
+
* Updated `cloudresourcemanager_v2beta1`
|
23
|
+
* Updated `compute_alpha`
|
24
|
+
* Updated `compute_beta`
|
25
|
+
* Updated `compute_v1`
|
26
|
+
* Updated `datafusion_v1beta1`
|
27
|
+
* Updated `displayvideo_v1`
|
28
|
+
* Updated `dlp_v2`
|
29
|
+
* Updated `fcm_v1`
|
30
|
+
* Updated `file_v1`
|
31
|
+
* Updated `file_v1beta1`
|
32
|
+
* Updated `genomics_v2alpha1`
|
33
|
+
* Updated `gmail_v1`
|
34
|
+
* Updated `groupsmigration_v1`
|
35
|
+
* Updated `iam_v1`
|
36
|
+
* Updated `iamcredentials_v1`
|
37
|
+
* Updated `jobs_v3`
|
38
|
+
* Updated `jobs_v3p1beta1`
|
39
|
+
* Updated `memcache_v1beta2`
|
40
|
+
* Updated `monitoring_v1`
|
41
|
+
* Updated `monitoring_v3`
|
42
|
+
* Updated `osconfig_v1`
|
43
|
+
* Updated `osconfig_v1beta`
|
44
|
+
* Updated `pagespeedonline_v5`
|
45
|
+
* Updated `people_v1`
|
46
|
+
* Updated `playcustomapp_v1`
|
47
|
+
* Updated `policytroubleshooter_v1`
|
48
|
+
* Updated `policytroubleshooter_v1beta`
|
49
|
+
* Updated `pubsub_v1`
|
50
|
+
* Updated `secretmanager_v1`
|
51
|
+
* Updated `secretmanager_v1beta1`
|
52
|
+
* Updated `securitycenter_v1`
|
53
|
+
* Updated `securitycenter_v1beta1`
|
54
|
+
* Updated `securitycenter_v1p1alpha1`
|
55
|
+
* Updated `securitycenter_v1p1beta1`
|
56
|
+
* Updated `serviceconsumermanagement_v1`
|
57
|
+
* Updated `serviceconsumermanagement_v1beta1`
|
58
|
+
* Updated `servicemanagement_v1`
|
59
|
+
* Updated `servicenetworking_v1`
|
60
|
+
* Updated `servicenetworking_v1beta`
|
61
|
+
* Updated `serviceusage_v1`
|
62
|
+
* Updated `serviceusage_v1beta1`
|
63
|
+
* Updated `texttospeech_v1`
|
64
|
+
* Updated `texttospeech_v1beta1`
|
65
|
+
|
66
|
+
# 0.40.1
|
67
|
+
* Backwards compatible changes:
|
68
|
+
* Updated `admob_v1`
|
69
|
+
* Updated `androidenterprise_v1`
|
70
|
+
* Updated `androidpublisher_v3`
|
71
|
+
* Updated `appsmarket_v2`
|
72
|
+
* Updated `cloudbuild_v1`
|
73
|
+
* Updated `cloudbuild_v1alpha1`
|
74
|
+
* Updated `cloudbuild_v1alpha2`
|
75
|
+
* Updated `cloudsearch_v1`
|
76
|
+
* Updated `cloudtasks_v2`
|
77
|
+
* Updated `cloudtasks_v2beta3`
|
78
|
+
* Updated `compute_alpha`
|
79
|
+
* Updated `compute_beta`
|
80
|
+
* Updated `compute_v1`
|
81
|
+
* Updated `content_v2`
|
82
|
+
* Updated `content_v2_1`
|
83
|
+
* Updated `dataproc_v1`
|
84
|
+
* Updated `dataproc_v1beta2`
|
85
|
+
* Updated `dialogflow_v2`
|
86
|
+
* Updated `dialogflow_v2beta1`
|
87
|
+
* Updated `displayvideo_v1`
|
88
|
+
* Updated `file_v1`
|
89
|
+
* Updated `file_v1beta1`
|
90
|
+
* Updated `firebasehosting_v1beta1`
|
91
|
+
* Updated `fitness_v1`
|
92
|
+
* Updated `games_v1`
|
93
|
+
* Updated `healthcare_v1`
|
94
|
+
* Updated `healthcare_v1beta1`
|
95
|
+
* Updated `memcache_v1beta2`
|
96
|
+
* Updated `people_v1`
|
97
|
+
* Updated `prod_tt_sasportal_v1alpha1`
|
98
|
+
* Updated `pubsub_v1`
|
99
|
+
* Updated `run_v1`
|
100
|
+
* Updated `run_v1alpha1`
|
101
|
+
* Updated `sasportal_v1alpha1`
|
102
|
+
* Updated `serviceconsumermanagement_v1`
|
103
|
+
* Updated `serviceconsumermanagement_v1beta1`
|
104
|
+
* Updated `servicecontrol_v1`
|
105
|
+
* Updated `serviceusage_v1`
|
106
|
+
* Updated `serviceusage_v1beta1`
|
107
|
+
* Updated `sourcerepo_v1`
|
108
|
+
* Updated `spanner_v1`
|
109
|
+
* Updated `sql_v1beta4`
|
110
|
+
* Updated `storagetransfer_v1`
|
111
|
+
* Updated `testing_v1`
|
112
|
+
* Updated `videointelligence_v1`
|
113
|
+
* Updated `videointelligence_v1beta2`
|
114
|
+
* Updated `videointelligence_v1p1beta1`
|
115
|
+
* Updated `videointelligence_v1p2beta1`
|
116
|
+
* Updated `videointelligence_v1p3beta1`
|
117
|
+
* Updated `youtube_partner_v1`
|
118
|
+
|
119
|
+
# 0.40.0
|
120
|
+
* Breaking changes:
|
121
|
+
* Deleted `pagespeedonline_v4`
|
122
|
+
* Backwards compatible changes:
|
123
|
+
* Updated `apigee_v1`
|
124
|
+
* Updated `bigquery_v2`
|
125
|
+
* Updated `bigqueryreservation_v1`
|
126
|
+
* Updated `bigqueryreservation_v1beta1`
|
127
|
+
* Updated `billingbudgets_v1beta1`
|
128
|
+
* Updated `cloudiot_v1`
|
129
|
+
* Updated `cloudkms_v1`
|
130
|
+
* Updated `cloudtasks_v2`
|
131
|
+
* Updated `cloudtasks_v2beta3`
|
132
|
+
* Updated `compute_alpha`
|
133
|
+
* Updated `compute_beta`
|
134
|
+
* Updated `compute_v1`
|
135
|
+
* Updated `container_v1`
|
136
|
+
* Updated `container_v1beta1`
|
137
|
+
* Updated `dataflow_v1b3`
|
138
|
+
* Updated `dialogflow_v2`
|
139
|
+
* Updated `dialogflow_v2beta1`
|
140
|
+
* Updated `dialogflow_v3alpha1`
|
141
|
+
* Updated `displayvideo_v1`
|
142
|
+
* Updated `fitness_v1`
|
143
|
+
* Updated `healthcare_v1`
|
144
|
+
* Updated `healthcare_v1beta1`
|
145
|
+
* Updated `homegraph_v1`
|
146
|
+
* Updated `iam_v1`
|
147
|
+
* Updated `monitoring_v3`
|
148
|
+
* Updated `spanner_v1`
|
149
|
+
* Updated `tpu_v1`
|
150
|
+
* Updated `tpu_v1alpha1`
|
151
|
+
* Updated `youtube_v3`
|
152
|
+
|
153
|
+
# 0.39.5
|
154
|
+
* Backwards compatible changes:
|
155
|
+
* Added `artifactregistry_v1beta1`
|
156
|
+
* Added `dialogflow_v3alpha1`
|
157
|
+
* Added `networkmanagement_v1`
|
158
|
+
* Updated `adexchangebuyer2_v2beta1`
|
159
|
+
* Updated `apigee_v1`
|
160
|
+
* Updated `bigquery_v2`
|
161
|
+
* Updated `bigqueryreservation_v1`
|
162
|
+
* Updated `bigqueryreservation_v1beta1`
|
163
|
+
* Updated `billingbudgets_v1beta1`
|
164
|
+
* Updated `binaryauthorization_v1`
|
165
|
+
* Updated `calendar_v3`
|
166
|
+
* Updated `cloudasset_v1`
|
167
|
+
* Updated `cloudasset_v1beta1`
|
168
|
+
* Updated `cloudasset_v1p1beta1`
|
169
|
+
* Updated `cloudasset_v1p4beta1`
|
170
|
+
* Updated `cloudbuild_v1`
|
171
|
+
* Updated `cloudbuild_v1alpha1`
|
172
|
+
* Updated `cloudbuild_v1alpha2`
|
173
|
+
* Updated `cloudidentity_v1beta1`
|
174
|
+
* Updated `container_v1beta1`
|
175
|
+
* Updated `content_v2_1`
|
176
|
+
* Updated `dataproc_v1beta2`
|
177
|
+
* Updated `datastore_v1`
|
178
|
+
* Updated `datastore_v1beta3`
|
179
|
+
* Updated `deploymentmanager_alpha`
|
180
|
+
* Updated `deploymentmanager_v2`
|
181
|
+
* Updated `deploymentmanager_v2beta`
|
182
|
+
* Updated `dfareporting_v3_3`
|
183
|
+
* Updated `dfareporting_v3_4`
|
184
|
+
* Updated `dialogflow_v2`
|
185
|
+
* Updated `dialogflow_v2beta1`
|
186
|
+
* Updated `displayvideo_v1`
|
187
|
+
* Updated `dlp_v2`
|
188
|
+
* Updated `dns_v1`
|
189
|
+
* Updated `dns_v1beta2`
|
190
|
+
* Updated `dns_v2beta1`
|
191
|
+
* Updated `file_v1`
|
192
|
+
* Updated `file_v1beta1`
|
193
|
+
* Updated `games_configuration_v1configuration`
|
194
|
+
* Updated `games_management_v1management`
|
195
|
+
* Updated `iamcredentials_v1`
|
196
|
+
* Updated `remotebuildexecution_v1`
|
197
|
+
* Updated `remotebuildexecution_v1alpha`
|
198
|
+
* Updated `remotebuildexecution_v2`
|
199
|
+
* Updated `securitycenter_v1`
|
200
|
+
* Updated `securitycenter_v1beta1`
|
201
|
+
* Updated `securitycenter_v1p1beta1`
|
202
|
+
* Updated `serviceconsumermanagement_v1`
|
203
|
+
* Updated `serviceconsumermanagement_v1beta1`
|
204
|
+
* Updated `servicemanagement_v1`
|
205
|
+
* Updated `servicenetworking_v1`
|
206
|
+
* Updated `servicenetworking_v1beta`
|
207
|
+
* Updated `serviceusage_v1`
|
208
|
+
* Updated `serviceusage_v1beta1`
|
209
|
+
* Updated `tasks_v1`
|
210
|
+
* Updated `translate_v3`
|
211
|
+
* Updated `verifiedaccess_v1`
|
212
|
+
* Updated `websecurityscanner_v1`
|
213
|
+
* Updated `websecurityscanner_v1alpha`
|
214
|
+
* Updated `websecurityscanner_v1beta`
|
215
|
+
* Updated `youtube_partner_v1`
|
216
|
+
* Updated `youtube_v3`
|
217
|
+
|
218
|
+
# 0.39.4
|
219
|
+
* Backwards compatible changes:
|
220
|
+
* Updated `bigtableadmin_v1`
|
221
|
+
* Updated `bigtableadmin_v2`
|
222
|
+
* Updated `cloudsearch_v1`
|
223
|
+
* Updated `composer_v1beta1`
|
224
|
+
* Updated `compute_alpha`
|
225
|
+
* Updated `compute_beta`
|
226
|
+
* Updated `compute_v1`
|
227
|
+
* Updated `datacatalog_v1beta1`
|
228
|
+
* Updated `dialogflow_v2`
|
229
|
+
* Updated `dialogflow_v2beta1`
|
230
|
+
* Updated `file_v1`
|
231
|
+
* Updated `file_v1beta1`
|
232
|
+
* Updated `firebase_v1beta1`
|
233
|
+
* Updated `jobs_v3`
|
234
|
+
* Updated `memcache_v1beta2`
|
235
|
+
* Updated `ml_v1`
|
236
|
+
* Updated `monitoring_v3`
|
237
|
+
* Updated `people_v1`
|
238
|
+
* Updated `pubsub_v1`
|
239
|
+
* Updated `secretmanager_v1`
|
240
|
+
* Updated `secretmanager_v1beta1`
|
241
|
+
* Updated `servicecontrol_v1`
|
242
|
+
|
1
243
|
# 0.39.3
|
2
244
|
* Backwards compatible changes:
|
3
245
|
* Updated `appengine_v1`
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
28
28
|
module Adexchangebuyer2V2beta1
|
29
29
|
VERSION = 'V2beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200520'
|
31
31
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -440,6 +440,7 @@ module Google
|
|
440
440
|
# Numerical identifier of the client entity.
|
441
441
|
# The entity can be an advertiser, a brand, or an agency.
|
442
442
|
# This identifier is unique among all the entities with the same type.
|
443
|
+
# The value of this field is ignored if the entity type is not provided.
|
443
444
|
# A list of all known advertisers with their identifiers is available in the
|
444
445
|
# [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
|
445
446
|
# advertisers.txt)
|
@@ -462,7 +463,8 @@ module Google
|
|
462
463
|
# @return [String]
|
463
464
|
attr_accessor :entity_name
|
464
465
|
|
465
|
-
#
|
466
|
+
# An optional field for specifying the type of the client entity:
|
467
|
+
# `ADVERTISER`, `BRAND`, or `AGENCY`.
|
466
468
|
# Corresponds to the JSON property `entityType`
|
467
469
|
# @return [String]
|
468
470
|
attr_accessor :entity_type
|
@@ -161,8 +161,8 @@ module Google
|
|
161
161
|
# "header": `
|
162
162
|
# "date_range": `
|
163
163
|
# "start_date": `"year": 2018, "month": 9, "day": 1`,
|
164
|
-
# "end_date": `"year": 2018, "month": 9, "day":
|
165
|
-
#
|
164
|
+
# "end_date": `"year": 2018, "month": 9, "day": 1`
|
165
|
+
# `,
|
166
166
|
# "localization_settings": `
|
167
167
|
# "currency_code": "USD",
|
168
168
|
# "language_code": "en-US"
|
@@ -277,8 +277,8 @@ module Google
|
|
277
277
|
# "header": `
|
278
278
|
# "dateRange": `
|
279
279
|
# "startDate": `"year": 2018, "month": 9, "day": 1`,
|
280
|
-
# "endDate": `"year": 2018, "month": 9, "day":
|
281
|
-
#
|
280
|
+
# "endDate": `"year": 2018, "month": 9, "day": 1`
|
281
|
+
# `,
|
282
282
|
# "localizationSettings": `
|
283
283
|
# "currencyCode": "USD",
|
284
284
|
# "languageCode": "en-US"
|
@@ -299,9 +299,8 @@ module Google
|
|
299
299
|
# `
|
300
300
|
# `
|
301
301
|
# `,
|
302
|
-
# ...
|
303
302
|
# `
|
304
|
-
# "footer": `"matchingRowCount":
|
303
|
+
# "footer": `"matchingRowCount": 1`
|
305
304
|
# `]
|
306
305
|
class GenerateNetworkReportResponse
|
307
306
|
include Google::Apis::Core::Hashable
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Play EMM API
|
22
22
|
#
|
23
|
-
# Manages the deployment of apps to Android
|
23
|
+
# Manages the deployment of apps to Android Enterprise devices.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200606'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AndroidenterpriseV1
|
24
24
|
|
25
|
-
# This represents an enterprise admin who can manage the enterprise
|
26
|
-
# managed Google Play store.
|
25
|
+
# This represents an enterprise admin who can manage the enterprise
|
26
|
+
# in the managed Google Play store.
|
27
27
|
class Administrator
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
@@ -46,11 +46,6 @@ module Google
|
|
46
46
|
class AdministratorWebToken
|
47
47
|
include Google::Apis::Core::Hashable
|
48
48
|
|
49
|
-
#
|
50
|
-
# Corresponds to the JSON property `kind`
|
51
|
-
# @return [String]
|
52
|
-
attr_accessor :kind
|
53
|
-
|
54
49
|
# An opaque token to be passed to the Play front-end to generate an iframe.
|
55
50
|
# Corresponds to the JSON property `token`
|
56
51
|
# @return [String]
|
@@ -62,35 +57,29 @@ module Google
|
|
62
57
|
|
63
58
|
# Update properties of this object
|
64
59
|
def update!(**args)
|
65
|
-
@kind = args[:kind] if args.key?(:kind)
|
66
60
|
@token = args[:token] if args.key?(:token)
|
67
61
|
end
|
68
62
|
end
|
69
63
|
|
70
|
-
# Specification for a token used to generate iframes. The token specifies
|
71
|
-
# data the admin is allowed to modify and the URI the iframe is
|
72
|
-
# communiate with.
|
64
|
+
# Specification for a token used to generate iframes. The token specifies
|
65
|
+
# what data the admin is allowed to modify and the URI the iframe is
|
66
|
+
# allowed to communiate with.
|
73
67
|
class AdministratorWebTokenSpec
|
74
68
|
include Google::Apis::Core::Hashable
|
75
69
|
|
76
|
-
#
|
77
|
-
# Corresponds to the JSON property `kind`
|
78
|
-
# @return [String]
|
79
|
-
attr_accessor :kind
|
80
|
-
|
81
70
|
# Options for displaying the Managed Configuration page.
|
82
71
|
# Corresponds to the JSON property `managedConfigurations`
|
83
72
|
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations]
|
84
73
|
attr_accessor :managed_configurations
|
85
74
|
|
86
|
-
# The URI of the parent frame hosting the iframe. To prevent XSS, the iframe
|
87
|
-
# not be hosted at other URIs. This URI must be https.
|
88
|
-
# separate multiple parent URIs.
|
75
|
+
# The URI of the parent frame hosting the iframe. To prevent XSS, the iframe
|
76
|
+
# may not be hosted at other URIs. This URI must be https.
|
77
|
+
# Use whitespaces to separate multiple parent URIs.
|
89
78
|
# Corresponds to the JSON property `parent`
|
90
79
|
# @return [String]
|
91
80
|
attr_accessor :parent
|
92
81
|
|
93
|
-
# Deprecated. Use PlaySearch.approveApps
|
82
|
+
# Deprecated. Use <code>PlaySearch.approveApps</code>.
|
94
83
|
# Corresponds to the JSON property `permission`
|
95
84
|
# @return [Array<String>]
|
96
85
|
attr_accessor :permission
|
@@ -121,7 +110,6 @@ module Google
|
|
121
110
|
|
122
111
|
# Update properties of this object
|
123
112
|
def update!(**args)
|
124
|
-
@kind = args[:kind] if args.key?(:kind)
|
125
113
|
@managed_configurations = args[:managed_configurations] if args.key?(:managed_configurations)
|
126
114
|
@parent = args[:parent] if args.key?(:parent)
|
127
115
|
@permission = args[:permission] if args.key?(:permission)
|
@@ -156,7 +144,10 @@ module Google
|
|
156
144
|
class AdministratorWebTokenSpecPlaySearch
|
157
145
|
include Google::Apis::Core::Hashable
|
158
146
|
|
159
|
-
# Allow access to the iframe in
|
147
|
+
# Allow access to the iframe in <a
|
148
|
+
# href="https://developers.google.com/android/work/play/emm-api/managed-play-
|
149
|
+
# iframe#render">approve
|
150
|
+
# mode</a>. Default is false.
|
160
151
|
# Corresponds to the JSON property `approveApps`
|
161
152
|
# @return [Boolean]
|
162
153
|
attr_accessor :approve_apps
|
@@ -239,8 +230,8 @@ module Google
|
|
239
230
|
end
|
240
231
|
end
|
241
232
|
|
242
|
-
# Represents the list of app restrictions available to be pre-configured for
|
243
|
-
# product.
|
233
|
+
# Represents the list of app restrictions available to be pre-configured for
|
234
|
+
# the product.
|
244
235
|
class AppRestrictionsSchema
|
245
236
|
include Google::Apis::Core::Hashable
|
246
237
|
|
@@ -266,13 +257,14 @@ module Google
|
|
266
257
|
end
|
267
258
|
|
268
259
|
# An event generated when a new app version is uploaded to Google Play and its
|
269
|
-
# app restrictions schema changed.
|
270
|
-
# app
|
260
|
+
# app restrictions schema changed.
|
261
|
+
# To fetch the app restrictions schema for an app, use
|
262
|
+
# Products.getAppRestrictionsSchema on the EMM API.
|
271
263
|
class AppRestrictionsSchemaChangeEvent
|
272
264
|
include Google::Apis::Core::Hashable
|
273
265
|
|
274
|
-
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
275
|
-
# restriction schema changed. This field will always be present.
|
266
|
+
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
267
|
+
# app restriction schema changed. This field will always be present.
|
276
268
|
# Corresponds to the JSON property `productId`
|
277
269
|
# @return [String]
|
278
270
|
attr_accessor :product_id
|
@@ -297,34 +289,37 @@ module Google
|
|
297
289
|
# @return [Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestrictionRestrictionValue]
|
298
290
|
attr_accessor :default_value
|
299
291
|
|
300
|
-
# A longer description of the restriction, giving more detail of what it
|
292
|
+
# A longer description of the restriction, giving more detail of what it
|
293
|
+
# affects.
|
301
294
|
# Corresponds to the JSON property `description`
|
302
295
|
# @return [String]
|
303
296
|
attr_accessor :description
|
304
297
|
|
305
|
-
# For choice or multiselect restrictions, the list
|
306
|
-
# readable names.
|
298
|
+
# For <code>choice</code> or <code>multiselect</code> restrictions, the list
|
299
|
+
# of possible entries' human-readable names.
|
307
300
|
# Corresponds to the JSON property `entry`
|
308
301
|
# @return [Array<String>]
|
309
302
|
attr_accessor :entry
|
310
303
|
|
311
|
-
# For choice or multiselect restrictions, the list
|
312
|
-
# readable values. These values should be used
|
313
|
-
#
|
314
|
-
#
|
304
|
+
# For <code>choice</code> or <code>multiselect</code> restrictions, the list
|
305
|
+
# of possible entries' machine-readable values. These values should be used
|
306
|
+
# in the configuration, either as a single <code>string</code> value for a
|
307
|
+
# <code>choice</code> restriction or in a <code>stringArray</code> for a
|
308
|
+
# <code>multiselect</code> restriction.
|
315
309
|
# Corresponds to the JSON property `entryValue`
|
316
310
|
# @return [Array<String>]
|
317
311
|
attr_accessor :entry_value
|
318
312
|
|
319
|
-
# The unique key that the product uses to identify the restriction,
|
320
|
-
# google.android.gm.fieldname".
|
313
|
+
# The unique key that the product uses to identify the restriction,
|
314
|
+
# e.g. "com.google.android.gm.fieldname".
|
321
315
|
# Corresponds to the JSON property `key`
|
322
316
|
# @return [String]
|
323
317
|
attr_accessor :key
|
324
318
|
|
325
|
-
# For bundle or bundleArray restrictions, the list
|
326
|
-
# bundle restriction is always nested
|
327
|
-
# bundleArray restriction
|
319
|
+
# For <code>bundle</code> or <code>bundleArray</code> restrictions, the list
|
320
|
+
# of nested restrictions. A <code>bundle</code> restriction is always nested
|
321
|
+
# within a <code>bundleArray</code> restriction, and a
|
322
|
+
# <code>bundleArray</code> restriction is at most two levels deep.
|
328
323
|
# Corresponds to the JSON property `nestedRestriction`
|
329
324
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>]
|
330
325
|
attr_accessor :nested_restriction
|
@@ -376,12 +371,14 @@ module Google
|
|
376
371
|
# @return [Fixnum]
|
377
372
|
attr_accessor :value_integer
|
378
373
|
|
379
|
-
# The list of string values - this will only be present if type is
|
374
|
+
# The list of string values - this will only be present if type is
|
375
|
+
# multiselect.
|
380
376
|
# Corresponds to the JSON property `valueMultiselect`
|
381
377
|
# @return [Array<String>]
|
382
378
|
attr_accessor :value_multiselect
|
383
379
|
|
384
|
-
# The string value - this will be present for types string, choice and
|
380
|
+
# The string value - this will be present for types string, choice and
|
381
|
+
# hidden.
|
385
382
|
# Corresponds to the JSON property `valueString`
|
386
383
|
# @return [String]
|
387
384
|
attr_accessor :value_string
|
@@ -404,12 +401,14 @@ module Google
|
|
404
401
|
class AppState
|
405
402
|
include Google::Apis::Core::Hashable
|
406
403
|
|
407
|
-
# List of keyed app states.
|
404
|
+
# List of keyed app states.
|
405
|
+
# This field will always be present.
|
408
406
|
# Corresponds to the JSON property `keyedAppState`
|
409
407
|
# @return [Array<Google::Apis::AndroidenterpriseV1::KeyedAppState>]
|
410
408
|
attr_accessor :keyed_app_state
|
411
409
|
|
412
|
-
# The package name of the app.
|
410
|
+
# The package name of the app.
|
411
|
+
# This field will always be present.
|
413
412
|
# Corresponds to the JSON property `packageName`
|
414
413
|
# @return [String]
|
415
414
|
attr_accessor :package_name
|
@@ -458,14 +457,14 @@ module Google
|
|
458
457
|
attr_accessor :is_production
|
459
458
|
alias_method :is_production?, :is_production
|
460
459
|
|
461
|
-
# Deprecated, use trackId instead.
|
460
|
+
# Deprecated, use <code>trackId</code> instead.
|
462
461
|
# Corresponds to the JSON property `track`
|
463
462
|
# @return [String]
|
464
463
|
attr_accessor :track
|
465
464
|
|
466
|
-
# Track ids that the app version is published in. Replaces the
|
467
|
-
# deprecated), but doesn't include the production
|
468
|
-
# instead).
|
465
|
+
# Track ids that the app version is published in. Replaces the
|
466
|
+
# <code>track</code> field (deprecated), but doesn't include the production
|
467
|
+
# track (see <code>isProduction</code> instead).
|
469
468
|
# Corresponds to the JSON property `trackId`
|
470
469
|
# @return [Array<String>]
|
471
470
|
attr_accessor :track_id
|
@@ -475,7 +474,8 @@ module Google
|
|
475
474
|
# @return [Fixnum]
|
476
475
|
attr_accessor :version_code
|
477
476
|
|
478
|
-
# The string used in the Play store by the app developer to identify
|
477
|
+
# The string used in the Play store by the app developer to identify
|
478
|
+
# the version.
|
479
479
|
# The string is not necessarily unique or localized (for example, the string
|
480
480
|
# could be "1.4").
|
481
481
|
# Corresponds to the JSON property `versionString`
|
@@ -501,16 +501,11 @@ module Google
|
|
501
501
|
include Google::Apis::Core::Hashable
|
502
502
|
|
503
503
|
# A URL that displays a product's permissions and that can also be used to
|
504
|
-
# approve the product with the Products.approve call.
|
504
|
+
# approve the product with the <code>Products.approve</code> call.
|
505
505
|
# Corresponds to the JSON property `approvalUrl`
|
506
506
|
# @return [String]
|
507
507
|
attr_accessor :approval_url
|
508
508
|
|
509
|
-
#
|
510
|
-
# Corresponds to the JSON property `kind`
|
511
|
-
# @return [String]
|
512
|
-
attr_accessor :kind
|
513
|
-
|
514
509
|
def initialize(**args)
|
515
510
|
update!(**args)
|
516
511
|
end
|
@@ -518,7 +513,6 @@ module Google
|
|
518
513
|
# Update properties of this object
|
519
514
|
def update!(**args)
|
520
515
|
@approval_url = args[:approval_url] if args.key?(:approval_url)
|
521
|
-
@kind = args[:kind] if args.key?(:kind)
|
522
516
|
end
|
523
517
|
end
|
524
518
|
|
@@ -527,14 +521,9 @@ module Google
|
|
527
521
|
class AuthenticationToken
|
528
522
|
include Google::Apis::Core::Hashable
|
529
523
|
|
530
|
-
#
|
531
|
-
# Corresponds to the JSON property `kind`
|
532
|
-
# @return [String]
|
533
|
-
attr_accessor :kind
|
534
|
-
|
535
524
|
# The authentication token to be passed to the device policy client on the
|
536
|
-
# device where it can be used to provision the account for which this token
|
537
|
-
# generated.
|
525
|
+
# device where it can be used to provision the account for which this token
|
526
|
+
# was generated.
|
538
527
|
# Corresponds to the JSON property `token`
|
539
528
|
# @return [String]
|
540
529
|
attr_accessor :token
|
@@ -545,7 +534,6 @@ module Google
|
|
545
534
|
|
546
535
|
# Update properties of this object
|
547
536
|
def update!(**args)
|
548
|
-
@kind = args[:kind] if args.key?(:kind)
|
549
537
|
@token = args[:token] if args.key?(:token)
|
550
538
|
end
|
551
539
|
end
|
@@ -586,8 +574,8 @@ module Google
|
|
586
574
|
class AutoInstallPolicy
|
587
575
|
include Google::Apis::Core::Hashable
|
588
576
|
|
589
|
-
# The constraints for auto-installing the app. You can specify a maximum of
|
590
|
-
# constraint.
|
577
|
+
# The constraints for auto-installing the app. You can specify a maximum of
|
578
|
+
# one constraint.
|
591
579
|
# Corresponds to the JSON property `autoInstallConstraint`
|
592
580
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
|
593
581
|
attr_accessor :auto_install_constraint
|
@@ -604,9 +592,9 @@ module Google
|
|
604
592
|
attr_accessor :auto_install_priority
|
605
593
|
|
606
594
|
# The minimum version of the app. If a lower version of the app is installed,
|
607
|
-
# then the app will be auto-updated according to the auto-install
|
608
|
-
# instead of waiting for the regular auto-update. You can set a
|
609
|
-
# code for at most 20 apps per device.
|
595
|
+
# then the app will be auto-updated according to the auto-install
|
596
|
+
# constraints, instead of waiting for the regular auto-update. You can set a
|
597
|
+
# minimum version code for at most 20 apps per device.
|
610
598
|
# Corresponds to the JSON property `minimumVersionCode`
|
611
599
|
# @return [Fixnum]
|
612
600
|
attr_accessor :minimum_version_code
|
@@ -624,18 +612,13 @@ module Google
|
|
624
612
|
end
|
625
613
|
end
|
626
614
|
|
627
|
-
# A configuration variables resource contains the managed configuration
|
628
|
-
# ID to be applied to a single user, as well as the variable set that
|
629
|
-
# attributed to the user. The variable set will be used to replace
|
630
|
-
# in the managed configuration settings.
|
615
|
+
# A configuration variables resource contains the managed configuration
|
616
|
+
# settings ID to be applied to a single user, as well as the variable set that
|
617
|
+
# is attributed to the user. The variable set will be used to replace
|
618
|
+
# placeholders in the managed configuration settings.
|
631
619
|
class ConfigurationVariables
|
632
620
|
include Google::Apis::Core::Hashable
|
633
621
|
|
634
|
-
#
|
635
|
-
# Corresponds to the JSON property `kind`
|
636
|
-
# @return [String]
|
637
|
-
attr_accessor :kind
|
638
|
-
|
639
622
|
# The ID of the managed configurations settings.
|
640
623
|
# Corresponds to the JSON property `mcmId`
|
641
624
|
# @return [String]
|
@@ -652,40 +635,36 @@ module Google
|
|
652
635
|
|
653
636
|
# Update properties of this object
|
654
637
|
def update!(**args)
|
655
|
-
@kind = args[:kind] if args.key?(:kind)
|
656
638
|
@mcm_id = args[:mcm_id] if args.key?(:mcm_id)
|
657
639
|
@variable_set = args[:variable_set] if args.key?(:variable_set)
|
658
640
|
end
|
659
641
|
end
|
660
642
|
|
661
|
-
# A Devices resource represents a mobile device managed by the EMM and
|
662
|
-
# to a specific enterprise user.
|
643
|
+
# A Devices resource represents a mobile device managed by the EMM and
|
644
|
+
# belonging to a specific enterprise user.
|
663
645
|
class Device
|
664
646
|
include Google::Apis::Core::Hashable
|
665
647
|
|
666
|
-
# The Google Play Services Android ID for the device encoded as
|
667
|
-
# string. For example,
|
648
|
+
# The Google Play Services Android ID for the device encoded as
|
649
|
+
# a lowercase hex string. For example,
|
650
|
+
# <code>"123456789abcdef0"</code>.
|
668
651
|
# Corresponds to the JSON property `androidId`
|
669
652
|
# @return [String]
|
670
653
|
attr_accessor :android_id
|
671
654
|
|
672
|
-
#
|
673
|
-
#
|
674
|
-
# @return [String]
|
675
|
-
attr_accessor :kind
|
676
|
-
|
677
|
-
# Identifies the extent to which the device is controlled by a managed Google
|
678
|
-
# Play EMM in various deployment configurations.
|
655
|
+
# Identifies the extent to which the device is controlled by a managed
|
656
|
+
# Google Play EMM in various deployment configurations. <br><br>
|
679
657
|
# Possible values include:
|
680
|
-
#
|
681
|
-
# as the device owner
|
682
|
-
#
|
683
|
-
# profile owner) in addition to a separate, personal
|
684
|
-
# to the DPC
|
685
|
-
#
|
686
|
-
#
|
687
|
-
# using the Admin Console to enable the privilege) to use
|
688
|
-
# but the profile is itself
|
658
|
+
# <ul><li>"<code>managedDevice</code>", a device that has the EMM's device
|
659
|
+
# policy controller (DPC) as the device owner.</li>
|
660
|
+
# <li>"<code>managedProfile</code>", a device that has a profile managed
|
661
|
+
# by the DPC (DPC is profile owner) in addition to a separate, personal
|
662
|
+
# profile that is unavailable to the DPC.</li>
|
663
|
+
# <li>"<code>containerApp</code>", no longer used (deprecated).</li>
|
664
|
+
# <li>"<code>unmanagedProfile</code>", a device that has been allowed (by the
|
665
|
+
# domain's admin, using the Admin Console to enable the privilege) to use
|
666
|
+
# managed Google Play, but the profile is itself
|
667
|
+
# not owned by a DPC.</li></ul>
|
689
668
|
# Corresponds to the JSON property `managementType`
|
690
669
|
# @return [String]
|
691
670
|
attr_accessor :management_type
|
@@ -708,7 +687,6 @@ module Google
|
|
708
687
|
# Update properties of this object
|
709
688
|
def update!(**args)
|
710
689
|
@android_id = args[:android_id] if args.key?(:android_id)
|
711
|
-
@kind = args[:kind] if args.key?(:kind)
|
712
690
|
@management_type = args[:management_type] if args.key?(:management_type)
|
713
691
|
@policy = args[:policy] if args.key?(:policy)
|
714
692
|
@report = args[:report] if args.key?(:report)
|
@@ -720,14 +698,15 @@ module Google
|
|
720
698
|
class DeviceReport
|
721
699
|
include Google::Apis::Core::Hashable
|
722
700
|
|
723
|
-
# List of app states set by managed apps on the device. App states are
|
724
|
-
# by the app's developers.
|
701
|
+
# List of app states set by managed apps on the device. App states are
|
702
|
+
# defined by the app's developers.
|
703
|
+
# This field will always be present.
|
725
704
|
# Corresponds to the JSON property `appState`
|
726
705
|
# @return [Array<Google::Apis::AndroidenterpriseV1::AppState>]
|
727
706
|
attr_accessor :app_state
|
728
707
|
|
729
|
-
# The timestamp of the last report update in milliseconds since epoch.
|
730
|
-
# field will always be present.
|
708
|
+
# The timestamp of the last report update in milliseconds since epoch.
|
709
|
+
# This field will always be present.
|
731
710
|
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
732
711
|
# @return [Fixnum]
|
733
712
|
attr_accessor :last_updated_timestamp_millis
|
@@ -747,7 +726,8 @@ module Google
|
|
747
726
|
class DeviceReportUpdateEvent
|
748
727
|
include Google::Apis::Core::Hashable
|
749
728
|
|
750
|
-
# The Android ID of the device.
|
729
|
+
# The Android ID of the device.
|
730
|
+
# This field will always be present.
|
751
731
|
# Corresponds to the JSON property `deviceId`
|
752
732
|
# @return [String]
|
753
733
|
attr_accessor :device_id
|
@@ -758,7 +738,8 @@ module Google
|
|
758
738
|
# @return [Google::Apis::AndroidenterpriseV1::DeviceReport]
|
759
739
|
attr_accessor :report
|
760
740
|
|
761
|
-
# The ID of the user.
|
741
|
+
# The ID of the user.
|
742
|
+
# This field will always be present.
|
762
743
|
# Corresponds to the JSON property `userId`
|
763
744
|
# @return [String]
|
764
745
|
attr_accessor :user_id
|
@@ -775,24 +756,19 @@ module Google
|
|
775
756
|
end
|
776
757
|
end
|
777
758
|
|
778
|
-
# The state of a user's device, as accessed by the getState and setState
|
779
|
-
# on device resources.
|
759
|
+
# The state of a user's device, as accessed by the getState and setState
|
760
|
+
# methods on device resources.
|
780
761
|
class DeviceState
|
781
762
|
include Google::Apis::Core::Hashable
|
782
763
|
|
783
|
-
# The state of the Google account on the device. "enabled" indicates that
|
784
|
-
# Google account on the device can be used to access Google services
|
785
|
-
# Google Play), while "disabled" means that it cannot.
|
786
|
-
# in the "disabled" state.
|
764
|
+
# The state of the Google account on the device. "enabled" indicates that
|
765
|
+
# the Google account on the device can be used to access Google services
|
766
|
+
# (including Google Play), while "disabled" means that it cannot.
|
767
|
+
# A new device is initially in the "disabled" state.
|
787
768
|
# Corresponds to the JSON property `accountState`
|
788
769
|
# @return [String]
|
789
770
|
attr_accessor :account_state
|
790
771
|
|
791
|
-
#
|
792
|
-
# Corresponds to the JSON property `kind`
|
793
|
-
# @return [String]
|
794
|
-
attr_accessor :kind
|
795
|
-
|
796
772
|
def initialize(**args)
|
797
773
|
update!(**args)
|
798
774
|
end
|
@@ -800,11 +776,10 @@ module Google
|
|
800
776
|
# Update properties of this object
|
801
777
|
def update!(**args)
|
802
778
|
@account_state = args[:account_state] if args.key?(:account_state)
|
803
|
-
@kind = args[:kind] if args.key?(:kind)
|
804
779
|
end
|
805
780
|
end
|
806
781
|
|
807
|
-
#
|
782
|
+
#
|
808
783
|
class ListDevicesResponse
|
809
784
|
include Google::Apis::Core::Hashable
|
810
785
|
|
@@ -813,12 +788,6 @@ module Google
|
|
813
788
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Device>]
|
814
789
|
attr_accessor :device
|
815
790
|
|
816
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
817
|
-
# androidenterprise#devicesListResponse".
|
818
|
-
# Corresponds to the JSON property `kind`
|
819
|
-
# @return [String]
|
820
|
-
attr_accessor :kind
|
821
|
-
|
822
791
|
def initialize(**args)
|
823
792
|
update!(**args)
|
824
793
|
end
|
@@ -826,27 +795,30 @@ module Google
|
|
826
795
|
# Update properties of this object
|
827
796
|
def update!(**args)
|
828
797
|
@device = args[:device] if args.key?(:device)
|
829
|
-
@kind = args[:kind] if args.key?(:kind)
|
830
798
|
end
|
831
799
|
end
|
832
800
|
|
833
|
-
# An Enterprises resource represents the binding between an EMM and a
|
834
|
-
# organization. That binding can be instantiated in one of two
|
835
|
-
# using this API as follows:
|
836
|
-
#
|
837
|
-
# enroll and Enterprises.setAccount (in
|
838
|
-
#
|
839
|
-
# a more-or-less manual
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
844
|
-
#
|
801
|
+
# An Enterprises resource represents the binding between an EMM and a
|
802
|
+
# specific organization. That binding can be instantiated in one of two
|
803
|
+
# different ways using this API as follows:
|
804
|
+
# <ul><li>For Google managed domain customers, the process involves using
|
805
|
+
# <code>Enterprises.enroll</code> and <code>Enterprises.setAccount</code> (in
|
806
|
+
# conjunction with artifacts obtained from the Admin console and the Google
|
807
|
+
# API Console) and submitted to the EMM through a more-or-less manual
|
808
|
+
# process.</li>
|
809
|
+
# <li>For managed Google Play Accounts customers, the process involves using
|
810
|
+
# <code>Enterprises.generateSignupUrl</code> and
|
811
|
+
# <code>Enterprises.completeSignup</code> in conjunction with the managed
|
812
|
+
# Google Play sign-up UI (Google-provided mechanism) to create the binding
|
813
|
+
# without manual steps.</li></ul> As an EMM, you can support either or both
|
814
|
+
# approaches in your EMM console. See <a
|
815
|
+
# href="/android/work/play/emm-api/create-enterprise">Create an Enterprise</a>
|
816
|
+
# for details.
|
845
817
|
class Enterprise
|
846
818
|
include Google::Apis::Core::Hashable
|
847
819
|
|
848
|
-
# Admins of the enterprise. This is only supported for enterprises
|
849
|
-
# the EMM-initiated flow.
|
820
|
+
# Admins of the enterprise. This is only supported for enterprises
|
821
|
+
# created via the EMM-initiated flow.
|
850
822
|
# Corresponds to the JSON property `administrator`
|
851
823
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Administrator>]
|
852
824
|
attr_accessor :administrator
|
@@ -856,11 +828,6 @@ module Google
|
|
856
828
|
# @return [String]
|
857
829
|
attr_accessor :id
|
858
830
|
|
859
|
-
#
|
860
|
-
# Corresponds to the JSON property `kind`
|
861
|
-
# @return [String]
|
862
|
-
attr_accessor :kind
|
863
|
-
|
864
831
|
# The name of the enterprise, for example, "Example, Inc".
|
865
832
|
# Corresponds to the JSON property `name`
|
866
833
|
# @return [String]
|
@@ -879,14 +846,13 @@ module Google
|
|
879
846
|
def update!(**args)
|
880
847
|
@administrator = args[:administrator] if args.key?(:administrator)
|
881
848
|
@id = args[:id] if args.key?(:id)
|
882
|
-
@kind = args[:kind] if args.key?(:kind)
|
883
849
|
@name = args[:name] if args.key?(:name)
|
884
850
|
@primary_domain = args[:primary_domain] if args.key?(:primary_domain)
|
885
851
|
end
|
886
852
|
end
|
887
853
|
|
888
|
-
# A service account that can be used to authenticate as the enterprise to
|
889
|
-
# calls that require such authentication.
|
854
|
+
# A service account that can be used to authenticate as the enterprise to
|
855
|
+
# API calls that require such authentication.
|
890
856
|
class EnterpriseAccount
|
891
857
|
include Google::Apis::Core::Hashable
|
892
858
|
|
@@ -895,11 +861,6 @@ module Google
|
|
895
861
|
# @return [String]
|
896
862
|
attr_accessor :account_email
|
897
863
|
|
898
|
-
#
|
899
|
-
# Corresponds to the JSON property `kind`
|
900
|
-
# @return [String]
|
901
|
-
attr_accessor :kind
|
902
|
-
|
903
864
|
def initialize(**args)
|
904
865
|
update!(**args)
|
905
866
|
end
|
@@ -907,11 +868,10 @@ module Google
|
|
907
868
|
# Update properties of this object
|
908
869
|
def update!(**args)
|
909
870
|
@account_email = args[:account_email] if args.key?(:account_email)
|
910
|
-
@kind = args[:kind] if args.key?(:kind)
|
911
871
|
end
|
912
872
|
end
|
913
873
|
|
914
|
-
#
|
874
|
+
#
|
915
875
|
class ListEnterprisesResponse
|
916
876
|
include Google::Apis::Core::Hashable
|
917
877
|
|
@@ -920,12 +880,6 @@ module Google
|
|
920
880
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Enterprise>]
|
921
881
|
attr_accessor :enterprise
|
922
882
|
|
923
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
924
|
-
# androidenterprise#enterprisesListResponse".
|
925
|
-
# Corresponds to the JSON property `kind`
|
926
|
-
# @return [String]
|
927
|
-
attr_accessor :kind
|
928
|
-
|
929
883
|
def initialize(**args)
|
930
884
|
update!(**args)
|
931
885
|
end
|
@@ -933,7 +887,6 @@ module Google
|
|
933
887
|
# Update properties of this object
|
934
888
|
def update!(**args)
|
935
889
|
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
936
|
-
@kind = args[:kind] if args.key?(:kind)
|
937
890
|
end
|
938
891
|
end
|
939
892
|
|
@@ -946,8 +899,8 @@ module Google
|
|
946
899
|
# @return [String]
|
947
900
|
attr_accessor :message_id
|
948
901
|
|
949
|
-
# The name of the Cloud Pub/Sub topic to which notifications for this
|
950
|
-
# s enrolled account will be sent.
|
902
|
+
# The name of the Cloud Pub/Sub topic to which notifications for this
|
903
|
+
# enterprise's enrolled account will be sent.
|
951
904
|
# Corresponds to the JSON property `topicName`
|
952
905
|
# @return [String]
|
953
906
|
attr_accessor :topic_name
|
@@ -971,35 +924,31 @@ module Google
|
|
971
924
|
# The API can be used to create an entitlement. As an option, you can also use
|
972
925
|
# the API to trigger the installation of an app on all a user's managed devices
|
973
926
|
# at the same time the entitlement is created.
|
974
|
-
# If the app is free, creating the entitlement also creates a group license
|
975
|
-
# that app. For paid apps, creating the entitlement consumes one license,
|
976
|
-
# that license remains consumed until the entitlement is removed. If the
|
927
|
+
# If the app is free, creating the entitlement also creates a group license
|
928
|
+
# for that app. For paid apps, creating the entitlement consumes one license,
|
929
|
+
# and that license remains consumed until the entitlement is removed. If the
|
977
930
|
# enterprise hasn't purchased enough licenses, then no entitlement is created
|
978
931
|
# and the installation fails. An entitlement is also not created for an app if
|
979
932
|
# the app requires permissions that the enterprise hasn't accepted.
|
980
|
-
# If an entitlement is deleted, the app may be uninstalled from a user's
|
981
|
-
# As a best practice, uninstall the app by calling
|
982
|
-
#
|
983
|
-
#
|
984
|
-
#
|
985
|
-
#
|
933
|
+
# If an entitlement is deleted, the app may be uninstalled from a user's
|
934
|
+
# device. As a best practice, uninstall the app by calling
|
935
|
+
# <a class="method-link" method="androidenterprise.installs.delete">
|
936
|
+
# Installs.delete()</a> before deleting the entitlement.
|
937
|
+
# Entitlements for apps that a user pays for on an unmanaged profile have
|
938
|
+
# <code class="">"userPurchase"</code> as the entitlement reason. These
|
939
|
+
# entitlements cannot be removed via the API.
|
986
940
|
class Entitlement
|
987
941
|
include Google::Apis::Core::Hashable
|
988
942
|
|
989
|
-
#
|
990
|
-
#
|
991
|
-
# @return [String]
|
992
|
-
attr_accessor :kind
|
993
|
-
|
994
|
-
# The ID of the product that the entitlement is for. For example, "app:com.
|
995
|
-
# google.android.gm".
|
943
|
+
# The ID of the product that the entitlement is for. For example,
|
944
|
+
# <code>"app:com.google.android.gm"</code>.
|
996
945
|
# Corresponds to the JSON property `productId`
|
997
946
|
# @return [String]
|
998
947
|
attr_accessor :product_id
|
999
948
|
|
1000
|
-
# The reason for the entitlement. For example, "free"
|
1001
|
-
# property is temporary: it will be replaced by the
|
1002
|
-
# group licenses.
|
949
|
+
# The reason for the entitlement. For example, <code class="">"free"</code>
|
950
|
+
# for free apps. This property is temporary: it will be replaced by the <code
|
951
|
+
# class="">acquisition kind</code> field of group licenses.
|
1003
952
|
# Corresponds to the JSON property `reason`
|
1004
953
|
# @return [String]
|
1005
954
|
attr_accessor :reason
|
@@ -1010,29 +959,22 @@ module Google
|
|
1010
959
|
|
1011
960
|
# Update properties of this object
|
1012
961
|
def update!(**args)
|
1013
|
-
@kind = args[:kind] if args.key?(:kind)
|
1014
962
|
@product_id = args[:product_id] if args.key?(:product_id)
|
1015
963
|
@reason = args[:reason] if args.key?(:reason)
|
1016
964
|
end
|
1017
965
|
end
|
1018
966
|
|
1019
|
-
#
|
967
|
+
#
|
1020
968
|
class ListEntitlementsResponse
|
1021
969
|
include Google::Apis::Core::Hashable
|
1022
970
|
|
1023
|
-
# An entitlement of a user to a product (e.g. an app).
|
1024
|
-
# that they have installed, or a paid app that they
|
1025
|
-
# license to.
|
971
|
+
# An entitlement of a user to a product (e.g. an app).
|
972
|
+
# For example, a free app that they have installed, or a paid app that they
|
973
|
+
# have been allocated a license to.
|
1026
974
|
# Corresponds to the JSON property `entitlement`
|
1027
975
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Entitlement>]
|
1028
976
|
attr_accessor :entitlement
|
1029
977
|
|
1030
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1031
|
-
# androidenterprise#entitlementsListResponse".
|
1032
|
-
# Corresponds to the JSON property `kind`
|
1033
|
-
# @return [String]
|
1034
|
-
attr_accessor :kind
|
1035
|
-
|
1036
978
|
def initialize(**args)
|
1037
979
|
update!(**args)
|
1038
980
|
end
|
@@ -1040,78 +982,77 @@ module Google
|
|
1040
982
|
# Update properties of this object
|
1041
983
|
def update!(**args)
|
1042
984
|
@entitlement = args[:entitlement] if args.key?(:entitlement)
|
1043
|
-
@kind = args[:kind] if args.key?(:kind)
|
1044
985
|
end
|
1045
986
|
end
|
1046
987
|
|
1047
|
-
# Group license objects allow you to keep track of licenses (called
|
988
|
+
# Group license objects allow you to keep track of licenses (called
|
989
|
+
# <a href="/android/work/play/emm-api/v1/entitlements">entitlements</a>)
|
1048
990
|
# for both free and paid apps. For a free app, a group license is created when
|
1049
991
|
# an enterprise admin first approves the product in Google Play or when the
|
1050
992
|
# first entitlement for the product is created for a user via the API. For a
|
1051
993
|
# paid app, a group license object is only created when an enterprise admin
|
1052
994
|
# purchases the product in Google Play for the first time.
|
1053
|
-
# Use the API to query group licenses. A Grouplicenses resource
|
1054
|
-
# total number of licenses purchased (paid apps only) and the
|
1055
|
-
# licenses currently in use. In other words, the total number
|
1056
|
-
# that exist for the product.
|
1057
|
-
# Only one group license object is created per product and group license
|
1058
|
-
# are never deleted. If a product is unapproved, its group license
|
1059
|
-
# allows enterprise admins to keep track of any remaining
|
1060
|
-
# product.
|
995
|
+
# Use the API to query group licenses. A <code>Grouplicenses</code> resource
|
996
|
+
# includes the total number of licenses purchased (paid apps only) and the
|
997
|
+
# total number of licenses currently in use. In other words, the total number
|
998
|
+
# of <code>Entitlements</code> that exist for the product.
|
999
|
+
# Only one group license object is created per product and group license
|
1000
|
+
# objects are never deleted. If a product is unapproved, its group license
|
1001
|
+
# remains. This allows enterprise admins to keep track of any remaining
|
1002
|
+
# entitlements for the product.
|
1061
1003
|
class GroupLicense
|
1062
1004
|
include Google::Apis::Core::Hashable
|
1063
1005
|
|
1064
|
-
# How this group license was acquired.
|
1065
|
-
# Grouplicenses resource was created because the enterprise
|
1066
|
-
# for this product; otherwise, the value is
|
1006
|
+
# How this group license was acquired. <code>"bulkPurchase"</code>
|
1007
|
+
# means that this Grouplicenses resource was created because the enterprise
|
1008
|
+
# purchased licenses for this product; otherwise, the value is
|
1009
|
+
# <code>"free"</code> (for free products).
|
1067
1010
|
# Corresponds to the JSON property `acquisitionKind`
|
1068
1011
|
# @return [String]
|
1069
1012
|
attr_accessor :acquisition_kind
|
1070
1013
|
|
1071
|
-
# Whether the product to which this group license relates is currently
|
1072
|
-
# by the enterprise. Products are approved when a group license is
|
1073
|
-
# but this approval may be revoked by an enterprise admin via
|
1074
|
-
# Unapproved products will not be visible to end users in
|
1075
|
-
# entitlements to them should not normally be created.
|
1014
|
+
# Whether the product to which this group license relates is currently
|
1015
|
+
# approved by the enterprise. Products are approved when a group license is
|
1016
|
+
# first created, but this approval may be revoked by an enterprise admin via
|
1017
|
+
# Google Play. Unapproved products will not be visible to end users in
|
1018
|
+
# collections, and new entitlements to them should not normally be created.
|
1076
1019
|
# Corresponds to the JSON property `approval`
|
1077
1020
|
# @return [String]
|
1078
1021
|
attr_accessor :approval
|
1079
1022
|
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
# @return [String]
|
1083
|
-
attr_accessor :kind
|
1084
|
-
|
1085
|
-
# The total number of provisioned licenses for this product. Returned by read
|
1086
|
-
# operations, but ignored in write operations.
|
1023
|
+
# The total number of provisioned licenses for this product.
|
1024
|
+
# Returned by read operations, but ignored in write operations.
|
1087
1025
|
# Corresponds to the JSON property `numProvisioned`
|
1088
1026
|
# @return [Fixnum]
|
1089
1027
|
attr_accessor :num_provisioned
|
1090
1028
|
|
1091
|
-
# The number of purchased licenses (possibly in multiple purchases).
|
1092
|
-
# field is omitted, then there is no limit on the number of licenses
|
1093
|
-
# provisioned (for example, if the acquisition kind is
|
1029
|
+
# The number of purchased licenses (possibly in multiple purchases).
|
1030
|
+
# If this field is omitted, then there is no limit on the number of licenses
|
1031
|
+
# that can be provisioned (for example, if the acquisition kind is
|
1032
|
+
# <code>"free"</code>).
|
1094
1033
|
# Corresponds to the JSON property `numPurchased`
|
1095
1034
|
# @return [Fixnum]
|
1096
1035
|
attr_accessor :num_purchased
|
1097
1036
|
|
1098
|
-
# The permission approval status of the product. This field
|
1099
|
-
# product is approved. Possible states are
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
# (If the product was approved
|
1103
|
-
# setting, then this is the
|
1104
|
-
#
|
1105
|
-
#
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1037
|
+
# The permission approval status of the product. This field
|
1038
|
+
# is only set if the product is approved. Possible states are:<ul>
|
1039
|
+
# <li>"<code>currentApproved</code>", the current set
|
1040
|
+
# of permissions is approved, but additional permissions will require the
|
1041
|
+
# administrator to reapprove the product (If the product was approved
|
1042
|
+
# without specifying the approved permissions setting, then this is the
|
1043
|
+
# default behavior.),</li>
|
1044
|
+
# <li>"<code>needsReapproval</code>", the product has unapproved permissions.
|
1045
|
+
# No additional product licenses can be assigned until the product is
|
1046
|
+
# reapproved,</li>
|
1047
|
+
# <li>"<code>allCurrentAndFutureApproved</code>",
|
1048
|
+
# the current permissions are approved and any future permission updates
|
1049
|
+
# will be automatically approved without administrator review.</li></ul>
|
1109
1050
|
# Corresponds to the JSON property `permissions`
|
1110
1051
|
# @return [String]
|
1111
1052
|
attr_accessor :permissions
|
1112
1053
|
|
1113
|
-
# The ID of the product that the license is for. For example,
|
1114
|
-
# android.gm
|
1054
|
+
# The ID of the product that the license is for. For example,
|
1055
|
+
# <code>"app:com.google.android.gm"</code>.
|
1115
1056
|
# Corresponds to the JSON property `productId`
|
1116
1057
|
# @return [String]
|
1117
1058
|
attr_accessor :product_id
|
@@ -1124,7 +1065,6 @@ module Google
|
|
1124
1065
|
def update!(**args)
|
1125
1066
|
@acquisition_kind = args[:acquisition_kind] if args.key?(:acquisition_kind)
|
1126
1067
|
@approval = args[:approval] if args.key?(:approval)
|
1127
|
-
@kind = args[:kind] if args.key?(:kind)
|
1128
1068
|
@num_provisioned = args[:num_provisioned] if args.key?(:num_provisioned)
|
1129
1069
|
@num_purchased = args[:num_purchased] if args.key?(:num_purchased)
|
1130
1070
|
@permissions = args[:permissions] if args.key?(:permissions)
|
@@ -1132,16 +1072,10 @@ module Google
|
|
1132
1072
|
end
|
1133
1073
|
end
|
1134
1074
|
|
1135
|
-
#
|
1075
|
+
#
|
1136
1076
|
class ListGroupLicenseUsersResponse
|
1137
1077
|
include Google::Apis::Core::Hashable
|
1138
1078
|
|
1139
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1140
|
-
# androidenterprise#groupLicenseUsersListResponse".
|
1141
|
-
# Corresponds to the JSON property `kind`
|
1142
|
-
# @return [String]
|
1143
|
-
attr_accessor :kind
|
1144
|
-
|
1145
1079
|
# A user of an enterprise.
|
1146
1080
|
# Corresponds to the JSON property `user`
|
1147
1081
|
# @return [Array<Google::Apis::AndroidenterpriseV1::User>]
|
@@ -1153,12 +1087,11 @@ module Google
|
|
1153
1087
|
|
1154
1088
|
# Update properties of this object
|
1155
1089
|
def update!(**args)
|
1156
|
-
@kind = args[:kind] if args.key?(:kind)
|
1157
1090
|
@user = args[:user] if args.key?(:user)
|
1158
1091
|
end
|
1159
1092
|
end
|
1160
1093
|
|
1161
|
-
#
|
1094
|
+
#
|
1162
1095
|
class ListGroupLicensesResponse
|
1163
1096
|
include Google::Apis::Core::Hashable
|
1164
1097
|
|
@@ -1167,12 +1100,6 @@ module Google
|
|
1167
1100
|
# @return [Array<Google::Apis::AndroidenterpriseV1::GroupLicense>]
|
1168
1101
|
attr_accessor :group_license
|
1169
1102
|
|
1170
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1171
|
-
# androidenterprise#groupLicensesListResponse".
|
1172
|
-
# Corresponds to the JSON property `kind`
|
1173
|
-
# @return [String]
|
1174
|
-
attr_accessor :kind
|
1175
|
-
|
1176
1103
|
def initialize(**args)
|
1177
1104
|
update!(**args)
|
1178
1105
|
end
|
@@ -1180,18 +1107,21 @@ module Google
|
|
1180
1107
|
# Update properties of this object
|
1181
1108
|
def update!(**args)
|
1182
1109
|
@group_license = args[:group_license] if args.key?(:group_license)
|
1183
|
-
@kind = args[:kind] if args.key?(:kind)
|
1184
1110
|
end
|
1185
1111
|
end
|
1186
1112
|
|
1187
|
-
# The existence of an Installs resource indicates that an app is
|
1188
|
-
# particular device (or that an install is pending).
|
1189
|
-
# The API can be used to create an install resource using the
|
1190
|
-
#
|
1191
|
-
#
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
#
|
1113
|
+
# The existence of an Installs resource indicates that an app is
|
1114
|
+
# installed on a particular device (or that an install is pending).
|
1115
|
+
# The API can be used to create an install resource using the
|
1116
|
+
# <a class="method-link" method="androidenterprise.installs.update">update</a>
|
1117
|
+
# method. This triggers the actual install of the app on the device. If the
|
1118
|
+
# user does not already have an entitlement for the app, then an attempt is
|
1119
|
+
# made to create one. If this fails (for example, because the app is not free
|
1120
|
+
# and there is no available license), then the creation of the install fails.
|
1121
|
+
# The API can also be used to update an installed app. If
|
1122
|
+
# the <a class="method-link" method="androidenterprise.installs.update"
|
1123
|
+
# style="font-style: normal; font-size: 14px; font-family: Roboto, sans-serif;
|
1124
|
+
# line-height: 22.3999996185303px;">update</a> method is
|
1195
1125
|
# used on an existing install, then the app will be updated to the latest
|
1196
1126
|
# available version.
|
1197
1127
|
# Note that it is not possible to force the installation of a specific version
|
@@ -1207,26 +1137,22 @@ module Google
|
|
1207
1137
|
class Install
|
1208
1138
|
include Google::Apis::Core::Hashable
|
1209
1139
|
|
1210
|
-
# Install state. The state
|
1211
|
-
# recently been made and download to the
|
1212
|
-
#
|
1140
|
+
# Install state. The state <code>"installPending"</code>
|
1141
|
+
# means that an install request has recently been made and download to the
|
1142
|
+
# device is in progress. The state <code>"installed"</code>
|
1143
|
+
# means that the app has been installed. This field is read-only.
|
1213
1144
|
# Corresponds to the JSON property `installState`
|
1214
1145
|
# @return [String]
|
1215
1146
|
attr_accessor :install_state
|
1216
1147
|
|
1217
|
-
#
|
1218
|
-
#
|
1219
|
-
# @return [String]
|
1220
|
-
attr_accessor :kind
|
1221
|
-
|
1222
|
-
# The ID of the product that the install is for. For example, "app:com.google.
|
1223
|
-
# android.gm".
|
1148
|
+
# The ID of the product that the install is for. For example,
|
1149
|
+
# <code>"app:com.google.android.gm"</code>.
|
1224
1150
|
# Corresponds to the JSON property `productId`
|
1225
1151
|
# @return [String]
|
1226
1152
|
attr_accessor :product_id
|
1227
1153
|
|
1228
|
-
# The version of the installed product. Guaranteed to be set only if the
|
1229
|
-
# state is
|
1154
|
+
# The version of the installed product. Guaranteed to be set only if the
|
1155
|
+
# install state is <code>"installed"</code>.
|
1230
1156
|
# Corresponds to the JSON property `versionCode`
|
1231
1157
|
# @return [Fixnum]
|
1232
1158
|
attr_accessor :version_code
|
@@ -1238,7 +1164,6 @@ module Google
|
|
1238
1164
|
# Update properties of this object
|
1239
1165
|
def update!(**args)
|
1240
1166
|
@install_state = args[:install_state] if args.key?(:install_state)
|
1241
|
-
@kind = args[:kind] if args.key?(:kind)
|
1242
1167
|
@product_id = args[:product_id] if args.key?(:product_id)
|
1243
1168
|
@version_code = args[:version_code] if args.key?(:version_code)
|
1244
1169
|
end
|
@@ -1248,7 +1173,8 @@ module Google
|
|
1248
1173
|
class InstallFailureEvent
|
1249
1174
|
include Google::Apis::Core::Hashable
|
1250
1175
|
|
1251
|
-
# The Android ID of the device.
|
1176
|
+
# The Android ID of the device.
|
1177
|
+
# This field will always be present.
|
1252
1178
|
# Corresponds to the JSON property `deviceId`
|
1253
1179
|
# @return [String]
|
1254
1180
|
attr_accessor :device_id
|
@@ -1258,18 +1184,20 @@ module Google
|
|
1258
1184
|
# @return [String]
|
1259
1185
|
attr_accessor :failure_details
|
1260
1186
|
|
1261
|
-
# The reason for the installation failure.
|
1187
|
+
# The reason for the installation failure.
|
1188
|
+
# This field will always be present.
|
1262
1189
|
# Corresponds to the JSON property `failureReason`
|
1263
1190
|
# @return [String]
|
1264
1191
|
attr_accessor :failure_reason
|
1265
1192
|
|
1266
|
-
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
1267
|
-
# failure event occured. This field will always be present.
|
1193
|
+
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
1194
|
+
# install failure event occured. This field will always be present.
|
1268
1195
|
# Corresponds to the JSON property `productId`
|
1269
1196
|
# @return [String]
|
1270
1197
|
attr_accessor :product_id
|
1271
1198
|
|
1272
|
-
# The ID of the user.
|
1199
|
+
# The ID of the user.
|
1200
|
+
# This field will always be present.
|
1273
1201
|
# Corresponds to the JSON property `userId`
|
1274
1202
|
# @return [String]
|
1275
1203
|
attr_accessor :user_id
|
@@ -1288,22 +1216,17 @@ module Google
|
|
1288
1216
|
end
|
1289
1217
|
end
|
1290
1218
|
|
1291
|
-
#
|
1219
|
+
#
|
1292
1220
|
class ListInstallsResponse
|
1293
1221
|
include Google::Apis::Core::Hashable
|
1294
1222
|
|
1295
|
-
# An installation of an app for a user on a specific device.
|
1296
|
-
# install implies that the user must have an
|
1223
|
+
# An installation of an app for a user on a specific device.
|
1224
|
+
# The existence of an install implies that the user must have an
|
1225
|
+
# entitlement to the app.
|
1297
1226
|
# Corresponds to the JSON property `install`
|
1298
1227
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Install>]
|
1299
1228
|
attr_accessor :install
|
1300
1229
|
|
1301
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1302
|
-
# androidenterprise#installsListResponse".
|
1303
|
-
# Corresponds to the JSON property `kind`
|
1304
|
-
# @return [String]
|
1305
|
-
attr_accessor :kind
|
1306
|
-
|
1307
1230
|
def initialize(**args)
|
1308
1231
|
update!(**args)
|
1309
1232
|
end
|
@@ -1311,7 +1234,6 @@ module Google
|
|
1311
1234
|
# Update properties of this object
|
1312
1235
|
def update!(**args)
|
1313
1236
|
@install = args[:install] if args.key?(:install)
|
1314
|
-
@kind = args[:kind] if args.key?(:kind)
|
1315
1237
|
end
|
1316
1238
|
end
|
1317
1239
|
|
@@ -1320,34 +1242,36 @@ module Google
|
|
1320
1242
|
class KeyedAppState
|
1321
1243
|
include Google::Apis::Core::Hashable
|
1322
1244
|
|
1323
|
-
# Additional field intended for machine-readable data. For example, a number
|
1324
|
-
# JSON object. To prevent XSS, we recommend removing any HTML from the
|
1325
|
-
# before displaying it.
|
1245
|
+
# Additional field intended for machine-readable data. For example, a number
|
1246
|
+
# or JSON object. To prevent XSS, we recommend removing any HTML from the
|
1247
|
+
# data before displaying it.
|
1326
1248
|
# Corresponds to the JSON property `data`
|
1327
1249
|
# @return [String]
|
1328
1250
|
attr_accessor :data
|
1329
1251
|
|
1330
|
-
# Key indicating what the app is providing a state for. The content of the
|
1331
|
-
# is set by the app's developer. To prevent XSS, we recommend removing
|
1332
|
-
# from the key before displaying it.
|
1252
|
+
# Key indicating what the app is providing a state for. The content of the
|
1253
|
+
# key is set by the app's developer. To prevent XSS, we recommend removing
|
1254
|
+
# any HTML from the key before displaying it.
|
1255
|
+
# This field will always be present.
|
1333
1256
|
# Corresponds to the JSON property `key`
|
1334
1257
|
# @return [String]
|
1335
1258
|
attr_accessor :key
|
1336
1259
|
|
1337
|
-
# Free-form, human-readable message describing the app state. For example,
|
1338
|
-
# error message. To prevent XSS, we recommend removing any HTML from the
|
1339
|
-
# before displaying it.
|
1260
|
+
# Free-form, human-readable message describing the app state. For example,
|
1261
|
+
# an error message. To prevent XSS, we recommend removing any HTML from the
|
1262
|
+
# message before displaying it.
|
1340
1263
|
# Corresponds to the JSON property `message`
|
1341
1264
|
# @return [String]
|
1342
1265
|
attr_accessor :message
|
1343
1266
|
|
1344
|
-
# Severity of the app state.
|
1267
|
+
# Severity of the app state.
|
1268
|
+
# This field will always be present.
|
1345
1269
|
# Corresponds to the JSON property `severity`
|
1346
1270
|
# @return [String]
|
1347
1271
|
attr_accessor :severity
|
1348
1272
|
|
1349
|
-
# Timestamp of when the app set the state in milliseconds since epoch.
|
1350
|
-
# field will always be present.
|
1273
|
+
# Timestamp of when the app set the state in milliseconds since epoch.
|
1274
|
+
# This field will always be present.
|
1351
1275
|
# Corresponds to the JSON property `stateTimestampMillis`
|
1352
1276
|
# @return [Fixnum]
|
1353
1277
|
attr_accessor :state_timestamp_millis
|
@@ -1391,8 +1315,9 @@ module Google
|
|
1391
1315
|
end
|
1392
1316
|
end
|
1393
1317
|
|
1394
|
-
# Maintenance window for managed Google Play Accounts.
|
1395
|
-
# update the apps on the foreground in the designated
|
1318
|
+
# Maintenance window for managed Google Play Accounts.
|
1319
|
+
# This allows Play store to update the apps on the foreground in the designated
|
1320
|
+
# window.
|
1396
1321
|
class MaintenanceWindow
|
1397
1322
|
include Google::Apis::Core::Hashable
|
1398
1323
|
|
@@ -1420,15 +1345,15 @@ module Google
|
|
1420
1345
|
end
|
1421
1346
|
|
1422
1347
|
# A managed configuration resource contains the set of managed properties
|
1423
|
-
# defined by the app developer in the app's managed configurations schema,
|
1424
|
-
# well as any configuration variables defined for the user.
|
1348
|
+
# defined by the app developer in the app's managed configurations schema,
|
1349
|
+
# as well as any configuration variables defined for the user.
|
1425
1350
|
class ManagedConfiguration
|
1426
1351
|
include Google::Apis::Core::Hashable
|
1427
1352
|
|
1428
|
-
# A configuration variables resource contains the managed configuration
|
1429
|
-
# ID to be applied to a single user, as well as the variable set that
|
1430
|
-
# attributed to the user. The variable set will be used to replace
|
1431
|
-
# in the managed configuration settings.
|
1353
|
+
# A configuration variables resource contains the managed configuration
|
1354
|
+
# settings ID to be applied to a single user, as well as the variable set that
|
1355
|
+
# is attributed to the user. The variable set will be used to replace
|
1356
|
+
# placeholders in the managed configuration settings.
|
1432
1357
|
# Corresponds to the JSON property `configurationVariables`
|
1433
1358
|
# @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
|
1434
1359
|
attr_accessor :configuration_variables
|
@@ -1443,8 +1368,8 @@ module Google
|
|
1443
1368
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
1444
1369
|
attr_accessor :managed_property
|
1445
1370
|
|
1446
|
-
# The ID of the product that the managed configuration is for, e.g.
|
1447
|
-
# google.android.gm".
|
1371
|
+
# The ID of the product that the managed configuration is for, e.g.
|
1372
|
+
# "app:com.google.android.gm".
|
1448
1373
|
# Corresponds to the JSON property `productId`
|
1449
1374
|
# @return [String]
|
1450
1375
|
attr_accessor :product_id
|
@@ -1462,16 +1387,10 @@ module Google
|
|
1462
1387
|
end
|
1463
1388
|
end
|
1464
1389
|
|
1465
|
-
#
|
1390
|
+
#
|
1466
1391
|
class ManagedConfigurationsForDeviceListResponse
|
1467
1392
|
include Google::Apis::Core::Hashable
|
1468
1393
|
|
1469
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1470
|
-
# androidenterprise#managedConfigurationsForDeviceListResponse".
|
1471
|
-
# Corresponds to the JSON property `kind`
|
1472
|
-
# @return [String]
|
1473
|
-
attr_accessor :kind
|
1474
|
-
|
1475
1394
|
# A managed configuration for an app on a specific device.
|
1476
1395
|
# Corresponds to the JSON property `managedConfigurationForDevice`
|
1477
1396
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfiguration>]
|
@@ -1483,21 +1402,14 @@ module Google
|
|
1483
1402
|
|
1484
1403
|
# Update properties of this object
|
1485
1404
|
def update!(**args)
|
1486
|
-
@kind = args[:kind] if args.key?(:kind)
|
1487
1405
|
@managed_configuration_for_device = args[:managed_configuration_for_device] if args.key?(:managed_configuration_for_device)
|
1488
1406
|
end
|
1489
1407
|
end
|
1490
1408
|
|
1491
|
-
#
|
1409
|
+
#
|
1492
1410
|
class ManagedConfigurationsForUserListResponse
|
1493
1411
|
include Google::Apis::Core::Hashable
|
1494
1412
|
|
1495
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1496
|
-
# androidenterprise#managedConfigurationsForUserListResponse".
|
1497
|
-
# Corresponds to the JSON property `kind`
|
1498
|
-
# @return [String]
|
1499
|
-
attr_accessor :kind
|
1500
|
-
|
1501
1413
|
# A managed configuration for an app for a specific user.
|
1502
1414
|
# Corresponds to the JSON property `managedConfigurationForUser`
|
1503
1415
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfiguration>]
|
@@ -1509,25 +1421,19 @@ module Google
|
|
1509
1421
|
|
1510
1422
|
# Update properties of this object
|
1511
1423
|
def update!(**args)
|
1512
|
-
@kind = args[:kind] if args.key?(:kind)
|
1513
1424
|
@managed_configuration_for_user = args[:managed_configuration_for_user] if args.key?(:managed_configuration_for_user)
|
1514
1425
|
end
|
1515
1426
|
end
|
1516
1427
|
|
1517
|
-
# A managed configurations settings resource contains the set of
|
1518
|
-
# properties that have been configured for an Android app to be applied
|
1519
|
-
# of users. The app's developer would have
|
1520
|
-
# the managed configurations schema.
|
1428
|
+
# A managed configurations settings resource contains the set of
|
1429
|
+
# managed properties that have been configured for an Android app to be applied
|
1430
|
+
# to a set of users. The app's developer would have
|
1431
|
+
# defined configurable properties in the managed configurations schema.
|
1521
1432
|
class ManagedConfigurationsSettings
|
1522
1433
|
include Google::Apis::Core::Hashable
|
1523
1434
|
|
1524
|
-
#
|
1525
|
-
#
|
1526
|
-
# @return [String]
|
1527
|
-
attr_accessor :kind
|
1528
|
-
|
1529
|
-
# The last updated time of the managed configuration settings in milliseconds
|
1530
|
-
# since 1970-01-01T00:00:00Z.
|
1435
|
+
# The last updated time of the managed configuration settings in
|
1436
|
+
# milliseconds since 1970-01-01T00:00:00Z.
|
1531
1437
|
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
1532
1438
|
# @return [Fixnum]
|
1533
1439
|
attr_accessor :last_updated_timestamp_millis
|
@@ -1548,25 +1454,18 @@ module Google
|
|
1548
1454
|
|
1549
1455
|
# Update properties of this object
|
1550
1456
|
def update!(**args)
|
1551
|
-
@kind = args[:kind] if args.key?(:kind)
|
1552
1457
|
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
1553
1458
|
@mcm_id = args[:mcm_id] if args.key?(:mcm_id)
|
1554
1459
|
@name = args[:name] if args.key?(:name)
|
1555
1460
|
end
|
1556
1461
|
end
|
1557
1462
|
|
1558
|
-
#
|
1463
|
+
#
|
1559
1464
|
class ManagedConfigurationsSettingsListResponse
|
1560
1465
|
include Google::Apis::Core::Hashable
|
1561
1466
|
|
1562
|
-
#
|
1563
|
-
#
|
1564
|
-
# Corresponds to the JSON property `kind`
|
1565
|
-
# @return [String]
|
1566
|
-
attr_accessor :kind
|
1567
|
-
|
1568
|
-
# A managed configurations settings for an app that may be assigned to a group
|
1569
|
-
# of users in an enterprise.
|
1467
|
+
# A managed configurations settings for an app that may be assigned to a
|
1468
|
+
# group of users in an enterprise.
|
1570
1469
|
# Corresponds to the JSON property `managedConfigurationsSettings`
|
1571
1470
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings>]
|
1572
1471
|
attr_accessor :managed_configurations_settings
|
@@ -1577,7 +1476,6 @@ module Google
|
|
1577
1476
|
|
1578
1477
|
# Update properties of this object
|
1579
1478
|
def update!(**args)
|
1580
|
-
@kind = args[:kind] if args.key?(:kind)
|
1581
1479
|
@managed_configurations_settings = args[:managed_configurations_settings] if args.key?(:managed_configurations_settings)
|
1582
1480
|
end
|
1583
1481
|
end
|
@@ -1594,7 +1492,8 @@ module Google
|
|
1594
1492
|
# @return [String]
|
1595
1493
|
attr_accessor :key
|
1596
1494
|
|
1597
|
-
# The boolean value - this will only be present if type of the property is
|
1495
|
+
# The boolean value - this will only be present if type of the property is
|
1496
|
+
# bool.
|
1598
1497
|
# Corresponds to the JSON property `valueBool`
|
1599
1498
|
# @return [Boolean]
|
1600
1499
|
attr_accessor :value_bool
|
@@ -1605,8 +1504,8 @@ module Google
|
|
1605
1504
|
# @return [Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle]
|
1606
1505
|
attr_accessor :value_bundle
|
1607
1506
|
|
1608
|
-
# The list of bundles of properties - this will only be present if type of
|
1609
|
-
# property is bundle_array.
|
1507
|
+
# The list of bundles of properties - this will only be present if type of
|
1508
|
+
# the property is bundle_array.
|
1610
1509
|
# Corresponds to the JSON property `valueBundleArray`
|
1611
1510
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle>]
|
1612
1511
|
attr_accessor :value_bundle_array
|
@@ -1617,14 +1516,14 @@ module Google
|
|
1617
1516
|
# @return [Fixnum]
|
1618
1517
|
attr_accessor :value_integer
|
1619
1518
|
|
1620
|
-
# The string value - this will only be present if type of the property is
|
1621
|
-
# choice or hidden.
|
1519
|
+
# The string value - this will only be present if type of the property is
|
1520
|
+
# string, choice or hidden.
|
1622
1521
|
# Corresponds to the JSON property `valueString`
|
1623
1522
|
# @return [String]
|
1624
1523
|
attr_accessor :value_string
|
1625
1524
|
|
1626
|
-
# The list of string values - this will only be present if type of the
|
1627
|
-
# is multiselect.
|
1525
|
+
# The list of string values - this will only be present if type of the
|
1526
|
+
# property is multiselect.
|
1628
1527
|
# Corresponds to the JSON property `valueStringArray`
|
1629
1528
|
# @return [Array<String>]
|
1630
1529
|
attr_accessor :value_string_array
|
@@ -1668,7 +1567,8 @@ module Google
|
|
1668
1567
|
class NewDeviceEvent
|
1669
1568
|
include Google::Apis::Core::Hashable
|
1670
1569
|
|
1671
|
-
# The Android ID of the device.
|
1570
|
+
# The Android ID of the device.
|
1571
|
+
# This field will always be present.
|
1672
1572
|
# Corresponds to the JSON property `deviceId`
|
1673
1573
|
# @return [String]
|
1674
1574
|
attr_accessor :device_id
|
@@ -1678,16 +1578,19 @@ module Google
|
|
1678
1578
|
# @return [String]
|
1679
1579
|
attr_accessor :dpc_package_name
|
1680
1580
|
|
1681
|
-
# Identifies the extent to which the device is controlled by an Android
|
1682
|
-
# various deployment configurations.
|
1581
|
+
# Identifies the extent to which the device is controlled by an Android
|
1582
|
+
# EMM in various deployment configurations. <br><br>
|
1683
1583
|
# Possible values include:
|
1684
|
-
#
|
1685
|
-
#
|
1584
|
+
# <ul><li>"<code>managedDevice</code>", a device where the DPC is set as
|
1585
|
+
# device owner,</li>
|
1586
|
+
# <li>"<code>managedProfile</code>", a device where the DPC is set as profile
|
1587
|
+
# owner.</li></ul>
|
1686
1588
|
# Corresponds to the JSON property `managementType`
|
1687
1589
|
# @return [String]
|
1688
1590
|
attr_accessor :management_type
|
1689
1591
|
|
1690
|
-
# The ID of the user.
|
1592
|
+
# The ID of the user.
|
1593
|
+
# This field will always be present.
|
1691
1594
|
# Corresponds to the JSON property `userId`
|
1692
1595
|
# @return [String]
|
1693
1596
|
attr_accessor :user_id
|
@@ -1709,9 +1612,10 @@ module Google
|
|
1709
1612
|
class NewPermissionsEvent
|
1710
1613
|
include Google::Apis::Core::Hashable
|
1711
1614
|
|
1712
|
-
# The set of permissions that the enterprise admin has already approved for
|
1713
|
-
# application.
|
1714
|
-
#
|
1615
|
+
# The set of permissions that the enterprise admin has already approved for
|
1616
|
+
# this application.
|
1617
|
+
# Use Permissions.Get on the EMM API to retrieve details about these
|
1618
|
+
# permissions.
|
1715
1619
|
# Corresponds to the JSON property `approvedPermissions`
|
1716
1620
|
# @return [Array<String>]
|
1717
1621
|
attr_accessor :approved_permissions
|
@@ -1722,8 +1626,9 @@ module Google
|
|
1722
1626
|
# @return [String]
|
1723
1627
|
attr_accessor :product_id
|
1724
1628
|
|
1725
|
-
# The set of permissions that the app is currently requesting.
|
1726
|
-
# Get on the EMM API to retrieve details about these
|
1629
|
+
# The set of permissions that the app is currently requesting.
|
1630
|
+
# Use Permissions.Get on the EMM API to retrieve details about these
|
1631
|
+
# permissions.
|
1727
1632
|
# Corresponds to the JSON property `requestedPermissions`
|
1728
1633
|
# @return [Array<String>]
|
1729
1634
|
attr_accessor :requested_permissions
|
@@ -1745,8 +1650,9 @@ module Google
|
|
1745
1650
|
include Google::Apis::Core::Hashable
|
1746
1651
|
|
1747
1652
|
# An event generated when a new app version is uploaded to Google Play and its
|
1748
|
-
# app restrictions schema changed.
|
1749
|
-
# app
|
1653
|
+
# app restrictions schema changed.
|
1654
|
+
# To fetch the app restrictions schema for an app, use
|
1655
|
+
# Products.getAppRestrictionsSchema on the EMM API.
|
1750
1656
|
# Corresponds to the JSON property `appRestrictionsSchemaChangeEvent`
|
1751
1657
|
# @return [Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaChangeEvent]
|
1752
1658
|
attr_accessor :app_restrictions_schema_change_event
|
@@ -1764,8 +1670,8 @@ module Google
|
|
1764
1670
|
# @return [Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent]
|
1765
1671
|
attr_accessor :device_report_update_event
|
1766
1672
|
|
1767
|
-
# The ID of the enterprise for which the notification is sent.
|
1768
|
-
# be present.
|
1673
|
+
# The ID of the enterprise for which the notification is sent.
|
1674
|
+
# This will always be present.
|
1769
1675
|
# Corresponds to the JSON property `enterpriseId`
|
1770
1676
|
# @return [String]
|
1771
1677
|
attr_accessor :enterprise_id
|
@@ -1800,8 +1706,9 @@ module Google
|
|
1800
1706
|
# @return [Google::Apis::AndroidenterpriseV1::ProductAvailabilityChangeEvent]
|
1801
1707
|
attr_accessor :product_availability_change_event
|
1802
1708
|
|
1803
|
-
# The time when the notification was published in
|
1804
|
-
# 01T00:00:00Z.
|
1709
|
+
# The time when the notification was published in
|
1710
|
+
# milliseconds since 1970-01-01T00:00:00Z.
|
1711
|
+
# This will always be present.
|
1805
1712
|
# Corresponds to the JSON property `timestampMillis`
|
1806
1713
|
# @return [Fixnum]
|
1807
1714
|
attr_accessor :timestamp_millis
|
@@ -1826,25 +1733,20 @@ module Google
|
|
1826
1733
|
end
|
1827
1734
|
end
|
1828
1735
|
|
1829
|
-
# A resource returned by the PullNotificationSet API, which contains
|
1830
|
-
# collection of notifications for enterprises associated with the service
|
1736
|
+
# A resource returned by the PullNotificationSet API, which contains
|
1737
|
+
# a collection of notifications for enterprises associated with the service
|
1831
1738
|
# account authenticated for the request.
|
1832
1739
|
class NotificationSet
|
1833
1740
|
include Google::Apis::Core::Hashable
|
1834
1741
|
|
1835
|
-
#
|
1836
|
-
# Corresponds to the JSON property `kind`
|
1837
|
-
# @return [String]
|
1838
|
-
attr_accessor :kind
|
1839
|
-
|
1840
1742
|
# The notifications received, or empty if no notifications are present.
|
1841
1743
|
# Corresponds to the JSON property `notification`
|
1842
1744
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Notification>]
|
1843
1745
|
attr_accessor :notification
|
1844
1746
|
|
1845
|
-
# The notification set ID, required to mark the notification as
|
1846
|
-
# the Enterprises.AcknowledgeNotification API.
|
1847
|
-
# notifications are present.
|
1747
|
+
# The notification set ID, required to mark the notification as
|
1748
|
+
# received with the Enterprises.AcknowledgeNotification API.
|
1749
|
+
# This will be omitted if no notifications are present.
|
1848
1750
|
# Corresponds to the JSON property `notificationSetId`
|
1849
1751
|
# @return [String]
|
1850
1752
|
attr_accessor :notification_set_id
|
@@ -1855,27 +1757,30 @@ module Google
|
|
1855
1757
|
|
1856
1758
|
# Update properties of this object
|
1857
1759
|
def update!(**args)
|
1858
|
-
@kind = args[:kind] if args.key?(:kind)
|
1859
1760
|
@notification = args[:notification] if args.key?(:notification)
|
1860
1761
|
@notification_set_id = args[:notification_set_id] if args.key?(:notification_set_id)
|
1861
1762
|
end
|
1862
1763
|
end
|
1863
1764
|
|
1864
|
-
#
|
1765
|
+
# Information about the current page.
|
1766
|
+
# List operations that supports paging return only one "page" of results. This
|
1767
|
+
# protocol buffer message describes the page that has been returned.
|
1865
1768
|
class PageInfo
|
1866
1769
|
include Google::Apis::Core::Hashable
|
1867
1770
|
|
1868
|
-
#
|
1771
|
+
# Maximum number of results returned in one page.
|
1772
|
+
# ! The number of results included in the API response.
|
1869
1773
|
# Corresponds to the JSON property `resultPerPage`
|
1870
1774
|
# @return [Fixnum]
|
1871
1775
|
attr_accessor :result_per_page
|
1872
1776
|
|
1873
|
-
#
|
1777
|
+
# Index of the first result returned in the current page.
|
1874
1778
|
# Corresponds to the JSON property `startIndex`
|
1875
1779
|
# @return [Fixnum]
|
1876
1780
|
attr_accessor :start_index
|
1877
1781
|
|
1878
|
-
#
|
1782
|
+
# Total number of results available on the backend
|
1783
|
+
# ! The total number of results in the result set.
|
1879
1784
|
# Corresponds to the JSON property `totalResults`
|
1880
1785
|
# @return [Fixnum]
|
1881
1786
|
attr_accessor :total_results
|
@@ -1893,26 +1798,22 @@ module Google
|
|
1893
1798
|
end
|
1894
1799
|
|
1895
1800
|
# A Permissions resource represents some extra capability, to be granted to an
|
1896
|
-
# Android app, which requires explicit consent. An enterprise admin must
|
1897
|
-
# to these permissions on behalf of their users before an
|
1898
|
-
# app can be created.
|
1899
|
-
# The permissions collection is read-only. The information provided for
|
1900
|
-
# permission (localized name and description) is intended to be
|
1901
|
-
# user interface when obtaining consent from the
|
1801
|
+
# Android app, which requires explicit consent. An enterprise admin must
|
1802
|
+
# consent to these permissions on behalf of their users before an
|
1803
|
+
# entitlement for the app can be created.
|
1804
|
+
# The permissions collection is read-only. The information provided for
|
1805
|
+
# each permission (localized name and description) is intended to be
|
1806
|
+
# used in the MDM user interface when obtaining consent from the
|
1807
|
+
# enterprise.
|
1902
1808
|
class Permission
|
1903
1809
|
include Google::Apis::Core::Hashable
|
1904
1810
|
|
1905
|
-
# A longer description of the Permissions resource, giving more details of
|
1906
|
-
# it affects.
|
1811
|
+
# A longer description of the Permissions resource, giving more details of
|
1812
|
+
# what it affects.
|
1907
1813
|
# Corresponds to the JSON property `description`
|
1908
1814
|
# @return [String]
|
1909
1815
|
attr_accessor :description
|
1910
1816
|
|
1911
|
-
#
|
1912
|
-
# Corresponds to the JSON property `kind`
|
1913
|
-
# @return [String]
|
1914
|
-
attr_accessor :kind
|
1915
|
-
|
1916
1817
|
# The name of the permission.
|
1917
1818
|
# Corresponds to the JSON property `name`
|
1918
1819
|
# @return [String]
|
@@ -1930,7 +1831,6 @@ module Google
|
|
1930
1831
|
# Update properties of this object
|
1931
1832
|
def update!(**args)
|
1932
1833
|
@description = args[:description] if args.key?(:description)
|
1933
|
-
@kind = args[:kind] if args.key?(:kind)
|
1934
1834
|
@name = args[:name] if args.key?(:name)
|
1935
1835
|
@permission_id = args[:permission_id] if args.key?(:permission_id)
|
1936
1836
|
end
|
@@ -1941,38 +1841,41 @@ module Google
|
|
1941
1841
|
include Google::Apis::Core::Hashable
|
1942
1842
|
|
1943
1843
|
# The auto-update policy for apps installed on the device. "choiceToTheUser"
|
1944
|
-
# allows the device's user to configure the app update policy. "always"
|
1945
|
-
# auto updates. "never" disables auto updates. "wifiOnly" enables
|
1946
|
-
# only when the device is connected to wifi.
|
1844
|
+
# allows the device's user to configure the app update policy. "always"
|
1845
|
+
# enables auto updates. "never" disables auto updates. "wifiOnly" enables
|
1846
|
+
# auto updates only when the device is connected to wifi.
|
1947
1847
|
# Corresponds to the JSON property `autoUpdatePolicy`
|
1948
1848
|
# @return [String]
|
1949
1849
|
attr_accessor :auto_update_policy
|
1950
1850
|
|
1951
|
-
# Whether the device reports app states to the EMM. The default value is
|
1952
|
-
# deviceReportDisabled".
|
1851
|
+
# Whether the device reports app states to the EMM. The default value is
|
1852
|
+
# "deviceReportDisabled".
|
1953
1853
|
# Corresponds to the JSON property `deviceReportPolicy`
|
1954
1854
|
# @return [String]
|
1955
1855
|
attr_accessor :device_report_policy
|
1956
1856
|
|
1957
|
-
# Maintenance window for managed Google Play Accounts.
|
1958
|
-
# update the apps on the foreground in the designated
|
1857
|
+
# Maintenance window for managed Google Play Accounts.
|
1858
|
+
# This allows Play store to update the apps on the foreground in the designated
|
1859
|
+
# window.
|
1959
1860
|
# Corresponds to the JSON property `maintenanceWindow`
|
1960
1861
|
# @return [Google::Apis::AndroidenterpriseV1::MaintenanceWindow]
|
1961
1862
|
attr_accessor :maintenance_window
|
1962
1863
|
|
1963
|
-
# The availability granted to the device for the specified products. "all"
|
1964
|
-
# the device access to all products, regardless of approval status.
|
1965
|
-
# not enable automatic visibility of "alpha" or "beta" tracks.
|
1966
|
-
# grants the device access the products specified in
|
1967
|
-
# products that are approved or products that were
|
1968
|
-
# with revoked approval) by the enterprise can
|
1969
|
-
# provided, the availability set at the user
|
1864
|
+
# The availability granted to the device for the specified products. "all"
|
1865
|
+
# gives the device access to all products, regardless of approval status.
|
1866
|
+
# "all" does not enable automatic visibility of "alpha" or "beta" tracks.
|
1867
|
+
# "whitelist" grants the device access the products specified in
|
1868
|
+
# productPolicy[]. Only products that are approved or products that were
|
1869
|
+
# previously approved (products with revoked approval) by the enterprise can
|
1870
|
+
# be whitelisted. If no value is provided, the availability set at the user
|
1871
|
+
# level is applied by default.
|
1970
1872
|
# Corresponds to the JSON property `productAvailabilityPolicy`
|
1971
1873
|
# @return [String]
|
1972
1874
|
attr_accessor :product_availability_policy
|
1973
1875
|
|
1974
|
-
# The list of product policies. The productAvailabilityPolicy
|
1975
|
-
# WHITELIST or ALL for the
|
1876
|
+
# The list of product policies. The <code>productAvailabilityPolicy</code>
|
1877
|
+
# needs to be set to <code>WHITELIST</code> or <code>ALL</code> for the
|
1878
|
+
# product policies to be applied.
|
1976
1879
|
# Corresponds to the JSON property `productPolicy`
|
1977
1880
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPolicy>]
|
1978
1881
|
attr_accessor :product_policy
|
@@ -1995,9 +1898,9 @@ module Google
|
|
1995
1898
|
# available to at least some users in the enterprise. (Some apps are restricted
|
1996
1899
|
# to a single enterprise, and no information about them is made available
|
1997
1900
|
# outside that enterprise.)
|
1998
|
-
# The information provided for each product (localized name, icon, link
|
1999
|
-
# full Google Play details page) is intended to allow a basic
|
2000
|
-
# the product within an EMM user interface.
|
1901
|
+
# The information provided for each product (localized name, icon, link
|
1902
|
+
# to the full Google Play details page) is intended to allow a basic
|
1903
|
+
# representation of the product within an EMM user interface.
|
2001
1904
|
class Product
|
2002
1905
|
include Google::Apis::Core::Hashable
|
2003
1906
|
|
@@ -2021,7 +1924,7 @@ module Google
|
|
2021
1924
|
# @return [Array<String>]
|
2022
1925
|
attr_accessor :available_countries
|
2023
1926
|
|
2024
|
-
# Deprecated, use appTracks instead.
|
1927
|
+
# Deprecated, use <code>appTracks</code> instead.
|
2025
1928
|
# Corresponds to the JSON property `availableTracks`
|
2026
1929
|
# @return [Array<String>]
|
2027
1930
|
attr_accessor :available_tracks
|
@@ -2046,12 +1949,13 @@ module Google
|
|
2046
1949
|
# @return [String]
|
2047
1950
|
attr_accessor :details_url
|
2048
1951
|
|
2049
|
-
# How and to whom the package is made available.
|
2050
|
-
# means that the package is
|
2051
|
-
#
|
2052
|
-
#
|
2053
|
-
#
|
2054
|
-
#
|
1952
|
+
# How and to whom the package is made available.
|
1953
|
+
# The value <code>publicGoogleHosted</code> means that the package is
|
1954
|
+
# available through the Play store and not restricted to a specific
|
1955
|
+
# enterprise. The value <code>privateGoogleHosted</code> means that the
|
1956
|
+
# package is a private app (restricted to an enterprise) but hosted by
|
1957
|
+
# Google. The value <code>privateSelfHosted</code> means that the package is
|
1958
|
+
# a private app (restricted to an enterprise) and is privately hosted.
|
2055
1959
|
# Corresponds to the JSON property `distributionChannel`
|
2056
1960
|
# @return [String]
|
2057
1961
|
attr_accessor :distribution_channel
|
@@ -2061,19 +1965,14 @@ module Google
|
|
2061
1965
|
# @return [Array<String>]
|
2062
1966
|
attr_accessor :features
|
2063
1967
|
|
2064
|
-
# A link to an image that can be used as an icon for the product.
|
2065
|
-
# suitable for use at up to 512px x 512px.
|
1968
|
+
# A link to an image that can be used as an icon for the product.
|
1969
|
+
# This image is suitable for use at up to 512px x 512px.
|
2066
1970
|
# Corresponds to the JSON property `iconUrl`
|
2067
1971
|
# @return [String]
|
2068
1972
|
attr_accessor :icon_url
|
2069
1973
|
|
2070
|
-
#
|
2071
|
-
#
|
2072
|
-
# @return [String]
|
2073
|
-
attr_accessor :kind
|
2074
|
-
|
2075
|
-
# The approximate time (within 7 days) the app was last published, expressed in
|
2076
|
-
# milliseconds since epoch.
|
1974
|
+
# The approximate time (within 7 days) the app was last published, expressed
|
1975
|
+
# in milliseconds since epoch.
|
2077
1976
|
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
2078
1977
|
# @return [Fixnum]
|
2079
1978
|
attr_accessor :last_updated_timestamp_millis
|
@@ -2088,15 +1987,16 @@ module Google
|
|
2088
1987
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]
|
2089
1988
|
attr_accessor :permissions
|
2090
1989
|
|
2091
|
-
# A string of the form app
|
2092
|
-
# gm represents the Gmail app.
|
1990
|
+
# A string of the form <code><em>app:<package name></em></code>. For
|
1991
|
+
# example, <code>app:com.google.android.gm</code> represents the Gmail app.
|
2093
1992
|
# Corresponds to the JSON property `productId`
|
2094
1993
|
# @return [String]
|
2095
1994
|
attr_accessor :product_id
|
2096
1995
|
|
2097
|
-
# Whether this product is free, free with in-app purchases, or paid.
|
2098
|
-
# pricing is unknown, this means the product is not generally
|
2099
|
-
# even though it might still be available to
|
1996
|
+
# Whether this product is free, free with in-app purchases, or paid.
|
1997
|
+
# If the pricing is unknown, this means the product is not generally
|
1998
|
+
# available anymore (even though it might still be available to
|
1999
|
+
# people who own it).
|
2100
2000
|
# Corresponds to the JSON property `productPricing`
|
2101
2001
|
# @return [String]
|
2102
2002
|
attr_accessor :product_pricing
|
@@ -2122,8 +2022,8 @@ module Google
|
|
2122
2022
|
# @return [Google::Apis::AndroidenterpriseV1::ProductSigningCertificate]
|
2123
2023
|
attr_accessor :signing_certificate
|
2124
2024
|
|
2125
|
-
# A link to a smaller image that can be used as an icon for the product.
|
2126
|
-
# image is suitable for use at up to 128px x 128px.
|
2025
|
+
# A link to a smaller image that can be used as an icon for the product.
|
2026
|
+
# This image is suitable for use at up to 128px x 128px.
|
2127
2027
|
# Corresponds to the JSON property `smallIconUrl`
|
2128
2028
|
# @return [String]
|
2129
2029
|
attr_accessor :small_icon_url
|
@@ -2133,8 +2033,8 @@ module Google
|
|
2133
2033
|
# @return [String]
|
2134
2034
|
attr_accessor :title
|
2135
2035
|
|
2136
|
-
# A link to the managed Google Play details page for the product,
|
2137
|
-
# Enterprise admin.
|
2036
|
+
# A link to the managed Google Play details page for the product,
|
2037
|
+
# for use by an Enterprise admin.
|
2138
2038
|
# Corresponds to the JSON property `workDetailsUrl`
|
2139
2039
|
# @return [String]
|
2140
2040
|
attr_accessor :work_details_url
|
@@ -2157,7 +2057,6 @@ module Google
|
|
2157
2057
|
@distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
|
2158
2058
|
@features = args[:features] if args.key?(:features)
|
2159
2059
|
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
2160
|
-
@kind = args[:kind] if args.key?(:kind)
|
2161
2060
|
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
2162
2061
|
@min_android_sdk_version = args[:min_android_sdk_version] if args.key?(:min_android_sdk_version)
|
2163
2062
|
@permissions = args[:permissions] if args.key?(:permissions)
|
@@ -2177,8 +2076,8 @@ module Google
|
|
2177
2076
|
class ProductApprovalEvent
|
2178
2077
|
include Google::Apis::Core::Hashable
|
2179
2078
|
|
2180
|
-
# Whether the product was approved or unapproved.
|
2181
|
-
# present.
|
2079
|
+
# Whether the product was approved or unapproved.
|
2080
|
+
# This field will always be present.
|
2182
2081
|
# Corresponds to the JSON property `approved`
|
2183
2082
|
# @return [String]
|
2184
2083
|
attr_accessor :approved
|
@@ -2204,13 +2103,14 @@ module Google
|
|
2204
2103
|
class ProductAvailabilityChangeEvent
|
2205
2104
|
include Google::Apis::Core::Hashable
|
2206
2105
|
|
2207
|
-
# The new state of the product.
|
2106
|
+
# The new state of the product.
|
2107
|
+
# This field will always be present.
|
2208
2108
|
# Corresponds to the JSON property `availabilityStatus`
|
2209
2109
|
# @return [String]
|
2210
2110
|
attr_accessor :availability_status
|
2211
2111
|
|
2212
|
-
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
2213
|
-
# availability changed. This field will always be present.
|
2112
|
+
# The id of the product (e.g. "app:com.google.android.gm") for which the
|
2113
|
+
# product availability changed. This field will always be present.
|
2214
2114
|
# Corresponds to the JSON property `productId`
|
2215
2115
|
# @return [String]
|
2216
2116
|
attr_accessor :product_id
|
@@ -2226,10 +2126,11 @@ module Google
|
|
2226
2126
|
end
|
2227
2127
|
end
|
2228
2128
|
|
2229
|
-
# A product permissions resource represents the set of permissions
|
2230
|
-
# specific app and whether or not they have been accepted
|
2231
|
-
#
|
2232
|
-
# to
|
2129
|
+
# A product permissions resource represents the set of permissions
|
2130
|
+
# required by a specific app and whether or not they have been accepted
|
2131
|
+
# by an enterprise admin.
|
2132
|
+
# The API can be used to read the set of permissions, and also to update
|
2133
|
+
# the set to indicate that permissions have been accepted.
|
2233
2134
|
class ProductPermission
|
2234
2135
|
include Google::Apis::Core::Hashable
|
2235
2136
|
|
@@ -2254,23 +2155,18 @@ module Google
|
|
2254
2155
|
end
|
2255
2156
|
end
|
2256
2157
|
|
2257
|
-
# Information about the permissions required by a specific app and
|
2258
|
-
# have been accepted by the enterprise.
|
2158
|
+
# Information about the permissions required by a specific app and
|
2159
|
+
# whether they have been accepted by the enterprise.
|
2259
2160
|
class ProductPermissions
|
2260
2161
|
include Google::Apis::Core::Hashable
|
2261
2162
|
|
2262
|
-
#
|
2263
|
-
# Corresponds to the JSON property `kind`
|
2264
|
-
# @return [String]
|
2265
|
-
attr_accessor :kind
|
2266
|
-
|
2267
2163
|
# The permissions required by the app.
|
2268
2164
|
# Corresponds to the JSON property `permission`
|
2269
2165
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]
|
2270
2166
|
attr_accessor :permission
|
2271
2167
|
|
2272
|
-
# The ID of the app that the permissions relate to, e.g.
|
2273
|
-
# gm".
|
2168
|
+
# The ID of the app that the permissions relate to, e.g.
|
2169
|
+
# "app:com.google.android.gm".
|
2274
2170
|
# Corresponds to the JSON property `productId`
|
2275
2171
|
# @return [String]
|
2276
2172
|
attr_accessor :product_id
|
@@ -2281,7 +2177,6 @@ module Google
|
|
2281
2177
|
|
2282
2178
|
# Update properties of this object
|
2283
2179
|
def update!(**args)
|
2284
|
-
@kind = args[:kind] if args.key?(:kind)
|
2285
2180
|
@permission = args[:permission] if args.key?(:permission)
|
2286
2181
|
@product_id = args[:product_id] if args.key?(:product_id)
|
2287
2182
|
end
|
@@ -2297,25 +2192,26 @@ module Google
|
|
2297
2192
|
attr_accessor :auto_install_policy
|
2298
2193
|
|
2299
2194
|
# A managed configuration resource contains the set of managed properties
|
2300
|
-
# defined by the app developer in the app's managed configurations schema,
|
2301
|
-
# well as any configuration variables defined for the user.
|
2195
|
+
# defined by the app developer in the app's managed configurations schema,
|
2196
|
+
# as well as any configuration variables defined for the user.
|
2302
2197
|
# Corresponds to the JSON property `managedConfiguration`
|
2303
2198
|
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
2304
2199
|
attr_accessor :managed_configuration
|
2305
2200
|
|
2306
|
-
# The ID of the product. For example,
|
2201
|
+
# The ID of the product. For example,
|
2202
|
+
# <code>"app:com.google.android.gm"</code>.
|
2307
2203
|
# Corresponds to the JSON property `productId`
|
2308
2204
|
# @return [String]
|
2309
2205
|
attr_accessor :product_id
|
2310
2206
|
|
2311
2207
|
# Grants the device visibility to the specified product release track(s),
|
2312
|
-
# identified by trackIds
|
2313
|
-
# obtained by calling Products.Get.
|
2208
|
+
# identified by <code>trackIds</code>. The list of release tracks of a
|
2209
|
+
# product can be obtained by calling Products.Get.
|
2314
2210
|
# Corresponds to the JSON property `trackIds`
|
2315
2211
|
# @return [Array<String>]
|
2316
2212
|
attr_accessor :track_ids
|
2317
2213
|
|
2318
|
-
# Deprecated. Use trackIds instead.
|
2214
|
+
# Deprecated. Use <code>trackIds</code> instead.
|
2319
2215
|
# Corresponds to the JSON property `tracks`
|
2320
2216
|
# @return [Array<String>]
|
2321
2217
|
attr_accessor :tracks
|
@@ -2338,36 +2234,33 @@ module Google
|
|
2338
2234
|
class ProductSet
|
2339
2235
|
include Google::Apis::Core::Hashable
|
2340
2236
|
|
2341
|
-
#
|
2342
|
-
# Corresponds to the JSON property `kind`
|
2343
|
-
# @return [String]
|
2344
|
-
attr_accessor :kind
|
2345
|
-
|
2346
2237
|
# The list of product IDs making up the set of products.
|
2347
2238
|
# Corresponds to the JSON property `productId`
|
2348
2239
|
# @return [Array<String>]
|
2349
2240
|
attr_accessor :product_id
|
2350
2241
|
|
2351
|
-
# The interpretation of this product set. "unknown" should never be sent and
|
2352
|
-
# ignored if received. "whitelist" means that the user is entitled to
|
2353
|
-
# product set. "includeAll" means that all products are
|
2354
|
-
# products that are approved, products with revoked
|
2355
|
-
# have never been approved. "allApproved" means
|
2356
|
-
# access all products that are approved for the
|
2357
|
-
# allApproved" or "includeAll", the productId
|
2358
|
-
# provided, it is interpreted as
|
2359
|
-
#
|
2360
|
-
#
|
2361
|
-
# alpha" or "beta" tracks
|
2242
|
+
# The interpretation of this product set. "unknown" should never be sent and
|
2243
|
+
# is ignored if received. "whitelist" means that the user is entitled to
|
2244
|
+
# access the product set. "includeAll" means that all products are
|
2245
|
+
# accessible, including products that are approved, products with revoked
|
2246
|
+
# approval, and products that have never been approved. "allApproved" means
|
2247
|
+
# that the user is entitled to access all products that are approved for the
|
2248
|
+
# enterprise. If the value is "allApproved" or "includeAll", the productId
|
2249
|
+
# field is ignored. If no value is provided, it is interpreted as
|
2250
|
+
# "whitelist" for backwards compatibility.
|
2251
|
+
# Further "allApproved" or "includeAll" does not enable automatic
|
2252
|
+
# visibility of "alpha" or "beta" tracks for Android app. Use
|
2253
|
+
# ProductVisibility to enable "alpha" or "beta" tracks per user.
|
2362
2254
|
# Corresponds to the JSON property `productSetBehavior`
|
2363
2255
|
# @return [String]
|
2364
2256
|
attr_accessor :product_set_behavior
|
2365
2257
|
|
2366
|
-
# Additional list of product IDs making up the product set.
|
2367
|
-
# array, in this list It's possible to specify
|
2368
|
-
# production) of a product are visible to the
|
2369
|
-
# its fields for more information. Specifying
|
2370
|
-
# in the productId array is not allowed and
|
2258
|
+
# Additional list of product IDs making up the product set.
|
2259
|
+
# Unlike the productID array, in this list It's possible to specify
|
2260
|
+
# which tracks (alpha, beta, production) of a product are visible to the
|
2261
|
+
# user. See ProductVisibility and its fields for more information. Specifying
|
2262
|
+
# the same product ID both here and in the productId array is not allowed and
|
2263
|
+
# it will result in an error.
|
2371
2264
|
# Corresponds to the JSON property `productVisibility`
|
2372
2265
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductVisibility>]
|
2373
2266
|
attr_accessor :product_visibility
|
@@ -2378,7 +2271,6 @@ module Google
|
|
2378
2271
|
|
2379
2272
|
# Update properties of this object
|
2380
2273
|
def update!(**args)
|
2381
|
-
@kind = args[:kind] if args.key?(:kind)
|
2382
2274
|
@product_id = args[:product_id] if args.key?(:product_id)
|
2383
2275
|
@product_set_behavior = args[:product_set_behavior] if args.key?(:product_set_behavior)
|
2384
2276
|
@product_visibility = args[:product_visibility] if args.key?(:product_visibility)
|
@@ -2390,8 +2282,8 @@ module Google
|
|
2390
2282
|
include Google::Apis::Core::Hashable
|
2391
2283
|
|
2392
2284
|
# The base64 urlsafe encoded SHA1 hash of the certificate. (This field is
|
2393
|
-
# deprecated in favor of SHA2-256. It should not be used and may be
|
2394
|
-
# any time.)
|
2285
|
+
# deprecated in favor of SHA2-256. It should not be used and may be
|
2286
|
+
# removed at any time.)
|
2395
2287
|
# Corresponds to the JSON property `certificateHashSha1`
|
2396
2288
|
# @return [String]
|
2397
2289
|
attr_accessor :certificate_hash_sha1
|
@@ -2416,19 +2308,19 @@ module Google
|
|
2416
2308
|
class ProductVisibility
|
2417
2309
|
include Google::Apis::Core::Hashable
|
2418
2310
|
|
2419
|
-
# The product ID to make visible to the user.
|
2420
|
-
# productVisibility list.
|
2311
|
+
# The product ID to make visible to the user.
|
2312
|
+
# Required for each item in the productVisibility list.
|
2421
2313
|
# Corresponds to the JSON property `productId`
|
2422
2314
|
# @return [String]
|
2423
2315
|
attr_accessor :product_id
|
2424
2316
|
|
2425
2317
|
# Grants the user visibility to the specified product track(s), identified by
|
2426
|
-
# trackIds
|
2318
|
+
# <code>trackIds</code>.
|
2427
2319
|
# Corresponds to the JSON property `trackIds`
|
2428
2320
|
# @return [Array<String>]
|
2429
2321
|
attr_accessor :track_ids
|
2430
2322
|
|
2431
|
-
# Deprecated. Use trackIds instead.
|
2323
|
+
# Deprecated. Use <code>trackIds</code> instead.
|
2432
2324
|
# Corresponds to the JSON property `tracks`
|
2433
2325
|
# @return [Array<String>]
|
2434
2326
|
attr_accessor :tracks
|
@@ -2454,12 +2346,12 @@ module Google
|
|
2454
2346
|
# @return [Google::Apis::AndroidenterpriseV1::ApprovalUrlInfo]
|
2455
2347
|
attr_accessor :approval_url_info
|
2456
2348
|
|
2457
|
-
# Sets how new permission requests for the product are handled.
|
2458
|
-
# automatically approves all current and future
|
2459
|
-
#
|
2460
|
-
# product, but any future permissions
|
2461
|
-
# reapproval. If not specified,
|
2462
|
-
# approved.
|
2349
|
+
# Sets how new permission requests for the product are handled.
|
2350
|
+
# "allPermissions" automatically approves all current and future
|
2351
|
+
# permissions for the product. "currentPermissionsOnly" approves the
|
2352
|
+
# current set of permissions for the product, but any future permissions
|
2353
|
+
# added through updates will require manual reapproval. If not specified,
|
2354
|
+
# only the current set of permissions will be approved.
|
2463
2355
|
# Corresponds to the JSON property `approvedPermissions`
|
2464
2356
|
# @return [String]
|
2465
2357
|
attr_accessor :approved_permissions
|
@@ -2479,13 +2371,15 @@ module Google
|
|
2479
2371
|
class GenerateProductApprovalUrlResponse
|
2480
2372
|
include Google::Apis::Core::Hashable
|
2481
2373
|
|
2482
|
-
# A URL that can be rendered in an iframe to display the permissions (if
|
2483
|
-
# a product.
|
2484
|
-
#
|
2485
|
-
#
|
2486
|
-
#
|
2487
|
-
#
|
2488
|
-
#
|
2374
|
+
# A URL that can be rendered in an iframe to display the permissions (if
|
2375
|
+
# any) of a product.
|
2376
|
+
# This URL can be used to approve the product only once and only within 24
|
2377
|
+
# hours of being generated, using the <code>Products.approve</code> call.
|
2378
|
+
# If the product is currently unapproved and has no permissions, this
|
2379
|
+
# URL will point to an empty page.
|
2380
|
+
# If the product is currently approved, a URL will only be generated if
|
2381
|
+
# that product has added permissions since it was last approved, and the
|
2382
|
+
# URL will only display those new permissions that have not yet been
|
2489
2383
|
# accepted.
|
2490
2384
|
# Corresponds to the JSON property `url`
|
2491
2385
|
# @return [String]
|
@@ -2501,17 +2395,13 @@ module Google
|
|
2501
2395
|
end
|
2502
2396
|
end
|
2503
2397
|
|
2504
|
-
#
|
2398
|
+
#
|
2505
2399
|
class ProductsListResponse
|
2506
2400
|
include Google::Apis::Core::Hashable
|
2507
2401
|
|
2508
|
-
#
|
2509
|
-
#
|
2510
|
-
#
|
2511
|
-
# @return [String]
|
2512
|
-
attr_accessor :kind
|
2513
|
-
|
2514
|
-
# General pagination information.
|
2402
|
+
# Information about the current page.
|
2403
|
+
# List operations that supports paging return only one "page" of results. This
|
2404
|
+
# protocol buffer message describes the page that has been returned.
|
2515
2405
|
# Corresponds to the JSON property `pageInfo`
|
2516
2406
|
# @return [Google::Apis::AndroidenterpriseV1::PageInfo]
|
2517
2407
|
attr_accessor :page_info
|
@@ -2522,7 +2412,15 @@ module Google
|
|
2522
2412
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Product>]
|
2523
2413
|
attr_accessor :product
|
2524
2414
|
|
2525
|
-
# Pagination information
|
2415
|
+
# Pagination information returned by a List operation when token pagination
|
2416
|
+
# is enabled.
|
2417
|
+
# List operations that supports paging return only one "page" of results. This
|
2418
|
+
# protocol buffer message describes the page that has been returned.
|
2419
|
+
# When using token pagination, clients should use the next/previous token
|
2420
|
+
# to get another page of the result. The presence or absence of next/previous
|
2421
|
+
# token indicates whether a next/previous page is available and provides a
|
2422
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
2423
|
+
# next_page_token or previous_page_token to access another page.
|
2526
2424
|
# Corresponds to the JSON property `tokenPagination`
|
2527
2425
|
# @return [Google::Apis::AndroidenterpriseV1::TokenPagination]
|
2528
2426
|
attr_accessor :token_pagination
|
@@ -2533,7 +2431,6 @@ module Google
|
|
2533
2431
|
|
2534
2432
|
# Update properties of this object
|
2535
2433
|
def update!(**args)
|
2536
|
-
@kind = args[:kind] if args.key?(:kind)
|
2537
2434
|
@page_info = args[:page_info] if args.key?(:page_info)
|
2538
2435
|
@product = args[:product] if args.key?(:product)
|
2539
2436
|
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
@@ -2550,11 +2447,6 @@ module Google
|
|
2550
2447
|
# @return [Google::Apis::AndroidenterpriseV1::ServiceAccountKey]
|
2551
2448
|
attr_accessor :key
|
2552
2449
|
|
2553
|
-
#
|
2554
|
-
# Corresponds to the JSON property `kind`
|
2555
|
-
# @return [String]
|
2556
|
-
attr_accessor :kind
|
2557
|
-
|
2558
2450
|
# The account name of the service account, in the form of an email address.
|
2559
2451
|
# Assigned by the server.
|
2560
2452
|
# Corresponds to the JSON property `name`
|
@@ -2568,7 +2460,6 @@ module Google
|
|
2568
2460
|
# Update properties of this object
|
2569
2461
|
def update!(**args)
|
2570
2462
|
@key = args[:key] if args.key?(:key)
|
2571
|
-
@kind = args[:kind] if args.key?(:kind)
|
2572
2463
|
@name = args[:name] if args.key?(:name)
|
2573
2464
|
end
|
2574
2465
|
end
|
@@ -2577,26 +2468,23 @@ module Google
|
|
2577
2468
|
class ServiceAccountKey
|
2578
2469
|
include Google::Apis::Core::Hashable
|
2579
2470
|
|
2580
|
-
# The body of the private key credentials file, in string format. This
|
2581
|
-
# populated when the ServiceAccountKey is created, and is not stored
|
2471
|
+
# The body of the private key credentials file, in string format. This
|
2472
|
+
# is only populated when the ServiceAccountKey is created, and is not stored
|
2473
|
+
# by Google.
|
2582
2474
|
# Corresponds to the JSON property `data`
|
2583
2475
|
# @return [String]
|
2584
2476
|
attr_accessor :data
|
2585
2477
|
|
2586
|
-
# An opaque, unique identifier for this ServiceAccountKey.
|
2587
|
-
# server.
|
2478
|
+
# An opaque, unique identifier for this ServiceAccountKey.
|
2479
|
+
# Assigned by the server.
|
2588
2480
|
# Corresponds to the JSON property `id`
|
2589
2481
|
# @return [String]
|
2590
2482
|
attr_accessor :id
|
2591
2483
|
|
2592
|
-
#
|
2593
|
-
# Corresponds to the JSON property `kind`
|
2594
|
-
# @return [String]
|
2595
|
-
attr_accessor :kind
|
2596
|
-
|
2597
2484
|
# Public key data for the credentials file. This is an X.509 cert. If you are
|
2598
|
-
# using the googleCredentials key type, this is identical to the
|
2599
|
-
# be retrieved by using the X.509 cert url inside of the
|
2485
|
+
# using the <code>googleCredentials</code> key type, this is identical to the
|
2486
|
+
# cert that can be retrieved by using the X.509 cert url inside of the
|
2487
|
+
# credentials file.
|
2600
2488
|
# Corresponds to the JSON property `publicData`
|
2601
2489
|
# @return [String]
|
2602
2490
|
attr_accessor :public_data
|
@@ -2614,7 +2502,6 @@ module Google
|
|
2614
2502
|
def update!(**args)
|
2615
2503
|
@data = args[:data] if args.key?(:data)
|
2616
2504
|
@id = args[:id] if args.key?(:id)
|
2617
|
-
@kind = args[:kind] if args.key?(:kind)
|
2618
2505
|
@public_data = args[:public_data] if args.key?(:public_data)
|
2619
2506
|
@type = args[:type] if args.key?(:type)
|
2620
2507
|
end
|
@@ -2639,13 +2526,13 @@ module Google
|
|
2639
2526
|
end
|
2640
2527
|
end
|
2641
2528
|
|
2642
|
-
# A resource returned by the GenerateSignupUrl API, which contains the
|
2643
|
-
# URL and Completion Token.
|
2529
|
+
# A resource returned by the GenerateSignupUrl API, which contains the
|
2530
|
+
# Signup URL and Completion Token.
|
2644
2531
|
class SignupInfo
|
2645
2532
|
include Google::Apis::Core::Hashable
|
2646
2533
|
|
2647
|
-
# An opaque token that will be required, along with the Enterprise Token,
|
2648
|
-
# obtaining the enterprise resource from CompleteSignup.
|
2534
|
+
# An opaque token that will be required, along with the Enterprise Token,
|
2535
|
+
# for obtaining the enterprise resource from CompleteSignup.
|
2649
2536
|
# Corresponds to the JSON property `completionToken`
|
2650
2537
|
# @return [String]
|
2651
2538
|
attr_accessor :completion_token
|
@@ -2655,8 +2542,8 @@ module Google
|
|
2655
2542
|
# @return [String]
|
2656
2543
|
attr_accessor :kind
|
2657
2544
|
|
2658
|
-
# A URL under which the Admin can sign up for an enterprise.
|
2659
|
-
# cannot be rendered in an iframe.
|
2545
|
+
# A URL under which the Admin can sign up for an enterprise.
|
2546
|
+
# The page pointed to cannot be rendered in an iframe.
|
2660
2547
|
# Corresponds to the JSON property `url`
|
2661
2548
|
# @return [String]
|
2662
2549
|
attr_accessor :url
|
@@ -2683,30 +2570,28 @@ module Google
|
|
2683
2570
|
# @return [String]
|
2684
2571
|
attr_accessor :id
|
2685
2572
|
|
2686
|
-
#
|
2687
|
-
#
|
2688
|
-
#
|
2689
|
-
|
2690
|
-
|
2691
|
-
# Ordered list of localized strings giving the name of this page. The text
|
2692
|
-
# displayed is the one that best matches the user locale, or the first entry if
|
2693
|
-
# there is no good match. There needs to be at least one entry.
|
2573
|
+
# Ordered list of localized strings giving the name of this page.
|
2574
|
+
# The text displayed is the one that best matches the user locale,
|
2575
|
+
# or the first entry if there is no good match. There needs to be
|
2576
|
+
# at least one entry.
|
2694
2577
|
# Corresponds to the JSON property `name`
|
2695
2578
|
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
2696
2579
|
attr_accessor :name
|
2697
2580
|
|
2698
2581
|
# String (US-ASCII only) used to determine order of this cluster within the
|
2699
|
-
# parent page's elements. Page elements are sorted in lexicographic order
|
2700
|
-
# this field.
|
2582
|
+
# parent page's elements. Page elements are sorted in lexicographic order
|
2583
|
+
# of this field.
|
2584
|
+
# Duplicated values are allowed, but ordering between elements with
|
2701
2585
|
# duplicate order is undefined.
|
2702
|
-
# The value of this field is never visible to a user, it is used solely
|
2703
|
-
# purpose of defining an ordering. Maximum length is 256
|
2586
|
+
# The value of this field is never visible to a user, it is used solely
|
2587
|
+
# for the purpose of defining an ordering. Maximum length is 256
|
2588
|
+
# characters.
|
2704
2589
|
# Corresponds to the JSON property `orderInPage`
|
2705
2590
|
# @return [String]
|
2706
2591
|
attr_accessor :order_in_page
|
2707
2592
|
|
2708
|
-
# List of products in the order they are displayed in the cluster. There
|
2709
|
-
# not be duplicates within a cluster.
|
2593
|
+
# List of products in the order they are displayed in the cluster. There
|
2594
|
+
# should not be duplicates within a cluster.
|
2710
2595
|
# Corresponds to the JSON property `productId`
|
2711
2596
|
# @return [Array<String>]
|
2712
2597
|
attr_accessor :product_id
|
@@ -2718,35 +2603,30 @@ module Google
|
|
2718
2603
|
# Update properties of this object
|
2719
2604
|
def update!(**args)
|
2720
2605
|
@id = args[:id] if args.key?(:id)
|
2721
|
-
@kind = args[:kind] if args.key?(:kind)
|
2722
2606
|
@name = args[:name] if args.key?(:name)
|
2723
2607
|
@order_in_page = args[:order_in_page] if args.key?(:order_in_page)
|
2724
2608
|
@product_id = args[:product_id] if args.key?(:product_id)
|
2725
2609
|
end
|
2726
2610
|
end
|
2727
2611
|
|
2728
|
-
# General setting for the managed Google Play store layout,
|
2729
|
-
# specifying the page to display the first time
|
2612
|
+
# General setting for the managed Google Play store layout,
|
2613
|
+
# currently only specifying the page to display the first time
|
2614
|
+
# the store is opened.
|
2730
2615
|
class StoreLayout
|
2731
2616
|
include Google::Apis::Core::Hashable
|
2732
2617
|
|
2733
|
-
# The ID of the store page to be used as the homepage. The homepage is the
|
2734
|
-
# page shown in the managed Google Play Store.
|
2735
|
-
# Not specifying a homepage is equivalent to setting the store layout
|
2736
|
-
# basic".
|
2618
|
+
# The ID of the store page to be used as the homepage. The homepage is the
|
2619
|
+
# first page shown in the managed Google Play Store.
|
2620
|
+
# Not specifying a homepage is equivalent to setting the store layout
|
2621
|
+
# type to "basic".
|
2737
2622
|
# Corresponds to the JSON property `homepageId`
|
2738
2623
|
# @return [String]
|
2739
2624
|
attr_accessor :homepage_id
|
2740
2625
|
|
2741
|
-
#
|
2742
|
-
#
|
2743
|
-
#
|
2744
|
-
|
2745
|
-
|
2746
|
-
# The store layout type. By default, this value is set to "basic" if the
|
2747
|
-
# homepageId field is not set, and to "custom" otherwise. If set to "basic", the
|
2748
|
-
# layout will consist of all approved apps that have been whitelisted for the
|
2749
|
-
# user.
|
2626
|
+
# The store layout type. By default, this value is set to "basic"
|
2627
|
+
# if the homepageId field is not set, and to "custom" otherwise.
|
2628
|
+
# If set to "basic", the layout will consist of all approved apps that
|
2629
|
+
# have been whitelisted for the user.
|
2750
2630
|
# Corresponds to the JSON property `storeLayoutType`
|
2751
2631
|
# @return [String]
|
2752
2632
|
attr_accessor :store_layout_type
|
@@ -2758,12 +2638,11 @@ module Google
|
|
2758
2638
|
# Update properties of this object
|
2759
2639
|
def update!(**args)
|
2760
2640
|
@homepage_id = args[:homepage_id] if args.key?(:homepage_id)
|
2761
|
-
@kind = args[:kind] if args.key?(:kind)
|
2762
2641
|
@store_layout_type = args[:store_layout_type] if args.key?(:store_layout_type)
|
2763
2642
|
end
|
2764
2643
|
end
|
2765
2644
|
|
2766
|
-
#
|
2645
|
+
#
|
2767
2646
|
class StoreLayoutClustersListResponse
|
2768
2647
|
include Google::Apis::Core::Hashable
|
2769
2648
|
|
@@ -2772,12 +2651,6 @@ module Google
|
|
2772
2651
|
# @return [Array<Google::Apis::AndroidenterpriseV1::StoreCluster>]
|
2773
2652
|
attr_accessor :cluster
|
2774
2653
|
|
2775
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
2776
|
-
# androidenterprise#storeLayoutClustersListResponse".
|
2777
|
-
# Corresponds to the JSON property `kind`
|
2778
|
-
# @return [String]
|
2779
|
-
attr_accessor :kind
|
2780
|
-
|
2781
2654
|
def initialize(**args)
|
2782
2655
|
update!(**args)
|
2783
2656
|
end
|
@@ -2785,20 +2658,13 @@ module Google
|
|
2785
2658
|
# Update properties of this object
|
2786
2659
|
def update!(**args)
|
2787
2660
|
@cluster = args[:cluster] if args.key?(:cluster)
|
2788
|
-
@kind = args[:kind] if args.key?(:kind)
|
2789
2661
|
end
|
2790
2662
|
end
|
2791
2663
|
|
2792
|
-
#
|
2664
|
+
#
|
2793
2665
|
class StoreLayoutPagesListResponse
|
2794
2666
|
include Google::Apis::Core::Hashable
|
2795
2667
|
|
2796
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
2797
|
-
# androidenterprise#storeLayoutPagesListResponse".
|
2798
|
-
# Corresponds to the JSON property `kind`
|
2799
|
-
# @return [String]
|
2800
|
-
attr_accessor :kind
|
2801
|
-
|
2802
2668
|
# A store page of an enterprise.
|
2803
2669
|
# Corresponds to the JSON property `page`
|
2804
2670
|
# @return [Array<Google::Apis::AndroidenterpriseV1::StorePage>]
|
@@ -2810,13 +2676,13 @@ module Google
|
|
2810
2676
|
|
2811
2677
|
# Update properties of this object
|
2812
2678
|
def update!(**args)
|
2813
|
-
@kind = args[:kind] if args.key?(:kind)
|
2814
2679
|
@page = args[:page] if args.key?(:page)
|
2815
2680
|
end
|
2816
2681
|
end
|
2817
2682
|
|
2818
|
-
# Definition of a managed Google Play store page, made of a localized name
|
2819
|
-
# links to other pages. A page also contains clusters defined
|
2683
|
+
# Definition of a managed Google Play store page, made of a localized name
|
2684
|
+
# and links to other pages. A page also contains clusters defined
|
2685
|
+
# as a subcollection.
|
2820
2686
|
class StorePage
|
2821
2687
|
include Google::Apis::Core::Hashable
|
2822
2688
|
|
@@ -2825,22 +2691,19 @@ module Google
|
|
2825
2691
|
# @return [String]
|
2826
2692
|
attr_accessor :id
|
2827
2693
|
|
2828
|
-
#
|
2829
|
-
#
|
2830
|
-
#
|
2831
|
-
|
2832
|
-
|
2833
|
-
# Ordered list of pages a user should be able to reach from this page. The list
|
2834
|
-
# can't include this page. It is recommended that the basic pages are created
|
2835
|
-
# first, before adding the links between pages.
|
2694
|
+
# Ordered list of pages a user should be able to reach from this page.
|
2695
|
+
# The list can't include this page.
|
2696
|
+
# It is recommended that the basic pages are created first,
|
2697
|
+
# before adding the links between pages.
|
2836
2698
|
# The API doesn't verify that the pages exist or the pages are reachable.
|
2837
2699
|
# Corresponds to the JSON property `link`
|
2838
2700
|
# @return [Array<String>]
|
2839
2701
|
attr_accessor :link
|
2840
2702
|
|
2841
|
-
# Ordered list of localized strings giving the name of this page.
|
2842
|
-
# displayed is the one that best matches the user locale,
|
2843
|
-
# there is no good match. There needs to be
|
2703
|
+
# Ordered list of localized strings giving the name of this page.
|
2704
|
+
# The text displayed is the one that best matches the user locale,
|
2705
|
+
# or the first entry if there is no good match. There needs to be
|
2706
|
+
# at least one entry.
|
2844
2707
|
# Corresponds to the JSON property `name`
|
2845
2708
|
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
2846
2709
|
attr_accessor :name
|
@@ -2852,17 +2715,25 @@ module Google
|
|
2852
2715
|
# Update properties of this object
|
2853
2716
|
def update!(**args)
|
2854
2717
|
@id = args[:id] if args.key?(:id)
|
2855
|
-
@kind = args[:kind] if args.key?(:kind)
|
2856
2718
|
@link = args[:link] if args.key?(:link)
|
2857
2719
|
@name = args[:name] if args.key?(:name)
|
2858
2720
|
end
|
2859
2721
|
end
|
2860
2722
|
|
2861
|
-
#
|
2723
|
+
# Pagination information returned by a List operation when token pagination
|
2724
|
+
# is enabled.
|
2725
|
+
# List operations that supports paging return only one "page" of results. This
|
2726
|
+
# protocol buffer message describes the page that has been returned.
|
2727
|
+
# When using token pagination, clients should use the next/previous token
|
2728
|
+
# to get another page of the result. The presence or absence of next/previous
|
2729
|
+
# token indicates whether a next/previous page is available and provides a
|
2730
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
2731
|
+
# next_page_token or previous_page_token to access another page.
|
2862
2732
|
class TokenPagination
|
2863
2733
|
include Google::Apis::Core::Hashable
|
2864
2734
|
|
2865
|
-
#
|
2735
|
+
# Tokens to pass to the standard list field 'page_token'. Whenever available,
|
2736
|
+
# tokens are preferred over manipulating start_index.
|
2866
2737
|
# Corresponds to the JSON property `nextPageToken`
|
2867
2738
|
# @return [String]
|
2868
2739
|
attr_accessor :next_page_token
|
@@ -2887,15 +2758,15 @@ module Google
|
|
2887
2758
|
class TrackInfo
|
2888
2759
|
include Google::Apis::Core::Hashable
|
2889
2760
|
|
2890
|
-
# A modifiable name for a track. This is the visible name in the play
|
2891
|
-
# console.
|
2761
|
+
# A modifiable name for a track. This is the visible name in the play
|
2762
|
+
# developer console.
|
2892
2763
|
# Corresponds to the JSON property `trackAlias`
|
2893
2764
|
# @return [String]
|
2894
2765
|
attr_accessor :track_alias
|
2895
2766
|
|
2896
|
-
# Unmodifiable, unique track identifier. This identifier is the
|
2897
|
-
# in the url of the play developer console page that displays
|
2898
|
-
# information.
|
2767
|
+
# Unmodifiable, unique track identifier. This identifier is the
|
2768
|
+
# releaseTrackId in the url of the play developer console page that displays
|
2769
|
+
# the track information.
|
2899
2770
|
# Corresponds to the JSON property `trackId`
|
2900
2771
|
# @return [String]
|
2901
2772
|
attr_accessor :track_id
|
@@ -2912,37 +2783,43 @@ module Google
|
|
2912
2783
|
end
|
2913
2784
|
|
2914
2785
|
# A Users resource represents an account associated with an enterprise. The
|
2915
|
-
# account may be specific to a device or to an individual user (who can then
|
2916
|
-
# the account across multiple devices). The account may provide access to
|
2786
|
+
# account may be specific to a device or to an individual user (who can then
|
2787
|
+
# use the account across multiple devices). The account may provide access to
|
2917
2788
|
# managed Google Play only, or to other Google services, depending on the
|
2918
2789
|
# identity model:
|
2919
|
-
#
|
2920
|
-
# account sources (via primaryEmail)
|
2921
|
-
#
|
2922
|
-
# enterprises to create user or device accounts as needed. These accounts
|
2923
|
-
# provide access to managed Google Play
|
2790
|
+
# <ul><li>The Google managed domain identity model requires synchronization to
|
2791
|
+
# Google account sources (via <code>primaryEmail</code>).</li>
|
2792
|
+
# <li>The managed Google Play Accounts identity model provides a dynamic means
|
2793
|
+
# for enterprises to create user or device accounts as needed. These accounts
|
2794
|
+
# provide access to managed Google Play.</li>
|
2795
|
+
# </ul>
|
2924
2796
|
class User
|
2925
2797
|
include Google::Apis::Core::Hashable
|
2926
2798
|
|
2927
|
-
# A unique identifier you create for this user, such as "user342" or
|
2928
|
-
# 44418". Do not use personally identifiable information (PII) for
|
2929
|
-
# Must always be set for EMM-managed users.
|
2799
|
+
# A unique identifier you create for this user, such as "user342" or
|
2800
|
+
# "asset#44418". Do not use personally identifiable information (PII) for
|
2801
|
+
# this property. Must always be set for EMM-managed users.
|
2802
|
+
# Not set for Google-managed users.
|
2930
2803
|
# Corresponds to the JSON property `accountIdentifier`
|
2931
2804
|
# @return [String]
|
2932
2805
|
attr_accessor :account_identifier
|
2933
2806
|
|
2934
|
-
# The type of account that this user represents. A userAccount
|
2935
|
-
# on multiple devices, but a deviceAccount is
|
2936
|
-
# EMM-managed user (emmManaged)
|
2937
|
-
#
|
2807
|
+
# The type of account that this user represents. A <code>userAccount</code>
|
2808
|
+
# can be installed on multiple devices, but a <code>deviceAccount</code> is
|
2809
|
+
# specific to a single device. An EMM-managed user (<code>emmManaged</code>)
|
2810
|
+
# can be either type (<code>userAccount</code>, <code>deviceAccount</code>),
|
2811
|
+
# but a Google-managed user (<code>googleManaged</code>) is always a
|
2812
|
+
# <code>userAccount</code>.
|
2938
2813
|
# Corresponds to the JSON property `accountType`
|
2939
2814
|
# @return [String]
|
2940
2815
|
attr_accessor :account_type
|
2941
2816
|
|
2942
2817
|
# The name that will appear in user interfaces. Setting this property is
|
2943
|
-
# optional when creating EMM-managed users. If you do set this property,
|
2944
|
-
# something generic about the organization (such as "Example, Inc.") or
|
2945
|
-
# name (as EMM).
|
2818
|
+
# optional when creating EMM-managed users. If you do set this property,
|
2819
|
+
# use something generic about the organization (such as "Example, Inc.") or
|
2820
|
+
# your name (as EMM).
|
2821
|
+
# Not used for Google-managed user accounts.
|
2822
|
+
# @mutable androidenterprise.users.update
|
2946
2823
|
# Corresponds to the JSON property `displayName`
|
2947
2824
|
# @return [String]
|
2948
2825
|
attr_accessor :display_name
|
@@ -2952,20 +2829,17 @@ module Google
|
|
2952
2829
|
# @return [String]
|
2953
2830
|
attr_accessor :id
|
2954
2831
|
|
2955
|
-
#
|
2956
|
-
#
|
2957
|
-
#
|
2958
|
-
|
2959
|
-
|
2960
|
-
# The entity that manages the user. With googleManaged users, the source of
|
2961
|
-
# truth is Google so EMMs have to make sure a Google Account exists for the user.
|
2962
|
-
# With emmManaged users, the EMM is in charge.
|
2832
|
+
# The entity that manages the user. With <code>googleManaged</code> users,
|
2833
|
+
# the source of truth is Google so EMMs have to make sure a Google Account
|
2834
|
+
# exists for the user. With <code>emmManaged</code> users, the
|
2835
|
+
# EMM is in charge.
|
2963
2836
|
# Corresponds to the JSON property `managementType`
|
2964
2837
|
# @return [String]
|
2965
2838
|
attr_accessor :management_type
|
2966
2839
|
|
2967
|
-
# The user's primary email address, for example, "jsmith@example.com".
|
2968
|
-
# always be set for Google managed users and not set for EMM managed
|
2840
|
+
# The user's primary email address, for example, "jsmith@example.com".
|
2841
|
+
# Will always be set for Google managed users and not set for EMM managed
|
2842
|
+
# users.
|
2969
2843
|
# Corresponds to the JSON property `primaryEmail`
|
2970
2844
|
# @return [String]
|
2971
2845
|
attr_accessor :primary_email
|
@@ -2980,57 +2854,15 @@ module Google
|
|
2980
2854
|
@account_type = args[:account_type] if args.key?(:account_type)
|
2981
2855
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2982
2856
|
@id = args[:id] if args.key?(:id)
|
2983
|
-
@kind = args[:kind] if args.key?(:kind)
|
2984
2857
|
@management_type = args[:management_type] if args.key?(:management_type)
|
2985
2858
|
@primary_email = args[:primary_email] if args.key?(:primary_email)
|
2986
2859
|
end
|
2987
2860
|
end
|
2988
2861
|
|
2989
|
-
#
|
2990
|
-
# their managed Google Play account on a device. When the user enters their
|
2991
|
-
# email address and token (activation code) the appropriate EMM app can be
|
2992
|
-
# automatically downloaded.
|
2993
|
-
class UserToken
|
2994
|
-
include Google::Apis::Core::Hashable
|
2995
|
-
|
2996
|
-
#
|
2997
|
-
# Corresponds to the JSON property `kind`
|
2998
|
-
# @return [String]
|
2999
|
-
attr_accessor :kind
|
3000
|
-
|
3001
|
-
# The token (activation code) to be entered by the user. This consists of a
|
3002
|
-
# sequence of decimal digits. Note that the leading digit may be 0.
|
3003
|
-
# Corresponds to the JSON property `token`
|
3004
|
-
# @return [String]
|
3005
|
-
attr_accessor :token
|
3006
|
-
|
3007
|
-
# The unique ID for the user.
|
3008
|
-
# Corresponds to the JSON property `userId`
|
3009
|
-
# @return [String]
|
3010
|
-
attr_accessor :user_id
|
3011
|
-
|
3012
|
-
def initialize(**args)
|
3013
|
-
update!(**args)
|
3014
|
-
end
|
3015
|
-
|
3016
|
-
# Update properties of this object
|
3017
|
-
def update!(**args)
|
3018
|
-
@kind = args[:kind] if args.key?(:kind)
|
3019
|
-
@token = args[:token] if args.key?(:token)
|
3020
|
-
@user_id = args[:user_id] if args.key?(:user_id)
|
3021
|
-
end
|
3022
|
-
end
|
3023
|
-
|
3024
|
-
# The matching user resources.
|
2862
|
+
#
|
3025
2863
|
class ListUsersResponse
|
3026
2864
|
include Google::Apis::Core::Hashable
|
3027
2865
|
|
3028
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
3029
|
-
# androidenterprise#usersListResponse".
|
3030
|
-
# Corresponds to the JSON property `kind`
|
3031
|
-
# @return [String]
|
3032
|
-
attr_accessor :kind
|
3033
|
-
|
3034
2866
|
# A user of an enterprise.
|
3035
2867
|
# Corresponds to the JSON property `user`
|
3036
2868
|
# @return [Array<Google::Apis::AndroidenterpriseV1::User>]
|
@@ -3042,23 +2874,17 @@ module Google
|
|
3042
2874
|
|
3043
2875
|
# Update properties of this object
|
3044
2876
|
def update!(**args)
|
3045
|
-
@kind = args[:kind] if args.key?(:kind)
|
3046
2877
|
@user = args[:user] if args.key?(:user)
|
3047
2878
|
end
|
3048
2879
|
end
|
3049
2880
|
|
3050
|
-
# A variable set is a key-value pair of EMM-provided placeholders and
|
3051
|
-
# corresponding value, which is attributed to a user. For example,
|
3052
|
-
# could be a placeholder, and its value could be Alice. Placeholders
|
3053
|
-
# start with a '$' sign and should be alphanumeric only.
|
2881
|
+
# A variable set is a key-value pair of EMM-provided placeholders and
|
2882
|
+
# its corresponding value, which is attributed to a user. For example,
|
2883
|
+
# $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders
|
2884
|
+
# should start with a '$' sign and should be alphanumeric only.
|
3054
2885
|
class VariableSet
|
3055
2886
|
include Google::Apis::Core::Hashable
|
3056
2887
|
|
3057
|
-
#
|
3058
|
-
# Corresponds to the JSON property `kind`
|
3059
|
-
# @return [String]
|
3060
|
-
attr_accessor :kind
|
3061
|
-
|
3062
2888
|
# The placeholder string; defined by EMM.
|
3063
2889
|
# Corresponds to the JSON property `placeholder`
|
3064
2890
|
# @return [String]
|
@@ -3075,29 +2901,29 @@ module Google
|
|
3075
2901
|
|
3076
2902
|
# Update properties of this object
|
3077
2903
|
def update!(**args)
|
3078
|
-
@kind = args[:kind] if args.key?(:kind)
|
3079
2904
|
@placeholder = args[:placeholder] if args.key?(:placeholder)
|
3080
2905
|
@user_value = args[:user_value] if args.key?(:user_value)
|
3081
2906
|
end
|
3082
2907
|
end
|
3083
2908
|
|
3084
2909
|
# A WebApps resource represents a web app created for an enterprise. Web apps
|
3085
|
-
# are published to managed Google Play and can be distributed like other
|
3086
|
-
# apps. On a user's device, a web app opens its specified URL.
|
2910
|
+
# are published to managed Google Play and can be distributed like other
|
2911
|
+
# Android apps. On a user's device, a web app opens its specified URL.
|
3087
2912
|
class WebApp
|
3088
2913
|
include Google::Apis::Core::Hashable
|
3089
2914
|
|
3090
|
-
# The display mode of the web app.
|
2915
|
+
# The display mode of the web app. <br><br>
|
3091
2916
|
# Possible values include:
|
3092
|
-
#
|
3093
|
-
# refresh button are visible when the app is open. For
|
3094
|
-
# select this option.
|
3095
|
-
#
|
3096
|
-
# the app is open.
|
3097
|
-
#
|
3098
|
-
# and navigation bars.
|
3099
|
-
# back button are not visible, and the web app
|
3100
|
-
# available display area.
|
2917
|
+
# <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar,
|
2918
|
+
# the app's URL, and a refresh button are visible when the app is open. For
|
2919
|
+
# HTTP URLs, you can only select this option.
|
2920
|
+
# <li>"<code>standalone</code>", the device's status bar and navigation
|
2921
|
+
# bar are visible when the app is open.
|
2922
|
+
# <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding
|
2923
|
+
# the device's status and navigation bars. All browser UI elements, page
|
2924
|
+
# URL, system status bar and back button are not visible, and the web app
|
2925
|
+
# takes up the entirety of the available display area.
|
2926
|
+
# </ul>
|
3101
2927
|
# Corresponds to the JSON property `displayMode`
|
3102
2928
|
# @return [String]
|
3103
2929
|
attr_accessor :display_mode
|
@@ -3127,16 +2953,18 @@ module Google
|
|
3127
2953
|
attr_accessor :title
|
3128
2954
|
|
3129
2955
|
# The current version of the app.
|
3130
|
-
# Note that the version can automatically increase during the lifetime of
|
3131
|
-
# web app, while Google does internal housekeeping to keep the web app
|
3132
|
-
# date.
|
2956
|
+
# <p>Note that the version can automatically increase during the lifetime of
|
2957
|
+
# the web app, while Google does internal housekeeping to keep the web app
|
2958
|
+
# up-to-date.
|
3133
2959
|
# Corresponds to the JSON property `versionCode`
|
3134
2960
|
# @return [Fixnum]
|
3135
2961
|
attr_accessor :version_code
|
3136
2962
|
|
3137
|
-
# The ID of the application.
|
3138
|
-
# package name
|
3139
|
-
#
|
2963
|
+
# The ID of the application. A string of the form
|
2964
|
+
# <code>"app:<package name>"</code> where the package name
|
2965
|
+
# always starts with the prefix
|
2966
|
+
# <code>"com.google.enterprise.webapp."</code> followed by a
|
2967
|
+
# random id.
|
3140
2968
|
# Corresponds to the JSON property `webAppId`
|
3141
2969
|
# @return [String]
|
3142
2970
|
attr_accessor :web_app_id
|
@@ -3163,9 +2991,11 @@ module Google
|
|
3163
2991
|
|
3164
2992
|
# The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
|
3165
2993
|
# section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
|
3166
|
-
#
|
3167
|
-
#
|
3168
|
-
#
|
2994
|
+
# <ul>
|
2995
|
+
# <li>The image type can be png or jpg.
|
2996
|
+
# <li>The image should ideally be square.
|
2997
|
+
# <li>The image should ideally have a size of 512x512.
|
2998
|
+
# </ul>
|
3169
2999
|
# Corresponds to the JSON property `imageData`
|
3170
3000
|
# @return [String]
|
3171
3001
|
attr_accessor :image_data
|
@@ -3180,16 +3010,10 @@ module Google
|
|
3180
3010
|
end
|
3181
3011
|
end
|
3182
3012
|
|
3183
|
-
#
|
3013
|
+
#
|
3184
3014
|
class WebAppsListResponse
|
3185
3015
|
include Google::Apis::Core::Hashable
|
3186
3016
|
|
3187
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
3188
|
-
# androidenterprise#webAppsListResponse".
|
3189
|
-
# Corresponds to the JSON property `kind`
|
3190
|
-
# @return [String]
|
3191
|
-
attr_accessor :kind
|
3192
|
-
|
3193
3017
|
# The manifest describing a web app.
|
3194
3018
|
# Corresponds to the JSON property `webApp`
|
3195
3019
|
# @return [Array<Google::Apis::AndroidenterpriseV1::WebApp>]
|
@@ -3201,7 +3025,6 @@ module Google
|
|
3201
3025
|
|
3202
3026
|
# Update properties of this object
|
3203
3027
|
def update!(**args)
|
3204
|
-
@kind = args[:kind] if args.key?(:kind)
|
3205
3028
|
@web_app = args[:web_app] if args.key?(:web_app)
|
3206
3029
|
end
|
3207
3030
|
end
|