google-api-client 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d23a3b4c769e4f464d8355c86cfada6d65cca3414910a8ab79cfe10e08e0fa
|
4
|
+
data.tar.gz: 8b8cc80125f73f97b77da501f8add53f297c2e93a22369226751ae5381dbcf7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef9b1a44a3219dc10fa977b257bc597b75b6d3a8621b9dacdca22d3879784f8d3de0a3af9fd6279fcd9a714215420fafc17ba73a34518c580b1de3e9c42ee578
|
7
|
+
data.tar.gz: 33604cd897a3e05cfcd19d99f139368b00725e7d0078c6a6faa8a19b611ef8d76d7f0bbf6c6c9524c49d9c1454de4ba285339bc4459cc201f2724ea434ecf5b5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,127 @@
|
|
1
|
+
# 0.39.0
|
2
|
+
* Breaking changes:
|
3
|
+
* Deleted `commentanalyzer_v1alpha1`
|
4
|
+
* Backwards compatible changes:
|
5
|
+
* Added `apigee_v1`
|
6
|
+
* Added `firebaseml_v1beta2`
|
7
|
+
* Updated `adexchangebuyer2_v2beta1`
|
8
|
+
* Updated `androidenterprise_v1`
|
9
|
+
* Updated `androidpublisher_v1`
|
10
|
+
* Updated `androidpublisher_v1_1`
|
11
|
+
* Updated `androidpublisher_v2`
|
12
|
+
* Updated `androidpublisher_v3`
|
13
|
+
* Updated `bigquery_v2`
|
14
|
+
* Updated `bigqueryconnection_v1beta1`
|
15
|
+
* Updated `bigqueryreservation_v1`
|
16
|
+
* Updated `bigqueryreservation_v1beta1`
|
17
|
+
* Updated `binaryauthorization_v1`
|
18
|
+
* Updated `binaryauthorization_v1beta1`
|
19
|
+
* Updated `calendar_v3`
|
20
|
+
* Updated `classroom_v1`
|
21
|
+
* Updated `cloudasset_v1p1beta1`
|
22
|
+
* Updated `cloudbilling_v1`
|
23
|
+
* Updated `cloudbuild_v1`
|
24
|
+
* Updated `clouddebugger_v2`
|
25
|
+
* Updated `cloudidentity_v1beta1`
|
26
|
+
* Updated `cloudiot_v1`
|
27
|
+
* Updated `cloudresourcemanager_v1`
|
28
|
+
* Updated `cloudresourcemanager_v1beta1`
|
29
|
+
* Updated `cloudresourcemanager_v2`
|
30
|
+
* Updated `cloudresourcemanager_v2beta1`
|
31
|
+
* Updated `cloudscheduler_v1`
|
32
|
+
* Updated `cloudscheduler_v1beta1`
|
33
|
+
* Updated `cloudsearch_v1`
|
34
|
+
* Updated `cloudshell_v1`
|
35
|
+
* Updated `cloudshell_v1alpha1`
|
36
|
+
* Updated `cloudtasks_v2`
|
37
|
+
* Updated `cloudtasks_v2beta2`
|
38
|
+
* Updated `cloudtasks_v2beta3`
|
39
|
+
* Updated `cloudtrace_v2`
|
40
|
+
* Updated `composer_v1beta1`
|
41
|
+
* Updated `compute_alpha`
|
42
|
+
* Updated `compute_beta`
|
43
|
+
* Updated `compute_v1`
|
44
|
+
* Updated `container_v1`
|
45
|
+
* Updated `container_v1beta1`
|
46
|
+
* Updated `containeranalysis_v1alpha1`
|
47
|
+
* Updated `containeranalysis_v1beta1`
|
48
|
+
* Updated `content_v2`
|
49
|
+
* Updated `content_v2_1`
|
50
|
+
* Updated `customsearch_v1`
|
51
|
+
* Updated `datacatalog_v1beta1`
|
52
|
+
* Updated `dataproc_v1`
|
53
|
+
* Updated `dataproc_v1beta2`
|
54
|
+
* Updated `dialogflow_v2`
|
55
|
+
* Updated `dialogflow_v2beta1`
|
56
|
+
* Updated `displayvideo_v1`
|
57
|
+
* Updated `dlp_v2`
|
58
|
+
* Updated `drive_v2`
|
59
|
+
* Updated `drive_v3`
|
60
|
+
* Updated `driveactivity_v2`
|
61
|
+
* Updated `file_v1`
|
62
|
+
* Updated `file_v1beta1`
|
63
|
+
* Updated `firebase_v1beta1`
|
64
|
+
* Updated `firebasehosting_v1beta1`
|
65
|
+
* Updated `games_configuration_v1configuration`
|
66
|
+
* Updated `games_management_v1management`
|
67
|
+
* Updated `games_v1`
|
68
|
+
* Updated `gameservices_v1beta`
|
69
|
+
* Updated `healthcare_v1`
|
70
|
+
* Updated `healthcare_v1beta1`
|
71
|
+
* Updated `homegraph_v1`
|
72
|
+
* Updated `iamcredentials_v1`
|
73
|
+
* Updated `managedidentities_v1`
|
74
|
+
* Updated `managedidentities_v1alpha1`
|
75
|
+
* Updated `managedidentities_v1beta1`
|
76
|
+
* Updated `memcache_v1beta2`
|
77
|
+
* Updated `ml_v1`
|
78
|
+
* Updated `monitoring_v3`
|
79
|
+
* Updated `people_v1`
|
80
|
+
* Updated `policytroubleshooter_v1`
|
81
|
+
* Updated `policytroubleshooter_v1beta`
|
82
|
+
* Updated `prod_tt_sasportal_v1alpha1`
|
83
|
+
* Updated `remotebuildexecution_v1`
|
84
|
+
* Updated `remotebuildexecution_v1alpha`
|
85
|
+
* Updated `remotebuildexecution_v2`
|
86
|
+
* Updated `run_v1`
|
87
|
+
* Updated `run_v1alpha1`
|
88
|
+
* Updated `runtimeconfig_v1beta1`
|
89
|
+
* Updated `sasportal_v1alpha1`
|
90
|
+
* Updated `script_v1`
|
91
|
+
* Updated `secretmanager_v1`
|
92
|
+
* Updated `secretmanager_v1beta1`
|
93
|
+
* Updated `securitycenter_v1`
|
94
|
+
* Updated `securitycenter_v1beta1`
|
95
|
+
* Updated `securitycenter_v1p1alpha1`
|
96
|
+
* Updated `securitycenter_v1p1beta1`
|
97
|
+
* Updated `serviceconsumermanagement_v1`
|
98
|
+
* Updated `serviceconsumermanagement_v1beta1`
|
99
|
+
* Updated `servicecontrol_v1`
|
100
|
+
* Updated `servicedirectory_v1beta1`
|
101
|
+
* Updated `servicemanagement_v1`
|
102
|
+
* Updated `servicenetworking_v1`
|
103
|
+
* Updated `servicenetworking_v1beta`
|
104
|
+
* Updated `serviceusage_v1`
|
105
|
+
* Updated `serviceusage_v1beta1`
|
106
|
+
* Updated `sheets_v4`
|
107
|
+
* Updated `slides_v1`
|
108
|
+
* Updated `sourcerepo_v1`
|
109
|
+
* Updated `speech_v1`
|
110
|
+
* Updated `speech_v1p1beta1`
|
111
|
+
* Updated `storage_v1`
|
112
|
+
* Updated `tagmanager_v1`
|
113
|
+
* Updated `tagmanager_v2`
|
114
|
+
* Updated `testing_v1`
|
115
|
+
* Updated `toolresults_v1beta3`
|
116
|
+
* Updated `vault_v1`
|
117
|
+
* Updated `videointelligence_v1`
|
118
|
+
* Updated `videointelligence_v1beta2`
|
119
|
+
* Updated `videointelligence_v1p1beta1`
|
120
|
+
* Updated `videointelligence_v1p2beta1`
|
121
|
+
* Updated `videointelligence_v1p3beta1`
|
122
|
+
* Updated `youtube_partner_v1`
|
123
|
+
* Updated `youtube_v3`
|
124
|
+
|
1
125
|
# 0.38.0
|
2
126
|
* Breaking changes:
|
3
127
|
* Deleted `oauth2_v1`
|
data/api_list_config.yaml
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
exclude:
|
2
|
-
- apigee.v1
|
1
|
+
exclude: []
|
data/bin/generate-api
CHANGED
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
28
28
|
module Adexchangebuyer2V2beta1
|
29
29
|
VERSION = 'V2beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200506'
|
31
31
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -273,6 +273,12 @@ module Google
|
|
273
273
|
# @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
|
274
274
|
attr_accessor :measurable_impressions
|
275
275
|
|
276
|
+
# A metric value, with an expected value and a variance; represents a count
|
277
|
+
# that may be either exact or estimated (i.e. when sampled).
|
278
|
+
# Corresponds to the JSON property `reachedQueries`
|
279
|
+
# @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
|
280
|
+
attr_accessor :reached_queries
|
281
|
+
|
276
282
|
# A response may include multiple rows, breaking down along various dimensions.
|
277
283
|
# Encapsulates the values of all dimensions for a given row.
|
278
284
|
# Corresponds to the JSON property `rowDimensions`
|
@@ -296,6 +302,7 @@ module Google
|
|
296
302
|
@billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions)
|
297
303
|
@impressions_won = args[:impressions_won] if args.key?(:impressions_won)
|
298
304
|
@measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions)
|
305
|
+
@reached_queries = args[:reached_queries] if args.key?(:reached_queries)
|
299
306
|
@row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
|
300
307
|
@viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
|
301
308
|
end
|
@@ -3456,7 +3463,8 @@ module Google
|
|
3456
3463
|
|
3457
3464
|
# Note: this resource requires whitelisting for access. Please contact your
|
3458
3465
|
# account manager for access to Marketplace resources.
|
3459
|
-
# Represents a publisher profile
|
3466
|
+
# Represents a publisher profile
|
3467
|
+
# (https://support.google.com/admanager/answer/6035806?hl=en) in Marketplace.
|
3460
3468
|
# All fields are read only. All string fields are free-form text entered by the
|
3461
3469
|
# publisher unless noted otherwise.
|
3462
3470
|
class PublisherProfile
|
@@ -3498,6 +3506,18 @@ module Google
|
|
3498
3506
|
# @return [String]
|
3499
3507
|
attr_accessor :google_plus_url
|
3500
3508
|
|
3509
|
+
# Indicates if this profile is the parent profile of the seller. A parent
|
3510
|
+
# profile represents all the inventory from the seller, as opposed to child
|
3511
|
+
# profile that is created to brand a portion of inventory. One seller should
|
3512
|
+
# have only one parent publisher profile, and can have multiple child
|
3513
|
+
# profiles. Publisher profiles for the same seller will have same value of
|
3514
|
+
# field google.ads.adexchange.buyer.v2beta1.PublisherProfile.seller.
|
3515
|
+
# See https://support.google.com/admanager/answer/6035806?hl=en for details.
|
3516
|
+
# Corresponds to the JSON property `isParent`
|
3517
|
+
# @return [Boolean]
|
3518
|
+
attr_accessor :is_parent
|
3519
|
+
alias_method :is_parent?, :is_parent
|
3520
|
+
|
3501
3521
|
# A Google public URL to the logo for this publisher profile. The logo is
|
3502
3522
|
# stored as a PNG, JPG, or GIF image.
|
3503
3523
|
# Corresponds to the JSON property `logoUrl`
|
@@ -3560,6 +3580,7 @@ module Google
|
|
3560
3580
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3561
3581
|
@domains = args[:domains] if args.key?(:domains)
|
3562
3582
|
@google_plus_url = args[:google_plus_url] if args.key?(:google_plus_url)
|
3583
|
+
@is_parent = args[:is_parent] if args.key?(:is_parent)
|
3563
3584
|
@logo_url = args[:logo_url] if args.key?(:logo_url)
|
3564
3585
|
@media_kit_url = args[:media_kit_url] if args.key?(:media_kit_url)
|
3565
3586
|
@overview = args[:overview] if args.key?(:overview)
|
@@ -729,6 +729,8 @@ module Google
|
|
729
729
|
|
730
730
|
property :measurable_impressions, as: 'measurableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation
|
731
731
|
|
732
|
+
property :reached_queries, as: 'reachedQueries', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation
|
733
|
+
|
732
734
|
property :row_dimensions, as: 'rowDimensions', class: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions, decorator: Google::Apis::Adexchangebuyer2V2beta1::RowDimensions::Representation
|
733
735
|
|
734
736
|
property :viewable_impressions, as: 'viewableImpressions', class: Google::Apis::Adexchangebuyer2V2beta1::MetricValue, decorator: Google::Apis::Adexchangebuyer2V2beta1::MetricValue::Representation
|
@@ -1585,6 +1587,7 @@ module Google
|
|
1585
1587
|
property :display_name, as: 'displayName'
|
1586
1588
|
collection :domains, as: 'domains'
|
1587
1589
|
property :google_plus_url, as: 'googlePlusUrl'
|
1590
|
+
property :is_parent, as: 'isParent'
|
1588
1591
|
property :logo_url, as: 'logoUrl'
|
1589
1592
|
property :media_kit_url, as: 'mediaKitUrl'
|
1590
1593
|
property :overview, as: 'overview'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200427'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -1971,7 +1971,8 @@ module Google
|
|
1971
1971
|
# @return [String]
|
1972
1972
|
attr_accessor :product_availability_policy
|
1973
1973
|
|
1974
|
-
# The list of product policies.
|
1974
|
+
# The list of product policies. The productAvailabilityPolicy needs to be set to
|
1975
|
+
# WHITELIST or ALL for the product policies to be applied.
|
1975
1976
|
# Corresponds to the JSON property `productPolicy`
|
1976
1977
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPolicy>]
|
1977
1978
|
attr_accessor :product_policy
|
@@ -25,10 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
-
|
30
|
-
# View and manage your Google Play Developer account
|
31
|
-
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
28
|
+
REVISION = '20200428'
|
32
29
|
end
|
33
30
|
end
|
34
31
|
end
|
@@ -21,47 +21,6 @@ require 'google/apis/errors'
|
|
21
21
|
module Google
|
22
22
|
module Apis
|
23
23
|
module AndroidpublisherV1
|
24
|
-
|
25
|
-
# A SubscriptionPurchase resource indicates the status of a user's subscription
|
26
|
-
# purchase.
|
27
|
-
class SubscriptionPurchase
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# Whether the subscription will automatically be renewed when it reaches its
|
31
|
-
# current expiry time.
|
32
|
-
# Corresponds to the JSON property `autoRenewing`
|
33
|
-
# @return [Boolean]
|
34
|
-
attr_accessor :auto_renewing
|
35
|
-
alias_method :auto_renewing?, :auto_renewing
|
36
|
-
|
37
|
-
# Time at which the subscription was granted, in milliseconds since the Epoch.
|
38
|
-
# Corresponds to the JSON property `initiationTimestampMsec`
|
39
|
-
# @return [Fixnum]
|
40
|
-
attr_accessor :initiation_timestamp_msec
|
41
|
-
|
42
|
-
# This kind represents a subscriptionPurchase object in the androidpublisher
|
43
|
-
# service.
|
44
|
-
# Corresponds to the JSON property `kind`
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :kind
|
47
|
-
|
48
|
-
# Time at which the subscription will expire, in milliseconds since the Epoch.
|
49
|
-
# Corresponds to the JSON property `validUntilTimestampMsec`
|
50
|
-
# @return [Fixnum]
|
51
|
-
attr_accessor :valid_until_timestamp_msec
|
52
|
-
|
53
|
-
def initialize(**args)
|
54
|
-
update!(**args)
|
55
|
-
end
|
56
|
-
|
57
|
-
# Update properties of this object
|
58
|
-
def update!(**args)
|
59
|
-
@auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
|
60
|
-
@initiation_timestamp_msec = args[:initiation_timestamp_msec] if args.key?(:initiation_timestamp_msec)
|
61
|
-
@kind = args[:kind] if args.key?(:kind)
|
62
|
-
@valid_until_timestamp_msec = args[:valid_until_timestamp_msec] if args.key?(:valid_until_timestamp_msec)
|
63
|
-
end
|
64
|
-
end
|
65
24
|
end
|
66
25
|
end
|
67
26
|
end
|
@@ -21,22 +21,6 @@ require 'google/apis/errors'
|
|
21
21
|
module Google
|
22
22
|
module Apis
|
23
23
|
module AndroidpublisherV1
|
24
|
-
|
25
|
-
class SubscriptionPurchase
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class SubscriptionPurchase
|
32
|
-
# @private
|
33
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
34
|
-
property :auto_renewing, as: 'autoRenewing'
|
35
|
-
property :initiation_timestamp_msec, :numeric_string => true, as: 'initiationTimestampMsec'
|
36
|
-
property :kind, as: 'kind'
|
37
|
-
property :valid_until_timestamp_msec, :numeric_string => true, as: 'validUntilTimestampMsec'
|
38
|
-
end
|
39
|
-
end
|
40
24
|
end
|
41
25
|
end
|
42
26
|
end
|
@@ -47,89 +47,9 @@ module Google
|
|
47
47
|
attr_accessor :user_ip
|
48
48
|
|
49
49
|
def initialize
|
50
|
-
super('https://www.googleapis.com/', '
|
50
|
+
super('https://www.googleapis.com/', '')
|
51
51
|
@batch_path = 'batch/androidpublisher/v1'
|
52
52
|
end
|
53
|
-
|
54
|
-
# Cancels a user's subscription purchase. The subscription remains valid until
|
55
|
-
# its expiration time.
|
56
|
-
# @param [String] package_name
|
57
|
-
# The package name of the application for which this subscription was purchased (
|
58
|
-
# for example, 'com.some.thing').
|
59
|
-
# @param [String] subscription_id
|
60
|
-
# The purchased subscription ID (for example, 'monthly001').
|
61
|
-
# @param [String] token
|
62
|
-
# The token provided to the user's device when the subscription was purchased.
|
63
|
-
# @param [String] fields
|
64
|
-
# Selector specifying which fields to include in a partial response.
|
65
|
-
# @param [String] quota_user
|
66
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
67
|
-
# characters.
|
68
|
-
# @param [String] user_ip
|
69
|
-
# Deprecated. Please use quotaUser instead.
|
70
|
-
# @param [Google::Apis::RequestOptions] options
|
71
|
-
# Request-specific options
|
72
|
-
#
|
73
|
-
# @yield [result, err] Result & error if block supplied
|
74
|
-
# @yieldparam result [NilClass] No result returned for this method
|
75
|
-
# @yieldparam err [StandardError] error object if request failed
|
76
|
-
#
|
77
|
-
# @return [void]
|
78
|
-
#
|
79
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
-
def cancel_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
83
|
-
command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
|
84
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
85
|
-
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
86
|
-
command.params['token'] = token unless token.nil?
|
87
|
-
command.query['fields'] = fields unless fields.nil?
|
88
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
89
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
90
|
-
execute_or_queue_command(command, &block)
|
91
|
-
end
|
92
|
-
|
93
|
-
# Checks whether a user's subscription purchase is valid and returns its expiry
|
94
|
-
# time.
|
95
|
-
# @param [String] package_name
|
96
|
-
# The package name of the application for which this subscription was purchased (
|
97
|
-
# for example, 'com.some.thing').
|
98
|
-
# @param [String] subscription_id
|
99
|
-
# The purchased subscription ID (for example, 'monthly001').
|
100
|
-
# @param [String] token
|
101
|
-
# The token provided to the user's device when the subscription was purchased.
|
102
|
-
# @param [String] fields
|
103
|
-
# Selector specifying which fields to include in a partial response.
|
104
|
-
# @param [String] quota_user
|
105
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
106
|
-
# characters.
|
107
|
-
# @param [String] user_ip
|
108
|
-
# Deprecated. Please use quotaUser instead.
|
109
|
-
# @param [Google::Apis::RequestOptions] options
|
110
|
-
# Request-specific options
|
111
|
-
#
|
112
|
-
# @yield [result, err] Result & error if block supplied
|
113
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV1::SubscriptionPurchase] parsed result object
|
114
|
-
# @yieldparam err [StandardError] error object if request failed
|
115
|
-
#
|
116
|
-
# @return [Google::Apis::AndroidpublisherV1::SubscriptionPurchase]
|
117
|
-
#
|
118
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
119
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
|
-
def get_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
122
|
-
command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
|
123
|
-
command.response_representation = Google::Apis::AndroidpublisherV1::SubscriptionPurchase::Representation
|
124
|
-
command.response_class = Google::Apis::AndroidpublisherV1::SubscriptionPurchase
|
125
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
126
|
-
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
127
|
-
command.params['token'] = token unless token.nil?
|
128
|
-
command.query['fields'] = fields unless fields.nil?
|
129
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
130
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
131
|
-
execute_or_queue_command(command, &block)
|
132
|
-
end
|
133
53
|
|
134
54
|
protected
|
135
55
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV1_1
|
27
27
|
VERSION = 'V1_1'
|
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'
|
@@ -89,47 +89,6 @@ module Google
|
|
89
89
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
90
90
|
end
|
91
91
|
end
|
92
|
-
|
93
|
-
# A SubscriptionPurchase resource indicates the status of a user's subscription
|
94
|
-
# purchase.
|
95
|
-
class SubscriptionPurchase
|
96
|
-
include Google::Apis::Core::Hashable
|
97
|
-
|
98
|
-
# Whether the subscription will automatically be renewed when it reaches its
|
99
|
-
# current expiry time.
|
100
|
-
# Corresponds to the JSON property `autoRenewing`
|
101
|
-
# @return [Boolean]
|
102
|
-
attr_accessor :auto_renewing
|
103
|
-
alias_method :auto_renewing?, :auto_renewing
|
104
|
-
|
105
|
-
# Time at which the subscription was granted, in milliseconds since the Epoch.
|
106
|
-
# Corresponds to the JSON property `initiationTimestampMsec`
|
107
|
-
# @return [Fixnum]
|
108
|
-
attr_accessor :initiation_timestamp_msec
|
109
|
-
|
110
|
-
# This kind represents a subscriptionPurchase object in the androidpublisher
|
111
|
-
# service.
|
112
|
-
# Corresponds to the JSON property `kind`
|
113
|
-
# @return [String]
|
114
|
-
attr_accessor :kind
|
115
|
-
|
116
|
-
# Time at which the subscription will expire, in milliseconds since the Epoch.
|
117
|
-
# Corresponds to the JSON property `validUntilTimestampMsec`
|
118
|
-
# @return [Fixnum]
|
119
|
-
attr_accessor :valid_until_timestamp_msec
|
120
|
-
|
121
|
-
def initialize(**args)
|
122
|
-
update!(**args)
|
123
|
-
end
|
124
|
-
|
125
|
-
# Update properties of this object
|
126
|
-
def update!(**args)
|
127
|
-
@auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
|
128
|
-
@initiation_timestamp_msec = args[:initiation_timestamp_msec] if args.key?(:initiation_timestamp_msec)
|
129
|
-
@kind = args[:kind] if args.key?(:kind)
|
130
|
-
@valid_until_timestamp_msec = args[:valid_until_timestamp_msec] if args.key?(:valid_until_timestamp_msec)
|
131
|
-
end
|
132
|
-
end
|
133
92
|
end
|
134
93
|
end
|
135
94
|
end
|