google-api-client 0.38.0 → 0.39.0
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 +124 -0
- data/api_list_config.yaml +1 -2
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/apigee_v1/classes.rb +5205 -0
- data/generated/google/apis/apigee_v1/representations.rb +1944 -0
- data/generated/google/apis/apigee_v1/service.rb +6068 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -19
- data/generated/google/apis/bigquery_v2/representations.rb +21 -4
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +414 -29
- data/generated/google/apis/compute_alpha/representations.rb +141 -0
- data/generated/google/apis/compute_alpha/service.rb +351 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +34 -29
- data/generated/google/apis/compute_beta/service.rb +3 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +129 -10
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -132
- data/generated/google/apis/container_v1/service.rb +168 -159
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +186 -134
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1/service.rb +169 -160
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1176 -1094
- data/generated/google/apis/content_v2/representations.rb +31 -0
- data/generated/google/apis/content_v2/service.rb +45 -45
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1801 -931
- data/generated/google/apis/content_v2_1/representations.rb +351 -0
- data/generated/google/apis/content_v2_1/service.rb +299 -47
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -36
- data/generated/google/apis/dataproc_v1/service.rb +14 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
- data/generated/google/apis/dialogflow_v2/service.rb +39 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
- data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
- data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +51 -57
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +28 -29
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1/service.rb +5 -5
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1/service.rb +10 -7
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +0 -6
- data/generated/google/apis/games_management_v1management/representations.rb +0 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -7
- data/generated/google/apis/games_v1/representations.rb +0 -1
- data/generated/google/apis/games_v1/service.rb +3 -12
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +9 -7
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +8 -6
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
- data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +41 -38
- data/generated/google/apis/ml_v1/service.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +27 -38
- data/generated/google/apis/monitoring_v3/representations.rb +3 -16
- data/generated/google/apis/monitoring_v3/service.rb +6 -5
- data/generated/google/apis/people_v1.rb +7 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +22 -46
- data/generated/google/apis/run_v1/representations.rb +5 -19
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
- data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +21 -0
- data/generated/google/apis/storage_v1/representations.rb +5 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
- data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
- data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +6 -6
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -11
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
- data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -28,12 +28,6 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class SubscriptionPurchase
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
31
|
class InappPurchase
|
38
32
|
# @private
|
39
33
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -46,16 +40,6 @@ module Google
|
|
46
40
|
property :purchase_type, as: 'purchaseType'
|
47
41
|
end
|
48
42
|
end
|
49
|
-
|
50
|
-
class SubscriptionPurchase
|
51
|
-
# @private
|
52
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
53
|
-
property :auto_renewing, as: 'autoRenewing'
|
54
|
-
property :initiation_timestamp_msec, :numeric_string => true, as: 'initiationTimestampMsec'
|
55
|
-
property :kind, as: 'kind'
|
56
|
-
property :valid_until_timestamp_msec, :numeric_string => true, as: 'validUntilTimestampMsec'
|
57
|
-
end
|
58
|
-
end
|
59
43
|
end
|
60
44
|
end
|
61
45
|
end
|
@@ -90,86 +90,6 @@ module Google
|
|
90
90
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
91
91
|
execute_or_queue_command(command, &block)
|
92
92
|
end
|
93
|
-
|
94
|
-
# Cancels a user's subscription purchase. The subscription remains valid until
|
95
|
-
# its expiration time.
|
96
|
-
# @param [String] package_name
|
97
|
-
# The package name of the application for which this subscription was purchased (
|
98
|
-
# for example, 'com.some.thing').
|
99
|
-
# @param [String] subscription_id
|
100
|
-
# The purchased subscription ID (for example, 'monthly001').
|
101
|
-
# @param [String] token
|
102
|
-
# The token provided to the user's device when the subscription was purchased.
|
103
|
-
# @param [String] fields
|
104
|
-
# Selector specifying which fields to include in a partial response.
|
105
|
-
# @param [String] quota_user
|
106
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
107
|
-
# characters.
|
108
|
-
# @param [String] user_ip
|
109
|
-
# Deprecated. Please use quotaUser instead.
|
110
|
-
# @param [Google::Apis::RequestOptions] options
|
111
|
-
# Request-specific options
|
112
|
-
#
|
113
|
-
# @yield [result, err] Result & error if block supplied
|
114
|
-
# @yieldparam result [NilClass] No result returned for this method
|
115
|
-
# @yieldparam err [StandardError] error object if request failed
|
116
|
-
#
|
117
|
-
# @return [void]
|
118
|
-
#
|
119
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
120
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
121
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
122
|
-
def cancel_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
123
|
-
command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
|
124
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
125
|
-
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
126
|
-
command.params['token'] = token unless token.nil?
|
127
|
-
command.query['fields'] = fields unless fields.nil?
|
128
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
129
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
130
|
-
execute_or_queue_command(command, &block)
|
131
|
-
end
|
132
|
-
|
133
|
-
# Checks whether a user's subscription purchase is valid and returns its expiry
|
134
|
-
# time.
|
135
|
-
# @param [String] package_name
|
136
|
-
# The package name of the application for which this subscription was purchased (
|
137
|
-
# for example, 'com.some.thing').
|
138
|
-
# @param [String] subscription_id
|
139
|
-
# The purchased subscription ID (for example, 'monthly001').
|
140
|
-
# @param [String] token
|
141
|
-
# The token provided to the user's device when the subscription was purchased.
|
142
|
-
# @param [String] fields
|
143
|
-
# Selector specifying which fields to include in a partial response.
|
144
|
-
# @param [String] quota_user
|
145
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
146
|
-
# characters.
|
147
|
-
# @param [String] user_ip
|
148
|
-
# Deprecated. Please use quotaUser instead.
|
149
|
-
# @param [Google::Apis::RequestOptions] options
|
150
|
-
# Request-specific options
|
151
|
-
#
|
152
|
-
# @yield [result, err] Result & error if block supplied
|
153
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase] parsed result object
|
154
|
-
# @yieldparam err [StandardError] error object if request failed
|
155
|
-
#
|
156
|
-
# @return [Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase]
|
157
|
-
#
|
158
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
-
def get_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
162
|
-
command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
|
163
|
-
command.response_representation = Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase::Representation
|
164
|
-
command.response_class = Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase
|
165
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
166
|
-
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
167
|
-
command.params['token'] = token unless token.nil?
|
168
|
-
command.query['fields'] = fields unless fields.nil?
|
169
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
170
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
171
|
-
execute_or_queue_command(command, &block)
|
172
|
-
end
|
173
93
|
|
174
94
|
protected
|
175
95
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200428'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -23,1299 +23,23 @@ module Google
|
|
23
23
|
module AndroidpublisherV2
|
24
24
|
|
25
25
|
#
|
26
|
-
class
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Represents the binary payload of an APK.
|
30
|
-
# Corresponds to the JSON property `binary`
|
31
|
-
# @return [Google::Apis::AndroidpublisherV2::ApkBinary]
|
32
|
-
attr_accessor :binary
|
33
|
-
|
34
|
-
# The version code of the APK, as specified in the APK's manifest file.
|
35
|
-
# Corresponds to the JSON property `versionCode`
|
36
|
-
# @return [Fixnum]
|
37
|
-
attr_accessor :version_code
|
38
|
-
|
39
|
-
def initialize(**args)
|
40
|
-
update!(**args)
|
41
|
-
end
|
42
|
-
|
43
|
-
# Update properties of this object
|
44
|
-
def update!(**args)
|
45
|
-
@binary = args[:binary] if args.key?(:binary)
|
46
|
-
@version_code = args[:version_code] if args.key?(:version_code)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
# Represents the binary payload of an APK.
|
51
|
-
class ApkBinary
|
52
|
-
include Google::Apis::Core::Hashable
|
53
|
-
|
54
|
-
# A sha1 hash of the APK payload, encoded as a hex string and matching the
|
55
|
-
# output of the sha1sum command.
|
56
|
-
# Corresponds to the JSON property `sha1`
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :sha1
|
59
|
-
|
60
|
-
# A sha256 hash of the APK payload, encoded as a hex string and matching the
|
61
|
-
# output of the sha256sum command.
|
62
|
-
# Corresponds to the JSON property `sha256`
|
63
|
-
# @return [String]
|
64
|
-
attr_accessor :sha256
|
65
|
-
|
66
|
-
def initialize(**args)
|
67
|
-
update!(**args)
|
68
|
-
end
|
69
|
-
|
70
|
-
# Update properties of this object
|
71
|
-
def update!(**args)
|
72
|
-
@sha1 = args[:sha1] if args.key?(:sha1)
|
73
|
-
@sha256 = args[:sha256] if args.key?(:sha256)
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
#
|
78
|
-
class ApkListing
|
79
|
-
include Google::Apis::Core::Hashable
|
80
|
-
|
81
|
-
# The language code, in BCP 47 format (eg "en-US").
|
82
|
-
# Corresponds to the JSON property `language`
|
83
|
-
# @return [String]
|
84
|
-
attr_accessor :language
|
85
|
-
|
86
|
-
# Describe what's new in your APK.
|
87
|
-
# Corresponds to the JSON property `recentChanges`
|
88
|
-
# @return [String]
|
89
|
-
attr_accessor :recent_changes
|
90
|
-
|
91
|
-
def initialize(**args)
|
92
|
-
update!(**args)
|
93
|
-
end
|
94
|
-
|
95
|
-
# Update properties of this object
|
96
|
-
def update!(**args)
|
97
|
-
@language = args[:language] if args.key?(:language)
|
98
|
-
@recent_changes = args[:recent_changes] if args.key?(:recent_changes)
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
#
|
103
|
-
class ListApkListingsResponse
|
104
|
-
include Google::Apis::Core::Hashable
|
105
|
-
|
106
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
107
|
-
# androidpublisher#apkListingsListResponse".
|
108
|
-
# Corresponds to the JSON property `kind`
|
109
|
-
# @return [String]
|
110
|
-
attr_accessor :kind
|
111
|
-
|
112
|
-
#
|
113
|
-
# Corresponds to the JSON property `listings`
|
114
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::ApkListing>]
|
115
|
-
attr_accessor :listings
|
116
|
-
|
117
|
-
def initialize(**args)
|
118
|
-
update!(**args)
|
119
|
-
end
|
120
|
-
|
121
|
-
# Update properties of this object
|
122
|
-
def update!(**args)
|
123
|
-
@kind = args[:kind] if args.key?(:kind)
|
124
|
-
@listings = args[:listings] if args.key?(:listings)
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
#
|
129
|
-
class ApksAddExternallyHostedRequest
|
130
|
-
include Google::Apis::Core::Hashable
|
131
|
-
|
132
|
-
# Defines an APK available for this application that is hosted externally and
|
133
|
-
# not uploaded to Google Play. This function is only available to enterprises
|
134
|
-
# who are using Google Play for Work, and whos application is restricted to the
|
135
|
-
# enterprise private channel
|
136
|
-
# Corresponds to the JSON property `externallyHostedApk`
|
137
|
-
# @return [Google::Apis::AndroidpublisherV2::ExternallyHostedApk]
|
138
|
-
attr_accessor :externally_hosted_apk
|
139
|
-
|
140
|
-
def initialize(**args)
|
141
|
-
update!(**args)
|
142
|
-
end
|
143
|
-
|
144
|
-
# Update properties of this object
|
145
|
-
def update!(**args)
|
146
|
-
@externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk)
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
150
|
-
#
|
151
|
-
class ApksAddExternallyHostedResponse
|
152
|
-
include Google::Apis::Core::Hashable
|
153
|
-
|
154
|
-
# Defines an APK available for this application that is hosted externally and
|
155
|
-
# not uploaded to Google Play. This function is only available to enterprises
|
156
|
-
# who are using Google Play for Work, and whos application is restricted to the
|
157
|
-
# enterprise private channel
|
158
|
-
# Corresponds to the JSON property `externallyHostedApk`
|
159
|
-
# @return [Google::Apis::AndroidpublisherV2::ExternallyHostedApk]
|
160
|
-
attr_accessor :externally_hosted_apk
|
161
|
-
|
162
|
-
def initialize(**args)
|
163
|
-
update!(**args)
|
164
|
-
end
|
165
|
-
|
166
|
-
# Update properties of this object
|
167
|
-
def update!(**args)
|
168
|
-
@externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk)
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
#
|
173
|
-
class ListApksResponse
|
174
|
-
include Google::Apis::Core::Hashable
|
175
|
-
|
176
|
-
#
|
177
|
-
# Corresponds to the JSON property `apks`
|
178
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Apk>]
|
179
|
-
attr_accessor :apks
|
180
|
-
|
181
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
182
|
-
# androidpublisher#apksListResponse".
|
183
|
-
# Corresponds to the JSON property `kind`
|
184
|
-
# @return [String]
|
185
|
-
attr_accessor :kind
|
186
|
-
|
187
|
-
def initialize(**args)
|
188
|
-
update!(**args)
|
189
|
-
end
|
190
|
-
|
191
|
-
# Update properties of this object
|
192
|
-
def update!(**args)
|
193
|
-
@apks = args[:apks] if args.key?(:apks)
|
194
|
-
@kind = args[:kind] if args.key?(:kind)
|
195
|
-
end
|
196
|
-
end
|
197
|
-
|
198
|
-
#
|
199
|
-
class AppDetails
|
200
|
-
include Google::Apis::Core::Hashable
|
201
|
-
|
202
|
-
# The user-visible support email for this app.
|
203
|
-
# Corresponds to the JSON property `contactEmail`
|
204
|
-
# @return [String]
|
205
|
-
attr_accessor :contact_email
|
206
|
-
|
207
|
-
# The user-visible support telephone number for this app.
|
208
|
-
# Corresponds to the JSON property `contactPhone`
|
209
|
-
# @return [String]
|
210
|
-
attr_accessor :contact_phone
|
211
|
-
|
212
|
-
# The user-visible website for this app.
|
213
|
-
# Corresponds to the JSON property `contactWebsite`
|
214
|
-
# @return [String]
|
215
|
-
attr_accessor :contact_website
|
216
|
-
|
217
|
-
# Default language code, in BCP 47 format (eg "en-US").
|
218
|
-
# Corresponds to the JSON property `defaultLanguage`
|
219
|
-
# @return [String]
|
220
|
-
attr_accessor :default_language
|
221
|
-
|
222
|
-
def initialize(**args)
|
223
|
-
update!(**args)
|
224
|
-
end
|
225
|
-
|
226
|
-
# Update properties of this object
|
227
|
-
def update!(**args)
|
228
|
-
@contact_email = args[:contact_email] if args.key?(:contact_email)
|
229
|
-
@contact_phone = args[:contact_phone] if args.key?(:contact_phone)
|
230
|
-
@contact_website = args[:contact_website] if args.key?(:contact_website)
|
231
|
-
@default_language = args[:default_language] if args.key?(:default_language)
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
# Represents an edit of an app. An edit allows clients to make multiple changes
|
236
|
-
# before committing them in one operation.
|
237
|
-
class AppEdit
|
238
|
-
include Google::Apis::Core::Hashable
|
239
|
-
|
240
|
-
# The time at which the edit will expire and will be no longer valid for use in
|
241
|
-
# any subsequent API calls (encoded as seconds since the Epoch).
|
242
|
-
# Corresponds to the JSON property `expiryTimeSeconds`
|
243
|
-
# @return [String]
|
244
|
-
attr_accessor :expiry_time_seconds
|
245
|
-
|
246
|
-
# The ID of the edit that can be used in subsequent API calls.
|
247
|
-
# Corresponds to the JSON property `id`
|
248
|
-
# @return [String]
|
249
|
-
attr_accessor :id
|
250
|
-
|
251
|
-
def initialize(**args)
|
252
|
-
update!(**args)
|
253
|
-
end
|
254
|
-
|
255
|
-
# Update properties of this object
|
256
|
-
def update!(**args)
|
257
|
-
@expiry_time_seconds = args[:expiry_time_seconds] if args.key?(:expiry_time_seconds)
|
258
|
-
@id = args[:id] if args.key?(:id)
|
259
|
-
end
|
260
|
-
end
|
261
|
-
|
262
|
-
#
|
263
|
-
class Bundle
|
264
|
-
include Google::Apis::Core::Hashable
|
265
|
-
|
266
|
-
# A sha1 hash of the upload payload, encoded as a hex string and matching the
|
267
|
-
# output of the sha1sum command.
|
268
|
-
# Corresponds to the JSON property `sha1`
|
269
|
-
# @return [String]
|
270
|
-
attr_accessor :sha1
|
271
|
-
|
272
|
-
# A sha256 hash of the upload payload, encoded as a hex string and matching the
|
273
|
-
# output of the sha256sum command.
|
274
|
-
# Corresponds to the JSON property `sha256`
|
275
|
-
# @return [String]
|
276
|
-
attr_accessor :sha256
|
277
|
-
|
278
|
-
# The version code of the Android App Bundle. As specified in the Android App
|
279
|
-
# Bundle's base module APK manifest file.
|
280
|
-
# Corresponds to the JSON property `versionCode`
|
281
|
-
# @return [Fixnum]
|
282
|
-
attr_accessor :version_code
|
283
|
-
|
284
|
-
def initialize(**args)
|
285
|
-
update!(**args)
|
286
|
-
end
|
287
|
-
|
288
|
-
# Update properties of this object
|
289
|
-
def update!(**args)
|
290
|
-
@sha1 = args[:sha1] if args.key?(:sha1)
|
291
|
-
@sha256 = args[:sha256] if args.key?(:sha256)
|
292
|
-
@version_code = args[:version_code] if args.key?(:version_code)
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
|
-
#
|
297
|
-
class BundlesListResponse
|
298
|
-
include Google::Apis::Core::Hashable
|
299
|
-
|
300
|
-
#
|
301
|
-
# Corresponds to the JSON property `bundles`
|
302
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Bundle>]
|
303
|
-
attr_accessor :bundles
|
304
|
-
|
305
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
306
|
-
# androidpublisher#bundlesListResponse".
|
307
|
-
# Corresponds to the JSON property `kind`
|
308
|
-
# @return [String]
|
309
|
-
attr_accessor :kind
|
310
|
-
|
311
|
-
def initialize(**args)
|
312
|
-
update!(**args)
|
313
|
-
end
|
314
|
-
|
315
|
-
# Update properties of this object
|
316
|
-
def update!(**args)
|
317
|
-
@bundles = args[:bundles] if args.key?(:bundles)
|
318
|
-
@kind = args[:kind] if args.key?(:kind)
|
319
|
-
end
|
320
|
-
end
|
321
|
-
|
322
|
-
#
|
323
|
-
class Comment
|
324
|
-
include Google::Apis::Core::Hashable
|
325
|
-
|
326
|
-
# A comment from a developer.
|
327
|
-
# Corresponds to the JSON property `developerComment`
|
328
|
-
# @return [Google::Apis::AndroidpublisherV2::DeveloperComment]
|
329
|
-
attr_accessor :developer_comment
|
330
|
-
|
331
|
-
# A comment from a user.
|
332
|
-
# Corresponds to the JSON property `userComment`
|
333
|
-
# @return [Google::Apis::AndroidpublisherV2::UserComment]
|
334
|
-
attr_accessor :user_comment
|
335
|
-
|
336
|
-
def initialize(**args)
|
337
|
-
update!(**args)
|
338
|
-
end
|
339
|
-
|
340
|
-
# Update properties of this object
|
341
|
-
def update!(**args)
|
342
|
-
@developer_comment = args[:developer_comment] if args.key?(:developer_comment)
|
343
|
-
@user_comment = args[:user_comment] if args.key?(:user_comment)
|
344
|
-
end
|
345
|
-
end
|
346
|
-
|
347
|
-
# Represents a deobfuscation file.
|
348
|
-
class DeobfuscationFile
|
349
|
-
include Google::Apis::Core::Hashable
|
350
|
-
|
351
|
-
# The type of the deobfuscation file.
|
352
|
-
# Corresponds to the JSON property `symbolType`
|
353
|
-
# @return [String]
|
354
|
-
attr_accessor :symbol_type
|
355
|
-
|
356
|
-
def initialize(**args)
|
357
|
-
update!(**args)
|
358
|
-
end
|
359
|
-
|
360
|
-
# Update properties of this object
|
361
|
-
def update!(**args)
|
362
|
-
@symbol_type = args[:symbol_type] if args.key?(:symbol_type)
|
363
|
-
end
|
364
|
-
end
|
365
|
-
|
366
|
-
#
|
367
|
-
class DeobfuscationFilesUploadResponse
|
368
|
-
include Google::Apis::Core::Hashable
|
369
|
-
|
370
|
-
# Represents a deobfuscation file.
|
371
|
-
# Corresponds to the JSON property `deobfuscationFile`
|
372
|
-
# @return [Google::Apis::AndroidpublisherV2::DeobfuscationFile]
|
373
|
-
attr_accessor :deobfuscation_file
|
374
|
-
|
375
|
-
def initialize(**args)
|
376
|
-
update!(**args)
|
377
|
-
end
|
378
|
-
|
379
|
-
# Update properties of this object
|
380
|
-
def update!(**args)
|
381
|
-
@deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file)
|
382
|
-
end
|
383
|
-
end
|
384
|
-
|
385
|
-
#
|
386
|
-
class DeveloperComment
|
387
|
-
include Google::Apis::Core::Hashable
|
388
|
-
|
389
|
-
# The last time at which this comment was updated.
|
390
|
-
# Corresponds to the JSON property `lastModified`
|
391
|
-
# @return [Google::Apis::AndroidpublisherV2::Timestamp]
|
392
|
-
attr_accessor :last_modified
|
393
|
-
|
394
|
-
# The content of the comment, i.e. reply body.
|
395
|
-
# Corresponds to the JSON property `text`
|
396
|
-
# @return [String]
|
397
|
-
attr_accessor :text
|
398
|
-
|
399
|
-
def initialize(**args)
|
400
|
-
update!(**args)
|
401
|
-
end
|
402
|
-
|
403
|
-
# Update properties of this object
|
404
|
-
def update!(**args)
|
405
|
-
@last_modified = args[:last_modified] if args.key?(:last_modified)
|
406
|
-
@text = args[:text] if args.key?(:text)
|
407
|
-
end
|
408
|
-
end
|
409
|
-
|
410
|
-
#
|
411
|
-
class DeviceMetadata
|
412
|
-
include Google::Apis::Core::Hashable
|
413
|
-
|
414
|
-
# Device CPU make e.g. "Qualcomm"
|
415
|
-
# Corresponds to the JSON property `cpuMake`
|
416
|
-
# @return [String]
|
417
|
-
attr_accessor :cpu_make
|
418
|
-
|
419
|
-
# Device CPU model e.g. "MSM8974"
|
420
|
-
# Corresponds to the JSON property `cpuModel`
|
421
|
-
# @return [String]
|
422
|
-
attr_accessor :cpu_model
|
423
|
-
|
424
|
-
# Device class (e.g. tablet)
|
425
|
-
# Corresponds to the JSON property `deviceClass`
|
426
|
-
# @return [String]
|
427
|
-
attr_accessor :device_class
|
428
|
-
|
429
|
-
# OpenGL version
|
430
|
-
# Corresponds to the JSON property `glEsVersion`
|
431
|
-
# @return [Fixnum]
|
432
|
-
attr_accessor :gl_es_version
|
433
|
-
|
434
|
-
# Device manufacturer (e.g. Motorola)
|
435
|
-
# Corresponds to the JSON property `manufacturer`
|
436
|
-
# @return [String]
|
437
|
-
attr_accessor :manufacturer
|
438
|
-
|
439
|
-
# Comma separated list of native platforms (e.g. "arm", "arm7")
|
440
|
-
# Corresponds to the JSON property `nativePlatform`
|
441
|
-
# @return [String]
|
442
|
-
attr_accessor :native_platform
|
443
|
-
|
444
|
-
# Device model name (e.g. Droid)
|
445
|
-
# Corresponds to the JSON property `productName`
|
446
|
-
# @return [String]
|
447
|
-
attr_accessor :product_name
|
448
|
-
|
449
|
-
# Device RAM in Megabytes e.g. "2048"
|
450
|
-
# Corresponds to the JSON property `ramMb`
|
451
|
-
# @return [Fixnum]
|
452
|
-
attr_accessor :ram_mb
|
453
|
-
|
454
|
-
# Screen density in DPI
|
455
|
-
# Corresponds to the JSON property `screenDensityDpi`
|
456
|
-
# @return [Fixnum]
|
457
|
-
attr_accessor :screen_density_dpi
|
458
|
-
|
459
|
-
# Screen height in pixels
|
460
|
-
# Corresponds to the JSON property `screenHeightPx`
|
461
|
-
# @return [Fixnum]
|
462
|
-
attr_accessor :screen_height_px
|
463
|
-
|
464
|
-
# Screen width in pixels
|
465
|
-
# Corresponds to the JSON property `screenWidthPx`
|
466
|
-
# @return [Fixnum]
|
467
|
-
attr_accessor :screen_width_px
|
468
|
-
|
469
|
-
def initialize(**args)
|
470
|
-
update!(**args)
|
471
|
-
end
|
472
|
-
|
473
|
-
# Update properties of this object
|
474
|
-
def update!(**args)
|
475
|
-
@cpu_make = args[:cpu_make] if args.key?(:cpu_make)
|
476
|
-
@cpu_model = args[:cpu_model] if args.key?(:cpu_model)
|
477
|
-
@device_class = args[:device_class] if args.key?(:device_class)
|
478
|
-
@gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version)
|
479
|
-
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
480
|
-
@native_platform = args[:native_platform] if args.key?(:native_platform)
|
481
|
-
@product_name = args[:product_name] if args.key?(:product_name)
|
482
|
-
@ram_mb = args[:ram_mb] if args.key?(:ram_mb)
|
483
|
-
@screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi)
|
484
|
-
@screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px)
|
485
|
-
@screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px)
|
486
|
-
end
|
487
|
-
end
|
488
|
-
|
489
|
-
#
|
490
|
-
class ExpansionFile
|
491
|
-
include Google::Apis::Core::Hashable
|
492
|
-
|
493
|
-
# If set this field indicates that this APK has an Expansion File uploaded to it:
|
494
|
-
# this APK does not reference another APK's Expansion File. The field's value
|
495
|
-
# is the size of the uploaded Expansion File in bytes.
|
496
|
-
# Corresponds to the JSON property `fileSize`
|
497
|
-
# @return [Fixnum]
|
498
|
-
attr_accessor :file_size
|
499
|
-
|
500
|
-
# If set this APK's Expansion File references another APK's Expansion File. The
|
501
|
-
# file_size field will not be set.
|
502
|
-
# Corresponds to the JSON property `referencesVersion`
|
503
|
-
# @return [Fixnum]
|
504
|
-
attr_accessor :references_version
|
505
|
-
|
506
|
-
def initialize(**args)
|
507
|
-
update!(**args)
|
508
|
-
end
|
509
|
-
|
510
|
-
# Update properties of this object
|
511
|
-
def update!(**args)
|
512
|
-
@file_size = args[:file_size] if args.key?(:file_size)
|
513
|
-
@references_version = args[:references_version] if args.key?(:references_version)
|
514
|
-
end
|
515
|
-
end
|
516
|
-
|
517
|
-
#
|
518
|
-
class UploadExpansionFilesResponse
|
519
|
-
include Google::Apis::Core::Hashable
|
520
|
-
|
521
|
-
#
|
522
|
-
# Corresponds to the JSON property `expansionFile`
|
523
|
-
# @return [Google::Apis::AndroidpublisherV2::ExpansionFile]
|
524
|
-
attr_accessor :expansion_file
|
525
|
-
|
526
|
-
def initialize(**args)
|
527
|
-
update!(**args)
|
528
|
-
end
|
529
|
-
|
530
|
-
# Update properties of this object
|
531
|
-
def update!(**args)
|
532
|
-
@expansion_file = args[:expansion_file] if args.key?(:expansion_file)
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
|
-
# Defines an APK available for this application that is hosted externally and
|
537
|
-
# not uploaded to Google Play. This function is only available to enterprises
|
538
|
-
# who are using Google Play for Work, and whos application is restricted to the
|
539
|
-
# enterprise private channel
|
540
|
-
class ExternallyHostedApk
|
541
|
-
include Google::Apis::Core::Hashable
|
542
|
-
|
543
|
-
# The application label.
|
544
|
-
# Corresponds to the JSON property `applicationLabel`
|
545
|
-
# @return [String]
|
546
|
-
attr_accessor :application_label
|
547
|
-
|
548
|
-
# A certificate (or array of certificates if a certificate-chain is used) used
|
549
|
-
# to signed this APK, represented as a base64 encoded byte array.
|
550
|
-
# Corresponds to the JSON property `certificateBase64s`
|
551
|
-
# @return [Array<String>]
|
552
|
-
attr_accessor :certificate_base64s
|
553
|
-
|
554
|
-
# The URL at which the APK is hosted. This must be an https URL.
|
555
|
-
# Corresponds to the JSON property `externallyHostedUrl`
|
556
|
-
# @return [String]
|
557
|
-
attr_accessor :externally_hosted_url
|
558
|
-
|
559
|
-
# The SHA1 checksum of this APK, represented as a base64 encoded byte array.
|
560
|
-
# Corresponds to the JSON property `fileSha1Base64`
|
561
|
-
# @return [String]
|
562
|
-
attr_accessor :file_sha1_base64
|
563
|
-
|
564
|
-
# The SHA256 checksum of this APK, represented as a base64 encoded byte array.
|
565
|
-
# Corresponds to the JSON property `fileSha256Base64`
|
566
|
-
# @return [String]
|
567
|
-
attr_accessor :file_sha256_base64
|
568
|
-
|
569
|
-
# The file size in bytes of this APK.
|
570
|
-
# Corresponds to the JSON property `fileSize`
|
571
|
-
# @return [Fixnum]
|
572
|
-
attr_accessor :file_size
|
573
|
-
|
574
|
-
# The icon image from the APK, as a base64 encoded byte array.
|
575
|
-
# Corresponds to the JSON property `iconBase64`
|
576
|
-
# @return [String]
|
577
|
-
attr_accessor :icon_base64
|
578
|
-
|
579
|
-
# The maximum SDK supported by this APK (optional).
|
580
|
-
# Corresponds to the JSON property `maximumSdk`
|
581
|
-
# @return [Fixnum]
|
582
|
-
attr_accessor :maximum_sdk
|
583
|
-
|
584
|
-
# The minimum SDK targeted by this APK.
|
585
|
-
# Corresponds to the JSON property `minimumSdk`
|
586
|
-
# @return [Fixnum]
|
587
|
-
attr_accessor :minimum_sdk
|
588
|
-
|
589
|
-
# The native code environments supported by this APK (optional).
|
590
|
-
# Corresponds to the JSON property `nativeCodes`
|
591
|
-
# @return [Array<String>]
|
592
|
-
attr_accessor :native_codes
|
593
|
-
|
594
|
-
# The package name.
|
595
|
-
# Corresponds to the JSON property `packageName`
|
596
|
-
# @return [String]
|
597
|
-
attr_accessor :package_name
|
598
|
-
|
599
|
-
# The features required by this APK (optional).
|
600
|
-
# Corresponds to the JSON property `usesFeatures`
|
601
|
-
# @return [Array<String>]
|
602
|
-
attr_accessor :uses_features
|
603
|
-
|
604
|
-
# The permissions requested by this APK.
|
605
|
-
# Corresponds to the JSON property `usesPermissions`
|
606
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::ExternallyHostedApkUsesPermission>]
|
607
|
-
attr_accessor :uses_permissions
|
608
|
-
|
609
|
-
# The version code of this APK.
|
610
|
-
# Corresponds to the JSON property `versionCode`
|
611
|
-
# @return [Fixnum]
|
612
|
-
attr_accessor :version_code
|
613
|
-
|
614
|
-
# The version name of this APK.
|
615
|
-
# Corresponds to the JSON property `versionName`
|
616
|
-
# @return [String]
|
617
|
-
attr_accessor :version_name
|
618
|
-
|
619
|
-
def initialize(**args)
|
620
|
-
update!(**args)
|
621
|
-
end
|
622
|
-
|
623
|
-
# Update properties of this object
|
624
|
-
def update!(**args)
|
625
|
-
@application_label = args[:application_label] if args.key?(:application_label)
|
626
|
-
@certificate_base64s = args[:certificate_base64s] if args.key?(:certificate_base64s)
|
627
|
-
@externally_hosted_url = args[:externally_hosted_url] if args.key?(:externally_hosted_url)
|
628
|
-
@file_sha1_base64 = args[:file_sha1_base64] if args.key?(:file_sha1_base64)
|
629
|
-
@file_sha256_base64 = args[:file_sha256_base64] if args.key?(:file_sha256_base64)
|
630
|
-
@file_size = args[:file_size] if args.key?(:file_size)
|
631
|
-
@icon_base64 = args[:icon_base64] if args.key?(:icon_base64)
|
632
|
-
@maximum_sdk = args[:maximum_sdk] if args.key?(:maximum_sdk)
|
633
|
-
@minimum_sdk = args[:minimum_sdk] if args.key?(:minimum_sdk)
|
634
|
-
@native_codes = args[:native_codes] if args.key?(:native_codes)
|
635
|
-
@package_name = args[:package_name] if args.key?(:package_name)
|
636
|
-
@uses_features = args[:uses_features] if args.key?(:uses_features)
|
637
|
-
@uses_permissions = args[:uses_permissions] if args.key?(:uses_permissions)
|
638
|
-
@version_code = args[:version_code] if args.key?(:version_code)
|
639
|
-
@version_name = args[:version_name] if args.key?(:version_name)
|
640
|
-
end
|
641
|
-
end
|
642
|
-
|
643
|
-
# A permission used by this APK.
|
644
|
-
class ExternallyHostedApkUsesPermission
|
645
|
-
include Google::Apis::Core::Hashable
|
646
|
-
|
647
|
-
# Optionally, the maximum SDK version for which the permission is required.
|
648
|
-
# Corresponds to the JSON property `maxSdkVersion`
|
649
|
-
# @return [Fixnum]
|
650
|
-
attr_accessor :max_sdk_version
|
651
|
-
|
652
|
-
# The name of the permission requested.
|
653
|
-
# Corresponds to the JSON property `name`
|
654
|
-
# @return [String]
|
655
|
-
attr_accessor :name
|
656
|
-
|
657
|
-
def initialize(**args)
|
658
|
-
update!(**args)
|
659
|
-
end
|
660
|
-
|
661
|
-
# Update properties of this object
|
662
|
-
def update!(**args)
|
663
|
-
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
664
|
-
@name = args[:name] if args.key?(:name)
|
665
|
-
end
|
666
|
-
end
|
667
|
-
|
668
|
-
#
|
669
|
-
class Image
|
670
|
-
include Google::Apis::Core::Hashable
|
671
|
-
|
672
|
-
# A unique id representing this image.
|
673
|
-
# Corresponds to the JSON property `id`
|
674
|
-
# @return [String]
|
675
|
-
attr_accessor :id
|
676
|
-
|
677
|
-
# A sha1 hash of the image that was uploaded.
|
678
|
-
# Corresponds to the JSON property `sha1`
|
679
|
-
# @return [String]
|
680
|
-
attr_accessor :sha1
|
681
|
-
|
682
|
-
# A sha256 hash of the image that was uploaded.
|
683
|
-
# Corresponds to the JSON property `sha256`
|
684
|
-
# @return [String]
|
685
|
-
attr_accessor :sha256
|
686
|
-
|
687
|
-
# A URL that will serve a preview of the image.
|
688
|
-
# Corresponds to the JSON property `url`
|
689
|
-
# @return [String]
|
690
|
-
attr_accessor :url
|
691
|
-
|
692
|
-
def initialize(**args)
|
693
|
-
update!(**args)
|
694
|
-
end
|
695
|
-
|
696
|
-
# Update properties of this object
|
697
|
-
def update!(**args)
|
698
|
-
@id = args[:id] if args.key?(:id)
|
699
|
-
@sha1 = args[:sha1] if args.key?(:sha1)
|
700
|
-
@sha256 = args[:sha256] if args.key?(:sha256)
|
701
|
-
@url = args[:url] if args.key?(:url)
|
702
|
-
end
|
703
|
-
end
|
704
|
-
|
705
|
-
#
|
706
|
-
class DeleteAllImagesResponse
|
707
|
-
include Google::Apis::Core::Hashable
|
708
|
-
|
709
|
-
#
|
710
|
-
# Corresponds to the JSON property `deleted`
|
711
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Image>]
|
712
|
-
attr_accessor :deleted
|
713
|
-
|
714
|
-
def initialize(**args)
|
715
|
-
update!(**args)
|
716
|
-
end
|
717
|
-
|
718
|
-
# Update properties of this object
|
719
|
-
def update!(**args)
|
720
|
-
@deleted = args[:deleted] if args.key?(:deleted)
|
721
|
-
end
|
722
|
-
end
|
723
|
-
|
724
|
-
#
|
725
|
-
class ListImagesResponse
|
726
|
-
include Google::Apis::Core::Hashable
|
727
|
-
|
728
|
-
#
|
729
|
-
# Corresponds to the JSON property `images`
|
730
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Image>]
|
731
|
-
attr_accessor :images
|
732
|
-
|
733
|
-
def initialize(**args)
|
734
|
-
update!(**args)
|
735
|
-
end
|
736
|
-
|
737
|
-
# Update properties of this object
|
738
|
-
def update!(**args)
|
739
|
-
@images = args[:images] if args.key?(:images)
|
740
|
-
end
|
741
|
-
end
|
742
|
-
|
743
|
-
#
|
744
|
-
class UploadImagesResponse
|
745
|
-
include Google::Apis::Core::Hashable
|
746
|
-
|
747
|
-
#
|
748
|
-
# Corresponds to the JSON property `image`
|
749
|
-
# @return [Google::Apis::AndroidpublisherV2::Image]
|
750
|
-
attr_accessor :image
|
751
|
-
|
752
|
-
def initialize(**args)
|
753
|
-
update!(**args)
|
754
|
-
end
|
755
|
-
|
756
|
-
# Update properties of this object
|
757
|
-
def update!(**args)
|
758
|
-
@image = args[:image] if args.key?(:image)
|
759
|
-
end
|
760
|
-
end
|
761
|
-
|
762
|
-
#
|
763
|
-
class InAppProduct
|
764
|
-
include Google::Apis::Core::Hashable
|
765
|
-
|
766
|
-
# The default language of the localized data, as defined by BCP 47. e.g. "en-US",
|
767
|
-
# "en-GB".
|
768
|
-
# Corresponds to the JSON property `defaultLanguage`
|
769
|
-
# @return [String]
|
770
|
-
attr_accessor :default_language
|
771
|
-
|
772
|
-
# Default price cannot be zero. In-app products can never be free. Default price
|
773
|
-
# is always in the developer's Checkout merchant currency.
|
774
|
-
# Corresponds to the JSON property `defaultPrice`
|
775
|
-
# @return [Google::Apis::AndroidpublisherV2::Price]
|
776
|
-
attr_accessor :default_price
|
777
|
-
|
778
|
-
# Grace period of the subscription, specified in ISO 8601 format. It will allow
|
779
|
-
# developers to give their subscribers a grace period when the payment for the
|
780
|
-
# new recurrence period is declined. Acceptable values = "P3D" (three days), "
|
781
|
-
# P7D" (seven days), "P14D" (fourteen days), and "P30D" (thirty days)
|
782
|
-
# Corresponds to the JSON property `gracePeriod`
|
783
|
-
# @return [String]
|
784
|
-
attr_accessor :grace_period
|
785
|
-
|
786
|
-
# List of localized title and description data.
|
787
|
-
# Corresponds to the JSON property `listings`
|
788
|
-
# @return [Hash<String,Google::Apis::AndroidpublisherV2::InAppProductListing>]
|
789
|
-
attr_accessor :listings
|
790
|
-
|
791
|
-
# The package name of the parent app.
|
792
|
-
# Corresponds to the JSON property `packageName`
|
793
|
-
# @return [String]
|
794
|
-
attr_accessor :package_name
|
795
|
-
|
796
|
-
# Prices per buyer region. None of these prices should be zero. In-app products
|
797
|
-
# can never be free.
|
798
|
-
# Corresponds to the JSON property `prices`
|
799
|
-
# @return [Hash<String,Google::Apis::AndroidpublisherV2::Price>]
|
800
|
-
attr_accessor :prices
|
801
|
-
|
802
|
-
# Purchase type enum value. Unmodifiable after creation.
|
803
|
-
# Corresponds to the JSON property `purchaseType`
|
804
|
-
# @return [String]
|
805
|
-
attr_accessor :purchase_type
|
806
|
-
|
807
|
-
# The stock-keeping-unit (SKU) of the product, unique within an app.
|
808
|
-
# Corresponds to the JSON property `sku`
|
809
|
-
# @return [String]
|
810
|
-
attr_accessor :sku
|
811
|
-
|
812
|
-
#
|
813
|
-
# Corresponds to the JSON property `status`
|
814
|
-
# @return [String]
|
815
|
-
attr_accessor :status
|
816
|
-
|
817
|
-
# Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
|
818
|
-
# (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "
|
819
|
-
# P1Y" (one year).
|
820
|
-
# Corresponds to the JSON property `subscriptionPeriod`
|
821
|
-
# @return [String]
|
822
|
-
attr_accessor :subscription_period
|
823
|
-
|
824
|
-
# Trial period, specified in ISO 8601 format. Acceptable values are anything
|
825
|
-
# between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions
|
826
|
-
# cannot have a trial period.
|
827
|
-
# Corresponds to the JSON property `trialPeriod`
|
828
|
-
# @return [String]
|
829
|
-
attr_accessor :trial_period
|
830
|
-
|
831
|
-
def initialize(**args)
|
832
|
-
update!(**args)
|
833
|
-
end
|
834
|
-
|
835
|
-
# Update properties of this object
|
836
|
-
def update!(**args)
|
837
|
-
@default_language = args[:default_language] if args.key?(:default_language)
|
838
|
-
@default_price = args[:default_price] if args.key?(:default_price)
|
839
|
-
@grace_period = args[:grace_period] if args.key?(:grace_period)
|
840
|
-
@listings = args[:listings] if args.key?(:listings)
|
841
|
-
@package_name = args[:package_name] if args.key?(:package_name)
|
842
|
-
@prices = args[:prices] if args.key?(:prices)
|
843
|
-
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
844
|
-
@sku = args[:sku] if args.key?(:sku)
|
845
|
-
@status = args[:status] if args.key?(:status)
|
846
|
-
@subscription_period = args[:subscription_period] if args.key?(:subscription_period)
|
847
|
-
@trial_period = args[:trial_period] if args.key?(:trial_period)
|
848
|
-
end
|
849
|
-
end
|
850
|
-
|
851
|
-
#
|
852
|
-
class InAppProductListing
|
853
|
-
include Google::Apis::Core::Hashable
|
854
|
-
|
855
|
-
#
|
856
|
-
# Corresponds to the JSON property `description`
|
857
|
-
# @return [String]
|
858
|
-
attr_accessor :description
|
859
|
-
|
860
|
-
#
|
861
|
-
# Corresponds to the JSON property `title`
|
862
|
-
# @return [String]
|
863
|
-
attr_accessor :title
|
864
|
-
|
865
|
-
def initialize(**args)
|
866
|
-
update!(**args)
|
867
|
-
end
|
868
|
-
|
869
|
-
# Update properties of this object
|
870
|
-
def update!(**args)
|
871
|
-
@description = args[:description] if args.key?(:description)
|
872
|
-
@title = args[:title] if args.key?(:title)
|
873
|
-
end
|
874
|
-
end
|
875
|
-
|
876
|
-
#
|
877
|
-
class ListInAppProductsResponse
|
878
|
-
include Google::Apis::Core::Hashable
|
879
|
-
|
880
|
-
#
|
881
|
-
# Corresponds to the JSON property `inappproduct`
|
882
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::InAppProduct>]
|
883
|
-
attr_accessor :inappproduct
|
884
|
-
|
885
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
886
|
-
# androidpublisher#inappproductsListResponse".
|
887
|
-
# Corresponds to the JSON property `kind`
|
888
|
-
# @return [String]
|
889
|
-
attr_accessor :kind
|
890
|
-
|
891
|
-
#
|
892
|
-
# Corresponds to the JSON property `pageInfo`
|
893
|
-
# @return [Google::Apis::AndroidpublisherV2::PageInfo]
|
894
|
-
attr_accessor :page_info
|
895
|
-
|
896
|
-
#
|
897
|
-
# Corresponds to the JSON property `tokenPagination`
|
898
|
-
# @return [Google::Apis::AndroidpublisherV2::TokenPagination]
|
899
|
-
attr_accessor :token_pagination
|
900
|
-
|
901
|
-
def initialize(**args)
|
902
|
-
update!(**args)
|
903
|
-
end
|
904
|
-
|
905
|
-
# Update properties of this object
|
906
|
-
def update!(**args)
|
907
|
-
@inappproduct = args[:inappproduct] if args.key?(:inappproduct)
|
908
|
-
@kind = args[:kind] if args.key?(:kind)
|
909
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
910
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
911
|
-
end
|
912
|
-
end
|
913
|
-
|
914
|
-
#
|
915
|
-
class Listing
|
916
|
-
include Google::Apis::Core::Hashable
|
917
|
-
|
918
|
-
# Full description of the app; this may be up to 4000 characters in length.
|
919
|
-
# Corresponds to the JSON property `fullDescription`
|
920
|
-
# @return [String]
|
921
|
-
attr_accessor :full_description
|
922
|
-
|
923
|
-
# Language localization code (for example, "de-AT" for Austrian German).
|
924
|
-
# Corresponds to the JSON property `language`
|
925
|
-
# @return [String]
|
926
|
-
attr_accessor :language
|
927
|
-
|
928
|
-
# Short description of the app (previously known as promo text); this may be up
|
929
|
-
# to 80 characters in length.
|
930
|
-
# Corresponds to the JSON property `shortDescription`
|
931
|
-
# @return [String]
|
932
|
-
attr_accessor :short_description
|
933
|
-
|
934
|
-
# App's localized title.
|
935
|
-
# Corresponds to the JSON property `title`
|
936
|
-
# @return [String]
|
937
|
-
attr_accessor :title
|
938
|
-
|
939
|
-
# URL of a promotional YouTube video for the app.
|
940
|
-
# Corresponds to the JSON property `video`
|
941
|
-
# @return [String]
|
942
|
-
attr_accessor :video
|
943
|
-
|
944
|
-
def initialize(**args)
|
945
|
-
update!(**args)
|
946
|
-
end
|
947
|
-
|
948
|
-
# Update properties of this object
|
949
|
-
def update!(**args)
|
950
|
-
@full_description = args[:full_description] if args.key?(:full_description)
|
951
|
-
@language = args[:language] if args.key?(:language)
|
952
|
-
@short_description = args[:short_description] if args.key?(:short_description)
|
953
|
-
@title = args[:title] if args.key?(:title)
|
954
|
-
@video = args[:video] if args.key?(:video)
|
955
|
-
end
|
956
|
-
end
|
957
|
-
|
958
|
-
#
|
959
|
-
class ListListingsResponse
|
960
|
-
include Google::Apis::Core::Hashable
|
961
|
-
|
962
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
963
|
-
# androidpublisher#listingsListResponse".
|
964
|
-
# Corresponds to the JSON property `kind`
|
965
|
-
# @return [String]
|
966
|
-
attr_accessor :kind
|
967
|
-
|
968
|
-
#
|
969
|
-
# Corresponds to the JSON property `listings`
|
970
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Listing>]
|
971
|
-
attr_accessor :listings
|
972
|
-
|
973
|
-
def initialize(**args)
|
974
|
-
update!(**args)
|
975
|
-
end
|
976
|
-
|
977
|
-
# Update properties of this object
|
978
|
-
def update!(**args)
|
979
|
-
@kind = args[:kind] if args.key?(:kind)
|
980
|
-
@listings = args[:listings] if args.key?(:listings)
|
981
|
-
end
|
982
|
-
end
|
983
|
-
|
984
|
-
#
|
985
|
-
class PageInfo
|
986
|
-
include Google::Apis::Core::Hashable
|
987
|
-
|
988
|
-
#
|
989
|
-
# Corresponds to the JSON property `resultPerPage`
|
990
|
-
# @return [Fixnum]
|
991
|
-
attr_accessor :result_per_page
|
992
|
-
|
993
|
-
#
|
994
|
-
# Corresponds to the JSON property `startIndex`
|
995
|
-
# @return [Fixnum]
|
996
|
-
attr_accessor :start_index
|
997
|
-
|
998
|
-
#
|
999
|
-
# Corresponds to the JSON property `totalResults`
|
1000
|
-
# @return [Fixnum]
|
1001
|
-
attr_accessor :total_results
|
1002
|
-
|
1003
|
-
def initialize(**args)
|
1004
|
-
update!(**args)
|
1005
|
-
end
|
1006
|
-
|
1007
|
-
# Update properties of this object
|
1008
|
-
def update!(**args)
|
1009
|
-
@result_per_page = args[:result_per_page] if args.key?(:result_per_page)
|
1010
|
-
@start_index = args[:start_index] if args.key?(:start_index)
|
1011
|
-
@total_results = args[:total_results] if args.key?(:total_results)
|
1012
|
-
end
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
#
|
1016
|
-
class Price
|
1017
|
-
include Google::Apis::Core::Hashable
|
1018
|
-
|
1019
|
-
# 3 letter Currency code, as defined by ISO 4217.
|
1020
|
-
# Corresponds to the JSON property `currency`
|
1021
|
-
# @return [String]
|
1022
|
-
attr_accessor :currency
|
1023
|
-
|
1024
|
-
# The price in millionths of the currency base unit represented as a string.
|
1025
|
-
# Corresponds to the JSON property `priceMicros`
|
1026
|
-
# @return [String]
|
1027
|
-
attr_accessor :price_micros
|
1028
|
-
|
1029
|
-
def initialize(**args)
|
1030
|
-
update!(**args)
|
1031
|
-
end
|
1032
|
-
|
1033
|
-
# Update properties of this object
|
1034
|
-
def update!(**args)
|
1035
|
-
@currency = args[:currency] if args.key?(:currency)
|
1036
|
-
@price_micros = args[:price_micros] if args.key?(:price_micros)
|
1037
|
-
end
|
1038
|
-
end
|
1039
|
-
|
1040
|
-
# A ProductPurchase resource indicates the status of a user's inapp product
|
1041
|
-
# purchase.
|
1042
|
-
class ProductPurchase
|
1043
|
-
include Google::Apis::Core::Hashable
|
1044
|
-
|
1045
|
-
# The consumption state of the inapp product. Possible values are:
|
1046
|
-
# - Yet to be consumed
|
1047
|
-
# - Consumed
|
1048
|
-
# Corresponds to the JSON property `consumptionState`
|
1049
|
-
# @return [Fixnum]
|
1050
|
-
attr_accessor :consumption_state
|
1051
|
-
|
1052
|
-
# A developer-specified string that contains supplemental information about an
|
1053
|
-
# order.
|
1054
|
-
# Corresponds to the JSON property `developerPayload`
|
1055
|
-
# @return [String]
|
1056
|
-
attr_accessor :developer_payload
|
1057
|
-
|
1058
|
-
# This kind represents an inappPurchase object in the androidpublisher service.
|
1059
|
-
# Corresponds to the JSON property `kind`
|
1060
|
-
# @return [String]
|
1061
|
-
attr_accessor :kind
|
1062
|
-
|
1063
|
-
# The order id associated with the purchase of the inapp product.
|
1064
|
-
# Corresponds to the JSON property `orderId`
|
1065
|
-
# @return [String]
|
1066
|
-
attr_accessor :order_id
|
1067
|
-
|
1068
|
-
# The purchase state of the order. Possible values are:
|
1069
|
-
# - Purchased
|
1070
|
-
# - Canceled
|
1071
|
-
# - Pending
|
1072
|
-
# Corresponds to the JSON property `purchaseState`
|
1073
|
-
# @return [Fixnum]
|
1074
|
-
attr_accessor :purchase_state
|
1075
|
-
|
1076
|
-
# The time the product was purchased, in milliseconds since the epoch (Jan 1,
|
1077
|
-
# 1970).
|
1078
|
-
# Corresponds to the JSON property `purchaseTimeMillis`
|
1079
|
-
# @return [Fixnum]
|
1080
|
-
attr_accessor :purchase_time_millis
|
1081
|
-
|
1082
|
-
# The type of purchase of the inapp product. This field is only set if this
|
1083
|
-
# purchase was not made using the standard in-app billing flow. Possible values
|
1084
|
-
# are:
|
1085
|
-
# - Test (i.e. purchased from a license testing account)
|
1086
|
-
# - Promo (i.e. purchased using a promo code)
|
1087
|
-
# - Rewarded (i.e. from watching a video ad instead of paying)
|
1088
|
-
# Corresponds to the JSON property `purchaseType`
|
1089
|
-
# @return [Fixnum]
|
1090
|
-
attr_accessor :purchase_type
|
1091
|
-
|
1092
|
-
def initialize(**args)
|
1093
|
-
update!(**args)
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
# Update properties of this object
|
1097
|
-
def update!(**args)
|
1098
|
-
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
1099
|
-
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
1100
|
-
@kind = args[:kind] if args.key?(:kind)
|
1101
|
-
@order_id = args[:order_id] if args.key?(:order_id)
|
1102
|
-
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
1103
|
-
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
1104
|
-
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
1105
|
-
end
|
1106
|
-
end
|
1107
|
-
|
1108
|
-
#
|
1109
|
-
class Review
|
1110
|
-
include Google::Apis::Core::Hashable
|
1111
|
-
|
1112
|
-
# The name of the user who wrote the review.
|
1113
|
-
# Corresponds to the JSON property `authorName`
|
1114
|
-
# @return [String]
|
1115
|
-
attr_accessor :author_name
|
1116
|
-
|
1117
|
-
# A repeated field containing comments for the review.
|
1118
|
-
# Corresponds to the JSON property `comments`
|
1119
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Comment>]
|
1120
|
-
attr_accessor :comments
|
1121
|
-
|
1122
|
-
# Unique identifier for this review.
|
1123
|
-
# Corresponds to the JSON property `reviewId`
|
1124
|
-
# @return [String]
|
1125
|
-
attr_accessor :review_id
|
1126
|
-
|
1127
|
-
def initialize(**args)
|
1128
|
-
update!(**args)
|
1129
|
-
end
|
1130
|
-
|
1131
|
-
# Update properties of this object
|
1132
|
-
def update!(**args)
|
1133
|
-
@author_name = args[:author_name] if args.key?(:author_name)
|
1134
|
-
@comments = args[:comments] if args.key?(:comments)
|
1135
|
-
@review_id = args[:review_id] if args.key?(:review_id)
|
1136
|
-
end
|
1137
|
-
end
|
1138
|
-
|
1139
|
-
#
|
1140
|
-
class ReviewReplyResult
|
1141
|
-
include Google::Apis::Core::Hashable
|
1142
|
-
|
1143
|
-
# The time at which the reply took effect.
|
1144
|
-
# Corresponds to the JSON property `lastEdited`
|
1145
|
-
# @return [Google::Apis::AndroidpublisherV2::Timestamp]
|
1146
|
-
attr_accessor :last_edited
|
1147
|
-
|
1148
|
-
# The reply text that was applied.
|
1149
|
-
# Corresponds to the JSON property `replyText`
|
1150
|
-
# @return [String]
|
1151
|
-
attr_accessor :reply_text
|
1152
|
-
|
1153
|
-
def initialize(**args)
|
1154
|
-
update!(**args)
|
1155
|
-
end
|
1156
|
-
|
1157
|
-
# Update properties of this object
|
1158
|
-
def update!(**args)
|
1159
|
-
@last_edited = args[:last_edited] if args.key?(:last_edited)
|
1160
|
-
@reply_text = args[:reply_text] if args.key?(:reply_text)
|
1161
|
-
end
|
1162
|
-
end
|
1163
|
-
|
1164
|
-
#
|
1165
|
-
class ReviewsListResponse
|
1166
|
-
include Google::Apis::Core::Hashable
|
1167
|
-
|
1168
|
-
#
|
1169
|
-
# Corresponds to the JSON property `pageInfo`
|
1170
|
-
# @return [Google::Apis::AndroidpublisherV2::PageInfo]
|
1171
|
-
attr_accessor :page_info
|
1172
|
-
|
1173
|
-
#
|
1174
|
-
# Corresponds to the JSON property `reviews`
|
1175
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Review>]
|
1176
|
-
attr_accessor :reviews
|
1177
|
-
|
1178
|
-
#
|
1179
|
-
# Corresponds to the JSON property `tokenPagination`
|
1180
|
-
# @return [Google::Apis::AndroidpublisherV2::TokenPagination]
|
1181
|
-
attr_accessor :token_pagination
|
1182
|
-
|
1183
|
-
def initialize(**args)
|
1184
|
-
update!(**args)
|
1185
|
-
end
|
1186
|
-
|
1187
|
-
# Update properties of this object
|
1188
|
-
def update!(**args)
|
1189
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
1190
|
-
@reviews = args[:reviews] if args.key?(:reviews)
|
1191
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
1192
|
-
end
|
1193
|
-
end
|
1194
|
-
|
1195
|
-
#
|
1196
|
-
class ReviewsReplyRequest
|
1197
|
-
include Google::Apis::Core::Hashable
|
1198
|
-
|
1199
|
-
# The text to set as the reply. Replies of more than approximately 350
|
1200
|
-
# characters will be rejected. HTML tags will be stripped.
|
1201
|
-
# Corresponds to the JSON property `replyText`
|
1202
|
-
# @return [String]
|
1203
|
-
attr_accessor :reply_text
|
1204
|
-
|
1205
|
-
def initialize(**args)
|
1206
|
-
update!(**args)
|
1207
|
-
end
|
1208
|
-
|
1209
|
-
# Update properties of this object
|
1210
|
-
def update!(**args)
|
1211
|
-
@reply_text = args[:reply_text] if args.key?(:reply_text)
|
1212
|
-
end
|
1213
|
-
end
|
1214
|
-
|
1215
|
-
#
|
1216
|
-
class ReviewsReplyResponse
|
26
|
+
class PageInfo
|
1217
27
|
include Google::Apis::Core::Hashable
|
1218
28
|
|
1219
29
|
#
|
1220
|
-
# Corresponds to the JSON property `
|
1221
|
-
# @return [Google::Apis::AndroidpublisherV2::ReviewReplyResult]
|
1222
|
-
attr_accessor :result
|
1223
|
-
|
1224
|
-
def initialize(**args)
|
1225
|
-
update!(**args)
|
1226
|
-
end
|
1227
|
-
|
1228
|
-
# Update properties of this object
|
1229
|
-
def update!(**args)
|
1230
|
-
@result = args[:result] if args.key?(:result)
|
1231
|
-
end
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
# Information provided by the user when they complete the subscription
|
1235
|
-
# cancellation flow (cancellation reason survey).
|
1236
|
-
class SubscriptionCancelSurveyResult
|
1237
|
-
include Google::Apis::Core::Hashable
|
1238
|
-
|
1239
|
-
# The cancellation reason the user chose in the survey. Possible values are:
|
1240
|
-
# - Other
|
1241
|
-
# - I don't use this service enough
|
1242
|
-
# - Technical issues
|
1243
|
-
# - Cost-related reasons
|
1244
|
-
# - I found a better app
|
1245
|
-
# Corresponds to the JSON property `cancelSurveyReason`
|
1246
|
-
# @return [Fixnum]
|
1247
|
-
attr_accessor :cancel_survey_reason
|
1248
|
-
|
1249
|
-
# The customized input cancel reason from the user. Only present when
|
1250
|
-
# cancelReason is 0.
|
1251
|
-
# Corresponds to the JSON property `userInputCancelReason`
|
1252
|
-
# @return [String]
|
1253
|
-
attr_accessor :user_input_cancel_reason
|
1254
|
-
|
1255
|
-
def initialize(**args)
|
1256
|
-
update!(**args)
|
1257
|
-
end
|
1258
|
-
|
1259
|
-
# Update properties of this object
|
1260
|
-
def update!(**args)
|
1261
|
-
@cancel_survey_reason = args[:cancel_survey_reason] if args.key?(:cancel_survey_reason)
|
1262
|
-
@user_input_cancel_reason = args[:user_input_cancel_reason] if args.key?(:user_input_cancel_reason)
|
1263
|
-
end
|
1264
|
-
end
|
1265
|
-
|
1266
|
-
# A SubscriptionDeferralInfo contains the data needed to defer a subscription
|
1267
|
-
# purchase to a future expiry time.
|
1268
|
-
class SubscriptionDeferralInfo
|
1269
|
-
include Google::Apis::Core::Hashable
|
1270
|
-
|
1271
|
-
# The desired next expiry time to assign to the subscription, in milliseconds
|
1272
|
-
# since the Epoch. The given time must be later/greater than the current expiry
|
1273
|
-
# time for the subscription.
|
1274
|
-
# Corresponds to the JSON property `desiredExpiryTimeMillis`
|
30
|
+
# Corresponds to the JSON property `resultPerPage`
|
1275
31
|
# @return [Fixnum]
|
1276
|
-
attr_accessor :
|
32
|
+
attr_accessor :result_per_page
|
1277
33
|
|
1278
|
-
#
|
1279
|
-
#
|
1280
|
-
# Corresponds to the JSON property `expectedExpiryTimeMillis`
|
34
|
+
#
|
35
|
+
# Corresponds to the JSON property `startIndex`
|
1281
36
|
# @return [Fixnum]
|
1282
|
-
attr_accessor :
|
1283
|
-
|
1284
|
-
def initialize(**args)
|
1285
|
-
update!(**args)
|
1286
|
-
end
|
1287
|
-
|
1288
|
-
# Update properties of this object
|
1289
|
-
def update!(**args)
|
1290
|
-
@desired_expiry_time_millis = args[:desired_expiry_time_millis] if args.key?(:desired_expiry_time_millis)
|
1291
|
-
@expected_expiry_time_millis = args[:expected_expiry_time_millis] if args.key?(:expected_expiry_time_millis)
|
1292
|
-
end
|
1293
|
-
end
|
1294
|
-
|
1295
|
-
# Contains the price change information for a subscription that can be used to
|
1296
|
-
# control the user journey for the price change in the app. This can be in the
|
1297
|
-
# form of seeking confirmation from the user or tailoring the experience for a
|
1298
|
-
# successful conversion.
|
1299
|
-
class SubscriptionPriceChange
|
1300
|
-
include Google::Apis::Core::Hashable
|
1301
|
-
|
1302
|
-
# The new price the subscription will renew with if the price change is accepted
|
1303
|
-
# by the user.
|
1304
|
-
# Corresponds to the JSON property `newPrice`
|
1305
|
-
# @return [Google::Apis::AndroidpublisherV2::Price]
|
1306
|
-
attr_accessor :new_price
|
37
|
+
attr_accessor :start_index
|
1307
38
|
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
# In this state, you can optionally seek confirmation from the user using the In-
|
1311
|
-
# App API.
|
1312
|
-
# - Accepted: State for an accepted price change that the subscription will
|
1313
|
-
# renew with unless it's canceled. The price change takes effect on a future
|
1314
|
-
# date when the subscription renews. Note that the change might not occur when
|
1315
|
-
# the subscription is renewed next.
|
1316
|
-
# Corresponds to the JSON property `state`
|
39
|
+
#
|
40
|
+
# Corresponds to the JSON property `totalResults`
|
1317
41
|
# @return [Fixnum]
|
1318
|
-
attr_accessor :
|
42
|
+
attr_accessor :total_results
|
1319
43
|
|
1320
44
|
def initialize(**args)
|
1321
45
|
update!(**args)
|
@@ -1323,45 +47,23 @@ module Google
|
|
1323
47
|
|
1324
48
|
# Update properties of this object
|
1325
49
|
def update!(**args)
|
1326
|
-
@
|
1327
|
-
@
|
50
|
+
@result_per_page = args[:result_per_page] if args.key?(:result_per_page)
|
51
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
52
|
+
@total_results = args[:total_results] if args.key?(:total_results)
|
1328
53
|
end
|
1329
54
|
end
|
1330
55
|
|
1331
|
-
# A
|
56
|
+
# A ProductPurchase resource indicates the status of a user's inapp product
|
1332
57
|
# purchase.
|
1333
|
-
class
|
58
|
+
class ProductPurchase
|
1334
59
|
include Google::Apis::Core::Hashable
|
1335
60
|
|
1336
|
-
#
|
1337
|
-
#
|
1338
|
-
#
|
1339
|
-
#
|
1340
|
-
attr_accessor :auto_renewing
|
1341
|
-
alias_method :auto_renewing?, :auto_renewing
|
1342
|
-
|
1343
|
-
# The reason why a subscription was canceled or is not auto-renewing. Possible
|
1344
|
-
# values are:
|
1345
|
-
# - User canceled the subscription
|
1346
|
-
# - Subscription was canceled by the system, for example because of a billing
|
1347
|
-
# problem
|
1348
|
-
# - Subscription was replaced with a new subscription
|
1349
|
-
# - Subscription was canceled by the developer
|
1350
|
-
# Corresponds to the JSON property `cancelReason`
|
61
|
+
# The consumption state of the inapp product. Possible values are:
|
62
|
+
# - Yet to be consumed
|
63
|
+
# - Consumed
|
64
|
+
# Corresponds to the JSON property `consumptionState`
|
1351
65
|
# @return [Fixnum]
|
1352
|
-
attr_accessor :
|
1353
|
-
|
1354
|
-
# Information provided by the user when they complete the subscription
|
1355
|
-
# cancellation flow (cancellation reason survey).
|
1356
|
-
# Corresponds to the JSON property `cancelSurveyResult`
|
1357
|
-
# @return [Google::Apis::AndroidpublisherV2::SubscriptionCancelSurveyResult]
|
1358
|
-
attr_accessor :cancel_survey_result
|
1359
|
-
|
1360
|
-
# ISO 3166-1 alpha-2 billing country/region code of the user at the time the
|
1361
|
-
# subscription was granted.
|
1362
|
-
# Corresponds to the JSON property `countryCode`
|
1363
|
-
# @return [String]
|
1364
|
-
attr_accessor :country_code
|
66
|
+
attr_accessor :consumption_state
|
1365
67
|
|
1366
68
|
# A developer-specified string that contains supplemental information about an
|
1367
69
|
# order.
|
@@ -1369,229 +71,53 @@ module Google
|
|
1369
71
|
# @return [String]
|
1370
72
|
attr_accessor :developer_payload
|
1371
73
|
|
1372
|
-
#
|
1373
|
-
# present for purchases made with 'Subscribe with Google'.
|
1374
|
-
# Corresponds to the JSON property `emailAddress`
|
1375
|
-
# @return [String]
|
1376
|
-
attr_accessor :email_address
|
1377
|
-
|
1378
|
-
# Time at which the subscription will expire, in milliseconds since the Epoch.
|
1379
|
-
# Corresponds to the JSON property `expiryTimeMillis`
|
1380
|
-
# @return [Fixnum]
|
1381
|
-
attr_accessor :expiry_time_millis
|
1382
|
-
|
1383
|
-
# The family name of the user when the subscription was purchased. Only present
|
1384
|
-
# for purchases made with 'Subscribe with Google'.
|
1385
|
-
# Corresponds to the JSON property `familyName`
|
1386
|
-
# @return [String]
|
1387
|
-
attr_accessor :family_name
|
1388
|
-
|
1389
|
-
# The given name of the user when the subscription was purchased. Only present
|
1390
|
-
# for purchases made with 'Subscribe with Google'.
|
1391
|
-
# Corresponds to the JSON property `givenName`
|
1392
|
-
# @return [String]
|
1393
|
-
attr_accessor :given_name
|
1394
|
-
|
1395
|
-
# This kind represents a subscriptionPurchase object in the androidpublisher
|
1396
|
-
# service.
|
74
|
+
# This kind represents an inappPurchase object in the androidpublisher service.
|
1397
75
|
# Corresponds to the JSON property `kind`
|
1398
76
|
# @return [String]
|
1399
77
|
attr_accessor :kind
|
1400
78
|
|
1401
|
-
# The
|
1402
|
-
# the following:
|
1403
|
-
# - Re-signup of a canceled but non-lapsed subscription
|
1404
|
-
# - Upgrade/downgrade from a previous subscription For example, suppose a user
|
1405
|
-
# originally signs up and you receive purchase token X, then the user cancels
|
1406
|
-
# and goes through the resignup flow (before their subscription lapses) and you
|
1407
|
-
# receive purchase token Y, and finally the user upgrades their subscription and
|
1408
|
-
# you receive purchase token Z. If you call this API with purchase token Z, this
|
1409
|
-
# field will be set to Y. If you call this API with purchase token Y, this field
|
1410
|
-
# will be set to X. If you call this API with purchase token X, this field will
|
1411
|
-
# not be set.
|
1412
|
-
# Corresponds to the JSON property `linkedPurchaseToken`
|
1413
|
-
# @return [String]
|
1414
|
-
attr_accessor :linked_purchase_token
|
1415
|
-
|
1416
|
-
# The order id of the latest recurring order associated with the purchase of the
|
1417
|
-
# subscription.
|
79
|
+
# The order id associated with the purchase of the inapp product.
|
1418
80
|
# Corresponds to the JSON property `orderId`
|
1419
81
|
# @return [String]
|
1420
82
|
attr_accessor :order_id
|
1421
83
|
|
1422
|
-
# The
|
1423
|
-
# -
|
1424
|
-
# -
|
1425
|
-
# -
|
1426
|
-
#
|
1427
|
-
# Corresponds to the JSON property `paymentState`
|
84
|
+
# The purchase state of the order. Possible values are:
|
85
|
+
# - Purchased
|
86
|
+
# - Canceled
|
87
|
+
# - Pending
|
88
|
+
# Corresponds to the JSON property `purchaseState`
|
1428
89
|
# @return [Fixnum]
|
1429
|
-
attr_accessor :
|
90
|
+
attr_accessor :purchase_state
|
1430
91
|
|
1431
|
-
#
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
# Corresponds to the JSON property `priceAmountMicros`
|
92
|
+
# The time the product was purchased, in milliseconds since the epoch (Jan 1,
|
93
|
+
# 1970).
|
94
|
+
# Corresponds to the JSON property `purchaseTimeMillis`
|
1435
95
|
# @return [Fixnum]
|
1436
|
-
attr_accessor :
|
1437
|
-
|
1438
|
-
# Contains the price change information for a subscription that can be used to
|
1439
|
-
# control the user journey for the price change in the app. This can be in the
|
1440
|
-
# form of seeking confirmation from the user or tailoring the experience for a
|
1441
|
-
# successful conversion.
|
1442
|
-
# Corresponds to the JSON property `priceChange`
|
1443
|
-
# @return [Google::Apis::AndroidpublisherV2::SubscriptionPriceChange]
|
1444
|
-
attr_accessor :price_change
|
1445
|
-
|
1446
|
-
# ISO 4217 currency code for the subscription price. For example, if the price
|
1447
|
-
# is specified in British pounds sterling, price_currency_code is "GBP".
|
1448
|
-
# Corresponds to the JSON property `priceCurrencyCode`
|
1449
|
-
# @return [String]
|
1450
|
-
attr_accessor :price_currency_code
|
1451
|
-
|
1452
|
-
# The Google profile id of the user when the subscription was purchased. Only
|
1453
|
-
# present for purchases made with 'Subscribe with Google'.
|
1454
|
-
# Corresponds to the JSON property `profileId`
|
1455
|
-
# @return [String]
|
1456
|
-
attr_accessor :profile_id
|
1457
|
-
|
1458
|
-
# The profile name of the user when the subscription was purchased. Only present
|
1459
|
-
# for purchases made with 'Subscribe with Google'.
|
1460
|
-
# Corresponds to the JSON property `profileName`
|
1461
|
-
# @return [String]
|
1462
|
-
attr_accessor :profile_name
|
96
|
+
attr_accessor :purchase_time_millis
|
1463
97
|
|
1464
|
-
# The type of purchase of the
|
98
|
+
# The type of purchase of the inapp product. This field is only set if this
|
1465
99
|
# purchase was not made using the standard in-app billing flow. Possible values
|
1466
100
|
# are:
|
1467
101
|
# - Test (i.e. purchased from a license testing account)
|
1468
102
|
# - Promo (i.e. purchased using a promo code)
|
103
|
+
# - Rewarded (i.e. from watching a video ad instead of paying)
|
1469
104
|
# Corresponds to the JSON property `purchaseType`
|
1470
105
|
# @return [Fixnum]
|
1471
106
|
attr_accessor :purchase_type
|
1472
107
|
|
1473
|
-
# Time at which the subscription was granted, in milliseconds since the Epoch.
|
1474
|
-
# Corresponds to the JSON property `startTimeMillis`
|
1475
|
-
# @return [Fixnum]
|
1476
|
-
attr_accessor :start_time_millis
|
1477
|
-
|
1478
|
-
# The time at which the subscription was canceled by the user, in milliseconds
|
1479
|
-
# since the epoch. Only present if cancelReason is 0.
|
1480
|
-
# Corresponds to the JSON property `userCancellationTimeMillis`
|
1481
|
-
# @return [Fixnum]
|
1482
|
-
attr_accessor :user_cancellation_time_millis
|
1483
|
-
|
1484
108
|
def initialize(**args)
|
1485
109
|
update!(**args)
|
1486
110
|
end
|
1487
111
|
|
1488
112
|
# Update properties of this object
|
1489
113
|
def update!(**args)
|
1490
|
-
@
|
1491
|
-
@cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
|
1492
|
-
@cancel_survey_result = args[:cancel_survey_result] if args.key?(:cancel_survey_result)
|
1493
|
-
@country_code = args[:country_code] if args.key?(:country_code)
|
114
|
+
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
1494
115
|
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
1495
|
-
@email_address = args[:email_address] if args.key?(:email_address)
|
1496
|
-
@expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
|
1497
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
1498
|
-
@given_name = args[:given_name] if args.key?(:given_name)
|
1499
116
|
@kind = args[:kind] if args.key?(:kind)
|
1500
|
-
@linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
|
1501
117
|
@order_id = args[:order_id] if args.key?(:order_id)
|
1502
|
-
@
|
1503
|
-
@
|
1504
|
-
@price_change = args[:price_change] if args.key?(:price_change)
|
1505
|
-
@price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
|
1506
|
-
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
1507
|
-
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
118
|
+
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
119
|
+
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
1508
120
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
1509
|
-
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
1510
|
-
@user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis)
|
1511
|
-
end
|
1512
|
-
end
|
1513
|
-
|
1514
|
-
#
|
1515
|
-
class DeferSubscriptionPurchasesRequest
|
1516
|
-
include Google::Apis::Core::Hashable
|
1517
|
-
|
1518
|
-
# A SubscriptionDeferralInfo contains the data needed to defer a subscription
|
1519
|
-
# purchase to a future expiry time.
|
1520
|
-
# Corresponds to the JSON property `deferralInfo`
|
1521
|
-
# @return [Google::Apis::AndroidpublisherV2::SubscriptionDeferralInfo]
|
1522
|
-
attr_accessor :deferral_info
|
1523
|
-
|
1524
|
-
def initialize(**args)
|
1525
|
-
update!(**args)
|
1526
|
-
end
|
1527
|
-
|
1528
|
-
# Update properties of this object
|
1529
|
-
def update!(**args)
|
1530
|
-
@deferral_info = args[:deferral_info] if args.key?(:deferral_info)
|
1531
|
-
end
|
1532
|
-
end
|
1533
|
-
|
1534
|
-
#
|
1535
|
-
class DeferSubscriptionPurchasesResponse
|
1536
|
-
include Google::Apis::Core::Hashable
|
1537
|
-
|
1538
|
-
# The new expiry time for the subscription in milliseconds since the Epoch.
|
1539
|
-
# Corresponds to the JSON property `newExpiryTimeMillis`
|
1540
|
-
# @return [Fixnum]
|
1541
|
-
attr_accessor :new_expiry_time_millis
|
1542
|
-
|
1543
|
-
def initialize(**args)
|
1544
|
-
update!(**args)
|
1545
|
-
end
|
1546
|
-
|
1547
|
-
# Update properties of this object
|
1548
|
-
def update!(**args)
|
1549
|
-
@new_expiry_time_millis = args[:new_expiry_time_millis] if args.key?(:new_expiry_time_millis)
|
1550
|
-
end
|
1551
|
-
end
|
1552
|
-
|
1553
|
-
#
|
1554
|
-
class Testers
|
1555
|
-
include Google::Apis::Core::Hashable
|
1556
|
-
|
1557
|
-
# A list of all Google Groups, as email addresses, that define testers for this
|
1558
|
-
# track.
|
1559
|
-
# Corresponds to the JSON property `googleGroups`
|
1560
|
-
# @return [Array<String>]
|
1561
|
-
attr_accessor :google_groups
|
1562
|
-
|
1563
|
-
def initialize(**args)
|
1564
|
-
update!(**args)
|
1565
|
-
end
|
1566
|
-
|
1567
|
-
# Update properties of this object
|
1568
|
-
def update!(**args)
|
1569
|
-
@google_groups = args[:google_groups] if args.key?(:google_groups)
|
1570
|
-
end
|
1571
|
-
end
|
1572
|
-
|
1573
|
-
#
|
1574
|
-
class Timestamp
|
1575
|
-
include Google::Apis::Core::Hashable
|
1576
|
-
|
1577
|
-
#
|
1578
|
-
# Corresponds to the JSON property `nanos`
|
1579
|
-
# @return [Fixnum]
|
1580
|
-
attr_accessor :nanos
|
1581
|
-
|
1582
|
-
#
|
1583
|
-
# Corresponds to the JSON property `seconds`
|
1584
|
-
# @return [Fixnum]
|
1585
|
-
attr_accessor :seconds
|
1586
|
-
|
1587
|
-
def initialize(**args)
|
1588
|
-
update!(**args)
|
1589
|
-
end
|
1590
|
-
|
1591
|
-
# Update properties of this object
|
1592
|
-
def update!(**args)
|
1593
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
1594
|
-
@seconds = args[:seconds] if args.key?(:seconds)
|
1595
121
|
end
|
1596
122
|
end
|
1597
123
|
|
@@ -1620,157 +146,6 @@ module Google
|
|
1620
146
|
end
|
1621
147
|
end
|
1622
148
|
|
1623
|
-
#
|
1624
|
-
class Track
|
1625
|
-
include Google::Apis::Core::Hashable
|
1626
|
-
|
1627
|
-
# Identifier for this track.
|
1628
|
-
# Corresponds to the JSON property `track`
|
1629
|
-
# @return [String]
|
1630
|
-
attr_accessor :track
|
1631
|
-
|
1632
|
-
#
|
1633
|
-
# Corresponds to the JSON property `userFraction`
|
1634
|
-
# @return [Float]
|
1635
|
-
attr_accessor :user_fraction
|
1636
|
-
|
1637
|
-
# Version codes to make active on this track. Note that this list should contain
|
1638
|
-
# all versions you wish to be active, including those you wish to retain from
|
1639
|
-
# previous releases.
|
1640
|
-
# Corresponds to the JSON property `versionCodes`
|
1641
|
-
# @return [Array<Fixnum>]
|
1642
|
-
attr_accessor :version_codes
|
1643
|
-
|
1644
|
-
def initialize(**args)
|
1645
|
-
update!(**args)
|
1646
|
-
end
|
1647
|
-
|
1648
|
-
# Update properties of this object
|
1649
|
-
def update!(**args)
|
1650
|
-
@track = args[:track] if args.key?(:track)
|
1651
|
-
@user_fraction = args[:user_fraction] if args.key?(:user_fraction)
|
1652
|
-
@version_codes = args[:version_codes] if args.key?(:version_codes)
|
1653
|
-
end
|
1654
|
-
end
|
1655
|
-
|
1656
|
-
#
|
1657
|
-
class ListTracksResponse
|
1658
|
-
include Google::Apis::Core::Hashable
|
1659
|
-
|
1660
|
-
# Identifies what kind of resource this is. Value: the fixed string "
|
1661
|
-
# androidpublisher#tracksListResponse".
|
1662
|
-
# Corresponds to the JSON property `kind`
|
1663
|
-
# @return [String]
|
1664
|
-
attr_accessor :kind
|
1665
|
-
|
1666
|
-
#
|
1667
|
-
# Corresponds to the JSON property `tracks`
|
1668
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::Track>]
|
1669
|
-
attr_accessor :tracks
|
1670
|
-
|
1671
|
-
def initialize(**args)
|
1672
|
-
update!(**args)
|
1673
|
-
end
|
1674
|
-
|
1675
|
-
# Update properties of this object
|
1676
|
-
def update!(**args)
|
1677
|
-
@kind = args[:kind] if args.key?(:kind)
|
1678
|
-
@tracks = args[:tracks] if args.key?(:tracks)
|
1679
|
-
end
|
1680
|
-
end
|
1681
|
-
|
1682
|
-
#
|
1683
|
-
class UserComment
|
1684
|
-
include Google::Apis::Core::Hashable
|
1685
|
-
|
1686
|
-
# Integer Android SDK version of the user's device at the time the review was
|
1687
|
-
# written, e.g. 23 is Marshmallow. May be absent.
|
1688
|
-
# Corresponds to the JSON property `androidOsVersion`
|
1689
|
-
# @return [Fixnum]
|
1690
|
-
attr_accessor :android_os_version
|
1691
|
-
|
1692
|
-
# Integer version code of the app as installed at the time the review was
|
1693
|
-
# written. May be absent.
|
1694
|
-
# Corresponds to the JSON property `appVersionCode`
|
1695
|
-
# @return [Fixnum]
|
1696
|
-
attr_accessor :app_version_code
|
1697
|
-
|
1698
|
-
# String version name of the app as installed at the time the review was written.
|
1699
|
-
# May be absent.
|
1700
|
-
# Corresponds to the JSON property `appVersionName`
|
1701
|
-
# @return [String]
|
1702
|
-
attr_accessor :app_version_name
|
1703
|
-
|
1704
|
-
# Codename for the reviewer's device, e.g. klte, flounder. May be absent.
|
1705
|
-
# Corresponds to the JSON property `device`
|
1706
|
-
# @return [String]
|
1707
|
-
attr_accessor :device
|
1708
|
-
|
1709
|
-
# Some information about the characteristics of the user's device
|
1710
|
-
# Corresponds to the JSON property `deviceMetadata`
|
1711
|
-
# @return [Google::Apis::AndroidpublisherV2::DeviceMetadata]
|
1712
|
-
attr_accessor :device_metadata
|
1713
|
-
|
1714
|
-
# The last time at which this comment was updated.
|
1715
|
-
# Corresponds to the JSON property `lastModified`
|
1716
|
-
# @return [Google::Apis::AndroidpublisherV2::Timestamp]
|
1717
|
-
attr_accessor :last_modified
|
1718
|
-
|
1719
|
-
# Untranslated text of the review, in the case where the review has been
|
1720
|
-
# translated. If the review has not been translated this is left blank.
|
1721
|
-
# Corresponds to the JSON property `originalText`
|
1722
|
-
# @return [String]
|
1723
|
-
attr_accessor :original_text
|
1724
|
-
|
1725
|
-
# Language code for the reviewer. This is taken from the device settings so is
|
1726
|
-
# not guaranteed to match the language the review is written in. May be absent.
|
1727
|
-
# Corresponds to the JSON property `reviewerLanguage`
|
1728
|
-
# @return [String]
|
1729
|
-
attr_accessor :reviewer_language
|
1730
|
-
|
1731
|
-
# The star rating associated with the review, from 1 to 5.
|
1732
|
-
# Corresponds to the JSON property `starRating`
|
1733
|
-
# @return [Fixnum]
|
1734
|
-
attr_accessor :star_rating
|
1735
|
-
|
1736
|
-
# The content of the comment, i.e. review body. In some cases users have been
|
1737
|
-
# able to write a review with separate title and body; in those cases the title
|
1738
|
-
# and body are concatenated and separated by a tab character.
|
1739
|
-
# Corresponds to the JSON property `text`
|
1740
|
-
# @return [String]
|
1741
|
-
attr_accessor :text
|
1742
|
-
|
1743
|
-
# Number of users who have given this review a thumbs down
|
1744
|
-
# Corresponds to the JSON property `thumbsDownCount`
|
1745
|
-
# @return [Fixnum]
|
1746
|
-
attr_accessor :thumbs_down_count
|
1747
|
-
|
1748
|
-
# Number of users who have given this review a thumbs up
|
1749
|
-
# Corresponds to the JSON property `thumbsUpCount`
|
1750
|
-
# @return [Fixnum]
|
1751
|
-
attr_accessor :thumbs_up_count
|
1752
|
-
|
1753
|
-
def initialize(**args)
|
1754
|
-
update!(**args)
|
1755
|
-
end
|
1756
|
-
|
1757
|
-
# Update properties of this object
|
1758
|
-
def update!(**args)
|
1759
|
-
@android_os_version = args[:android_os_version] if args.key?(:android_os_version)
|
1760
|
-
@app_version_code = args[:app_version_code] if args.key?(:app_version_code)
|
1761
|
-
@app_version_name = args[:app_version_name] if args.key?(:app_version_name)
|
1762
|
-
@device = args[:device] if args.key?(:device)
|
1763
|
-
@device_metadata = args[:device_metadata] if args.key?(:device_metadata)
|
1764
|
-
@last_modified = args[:last_modified] if args.key?(:last_modified)
|
1765
|
-
@original_text = args[:original_text] if args.key?(:original_text)
|
1766
|
-
@reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language)
|
1767
|
-
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
1768
|
-
@text = args[:text] if args.key?(:text)
|
1769
|
-
@thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count)
|
1770
|
-
@thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count)
|
1771
|
-
end
|
1772
|
-
end
|
1773
|
-
|
1774
149
|
# A VoidedPurchase resource indicates a purchase that was either canceled/
|
1775
150
|
# refunded/charged-back.
|
1776
151
|
class VoidedPurchase
|