google-api-client 0.39.5 → 0.41.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +290 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +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 +183 -52
- data/generated/google/apis/apigee_v1/representations.rb +22 -0
- data/generated/google/apis/apigee_v1/service.rb +38 -37
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +78 -6
- data/generated/google/apis/bigquery_v2/representations.rb +7 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/chromeuxreport_v1.rb +32 -0
- 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/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/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 +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +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 +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +756 -182
- data/generated/google/apis/compute_alpha/representations.rb +220 -33
- data/generated/google/apis/compute_alpha/service.rb +1891 -1099
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +435 -102
- data/generated/google/apis/compute_beta/representations.rb +95 -0
- data/generated/google/apis/compute_beta/service.rb +824 -595
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +658 -47
- data/generated/google/apis/compute_v1/representations.rb +188 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +31 -7
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +47 -10
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +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 +68 -22
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +731 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +311 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +722 -19
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +311 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +72 -4
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +717 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +325 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1865 -162
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +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_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 +45 -36
- data/generated/google/apis/healthcare_v1/service.rb +66 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +954 -83
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +682 -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 +116 -93
- data/generated/google/apis/iam_v1/service.rb +170 -144
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +75 -19
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/{pagespeedonline_v2.rb → playablelocations_v3.rb} +9 -10
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- 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 +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → recommender_v1.rb} +12 -10
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -7
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- 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 +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +55 -32
- data/generated/google/apis/spanner_v1/service.rb +10 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/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/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +64 -26
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +33 -36
- 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 +27 -19
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5022
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2057
- 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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/android/management
|
27
27
|
module AndroidmanagementV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200612'
|
30
30
|
|
31
31
|
# Manage Android devices and apps for your customers
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
@@ -446,6 +446,12 @@ module Google
|
|
446
446
|
# @return [Fixnum]
|
447
447
|
attr_accessor :block_after_days
|
448
448
|
|
449
|
+
# Specifies the scope of this BlockAction. Only applicable to devices that are
|
450
|
+
# company-owned.
|
451
|
+
# Corresponds to the JSON property `blockScope`
|
452
|
+
# @return [String]
|
453
|
+
attr_accessor :block_scope
|
454
|
+
|
449
455
|
def initialize(**args)
|
450
456
|
update!(**args)
|
451
457
|
end
|
@@ -453,6 +459,7 @@ module Google
|
|
453
459
|
# Update properties of this object
|
454
460
|
def update!(**args)
|
455
461
|
@block_after_days = args[:block_after_days] if args.key?(:block_after_days)
|
462
|
+
@block_scope = args[:block_scope] if args.key?(:block_scope)
|
456
463
|
end
|
457
464
|
end
|
458
465
|
|
@@ -776,6 +783,11 @@ module Google
|
|
776
783
|
# @return [Array<Google::Apis::AndroidmanagementV1::NonComplianceDetail>]
|
777
784
|
attr_accessor :non_compliance_details
|
778
785
|
|
786
|
+
# Ownership of the managed device.
|
787
|
+
# Corresponds to the JSON property `ownership`
|
788
|
+
# @return [String]
|
789
|
+
attr_accessor :ownership
|
790
|
+
|
779
791
|
# Whether the device is compliant with its policy.
|
780
792
|
# Corresponds to the JSON property `policyCompliant`
|
781
793
|
# @return [Boolean]
|
@@ -872,6 +884,7 @@ module Google
|
|
872
884
|
@name = args[:name] if args.key?(:name)
|
873
885
|
@network_info = args[:network_info] if args.key?(:network_info)
|
874
886
|
@non_compliance_details = args[:non_compliance_details] if args.key?(:non_compliance_details)
|
887
|
+
@ownership = args[:ownership] if args.key?(:ownership)
|
875
888
|
@policy_compliant = args[:policy_compliant] if args.key?(:policy_compliant)
|
876
889
|
@policy_name = args[:policy_name] if args.key?(:policy_name)
|
877
890
|
@power_management_events = args[:power_management_events] if args.key?(:power_management_events)
|
@@ -1035,6 +1048,11 @@ module Google
|
|
1035
1048
|
# @return [String]
|
1036
1049
|
attr_accessor :additional_data
|
1037
1050
|
|
1051
|
+
# Controls personal usage on devices provisioned using this enrollment token.
|
1052
|
+
# Corresponds to the JSON property `allowPersonalUsage`
|
1053
|
+
# @return [String]
|
1054
|
+
attr_accessor :allow_personal_usage
|
1055
|
+
|
1038
1056
|
# The length of time the enrollment token is valid, ranging from 1 minute to 30
|
1039
1057
|
# days. If not specified, the default duration is 1 hour.
|
1040
1058
|
# Corresponds to the JSON property `duration`
|
@@ -1098,6 +1116,7 @@ module Google
|
|
1098
1116
|
# Update properties of this object
|
1099
1117
|
def update!(**args)
|
1100
1118
|
@additional_data = args[:additional_data] if args.key?(:additional_data)
|
1119
|
+
@allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
|
1101
1120
|
@duration = args[:duration] if args.key?(:duration)
|
1102
1121
|
@expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp)
|
1103
1122
|
@name = args[:name] if args.key?(:name)
|
@@ -2203,6 +2222,84 @@ module Google
|
|
2203
2222
|
end
|
2204
2223
|
end
|
2205
2224
|
|
2225
|
+
# Policies for apps on the personal profile of a Corporate Owned Personally
|
2226
|
+
# Enabled device.
|
2227
|
+
class PersonalApplicationPolicy
|
2228
|
+
include Google::Apis::Core::Hashable
|
2229
|
+
|
2230
|
+
# The type of installation to perform.
|
2231
|
+
# Corresponds to the JSON property `installType`
|
2232
|
+
# @return [String]
|
2233
|
+
attr_accessor :install_type
|
2234
|
+
|
2235
|
+
# The package name of the application.
|
2236
|
+
# Corresponds to the JSON property `packageName`
|
2237
|
+
# @return [String]
|
2238
|
+
attr_accessor :package_name
|
2239
|
+
|
2240
|
+
def initialize(**args)
|
2241
|
+
update!(**args)
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
# Update properties of this object
|
2245
|
+
def update!(**args)
|
2246
|
+
@install_type = args[:install_type] if args.key?(:install_type)
|
2247
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
# Policies controlling personal usage on a Corporate Owned Personally Enabled
|
2252
|
+
# device.
|
2253
|
+
class PersonalUsagePolicies
|
2254
|
+
include Google::Apis::Core::Hashable
|
2255
|
+
|
2256
|
+
# Account types that can't be managed by the user.
|
2257
|
+
# Corresponds to the JSON property `accountTypesWithManagementDisabled`
|
2258
|
+
# @return [Array<String>]
|
2259
|
+
attr_accessor :account_types_with_management_disabled
|
2260
|
+
|
2261
|
+
# Whether camera is disabled.
|
2262
|
+
# Corresponds to the JSON property `cameraDisabled`
|
2263
|
+
# @return [Boolean]
|
2264
|
+
attr_accessor :camera_disabled
|
2265
|
+
alias_method :camera_disabled?, :camera_disabled
|
2266
|
+
|
2267
|
+
# Controls how long the work profile can stay off.
|
2268
|
+
# Corresponds to the JSON property `maxDaysWithWorkOff`
|
2269
|
+
# @return [Fixnum]
|
2270
|
+
attr_accessor :max_days_with_work_off
|
2271
|
+
|
2272
|
+
# Policy applied to applications on the personal profile.
|
2273
|
+
# Corresponds to the JSON property `personalApplications`
|
2274
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy>]
|
2275
|
+
attr_accessor :personal_applications
|
2276
|
+
|
2277
|
+
# Controls how apps on the personal profile are allowed or blocked.
|
2278
|
+
# Corresponds to the JSON property `personalPlayStoreMode`
|
2279
|
+
# @return [String]
|
2280
|
+
attr_accessor :personal_play_store_mode
|
2281
|
+
|
2282
|
+
# Whether screen capture is disabled.
|
2283
|
+
# Corresponds to the JSON property `screenCaptureDisabled`
|
2284
|
+
# @return [Boolean]
|
2285
|
+
attr_accessor :screen_capture_disabled
|
2286
|
+
alias_method :screen_capture_disabled?, :screen_capture_disabled
|
2287
|
+
|
2288
|
+
def initialize(**args)
|
2289
|
+
update!(**args)
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
# Update properties of this object
|
2293
|
+
def update!(**args)
|
2294
|
+
@account_types_with_management_disabled = args[:account_types_with_management_disabled] if args.key?(:account_types_with_management_disabled)
|
2295
|
+
@camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
|
2296
|
+
@max_days_with_work_off = args[:max_days_with_work_off] if args.key?(:max_days_with_work_off)
|
2297
|
+
@personal_applications = args[:personal_applications] if args.key?(:personal_applications)
|
2298
|
+
@personal_play_store_mode = args[:personal_play_store_mode] if args.key?(:personal_play_store_mode)
|
2299
|
+
@screen_capture_disabled = args[:screen_capture_disabled] if args.key?(:screen_capture_disabled)
|
2300
|
+
end
|
2301
|
+
end
|
2302
|
+
|
2206
2303
|
# A policy resource represents a group of settings that govern the behavior of a
|
2207
2304
|
# managed device and the apps installed on it.
|
2208
2305
|
class Policy
|
@@ -2541,6 +2638,12 @@ module Google
|
|
2541
2638
|
# @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
|
2542
2639
|
attr_accessor :persistent_preferred_activities
|
2543
2640
|
|
2641
|
+
# Policies controlling personal usage on a Corporate Owned Personally Enabled
|
2642
|
+
# device.
|
2643
|
+
# Corresponds to the JSON property `personalUsagePolicies`
|
2644
|
+
# @return [Google::Apis::AndroidmanagementV1::PersonalUsagePolicies]
|
2645
|
+
attr_accessor :personal_usage_policies
|
2646
|
+
|
2544
2647
|
# This mode controls which apps are available to the user in the Play Store and
|
2545
2648
|
# the behavior on the device when apps are removed from the policy.
|
2546
2649
|
# Corresponds to the JSON property `playStoreMode`
|
@@ -2767,6 +2870,7 @@ module Google
|
|
2767
2870
|
@permitted_accessibility_services = args[:permitted_accessibility_services] if args.key?(:permitted_accessibility_services)
|
2768
2871
|
@permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
|
2769
2872
|
@persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
|
2873
|
+
@personal_usage_policies = args[:personal_usage_policies] if args.key?(:personal_usage_policies)
|
2770
2874
|
@play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
|
2771
2875
|
@policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules)
|
2772
2876
|
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
|
@@ -2993,6 +3097,18 @@ module Google
|
|
2993
3097
|
class SigninDetail
|
2994
3098
|
include Google::Apis::Core::Hashable
|
2995
3099
|
|
3100
|
+
# Controls whether personal usage is allowed on a device provisioned with this
|
3101
|
+
# enrollment token.For company-owned devices:
|
3102
|
+
# Enabling personal usage allows the user to set up a work profile on the device.
|
3103
|
+
# Disabling personal usage requires the user provision the device as a fully
|
3104
|
+
# managed device.For personally-owned devices:
|
3105
|
+
# Enabling personal usage allows the user to set up a work profile on the device.
|
3106
|
+
# Disabling personal usage will prevent the device from provisioning. Personal
|
3107
|
+
# usage cannot be disabled on personally-owned device.
|
3108
|
+
# Corresponds to the JSON property `allowPersonalUsage`
|
3109
|
+
# @return [String]
|
3110
|
+
attr_accessor :allow_personal_usage
|
3111
|
+
|
2996
3112
|
# A JSON string whose UTF-8 representation can be used to generate a QR code to
|
2997
3113
|
# enroll a device with this enrollment token. To enroll a device using NFC, the
|
2998
3114
|
# NFC record must contain a serialized java.util.Properties representation of
|
@@ -3022,6 +3138,7 @@ module Google
|
|
3022
3138
|
|
3023
3139
|
# Update properties of this object
|
3024
3140
|
def update!(**args)
|
3141
|
+
@allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
|
3025
3142
|
@qr_code = args[:qr_code] if args.key?(:qr_code)
|
3026
3143
|
@signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token)
|
3027
3144
|
@signin_url = args[:signin_url] if args.key?(:signin_url)
|
@@ -292,6 +292,18 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class PersonalApplicationPolicy
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class PersonalUsagePolicies
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
295
307
|
class Policy
|
296
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
309
|
|
@@ -522,6 +534,7 @@ module Google
|
|
522
534
|
# @private
|
523
535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
524
536
|
property :block_after_days, as: 'blockAfterDays'
|
537
|
+
property :block_scope, as: 'blockScope'
|
525
538
|
end
|
526
539
|
end
|
527
540
|
|
@@ -603,6 +616,7 @@ module Google
|
|
603
616
|
|
604
617
|
collection :non_compliance_details, as: 'nonComplianceDetails', class: Google::Apis::AndroidmanagementV1::NonComplianceDetail, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetail::Representation
|
605
618
|
|
619
|
+
property :ownership, as: 'ownership'
|
606
620
|
property :policy_compliant, as: 'policyCompliant'
|
607
621
|
property :policy_name, as: 'policyName'
|
608
622
|
collection :power_management_events, as: 'powerManagementEvents', class: Google::Apis::AndroidmanagementV1::PowerManagementEvent, decorator: Google::Apis::AndroidmanagementV1::PowerManagementEvent::Representation
|
@@ -656,6 +670,7 @@ module Google
|
|
656
670
|
# @private
|
657
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
658
672
|
property :additional_data, as: 'additionalData'
|
673
|
+
property :allow_personal_usage, as: 'allowPersonalUsage'
|
659
674
|
property :duration, as: 'duration'
|
660
675
|
property :expiration_timestamp, as: 'expirationTimestamp'
|
661
676
|
property :name, as: 'name'
|
@@ -937,6 +952,27 @@ module Google
|
|
937
952
|
end
|
938
953
|
end
|
939
954
|
|
955
|
+
class PersonalApplicationPolicy
|
956
|
+
# @private
|
957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
958
|
+
property :install_type, as: 'installType'
|
959
|
+
property :package_name, as: 'packageName'
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
963
|
+
class PersonalUsagePolicies
|
964
|
+
# @private
|
965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
966
|
+
collection :account_types_with_management_disabled, as: 'accountTypesWithManagementDisabled'
|
967
|
+
property :camera_disabled, as: 'cameraDisabled'
|
968
|
+
property :max_days_with_work_off, as: 'maxDaysWithWorkOff'
|
969
|
+
collection :personal_applications, as: 'personalApplications', class: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy::Representation
|
970
|
+
|
971
|
+
property :personal_play_store_mode, as: 'personalPlayStoreMode'
|
972
|
+
property :screen_capture_disabled, as: 'screenCaptureDisabled'
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
940
976
|
class Policy
|
941
977
|
# @private
|
942
978
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1007,6 +1043,8 @@ module Google
|
|
1007
1043
|
|
1008
1044
|
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
|
1009
1045
|
|
1046
|
+
property :personal_usage_policies, as: 'personalUsagePolicies', class: Google::Apis::AndroidmanagementV1::PersonalUsagePolicies, decorator: Google::Apis::AndroidmanagementV1::PersonalUsagePolicies::Representation
|
1047
|
+
|
1010
1048
|
property :play_store_mode, as: 'playStoreMode'
|
1011
1049
|
collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
|
1012
1050
|
|
@@ -1106,6 +1144,7 @@ module Google
|
|
1106
1144
|
class SigninDetail
|
1107
1145
|
# @private
|
1108
1146
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1147
|
+
property :allow_personal_usage, as: 'allowPersonalUsage'
|
1109
1148
|
property :qr_code, as: 'qrCode'
|
1110
1149
|
property :signin_enrollment_token, as: 'signinEnrollmentToken'
|
1111
1150
|
property :signin_url, as: 'signinUrl'
|
@@ -18,14 +18,14 @@ require 'google/apis/androidpublisher_v3/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
# Google Play Developer API
|
21
|
+
# Google Play Android Developer API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Lets Android application developers access their Google Play accounts.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200616'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AndroidpublisherV3
|
24
24
|
|
25
|
-
#
|
25
|
+
# Information about an APK. The resource for ApksService.
|
26
26
|
class Apk
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
@@ -31,12 +31,7 @@ module Google
|
|
31
31
|
# @return [Google::Apis::AndroidpublisherV3::ApkBinary]
|
32
32
|
attr_accessor :binary
|
33
33
|
|
34
|
-
#
|
35
|
-
# Corresponds to the JSON property `testBinary`
|
36
|
-
# @return [Google::Apis::AndroidpublisherV3::ApkBinary]
|
37
|
-
attr_accessor :test_binary
|
38
|
-
|
39
|
-
# The version code of the APK, as specified in the APK's manifest file.
|
34
|
+
# The version code of the APK, as specified in the manifest file.
|
40
35
|
# Corresponds to the JSON property `versionCode`
|
41
36
|
# @return [Fixnum]
|
42
37
|
attr_accessor :version_code
|
@@ -48,7 +43,6 @@ module Google
|
|
48
43
|
# Update properties of this object
|
49
44
|
def update!(**args)
|
50
45
|
@binary = args[:binary] if args.key?(:binary)
|
51
|
-
@test_binary = args[:test_binary] if args.key?(:test_binary)
|
52
46
|
@version_code = args[:version_code] if args.key?(:version_code)
|
53
47
|
end
|
54
48
|
end
|
@@ -63,8 +57,8 @@ module Google
|
|
63
57
|
# @return [String]
|
64
58
|
attr_accessor :sha1
|
65
59
|
|
66
|
-
# A sha256 hash of the APK payload, encoded as a hex string and matching
|
67
|
-
# output of the sha256sum command.
|
60
|
+
# A sha256 hash of the APK payload, encoded as a hex string and matching
|
61
|
+
# the output of the sha256sum command.
|
68
62
|
# Corresponds to the JSON property `sha256`
|
69
63
|
# @return [String]
|
70
64
|
attr_accessor :sha256
|
@@ -80,14 +74,14 @@ module Google
|
|
80
74
|
end
|
81
75
|
end
|
82
76
|
|
83
|
-
#
|
77
|
+
# Request to create a new externally hosted APK.
|
84
78
|
class ApksAddExternallyHostedRequest
|
85
79
|
include Google::Apis::Core::Hashable
|
86
80
|
|
87
|
-
# Defines an APK available for this application that is hosted externally
|
88
|
-
# not uploaded to Google Play.
|
89
|
-
#
|
90
|
-
#
|
81
|
+
# Defines an APK available for this application that is hosted externally
|
82
|
+
# and not uploaded to Google Play.
|
83
|
+
# This function is only available to organizations using Managed Play whose
|
84
|
+
# application is configured to restrict distribution to the organizations.
|
91
85
|
# Corresponds to the JSON property `externallyHostedApk`
|
92
86
|
# @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
|
93
87
|
attr_accessor :externally_hosted_apk
|
@@ -102,14 +96,14 @@ module Google
|
|
102
96
|
end
|
103
97
|
end
|
104
98
|
|
105
|
-
#
|
99
|
+
# Response for creating a new externally hosted APK.
|
106
100
|
class ApksAddExternallyHostedResponse
|
107
101
|
include Google::Apis::Core::Hashable
|
108
102
|
|
109
|
-
# Defines an APK available for this application that is hosted externally
|
110
|
-
# not uploaded to Google Play.
|
111
|
-
#
|
112
|
-
#
|
103
|
+
# Defines an APK available for this application that is hosted externally
|
104
|
+
# and not uploaded to Google Play.
|
105
|
+
# This function is only available to organizations using Managed Play whose
|
106
|
+
# application is configured to restrict distribution to the organizations.
|
113
107
|
# Corresponds to the JSON property `externallyHostedApk`
|
114
108
|
# @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
|
115
109
|
attr_accessor :externally_hosted_apk
|
@@ -124,17 +118,16 @@ module Google
|
|
124
118
|
end
|
125
119
|
end
|
126
120
|
|
127
|
-
#
|
121
|
+
# Response listing all APKs.
|
128
122
|
class ApksListResponse
|
129
123
|
include Google::Apis::Core::Hashable
|
130
124
|
|
131
|
-
#
|
125
|
+
# All APKs.
|
132
126
|
# Corresponds to the JSON property `apks`
|
133
127
|
# @return [Array<Google::Apis::AndroidpublisherV3::Apk>]
|
134
128
|
attr_accessor :apks
|
135
129
|
|
136
|
-
#
|
137
|
-
# androidpublisher#apksListResponse".
|
130
|
+
# The kind of this response ("androidpublisher#apksListResponse").
|
138
131
|
# Corresponds to the JSON property `kind`
|
139
132
|
# @return [String]
|
140
133
|
attr_accessor :kind
|
@@ -150,7 +143,7 @@ module Google
|
|
150
143
|
end
|
151
144
|
end
|
152
145
|
|
153
|
-
#
|
146
|
+
# The app details. The resource for DetailsService.
|
154
147
|
class AppDetails
|
155
148
|
include Google::Apis::Core::Hashable
|
156
149
|
|
@@ -187,18 +180,18 @@ module Google
|
|
187
180
|
end
|
188
181
|
end
|
189
182
|
|
190
|
-
#
|
191
|
-
# before committing them in one operation.
|
183
|
+
# An app edit. The resource for EditsService.
|
192
184
|
class AppEdit
|
193
185
|
include Google::Apis::Core::Hashable
|
194
186
|
|
195
|
-
# The time at which the edit will expire
|
196
|
-
#
|
187
|
+
# Output only. The time (as seconds since Epoch) at which the edit will expire
|
188
|
+
# and
|
189
|
+
# will be no longer valid for use.
|
197
190
|
# Corresponds to the JSON property `expiryTimeSeconds`
|
198
191
|
# @return [String]
|
199
192
|
attr_accessor :expiry_time_seconds
|
200
193
|
|
201
|
-
#
|
194
|
+
# Output only. Identifier of the edit. Can be used in subsequent API calls.
|
202
195
|
# Corresponds to the JSON property `id`
|
203
196
|
# @return [String]
|
204
197
|
attr_accessor :id
|
@@ -214,23 +207,23 @@ module Google
|
|
214
207
|
end
|
215
208
|
end
|
216
209
|
|
217
|
-
#
|
210
|
+
# Information about a bundle. The resource for BundlesService.
|
218
211
|
class Bundle
|
219
212
|
include Google::Apis::Core::Hashable
|
220
213
|
|
221
|
-
# A sha1 hash of the upload payload, encoded as a hex string and matching
|
222
|
-
# output of the sha1sum command.
|
214
|
+
# A sha1 hash of the upload payload, encoded as a hex string and matching
|
215
|
+
# the output of the sha1sum command.
|
223
216
|
# Corresponds to the JSON property `sha1`
|
224
217
|
# @return [String]
|
225
218
|
attr_accessor :sha1
|
226
219
|
|
227
|
-
# A sha256 hash of the upload payload, encoded as a hex string and matching
|
228
|
-
# output of the sha256sum command.
|
220
|
+
# A sha256 hash of the upload payload, encoded as a hex string and matching
|
221
|
+
# the output of the sha256sum command.
|
229
222
|
# Corresponds to the JSON property `sha256`
|
230
223
|
# @return [String]
|
231
224
|
attr_accessor :sha256
|
232
225
|
|
233
|
-
# The version code of the Android App Bundle
|
226
|
+
# The version code of the Android App Bundle, as specified in the Android App
|
234
227
|
# Bundle's base module APK manifest file.
|
235
228
|
# Corresponds to the JSON property `versionCode`
|
236
229
|
# @return [Fixnum]
|
@@ -248,17 +241,16 @@ module Google
|
|
248
241
|
end
|
249
242
|
end
|
250
243
|
|
251
|
-
#
|
244
|
+
# Response listing all bundles.
|
252
245
|
class BundlesListResponse
|
253
246
|
include Google::Apis::Core::Hashable
|
254
247
|
|
255
|
-
#
|
248
|
+
# All bundles.
|
256
249
|
# Corresponds to the JSON property `bundles`
|
257
250
|
# @return [Array<Google::Apis::AndroidpublisherV3::Bundle>]
|
258
251
|
attr_accessor :bundles
|
259
252
|
|
260
|
-
#
|
261
|
-
# androidpublisher#bundlesListResponse".
|
253
|
+
# The kind of this response ("androidpublisher#bundlesListResponse").
|
262
254
|
# Corresponds to the JSON property `kind`
|
263
255
|
# @return [String]
|
264
256
|
attr_accessor :kind
|
@@ -274,16 +266,16 @@ module Google
|
|
274
266
|
end
|
275
267
|
end
|
276
268
|
|
277
|
-
#
|
269
|
+
# An entry of conversation between user and developer.
|
278
270
|
class Comment
|
279
271
|
include Google::Apis::Core::Hashable
|
280
272
|
|
281
|
-
#
|
273
|
+
# Developer entry from conversation between user and developer.
|
282
274
|
# Corresponds to the JSON property `developerComment`
|
283
275
|
# @return [Google::Apis::AndroidpublisherV3::DeveloperComment]
|
284
276
|
attr_accessor :developer_comment
|
285
277
|
|
286
|
-
#
|
278
|
+
# User entry from conversation between user and developer.
|
287
279
|
# Corresponds to the JSON property `userComment`
|
288
280
|
# @return [Google::Apis::AndroidpublisherV3::UserComment]
|
289
281
|
attr_accessor :user_comment
|
@@ -299,47 +291,18 @@ module Google
|
|
299
291
|
end
|
300
292
|
end
|
301
293
|
|
302
|
-
#
|
303
|
-
class Control
|
304
|
-
include Google::Apis::Core::Hashable
|
305
|
-
|
306
|
-
#
|
307
|
-
# Corresponds to the JSON property `modRanges`
|
308
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
|
309
|
-
attr_accessor :mod_ranges
|
310
|
-
|
311
|
-
#
|
312
|
-
# Corresponds to the JSON property `stratifiedSamplings`
|
313
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
|
314
|
-
attr_accessor :stratified_samplings
|
315
|
-
|
316
|
-
#
|
317
|
-
# Corresponds to the JSON property `versionCodes`
|
318
|
-
# @return [Array<Fixnum>]
|
319
|
-
attr_accessor :version_codes
|
320
|
-
|
321
|
-
def initialize(**args)
|
322
|
-
update!(**args)
|
323
|
-
end
|
324
|
-
|
325
|
-
# Update properties of this object
|
326
|
-
def update!(**args)
|
327
|
-
@mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
|
328
|
-
@stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
|
329
|
-
@version_codes = args[:version_codes] if args.key?(:version_codes)
|
330
|
-
end
|
331
|
-
end
|
332
|
-
|
333
|
-
#
|
294
|
+
# Country targeting specification.
|
334
295
|
class CountryTargeting
|
335
296
|
include Google::Apis::Core::Hashable
|
336
297
|
|
337
|
-
#
|
298
|
+
# Countries to target, specified as two letter [CLDR
|
299
|
+
# codes](https://unicode.org/cldr/charts/latest/supplemental/
|
300
|
+
# territory_containment_un_m_49.html).
|
338
301
|
# Corresponds to the JSON property `countries`
|
339
302
|
# @return [Array<String>]
|
340
303
|
attr_accessor :countries
|
341
304
|
|
342
|
-
#
|
305
|
+
# Include "rest of world" as well as explicitly targeted countries.
|
343
306
|
# Corresponds to the JSON property `includeRestOfWorld`
|
344
307
|
# @return [Boolean]
|
345
308
|
attr_accessor :include_rest_of_world
|
@@ -375,7 +338,7 @@ module Google
|
|
375
338
|
end
|
376
339
|
end
|
377
340
|
|
378
|
-
#
|
341
|
+
# Responses for the upload.
|
379
342
|
class DeobfuscationFilesUploadResponse
|
380
343
|
include Google::Apis::Core::Hashable
|
381
344
|
|
@@ -394,11 +357,14 @@ module Google
|
|
394
357
|
end
|
395
358
|
end
|
396
359
|
|
397
|
-
#
|
360
|
+
# Developer entry from conversation between user and developer.
|
398
361
|
class DeveloperComment
|
399
362
|
include Google::Apis::Core::Hashable
|
400
363
|
|
401
|
-
#
|
364
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
365
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
366
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
367
|
+
# January 1, 1970.
|
402
368
|
# Corresponds to the JSON property `lastModified`
|
403
369
|
# @return [Google::Apis::AndroidpublisherV3::Timestamp]
|
404
370
|
attr_accessor :last_modified
|
@@ -419,16 +385,16 @@ module Google
|
|
419
385
|
end
|
420
386
|
end
|
421
387
|
|
422
|
-
#
|
388
|
+
# Characteristics of the user's device.
|
423
389
|
class DeviceMetadata
|
424
390
|
include Google::Apis::Core::Hashable
|
425
391
|
|
426
|
-
# Device CPU make e.g. "Qualcomm"
|
392
|
+
# Device CPU make, e.g. "Qualcomm"
|
427
393
|
# Corresponds to the JSON property `cpuMake`
|
428
394
|
# @return [String]
|
429
395
|
attr_accessor :cpu_make
|
430
396
|
|
431
|
-
# Device CPU model e.g. "MSM8974"
|
397
|
+
# Device CPU model, e.g. "MSM8974"
|
432
398
|
# Corresponds to the JSON property `cpuModel`
|
433
399
|
# @return [String]
|
434
400
|
attr_accessor :cpu_model
|
@@ -458,7 +424,7 @@ module Google
|
|
458
424
|
# @return [String]
|
459
425
|
attr_accessor :product_name
|
460
426
|
|
461
|
-
# Device RAM in Megabytes e.g. "2048"
|
427
|
+
# Device RAM in Megabytes, e.g. "2048"
|
462
428
|
# Corresponds to the JSON property `ramMb`
|
463
429
|
# @return [Fixnum]
|
464
430
|
attr_accessor :ram_mb
|
@@ -498,50 +464,19 @@ module Google
|
|
498
464
|
end
|
499
465
|
end
|
500
466
|
|
501
|
-
#
|
502
|
-
class DeviceSpec
|
503
|
-
include Google::Apis::Core::Hashable
|
504
|
-
|
505
|
-
#
|
506
|
-
# Corresponds to the JSON property `screenDensity`
|
507
|
-
# @return [Fixnum]
|
508
|
-
attr_accessor :screen_density
|
509
|
-
|
510
|
-
#
|
511
|
-
# Corresponds to the JSON property `supportedAbis`
|
512
|
-
# @return [Array<String>]
|
513
|
-
attr_accessor :supported_abis
|
514
|
-
|
515
|
-
#
|
516
|
-
# Corresponds to the JSON property `supportedLocales`
|
517
|
-
# @return [Array<String>]
|
518
|
-
attr_accessor :supported_locales
|
519
|
-
|
520
|
-
def initialize(**args)
|
521
|
-
update!(**args)
|
522
|
-
end
|
523
|
-
|
524
|
-
# Update properties of this object
|
525
|
-
def update!(**args)
|
526
|
-
@screen_density = args[:screen_density] if args.key?(:screen_density)
|
527
|
-
@supported_abis = args[:supported_abis] if args.key?(:supported_abis)
|
528
|
-
@supported_locales = args[:supported_locales] if args.key?(:supported_locales)
|
529
|
-
end
|
530
|
-
end
|
531
|
-
|
532
|
-
#
|
467
|
+
# An expansion file. The resource for ExpansionFilesService.
|
533
468
|
class ExpansionFile
|
534
469
|
include Google::Apis::Core::Hashable
|
535
470
|
|
536
|
-
# If set this field indicates that this APK has an
|
537
|
-
# this APK does not reference another APK's
|
538
|
-
# is the size of the uploaded
|
471
|
+
# If set, this field indicates that this APK has an expansion file uploaded
|
472
|
+
# to it: this APK does not reference another APK's expansion file.
|
473
|
+
# The field's value is the size of the uploaded expansion file in bytes.
|
539
474
|
# Corresponds to the JSON property `fileSize`
|
540
475
|
# @return [Fixnum]
|
541
476
|
attr_accessor :file_size
|
542
477
|
|
543
|
-
# If set this APK's
|
544
|
-
# file_size field will not be set.
|
478
|
+
# If set, this APK's expansion file references another APK's expansion file.
|
479
|
+
# The file_size field will not be set.
|
545
480
|
# Corresponds to the JSON property `referencesVersion`
|
546
481
|
# @return [Fixnum]
|
547
482
|
attr_accessor :references_version
|
@@ -557,11 +492,11 @@ module Google
|
|
557
492
|
end
|
558
493
|
end
|
559
494
|
|
560
|
-
#
|
495
|
+
# Response for uploading an expansion file.
|
561
496
|
class ExpansionFilesUploadResponse
|
562
497
|
include Google::Apis::Core::Hashable
|
563
498
|
|
564
|
-
#
|
499
|
+
# An expansion file. The resource for ExpansionFilesService.
|
565
500
|
# Corresponds to the JSON property `expansionFile`
|
566
501
|
# @return [Google::Apis::AndroidpublisherV3::ExpansionFile]
|
567
502
|
attr_accessor :expansion_file
|
@@ -576,10 +511,10 @@ module Google
|
|
576
511
|
end
|
577
512
|
end
|
578
513
|
|
579
|
-
# Defines an APK available for this application that is hosted externally
|
580
|
-
# not uploaded to Google Play.
|
581
|
-
#
|
582
|
-
#
|
514
|
+
# Defines an APK available for this application that is hosted externally
|
515
|
+
# and not uploaded to Google Play.
|
516
|
+
# This function is only available to organizations using Managed Play whose
|
517
|
+
# application is configured to restrict distribution to the organizations.
|
583
518
|
class ExternallyHostedApk
|
584
519
|
include Google::Apis::Core::Hashable
|
585
520
|
|
@@ -588,8 +523,8 @@ module Google
|
|
588
523
|
# @return [String]
|
589
524
|
attr_accessor :application_label
|
590
525
|
|
591
|
-
# A certificate (or array of certificates if a certificate-chain is used)
|
592
|
-
# to
|
526
|
+
# A certificate (or array of certificates if a certificate-chain is used)
|
527
|
+
# used to sign this APK, represented as a base64 encoded byte array.
|
593
528
|
# Corresponds to the JSON property `certificateBase64s`
|
594
529
|
# @return [Array<String>]
|
595
530
|
attr_accessor :certificate_base64s
|
@@ -599,12 +534,14 @@ module Google
|
|
599
534
|
# @return [String]
|
600
535
|
attr_accessor :externally_hosted_url
|
601
536
|
|
602
|
-
# The
|
537
|
+
# The sha1 checksum of this APK, represented as a base64 encoded byte
|
538
|
+
# array.
|
603
539
|
# Corresponds to the JSON property `fileSha1Base64`
|
604
540
|
# @return [String]
|
605
541
|
attr_accessor :file_sha1_base64
|
606
542
|
|
607
|
-
# The
|
543
|
+
# The sha256 checksum of this APK, represented as a base64 encoded byte
|
544
|
+
# array.
|
608
545
|
# Corresponds to the JSON property `fileSha256Base64`
|
609
546
|
# @return [String]
|
610
547
|
attr_accessor :file_sha256_base64
|
@@ -646,7 +583,7 @@ module Google
|
|
646
583
|
|
647
584
|
# The permissions requested by this APK.
|
648
585
|
# Corresponds to the JSON property `usesPermissions`
|
649
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::
|
586
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::UsesPermission>]
|
650
587
|
attr_accessor :uses_permissions
|
651
588
|
|
652
589
|
# The version code of this APK.
|
@@ -683,32 +620,7 @@ module Google
|
|
683
620
|
end
|
684
621
|
end
|
685
622
|
|
686
|
-
#
|
687
|
-
class ExternallyHostedApkUsesPermission
|
688
|
-
include Google::Apis::Core::Hashable
|
689
|
-
|
690
|
-
# Optionally, the maximum SDK version for which the permission is required.
|
691
|
-
# Corresponds to the JSON property `maxSdkVersion`
|
692
|
-
# @return [Fixnum]
|
693
|
-
attr_accessor :max_sdk_version
|
694
|
-
|
695
|
-
# The name of the permission requested.
|
696
|
-
# Corresponds to the JSON property `name`
|
697
|
-
# @return [String]
|
698
|
-
attr_accessor :name
|
699
|
-
|
700
|
-
def initialize(**args)
|
701
|
-
update!(**args)
|
702
|
-
end
|
703
|
-
|
704
|
-
# Update properties of this object
|
705
|
-
def update!(**args)
|
706
|
-
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
707
|
-
@name = args[:name] if args.key?(:name)
|
708
|
-
end
|
709
|
-
end
|
710
|
-
|
711
|
-
#
|
623
|
+
# An uploaded image. The resource for ImagesService.
|
712
624
|
class Image
|
713
625
|
include Google::Apis::Core::Hashable
|
714
626
|
|
@@ -717,12 +629,12 @@ module Google
|
|
717
629
|
# @return [String]
|
718
630
|
attr_accessor :id
|
719
631
|
|
720
|
-
# A sha1 hash of the image
|
632
|
+
# A sha1 hash of the image.
|
721
633
|
# Corresponds to the JSON property `sha1`
|
722
634
|
# @return [String]
|
723
635
|
attr_accessor :sha1
|
724
636
|
|
725
|
-
# A sha256 hash of the image
|
637
|
+
# A sha256 hash of the image.
|
726
638
|
# Corresponds to the JSON property `sha256`
|
727
639
|
# @return [String]
|
728
640
|
attr_accessor :sha256
|
@@ -745,11 +657,11 @@ module Google
|
|
745
657
|
end
|
746
658
|
end
|
747
659
|
|
748
|
-
#
|
660
|
+
# Response for deleting all images.
|
749
661
|
class ImagesDeleteAllResponse
|
750
662
|
include Google::Apis::Core::Hashable
|
751
663
|
|
752
|
-
#
|
664
|
+
# The deleted images.
|
753
665
|
# Corresponds to the JSON property `deleted`
|
754
666
|
# @return [Array<Google::Apis::AndroidpublisherV3::Image>]
|
755
667
|
attr_accessor :deleted
|
@@ -764,11 +676,11 @@ module Google
|
|
764
676
|
end
|
765
677
|
end
|
766
678
|
|
767
|
-
#
|
679
|
+
# Response listing all images.
|
768
680
|
class ImagesListResponse
|
769
681
|
include Google::Apis::Core::Hashable
|
770
682
|
|
771
|
-
#
|
683
|
+
# All listed Images.
|
772
684
|
# Corresponds to the JSON property `images`
|
773
685
|
# @return [Array<Google::Apis::AndroidpublisherV3::Image>]
|
774
686
|
attr_accessor :images
|
@@ -783,11 +695,11 @@ module Google
|
|
783
695
|
end
|
784
696
|
end
|
785
697
|
|
786
|
-
#
|
698
|
+
# Response for uploading an image.
|
787
699
|
class ImagesUploadResponse
|
788
700
|
include Google::Apis::Core::Hashable
|
789
701
|
|
790
|
-
#
|
702
|
+
# An uploaded image. The resource for ImagesService.
|
791
703
|
# Corresponds to the JSON property `image`
|
792
704
|
# @return [Google::Apis::AndroidpublisherV3::Image]
|
793
705
|
attr_accessor :image
|
@@ -802,71 +714,70 @@ module Google
|
|
802
714
|
end
|
803
715
|
end
|
804
716
|
|
805
|
-
#
|
717
|
+
# An in-app product. The resource for InappproductsService.
|
806
718
|
class InAppProduct
|
807
719
|
include Google::Apis::Core::Hashable
|
808
720
|
|
809
|
-
#
|
810
|
-
# "en-GB".
|
721
|
+
# Default language of the localized data, as defined by BCP-47. e.g. "en-US".
|
811
722
|
# Corresponds to the JSON property `defaultLanguage`
|
812
723
|
# @return [String]
|
813
724
|
attr_accessor :default_language
|
814
725
|
|
815
|
-
#
|
816
|
-
# is always in the developer's Checkout merchant currency.
|
726
|
+
# Definition of a price, i.e. currency and units.
|
817
727
|
# Corresponds to the JSON property `defaultPrice`
|
818
728
|
# @return [Google::Apis::AndroidpublisherV3::Price]
|
819
729
|
attr_accessor :default_price
|
820
730
|
|
821
|
-
# Grace period of the subscription, specified in ISO 8601 format.
|
822
|
-
# developers to give their subscribers a grace period when the payment
|
823
|
-
# new recurrence period is declined.
|
824
|
-
#
|
731
|
+
# Grace period of the subscription, specified in ISO 8601 format. Allows
|
732
|
+
# developers to give their subscribers a grace period when the payment
|
733
|
+
# for the new recurrence period is declined.
|
734
|
+
# Acceptable values are P0D (zero days), P3D (three days), P7D (seven days),
|
735
|
+
# P14D (14 days), and P30D (30 days).
|
825
736
|
# Corresponds to the JSON property `gracePeriod`
|
826
737
|
# @return [String]
|
827
738
|
attr_accessor :grace_period
|
828
739
|
|
829
|
-
# List of localized title and description data.
|
740
|
+
# List of localized title and description data. Map key is the language of
|
741
|
+
# the localized data, as defined by BCP-47, e.g. "en-US".
|
830
742
|
# Corresponds to the JSON property `listings`
|
831
743
|
# @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
|
832
744
|
attr_accessor :listings
|
833
745
|
|
834
|
-
#
|
746
|
+
# Package name of the parent app.
|
835
747
|
# Corresponds to the JSON property `packageName`
|
836
748
|
# @return [String]
|
837
749
|
attr_accessor :package_name
|
838
750
|
|
839
|
-
# Prices per buyer region. None of these
|
840
|
-
#
|
751
|
+
# Prices per buyer region. None of these can be zero, as in-app products are
|
752
|
+
# never free. Map key is region code, as defined by ISO 3166-2.
|
841
753
|
# Corresponds to the JSON property `prices`
|
842
754
|
# @return [Hash<String,Google::Apis::AndroidpublisherV3::Price>]
|
843
755
|
attr_accessor :prices
|
844
756
|
|
845
|
-
#
|
757
|
+
# The type of the product, e.g. a recurring subscription.
|
846
758
|
# Corresponds to the JSON property `purchaseType`
|
847
759
|
# @return [String]
|
848
760
|
attr_accessor :purchase_type
|
849
761
|
|
850
|
-
#
|
762
|
+
# Stock-keeping-unit (SKU) of the product, unique within an app.
|
851
763
|
# Corresponds to the JSON property `sku`
|
852
764
|
# @return [String]
|
853
765
|
attr_accessor :sku
|
854
766
|
|
855
|
-
#
|
767
|
+
# The status of the product, e.g. whether it's active.
|
856
768
|
# Corresponds to the JSON property `status`
|
857
769
|
# @return [String]
|
858
770
|
attr_accessor :status
|
859
771
|
|
860
|
-
# Subscription period, specified in ISO 8601 format. Acceptable values are
|
861
|
-
# (one week),
|
862
|
-
# P1Y
|
772
|
+
# Subscription period, specified in ISO 8601 format. Acceptable values are
|
773
|
+
# P1W (one week), P1M (one month), P3M (three months), P6M (six months),
|
774
|
+
# and P1Y (one year).
|
863
775
|
# Corresponds to the JSON property `subscriptionPeriod`
|
864
776
|
# @return [String]
|
865
777
|
attr_accessor :subscription_period
|
866
778
|
|
867
779
|
# Trial period, specified in ISO 8601 format. Acceptable values are anything
|
868
|
-
# between
|
869
|
-
# cannot have a trial period.
|
780
|
+
# between P7D (seven days) and P999D (999 days).
|
870
781
|
# Corresponds to the JSON property `trialPeriod`
|
871
782
|
# @return [String]
|
872
783
|
attr_accessor :trial_period
|
@@ -891,16 +802,21 @@ module Google
|
|
891
802
|
end
|
892
803
|
end
|
893
804
|
|
894
|
-
#
|
805
|
+
# Store listing of a single in-app product.
|
895
806
|
class InAppProductListing
|
896
807
|
include Google::Apis::Core::Hashable
|
897
808
|
|
898
|
-
#
|
809
|
+
# Localized entitlement benefits for a subscription.
|
810
|
+
# Corresponds to the JSON property `benefits`
|
811
|
+
# @return [Array<String>]
|
812
|
+
attr_accessor :benefits
|
813
|
+
|
814
|
+
# Description for the store listing.
|
899
815
|
# Corresponds to the JSON property `description`
|
900
816
|
# @return [String]
|
901
817
|
attr_accessor :description
|
902
818
|
|
903
|
-
#
|
819
|
+
# Title for the store listing.
|
904
820
|
# Corresponds to the JSON property `title`
|
905
821
|
# @return [String]
|
906
822
|
attr_accessor :title
|
@@ -911,32 +827,42 @@ module Google
|
|
911
827
|
|
912
828
|
# Update properties of this object
|
913
829
|
def update!(**args)
|
830
|
+
@benefits = args[:benefits] if args.key?(:benefits)
|
914
831
|
@description = args[:description] if args.key?(:description)
|
915
832
|
@title = args[:title] if args.key?(:title)
|
916
833
|
end
|
917
834
|
end
|
918
835
|
|
919
|
-
#
|
836
|
+
# Response listing all in-app products.
|
920
837
|
class InappproductsListResponse
|
921
838
|
include Google::Apis::Core::Hashable
|
922
839
|
|
923
|
-
#
|
840
|
+
# All in-app products.
|
924
841
|
# Corresponds to the JSON property `inappproduct`
|
925
842
|
# @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
|
926
843
|
attr_accessor :inappproduct
|
927
844
|
|
928
|
-
#
|
929
|
-
# androidpublisher#inappproductsListResponse".
|
845
|
+
# The kind of this response ("androidpublisher#inappproductsListResponse").
|
930
846
|
# Corresponds to the JSON property `kind`
|
931
847
|
# @return [String]
|
932
848
|
attr_accessor :kind
|
933
849
|
|
934
|
-
#
|
850
|
+
# Information about the current page.
|
851
|
+
# List operations that supports paging return only one "page" of results. This
|
852
|
+
# protocol buffer message describes the page that has been returned.
|
935
853
|
# Corresponds to the JSON property `pageInfo`
|
936
854
|
# @return [Google::Apis::AndroidpublisherV3::PageInfo]
|
937
855
|
attr_accessor :page_info
|
938
856
|
|
939
|
-
#
|
857
|
+
# Pagination information returned by a List operation when token pagination
|
858
|
+
# is enabled.
|
859
|
+
# List operations that supports paging return only one "page" of results. This
|
860
|
+
# protocol buffer message describes the page that has been returned.
|
861
|
+
# When using token pagination, clients should use the next/previous token
|
862
|
+
# to get another page of the result. The presence or absence of next/previous
|
863
|
+
# token indicates whether a next/previous page is available and provides a
|
864
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
865
|
+
# next_page_token or previous_page_token to access another page.
|
940
866
|
# Corresponds to the JSON property `tokenPagination`
|
941
867
|
# @return [Google::Apis::AndroidpublisherV3::TokenPagination]
|
942
868
|
attr_accessor :token_pagination
|
@@ -954,25 +880,26 @@ module Google
|
|
954
880
|
end
|
955
881
|
end
|
956
882
|
|
957
|
-
# An artifact resource which gets created when uploading an APK or Android
|
958
|
-
# Bundle through internal app sharing.
|
883
|
+
# An artifact resource which gets created when uploading an APK or Android
|
884
|
+
# App Bundle through internal app sharing.
|
959
885
|
class InternalAppSharingArtifact
|
960
886
|
include Google::Apis::Core::Hashable
|
961
887
|
|
962
|
-
# The
|
888
|
+
# The sha256 fingerprint of the certificate used to sign the generated
|
963
889
|
# artifact.
|
964
890
|
# Corresponds to the JSON property `certificateFingerprint`
|
965
891
|
# @return [String]
|
966
892
|
attr_accessor :certificate_fingerprint
|
967
893
|
|
968
|
-
# The download URL generated for the uploaded artifact.
|
969
|
-
# authorized to download can follow the link to the Play
|
894
|
+
# The download URL generated for the uploaded artifact.
|
895
|
+
# Users that are authorized to download can follow the link to the Play
|
896
|
+
# Store app to install it.
|
970
897
|
# Corresponds to the JSON property `downloadUrl`
|
971
898
|
# @return [String]
|
972
899
|
attr_accessor :download_url
|
973
900
|
|
974
|
-
# The
|
975
|
-
# matching the output of the sha256sum command.
|
901
|
+
# The sha256 hash of the artifact represented as a lowercase hexadecimal
|
902
|
+
# number, matching the output of the sha256sum command.
|
976
903
|
# Corresponds to the JSON property `sha256`
|
977
904
|
# @return [String]
|
978
905
|
attr_accessor :sha256
|
@@ -993,17 +920,18 @@ module Google
|
|
993
920
|
class IntroductoryPriceInfo
|
994
921
|
include Google::Apis::Core::Hashable
|
995
922
|
|
996
|
-
# Introductory price of the subscription, not including tax.
|
997
|
-
# same as price_currency_code. Price is
|
998
|
-
# 000 micro-units represents one unit
|
999
|
-
# subscription price is €1.99,
|
923
|
+
# Introductory price of the subscription, not including tax.
|
924
|
+
# The currency is the same as price_currency_code. Price is
|
925
|
+
# expressed in micro-units, where 1,000,000 micro-units represents one unit
|
926
|
+
# of the currency. For example, if the subscription price is €1.99,
|
927
|
+
# price_amount_micros is 1990000.
|
1000
928
|
# Corresponds to the JSON property `introductoryPriceAmountMicros`
|
1001
929
|
# @return [Fixnum]
|
1002
930
|
attr_accessor :introductory_price_amount_micros
|
1003
931
|
|
1004
|
-
# ISO 4217 currency code for the introductory subscription price.
|
1005
|
-
# if the price is specified in British pounds sterling,
|
1006
|
-
# GBP".
|
932
|
+
# ISO 4217 currency code for the introductory subscription price.
|
933
|
+
# For example, if the price is specified in British pounds sterling,
|
934
|
+
# price_currency_code is "GBP".
|
1007
935
|
# Corresponds to the JSON property `introductoryPriceCurrencyCode`
|
1008
936
|
# @return [String]
|
1009
937
|
attr_accessor :introductory_price_currency_code
|
@@ -1013,9 +941,10 @@ module Google
|
|
1013
941
|
# @return [Fixnum]
|
1014
942
|
attr_accessor :introductory_price_cycles
|
1015
943
|
|
1016
|
-
# Introductory price period, specified in ISO 8601 format.
|
1017
|
-
# but not limited to) "P1W" (one
|
1018
|
-
# "
|
944
|
+
# Introductory price period, specified in ISO 8601 format.
|
945
|
+
# Common values are (but not limited to) "P1W" (one
|
946
|
+
# week), "P1M" (one month), "P3M" (three months), "P6M" (six months),
|
947
|
+
# and "P1Y" (one year).
|
1019
948
|
# Corresponds to the JSON property `introductoryPricePeriod`
|
1020
949
|
# @return [String]
|
1021
950
|
attr_accessor :introductory_price_period
|
@@ -1033,27 +962,27 @@ module Google
|
|
1033
962
|
end
|
1034
963
|
end
|
1035
964
|
|
1036
|
-
#
|
965
|
+
# A localized store listing. The resource for ListingsService.
|
1037
966
|
class Listing
|
1038
967
|
include Google::Apis::Core::Hashable
|
1039
968
|
|
1040
|
-
# Full description of the app
|
969
|
+
# Full description of the app.
|
1041
970
|
# Corresponds to the JSON property `fullDescription`
|
1042
971
|
# @return [String]
|
1043
972
|
attr_accessor :full_description
|
1044
973
|
|
1045
|
-
# Language localization code (for example, "de-AT"
|
974
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
975
|
+
# for Austrian German).
|
1046
976
|
# Corresponds to the JSON property `language`
|
1047
977
|
# @return [String]
|
1048
978
|
attr_accessor :language
|
1049
979
|
|
1050
|
-
# Short description of the app
|
1051
|
-
# to 80 characters in length.
|
980
|
+
# Short description of the app.
|
1052
981
|
# Corresponds to the JSON property `shortDescription`
|
1053
982
|
# @return [String]
|
1054
983
|
attr_accessor :short_description
|
1055
984
|
|
1056
|
-
#
|
985
|
+
# Localized title of the app.
|
1057
986
|
# Corresponds to the JSON property `title`
|
1058
987
|
# @return [String]
|
1059
988
|
attr_accessor :title
|
@@ -1077,17 +1006,16 @@ module Google
|
|
1077
1006
|
end
|
1078
1007
|
end
|
1079
1008
|
|
1080
|
-
#
|
1009
|
+
# Response listing all localized listings.
|
1081
1010
|
class ListingsListResponse
|
1082
1011
|
include Google::Apis::Core::Hashable
|
1083
1012
|
|
1084
|
-
#
|
1085
|
-
# androidpublisher#listingsListResponse".
|
1013
|
+
# The kind of this response ("androidpublisher#listingsListResponse").
|
1086
1014
|
# Corresponds to the JSON property `kind`
|
1087
1015
|
# @return [String]
|
1088
1016
|
attr_accessor :kind
|
1089
1017
|
|
1090
|
-
#
|
1018
|
+
# All localized listings.
|
1091
1019
|
# Corresponds to the JSON property `listings`
|
1092
1020
|
# @return [Array<Google::Apis::AndroidpublisherV3::Listing>]
|
1093
1021
|
attr_accessor :listings
|
@@ -1103,16 +1031,17 @@ module Google
|
|
1103
1031
|
end
|
1104
1032
|
end
|
1105
1033
|
|
1106
|
-
#
|
1034
|
+
# Release notes specification, i.e. language and text.
|
1107
1035
|
class LocalizedText
|
1108
1036
|
include Google::Apis::Core::Hashable
|
1109
1037
|
|
1110
|
-
#
|
1038
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
1039
|
+
# for Austrian German).
|
1111
1040
|
# Corresponds to the JSON property `language`
|
1112
1041
|
# @return [String]
|
1113
1042
|
attr_accessor :language
|
1114
1043
|
|
1115
|
-
# The text in the given
|
1044
|
+
# The text in the given language.
|
1116
1045
|
# Corresponds to the JSON property `text`
|
1117
1046
|
# @return [String]
|
1118
1047
|
attr_accessor :text
|
@@ -1128,46 +1057,25 @@ module Google
|
|
1128
1057
|
end
|
1129
1058
|
end
|
1130
1059
|
|
1131
|
-
#
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
#
|
1136
|
-
# Corresponds to the JSON property `end`
|
1137
|
-
# @return [Fixnum]
|
1138
|
-
attr_accessor :end
|
1139
|
-
|
1140
|
-
#
|
1141
|
-
# Corresponds to the JSON property `start`
|
1142
|
-
# @return [Fixnum]
|
1143
|
-
attr_accessor :start
|
1144
|
-
|
1145
|
-
def initialize(**args)
|
1146
|
-
update!(**args)
|
1147
|
-
end
|
1148
|
-
|
1149
|
-
# Update properties of this object
|
1150
|
-
def update!(**args)
|
1151
|
-
@end = args[:end] if args.key?(:end)
|
1152
|
-
@start = args[:start] if args.key?(:start)
|
1153
|
-
end
|
1154
|
-
end
|
1155
|
-
|
1156
|
-
#
|
1060
|
+
# Information about the current page.
|
1061
|
+
# List operations that supports paging return only one "page" of results. This
|
1062
|
+
# protocol buffer message describes the page that has been returned.
|
1157
1063
|
class PageInfo
|
1158
1064
|
include Google::Apis::Core::Hashable
|
1159
1065
|
|
1160
|
-
#
|
1066
|
+
# Maximum number of results returned in one page.
|
1067
|
+
# ! The number of results included in the API response.
|
1161
1068
|
# Corresponds to the JSON property `resultPerPage`
|
1162
1069
|
# @return [Fixnum]
|
1163
1070
|
attr_accessor :result_per_page
|
1164
1071
|
|
1165
|
-
#
|
1072
|
+
# Index of the first result returned in the current page.
|
1166
1073
|
# Corresponds to the JSON property `startIndex`
|
1167
1074
|
# @return [Fixnum]
|
1168
1075
|
attr_accessor :start_index
|
1169
1076
|
|
1170
|
-
#
|
1077
|
+
# Total number of results available on the backend
|
1078
|
+
# ! The total number of results in the result set.
|
1171
1079
|
# Corresponds to the JSON property `totalResults`
|
1172
1080
|
# @return [Fixnum]
|
1173
1081
|
attr_accessor :total_results
|
@@ -1184,16 +1092,17 @@ module Google
|
|
1184
1092
|
end
|
1185
1093
|
end
|
1186
1094
|
|
1187
|
-
#
|
1095
|
+
# Definition of a price, i.e. currency and units.
|
1188
1096
|
class Price
|
1189
1097
|
include Google::Apis::Core::Hashable
|
1190
1098
|
|
1191
1099
|
# 3 letter Currency code, as defined by ISO 4217.
|
1100
|
+
# See java/com/google/common/money/CurrencyCode.java
|
1192
1101
|
# Corresponds to the JSON property `currency`
|
1193
1102
|
# @return [String]
|
1194
1103
|
attr_accessor :currency
|
1195
1104
|
|
1196
|
-
#
|
1105
|
+
# Price in 1/million of the currency base unit, represented as a string.
|
1197
1106
|
# Corresponds to the JSON property `priceMicros`
|
1198
1107
|
# @return [String]
|
1199
1108
|
attr_accessor :price_micros
|
@@ -1209,36 +1118,55 @@ module Google
|
|
1209
1118
|
end
|
1210
1119
|
end
|
1211
1120
|
|
1212
|
-
# A ProductPurchase resource indicates the status of a user's inapp
|
1213
|
-
# purchase.
|
1121
|
+
# A ProductPurchase resource indicates the status of a user's inapp
|
1122
|
+
# product purchase.
|
1214
1123
|
class ProductPurchase
|
1215
1124
|
include Google::Apis::Core::Hashable
|
1216
1125
|
|
1217
1126
|
# The acknowledgement state of the inapp product. Possible values are:
|
1218
|
-
#
|
1219
|
-
#
|
1127
|
+
# 0. Yet to be acknowledged
|
1128
|
+
# 1. Acknowledged
|
1220
1129
|
# Corresponds to the JSON property `acknowledgementState`
|
1221
1130
|
# @return [Fixnum]
|
1222
1131
|
attr_accessor :acknowledgement_state
|
1223
1132
|
|
1224
1133
|
# The consumption state of the inapp product. Possible values are:
|
1225
|
-
#
|
1226
|
-
#
|
1134
|
+
# 0. Yet to be consumed
|
1135
|
+
# 1. Consumed
|
1227
1136
|
# Corresponds to the JSON property `consumptionState`
|
1228
1137
|
# @return [Fixnum]
|
1229
1138
|
attr_accessor :consumption_state
|
1230
1139
|
|
1231
|
-
# A developer-specified string that contains supplemental
|
1232
|
-
# order.
|
1140
|
+
# A developer-specified string that contains supplemental
|
1141
|
+
# information about an order.
|
1233
1142
|
# Corresponds to the JSON property `developerPayload`
|
1234
1143
|
# @return [String]
|
1235
1144
|
attr_accessor :developer_payload
|
1236
1145
|
|
1237
|
-
# This kind represents an inappPurchase object in the androidpublisher
|
1146
|
+
# This kind represents an inappPurchase object in the androidpublisher
|
1147
|
+
# service.
|
1238
1148
|
# Corresponds to the JSON property `kind`
|
1239
1149
|
# @return [String]
|
1240
1150
|
attr_accessor :kind
|
1241
1151
|
|
1152
|
+
# An obfuscated version of the id that is uniquely associated with the
|
1153
|
+
# user's account in your app. Only present if specified using
|
1154
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
1155
|
+
# BillingFlowParams.Builder#setobfuscatedaccountid
|
1156
|
+
# when the purchase was made.
|
1157
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
1158
|
+
# @return [String]
|
1159
|
+
attr_accessor :obfuscated_external_account_id
|
1160
|
+
|
1161
|
+
# An obfuscated version of the id that is uniquely associated with the
|
1162
|
+
# user's profile in your app. Only present if specified using
|
1163
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
1164
|
+
# BillingFlowParams.Builder#setobfuscatedprofileid
|
1165
|
+
# when the purchase was made.
|
1166
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
1167
|
+
# @return [String]
|
1168
|
+
attr_accessor :obfuscated_external_profile_id
|
1169
|
+
|
1242
1170
|
# The order id associated with the purchase of the inapp product.
|
1243
1171
|
# Corresponds to the JSON property `orderId`
|
1244
1172
|
# @return [String]
|
@@ -1250,15 +1178,15 @@ module Google
|
|
1250
1178
|
attr_accessor :product_id
|
1251
1179
|
|
1252
1180
|
# The purchase state of the order. Possible values are:
|
1253
|
-
#
|
1254
|
-
#
|
1255
|
-
#
|
1181
|
+
# 0. Purchased
|
1182
|
+
# 1. Canceled
|
1183
|
+
# 2. Pending
|
1256
1184
|
# Corresponds to the JSON property `purchaseState`
|
1257
1185
|
# @return [Fixnum]
|
1258
1186
|
attr_accessor :purchase_state
|
1259
1187
|
|
1260
|
-
# The time the product was purchased, in milliseconds since the
|
1261
|
-
# 1970).
|
1188
|
+
# The time the product was purchased, in milliseconds since the
|
1189
|
+
# epoch (Jan 1, 1970).
|
1262
1190
|
# Corresponds to the JSON property `purchaseTimeMillis`
|
1263
1191
|
# @return [Fixnum]
|
1264
1192
|
attr_accessor :purchase_time_millis
|
@@ -1268,12 +1196,12 @@ module Google
|
|
1268
1196
|
# @return [String]
|
1269
1197
|
attr_accessor :purchase_token
|
1270
1198
|
|
1271
|
-
# The type of purchase of the inapp product. This field is only set if
|
1272
|
-
# purchase was not made using the standard in-app billing flow.
|
1273
|
-
# are:
|
1274
|
-
#
|
1275
|
-
#
|
1276
|
-
#
|
1199
|
+
# The type of purchase of the inapp product. This field is only set if
|
1200
|
+
# this purchase was not made using the standard in-app billing flow.
|
1201
|
+
# Possible values are:
|
1202
|
+
# 0. Test (i.e. purchased from a license testing account)
|
1203
|
+
# 1. Promo (i.e. purchased using a promo code)
|
1204
|
+
# 2. Rewarded (i.e. from watching a video ad instead of paying)
|
1277
1205
|
# Corresponds to the JSON property `purchaseType`
|
1278
1206
|
# @return [Fixnum]
|
1279
1207
|
attr_accessor :purchase_type
|
@@ -1293,6 +1221,8 @@ module Google
|
|
1293
1221
|
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
1294
1222
|
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
1295
1223
|
@kind = args[:kind] if args.key?(:kind)
|
1224
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
1225
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
1296
1226
|
@order_id = args[:order_id] if args.key?(:order_id)
|
1297
1227
|
@product_id = args[:product_id] if args.key?(:product_id)
|
1298
1228
|
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
@@ -1303,7 +1233,7 @@ module Google
|
|
1303
1233
|
end
|
1304
1234
|
end
|
1305
1235
|
|
1306
|
-
#
|
1236
|
+
# Request for the product.purchases.acknowledge API.
|
1307
1237
|
class ProductPurchasesAcknowledgeRequest
|
1308
1238
|
include Google::Apis::Core::Hashable
|
1309
1239
|
|
@@ -1322,7 +1252,7 @@ module Google
|
|
1322
1252
|
end
|
1323
1253
|
end
|
1324
1254
|
|
1325
|
-
#
|
1255
|
+
# An Android app review.
|
1326
1256
|
class Review
|
1327
1257
|
include Google::Apis::Core::Hashable
|
1328
1258
|
|
@@ -1353,11 +1283,14 @@ module Google
|
|
1353
1283
|
end
|
1354
1284
|
end
|
1355
1285
|
|
1356
|
-
#
|
1286
|
+
# The result of replying/updating a reply to review.
|
1357
1287
|
class ReviewReplyResult
|
1358
1288
|
include Google::Apis::Core::Hashable
|
1359
1289
|
|
1360
|
-
#
|
1290
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
1291
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
1292
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
1293
|
+
# January 1, 1970.
|
1361
1294
|
# Corresponds to the JSON property `lastEdited`
|
1362
1295
|
# @return [Google::Apis::AndroidpublisherV3::Timestamp]
|
1363
1296
|
attr_accessor :last_edited
|
@@ -1378,21 +1311,31 @@ module Google
|
|
1378
1311
|
end
|
1379
1312
|
end
|
1380
1313
|
|
1381
|
-
#
|
1314
|
+
# Response listing reviews.
|
1382
1315
|
class ReviewsListResponse
|
1383
1316
|
include Google::Apis::Core::Hashable
|
1384
1317
|
|
1385
|
-
#
|
1318
|
+
# Information about the current page.
|
1319
|
+
# List operations that supports paging return only one "page" of results. This
|
1320
|
+
# protocol buffer message describes the page that has been returned.
|
1386
1321
|
# Corresponds to the JSON property `pageInfo`
|
1387
1322
|
# @return [Google::Apis::AndroidpublisherV3::PageInfo]
|
1388
1323
|
attr_accessor :page_info
|
1389
1324
|
|
1390
|
-
#
|
1325
|
+
# List of reviews.
|
1391
1326
|
# Corresponds to the JSON property `reviews`
|
1392
1327
|
# @return [Array<Google::Apis::AndroidpublisherV3::Review>]
|
1393
1328
|
attr_accessor :reviews
|
1394
1329
|
|
1395
|
-
#
|
1330
|
+
# Pagination information returned by a List operation when token pagination
|
1331
|
+
# is enabled.
|
1332
|
+
# List operations that supports paging return only one "page" of results. This
|
1333
|
+
# protocol buffer message describes the page that has been returned.
|
1334
|
+
# When using token pagination, clients should use the next/previous token
|
1335
|
+
# to get another page of the result. The presence or absence of next/previous
|
1336
|
+
# token indicates whether a next/previous page is available and provides a
|
1337
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
1338
|
+
# next_page_token or previous_page_token to access another page.
|
1396
1339
|
# Corresponds to the JSON property `tokenPagination`
|
1397
1340
|
# @return [Google::Apis::AndroidpublisherV3::TokenPagination]
|
1398
1341
|
attr_accessor :token_pagination
|
@@ -1409,7 +1352,7 @@ module Google
|
|
1409
1352
|
end
|
1410
1353
|
end
|
1411
1354
|
|
1412
|
-
#
|
1355
|
+
# Request to reply to review or update existing reply.
|
1413
1356
|
class ReviewsReplyRequest
|
1414
1357
|
include Google::Apis::Core::Hashable
|
1415
1358
|
|
@@ -1429,11 +1372,11 @@ module Google
|
|
1429
1372
|
end
|
1430
1373
|
end
|
1431
1374
|
|
1432
|
-
#
|
1375
|
+
# Response on status of replying to a review.
|
1433
1376
|
class ReviewsReplyResponse
|
1434
1377
|
include Google::Apis::Core::Hashable
|
1435
1378
|
|
1436
|
-
#
|
1379
|
+
# The result of replying/updating a reply to review.
|
1437
1380
|
# Corresponds to the JSON property `result`
|
1438
1381
|
# @return [Google::Apis::AndroidpublisherV3::ReviewReplyResult]
|
1439
1382
|
attr_accessor :result
|
@@ -1448,105 +1391,18 @@ module Google
|
|
1448
1391
|
end
|
1449
1392
|
end
|
1450
1393
|
|
1451
|
-
#
|
1452
|
-
class Sampling
|
1453
|
-
include Google::Apis::Core::Hashable
|
1454
|
-
|
1455
|
-
#
|
1456
|
-
# Corresponds to the JSON property `modRanges`
|
1457
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
|
1458
|
-
attr_accessor :mod_ranges
|
1459
|
-
|
1460
|
-
#
|
1461
|
-
# Corresponds to the JSON property `modulus`
|
1462
|
-
# @return [Fixnum]
|
1463
|
-
attr_accessor :modulus
|
1464
|
-
|
1465
|
-
#
|
1466
|
-
# Corresponds to the JSON property `salt`
|
1467
|
-
# @return [Fixnum]
|
1468
|
-
attr_accessor :salt
|
1469
|
-
|
1470
|
-
#
|
1471
|
-
# Corresponds to the JSON property `stratifiedSamplings`
|
1472
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
|
1473
|
-
attr_accessor :stratified_samplings
|
1474
|
-
|
1475
|
-
#
|
1476
|
-
# Corresponds to the JSON property `useAndroidId`
|
1477
|
-
# @return [Boolean]
|
1478
|
-
attr_accessor :use_android_id
|
1479
|
-
alias_method :use_android_id?, :use_android_id
|
1480
|
-
|
1481
|
-
def initialize(**args)
|
1482
|
-
update!(**args)
|
1483
|
-
end
|
1484
|
-
|
1485
|
-
# Update properties of this object
|
1486
|
-
def update!(**args)
|
1487
|
-
@mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
|
1488
|
-
@modulus = args[:modulus] if args.key?(:modulus)
|
1489
|
-
@salt = args[:salt] if args.key?(:salt)
|
1490
|
-
@stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
|
1491
|
-
@use_android_id = args[:use_android_id] if args.key?(:use_android_id)
|
1492
|
-
end
|
1493
|
-
end
|
1494
|
-
|
1495
|
-
#
|
1496
|
-
class StratifiedSampling
|
1497
|
-
include Google::Apis::Core::Hashable
|
1498
|
-
|
1499
|
-
#
|
1500
|
-
# Corresponds to the JSON property `modRanges`
|
1501
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
|
1502
|
-
attr_accessor :mod_ranges
|
1503
|
-
|
1504
|
-
#
|
1505
|
-
# Corresponds to the JSON property `stratum`
|
1506
|
-
# @return [Google::Apis::AndroidpublisherV3::Stratum]
|
1507
|
-
attr_accessor :stratum
|
1508
|
-
|
1509
|
-
def initialize(**args)
|
1510
|
-
update!(**args)
|
1511
|
-
end
|
1512
|
-
|
1513
|
-
# Update properties of this object
|
1514
|
-
def update!(**args)
|
1515
|
-
@mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
|
1516
|
-
@stratum = args[:stratum] if args.key?(:stratum)
|
1517
|
-
end
|
1518
|
-
end
|
1519
|
-
|
1520
|
-
#
|
1521
|
-
class Stratum
|
1522
|
-
include Google::Apis::Core::Hashable
|
1523
|
-
|
1524
|
-
#
|
1525
|
-
# Corresponds to the JSON property `brand`
|
1526
|
-
# @return [String]
|
1527
|
-
attr_accessor :brand
|
1528
|
-
|
1529
|
-
def initialize(**args)
|
1530
|
-
update!(**args)
|
1531
|
-
end
|
1532
|
-
|
1533
|
-
# Update properties of this object
|
1534
|
-
def update!(**args)
|
1535
|
-
@brand = args[:brand] if args.key?(:brand)
|
1536
|
-
end
|
1537
|
-
end
|
1538
|
-
|
1539
1394
|
# Information provided by the user when they complete the subscription
|
1540
1395
|
# cancellation flow (cancellation reason survey).
|
1541
1396
|
class SubscriptionCancelSurveyResult
|
1542
1397
|
include Google::Apis::Core::Hashable
|
1543
1398
|
|
1544
|
-
# The cancellation reason the user chose in the survey.
|
1545
|
-
#
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
# -
|
1399
|
+
# The cancellation reason the user chose in the survey.
|
1400
|
+
# Possible values are:
|
1401
|
+
# 0. Other
|
1402
|
+
# 1. I don't use this service enough
|
1403
|
+
# 2. Technical issues
|
1404
|
+
# 3. Cost-related reasons
|
1405
|
+
# 4. I found a better app
|
1550
1406
|
# Corresponds to the JSON property `cancelSurveyReason`
|
1551
1407
|
# @return [Fixnum]
|
1552
1408
|
attr_accessor :cancel_survey_reason
|
@@ -1568,20 +1424,21 @@ module Google
|
|
1568
1424
|
end
|
1569
1425
|
end
|
1570
1426
|
|
1571
|
-
# A SubscriptionDeferralInfo contains the data needed to defer a
|
1572
|
-
# purchase to a future expiry time.
|
1427
|
+
# A SubscriptionDeferralInfo contains the data needed to defer a
|
1428
|
+
# subscription purchase to a future expiry time.
|
1573
1429
|
class SubscriptionDeferralInfo
|
1574
1430
|
include Google::Apis::Core::Hashable
|
1575
1431
|
|
1576
|
-
# The desired next expiry time to assign to the subscription, in
|
1577
|
-
# since the Epoch. The given time must be later/greater
|
1578
|
-
# time for the subscription.
|
1432
|
+
# The desired next expiry time to assign to the subscription, in
|
1433
|
+
# milliseconds since the Epoch. The given time must be later/greater
|
1434
|
+
# than the current expiry time for the subscription.
|
1579
1435
|
# Corresponds to the JSON property `desiredExpiryTimeMillis`
|
1580
1436
|
# @return [Fixnum]
|
1581
1437
|
attr_accessor :desired_expiry_time_millis
|
1582
1438
|
|
1583
|
-
# The expected expiry time for the subscription.
|
1584
|
-
# the subscription is not the value specified
|
1439
|
+
# The expected expiry time for the subscription. If the current
|
1440
|
+
# expiry time for the subscription is not the value specified
|
1441
|
+
# here, the deferral will not occur.
|
1585
1442
|
# Corresponds to the JSON property `expectedExpiryTimeMillis`
|
1586
1443
|
# @return [Fixnum]
|
1587
1444
|
attr_accessor :expected_expiry_time_millis
|
@@ -1604,20 +1461,19 @@ module Google
|
|
1604
1461
|
class SubscriptionPriceChange
|
1605
1462
|
include Google::Apis::Core::Hashable
|
1606
1463
|
|
1607
|
-
#
|
1608
|
-
# by the user.
|
1464
|
+
# Definition of a price, i.e. currency and units.
|
1609
1465
|
# Corresponds to the JSON property `newPrice`
|
1610
1466
|
# @return [Google::Apis::AndroidpublisherV3::Price]
|
1611
1467
|
attr_accessor :new_price
|
1612
1468
|
|
1613
1469
|
# The current state of the price change. Possible values are:
|
1614
|
-
#
|
1615
|
-
# In this state, you can optionally seek confirmation from the
|
1616
|
-
# App API.
|
1617
|
-
#
|
1618
|
-
# renew with unless it's canceled. The price change takes effect on
|
1619
|
-
# date when the subscription renews. Note that the change might
|
1620
|
-
# the subscription is renewed next.
|
1470
|
+
# 0. Outstanding: State for a pending price change waiting for the user to
|
1471
|
+
# agree. In this state, you can optionally seek confirmation from the
|
1472
|
+
# user using the In-App API.
|
1473
|
+
# 1. Accepted: State for an accepted price change that the subscription
|
1474
|
+
# will renew with unless it's canceled. The price change takes effect on
|
1475
|
+
# a future date when the subscription renews. Note that the change might
|
1476
|
+
# not occur when the subscription is renewed next.
|
1621
1477
|
# Corresponds to the JSON property `state`
|
1622
1478
|
# @return [Fixnum]
|
1623
1479
|
attr_accessor :state
|
@@ -1633,39 +1489,40 @@ module Google
|
|
1633
1489
|
end
|
1634
1490
|
end
|
1635
1491
|
|
1636
|
-
# A SubscriptionPurchase resource indicates the status of a user's
|
1637
|
-
# purchase.
|
1492
|
+
# A SubscriptionPurchase resource indicates the status of a user's
|
1493
|
+
# subscription purchase.
|
1638
1494
|
class SubscriptionPurchase
|
1639
1495
|
include Google::Apis::Core::Hashable
|
1640
1496
|
|
1641
|
-
# The acknowledgement state of the subscription product. Possible values
|
1642
|
-
#
|
1643
|
-
#
|
1497
|
+
# The acknowledgement state of the subscription product. Possible values
|
1498
|
+
# are:
|
1499
|
+
# 0. Yet to be acknowledged
|
1500
|
+
# 1. Acknowledged
|
1644
1501
|
# Corresponds to the JSON property `acknowledgementState`
|
1645
1502
|
# @return [Fixnum]
|
1646
1503
|
attr_accessor :acknowledgement_state
|
1647
1504
|
|
1648
|
-
# Whether the subscription will automatically be renewed when it
|
1649
|
-
# current expiry time.
|
1505
|
+
# Whether the subscription will automatically be renewed when it
|
1506
|
+
# reaches its current expiry time.
|
1650
1507
|
# Corresponds to the JSON property `autoRenewing`
|
1651
1508
|
# @return [Boolean]
|
1652
1509
|
attr_accessor :auto_renewing
|
1653
1510
|
alias_method :auto_renewing?, :auto_renewing
|
1654
1511
|
|
1655
|
-
# Time at which the subscription will be automatically resumed, in
|
1656
|
-
# since the Epoch. Only present if the user has requested to
|
1657
|
-
# subscription.
|
1512
|
+
# Time at which the subscription will be automatically resumed, in
|
1513
|
+
# milliseconds since the Epoch. Only present if the user has requested to
|
1514
|
+
# pause the subscription.
|
1658
1515
|
# Corresponds to the JSON property `autoResumeTimeMillis`
|
1659
1516
|
# @return [Fixnum]
|
1660
1517
|
attr_accessor :auto_resume_time_millis
|
1661
1518
|
|
1662
|
-
# The reason why a subscription was canceled or is not auto-renewing.
|
1663
|
-
# values are:
|
1664
|
-
#
|
1665
|
-
#
|
1666
|
-
# problem
|
1667
|
-
#
|
1668
|
-
#
|
1519
|
+
# The reason why a subscription was canceled or is not auto-renewing.
|
1520
|
+
# Possible values are:
|
1521
|
+
# 0. User canceled the subscription
|
1522
|
+
# 1. Subscription was canceled by the system,
|
1523
|
+
# for example because of a billing problem
|
1524
|
+
# 2. Subscription was replaced with a new subscription
|
1525
|
+
# 3. Subscription was canceled by the developer
|
1669
1526
|
# Corresponds to the JSON property `cancelReason`
|
1670
1527
|
# @return [Fixnum]
|
1671
1528
|
attr_accessor :cancel_reason
|
@@ -1676,43 +1533,45 @@ module Google
|
|
1676
1533
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult]
|
1677
1534
|
attr_accessor :cancel_survey_result
|
1678
1535
|
|
1679
|
-
# ISO 3166-1 alpha-2 billing country/region code of the user at the time
|
1680
|
-
# subscription was granted.
|
1536
|
+
# ISO 3166-1 alpha-2 billing country/region code of the user at the time
|
1537
|
+
# the subscription was granted.
|
1681
1538
|
# Corresponds to the JSON property `countryCode`
|
1682
1539
|
# @return [String]
|
1683
1540
|
attr_accessor :country_code
|
1684
1541
|
|
1685
|
-
# A developer-specified string that contains supplemental
|
1686
|
-
# order.
|
1542
|
+
# A developer-specified string that contains supplemental
|
1543
|
+
# information about an order.
|
1687
1544
|
# Corresponds to the JSON property `developerPayload`
|
1688
1545
|
# @return [String]
|
1689
1546
|
attr_accessor :developer_payload
|
1690
1547
|
|
1691
|
-
# The email address of the user when the subscription was purchased.
|
1692
|
-
# present for purchases made with 'Subscribe with Google'.
|
1548
|
+
# The email address of the user when the subscription was purchased.
|
1549
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
1693
1550
|
# Corresponds to the JSON property `emailAddress`
|
1694
1551
|
# @return [String]
|
1695
1552
|
attr_accessor :email_address
|
1696
1553
|
|
1697
|
-
# Time at which the subscription will expire, in milliseconds
|
1554
|
+
# Time at which the subscription will expire, in milliseconds
|
1555
|
+
# since the Epoch.
|
1698
1556
|
# Corresponds to the JSON property `expiryTimeMillis`
|
1699
1557
|
# @return [Fixnum]
|
1700
1558
|
attr_accessor :expiry_time_millis
|
1701
1559
|
|
1702
|
-
# User account identifier in the third-party service.
|
1703
|
-
# linking happened as part of the subscription
|
1560
|
+
# User account identifier in the third-party service.
|
1561
|
+
# Only present if account linking happened as part of the subscription
|
1562
|
+
# purchase flow.
|
1704
1563
|
# Corresponds to the JSON property `externalAccountId`
|
1705
1564
|
# @return [String]
|
1706
1565
|
attr_accessor :external_account_id
|
1707
1566
|
|
1708
|
-
# The family name of the user when the subscription was purchased.
|
1709
|
-
# for purchases made with 'Subscribe with Google'.
|
1567
|
+
# The family name of the user when the subscription was purchased.
|
1568
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
1710
1569
|
# Corresponds to the JSON property `familyName`
|
1711
1570
|
# @return [String]
|
1712
1571
|
attr_accessor :family_name
|
1713
1572
|
|
1714
|
-
# The given name of the user when the subscription was purchased.
|
1715
|
-
# for purchases made with 'Subscribe with Google'.
|
1573
|
+
# The given name of the user when the subscription was purchased.
|
1574
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
1716
1575
|
# Corresponds to the JSON property `givenName`
|
1717
1576
|
# @return [String]
|
1718
1577
|
attr_accessor :given_name
|
@@ -1728,39 +1587,61 @@ module Google
|
|
1728
1587
|
# @return [String]
|
1729
1588
|
attr_accessor :kind
|
1730
1589
|
|
1731
|
-
# The purchase token of the originating purchase if this subscription
|
1732
|
-
# the following:
|
1733
|
-
#
|
1734
|
-
#
|
1735
|
-
# originally signs up and you receive
|
1736
|
-
#
|
1737
|
-
#
|
1738
|
-
#
|
1739
|
-
#
|
1740
|
-
# will be set to
|
1741
|
-
#
|
1590
|
+
# The purchase token of the originating purchase if this subscription
|
1591
|
+
# is one of the following:
|
1592
|
+
# 0. Re-signup of a canceled but non-lapsed subscription
|
1593
|
+
# 1. Upgrade/downgrade from a previous subscription
|
1594
|
+
# For example, suppose a user originally signs up and you receive
|
1595
|
+
# purchase token X, then the user cancels and goes through the
|
1596
|
+
# resignup flow (before their subscription lapses) and you receive
|
1597
|
+
# purchase token Y, and finally the user upgrades their subscription
|
1598
|
+
# and you receive purchase token Z. If you call this API with purchase
|
1599
|
+
# token Z, this field will be set to Y. If you call this API with
|
1600
|
+
# purchase token Y, this field will be set to X. If you call this API
|
1601
|
+
# with purchase token X, this field will not be set.
|
1742
1602
|
# Corresponds to the JSON property `linkedPurchaseToken`
|
1743
1603
|
# @return [String]
|
1744
1604
|
attr_accessor :linked_purchase_token
|
1745
1605
|
|
1746
|
-
#
|
1747
|
-
#
|
1606
|
+
# An obfuscated version of the id that is uniquely associated with the
|
1607
|
+
# user's account in your app. Present for the following purchases:
|
1608
|
+
# * If account linking happened as part of the subscription purchase flow.
|
1609
|
+
# * It was specified using
|
1610
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
1611
|
+
# BillingFlowParams.Builder#setobfuscatedaccountid
|
1612
|
+
# when the purchase was made.
|
1613
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
1614
|
+
# @return [String]
|
1615
|
+
attr_accessor :obfuscated_external_account_id
|
1616
|
+
|
1617
|
+
# An obfuscated version of the id that is uniquely associated with the
|
1618
|
+
# user's profile in your app. Only present if specified using
|
1619
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
1620
|
+
# BillingFlowParams.Builder#setobfuscatedprofileid
|
1621
|
+
# when the purchase was made.
|
1622
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
1623
|
+
# @return [String]
|
1624
|
+
attr_accessor :obfuscated_external_profile_id
|
1625
|
+
|
1626
|
+
# The order id of the latest recurring order associated with
|
1627
|
+
# the purchase of the subscription.
|
1748
1628
|
# Corresponds to the JSON property `orderId`
|
1749
1629
|
# @return [String]
|
1750
1630
|
attr_accessor :order_id
|
1751
1631
|
|
1752
1632
|
# The payment state of the subscription. Possible values are:
|
1753
|
-
#
|
1754
|
-
#
|
1755
|
-
#
|
1756
|
-
#
|
1633
|
+
# 0. Payment pending
|
1634
|
+
# 1. Payment received
|
1635
|
+
# 2. Free trial
|
1636
|
+
# 3. Pending deferred upgrade/downgrade
|
1757
1637
|
# Corresponds to the JSON property `paymentState`
|
1758
1638
|
# @return [Fixnum]
|
1759
1639
|
attr_accessor :payment_state
|
1760
1640
|
|
1761
|
-
# Price of the subscription, not including tax. Price is expressed
|
1762
|
-
# units, where 1,000,000 micro-units represents one unit of
|
1763
|
-
# example, if the subscription price is
|
1641
|
+
# Price of the subscription, not including tax. Price is expressed
|
1642
|
+
# in micro-units, where 1,000,000 micro-units represents one unit of
|
1643
|
+
# the currency. For example, if the subscription price is €1.99,
|
1644
|
+
# price_amount_micros is 1990000.
|
1764
1645
|
# Corresponds to the JSON property `priceAmountMicros`
|
1765
1646
|
# @return [Fixnum]
|
1766
1647
|
attr_accessor :price_amount_micros
|
@@ -1773,55 +1654,57 @@ module Google
|
|
1773
1654
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange]
|
1774
1655
|
attr_accessor :price_change
|
1775
1656
|
|
1776
|
-
# ISO 4217 currency code for the subscription price. For example,
|
1777
|
-
# is specified in British pounds sterling,
|
1657
|
+
# ISO 4217 currency code for the subscription price. For example,
|
1658
|
+
# if the price is specified in British pounds sterling,
|
1659
|
+
# price_currency_code is "GBP".
|
1778
1660
|
# Corresponds to the JSON property `priceCurrencyCode`
|
1779
1661
|
# @return [String]
|
1780
1662
|
attr_accessor :price_currency_code
|
1781
1663
|
|
1782
|
-
# The Google profile id of the user when the subscription was purchased.
|
1783
|
-
# present for purchases made with 'Subscribe with Google'.
|
1664
|
+
# The Google profile id of the user when the subscription was purchased.
|
1665
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
1784
1666
|
# Corresponds to the JSON property `profileId`
|
1785
1667
|
# @return [String]
|
1786
1668
|
attr_accessor :profile_id
|
1787
1669
|
|
1788
|
-
# The profile name of the user when the subscription was purchased.
|
1789
|
-
# for purchases made with 'Subscribe with Google'.
|
1670
|
+
# The profile name of the user when the subscription was purchased.
|
1671
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
1790
1672
|
# Corresponds to the JSON property `profileName`
|
1791
1673
|
# @return [String]
|
1792
1674
|
attr_accessor :profile_name
|
1793
1675
|
|
1794
|
-
# The promotion code applied on this purchase. This field is only set if
|
1795
|
-
# vanity code promotion is applied when the subscription was purchased.
|
1676
|
+
# The promotion code applied on this purchase. This field is only set if
|
1677
|
+
# a vanity code promotion is applied when the subscription was purchased.
|
1796
1678
|
# Corresponds to the JSON property `promotionCode`
|
1797
1679
|
# @return [String]
|
1798
1680
|
attr_accessor :promotion_code
|
1799
1681
|
|
1800
|
-
# The type of promotion applied on this purchase. This field is only set if
|
1801
|
-
# promotion is applied when the subscription was purchased. Possible
|
1802
|
-
#
|
1803
|
-
#
|
1804
|
-
#
|
1682
|
+
# The type of promotion applied on this purchase. This field is only set if
|
1683
|
+
# a promotion is applied when the subscription was purchased. Possible
|
1684
|
+
# values are:
|
1685
|
+
# 0. One time code
|
1686
|
+
# 1. Vanity code
|
1805
1687
|
# Corresponds to the JSON property `promotionType`
|
1806
1688
|
# @return [Fixnum]
|
1807
1689
|
attr_accessor :promotion_type
|
1808
1690
|
|
1809
|
-
# The type of purchase of the subscription. This field is only set if
|
1810
|
-
# purchase was not made using the standard in-app billing flow.
|
1811
|
-
# are:
|
1812
|
-
#
|
1813
|
-
#
|
1691
|
+
# The type of purchase of the subscription. This field is only set if
|
1692
|
+
# this purchase was not made using the standard in-app billing flow.
|
1693
|
+
# Possible values are:
|
1694
|
+
# 0. Test (i.e. purchased from a license testing account)
|
1695
|
+
# 1. Promo (i.e. purchased using a promo code)
|
1814
1696
|
# Corresponds to the JSON property `purchaseType`
|
1815
1697
|
# @return [Fixnum]
|
1816
1698
|
attr_accessor :purchase_type
|
1817
1699
|
|
1818
|
-
# Time at which the subscription was granted, in milliseconds
|
1700
|
+
# Time at which the subscription was granted, in milliseconds
|
1701
|
+
# since the Epoch.
|
1819
1702
|
# Corresponds to the JSON property `startTimeMillis`
|
1820
1703
|
# @return [Fixnum]
|
1821
1704
|
attr_accessor :start_time_millis
|
1822
1705
|
|
1823
|
-
# The time at which the subscription was canceled by the user, in
|
1824
|
-
# since the epoch. Only present if cancelReason is 0.
|
1706
|
+
# The time at which the subscription was canceled by the user, in
|
1707
|
+
# milliseconds since the epoch. Only present if cancelReason is 0.
|
1825
1708
|
# Corresponds to the JSON property `userCancellationTimeMillis`
|
1826
1709
|
# @return [Fixnum]
|
1827
1710
|
attr_accessor :user_cancellation_time_millis
|
@@ -1847,6 +1730,8 @@ module Google
|
|
1847
1730
|
@introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
|
1848
1731
|
@kind = args[:kind] if args.key?(:kind)
|
1849
1732
|
@linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
|
1733
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
1734
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
1850
1735
|
@order_id = args[:order_id] if args.key?(:order_id)
|
1851
1736
|
@payment_state = args[:payment_state] if args.key?(:payment_state)
|
1852
1737
|
@price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
|
@@ -1862,7 +1747,7 @@ module Google
|
|
1862
1747
|
end
|
1863
1748
|
end
|
1864
1749
|
|
1865
|
-
#
|
1750
|
+
# Request for the purchases.subscriptions.acknowledge API.
|
1866
1751
|
class SubscriptionPurchasesAcknowledgeRequest
|
1867
1752
|
include Google::Apis::Core::Hashable
|
1868
1753
|
|
@@ -1881,12 +1766,12 @@ module Google
|
|
1881
1766
|
end
|
1882
1767
|
end
|
1883
1768
|
|
1884
|
-
#
|
1769
|
+
# Request for the purchases.subscriptions.defer API.
|
1885
1770
|
class SubscriptionPurchasesDeferRequest
|
1886
1771
|
include Google::Apis::Core::Hashable
|
1887
1772
|
|
1888
|
-
# A SubscriptionDeferralInfo contains the data needed to defer a
|
1889
|
-
# purchase to a future expiry time.
|
1773
|
+
# A SubscriptionDeferralInfo contains the data needed to defer a
|
1774
|
+
# subscription purchase to a future expiry time.
|
1890
1775
|
# Corresponds to the JSON property `deferralInfo`
|
1891
1776
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo]
|
1892
1777
|
attr_accessor :deferral_info
|
@@ -1901,7 +1786,7 @@ module Google
|
|
1901
1786
|
end
|
1902
1787
|
end
|
1903
1788
|
|
1904
|
-
#
|
1789
|
+
# Response for the purchases.subscriptions.defer API.
|
1905
1790
|
class SubscriptionPurchasesDeferResponse
|
1906
1791
|
include Google::Apis::Core::Hashable
|
1907
1792
|
|
@@ -1920,65 +1805,11 @@ module Google
|
|
1920
1805
|
end
|
1921
1806
|
end
|
1922
1807
|
|
1923
|
-
#
|
1924
|
-
class SystemApkVariantsCreateRequest
|
1925
|
-
include Google::Apis::Core::Hashable
|
1926
|
-
|
1927
|
-
#
|
1928
|
-
# Corresponds to the JSON property `deviceSpec`
|
1929
|
-
# @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
|
1930
|
-
attr_accessor :device_spec
|
1931
|
-
|
1932
|
-
def initialize(**args)
|
1933
|
-
update!(**args)
|
1934
|
-
end
|
1935
|
-
|
1936
|
-
# Update properties of this object
|
1937
|
-
def update!(**args)
|
1938
|
-
@device_spec = args[:device_spec] if args.key?(:device_spec)
|
1939
|
-
end
|
1940
|
-
end
|
1941
|
-
|
1942
|
-
#
|
1943
|
-
class SystemApkVariantsListResponse
|
1944
|
-
include Google::Apis::Core::Hashable
|
1945
|
-
|
1946
|
-
#
|
1947
|
-
# Corresponds to the JSON property `variants`
|
1948
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::Variant>]
|
1949
|
-
attr_accessor :variants
|
1950
|
-
|
1951
|
-
def initialize(**args)
|
1952
|
-
update!(**args)
|
1953
|
-
end
|
1954
|
-
|
1955
|
-
# Update properties of this object
|
1956
|
-
def update!(**args)
|
1957
|
-
@variants = args[:variants] if args.key?(:variants)
|
1958
|
-
end
|
1959
|
-
end
|
1960
|
-
|
1961
|
-
#
|
1808
|
+
# The testers of an app. The resource for TestersService.
|
1962
1809
|
class Testers
|
1963
1810
|
include Google::Apis::Core::Hashable
|
1964
1811
|
|
1965
|
-
#
|
1966
|
-
# Corresponds to the JSON property `autoEnrolledAndroidGroups`
|
1967
|
-
# @return [Array<String>]
|
1968
|
-
attr_accessor :auto_enrolled_android_groups
|
1969
|
-
|
1970
|
-
#
|
1971
|
-
# Corresponds to the JSON property `autoEnrolledGoogleGroups`
|
1972
|
-
# @return [Array<String>]
|
1973
|
-
attr_accessor :auto_enrolled_google_groups
|
1974
|
-
|
1975
|
-
#
|
1976
|
-
# Corresponds to the JSON property `excludedGoogleGroups`
|
1977
|
-
# @return [Array<String>]
|
1978
|
-
attr_accessor :excluded_google_groups
|
1979
|
-
|
1980
|
-
# A list of all Google Groups, as email addresses, that define testers for this
|
1981
|
-
# track.
|
1812
|
+
# All testing Google Groups, as email addresses.
|
1982
1813
|
# Corresponds to the JSON property `googleGroups`
|
1983
1814
|
# @return [Array<String>]
|
1984
1815
|
attr_accessor :google_groups
|
@@ -1989,23 +1820,24 @@ module Google
|
|
1989
1820
|
|
1990
1821
|
# Update properties of this object
|
1991
1822
|
def update!(**args)
|
1992
|
-
@auto_enrolled_android_groups = args[:auto_enrolled_android_groups] if args.key?(:auto_enrolled_android_groups)
|
1993
|
-
@auto_enrolled_google_groups = args[:auto_enrolled_google_groups] if args.key?(:auto_enrolled_google_groups)
|
1994
|
-
@excluded_google_groups = args[:excluded_google_groups] if args.key?(:excluded_google_groups)
|
1995
1823
|
@google_groups = args[:google_groups] if args.key?(:google_groups)
|
1996
1824
|
end
|
1997
1825
|
end
|
1998
1826
|
|
1999
|
-
#
|
1827
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
1828
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
1829
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
1830
|
+
# January 1, 1970.
|
2000
1831
|
class Timestamp
|
2001
1832
|
include Google::Apis::Core::Hashable
|
2002
1833
|
|
2003
|
-
#
|
1834
|
+
# Non-negative fractions of a second at nanosecond resolution.
|
1835
|
+
# Must be from 0 to 999,999,999 inclusive.
|
2004
1836
|
# Corresponds to the JSON property `nanos`
|
2005
1837
|
# @return [Fixnum]
|
2006
1838
|
attr_accessor :nanos
|
2007
1839
|
|
2008
|
-
#
|
1840
|
+
# Represents seconds of UTC time since Unix epoch.
|
2009
1841
|
# Corresponds to the JSON property `seconds`
|
2010
1842
|
# @return [Fixnum]
|
2011
1843
|
attr_accessor :seconds
|
@@ -2021,11 +1853,20 @@ module Google
|
|
2021
1853
|
end
|
2022
1854
|
end
|
2023
1855
|
|
2024
|
-
#
|
1856
|
+
# Pagination information returned by a List operation when token pagination
|
1857
|
+
# is enabled.
|
1858
|
+
# List operations that supports paging return only one "page" of results. This
|
1859
|
+
# protocol buffer message describes the page that has been returned.
|
1860
|
+
# When using token pagination, clients should use the next/previous token
|
1861
|
+
# to get another page of the result. The presence or absence of next/previous
|
1862
|
+
# token indicates whether a next/previous page is available and provides a
|
1863
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
1864
|
+
# next_page_token or previous_page_token to access another page.
|
2025
1865
|
class TokenPagination
|
2026
1866
|
include Google::Apis::Core::Hashable
|
2027
1867
|
|
2028
|
-
#
|
1868
|
+
# Tokens to pass to the standard list field 'page_token'. Whenever available,
|
1869
|
+
# tokens are preferred over manipulating start_index.
|
2029
1870
|
# Corresponds to the JSON property `nextPageToken`
|
2030
1871
|
# @return [String]
|
2031
1872
|
attr_accessor :next_page_token
|
@@ -2046,17 +1887,17 @@ module Google
|
|
2046
1887
|
end
|
2047
1888
|
end
|
2048
1889
|
|
2049
|
-
#
|
1890
|
+
# A track configuration. The resource for TracksService.
|
2050
1891
|
class Track
|
2051
1892
|
include Google::Apis::Core::Hashable
|
2052
1893
|
|
2053
|
-
#
|
2054
|
-
# update request,
|
1894
|
+
# In a read request, represents all active releases in the track.
|
1895
|
+
# In an update request, represents desired changes.
|
2055
1896
|
# Corresponds to the JSON property `releases`
|
2056
1897
|
# @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
|
2057
1898
|
attr_accessor :releases
|
2058
1899
|
|
2059
|
-
# Identifier
|
1900
|
+
# Identifier of the track.
|
2060
1901
|
# Corresponds to the JSON property `track`
|
2061
1902
|
# @return [String]
|
2062
1903
|
attr_accessor :track
|
@@ -2072,72 +1913,49 @@ module Google
|
|
2072
1913
|
end
|
2073
1914
|
end
|
2074
1915
|
|
2075
|
-
#
|
1916
|
+
# A release within a track.
|
2076
1917
|
class TrackRelease
|
2077
1918
|
include Google::Apis::Core::Hashable
|
2078
1919
|
|
2079
|
-
#
|
2080
|
-
# Corresponds to the JSON property `controls`
|
2081
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::Control>]
|
2082
|
-
attr_accessor :controls
|
2083
|
-
|
2084
|
-
#
|
1920
|
+
# Country targeting specification.
|
2085
1921
|
# Corresponds to the JSON property `countryTargeting`
|
2086
1922
|
# @return [Google::Apis::AndroidpublisherV3::CountryTargeting]
|
2087
1923
|
attr_accessor :country_targeting
|
2088
1924
|
|
2089
|
-
# In-app update priority of the release. All newly added APKs in the
|
2090
|
-
# will be considered at this priority.
|
2091
|
-
#
|
2092
|
-
# in_app_update_priority can not be updated once the release is rolled out.
|
2093
|
-
# https://developer.android.com/guide/playcore/in-app-updates.
|
1925
|
+
# In-app update priority of the release. All newly added APKs in the
|
1926
|
+
# release will be considered at this priority. Can take values in the range
|
1927
|
+
# [0, 5], with 5 the highest priority. Defaults to 0.
|
1928
|
+
# in_app_update_priority can not be updated once the release is rolled out.
|
1929
|
+
# See https://developer.android.com/guide/playcore/in-app-updates.
|
2094
1930
|
# Corresponds to the JSON property `inAppUpdatePriority`
|
2095
1931
|
# @return [Fixnum]
|
2096
1932
|
attr_accessor :in_app_update_priority
|
2097
1933
|
|
2098
|
-
# The release name
|
2099
|
-
#
|
2100
|
-
# the
|
1934
|
+
# The release name. Not required to be unique. If not set, the name is
|
1935
|
+
# generated from the APK's version_name. If the release contains multiple
|
1936
|
+
# APKs, the name is generated from the date.
|
2101
1937
|
# Corresponds to the JSON property `name`
|
2102
1938
|
# @return [String]
|
2103
1939
|
attr_accessor :name
|
2104
1940
|
|
2105
|
-
#
|
2106
|
-
# Corresponds to the JSON property `pinnedVersions`
|
2107
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePin>]
|
2108
|
-
attr_accessor :pinned_versions
|
2109
|
-
|
2110
|
-
# The description of what is new in the app in this release.
|
1941
|
+
# A description of what is new in this release.
|
2111
1942
|
# Corresponds to the JSON property `releaseNotes`
|
2112
1943
|
# @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]
|
2113
1944
|
attr_accessor :release_notes
|
2114
1945
|
|
2115
|
-
#
|
2116
|
-
# Corresponds to the JSON property `rollbackEnabled`
|
2117
|
-
# @return [Boolean]
|
2118
|
-
attr_accessor :rollback_enabled
|
2119
|
-
alias_method :rollback_enabled?, :rollback_enabled
|
2120
|
-
|
2121
|
-
#
|
2122
|
-
# Corresponds to the JSON property `sampling`
|
2123
|
-
# @return [Google::Apis::AndroidpublisherV3::Sampling]
|
2124
|
-
attr_accessor :sampling
|
2125
|
-
|
2126
|
-
# The desired status of this release.
|
1946
|
+
# The status of the release.
|
2127
1947
|
# Corresponds to the JSON property `status`
|
2128
1948
|
# @return [String]
|
2129
1949
|
attr_accessor :status
|
2130
1950
|
|
2131
|
-
# Fraction of users who are eligible
|
2132
|
-
#
|
1951
|
+
# Fraction of users who are eligible for a staged release. 0 < fraction < 1.
|
1952
|
+
# Can only be set when status is "inProgress" or "halted".
|
2133
1953
|
# Corresponds to the JSON property `userFraction`
|
2134
1954
|
# @return [Float]
|
2135
1955
|
attr_accessor :user_fraction
|
2136
1956
|
|
2137
|
-
#
|
2138
|
-
#
|
2139
|
-
# versions you wish to be active, including those you wish to retain from
|
2140
|
-
# previous releases.
|
1957
|
+
# Version codes of all APKs in the release. Must include version codes to
|
1958
|
+
# retain from previous releases.
|
2141
1959
|
# Corresponds to the JSON property `versionCodes`
|
2142
1960
|
# @return [Array<Fixnum>]
|
2143
1961
|
attr_accessor :version_codes
|
@@ -2148,124 +1966,26 @@ module Google
|
|
2148
1966
|
|
2149
1967
|
# Update properties of this object
|
2150
1968
|
def update!(**args)
|
2151
|
-
@controls = args[:controls] if args.key?(:controls)
|
2152
1969
|
@country_targeting = args[:country_targeting] if args.key?(:country_targeting)
|
2153
1970
|
@in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
|
2154
1971
|
@name = args[:name] if args.key?(:name)
|
2155
|
-
@pinned_versions = args[:pinned_versions] if args.key?(:pinned_versions)
|
2156
1972
|
@release_notes = args[:release_notes] if args.key?(:release_notes)
|
2157
|
-
@rollback_enabled = args[:rollback_enabled] if args.key?(:rollback_enabled)
|
2158
|
-
@sampling = args[:sampling] if args.key?(:sampling)
|
2159
1973
|
@status = args[:status] if args.key?(:status)
|
2160
1974
|
@user_fraction = args[:user_fraction] if args.key?(:user_fraction)
|
2161
1975
|
@version_codes = args[:version_codes] if args.key?(:version_codes)
|
2162
1976
|
end
|
2163
1977
|
end
|
2164
1978
|
|
2165
|
-
#
|
2166
|
-
class TrackReleasePin
|
2167
|
-
include Google::Apis::Core::Hashable
|
2168
|
-
|
2169
|
-
#
|
2170
|
-
# Corresponds to the JSON property `targetings`
|
2171
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting>]
|
2172
|
-
attr_accessor :targetings
|
2173
|
-
|
2174
|
-
#
|
2175
|
-
# Corresponds to the JSON property `versionCodes`
|
2176
|
-
# @return [Array<Fixnum>]
|
2177
|
-
attr_accessor :version_codes
|
2178
|
-
|
2179
|
-
def initialize(**args)
|
2180
|
-
update!(**args)
|
2181
|
-
end
|
2182
|
-
|
2183
|
-
# Update properties of this object
|
2184
|
-
def update!(**args)
|
2185
|
-
@targetings = args[:targetings] if args.key?(:targetings)
|
2186
|
-
@version_codes = args[:version_codes] if args.key?(:version_codes)
|
2187
|
-
end
|
2188
|
-
end
|
2189
|
-
|
2190
|
-
#
|
2191
|
-
class TrackReleasePinPinTargeting
|
2192
|
-
include Google::Apis::Core::Hashable
|
2193
|
-
|
2194
|
-
#
|
2195
|
-
# Corresponds to the JSON property `countryCodes`
|
2196
|
-
# @return [Array<String>]
|
2197
|
-
attr_accessor :country_codes
|
2198
|
-
|
2199
|
-
#
|
2200
|
-
# Corresponds to the JSON property `devices`
|
2201
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin>]
|
2202
|
-
attr_accessor :devices
|
2203
|
-
|
2204
|
-
#
|
2205
|
-
# Corresponds to the JSON property `phoneskyVersions`
|
2206
|
-
# @return [Array<Fixnum>]
|
2207
|
-
attr_accessor :phonesky_versions
|
2208
|
-
|
2209
|
-
#
|
2210
|
-
# Corresponds to the JSON property `sdkVersions`
|
2211
|
-
# @return [Array<Fixnum>]
|
2212
|
-
attr_accessor :sdk_versions
|
2213
|
-
|
2214
|
-
def initialize(**args)
|
2215
|
-
update!(**args)
|
2216
|
-
end
|
2217
|
-
|
2218
|
-
# Update properties of this object
|
2219
|
-
def update!(**args)
|
2220
|
-
@country_codes = args[:country_codes] if args.key?(:country_codes)
|
2221
|
-
@devices = args[:devices] if args.key?(:devices)
|
2222
|
-
@phonesky_versions = args[:phonesky_versions] if args.key?(:phonesky_versions)
|
2223
|
-
@sdk_versions = args[:sdk_versions] if args.key?(:sdk_versions)
|
2224
|
-
end
|
2225
|
-
end
|
2226
|
-
|
2227
|
-
#
|
2228
|
-
class TrackReleasePinPinTargetingDevicePin
|
2229
|
-
include Google::Apis::Core::Hashable
|
2230
|
-
|
2231
|
-
#
|
2232
|
-
# Corresponds to the JSON property `brand`
|
2233
|
-
# @return [String]
|
2234
|
-
attr_accessor :brand
|
2235
|
-
|
2236
|
-
#
|
2237
|
-
# Corresponds to the JSON property `device`
|
2238
|
-
# @return [String]
|
2239
|
-
attr_accessor :device
|
2240
|
-
|
2241
|
-
#
|
2242
|
-
# Corresponds to the JSON property `product`
|
2243
|
-
# @return [String]
|
2244
|
-
attr_accessor :product
|
2245
|
-
|
2246
|
-
def initialize(**args)
|
2247
|
-
update!(**args)
|
2248
|
-
end
|
2249
|
-
|
2250
|
-
# Update properties of this object
|
2251
|
-
def update!(**args)
|
2252
|
-
@brand = args[:brand] if args.key?(:brand)
|
2253
|
-
@device = args[:device] if args.key?(:device)
|
2254
|
-
@product = args[:product] if args.key?(:product)
|
2255
|
-
end
|
2256
|
-
end
|
2257
|
-
|
2258
|
-
#
|
1979
|
+
# Response listing all tracks.
|
2259
1980
|
class TracksListResponse
|
2260
1981
|
include Google::Apis::Core::Hashable
|
2261
1982
|
|
2262
|
-
#
|
2263
|
-
# androidpublisher#tracksListResponse".
|
1983
|
+
# The kind of this response ("androidpublisher#tracksListResponse").
|
2264
1984
|
# Corresponds to the JSON property `kind`
|
2265
1985
|
# @return [String]
|
2266
1986
|
attr_accessor :kind
|
2267
1987
|
|
2268
|
-
#
|
1988
|
+
# All tracks.
|
2269
1989
|
# Corresponds to the JSON property `tracks`
|
2270
1990
|
# @return [Array<Google::Apis::AndroidpublisherV3::Track>]
|
2271
1991
|
attr_accessor :tracks
|
@@ -2281,24 +2001,24 @@ module Google
|
|
2281
2001
|
end
|
2282
2002
|
end
|
2283
2003
|
|
2284
|
-
#
|
2004
|
+
# User entry from conversation between user and developer.
|
2285
2005
|
class UserComment
|
2286
2006
|
include Google::Apis::Core::Hashable
|
2287
2007
|
|
2288
|
-
# Integer Android SDK version of the user's device at the time the
|
2289
|
-
# written, e.g. 23 is Marshmallow. May be absent.
|
2008
|
+
# Integer Android SDK version of the user's device at the time the
|
2009
|
+
# review was written, e.g. 23 is Marshmallow. May be absent.
|
2290
2010
|
# Corresponds to the JSON property `androidOsVersion`
|
2291
2011
|
# @return [Fixnum]
|
2292
2012
|
attr_accessor :android_os_version
|
2293
2013
|
|
2294
|
-
# Integer version code of the app as installed at the time the
|
2295
|
-
# written. May be absent.
|
2014
|
+
# Integer version code of the app as installed at the time the
|
2015
|
+
# review was written. May be absent.
|
2296
2016
|
# Corresponds to the JSON property `appVersionCode`
|
2297
2017
|
# @return [Fixnum]
|
2298
2018
|
attr_accessor :app_version_code
|
2299
2019
|
|
2300
|
-
# String version name of the app as installed at the time the
|
2301
|
-
# May be absent.
|
2020
|
+
# String version name of the app as installed at the time the
|
2021
|
+
# review was written. May be absent.
|
2302
2022
|
# Corresponds to the JSON property `appVersionName`
|
2303
2023
|
# @return [String]
|
2304
2024
|
attr_accessor :app_version_name
|
@@ -2308,24 +2028,28 @@ module Google
|
|
2308
2028
|
# @return [String]
|
2309
2029
|
attr_accessor :device
|
2310
2030
|
|
2311
|
-
#
|
2031
|
+
# Characteristics of the user's device.
|
2312
2032
|
# Corresponds to the JSON property `deviceMetadata`
|
2313
2033
|
# @return [Google::Apis::AndroidpublisherV3::DeviceMetadata]
|
2314
2034
|
attr_accessor :device_metadata
|
2315
2035
|
|
2316
|
-
#
|
2036
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
2037
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
2038
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
2039
|
+
# January 1, 1970.
|
2317
2040
|
# Corresponds to the JSON property `lastModified`
|
2318
2041
|
# @return [Google::Apis::AndroidpublisherV3::Timestamp]
|
2319
2042
|
attr_accessor :last_modified
|
2320
2043
|
|
2321
|
-
# Untranslated text of the review,
|
2322
|
-
#
|
2044
|
+
# Untranslated text of the review, where the review was translated.
|
2045
|
+
# If the review was not translated this is left blank.
|
2323
2046
|
# Corresponds to the JSON property `originalText`
|
2324
2047
|
# @return [String]
|
2325
2048
|
attr_accessor :original_text
|
2326
2049
|
|
2327
|
-
# Language code for the reviewer. This is taken from the device
|
2328
|
-
# not guaranteed to match the language the review
|
2050
|
+
# Language code for the reviewer. This is taken from the device
|
2051
|
+
# settings so is not guaranteed to match the language the review
|
2052
|
+
# is written in. May be absent.
|
2329
2053
|
# Corresponds to the JSON property `reviewerLanguage`
|
2330
2054
|
# @return [String]
|
2331
2055
|
attr_accessor :reviewer_language
|
@@ -2335,19 +2059,20 @@ module Google
|
|
2335
2059
|
# @return [Fixnum]
|
2336
2060
|
attr_accessor :star_rating
|
2337
2061
|
|
2338
|
-
# The content of the comment, i.e. review body. In some cases
|
2339
|
-
# able to write a review with separate title and
|
2340
|
-
# and body are concatenated and
|
2062
|
+
# The content of the comment, i.e. review body. In some cases
|
2063
|
+
# users have been able to write a review with separate title and
|
2064
|
+
# body; in those cases the title and body are concatenated and
|
2065
|
+
# separated by a tab character.
|
2341
2066
|
# Corresponds to the JSON property `text`
|
2342
2067
|
# @return [String]
|
2343
2068
|
attr_accessor :text
|
2344
2069
|
|
2345
|
-
# Number of users who have given this review a thumbs down
|
2070
|
+
# Number of users who have given this review a thumbs down.
|
2346
2071
|
# Corresponds to the JSON property `thumbsDownCount`
|
2347
2072
|
# @return [Fixnum]
|
2348
2073
|
attr_accessor :thumbs_down_count
|
2349
2074
|
|
2350
|
-
# Number of users who have given this review a thumbs up
|
2075
|
+
# Number of users who have given this review a thumbs up.
|
2351
2076
|
# Corresponds to the JSON property `thumbsUpCount`
|
2352
2077
|
# @return [Fixnum]
|
2353
2078
|
attr_accessor :thumbs_up_count
|
@@ -2373,19 +2098,20 @@ module Google
|
|
2373
2098
|
end
|
2374
2099
|
end
|
2375
2100
|
|
2376
|
-
#
|
2377
|
-
class
|
2101
|
+
# A permission used by this APK.
|
2102
|
+
class UsesPermission
|
2378
2103
|
include Google::Apis::Core::Hashable
|
2379
2104
|
|
2380
|
-
#
|
2381
|
-
#
|
2382
|
-
#
|
2383
|
-
attr_accessor :device_spec
|
2384
|
-
|
2385
|
-
#
|
2386
|
-
# Corresponds to the JSON property `variantId`
|
2105
|
+
# Optionally, the maximum SDK version for which the permission is
|
2106
|
+
# required.
|
2107
|
+
# Corresponds to the JSON property `maxSdkVersion`
|
2387
2108
|
# @return [Fixnum]
|
2388
|
-
attr_accessor :
|
2109
|
+
attr_accessor :max_sdk_version
|
2110
|
+
|
2111
|
+
# The name of the permission requested.
|
2112
|
+
# Corresponds to the JSON property `name`
|
2113
|
+
# @return [String]
|
2114
|
+
attr_accessor :name
|
2389
2115
|
|
2390
2116
|
def initialize(**args)
|
2391
2117
|
update!(**args)
|
@@ -2393,17 +2119,18 @@ module Google
|
|
2393
2119
|
|
2394
2120
|
# Update properties of this object
|
2395
2121
|
def update!(**args)
|
2396
|
-
@
|
2397
|
-
@
|
2122
|
+
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
2123
|
+
@name = args[:name] if args.key?(:name)
|
2398
2124
|
end
|
2399
2125
|
end
|
2400
2126
|
|
2401
|
-
# A VoidedPurchase resource indicates a purchase that was either
|
2402
|
-
# refunded/charged-back.
|
2127
|
+
# A VoidedPurchase resource indicates a purchase that was either
|
2128
|
+
# canceled/refunded/charged-back.
|
2403
2129
|
class VoidedPurchase
|
2404
2130
|
include Google::Apis::Core::Hashable
|
2405
2131
|
|
2406
|
-
# This kind represents a voided purchase object in the androidpublisher
|
2132
|
+
# This kind represents a voided purchase object in the androidpublisher
|
2133
|
+
# service.
|
2407
2134
|
# Corresponds to the JSON property `kind`
|
2408
2135
|
# @return [String]
|
2409
2136
|
attr_accessor :kind
|
@@ -2414,42 +2141,42 @@ module Google
|
|
2414
2141
|
# @return [String]
|
2415
2142
|
attr_accessor :order_id
|
2416
2143
|
|
2417
|
-
# The time at which the purchase was made, in milliseconds since the
|
2418
|
-
# 1, 1970).
|
2144
|
+
# The time at which the purchase was made, in milliseconds since the
|
2145
|
+
# epoch (Jan 1, 1970).
|
2419
2146
|
# Corresponds to the JSON property `purchaseTimeMillis`
|
2420
2147
|
# @return [Fixnum]
|
2421
2148
|
attr_accessor :purchase_time_millis
|
2422
2149
|
|
2423
|
-
# The token which uniquely identifies a one-time purchase or subscription.
|
2424
|
-
# uniquely identify subscription renewals use order_id (available
|
2425
|
-
# version 3 of the API).
|
2150
|
+
# The token which uniquely identifies a one-time purchase or subscription.
|
2151
|
+
# To uniquely identify subscription renewals use order_id (available
|
2152
|
+
# starting from version 3 of the API).
|
2426
2153
|
# Corresponds to the JSON property `purchaseToken`
|
2427
2154
|
# @return [String]
|
2428
2155
|
attr_accessor :purchase_token
|
2429
2156
|
|
2430
2157
|
# The reason why the purchase was voided, possible values are:
|
2431
|
-
#
|
2432
|
-
#
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
#
|
2436
|
-
#
|
2437
|
-
#
|
2438
|
-
#
|
2158
|
+
# 0. Other
|
2159
|
+
# 1. Remorse
|
2160
|
+
# 2. Not_received
|
2161
|
+
# 3. Defective
|
2162
|
+
# 4. Accidental_purchase
|
2163
|
+
# 5. Fraud
|
2164
|
+
# 6. Friendly_fraud
|
2165
|
+
# 7. Chargeback
|
2439
2166
|
# Corresponds to the JSON property `voidedReason`
|
2440
2167
|
# @return [Fixnum]
|
2441
2168
|
attr_accessor :voided_reason
|
2442
2169
|
|
2443
2170
|
# The initiator of voided purchase, possible values are:
|
2444
|
-
#
|
2445
|
-
#
|
2446
|
-
#
|
2171
|
+
# 0. User
|
2172
|
+
# 1. Developer
|
2173
|
+
# 2. Google
|
2447
2174
|
# Corresponds to the JSON property `voidedSource`
|
2448
2175
|
# @return [Fixnum]
|
2449
2176
|
attr_accessor :voided_source
|
2450
2177
|
|
2451
|
-
# The time at which the purchase was canceled/refunded/charged-back,
|
2452
|
-
# milliseconds since the epoch (Jan 1, 1970).
|
2178
|
+
# The time at which the purchase was canceled/refunded/charged-back,
|
2179
|
+
# in milliseconds since the epoch (Jan 1, 1970).
|
2453
2180
|
# Corresponds to the JSON property `voidedTimeMillis`
|
2454
2181
|
# @return [Fixnum]
|
2455
2182
|
attr_accessor :voided_time_millis
|
@@ -2470,16 +2197,26 @@ module Google
|
|
2470
2197
|
end
|
2471
2198
|
end
|
2472
2199
|
|
2473
|
-
#
|
2200
|
+
# Response for the voidedpurchases.list API.
|
2474
2201
|
class VoidedPurchasesListResponse
|
2475
2202
|
include Google::Apis::Core::Hashable
|
2476
2203
|
|
2477
|
-
#
|
2204
|
+
# Information about the current page.
|
2205
|
+
# List operations that supports paging return only one "page" of results. This
|
2206
|
+
# protocol buffer message describes the page that has been returned.
|
2478
2207
|
# Corresponds to the JSON property `pageInfo`
|
2479
2208
|
# @return [Google::Apis::AndroidpublisherV3::PageInfo]
|
2480
2209
|
attr_accessor :page_info
|
2481
2210
|
|
2482
|
-
#
|
2211
|
+
# Pagination information returned by a List operation when token pagination
|
2212
|
+
# is enabled.
|
2213
|
+
# List operations that supports paging return only one "page" of results. This
|
2214
|
+
# protocol buffer message describes the page that has been returned.
|
2215
|
+
# When using token pagination, clients should use the next/previous token
|
2216
|
+
# to get another page of the result. The presence or absence of next/previous
|
2217
|
+
# token indicates whether a next/previous page is available and provides a
|
2218
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
2219
|
+
# next_page_token or previous_page_token to access another page.
|
2483
2220
|
# Corresponds to the JSON property `tokenPagination`
|
2484
2221
|
# @return [Google::Apis::AndroidpublisherV3::TokenPagination]
|
2485
2222
|
attr_accessor :token_pagination
|