google-api-client 0.41.0 → 0.42.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +295 -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/classes.rb +3 -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/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1475 -107
- data/generated/google/apis/apigee_v1/representations.rb +558 -0
- data/generated/google/apis/apigee_v1/service.rb +1175 -117
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +234 -9
- data/generated/google/apis/bigquery_v2/representations.rb +74 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- 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 +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.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 +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- 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 +272 -12
- 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 +284 -24
- 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 +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- 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 +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- 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 +99 -61
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +32 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +596 -60
- data/generated/google/apis/compute_beta/representations.rb +162 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +967 -70
- data/generated/google/apis/compute_v1/representations.rb +289 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -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 +8 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +182 -4
- data/generated/google/apis/content_v2_1/representations.rb +72 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +618 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
- data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
- data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- 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/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- 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 +75 -76
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +75 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- 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 +10 -16
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
- 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/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- 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/service.rb +2 -2
- 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 +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- 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/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +55 -55
- data/generated/google/apis/gmail_v1/service.rb +74 -73
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/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 +48 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- 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 +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- 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 +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -38
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +49 -30
- data/generated/google/apis/pubsub_v1/representations.rb +2 -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/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -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 +398 -1
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- 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 +398 -1
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- 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/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +835 -1245
- data/generated/google/apis/run_v1/service.rb +196 -246
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- 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 +3 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- 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/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- 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 +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
- 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 +2 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -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 +15 -22
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +562 -2
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +270 -10
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -23
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- 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/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- 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 -100
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-
|
14
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -312,18 +312,6 @@ files:
|
|
312
312
|
- generated/google/apis/androidmanagement_v1/classes.rb
|
313
313
|
- generated/google/apis/androidmanagement_v1/representations.rb
|
314
314
|
- generated/google/apis/androidmanagement_v1/service.rb
|
315
|
-
- generated/google/apis/androidpublisher_v1.rb
|
316
|
-
- generated/google/apis/androidpublisher_v1/classes.rb
|
317
|
-
- generated/google/apis/androidpublisher_v1/representations.rb
|
318
|
-
- generated/google/apis/androidpublisher_v1/service.rb
|
319
|
-
- generated/google/apis/androidpublisher_v1_1.rb
|
320
|
-
- generated/google/apis/androidpublisher_v1_1/classes.rb
|
321
|
-
- generated/google/apis/androidpublisher_v1_1/representations.rb
|
322
|
-
- generated/google/apis/androidpublisher_v1_1/service.rb
|
323
|
-
- generated/google/apis/androidpublisher_v2.rb
|
324
|
-
- generated/google/apis/androidpublisher_v2/classes.rb
|
325
|
-
- generated/google/apis/androidpublisher_v2/representations.rb
|
326
|
-
- generated/google/apis/androidpublisher_v2/service.rb
|
327
315
|
- generated/google/apis/androidpublisher_v3.rb
|
328
316
|
- generated/google/apis/androidpublisher_v3/classes.rb
|
329
317
|
- generated/google/apis/androidpublisher_v3/representations.rb
|
@@ -456,6 +444,10 @@ files:
|
|
456
444
|
- generated/google/apis/cloudasset_v1p4beta1/classes.rb
|
457
445
|
- generated/google/apis/cloudasset_v1p4beta1/representations.rb
|
458
446
|
- generated/google/apis/cloudasset_v1p4beta1/service.rb
|
447
|
+
- generated/google/apis/cloudasset_v1p5beta1.rb
|
448
|
+
- generated/google/apis/cloudasset_v1p5beta1/classes.rb
|
449
|
+
- generated/google/apis/cloudasset_v1p5beta1/representations.rb
|
450
|
+
- generated/google/apis/cloudasset_v1p5beta1/service.rb
|
459
451
|
- generated/google/apis/cloudbilling_v1.rb
|
460
452
|
- generated/google/apis/cloudbilling_v1/classes.rb
|
461
453
|
- generated/google/apis/cloudbilling_v1/representations.rb
|
@@ -484,10 +476,6 @@ files:
|
|
484
476
|
- generated/google/apis/cloudfunctions_v1/classes.rb
|
485
477
|
- generated/google/apis/cloudfunctions_v1/representations.rb
|
486
478
|
- generated/google/apis/cloudfunctions_v1/service.rb
|
487
|
-
- generated/google/apis/cloudfunctions_v1beta2.rb
|
488
|
-
- generated/google/apis/cloudfunctions_v1beta2/classes.rb
|
489
|
-
- generated/google/apis/cloudfunctions_v1beta2/representations.rb
|
490
|
-
- generated/google/apis/cloudfunctions_v1beta2/service.rb
|
491
479
|
- generated/google/apis/cloudidentity_v1.rb
|
492
480
|
- generated/google/apis/cloudidentity_v1/classes.rb
|
493
481
|
- generated/google/apis/cloudidentity_v1/representations.rb
|
@@ -612,6 +600,10 @@ files:
|
|
612
600
|
- generated/google/apis/content_v2_1/classes.rb
|
613
601
|
- generated/google/apis/content_v2_1/representations.rb
|
614
602
|
- generated/google/apis/content_v2_1/service.rb
|
603
|
+
- generated/google/apis/customsearch_v1.rb
|
604
|
+
- generated/google/apis/customsearch_v1/classes.rb
|
605
|
+
- generated/google/apis/customsearch_v1/representations.rb
|
606
|
+
- generated/google/apis/customsearch_v1/service.rb
|
615
607
|
- generated/google/apis/datacatalog_v1beta1.rb
|
616
608
|
- generated/google/apis/datacatalog_v1beta1/classes.rb
|
617
609
|
- generated/google/apis/datacatalog_v1beta1/representations.rb
|
@@ -760,6 +752,10 @@ files:
|
|
760
752
|
- generated/google/apis/firebasedynamiclinks_v1/classes.rb
|
761
753
|
- generated/google/apis/firebasedynamiclinks_v1/representations.rb
|
762
754
|
- generated/google/apis/firebasedynamiclinks_v1/service.rb
|
755
|
+
- generated/google/apis/firebasehosting_v1.rb
|
756
|
+
- generated/google/apis/firebasehosting_v1/classes.rb
|
757
|
+
- generated/google/apis/firebasehosting_v1/representations.rb
|
758
|
+
- generated/google/apis/firebasehosting_v1/service.rb
|
763
759
|
- generated/google/apis/firebasehosting_v1beta1.rb
|
764
760
|
- generated/google/apis/firebasehosting_v1beta1/classes.rb
|
765
761
|
- generated/google/apis/firebasehosting_v1beta1/representations.rb
|
@@ -804,6 +800,10 @@ files:
|
|
804
800
|
- generated/google/apis/games_v1/classes.rb
|
805
801
|
- generated/google/apis/games_v1/representations.rb
|
806
802
|
- generated/google/apis/games_v1/service.rb
|
803
|
+
- generated/google/apis/gameservices_v1.rb
|
804
|
+
- generated/google/apis/gameservices_v1/classes.rb
|
805
|
+
- generated/google/apis/gameservices_v1/representations.rb
|
806
|
+
- generated/google/apis/gameservices_v1/service.rb
|
807
807
|
- generated/google/apis/gameservices_v1beta.rb
|
808
808
|
- generated/google/apis/gameservices_v1beta/classes.rb
|
809
809
|
- generated/google/apis/gameservices_v1beta/representations.rb
|
@@ -824,10 +824,10 @@ files:
|
|
824
824
|
- generated/google/apis/gmail_v1/classes.rb
|
825
825
|
- generated/google/apis/gmail_v1/representations.rb
|
826
826
|
- generated/google/apis/gmail_v1/service.rb
|
827
|
-
- generated/google/apis/
|
828
|
-
- generated/google/apis/
|
829
|
-
- generated/google/apis/
|
830
|
-
- generated/google/apis/
|
827
|
+
- generated/google/apis/gmailpostmastertools_v1beta1.rb
|
828
|
+
- generated/google/apis/gmailpostmastertools_v1beta1/classes.rb
|
829
|
+
- generated/google/apis/gmailpostmastertools_v1beta1/representations.rb
|
830
|
+
- generated/google/apis/gmailpostmastertools_v1beta1/service.rb
|
831
831
|
- generated/google/apis/groupssettings_v1.rb
|
832
832
|
- generated/google/apis/groupssettings_v1/classes.rb
|
833
833
|
- generated/google/apis/groupssettings_v1/representations.rb
|
@@ -984,6 +984,10 @@ files:
|
|
984
984
|
- generated/google/apis/people_v1/classes.rb
|
985
985
|
- generated/google/apis/people_v1/representations.rb
|
986
986
|
- generated/google/apis/people_v1/service.rb
|
987
|
+
- generated/google/apis/playablelocations_v3.rb
|
988
|
+
- generated/google/apis/playablelocations_v3/classes.rb
|
989
|
+
- generated/google/apis/playablelocations_v3/representations.rb
|
990
|
+
- generated/google/apis/playablelocations_v3/service.rb
|
987
991
|
- generated/google/apis/playcustomapp_v1.rb
|
988
992
|
- generated/google/apis/playcustomapp_v1/classes.rb
|
989
993
|
- generated/google/apis/playcustomapp_v1/representations.rb
|
@@ -1020,6 +1024,14 @@ files:
|
|
1020
1024
|
- generated/google/apis/pubsub_v1beta2/classes.rb
|
1021
1025
|
- generated/google/apis/pubsub_v1beta2/representations.rb
|
1022
1026
|
- generated/google/apis/pubsub_v1beta2/service.rb
|
1027
|
+
- generated/google/apis/realtimebidding_v1.rb
|
1028
|
+
- generated/google/apis/realtimebidding_v1/classes.rb
|
1029
|
+
- generated/google/apis/realtimebidding_v1/representations.rb
|
1030
|
+
- generated/google/apis/realtimebidding_v1/service.rb
|
1031
|
+
- generated/google/apis/recommendationengine_v1beta1.rb
|
1032
|
+
- generated/google/apis/recommendationengine_v1beta1/classes.rb
|
1033
|
+
- generated/google/apis/recommendationengine_v1beta1/representations.rb
|
1034
|
+
- generated/google/apis/recommendationengine_v1beta1/service.rb
|
1023
1035
|
- generated/google/apis/recommender_v1.rb
|
1024
1036
|
- generated/google/apis/recommender_v1/classes.rb
|
1025
1037
|
- generated/google/apis/recommender_v1/representations.rb
|
@@ -1252,6 +1264,10 @@ files:
|
|
1252
1264
|
- generated/google/apis/vault_v1/classes.rb
|
1253
1265
|
- generated/google/apis/vault_v1/representations.rb
|
1254
1266
|
- generated/google/apis/vault_v1/service.rb
|
1267
|
+
- generated/google/apis/vectortile_v1.rb
|
1268
|
+
- generated/google/apis/vectortile_v1/classes.rb
|
1269
|
+
- generated/google/apis/vectortile_v1/representations.rb
|
1270
|
+
- generated/google/apis/vectortile_v1/service.rb
|
1255
1271
|
- generated/google/apis/verifiedaccess_v1.rb
|
1256
1272
|
- generated/google/apis/verifiedaccess_v1/classes.rb
|
1257
1273
|
- generated/google/apis/verifiedaccess_v1/representations.rb
|
@@ -1400,7 +1416,7 @@ homepage: https://github.com/google/google-api-ruby-client
|
|
1400
1416
|
licenses:
|
1401
1417
|
- Apache-2.0
|
1402
1418
|
metadata:
|
1403
|
-
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.
|
1419
|
+
documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.42.2
|
1404
1420
|
post_install_message:
|
1405
1421
|
rdoc_options: []
|
1406
1422
|
require_paths:
|
@@ -1,64 +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 AndroidpublisherV1
|
23
|
-
# Google Play Developer API
|
24
|
-
#
|
25
|
-
# Accesses Android application developers' Google Play accounts.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/androidpublisher_v1'
|
29
|
-
#
|
30
|
-
# Androidpublisher = Google::Apis::AndroidpublisherV1 # 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/', '')
|
51
|
-
@batch_path = 'batch/androidpublisher/v1'
|
52
|
-
end
|
53
|
-
|
54
|
-
protected
|
55
|
-
|
56
|
-
def apply_command_defaults(command)
|
57
|
-
command.query['key'] = key unless key.nil?
|
58
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
59
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,34 +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/androidpublisher_v1_1/service.rb'
|
16
|
-
require 'google/apis/androidpublisher_v1_1/classes.rb'
|
17
|
-
require 'google/apis/androidpublisher_v1_1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Play Developer API
|
22
|
-
#
|
23
|
-
# Accesses Android application developers' Google Play accounts.
|
24
|
-
#
|
25
|
-
# @see https://developers.google.com/android-publisher
|
26
|
-
module AndroidpublisherV1_1
|
27
|
-
VERSION = 'V1_1'
|
28
|
-
REVISION = '20200428'
|
29
|
-
|
30
|
-
# View and manage your Google Play Developer account
|
31
|
-
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,94 +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 AndroidpublisherV1_1
|
24
|
-
|
25
|
-
# An InappPurchase resource indicates the status of a user's inapp product
|
26
|
-
# purchase.
|
27
|
-
class InappPurchase
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# The consumption state of the inapp product. Possible values are:
|
31
|
-
# - Yet to be consumed
|
32
|
-
# - Consumed
|
33
|
-
# Corresponds to the JSON property `consumptionState`
|
34
|
-
# @return [Fixnum]
|
35
|
-
attr_accessor :consumption_state
|
36
|
-
|
37
|
-
# A developer-specified string that contains supplemental information about an
|
38
|
-
# order.
|
39
|
-
# Corresponds to the JSON property `developerPayload`
|
40
|
-
# @return [String]
|
41
|
-
attr_accessor :developer_payload
|
42
|
-
|
43
|
-
# This kind represents an inappPurchase object in the androidpublisher service.
|
44
|
-
# Corresponds to the JSON property `kind`
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :kind
|
47
|
-
|
48
|
-
# The order id associated with the purchase of the inapp product.
|
49
|
-
# Corresponds to the JSON property `orderId`
|
50
|
-
# @return [String]
|
51
|
-
attr_accessor :order_id
|
52
|
-
|
53
|
-
# The purchase state of the order. Possible values are:
|
54
|
-
# - Purchased
|
55
|
-
# - Canceled
|
56
|
-
# - Pending
|
57
|
-
# Corresponds to the JSON property `purchaseState`
|
58
|
-
# @return [Fixnum]
|
59
|
-
attr_accessor :purchase_state
|
60
|
-
|
61
|
-
# The time the product was purchased, in milliseconds since the epoch (Jan 1,
|
62
|
-
# 1970).
|
63
|
-
# Corresponds to the JSON property `purchaseTime`
|
64
|
-
# @return [Fixnum]
|
65
|
-
attr_accessor :purchase_time
|
66
|
-
|
67
|
-
# The type of purchase of the inapp product. This field is only set if this
|
68
|
-
# purchase was not made using the standard in-app billing flow. Possible values
|
69
|
-
# are:
|
70
|
-
# - Test (i.e. purchased from a license testing account)
|
71
|
-
# - Promo (i.e. purchased using a promo code)
|
72
|
-
# - Rewarded (i.e. from watching a video ad instead of paying)
|
73
|
-
# Corresponds to the JSON property `purchaseType`
|
74
|
-
# @return [Fixnum]
|
75
|
-
attr_accessor :purchase_type
|
76
|
-
|
77
|
-
def initialize(**args)
|
78
|
-
update!(**args)
|
79
|
-
end
|
80
|
-
|
81
|
-
# Update properties of this object
|
82
|
-
def update!(**args)
|
83
|
-
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
84
|
-
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
85
|
-
@kind = args[:kind] if args.key?(:kind)
|
86
|
-
@order_id = args[:order_id] if args.key?(:order_id)
|
87
|
-
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
88
|
-
@purchase_time = args[:purchase_time] if args.key?(:purchase_time)
|
89
|
-
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
@@ -1,45 +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 AndroidpublisherV1_1
|
24
|
-
|
25
|
-
class InappPurchase
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class InappPurchase
|
32
|
-
# @private
|
33
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
34
|
-
property :consumption_state, as: 'consumptionState'
|
35
|
-
property :developer_payload, as: 'developerPayload'
|
36
|
-
property :kind, as: 'kind'
|
37
|
-
property :order_id, as: 'orderId'
|
38
|
-
property :purchase_state, as: 'purchaseState'
|
39
|
-
property :purchase_time, :numeric_string => true, as: 'purchaseTime'
|
40
|
-
property :purchase_type, as: 'purchaseType'
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
@@ -1,104 +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 AndroidpublisherV1_1
|
23
|
-
# Google Play Developer API
|
24
|
-
#
|
25
|
-
# Accesses Android application developers' Google Play accounts.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/androidpublisher_v1_1'
|
29
|
-
#
|
30
|
-
# Androidpublisher = Google::Apis::AndroidpublisherV1_1 # 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/v1.1/applications/')
|
51
|
-
@batch_path = 'batch/androidpublisher/v1.1'
|
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::AndroidpublisherV1_1::InappPurchase] parsed result object
|
74
|
-
# @yieldparam err [StandardError] error object if request failed
|
75
|
-
#
|
76
|
-
# @return [Google::Apis::AndroidpublisherV1_1::InappPurchase]
|
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_inapppurchase(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
82
|
-
command = make_simple_command(:get, '{packageName}/inapp/{productId}/purchases/{token}', options)
|
83
|
-
command.response_representation = Google::Apis::AndroidpublisherV1_1::InappPurchase::Representation
|
84
|
-
command.response_class = Google::Apis::AndroidpublisherV1_1::InappPurchase
|
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
|
-
protected
|
95
|
-
|
96
|
-
def apply_command_defaults(command)
|
97
|
-
command.query['key'] = key unless key.nil?
|
98
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
99
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|