google-api-client 0.40.1 → 0.42.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 +280 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
- data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1492 -112
- data/generated/google/apis/apigee_v1/representations.rb +560 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -13
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +4 -3
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +725 -107
- data/generated/google/apis/compute_alpha/representations.rb +206 -0
- data/generated/google/apis/compute_alpha/service.rb +888 -139
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +439 -105
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +701 -71
- data/generated/google/apis/compute_v1/representations.rb +200 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +142 -24
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -1
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +265 -7
- data/generated/google/apis/content_v2_1/representations.rb +108 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- 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 +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +49 -2
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +92 -81
- data/generated/google/apis/iam_v1/service.rb +167 -148
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -6
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +78 -21
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +122 -6
- data/generated/google/apis/people_v1/representations.rb +51 -0
- data/generated/google/apis/people_v1/service.rb +339 -69
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +77 -37
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -9
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +592 -0
- data/generated/google/apis/youtube_v3/representations.rb +308 -0
- data/generated/google/apis/youtube_v3/service.rb +291 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -19
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -107
@@ -1,223 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module AndroidpublisherV2
|
24
|
-
|
25
|
-
#
|
26
|
-
class PageInfo
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `resultPerPage`
|
31
|
-
# @return [Fixnum]
|
32
|
-
attr_accessor :result_per_page
|
33
|
-
|
34
|
-
#
|
35
|
-
# Corresponds to the JSON property `startIndex`
|
36
|
-
# @return [Fixnum]
|
37
|
-
attr_accessor :start_index
|
38
|
-
|
39
|
-
#
|
40
|
-
# Corresponds to the JSON property `totalResults`
|
41
|
-
# @return [Fixnum]
|
42
|
-
attr_accessor :total_results
|
43
|
-
|
44
|
-
def initialize(**args)
|
45
|
-
update!(**args)
|
46
|
-
end
|
47
|
-
|
48
|
-
# Update properties of this object
|
49
|
-
def update!(**args)
|
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)
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
# A ProductPurchase resource indicates the status of a user's inapp product
|
57
|
-
# purchase.
|
58
|
-
class ProductPurchase
|
59
|
-
include Google::Apis::Core::Hashable
|
60
|
-
|
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`
|
65
|
-
# @return [Fixnum]
|
66
|
-
attr_accessor :consumption_state
|
67
|
-
|
68
|
-
# A developer-specified string that contains supplemental information about an
|
69
|
-
# order.
|
70
|
-
# Corresponds to the JSON property `developerPayload`
|
71
|
-
# @return [String]
|
72
|
-
attr_accessor :developer_payload
|
73
|
-
|
74
|
-
# This kind represents an inappPurchase object in the androidpublisher service.
|
75
|
-
# Corresponds to the JSON property `kind`
|
76
|
-
# @return [String]
|
77
|
-
attr_accessor :kind
|
78
|
-
|
79
|
-
# The order id associated with the purchase of the inapp product.
|
80
|
-
# Corresponds to the JSON property `orderId`
|
81
|
-
# @return [String]
|
82
|
-
attr_accessor :order_id
|
83
|
-
|
84
|
-
# The purchase state of the order. Possible values are:
|
85
|
-
# - Purchased
|
86
|
-
# - Canceled
|
87
|
-
# - Pending
|
88
|
-
# Corresponds to the JSON property `purchaseState`
|
89
|
-
# @return [Fixnum]
|
90
|
-
attr_accessor :purchase_state
|
91
|
-
|
92
|
-
# The time the product was purchased, in milliseconds since the epoch (Jan 1,
|
93
|
-
# 1970).
|
94
|
-
# Corresponds to the JSON property `purchaseTimeMillis`
|
95
|
-
# @return [Fixnum]
|
96
|
-
attr_accessor :purchase_time_millis
|
97
|
-
|
98
|
-
# The type of purchase of the inapp product. This field is only set if this
|
99
|
-
# purchase was not made using the standard in-app billing flow. Possible values
|
100
|
-
# are:
|
101
|
-
# - Test (i.e. purchased from a license testing account)
|
102
|
-
# - Promo (i.e. purchased using a promo code)
|
103
|
-
# - Rewarded (i.e. from watching a video ad instead of paying)
|
104
|
-
# Corresponds to the JSON property `purchaseType`
|
105
|
-
# @return [Fixnum]
|
106
|
-
attr_accessor :purchase_type
|
107
|
-
|
108
|
-
def initialize(**args)
|
109
|
-
update!(**args)
|
110
|
-
end
|
111
|
-
|
112
|
-
# Update properties of this object
|
113
|
-
def update!(**args)
|
114
|
-
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
115
|
-
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
116
|
-
@kind = args[:kind] if args.key?(:kind)
|
117
|
-
@order_id = args[:order_id] if args.key?(:order_id)
|
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)
|
120
|
-
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
#
|
125
|
-
class TokenPagination
|
126
|
-
include Google::Apis::Core::Hashable
|
127
|
-
|
128
|
-
#
|
129
|
-
# Corresponds to the JSON property `nextPageToken`
|
130
|
-
# @return [String]
|
131
|
-
attr_accessor :next_page_token
|
132
|
-
|
133
|
-
#
|
134
|
-
# Corresponds to the JSON property `previousPageToken`
|
135
|
-
# @return [String]
|
136
|
-
attr_accessor :previous_page_token
|
137
|
-
|
138
|
-
def initialize(**args)
|
139
|
-
update!(**args)
|
140
|
-
end
|
141
|
-
|
142
|
-
# Update properties of this object
|
143
|
-
def update!(**args)
|
144
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
145
|
-
@previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
# A VoidedPurchase resource indicates a purchase that was either canceled/
|
150
|
-
# refunded/charged-back.
|
151
|
-
class VoidedPurchase
|
152
|
-
include Google::Apis::Core::Hashable
|
153
|
-
|
154
|
-
# This kind represents a voided purchase object in the androidpublisher service.
|
155
|
-
# Corresponds to the JSON property `kind`
|
156
|
-
# @return [String]
|
157
|
-
attr_accessor :kind
|
158
|
-
|
159
|
-
# The time at which the purchase was made, in milliseconds since the epoch (Jan
|
160
|
-
# 1, 1970).
|
161
|
-
# Corresponds to the JSON property `purchaseTimeMillis`
|
162
|
-
# @return [Fixnum]
|
163
|
-
attr_accessor :purchase_time_millis
|
164
|
-
|
165
|
-
# The token which uniquely identifies a one-time purchase or subscription. To
|
166
|
-
# uniquely identify subscription renewals use order_id (available starting from
|
167
|
-
# version 3 of the API).
|
168
|
-
# Corresponds to the JSON property `purchaseToken`
|
169
|
-
# @return [String]
|
170
|
-
attr_accessor :purchase_token
|
171
|
-
|
172
|
-
# The time at which the purchase was canceled/refunded/charged-back, in
|
173
|
-
# milliseconds since the epoch (Jan 1, 1970).
|
174
|
-
# Corresponds to the JSON property `voidedTimeMillis`
|
175
|
-
# @return [Fixnum]
|
176
|
-
attr_accessor :voided_time_millis
|
177
|
-
|
178
|
-
def initialize(**args)
|
179
|
-
update!(**args)
|
180
|
-
end
|
181
|
-
|
182
|
-
# Update properties of this object
|
183
|
-
def update!(**args)
|
184
|
-
@kind = args[:kind] if args.key?(:kind)
|
185
|
-
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
186
|
-
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
187
|
-
@voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
#
|
192
|
-
class VoidedPurchasesListResponse
|
193
|
-
include Google::Apis::Core::Hashable
|
194
|
-
|
195
|
-
#
|
196
|
-
# Corresponds to the JSON property `pageInfo`
|
197
|
-
# @return [Google::Apis::AndroidpublisherV2::PageInfo]
|
198
|
-
attr_accessor :page_info
|
199
|
-
|
200
|
-
#
|
201
|
-
# Corresponds to the JSON property `tokenPagination`
|
202
|
-
# @return [Google::Apis::AndroidpublisherV2::TokenPagination]
|
203
|
-
attr_accessor :token_pagination
|
204
|
-
|
205
|
-
#
|
206
|
-
# Corresponds to the JSON property `voidedPurchases`
|
207
|
-
# @return [Array<Google::Apis::AndroidpublisherV2::VoidedPurchase>]
|
208
|
-
attr_accessor :voided_purchases
|
209
|
-
|
210
|
-
def initialize(**args)
|
211
|
-
update!(**args)
|
212
|
-
end
|
213
|
-
|
214
|
-
# Update properties of this object
|
215
|
-
def update!(**args)
|
216
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
217
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
218
|
-
@voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases)
|
219
|
-
end
|
220
|
-
end
|
221
|
-
end
|
222
|
-
end
|
223
|
-
end
|
@@ -1,160 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module AndroidpublisherV2
|
23
|
-
# Google Play Developer API
|
24
|
-
#
|
25
|
-
# Accesses Android application developers' Google Play accounts.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/androidpublisher_v2'
|
29
|
-
#
|
30
|
-
# Androidpublisher = Google::Apis::AndroidpublisherV2 # Alias the module
|
31
|
-
# service = Androidpublisher::AndroidPublisherService.new
|
32
|
-
#
|
33
|
-
# @see https://developers.google.com/android-publisher
|
34
|
-
class AndroidPublisherService < Google::Apis::Core::BaseService
|
35
|
-
# @return [String]
|
36
|
-
# API key. Your API key identifies your project and provides you with API access,
|
37
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
-
attr_accessor :key
|
39
|
-
|
40
|
-
# @return [String]
|
41
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
42
|
-
# characters.
|
43
|
-
attr_accessor :quota_user
|
44
|
-
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
|
-
def initialize
|
50
|
-
super('https://www.googleapis.com/', 'androidpublisher/v2/applications/')
|
51
|
-
@batch_path = 'batch/androidpublisher/v2'
|
52
|
-
end
|
53
|
-
|
54
|
-
# Checks the purchase and consumption status of an inapp item.
|
55
|
-
# @param [String] package_name
|
56
|
-
# The package name of the application the inapp product was sold in (for example,
|
57
|
-
# 'com.some.thing').
|
58
|
-
# @param [String] product_id
|
59
|
-
# The inapp product SKU (for example, 'com.some.thing.inapp1').
|
60
|
-
# @param [String] token
|
61
|
-
# The token provided to the user's device when the inapp product was purchased.
|
62
|
-
# @param [String] fields
|
63
|
-
# Selector specifying which fields to include in a partial response.
|
64
|
-
# @param [String] quota_user
|
65
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
66
|
-
# characters.
|
67
|
-
# @param [String] user_ip
|
68
|
-
# Deprecated. Please use quotaUser instead.
|
69
|
-
# @param [Google::Apis::RequestOptions] options
|
70
|
-
# Request-specific options
|
71
|
-
#
|
72
|
-
# @yield [result, err] Result & error if block supplied
|
73
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV2::ProductPurchase] parsed result object
|
74
|
-
# @yieldparam err [StandardError] error object if request failed
|
75
|
-
#
|
76
|
-
# @return [Google::Apis::AndroidpublisherV2::ProductPurchase]
|
77
|
-
#
|
78
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
79
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
|
-
def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
82
|
-
command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
|
83
|
-
command.response_representation = Google::Apis::AndroidpublisherV2::ProductPurchase::Representation
|
84
|
-
command.response_class = Google::Apis::AndroidpublisherV2::ProductPurchase
|
85
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
86
|
-
command.params['productId'] = product_id unless product_id.nil?
|
87
|
-
command.params['token'] = token unless token.nil?
|
88
|
-
command.query['fields'] = fields unless fields.nil?
|
89
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
90
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
91
|
-
execute_or_queue_command(command, &block)
|
92
|
-
end
|
93
|
-
|
94
|
-
# Lists the purchases that were canceled, refunded or charged-back.
|
95
|
-
# @param [String] package_name
|
96
|
-
# The package name of the application for which voided purchases need to be
|
97
|
-
# returned (for example, 'com.some.thing').
|
98
|
-
# @param [Fixnum] end_time
|
99
|
-
# The time, in milliseconds since the Epoch, of the newest voided purchase that
|
100
|
-
# you want to see in the response. The value of this parameter cannot be greater
|
101
|
-
# than the current time and is ignored if a pagination token is set. Default
|
102
|
-
# value is current time. Note: This filter is applied on the time at which the
|
103
|
-
# record is seen as voided by our systems and not the actual voided time
|
104
|
-
# returned in the response.
|
105
|
-
# @param [Fixnum] max_results
|
106
|
-
# @param [Fixnum] start_index
|
107
|
-
# @param [Fixnum] start_time
|
108
|
-
# The time, in milliseconds since the Epoch, of the oldest voided purchase that
|
109
|
-
# you want to see in the response. The value of this parameter cannot be older
|
110
|
-
# than 30 days and is ignored if a pagination token is set. Default value is
|
111
|
-
# current time minus 30 days. Note: This filter is applied on the time at which
|
112
|
-
# the record is seen as voided by our systems and not the actual voided time
|
113
|
-
# returned in the response.
|
114
|
-
# @param [String] token
|
115
|
-
# @param [String] fields
|
116
|
-
# Selector specifying which fields to include in a partial response.
|
117
|
-
# @param [String] quota_user
|
118
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
119
|
-
# characters.
|
120
|
-
# @param [String] user_ip
|
121
|
-
# Deprecated. Please use quotaUser instead.
|
122
|
-
# @param [Google::Apis::RequestOptions] options
|
123
|
-
# Request-specific options
|
124
|
-
#
|
125
|
-
# @yield [result, err] Result & error if block supplied
|
126
|
-
# @yieldparam result [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse] parsed result object
|
127
|
-
# @yieldparam err [StandardError] error object if request failed
|
128
|
-
#
|
129
|
-
# @return [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse]
|
130
|
-
#
|
131
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
132
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
133
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
134
|
-
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
135
|
-
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
|
136
|
-
command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation
|
137
|
-
command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
|
138
|
-
command.params['packageName'] = package_name unless package_name.nil?
|
139
|
-
command.query['endTime'] = end_time unless end_time.nil?
|
140
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
141
|
-
command.query['startIndex'] = start_index unless start_index.nil?
|
142
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
143
|
-
command.query['token'] = token unless token.nil?
|
144
|
-
command.query['fields'] = fields unless fields.nil?
|
145
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
146
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
147
|
-
execute_or_queue_command(command, &block)
|
148
|
-
end
|
149
|
-
|
150
|
-
protected
|
151
|
-
|
152
|
-
def apply_command_defaults(command)
|
153
|
-
command.query['key'] = key unless key.nil?
|
154
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
156
|
-
end
|
157
|
-
end
|
158
|
-
end
|
159
|
-
end
|
160
|
-
end
|
@@ -1,51 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module GroupsmigrationV1
|
24
|
-
|
25
|
-
# JSON response template for groups migration API.
|
26
|
-
class Groups
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# The kind of insert resource this is.
|
30
|
-
# Corresponds to the JSON property `kind`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :kind
|
33
|
-
|
34
|
-
# The status of the insert request.
|
35
|
-
# Corresponds to the JSON property `responseCode`
|
36
|
-
# @return [String]
|
37
|
-
attr_accessor :response_code
|
38
|
-
|
39
|
-
def initialize(**args)
|
40
|
-
update!(**args)
|
41
|
-
end
|
42
|
-
|
43
|
-
# Update properties of this object
|
44
|
-
def update!(**args)
|
45
|
-
@kind = args[:kind] if args.key?(:kind)
|
46
|
-
@response_code = args[:response_code] if args.key?(:response_code)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
@@ -1,40 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module GroupsmigrationV1
|
24
|
-
|
25
|
-
class Groups
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class Groups
|
32
|
-
# @private
|
33
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
34
|
-
property :kind, as: 'kind'
|
35
|
-
property :response_code, as: 'responseCode'
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|