google-api-client 0.40.0 → 0.41.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +297 -0
- data/bin/generate-api +1 -3
- 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/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- 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 +499 -684
- data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
- data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +144 -48
- data/generated/google/apis/apigee_v1/representations.rb +17 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- 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 +51 -13
- data/generated/google/apis/bigquery_v2/representations.rb +4 -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_v1beta1.rb +1 -1
- 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 +45 -37
- 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/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 +287 -15
- data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- 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/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- 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 +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- 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 +801 -219
- data/generated/google/apis/compute_alpha/representations.rb +220 -32
- data/generated/google/apis/compute_alpha/service.rb +899 -113
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +490 -131
- data/generated/google/apis/compute_beta/representations.rb +97 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +706 -76
- data/generated/google/apis/compute_v1/representations.rb +200 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +142 -24
- data/generated/google/apis/container_v1beta1/representations.rb +37 -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 +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -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 +71 -24
- 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 +65 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
- 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 +268 -56
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
- data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
- 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/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- 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/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- 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/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- 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 +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- 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/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- 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 +9 -9
- data/generated/google/apis/healthcare_v1/service.rb +5 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +92 -81
- data/generated/google/apis/iam_v1/service.rb +167 -148
- 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/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- 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 +68 -19
- data/generated/google/apis/monitoring_v3/representations.rb +1 -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/playablelocations_v3.rb +31 -0
- 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 +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -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/recommender_v1.rb +34 -0
- 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 +1 -1
- data/generated/google/apis/run_v1/classes.rb +16 -9
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -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 +26 -22
- data/generated/google/apis/spanner_v1/service.rb +15 -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/{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 +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- 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 +31 -11
- 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 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
|
@@ -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 = '20200701'
|
|
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,21 +464,23 @@ module Google
|
|
|
498
464
|
end
|
|
499
465
|
end
|
|
500
466
|
|
|
501
|
-
#
|
|
467
|
+
# The device spec used to generate a system APK.
|
|
502
468
|
class DeviceSpec
|
|
503
469
|
include Google::Apis::Core::Hashable
|
|
504
470
|
|
|
505
|
-
#
|
|
471
|
+
# Screen dpi.
|
|
506
472
|
# Corresponds to the JSON property `screenDensity`
|
|
507
473
|
# @return [Fixnum]
|
|
508
474
|
attr_accessor :screen_density
|
|
509
475
|
|
|
510
|
-
#
|
|
476
|
+
# Supported ABI architectures in the order of preference.
|
|
477
|
+
# The values should be the string as reported by the platform, e.g.
|
|
478
|
+
# "armeabi-v7a", "x86_64".
|
|
511
479
|
# Corresponds to the JSON property `supportedAbis`
|
|
512
480
|
# @return [Array<String>]
|
|
513
481
|
attr_accessor :supported_abis
|
|
514
482
|
|
|
515
|
-
#
|
|
483
|
+
# All installed locales represented as BCP-47 strings, e.g. "en-US".
|
|
516
484
|
# Corresponds to the JSON property `supportedLocales`
|
|
517
485
|
# @return [Array<String>]
|
|
518
486
|
attr_accessor :supported_locales
|
|
@@ -529,19 +497,19 @@ module Google
|
|
|
529
497
|
end
|
|
530
498
|
end
|
|
531
499
|
|
|
532
|
-
#
|
|
500
|
+
# An expansion file. The resource for ExpansionFilesService.
|
|
533
501
|
class ExpansionFile
|
|
534
502
|
include Google::Apis::Core::Hashable
|
|
535
503
|
|
|
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
|
|
504
|
+
# If set, this field indicates that this APK has an expansion file uploaded
|
|
505
|
+
# to it: this APK does not reference another APK's expansion file.
|
|
506
|
+
# The field's value is the size of the uploaded expansion file in bytes.
|
|
539
507
|
# Corresponds to the JSON property `fileSize`
|
|
540
508
|
# @return [Fixnum]
|
|
541
509
|
attr_accessor :file_size
|
|
542
510
|
|
|
543
|
-
# If set this APK's
|
|
544
|
-
# file_size field will not be set.
|
|
511
|
+
# If set, this APK's expansion file references another APK's expansion file.
|
|
512
|
+
# The file_size field will not be set.
|
|
545
513
|
# Corresponds to the JSON property `referencesVersion`
|
|
546
514
|
# @return [Fixnum]
|
|
547
515
|
attr_accessor :references_version
|
|
@@ -557,11 +525,11 @@ module Google
|
|
|
557
525
|
end
|
|
558
526
|
end
|
|
559
527
|
|
|
560
|
-
#
|
|
528
|
+
# Response for uploading an expansion file.
|
|
561
529
|
class ExpansionFilesUploadResponse
|
|
562
530
|
include Google::Apis::Core::Hashable
|
|
563
531
|
|
|
564
|
-
#
|
|
532
|
+
# An expansion file. The resource for ExpansionFilesService.
|
|
565
533
|
# Corresponds to the JSON property `expansionFile`
|
|
566
534
|
# @return [Google::Apis::AndroidpublisherV3::ExpansionFile]
|
|
567
535
|
attr_accessor :expansion_file
|
|
@@ -576,10 +544,10 @@ module Google
|
|
|
576
544
|
end
|
|
577
545
|
end
|
|
578
546
|
|
|
579
|
-
# Defines an APK available for this application that is hosted externally
|
|
580
|
-
# not uploaded to Google Play.
|
|
581
|
-
#
|
|
582
|
-
#
|
|
547
|
+
# Defines an APK available for this application that is hosted externally
|
|
548
|
+
# and not uploaded to Google Play.
|
|
549
|
+
# This function is only available to organizations using Managed Play whose
|
|
550
|
+
# application is configured to restrict distribution to the organizations.
|
|
583
551
|
class ExternallyHostedApk
|
|
584
552
|
include Google::Apis::Core::Hashable
|
|
585
553
|
|
|
@@ -588,8 +556,8 @@ module Google
|
|
|
588
556
|
# @return [String]
|
|
589
557
|
attr_accessor :application_label
|
|
590
558
|
|
|
591
|
-
# A certificate (or array of certificates if a certificate-chain is used)
|
|
592
|
-
# to
|
|
559
|
+
# A certificate (or array of certificates if a certificate-chain is used)
|
|
560
|
+
# used to sign this APK, represented as a base64 encoded byte array.
|
|
593
561
|
# Corresponds to the JSON property `certificateBase64s`
|
|
594
562
|
# @return [Array<String>]
|
|
595
563
|
attr_accessor :certificate_base64s
|
|
@@ -599,12 +567,14 @@ module Google
|
|
|
599
567
|
# @return [String]
|
|
600
568
|
attr_accessor :externally_hosted_url
|
|
601
569
|
|
|
602
|
-
# The
|
|
570
|
+
# The sha1 checksum of this APK, represented as a base64 encoded byte
|
|
571
|
+
# array.
|
|
603
572
|
# Corresponds to the JSON property `fileSha1Base64`
|
|
604
573
|
# @return [String]
|
|
605
574
|
attr_accessor :file_sha1_base64
|
|
606
575
|
|
|
607
|
-
# The
|
|
576
|
+
# The sha256 checksum of this APK, represented as a base64 encoded byte
|
|
577
|
+
# array.
|
|
608
578
|
# Corresponds to the JSON property `fileSha256Base64`
|
|
609
579
|
# @return [String]
|
|
610
580
|
attr_accessor :file_sha256_base64
|
|
@@ -646,7 +616,7 @@ module Google
|
|
|
646
616
|
|
|
647
617
|
# The permissions requested by this APK.
|
|
648
618
|
# Corresponds to the JSON property `usesPermissions`
|
|
649
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::
|
|
619
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::UsesPermission>]
|
|
650
620
|
attr_accessor :uses_permissions
|
|
651
621
|
|
|
652
622
|
# The version code of this APK.
|
|
@@ -683,32 +653,7 @@ module Google
|
|
|
683
653
|
end
|
|
684
654
|
end
|
|
685
655
|
|
|
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
|
-
#
|
|
656
|
+
# An uploaded image. The resource for ImagesService.
|
|
712
657
|
class Image
|
|
713
658
|
include Google::Apis::Core::Hashable
|
|
714
659
|
|
|
@@ -717,12 +662,12 @@ module Google
|
|
|
717
662
|
# @return [String]
|
|
718
663
|
attr_accessor :id
|
|
719
664
|
|
|
720
|
-
# A sha1 hash of the image
|
|
665
|
+
# A sha1 hash of the image.
|
|
721
666
|
# Corresponds to the JSON property `sha1`
|
|
722
667
|
# @return [String]
|
|
723
668
|
attr_accessor :sha1
|
|
724
669
|
|
|
725
|
-
# A sha256 hash of the image
|
|
670
|
+
# A sha256 hash of the image.
|
|
726
671
|
# Corresponds to the JSON property `sha256`
|
|
727
672
|
# @return [String]
|
|
728
673
|
attr_accessor :sha256
|
|
@@ -745,11 +690,11 @@ module Google
|
|
|
745
690
|
end
|
|
746
691
|
end
|
|
747
692
|
|
|
748
|
-
#
|
|
693
|
+
# Response for deleting all images.
|
|
749
694
|
class ImagesDeleteAllResponse
|
|
750
695
|
include Google::Apis::Core::Hashable
|
|
751
696
|
|
|
752
|
-
#
|
|
697
|
+
# The deleted images.
|
|
753
698
|
# Corresponds to the JSON property `deleted`
|
|
754
699
|
# @return [Array<Google::Apis::AndroidpublisherV3::Image>]
|
|
755
700
|
attr_accessor :deleted
|
|
@@ -764,11 +709,11 @@ module Google
|
|
|
764
709
|
end
|
|
765
710
|
end
|
|
766
711
|
|
|
767
|
-
#
|
|
712
|
+
# Response listing all images.
|
|
768
713
|
class ImagesListResponse
|
|
769
714
|
include Google::Apis::Core::Hashable
|
|
770
715
|
|
|
771
|
-
#
|
|
716
|
+
# All listed Images.
|
|
772
717
|
# Corresponds to the JSON property `images`
|
|
773
718
|
# @return [Array<Google::Apis::AndroidpublisherV3::Image>]
|
|
774
719
|
attr_accessor :images
|
|
@@ -783,11 +728,11 @@ module Google
|
|
|
783
728
|
end
|
|
784
729
|
end
|
|
785
730
|
|
|
786
|
-
#
|
|
731
|
+
# Response for uploading an image.
|
|
787
732
|
class ImagesUploadResponse
|
|
788
733
|
include Google::Apis::Core::Hashable
|
|
789
734
|
|
|
790
|
-
#
|
|
735
|
+
# An uploaded image. The resource for ImagesService.
|
|
791
736
|
# Corresponds to the JSON property `image`
|
|
792
737
|
# @return [Google::Apis::AndroidpublisherV3::Image]
|
|
793
738
|
attr_accessor :image
|
|
@@ -802,71 +747,70 @@ module Google
|
|
|
802
747
|
end
|
|
803
748
|
end
|
|
804
749
|
|
|
805
|
-
#
|
|
750
|
+
# An in-app product. The resource for InappproductsService.
|
|
806
751
|
class InAppProduct
|
|
807
752
|
include Google::Apis::Core::Hashable
|
|
808
753
|
|
|
809
|
-
#
|
|
810
|
-
# "en-GB".
|
|
754
|
+
# Default language of the localized data, as defined by BCP-47. e.g. "en-US".
|
|
811
755
|
# Corresponds to the JSON property `defaultLanguage`
|
|
812
756
|
# @return [String]
|
|
813
757
|
attr_accessor :default_language
|
|
814
758
|
|
|
815
|
-
#
|
|
816
|
-
# is always in the developer's Checkout merchant currency.
|
|
759
|
+
# Definition of a price, i.e. currency and units.
|
|
817
760
|
# Corresponds to the JSON property `defaultPrice`
|
|
818
761
|
# @return [Google::Apis::AndroidpublisherV3::Price]
|
|
819
762
|
attr_accessor :default_price
|
|
820
763
|
|
|
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
|
-
#
|
|
764
|
+
# Grace period of the subscription, specified in ISO 8601 format. Allows
|
|
765
|
+
# developers to give their subscribers a grace period when the payment
|
|
766
|
+
# for the new recurrence period is declined.
|
|
767
|
+
# Acceptable values are P0D (zero days), P3D (three days), P7D (seven days),
|
|
768
|
+
# P14D (14 days), and P30D (30 days).
|
|
825
769
|
# Corresponds to the JSON property `gracePeriod`
|
|
826
770
|
# @return [String]
|
|
827
771
|
attr_accessor :grace_period
|
|
828
772
|
|
|
829
|
-
# List of localized title and description data.
|
|
773
|
+
# List of localized title and description data. Map key is the language of
|
|
774
|
+
# the localized data, as defined by BCP-47, e.g. "en-US".
|
|
830
775
|
# Corresponds to the JSON property `listings`
|
|
831
776
|
# @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
|
|
832
777
|
attr_accessor :listings
|
|
833
778
|
|
|
834
|
-
#
|
|
779
|
+
# Package name of the parent app.
|
|
835
780
|
# Corresponds to the JSON property `packageName`
|
|
836
781
|
# @return [String]
|
|
837
782
|
attr_accessor :package_name
|
|
838
783
|
|
|
839
|
-
# Prices per buyer region. None of these
|
|
840
|
-
#
|
|
784
|
+
# Prices per buyer region. None of these can be zero, as in-app products are
|
|
785
|
+
# never free. Map key is region code, as defined by ISO 3166-2.
|
|
841
786
|
# Corresponds to the JSON property `prices`
|
|
842
787
|
# @return [Hash<String,Google::Apis::AndroidpublisherV3::Price>]
|
|
843
788
|
attr_accessor :prices
|
|
844
789
|
|
|
845
|
-
#
|
|
790
|
+
# The type of the product, e.g. a recurring subscription.
|
|
846
791
|
# Corresponds to the JSON property `purchaseType`
|
|
847
792
|
# @return [String]
|
|
848
793
|
attr_accessor :purchase_type
|
|
849
794
|
|
|
850
|
-
#
|
|
795
|
+
# Stock-keeping-unit (SKU) of the product, unique within an app.
|
|
851
796
|
# Corresponds to the JSON property `sku`
|
|
852
797
|
# @return [String]
|
|
853
798
|
attr_accessor :sku
|
|
854
799
|
|
|
855
|
-
#
|
|
800
|
+
# The status of the product, e.g. whether it's active.
|
|
856
801
|
# Corresponds to the JSON property `status`
|
|
857
802
|
# @return [String]
|
|
858
803
|
attr_accessor :status
|
|
859
804
|
|
|
860
|
-
# Subscription period, specified in ISO 8601 format. Acceptable values are
|
|
861
|
-
# (one week),
|
|
862
|
-
# P1Y
|
|
805
|
+
# Subscription period, specified in ISO 8601 format. Acceptable values are
|
|
806
|
+
# P1W (one week), P1M (one month), P3M (three months), P6M (six months),
|
|
807
|
+
# and P1Y (one year).
|
|
863
808
|
# Corresponds to the JSON property `subscriptionPeriod`
|
|
864
809
|
# @return [String]
|
|
865
810
|
attr_accessor :subscription_period
|
|
866
811
|
|
|
867
812
|
# Trial period, specified in ISO 8601 format. Acceptable values are anything
|
|
868
|
-
# between
|
|
869
|
-
# cannot have a trial period.
|
|
813
|
+
# between P7D (seven days) and P999D (999 days).
|
|
870
814
|
# Corresponds to the JSON property `trialPeriod`
|
|
871
815
|
# @return [String]
|
|
872
816
|
attr_accessor :trial_period
|
|
@@ -891,16 +835,21 @@ module Google
|
|
|
891
835
|
end
|
|
892
836
|
end
|
|
893
837
|
|
|
894
|
-
#
|
|
838
|
+
# Store listing of a single in-app product.
|
|
895
839
|
class InAppProductListing
|
|
896
840
|
include Google::Apis::Core::Hashable
|
|
897
841
|
|
|
898
|
-
#
|
|
842
|
+
# Localized entitlement benefits for a subscription.
|
|
843
|
+
# Corresponds to the JSON property `benefits`
|
|
844
|
+
# @return [Array<String>]
|
|
845
|
+
attr_accessor :benefits
|
|
846
|
+
|
|
847
|
+
# Description for the store listing.
|
|
899
848
|
# Corresponds to the JSON property `description`
|
|
900
849
|
# @return [String]
|
|
901
850
|
attr_accessor :description
|
|
902
851
|
|
|
903
|
-
#
|
|
852
|
+
# Title for the store listing.
|
|
904
853
|
# Corresponds to the JSON property `title`
|
|
905
854
|
# @return [String]
|
|
906
855
|
attr_accessor :title
|
|
@@ -911,32 +860,42 @@ module Google
|
|
|
911
860
|
|
|
912
861
|
# Update properties of this object
|
|
913
862
|
def update!(**args)
|
|
863
|
+
@benefits = args[:benefits] if args.key?(:benefits)
|
|
914
864
|
@description = args[:description] if args.key?(:description)
|
|
915
865
|
@title = args[:title] if args.key?(:title)
|
|
916
866
|
end
|
|
917
867
|
end
|
|
918
868
|
|
|
919
|
-
#
|
|
869
|
+
# Response listing all in-app products.
|
|
920
870
|
class InappproductsListResponse
|
|
921
871
|
include Google::Apis::Core::Hashable
|
|
922
872
|
|
|
923
|
-
#
|
|
873
|
+
# All in-app products.
|
|
924
874
|
# Corresponds to the JSON property `inappproduct`
|
|
925
875
|
# @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
|
|
926
876
|
attr_accessor :inappproduct
|
|
927
877
|
|
|
928
|
-
#
|
|
929
|
-
# androidpublisher#inappproductsListResponse".
|
|
878
|
+
# The kind of this response ("androidpublisher#inappproductsListResponse").
|
|
930
879
|
# Corresponds to the JSON property `kind`
|
|
931
880
|
# @return [String]
|
|
932
881
|
attr_accessor :kind
|
|
933
882
|
|
|
934
|
-
#
|
|
883
|
+
# Information about the current page.
|
|
884
|
+
# List operations that supports paging return only one "page" of results. This
|
|
885
|
+
# protocol buffer message describes the page that has been returned.
|
|
935
886
|
# Corresponds to the JSON property `pageInfo`
|
|
936
887
|
# @return [Google::Apis::AndroidpublisherV3::PageInfo]
|
|
937
888
|
attr_accessor :page_info
|
|
938
889
|
|
|
939
|
-
#
|
|
890
|
+
# Pagination information returned by a List operation when token pagination
|
|
891
|
+
# is enabled.
|
|
892
|
+
# List operations that supports paging return only one "page" of results. This
|
|
893
|
+
# protocol buffer message describes the page that has been returned.
|
|
894
|
+
# When using token pagination, clients should use the next/previous token
|
|
895
|
+
# to get another page of the result. The presence or absence of next/previous
|
|
896
|
+
# token indicates whether a next/previous page is available and provides a
|
|
897
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
|
898
|
+
# next_page_token or previous_page_token to access another page.
|
|
940
899
|
# Corresponds to the JSON property `tokenPagination`
|
|
941
900
|
# @return [Google::Apis::AndroidpublisherV3::TokenPagination]
|
|
942
901
|
attr_accessor :token_pagination
|
|
@@ -954,25 +913,26 @@ module Google
|
|
|
954
913
|
end
|
|
955
914
|
end
|
|
956
915
|
|
|
957
|
-
# An artifact resource which gets created when uploading an APK or Android
|
|
958
|
-
# Bundle through internal app sharing.
|
|
916
|
+
# An artifact resource which gets created when uploading an APK or Android
|
|
917
|
+
# App Bundle through internal app sharing.
|
|
959
918
|
class InternalAppSharingArtifact
|
|
960
919
|
include Google::Apis::Core::Hashable
|
|
961
920
|
|
|
962
|
-
# The
|
|
921
|
+
# The sha256 fingerprint of the certificate used to sign the generated
|
|
963
922
|
# artifact.
|
|
964
923
|
# Corresponds to the JSON property `certificateFingerprint`
|
|
965
924
|
# @return [String]
|
|
966
925
|
attr_accessor :certificate_fingerprint
|
|
967
926
|
|
|
968
|
-
# The download URL generated for the uploaded artifact.
|
|
969
|
-
# authorized to download can follow the link to the Play
|
|
927
|
+
# The download URL generated for the uploaded artifact.
|
|
928
|
+
# Users that are authorized to download can follow the link to the Play
|
|
929
|
+
# Store app to install it.
|
|
970
930
|
# Corresponds to the JSON property `downloadUrl`
|
|
971
931
|
# @return [String]
|
|
972
932
|
attr_accessor :download_url
|
|
973
933
|
|
|
974
|
-
# The
|
|
975
|
-
# matching the output of the sha256sum command.
|
|
934
|
+
# The sha256 hash of the artifact represented as a lowercase hexadecimal
|
|
935
|
+
# number, matching the output of the sha256sum command.
|
|
976
936
|
# Corresponds to the JSON property `sha256`
|
|
977
937
|
# @return [String]
|
|
978
938
|
attr_accessor :sha256
|
|
@@ -993,17 +953,18 @@ module Google
|
|
|
993
953
|
class IntroductoryPriceInfo
|
|
994
954
|
include Google::Apis::Core::Hashable
|
|
995
955
|
|
|
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,
|
|
956
|
+
# Introductory price of the subscription, not including tax.
|
|
957
|
+
# The currency is the same as price_currency_code. Price is
|
|
958
|
+
# expressed in micro-units, where 1,000,000 micro-units represents one unit
|
|
959
|
+
# of the currency. For example, if the subscription price is €1.99,
|
|
960
|
+
# price_amount_micros is 1990000.
|
|
1000
961
|
# Corresponds to the JSON property `introductoryPriceAmountMicros`
|
|
1001
962
|
# @return [Fixnum]
|
|
1002
963
|
attr_accessor :introductory_price_amount_micros
|
|
1003
964
|
|
|
1004
|
-
# ISO 4217 currency code for the introductory subscription price.
|
|
1005
|
-
# if the price is specified in British pounds sterling,
|
|
1006
|
-
# GBP".
|
|
965
|
+
# ISO 4217 currency code for the introductory subscription price.
|
|
966
|
+
# For example, if the price is specified in British pounds sterling,
|
|
967
|
+
# price_currency_code is "GBP".
|
|
1007
968
|
# Corresponds to the JSON property `introductoryPriceCurrencyCode`
|
|
1008
969
|
# @return [String]
|
|
1009
970
|
attr_accessor :introductory_price_currency_code
|
|
@@ -1013,9 +974,10 @@ module Google
|
|
|
1013
974
|
# @return [Fixnum]
|
|
1014
975
|
attr_accessor :introductory_price_cycles
|
|
1015
976
|
|
|
1016
|
-
# Introductory price period, specified in ISO 8601 format.
|
|
1017
|
-
# but not limited to) "P1W" (one
|
|
1018
|
-
# "
|
|
977
|
+
# Introductory price period, specified in ISO 8601 format.
|
|
978
|
+
# Common values are (but not limited to) "P1W" (one
|
|
979
|
+
# week), "P1M" (one month), "P3M" (three months), "P6M" (six months),
|
|
980
|
+
# and "P1Y" (one year).
|
|
1019
981
|
# Corresponds to the JSON property `introductoryPricePeriod`
|
|
1020
982
|
# @return [String]
|
|
1021
983
|
attr_accessor :introductory_price_period
|
|
@@ -1033,27 +995,27 @@ module Google
|
|
|
1033
995
|
end
|
|
1034
996
|
end
|
|
1035
997
|
|
|
1036
|
-
#
|
|
998
|
+
# A localized store listing. The resource for ListingsService.
|
|
1037
999
|
class Listing
|
|
1038
1000
|
include Google::Apis::Core::Hashable
|
|
1039
1001
|
|
|
1040
|
-
# Full description of the app
|
|
1002
|
+
# Full description of the app.
|
|
1041
1003
|
# Corresponds to the JSON property `fullDescription`
|
|
1042
1004
|
# @return [String]
|
|
1043
1005
|
attr_accessor :full_description
|
|
1044
1006
|
|
|
1045
|
-
# Language localization code (for example, "de-AT"
|
|
1007
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
|
1008
|
+
# for Austrian German).
|
|
1046
1009
|
# Corresponds to the JSON property `language`
|
|
1047
1010
|
# @return [String]
|
|
1048
1011
|
attr_accessor :language
|
|
1049
1012
|
|
|
1050
|
-
# Short description of the app
|
|
1051
|
-
# to 80 characters in length.
|
|
1013
|
+
# Short description of the app.
|
|
1052
1014
|
# Corresponds to the JSON property `shortDescription`
|
|
1053
1015
|
# @return [String]
|
|
1054
1016
|
attr_accessor :short_description
|
|
1055
1017
|
|
|
1056
|
-
#
|
|
1018
|
+
# Localized title of the app.
|
|
1057
1019
|
# Corresponds to the JSON property `title`
|
|
1058
1020
|
# @return [String]
|
|
1059
1021
|
attr_accessor :title
|
|
@@ -1077,17 +1039,16 @@ module Google
|
|
|
1077
1039
|
end
|
|
1078
1040
|
end
|
|
1079
1041
|
|
|
1080
|
-
#
|
|
1042
|
+
# Response listing all localized listings.
|
|
1081
1043
|
class ListingsListResponse
|
|
1082
1044
|
include Google::Apis::Core::Hashable
|
|
1083
1045
|
|
|
1084
|
-
#
|
|
1085
|
-
# androidpublisher#listingsListResponse".
|
|
1046
|
+
# The kind of this response ("androidpublisher#listingsListResponse").
|
|
1086
1047
|
# Corresponds to the JSON property `kind`
|
|
1087
1048
|
# @return [String]
|
|
1088
1049
|
attr_accessor :kind
|
|
1089
1050
|
|
|
1090
|
-
#
|
|
1051
|
+
# All localized listings.
|
|
1091
1052
|
# Corresponds to the JSON property `listings`
|
|
1092
1053
|
# @return [Array<Google::Apis::AndroidpublisherV3::Listing>]
|
|
1093
1054
|
attr_accessor :listings
|
|
@@ -1103,16 +1064,17 @@ module Google
|
|
|
1103
1064
|
end
|
|
1104
1065
|
end
|
|
1105
1066
|
|
|
1106
|
-
#
|
|
1067
|
+
# Release notes specification, i.e. language and text.
|
|
1107
1068
|
class LocalizedText
|
|
1108
1069
|
include Google::Apis::Core::Hashable
|
|
1109
1070
|
|
|
1110
|
-
#
|
|
1071
|
+
# Language localization code (a BCP-47 language tag; for example, "de-AT"
|
|
1072
|
+
# for Austrian German).
|
|
1111
1073
|
# Corresponds to the JSON property `language`
|
|
1112
1074
|
# @return [String]
|
|
1113
1075
|
attr_accessor :language
|
|
1114
1076
|
|
|
1115
|
-
# The text in the given
|
|
1077
|
+
# The text in the given language.
|
|
1116
1078
|
# Corresponds to the JSON property `text`
|
|
1117
1079
|
# @return [String]
|
|
1118
1080
|
attr_accessor :text
|
|
@@ -1128,46 +1090,25 @@ module Google
|
|
|
1128
1090
|
end
|
|
1129
1091
|
end
|
|
1130
1092
|
|
|
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
|
-
#
|
|
1093
|
+
# Information about the current page.
|
|
1094
|
+
# List operations that supports paging return only one "page" of results. This
|
|
1095
|
+
# protocol buffer message describes the page that has been returned.
|
|
1157
1096
|
class PageInfo
|
|
1158
1097
|
include Google::Apis::Core::Hashable
|
|
1159
1098
|
|
|
1160
|
-
#
|
|
1099
|
+
# Maximum number of results returned in one page.
|
|
1100
|
+
# ! The number of results included in the API response.
|
|
1161
1101
|
# Corresponds to the JSON property `resultPerPage`
|
|
1162
1102
|
# @return [Fixnum]
|
|
1163
1103
|
attr_accessor :result_per_page
|
|
1164
1104
|
|
|
1165
|
-
#
|
|
1105
|
+
# Index of the first result returned in the current page.
|
|
1166
1106
|
# Corresponds to the JSON property `startIndex`
|
|
1167
1107
|
# @return [Fixnum]
|
|
1168
1108
|
attr_accessor :start_index
|
|
1169
1109
|
|
|
1170
|
-
#
|
|
1110
|
+
# Total number of results available on the backend
|
|
1111
|
+
# ! The total number of results in the result set.
|
|
1171
1112
|
# Corresponds to the JSON property `totalResults`
|
|
1172
1113
|
# @return [Fixnum]
|
|
1173
1114
|
attr_accessor :total_results
|
|
@@ -1184,16 +1125,17 @@ module Google
|
|
|
1184
1125
|
end
|
|
1185
1126
|
end
|
|
1186
1127
|
|
|
1187
|
-
#
|
|
1128
|
+
# Definition of a price, i.e. currency and units.
|
|
1188
1129
|
class Price
|
|
1189
1130
|
include Google::Apis::Core::Hashable
|
|
1190
1131
|
|
|
1191
1132
|
# 3 letter Currency code, as defined by ISO 4217.
|
|
1133
|
+
# See java/com/google/common/money/CurrencyCode.java
|
|
1192
1134
|
# Corresponds to the JSON property `currency`
|
|
1193
1135
|
# @return [String]
|
|
1194
1136
|
attr_accessor :currency
|
|
1195
1137
|
|
|
1196
|
-
#
|
|
1138
|
+
# Price in 1/million of the currency base unit, represented as a string.
|
|
1197
1139
|
# Corresponds to the JSON property `priceMicros`
|
|
1198
1140
|
# @return [String]
|
|
1199
1141
|
attr_accessor :price_micros
|
|
@@ -1209,36 +1151,55 @@ module Google
|
|
|
1209
1151
|
end
|
|
1210
1152
|
end
|
|
1211
1153
|
|
|
1212
|
-
# A ProductPurchase resource indicates the status of a user's inapp
|
|
1213
|
-
# purchase.
|
|
1154
|
+
# A ProductPurchase resource indicates the status of a user's inapp
|
|
1155
|
+
# product purchase.
|
|
1214
1156
|
class ProductPurchase
|
|
1215
1157
|
include Google::Apis::Core::Hashable
|
|
1216
1158
|
|
|
1217
1159
|
# The acknowledgement state of the inapp product. Possible values are:
|
|
1218
|
-
#
|
|
1219
|
-
#
|
|
1160
|
+
# 0. Yet to be acknowledged
|
|
1161
|
+
# 1. Acknowledged
|
|
1220
1162
|
# Corresponds to the JSON property `acknowledgementState`
|
|
1221
1163
|
# @return [Fixnum]
|
|
1222
1164
|
attr_accessor :acknowledgement_state
|
|
1223
1165
|
|
|
1224
1166
|
# The consumption state of the inapp product. Possible values are:
|
|
1225
|
-
#
|
|
1226
|
-
#
|
|
1167
|
+
# 0. Yet to be consumed
|
|
1168
|
+
# 1. Consumed
|
|
1227
1169
|
# Corresponds to the JSON property `consumptionState`
|
|
1228
1170
|
# @return [Fixnum]
|
|
1229
1171
|
attr_accessor :consumption_state
|
|
1230
1172
|
|
|
1231
|
-
# A developer-specified string that contains supplemental
|
|
1232
|
-
# order.
|
|
1173
|
+
# A developer-specified string that contains supplemental
|
|
1174
|
+
# information about an order.
|
|
1233
1175
|
# Corresponds to the JSON property `developerPayload`
|
|
1234
1176
|
# @return [String]
|
|
1235
1177
|
attr_accessor :developer_payload
|
|
1236
1178
|
|
|
1237
|
-
# This kind represents an inappPurchase object in the androidpublisher
|
|
1179
|
+
# This kind represents an inappPurchase object in the androidpublisher
|
|
1180
|
+
# service.
|
|
1238
1181
|
# Corresponds to the JSON property `kind`
|
|
1239
1182
|
# @return [String]
|
|
1240
1183
|
attr_accessor :kind
|
|
1241
1184
|
|
|
1185
|
+
# An obfuscated version of the id that is uniquely associated with the
|
|
1186
|
+
# user's account in your app. Only present if specified using
|
|
1187
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
|
1188
|
+
# BillingFlowParams.Builder#setobfuscatedaccountid
|
|
1189
|
+
# when the purchase was made.
|
|
1190
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
|
1191
|
+
# @return [String]
|
|
1192
|
+
attr_accessor :obfuscated_external_account_id
|
|
1193
|
+
|
|
1194
|
+
# An obfuscated version of the id that is uniquely associated with the
|
|
1195
|
+
# user's profile in your app. Only present if specified using
|
|
1196
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
|
1197
|
+
# BillingFlowParams.Builder#setobfuscatedprofileid
|
|
1198
|
+
# when the purchase was made.
|
|
1199
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
|
1200
|
+
# @return [String]
|
|
1201
|
+
attr_accessor :obfuscated_external_profile_id
|
|
1202
|
+
|
|
1242
1203
|
# The order id associated with the purchase of the inapp product.
|
|
1243
1204
|
# Corresponds to the JSON property `orderId`
|
|
1244
1205
|
# @return [String]
|
|
@@ -1250,15 +1211,15 @@ module Google
|
|
|
1250
1211
|
attr_accessor :product_id
|
|
1251
1212
|
|
|
1252
1213
|
# The purchase state of the order. Possible values are:
|
|
1253
|
-
#
|
|
1254
|
-
#
|
|
1255
|
-
#
|
|
1214
|
+
# 0. Purchased
|
|
1215
|
+
# 1. Canceled
|
|
1216
|
+
# 2. Pending
|
|
1256
1217
|
# Corresponds to the JSON property `purchaseState`
|
|
1257
1218
|
# @return [Fixnum]
|
|
1258
1219
|
attr_accessor :purchase_state
|
|
1259
1220
|
|
|
1260
|
-
# The time the product was purchased, in milliseconds since the
|
|
1261
|
-
# 1970).
|
|
1221
|
+
# The time the product was purchased, in milliseconds since the
|
|
1222
|
+
# epoch (Jan 1, 1970).
|
|
1262
1223
|
# Corresponds to the JSON property `purchaseTimeMillis`
|
|
1263
1224
|
# @return [Fixnum]
|
|
1264
1225
|
attr_accessor :purchase_time_millis
|
|
@@ -1268,12 +1229,12 @@ module Google
|
|
|
1268
1229
|
# @return [String]
|
|
1269
1230
|
attr_accessor :purchase_token
|
|
1270
1231
|
|
|
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
|
-
#
|
|
1232
|
+
# The type of purchase of the inapp product. This field is only set if
|
|
1233
|
+
# this purchase was not made using the standard in-app billing flow.
|
|
1234
|
+
# Possible values are:
|
|
1235
|
+
# 0. Test (i.e. purchased from a license testing account)
|
|
1236
|
+
# 1. Promo (i.e. purchased using a promo code)
|
|
1237
|
+
# 2. Rewarded (i.e. from watching a video ad instead of paying)
|
|
1277
1238
|
# Corresponds to the JSON property `purchaseType`
|
|
1278
1239
|
# @return [Fixnum]
|
|
1279
1240
|
attr_accessor :purchase_type
|
|
@@ -1293,6 +1254,8 @@ module Google
|
|
|
1293
1254
|
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
|
1294
1255
|
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
|
1295
1256
|
@kind = args[:kind] if args.key?(:kind)
|
|
1257
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
|
1258
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
|
1296
1259
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
1297
1260
|
@product_id = args[:product_id] if args.key?(:product_id)
|
|
1298
1261
|
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
|
@@ -1303,7 +1266,7 @@ module Google
|
|
|
1303
1266
|
end
|
|
1304
1267
|
end
|
|
1305
1268
|
|
|
1306
|
-
#
|
|
1269
|
+
# Request for the product.purchases.acknowledge API.
|
|
1307
1270
|
class ProductPurchasesAcknowledgeRequest
|
|
1308
1271
|
include Google::Apis::Core::Hashable
|
|
1309
1272
|
|
|
@@ -1322,7 +1285,7 @@ module Google
|
|
|
1322
1285
|
end
|
|
1323
1286
|
end
|
|
1324
1287
|
|
|
1325
|
-
#
|
|
1288
|
+
# An Android app review.
|
|
1326
1289
|
class Review
|
|
1327
1290
|
include Google::Apis::Core::Hashable
|
|
1328
1291
|
|
|
@@ -1353,11 +1316,14 @@ module Google
|
|
|
1353
1316
|
end
|
|
1354
1317
|
end
|
|
1355
1318
|
|
|
1356
|
-
#
|
|
1319
|
+
# The result of replying/updating a reply to review.
|
|
1357
1320
|
class ReviewReplyResult
|
|
1358
1321
|
include Google::Apis::Core::Hashable
|
|
1359
1322
|
|
|
1360
|
-
#
|
|
1323
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
|
1324
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
1325
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
1326
|
+
# January 1, 1970.
|
|
1361
1327
|
# Corresponds to the JSON property `lastEdited`
|
|
1362
1328
|
# @return [Google::Apis::AndroidpublisherV3::Timestamp]
|
|
1363
1329
|
attr_accessor :last_edited
|
|
@@ -1378,21 +1344,31 @@ module Google
|
|
|
1378
1344
|
end
|
|
1379
1345
|
end
|
|
1380
1346
|
|
|
1381
|
-
#
|
|
1347
|
+
# Response listing reviews.
|
|
1382
1348
|
class ReviewsListResponse
|
|
1383
1349
|
include Google::Apis::Core::Hashable
|
|
1384
1350
|
|
|
1385
|
-
#
|
|
1351
|
+
# Information about the current page.
|
|
1352
|
+
# List operations that supports paging return only one "page" of results. This
|
|
1353
|
+
# protocol buffer message describes the page that has been returned.
|
|
1386
1354
|
# Corresponds to the JSON property `pageInfo`
|
|
1387
1355
|
# @return [Google::Apis::AndroidpublisherV3::PageInfo]
|
|
1388
1356
|
attr_accessor :page_info
|
|
1389
1357
|
|
|
1390
|
-
#
|
|
1358
|
+
# List of reviews.
|
|
1391
1359
|
# Corresponds to the JSON property `reviews`
|
|
1392
1360
|
# @return [Array<Google::Apis::AndroidpublisherV3::Review>]
|
|
1393
1361
|
attr_accessor :reviews
|
|
1394
1362
|
|
|
1395
|
-
#
|
|
1363
|
+
# Pagination information returned by a List operation when token pagination
|
|
1364
|
+
# is enabled.
|
|
1365
|
+
# List operations that supports paging return only one "page" of results. This
|
|
1366
|
+
# protocol buffer message describes the page that has been returned.
|
|
1367
|
+
# When using token pagination, clients should use the next/previous token
|
|
1368
|
+
# to get another page of the result. The presence or absence of next/previous
|
|
1369
|
+
# token indicates whether a next/previous page is available and provides a
|
|
1370
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
|
1371
|
+
# next_page_token or previous_page_token to access another page.
|
|
1396
1372
|
# Corresponds to the JSON property `tokenPagination`
|
|
1397
1373
|
# @return [Google::Apis::AndroidpublisherV3::TokenPagination]
|
|
1398
1374
|
attr_accessor :token_pagination
|
|
@@ -1409,7 +1385,7 @@ module Google
|
|
|
1409
1385
|
end
|
|
1410
1386
|
end
|
|
1411
1387
|
|
|
1412
|
-
#
|
|
1388
|
+
# Request to reply to review or update existing reply.
|
|
1413
1389
|
class ReviewsReplyRequest
|
|
1414
1390
|
include Google::Apis::Core::Hashable
|
|
1415
1391
|
|
|
@@ -1429,11 +1405,11 @@ module Google
|
|
|
1429
1405
|
end
|
|
1430
1406
|
end
|
|
1431
1407
|
|
|
1432
|
-
#
|
|
1408
|
+
# Response on status of replying to a review.
|
|
1433
1409
|
class ReviewsReplyResponse
|
|
1434
1410
|
include Google::Apis::Core::Hashable
|
|
1435
1411
|
|
|
1436
|
-
#
|
|
1412
|
+
# The result of replying/updating a reply to review.
|
|
1437
1413
|
# Corresponds to the JSON property `result`
|
|
1438
1414
|
# @return [Google::Apis::AndroidpublisherV3::ReviewReplyResult]
|
|
1439
1415
|
attr_accessor :result
|
|
@@ -1448,105 +1424,18 @@ module Google
|
|
|
1448
1424
|
end
|
|
1449
1425
|
end
|
|
1450
1426
|
|
|
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
1427
|
# Information provided by the user when they complete the subscription
|
|
1540
1428
|
# cancellation flow (cancellation reason survey).
|
|
1541
1429
|
class SubscriptionCancelSurveyResult
|
|
1542
1430
|
include Google::Apis::Core::Hashable
|
|
1543
1431
|
|
|
1544
|
-
# The cancellation reason the user chose in the survey.
|
|
1545
|
-
#
|
|
1546
|
-
#
|
|
1547
|
-
#
|
|
1548
|
-
#
|
|
1549
|
-
# -
|
|
1432
|
+
# The cancellation reason the user chose in the survey.
|
|
1433
|
+
# Possible values are:
|
|
1434
|
+
# 0. Other
|
|
1435
|
+
# 1. I don't use this service enough
|
|
1436
|
+
# 2. Technical issues
|
|
1437
|
+
# 3. Cost-related reasons
|
|
1438
|
+
# 4. I found a better app
|
|
1550
1439
|
# Corresponds to the JSON property `cancelSurveyReason`
|
|
1551
1440
|
# @return [Fixnum]
|
|
1552
1441
|
attr_accessor :cancel_survey_reason
|
|
@@ -1568,20 +1457,21 @@ module Google
|
|
|
1568
1457
|
end
|
|
1569
1458
|
end
|
|
1570
1459
|
|
|
1571
|
-
# A SubscriptionDeferralInfo contains the data needed to defer a
|
|
1572
|
-
# purchase to a future expiry time.
|
|
1460
|
+
# A SubscriptionDeferralInfo contains the data needed to defer a
|
|
1461
|
+
# subscription purchase to a future expiry time.
|
|
1573
1462
|
class SubscriptionDeferralInfo
|
|
1574
1463
|
include Google::Apis::Core::Hashable
|
|
1575
1464
|
|
|
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.
|
|
1465
|
+
# The desired next expiry time to assign to the subscription, in
|
|
1466
|
+
# milliseconds since the Epoch. The given time must be later/greater
|
|
1467
|
+
# than the current expiry time for the subscription.
|
|
1579
1468
|
# Corresponds to the JSON property `desiredExpiryTimeMillis`
|
|
1580
1469
|
# @return [Fixnum]
|
|
1581
1470
|
attr_accessor :desired_expiry_time_millis
|
|
1582
1471
|
|
|
1583
|
-
# The expected expiry time for the subscription.
|
|
1584
|
-
# the subscription is not the value specified
|
|
1472
|
+
# The expected expiry time for the subscription. If the current
|
|
1473
|
+
# expiry time for the subscription is not the value specified
|
|
1474
|
+
# here, the deferral will not occur.
|
|
1585
1475
|
# Corresponds to the JSON property `expectedExpiryTimeMillis`
|
|
1586
1476
|
# @return [Fixnum]
|
|
1587
1477
|
attr_accessor :expected_expiry_time_millis
|
|
@@ -1604,20 +1494,19 @@ module Google
|
|
|
1604
1494
|
class SubscriptionPriceChange
|
|
1605
1495
|
include Google::Apis::Core::Hashable
|
|
1606
1496
|
|
|
1607
|
-
#
|
|
1608
|
-
# by the user.
|
|
1497
|
+
# Definition of a price, i.e. currency and units.
|
|
1609
1498
|
# Corresponds to the JSON property `newPrice`
|
|
1610
1499
|
# @return [Google::Apis::AndroidpublisherV3::Price]
|
|
1611
1500
|
attr_accessor :new_price
|
|
1612
1501
|
|
|
1613
1502
|
# 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.
|
|
1503
|
+
# 0. Outstanding: State for a pending price change waiting for the user to
|
|
1504
|
+
# agree. In this state, you can optionally seek confirmation from the
|
|
1505
|
+
# user using the In-App API.
|
|
1506
|
+
# 1. Accepted: State for an accepted price change that the subscription
|
|
1507
|
+
# will renew with unless it's canceled. The price change takes effect on
|
|
1508
|
+
# a future date when the subscription renews. Note that the change might
|
|
1509
|
+
# not occur when the subscription is renewed next.
|
|
1621
1510
|
# Corresponds to the JSON property `state`
|
|
1622
1511
|
# @return [Fixnum]
|
|
1623
1512
|
attr_accessor :state
|
|
@@ -1633,39 +1522,40 @@ module Google
|
|
|
1633
1522
|
end
|
|
1634
1523
|
end
|
|
1635
1524
|
|
|
1636
|
-
# A SubscriptionPurchase resource indicates the status of a user's
|
|
1637
|
-
# purchase.
|
|
1525
|
+
# A SubscriptionPurchase resource indicates the status of a user's
|
|
1526
|
+
# subscription purchase.
|
|
1638
1527
|
class SubscriptionPurchase
|
|
1639
1528
|
include Google::Apis::Core::Hashable
|
|
1640
1529
|
|
|
1641
|
-
# The acknowledgement state of the subscription product. Possible values
|
|
1642
|
-
#
|
|
1643
|
-
#
|
|
1530
|
+
# The acknowledgement state of the subscription product. Possible values
|
|
1531
|
+
# are:
|
|
1532
|
+
# 0. Yet to be acknowledged
|
|
1533
|
+
# 1. Acknowledged
|
|
1644
1534
|
# Corresponds to the JSON property `acknowledgementState`
|
|
1645
1535
|
# @return [Fixnum]
|
|
1646
1536
|
attr_accessor :acknowledgement_state
|
|
1647
1537
|
|
|
1648
|
-
# Whether the subscription will automatically be renewed when it
|
|
1649
|
-
# current expiry time.
|
|
1538
|
+
# Whether the subscription will automatically be renewed when it
|
|
1539
|
+
# reaches its current expiry time.
|
|
1650
1540
|
# Corresponds to the JSON property `autoRenewing`
|
|
1651
1541
|
# @return [Boolean]
|
|
1652
1542
|
attr_accessor :auto_renewing
|
|
1653
1543
|
alias_method :auto_renewing?, :auto_renewing
|
|
1654
1544
|
|
|
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.
|
|
1545
|
+
# Time at which the subscription will be automatically resumed, in
|
|
1546
|
+
# milliseconds since the Epoch. Only present if the user has requested to
|
|
1547
|
+
# pause the subscription.
|
|
1658
1548
|
# Corresponds to the JSON property `autoResumeTimeMillis`
|
|
1659
1549
|
# @return [Fixnum]
|
|
1660
1550
|
attr_accessor :auto_resume_time_millis
|
|
1661
1551
|
|
|
1662
|
-
# The reason why a subscription was canceled or is not auto-renewing.
|
|
1663
|
-
# values are:
|
|
1664
|
-
#
|
|
1665
|
-
#
|
|
1666
|
-
# problem
|
|
1667
|
-
#
|
|
1668
|
-
#
|
|
1552
|
+
# The reason why a subscription was canceled or is not auto-renewing.
|
|
1553
|
+
# Possible values are:
|
|
1554
|
+
# 0. User canceled the subscription
|
|
1555
|
+
# 1. Subscription was canceled by the system,
|
|
1556
|
+
# for example because of a billing problem
|
|
1557
|
+
# 2. Subscription was replaced with a new subscription
|
|
1558
|
+
# 3. Subscription was canceled by the developer
|
|
1669
1559
|
# Corresponds to the JSON property `cancelReason`
|
|
1670
1560
|
# @return [Fixnum]
|
|
1671
1561
|
attr_accessor :cancel_reason
|
|
@@ -1676,43 +1566,45 @@ module Google
|
|
|
1676
1566
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult]
|
|
1677
1567
|
attr_accessor :cancel_survey_result
|
|
1678
1568
|
|
|
1679
|
-
# ISO 3166-1 alpha-2 billing country/region code of the user at the time
|
|
1680
|
-
# subscription was granted.
|
|
1569
|
+
# ISO 3166-1 alpha-2 billing country/region code of the user at the time
|
|
1570
|
+
# the subscription was granted.
|
|
1681
1571
|
# Corresponds to the JSON property `countryCode`
|
|
1682
1572
|
# @return [String]
|
|
1683
1573
|
attr_accessor :country_code
|
|
1684
1574
|
|
|
1685
|
-
# A developer-specified string that contains supplemental
|
|
1686
|
-
# order.
|
|
1575
|
+
# A developer-specified string that contains supplemental
|
|
1576
|
+
# information about an order.
|
|
1687
1577
|
# Corresponds to the JSON property `developerPayload`
|
|
1688
1578
|
# @return [String]
|
|
1689
1579
|
attr_accessor :developer_payload
|
|
1690
1580
|
|
|
1691
|
-
# The email address of the user when the subscription was purchased.
|
|
1692
|
-
# present for purchases made with 'Subscribe with Google'.
|
|
1581
|
+
# The email address of the user when the subscription was purchased.
|
|
1582
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
|
1693
1583
|
# Corresponds to the JSON property `emailAddress`
|
|
1694
1584
|
# @return [String]
|
|
1695
1585
|
attr_accessor :email_address
|
|
1696
1586
|
|
|
1697
|
-
# Time at which the subscription will expire, in milliseconds
|
|
1587
|
+
# Time at which the subscription will expire, in milliseconds
|
|
1588
|
+
# since the Epoch.
|
|
1698
1589
|
# Corresponds to the JSON property `expiryTimeMillis`
|
|
1699
1590
|
# @return [Fixnum]
|
|
1700
1591
|
attr_accessor :expiry_time_millis
|
|
1701
1592
|
|
|
1702
|
-
# User account identifier in the third-party service.
|
|
1703
|
-
# linking happened as part of the subscription
|
|
1593
|
+
# User account identifier in the third-party service.
|
|
1594
|
+
# Only present if account linking happened as part of the subscription
|
|
1595
|
+
# purchase flow.
|
|
1704
1596
|
# Corresponds to the JSON property `externalAccountId`
|
|
1705
1597
|
# @return [String]
|
|
1706
1598
|
attr_accessor :external_account_id
|
|
1707
1599
|
|
|
1708
|
-
# The family name of the user when the subscription was purchased.
|
|
1709
|
-
# for purchases made with 'Subscribe with Google'.
|
|
1600
|
+
# The family name of the user when the subscription was purchased.
|
|
1601
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
|
1710
1602
|
# Corresponds to the JSON property `familyName`
|
|
1711
1603
|
# @return [String]
|
|
1712
1604
|
attr_accessor :family_name
|
|
1713
1605
|
|
|
1714
|
-
# The given name of the user when the subscription was purchased.
|
|
1715
|
-
# for purchases made with 'Subscribe with Google'.
|
|
1606
|
+
# The given name of the user when the subscription was purchased.
|
|
1607
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
|
1716
1608
|
# Corresponds to the JSON property `givenName`
|
|
1717
1609
|
# @return [String]
|
|
1718
1610
|
attr_accessor :given_name
|
|
@@ -1728,39 +1620,61 @@ module Google
|
|
|
1728
1620
|
# @return [String]
|
|
1729
1621
|
attr_accessor :kind
|
|
1730
1622
|
|
|
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
|
-
#
|
|
1623
|
+
# The purchase token of the originating purchase if this subscription
|
|
1624
|
+
# is one of the following:
|
|
1625
|
+
# 0. Re-signup of a canceled but non-lapsed subscription
|
|
1626
|
+
# 1. Upgrade/downgrade from a previous subscription
|
|
1627
|
+
# For example, suppose a user originally signs up and you receive
|
|
1628
|
+
# purchase token X, then the user cancels and goes through the
|
|
1629
|
+
# resignup flow (before their subscription lapses) and you receive
|
|
1630
|
+
# purchase token Y, and finally the user upgrades their subscription
|
|
1631
|
+
# and you receive purchase token Z. If you call this API with purchase
|
|
1632
|
+
# token Z, this field will be set to Y. If you call this API with
|
|
1633
|
+
# purchase token Y, this field will be set to X. If you call this API
|
|
1634
|
+
# with purchase token X, this field will not be set.
|
|
1742
1635
|
# Corresponds to the JSON property `linkedPurchaseToken`
|
|
1743
1636
|
# @return [String]
|
|
1744
1637
|
attr_accessor :linked_purchase_token
|
|
1745
1638
|
|
|
1746
|
-
#
|
|
1747
|
-
#
|
|
1639
|
+
# An obfuscated version of the id that is uniquely associated with the
|
|
1640
|
+
# user's account in your app. Present for the following purchases:
|
|
1641
|
+
# * If account linking happened as part of the subscription purchase flow.
|
|
1642
|
+
# * It was specified using
|
|
1643
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
|
1644
|
+
# BillingFlowParams.Builder#setobfuscatedaccountid
|
|
1645
|
+
# when the purchase was made.
|
|
1646
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
|
1647
|
+
# @return [String]
|
|
1648
|
+
attr_accessor :obfuscated_external_account_id
|
|
1649
|
+
|
|
1650
|
+
# An obfuscated version of the id that is uniquely associated with the
|
|
1651
|
+
# user's profile in your app. Only present if specified using
|
|
1652
|
+
# https://developer.android.com/reference/com/android/billingclient/api/
|
|
1653
|
+
# BillingFlowParams.Builder#setobfuscatedprofileid
|
|
1654
|
+
# when the purchase was made.
|
|
1655
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
|
1656
|
+
# @return [String]
|
|
1657
|
+
attr_accessor :obfuscated_external_profile_id
|
|
1658
|
+
|
|
1659
|
+
# The order id of the latest recurring order associated with
|
|
1660
|
+
# the purchase of the subscription.
|
|
1748
1661
|
# Corresponds to the JSON property `orderId`
|
|
1749
1662
|
# @return [String]
|
|
1750
1663
|
attr_accessor :order_id
|
|
1751
1664
|
|
|
1752
1665
|
# The payment state of the subscription. Possible values are:
|
|
1753
|
-
#
|
|
1754
|
-
#
|
|
1755
|
-
#
|
|
1756
|
-
#
|
|
1666
|
+
# 0. Payment pending
|
|
1667
|
+
# 1. Payment received
|
|
1668
|
+
# 2. Free trial
|
|
1669
|
+
# 3. Pending deferred upgrade/downgrade
|
|
1757
1670
|
# Corresponds to the JSON property `paymentState`
|
|
1758
1671
|
# @return [Fixnum]
|
|
1759
1672
|
attr_accessor :payment_state
|
|
1760
1673
|
|
|
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
|
|
1674
|
+
# Price of the subscription, not including tax. Price is expressed
|
|
1675
|
+
# in micro-units, where 1,000,000 micro-units represents one unit of
|
|
1676
|
+
# the currency. For example, if the subscription price is €1.99,
|
|
1677
|
+
# price_amount_micros is 1990000.
|
|
1764
1678
|
# Corresponds to the JSON property `priceAmountMicros`
|
|
1765
1679
|
# @return [Fixnum]
|
|
1766
1680
|
attr_accessor :price_amount_micros
|
|
@@ -1773,55 +1687,57 @@ module Google
|
|
|
1773
1687
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange]
|
|
1774
1688
|
attr_accessor :price_change
|
|
1775
1689
|
|
|
1776
|
-
# ISO 4217 currency code for the subscription price. For example,
|
|
1777
|
-
# is specified in British pounds sterling,
|
|
1690
|
+
# ISO 4217 currency code for the subscription price. For example,
|
|
1691
|
+
# if the price is specified in British pounds sterling,
|
|
1692
|
+
# price_currency_code is "GBP".
|
|
1778
1693
|
# Corresponds to the JSON property `priceCurrencyCode`
|
|
1779
1694
|
# @return [String]
|
|
1780
1695
|
attr_accessor :price_currency_code
|
|
1781
1696
|
|
|
1782
|
-
# The Google profile id of the user when the subscription was purchased.
|
|
1783
|
-
# present for purchases made with 'Subscribe with Google'.
|
|
1697
|
+
# The Google profile id of the user when the subscription was purchased.
|
|
1698
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
|
1784
1699
|
# Corresponds to the JSON property `profileId`
|
|
1785
1700
|
# @return [String]
|
|
1786
1701
|
attr_accessor :profile_id
|
|
1787
1702
|
|
|
1788
|
-
# The profile name of the user when the subscription was purchased.
|
|
1789
|
-
# for purchases made with 'Subscribe with Google'.
|
|
1703
|
+
# The profile name of the user when the subscription was purchased.
|
|
1704
|
+
# Only present for purchases made with 'Subscribe with Google'.
|
|
1790
1705
|
# Corresponds to the JSON property `profileName`
|
|
1791
1706
|
# @return [String]
|
|
1792
1707
|
attr_accessor :profile_name
|
|
1793
1708
|
|
|
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.
|
|
1709
|
+
# The promotion code applied on this purchase. This field is only set if
|
|
1710
|
+
# a vanity code promotion is applied when the subscription was purchased.
|
|
1796
1711
|
# Corresponds to the JSON property `promotionCode`
|
|
1797
1712
|
# @return [String]
|
|
1798
1713
|
attr_accessor :promotion_code
|
|
1799
1714
|
|
|
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
|
-
#
|
|
1715
|
+
# The type of promotion applied on this purchase. This field is only set if
|
|
1716
|
+
# a promotion is applied when the subscription was purchased. Possible
|
|
1717
|
+
# values are:
|
|
1718
|
+
# 0. One time code
|
|
1719
|
+
# 1. Vanity code
|
|
1805
1720
|
# Corresponds to the JSON property `promotionType`
|
|
1806
1721
|
# @return [Fixnum]
|
|
1807
1722
|
attr_accessor :promotion_type
|
|
1808
1723
|
|
|
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
|
-
#
|
|
1724
|
+
# The type of purchase of the subscription. This field is only set if
|
|
1725
|
+
# this purchase was not made using the standard in-app billing flow.
|
|
1726
|
+
# Possible values are:
|
|
1727
|
+
# 0. Test (i.e. purchased from a license testing account)
|
|
1728
|
+
# 1. Promo (i.e. purchased using a promo code)
|
|
1814
1729
|
# Corresponds to the JSON property `purchaseType`
|
|
1815
1730
|
# @return [Fixnum]
|
|
1816
1731
|
attr_accessor :purchase_type
|
|
1817
1732
|
|
|
1818
|
-
# Time at which the subscription was granted, in milliseconds
|
|
1733
|
+
# Time at which the subscription was granted, in milliseconds
|
|
1734
|
+
# since the Epoch.
|
|
1819
1735
|
# Corresponds to the JSON property `startTimeMillis`
|
|
1820
1736
|
# @return [Fixnum]
|
|
1821
1737
|
attr_accessor :start_time_millis
|
|
1822
1738
|
|
|
1823
|
-
# The time at which the subscription was canceled by the user, in
|
|
1824
|
-
# since the epoch. Only present if cancelReason is 0.
|
|
1739
|
+
# The time at which the subscription was canceled by the user, in
|
|
1740
|
+
# milliseconds since the epoch. Only present if cancelReason is 0.
|
|
1825
1741
|
# Corresponds to the JSON property `userCancellationTimeMillis`
|
|
1826
1742
|
# @return [Fixnum]
|
|
1827
1743
|
attr_accessor :user_cancellation_time_millis
|
|
@@ -1847,6 +1763,8 @@ module Google
|
|
|
1847
1763
|
@introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
|
|
1848
1764
|
@kind = args[:kind] if args.key?(:kind)
|
|
1849
1765
|
@linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
|
|
1766
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
|
1767
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
|
1850
1768
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
1851
1769
|
@payment_state = args[:payment_state] if args.key?(:payment_state)
|
|
1852
1770
|
@price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
|
|
@@ -1862,7 +1780,7 @@ module Google
|
|
|
1862
1780
|
end
|
|
1863
1781
|
end
|
|
1864
1782
|
|
|
1865
|
-
#
|
|
1783
|
+
# Request for the purchases.subscriptions.acknowledge API.
|
|
1866
1784
|
class SubscriptionPurchasesAcknowledgeRequest
|
|
1867
1785
|
include Google::Apis::Core::Hashable
|
|
1868
1786
|
|
|
@@ -1881,12 +1799,12 @@ module Google
|
|
|
1881
1799
|
end
|
|
1882
1800
|
end
|
|
1883
1801
|
|
|
1884
|
-
#
|
|
1802
|
+
# Request for the purchases.subscriptions.defer API.
|
|
1885
1803
|
class SubscriptionPurchasesDeferRequest
|
|
1886
1804
|
include Google::Apis::Core::Hashable
|
|
1887
1805
|
|
|
1888
|
-
# A SubscriptionDeferralInfo contains the data needed to defer a
|
|
1889
|
-
# purchase to a future expiry time.
|
|
1806
|
+
# A SubscriptionDeferralInfo contains the data needed to defer a
|
|
1807
|
+
# subscription purchase to a future expiry time.
|
|
1890
1808
|
# Corresponds to the JSON property `deferralInfo`
|
|
1891
1809
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo]
|
|
1892
1810
|
attr_accessor :deferral_info
|
|
@@ -1901,7 +1819,7 @@ module Google
|
|
|
1901
1819
|
end
|
|
1902
1820
|
end
|
|
1903
1821
|
|
|
1904
|
-
#
|
|
1822
|
+
# Response for the purchases.subscriptions.defer API.
|
|
1905
1823
|
class SubscriptionPurchasesDeferResponse
|
|
1906
1824
|
include Google::Apis::Core::Hashable
|
|
1907
1825
|
|
|
@@ -1920,30 +1838,11 @@ module Google
|
|
|
1920
1838
|
end
|
|
1921
1839
|
end
|
|
1922
1840
|
|
|
1923
|
-
#
|
|
1924
|
-
class
|
|
1841
|
+
# Response to list previously created system APK variants.
|
|
1842
|
+
class SystemApksListResponse
|
|
1925
1843
|
include Google::Apis::Core::Hashable
|
|
1926
1844
|
|
|
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
|
-
#
|
|
1845
|
+
# All system APK variants created.
|
|
1947
1846
|
# Corresponds to the JSON property `variants`
|
|
1948
1847
|
# @return [Array<Google::Apis::AndroidpublisherV3::Variant>]
|
|
1949
1848
|
attr_accessor :variants
|
|
@@ -1958,27 +1857,11 @@ module Google
|
|
|
1958
1857
|
end
|
|
1959
1858
|
end
|
|
1960
1859
|
|
|
1961
|
-
#
|
|
1860
|
+
# The testers of an app. The resource for TestersService.
|
|
1962
1861
|
class Testers
|
|
1963
1862
|
include Google::Apis::Core::Hashable
|
|
1964
1863
|
|
|
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.
|
|
1864
|
+
# All testing Google Groups, as email addresses.
|
|
1982
1865
|
# Corresponds to the JSON property `googleGroups`
|
|
1983
1866
|
# @return [Array<String>]
|
|
1984
1867
|
attr_accessor :google_groups
|
|
@@ -1989,23 +1872,24 @@ module Google
|
|
|
1989
1872
|
|
|
1990
1873
|
# Update properties of this object
|
|
1991
1874
|
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
1875
|
@google_groups = args[:google_groups] if args.key?(:google_groups)
|
|
1996
1876
|
end
|
|
1997
1877
|
end
|
|
1998
1878
|
|
|
1999
|
-
#
|
|
1879
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
|
1880
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
1881
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
1882
|
+
# January 1, 1970.
|
|
2000
1883
|
class Timestamp
|
|
2001
1884
|
include Google::Apis::Core::Hashable
|
|
2002
1885
|
|
|
2003
|
-
#
|
|
1886
|
+
# Non-negative fractions of a second at nanosecond resolution.
|
|
1887
|
+
# Must be from 0 to 999,999,999 inclusive.
|
|
2004
1888
|
# Corresponds to the JSON property `nanos`
|
|
2005
1889
|
# @return [Fixnum]
|
|
2006
1890
|
attr_accessor :nanos
|
|
2007
1891
|
|
|
2008
|
-
#
|
|
1892
|
+
# Represents seconds of UTC time since Unix epoch.
|
|
2009
1893
|
# Corresponds to the JSON property `seconds`
|
|
2010
1894
|
# @return [Fixnum]
|
|
2011
1895
|
attr_accessor :seconds
|
|
@@ -2021,11 +1905,20 @@ module Google
|
|
|
2021
1905
|
end
|
|
2022
1906
|
end
|
|
2023
1907
|
|
|
2024
|
-
#
|
|
1908
|
+
# Pagination information returned by a List operation when token pagination
|
|
1909
|
+
# is enabled.
|
|
1910
|
+
# List operations that supports paging return only one "page" of results. This
|
|
1911
|
+
# protocol buffer message describes the page that has been returned.
|
|
1912
|
+
# When using token pagination, clients should use the next/previous token
|
|
1913
|
+
# to get another page of the result. The presence or absence of next/previous
|
|
1914
|
+
# token indicates whether a next/previous page is available and provides a
|
|
1915
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
|
1916
|
+
# next_page_token or previous_page_token to access another page.
|
|
2025
1917
|
class TokenPagination
|
|
2026
1918
|
include Google::Apis::Core::Hashable
|
|
2027
1919
|
|
|
2028
|
-
#
|
|
1920
|
+
# Tokens to pass to the standard list field 'page_token'. Whenever available,
|
|
1921
|
+
# tokens are preferred over manipulating start_index.
|
|
2029
1922
|
# Corresponds to the JSON property `nextPageToken`
|
|
2030
1923
|
# @return [String]
|
|
2031
1924
|
attr_accessor :next_page_token
|
|
@@ -2046,17 +1939,17 @@ module Google
|
|
|
2046
1939
|
end
|
|
2047
1940
|
end
|
|
2048
1941
|
|
|
2049
|
-
#
|
|
1942
|
+
# A track configuration. The resource for TracksService.
|
|
2050
1943
|
class Track
|
|
2051
1944
|
include Google::Apis::Core::Hashable
|
|
2052
1945
|
|
|
2053
|
-
#
|
|
2054
|
-
# update request,
|
|
1946
|
+
# In a read request, represents all active releases in the track.
|
|
1947
|
+
# In an update request, represents desired changes.
|
|
2055
1948
|
# Corresponds to the JSON property `releases`
|
|
2056
1949
|
# @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
|
|
2057
1950
|
attr_accessor :releases
|
|
2058
1951
|
|
|
2059
|
-
# Identifier
|
|
1952
|
+
# Identifier of the track.
|
|
2060
1953
|
# Corresponds to the JSON property `track`
|
|
2061
1954
|
# @return [String]
|
|
2062
1955
|
attr_accessor :track
|
|
@@ -2072,72 +1965,49 @@ module Google
|
|
|
2072
1965
|
end
|
|
2073
1966
|
end
|
|
2074
1967
|
|
|
2075
|
-
#
|
|
1968
|
+
# A release within a track.
|
|
2076
1969
|
class TrackRelease
|
|
2077
1970
|
include Google::Apis::Core::Hashable
|
|
2078
1971
|
|
|
2079
|
-
#
|
|
2080
|
-
# Corresponds to the JSON property `controls`
|
|
2081
|
-
# @return [Array<Google::Apis::AndroidpublisherV3::Control>]
|
|
2082
|
-
attr_accessor :controls
|
|
2083
|
-
|
|
2084
|
-
#
|
|
1972
|
+
# Country targeting specification.
|
|
2085
1973
|
# Corresponds to the JSON property `countryTargeting`
|
|
2086
1974
|
# @return [Google::Apis::AndroidpublisherV3::CountryTargeting]
|
|
2087
1975
|
attr_accessor :country_targeting
|
|
2088
1976
|
|
|
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.
|
|
1977
|
+
# In-app update priority of the release. All newly added APKs in the
|
|
1978
|
+
# release will be considered at this priority. Can take values in the range
|
|
1979
|
+
# [0, 5], with 5 the highest priority. Defaults to 0.
|
|
1980
|
+
# in_app_update_priority can not be updated once the release is rolled out.
|
|
1981
|
+
# See https://developer.android.com/guide/playcore/in-app-updates.
|
|
2094
1982
|
# Corresponds to the JSON property `inAppUpdatePriority`
|
|
2095
1983
|
# @return [Fixnum]
|
|
2096
1984
|
attr_accessor :in_app_update_priority
|
|
2097
1985
|
|
|
2098
|
-
# The release name
|
|
2099
|
-
#
|
|
2100
|
-
# the
|
|
1986
|
+
# The release name. Not required to be unique. If not set, the name is
|
|
1987
|
+
# generated from the APK's version_name. If the release contains multiple
|
|
1988
|
+
# APKs, the name is generated from the date.
|
|
2101
1989
|
# Corresponds to the JSON property `name`
|
|
2102
1990
|
# @return [String]
|
|
2103
1991
|
attr_accessor :name
|
|
2104
1992
|
|
|
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.
|
|
1993
|
+
# A description of what is new in this release.
|
|
2111
1994
|
# Corresponds to the JSON property `releaseNotes`
|
|
2112
1995
|
# @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]
|
|
2113
1996
|
attr_accessor :release_notes
|
|
2114
1997
|
|
|
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.
|
|
1998
|
+
# The status of the release.
|
|
2127
1999
|
# Corresponds to the JSON property `status`
|
|
2128
2000
|
# @return [String]
|
|
2129
2001
|
attr_accessor :status
|
|
2130
2002
|
|
|
2131
|
-
# Fraction of users who are eligible
|
|
2132
|
-
#
|
|
2003
|
+
# Fraction of users who are eligible for a staged release. 0 < fraction < 1.
|
|
2004
|
+
# Can only be set when status is "inProgress" or "halted".
|
|
2133
2005
|
# Corresponds to the JSON property `userFraction`
|
|
2134
2006
|
# @return [Float]
|
|
2135
2007
|
attr_accessor :user_fraction
|
|
2136
2008
|
|
|
2137
|
-
#
|
|
2138
|
-
#
|
|
2139
|
-
# versions you wish to be active, including those you wish to retain from
|
|
2140
|
-
# previous releases.
|
|
2009
|
+
# Version codes of all APKs in the release. Must include version codes to
|
|
2010
|
+
# retain from previous releases.
|
|
2141
2011
|
# Corresponds to the JSON property `versionCodes`
|
|
2142
2012
|
# @return [Array<Fixnum>]
|
|
2143
2013
|
attr_accessor :version_codes
|
|
@@ -2148,124 +2018,26 @@ module Google
|
|
|
2148
2018
|
|
|
2149
2019
|
# Update properties of this object
|
|
2150
2020
|
def update!(**args)
|
|
2151
|
-
@controls = args[:controls] if args.key?(:controls)
|
|
2152
2021
|
@country_targeting = args[:country_targeting] if args.key?(:country_targeting)
|
|
2153
2022
|
@in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
|
|
2154
2023
|
@name = args[:name] if args.key?(:name)
|
|
2155
|
-
@pinned_versions = args[:pinned_versions] if args.key?(:pinned_versions)
|
|
2156
2024
|
@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
2025
|
@status = args[:status] if args.key?(:status)
|
|
2160
2026
|
@user_fraction = args[:user_fraction] if args.key?(:user_fraction)
|
|
2161
2027
|
@version_codes = args[:version_codes] if args.key?(:version_codes)
|
|
2162
2028
|
end
|
|
2163
2029
|
end
|
|
2164
2030
|
|
|
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
|
-
#
|
|
2031
|
+
# Response listing all tracks.
|
|
2259
2032
|
class TracksListResponse
|
|
2260
2033
|
include Google::Apis::Core::Hashable
|
|
2261
2034
|
|
|
2262
|
-
#
|
|
2263
|
-
# androidpublisher#tracksListResponse".
|
|
2035
|
+
# The kind of this response ("androidpublisher#tracksListResponse").
|
|
2264
2036
|
# Corresponds to the JSON property `kind`
|
|
2265
2037
|
# @return [String]
|
|
2266
2038
|
attr_accessor :kind
|
|
2267
2039
|
|
|
2268
|
-
#
|
|
2040
|
+
# All tracks.
|
|
2269
2041
|
# Corresponds to the JSON property `tracks`
|
|
2270
2042
|
# @return [Array<Google::Apis::AndroidpublisherV3::Track>]
|
|
2271
2043
|
attr_accessor :tracks
|
|
@@ -2281,24 +2053,24 @@ module Google
|
|
|
2281
2053
|
end
|
|
2282
2054
|
end
|
|
2283
2055
|
|
|
2284
|
-
#
|
|
2056
|
+
# User entry from conversation between user and developer.
|
|
2285
2057
|
class UserComment
|
|
2286
2058
|
include Google::Apis::Core::Hashable
|
|
2287
2059
|
|
|
2288
|
-
# Integer Android SDK version of the user's device at the time the
|
|
2289
|
-
# written, e.g. 23 is Marshmallow. May be absent.
|
|
2060
|
+
# Integer Android SDK version of the user's device at the time the
|
|
2061
|
+
# review was written, e.g. 23 is Marshmallow. May be absent.
|
|
2290
2062
|
# Corresponds to the JSON property `androidOsVersion`
|
|
2291
2063
|
# @return [Fixnum]
|
|
2292
2064
|
attr_accessor :android_os_version
|
|
2293
2065
|
|
|
2294
|
-
# Integer version code of the app as installed at the time the
|
|
2295
|
-
# written. May be absent.
|
|
2066
|
+
# Integer version code of the app as installed at the time the
|
|
2067
|
+
# review was written. May be absent.
|
|
2296
2068
|
# Corresponds to the JSON property `appVersionCode`
|
|
2297
2069
|
# @return [Fixnum]
|
|
2298
2070
|
attr_accessor :app_version_code
|
|
2299
2071
|
|
|
2300
|
-
# String version name of the app as installed at the time the
|
|
2301
|
-
# May be absent.
|
|
2072
|
+
# String version name of the app as installed at the time the
|
|
2073
|
+
# review was written. May be absent.
|
|
2302
2074
|
# Corresponds to the JSON property `appVersionName`
|
|
2303
2075
|
# @return [String]
|
|
2304
2076
|
attr_accessor :app_version_name
|
|
@@ -2308,24 +2080,28 @@ module Google
|
|
|
2308
2080
|
# @return [String]
|
|
2309
2081
|
attr_accessor :device
|
|
2310
2082
|
|
|
2311
|
-
#
|
|
2083
|
+
# Characteristics of the user's device.
|
|
2312
2084
|
# Corresponds to the JSON property `deviceMetadata`
|
|
2313
2085
|
# @return [Google::Apis::AndroidpublisherV3::DeviceMetadata]
|
|
2314
2086
|
attr_accessor :device_metadata
|
|
2315
2087
|
|
|
2316
|
-
#
|
|
2088
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
|
2089
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
|
2090
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
2091
|
+
# January 1, 1970.
|
|
2317
2092
|
# Corresponds to the JSON property `lastModified`
|
|
2318
2093
|
# @return [Google::Apis::AndroidpublisherV3::Timestamp]
|
|
2319
2094
|
attr_accessor :last_modified
|
|
2320
2095
|
|
|
2321
|
-
# Untranslated text of the review,
|
|
2322
|
-
#
|
|
2096
|
+
# Untranslated text of the review, where the review was translated.
|
|
2097
|
+
# If the review was not translated this is left blank.
|
|
2323
2098
|
# Corresponds to the JSON property `originalText`
|
|
2324
2099
|
# @return [String]
|
|
2325
2100
|
attr_accessor :original_text
|
|
2326
2101
|
|
|
2327
|
-
# Language code for the reviewer. This is taken from the device
|
|
2328
|
-
# not guaranteed to match the language the review
|
|
2102
|
+
# Language code for the reviewer. This is taken from the device
|
|
2103
|
+
# settings so is not guaranteed to match the language the review
|
|
2104
|
+
# is written in. May be absent.
|
|
2329
2105
|
# Corresponds to the JSON property `reviewerLanguage`
|
|
2330
2106
|
# @return [String]
|
|
2331
2107
|
attr_accessor :reviewer_language
|
|
@@ -2335,19 +2111,20 @@ module Google
|
|
|
2335
2111
|
# @return [Fixnum]
|
|
2336
2112
|
attr_accessor :star_rating
|
|
2337
2113
|
|
|
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
|
|
2114
|
+
# The content of the comment, i.e. review body. In some cases
|
|
2115
|
+
# users have been able to write a review with separate title and
|
|
2116
|
+
# body; in those cases the title and body are concatenated and
|
|
2117
|
+
# separated by a tab character.
|
|
2341
2118
|
# Corresponds to the JSON property `text`
|
|
2342
2119
|
# @return [String]
|
|
2343
2120
|
attr_accessor :text
|
|
2344
2121
|
|
|
2345
|
-
# Number of users who have given this review a thumbs down
|
|
2122
|
+
# Number of users who have given this review a thumbs down.
|
|
2346
2123
|
# Corresponds to the JSON property `thumbsDownCount`
|
|
2347
2124
|
# @return [Fixnum]
|
|
2348
2125
|
attr_accessor :thumbs_down_count
|
|
2349
2126
|
|
|
2350
|
-
# Number of users who have given this review a thumbs up
|
|
2127
|
+
# Number of users who have given this review a thumbs up.
|
|
2351
2128
|
# Corresponds to the JSON property `thumbsUpCount`
|
|
2352
2129
|
# @return [Fixnum]
|
|
2353
2130
|
attr_accessor :thumbs_up_count
|
|
@@ -2373,16 +2150,43 @@ module Google
|
|
|
2373
2150
|
end
|
|
2374
2151
|
end
|
|
2375
2152
|
|
|
2376
|
-
#
|
|
2153
|
+
# A permission used by this APK.
|
|
2154
|
+
class UsesPermission
|
|
2155
|
+
include Google::Apis::Core::Hashable
|
|
2156
|
+
|
|
2157
|
+
# Optionally, the maximum SDK version for which the permission is
|
|
2158
|
+
# required.
|
|
2159
|
+
# Corresponds to the JSON property `maxSdkVersion`
|
|
2160
|
+
# @return [Fixnum]
|
|
2161
|
+
attr_accessor :max_sdk_version
|
|
2162
|
+
|
|
2163
|
+
# The name of the permission requested.
|
|
2164
|
+
# Corresponds to the JSON property `name`
|
|
2165
|
+
# @return [String]
|
|
2166
|
+
attr_accessor :name
|
|
2167
|
+
|
|
2168
|
+
def initialize(**args)
|
|
2169
|
+
update!(**args)
|
|
2170
|
+
end
|
|
2171
|
+
|
|
2172
|
+
# Update properties of this object
|
|
2173
|
+
def update!(**args)
|
|
2174
|
+
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
|
2175
|
+
@name = args[:name] if args.key?(:name)
|
|
2176
|
+
end
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2179
|
+
# APK that is suitable for inclusion in a system image. The resource of
|
|
2180
|
+
# SystemApksService.
|
|
2377
2181
|
class Variant
|
|
2378
2182
|
include Google::Apis::Core::Hashable
|
|
2379
2183
|
|
|
2380
|
-
#
|
|
2184
|
+
# The device spec used to generate a system APK.
|
|
2381
2185
|
# Corresponds to the JSON property `deviceSpec`
|
|
2382
2186
|
# @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
|
|
2383
2187
|
attr_accessor :device_spec
|
|
2384
2188
|
|
|
2385
|
-
#
|
|
2189
|
+
# Output only. The ID of a previously created system APK variant.
|
|
2386
2190
|
# Corresponds to the JSON property `variantId`
|
|
2387
2191
|
# @return [Fixnum]
|
|
2388
2192
|
attr_accessor :variant_id
|
|
@@ -2398,12 +2202,13 @@ module Google
|
|
|
2398
2202
|
end
|
|
2399
2203
|
end
|
|
2400
2204
|
|
|
2401
|
-
# A VoidedPurchase resource indicates a purchase that was either
|
|
2402
|
-
# refunded/charged-back.
|
|
2205
|
+
# A VoidedPurchase resource indicates a purchase that was either
|
|
2206
|
+
# canceled/refunded/charged-back.
|
|
2403
2207
|
class VoidedPurchase
|
|
2404
2208
|
include Google::Apis::Core::Hashable
|
|
2405
2209
|
|
|
2406
|
-
# This kind represents a voided purchase object in the androidpublisher
|
|
2210
|
+
# This kind represents a voided purchase object in the androidpublisher
|
|
2211
|
+
# service.
|
|
2407
2212
|
# Corresponds to the JSON property `kind`
|
|
2408
2213
|
# @return [String]
|
|
2409
2214
|
attr_accessor :kind
|
|
@@ -2414,42 +2219,42 @@ module Google
|
|
|
2414
2219
|
# @return [String]
|
|
2415
2220
|
attr_accessor :order_id
|
|
2416
2221
|
|
|
2417
|
-
# The time at which the purchase was made, in milliseconds since the
|
|
2418
|
-
# 1, 1970).
|
|
2222
|
+
# The time at which the purchase was made, in milliseconds since the
|
|
2223
|
+
# epoch (Jan 1, 1970).
|
|
2419
2224
|
# Corresponds to the JSON property `purchaseTimeMillis`
|
|
2420
2225
|
# @return [Fixnum]
|
|
2421
2226
|
attr_accessor :purchase_time_millis
|
|
2422
2227
|
|
|
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).
|
|
2228
|
+
# The token which uniquely identifies a one-time purchase or subscription.
|
|
2229
|
+
# To uniquely identify subscription renewals use order_id (available
|
|
2230
|
+
# starting from version 3 of the API).
|
|
2426
2231
|
# Corresponds to the JSON property `purchaseToken`
|
|
2427
2232
|
# @return [String]
|
|
2428
2233
|
attr_accessor :purchase_token
|
|
2429
2234
|
|
|
2430
2235
|
# The reason why the purchase was voided, possible values are:
|
|
2431
|
-
#
|
|
2432
|
-
#
|
|
2433
|
-
#
|
|
2434
|
-
#
|
|
2435
|
-
#
|
|
2436
|
-
#
|
|
2437
|
-
#
|
|
2438
|
-
#
|
|
2236
|
+
# 0. Other
|
|
2237
|
+
# 1. Remorse
|
|
2238
|
+
# 2. Not_received
|
|
2239
|
+
# 3. Defective
|
|
2240
|
+
# 4. Accidental_purchase
|
|
2241
|
+
# 5. Fraud
|
|
2242
|
+
# 6. Friendly_fraud
|
|
2243
|
+
# 7. Chargeback
|
|
2439
2244
|
# Corresponds to the JSON property `voidedReason`
|
|
2440
2245
|
# @return [Fixnum]
|
|
2441
2246
|
attr_accessor :voided_reason
|
|
2442
2247
|
|
|
2443
2248
|
# The initiator of voided purchase, possible values are:
|
|
2444
|
-
#
|
|
2445
|
-
#
|
|
2446
|
-
#
|
|
2249
|
+
# 0. User
|
|
2250
|
+
# 1. Developer
|
|
2251
|
+
# 2. Google
|
|
2447
2252
|
# Corresponds to the JSON property `voidedSource`
|
|
2448
2253
|
# @return [Fixnum]
|
|
2449
2254
|
attr_accessor :voided_source
|
|
2450
2255
|
|
|
2451
|
-
# The time at which the purchase was canceled/refunded/charged-back,
|
|
2452
|
-
# milliseconds since the epoch (Jan 1, 1970).
|
|
2256
|
+
# The time at which the purchase was canceled/refunded/charged-back,
|
|
2257
|
+
# in milliseconds since the epoch (Jan 1, 1970).
|
|
2453
2258
|
# Corresponds to the JSON property `voidedTimeMillis`
|
|
2454
2259
|
# @return [Fixnum]
|
|
2455
2260
|
attr_accessor :voided_time_millis
|
|
@@ -2470,16 +2275,26 @@ module Google
|
|
|
2470
2275
|
end
|
|
2471
2276
|
end
|
|
2472
2277
|
|
|
2473
|
-
#
|
|
2278
|
+
# Response for the voidedpurchases.list API.
|
|
2474
2279
|
class VoidedPurchasesListResponse
|
|
2475
2280
|
include Google::Apis::Core::Hashable
|
|
2476
2281
|
|
|
2477
|
-
#
|
|
2282
|
+
# Information about the current page.
|
|
2283
|
+
# List operations that supports paging return only one "page" of results. This
|
|
2284
|
+
# protocol buffer message describes the page that has been returned.
|
|
2478
2285
|
# Corresponds to the JSON property `pageInfo`
|
|
2479
2286
|
# @return [Google::Apis::AndroidpublisherV3::PageInfo]
|
|
2480
2287
|
attr_accessor :page_info
|
|
2481
2288
|
|
|
2482
|
-
#
|
|
2289
|
+
# Pagination information returned by a List operation when token pagination
|
|
2290
|
+
# is enabled.
|
|
2291
|
+
# List operations that supports paging return only one "page" of results. This
|
|
2292
|
+
# protocol buffer message describes the page that has been returned.
|
|
2293
|
+
# When using token pagination, clients should use the next/previous token
|
|
2294
|
+
# to get another page of the result. The presence or absence of next/previous
|
|
2295
|
+
# token indicates whether a next/previous page is available and provides a
|
|
2296
|
+
# mean of accessing this page. ListRequest.page_token should be set to either
|
|
2297
|
+
# next_page_token or previous_page_token to access another page.
|
|
2483
2298
|
# Corresponds to the JSON property `tokenPagination`
|
|
2484
2299
|
# @return [Google::Apis::AndroidpublisherV3::TokenPagination]
|
|
2485
2300
|
attr_accessor :token_pagination
|