google-api-client 0.29.1 → 0.29.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 +102 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/service.rb +37 -37
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +15 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- 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 +15 -15
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
76
|
def delete_achievement_configuration(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
77
|
-
command =
|
77
|
+
command = make_simple_command(:delete, 'achievements/{achievementId}', options)
|
78
78
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
79
79
|
command.query['fields'] = fields unless fields.nil?
|
80
80
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
107
|
def get_achievement_configuration(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
108
|
-
command =
|
108
|
+
command = make_simple_command(:get, 'achievements/{achievementId}', options)
|
109
109
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
110
110
|
command.response_class = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration
|
111
111
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -139,7 +139,7 @@ module Google
|
|
139
139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
140
140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
141
141
|
def insert_achievement_configuration(application_id, achievement_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
142
|
-
command =
|
142
|
+
command = make_simple_command(:post, 'applications/{applicationId}/achievements', options)
|
143
143
|
command.request_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
144
144
|
command.request_object = achievement_configuration_object
|
145
145
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
@@ -180,7 +180,7 @@ module Google
|
|
180
180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
181
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
182
|
def list_achievement_configurations(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
183
|
-
command =
|
183
|
+
command = make_simple_command(:get, 'applications/{applicationId}/achievements', options)
|
184
184
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::ListAchievementConfigurationResponse::Representation
|
185
185
|
command.response_class = Google::Apis::GamesConfigurationV1configuration::ListAchievementConfigurationResponse
|
186
186
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -217,7 +217,7 @@ module Google
|
|
217
217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
219
|
def patch_achievement_configuration(achievement_id, achievement_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
220
|
-
command =
|
220
|
+
command = make_simple_command(:patch, 'achievements/{achievementId}', options)
|
221
221
|
command.request_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
222
222
|
command.request_object = achievement_configuration_object
|
223
223
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
@@ -253,7 +253,7 @@ module Google
|
|
253
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
255
|
def update_achievement_configuration(achievement_id, achievement_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
256
|
-
command =
|
256
|
+
command = make_simple_command(:put, 'achievements/{achievementId}', options)
|
257
257
|
command.request_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
258
258
|
command.request_object = achievement_configuration_object
|
259
259
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::AchievementConfiguration::Representation
|
@@ -295,7 +295,7 @@ module Google
|
|
295
295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
296
296
|
def upload_image_configuration(resource_id, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
297
297
|
if upload_source.nil?
|
298
|
-
command =
|
298
|
+
command = make_simple_command(:post, 'images/{resourceId}/imageType/{imageType}', options)
|
299
299
|
else
|
300
300
|
command = make_upload_command(:post, 'images/{resourceId}/imageType/{imageType}', options)
|
301
301
|
command.upload_source = upload_source
|
@@ -334,7 +334,7 @@ module Google
|
|
334
334
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
335
335
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
336
336
|
def delete_leaderboard_configuration(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
337
|
-
command =
|
337
|
+
command = make_simple_command(:delete, 'leaderboards/{leaderboardId}', options)
|
338
338
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
339
339
|
command.query['fields'] = fields unless fields.nil?
|
340
340
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
366
366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
367
367
|
def get_leaderboard_configuration(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
368
|
-
command =
|
368
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}', options)
|
369
369
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
370
370
|
command.response_class = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration
|
371
371
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -399,7 +399,7 @@ module Google
|
|
399
399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
400
400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
401
401
|
def insert_leaderboard_configuration(application_id, leaderboard_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
402
|
-
command =
|
402
|
+
command = make_simple_command(:post, 'applications/{applicationId}/leaderboards', options)
|
403
403
|
command.request_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
404
404
|
command.request_object = leaderboard_configuration_object
|
405
405
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
441
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
442
|
def list_leaderboard_configurations(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
443
|
-
command =
|
443
|
+
command = make_simple_command(:get, 'applications/{applicationId}/leaderboards', options)
|
444
444
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::ListLeaderboardConfigurationResponse::Representation
|
445
445
|
command.response_class = Google::Apis::GamesConfigurationV1configuration::ListLeaderboardConfigurationResponse
|
446
446
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
478
478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
479
479
|
def patch_leaderboard_configuration(leaderboard_id, leaderboard_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
480
|
-
command =
|
480
|
+
command = make_simple_command(:patch, 'leaderboards/{leaderboardId}', options)
|
481
481
|
command.request_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
482
482
|
command.request_object = leaderboard_configuration_object
|
483
483
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
@@ -513,7 +513,7 @@ module Google
|
|
513
513
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
514
514
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
515
515
|
def update_leaderboard_configuration(leaderboard_id, leaderboard_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
516
|
-
command =
|
516
|
+
command = make_simple_command(:put, 'leaderboards/{leaderboardId}', options)
|
517
517
|
command.request_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
518
518
|
command.request_object = leaderboard_configuration_object
|
519
519
|
command.response_representation = Google::Apis::GamesConfigurationV1configuration::LeaderboardConfiguration::Representation
|
@@ -76,7 +76,7 @@ module Google
|
|
76
76
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
77
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
78
|
def reset_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
79
|
-
command =
|
79
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/reset', options)
|
80
80
|
command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetResponse::Representation
|
81
81
|
command.response_class = Google::Apis::GamesManagementV1management::AchievementResetResponse
|
82
82
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -109,7 +109,7 @@ module Google
|
|
109
109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
111
|
def reset_achievement_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
112
|
-
command =
|
112
|
+
command = make_simple_command(:post, 'achievements/reset', options)
|
113
113
|
command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetAllResponse::Representation
|
114
114
|
command.response_class = Google::Apis::GamesManagementV1management::AchievementResetAllResponse
|
115
115
|
command.query['fields'] = fields unless fields.nil?
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
141
141
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
142
142
|
def reset_achievement_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
143
|
-
command =
|
143
|
+
command = make_simple_command(:post, 'achievements/resetAllForAllPlayers', options)
|
144
144
|
command.query['fields'] = fields unless fields.nil?
|
145
145
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
146
146
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -172,7 +172,7 @@ module Google
|
|
172
172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
174
|
def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
175
|
-
command =
|
175
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/resetForAllPlayers', options)
|
176
176
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
177
177
|
command.query['fields'] = fields unless fields.nil?
|
178
178
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -204,7 +204,7 @@ module Google
|
|
204
204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
206
|
def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
207
|
-
command =
|
207
|
+
command = make_simple_command(:post, 'achievements/resetMultipleForAllPlayers', options)
|
208
208
|
command.request_representation = Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest::Representation
|
209
209
|
command.request_object = achievement_reset_multiple_for_all_request_object
|
210
210
|
command.query['fields'] = fields unless fields.nil?
|
@@ -243,7 +243,7 @@ module Google
|
|
243
243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
245
|
def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
246
|
-
command =
|
246
|
+
command = make_simple_command(:get, 'applications/{applicationId}/players/hidden', options)
|
247
247
|
command.response_representation = Google::Apis::GamesManagementV1management::HiddenPlayerList::Representation
|
248
248
|
command.response_class = Google::Apis::GamesManagementV1management::HiddenPlayerList
|
249
249
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -281,7 +281,7 @@ module Google
|
|
281
281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
282
282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
283
283
|
def reset_event(event_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
284
|
-
command =
|
284
|
+
command = make_simple_command(:post, 'events/{eventId}/reset', options)
|
285
285
|
command.params['eventId'] = event_id unless event_id.nil?
|
286
286
|
command.query['fields'] = fields unless fields.nil?
|
287
287
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -312,7 +312,7 @@ module Google
|
|
312
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
313
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
314
314
|
def reset_event_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
315
|
-
command =
|
315
|
+
command = make_simple_command(:post, 'events/reset', options)
|
316
316
|
command.query['fields'] = fields unless fields.nil?
|
317
317
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
318
318
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -342,7 +342,7 @@ module Google
|
|
342
342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
343
343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
344
344
|
def reset_event_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
345
|
-
command =
|
345
|
+
command = make_simple_command(:post, 'events/resetAllForAllPlayers', options)
|
346
346
|
command.query['fields'] = fields unless fields.nil?
|
347
347
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
348
348
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -374,7 +374,7 @@ module Google
|
|
374
374
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
375
375
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
376
376
|
def reset_event_for_all_players(event_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
377
|
-
command =
|
377
|
+
command = make_simple_command(:post, 'events/{eventId}/resetForAllPlayers', options)
|
378
378
|
command.params['eventId'] = event_id unless event_id.nil?
|
379
379
|
command.query['fields'] = fields unless fields.nil?
|
380
380
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -406,7 +406,7 @@ module Google
|
|
406
406
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
407
407
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
408
408
|
def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
409
|
-
command =
|
409
|
+
command = make_simple_command(:post, 'events/resetMultipleForAllPlayers', options)
|
410
410
|
command.request_representation = Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest::Representation
|
411
411
|
command.request_object = events_reset_multiple_for_all_request_object
|
412
412
|
command.query['fields'] = fields unless fields.nil?
|
@@ -442,7 +442,7 @@ module Google
|
|
442
442
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
443
443
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
444
444
|
def hide_player(application_id, player_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
445
|
-
command =
|
445
|
+
command = make_simple_command(:post, 'applications/{applicationId}/players/hidden/{playerId}', options)
|
446
446
|
command.params['applicationId'] = application_id unless application_id.nil?
|
447
447
|
command.params['playerId'] = player_id unless player_id.nil?
|
448
448
|
command.query['fields'] = fields unless fields.nil?
|
@@ -478,7 +478,7 @@ module Google
|
|
478
478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
479
479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
480
480
|
def unhide_player(application_id, player_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
481
|
-
command =
|
481
|
+
command = make_simple_command(:delete, 'applications/{applicationId}/players/hidden/{playerId}', options)
|
482
482
|
command.params['applicationId'] = application_id unless application_id.nil?
|
483
483
|
command.params['playerId'] = player_id unless player_id.nil?
|
484
484
|
command.query['fields'] = fields unless fields.nil?
|
@@ -512,7 +512,7 @@ module Google
|
|
512
512
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
513
513
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
514
514
|
def reset_quest(quest_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
515
|
-
command =
|
515
|
+
command = make_simple_command(:post, 'quests/{questId}/reset', options)
|
516
516
|
command.params['questId'] = quest_id unless quest_id.nil?
|
517
517
|
command.query['fields'] = fields unless fields.nil?
|
518
518
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -543,7 +543,7 @@ module Google
|
|
543
543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
544
544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
545
545
|
def reset_quest_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
546
|
-
command =
|
546
|
+
command = make_simple_command(:post, 'quests/reset', options)
|
547
547
|
command.query['fields'] = fields unless fields.nil?
|
548
548
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
549
549
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
574
|
def reset_quest_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
575
|
-
command =
|
575
|
+
command = make_simple_command(:post, 'quests/resetAllForAllPlayers', options)
|
576
576
|
command.query['fields'] = fields unless fields.nil?
|
577
577
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
578
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -604,7 +604,7 @@ module Google
|
|
604
604
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
605
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
606
|
def reset_quest_for_all_players(quest_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
607
|
-
command =
|
607
|
+
command = make_simple_command(:post, 'quests/{questId}/resetForAllPlayers', options)
|
608
608
|
command.params['questId'] = quest_id unless quest_id.nil?
|
609
609
|
command.query['fields'] = fields unless fields.nil?
|
610
610
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -636,7 +636,7 @@ module Google
|
|
636
636
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
637
637
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
638
638
|
def reset_quest_multiple_for_all_players(quests_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
639
|
-
command =
|
639
|
+
command = make_simple_command(:post, 'quests/resetMultipleForAllPlayers', options)
|
640
640
|
command.request_representation = Google::Apis::GamesManagementV1management::QuestsResetMultipleForAllRequest::Representation
|
641
641
|
command.request_object = quests_reset_multiple_for_all_request_object
|
642
642
|
command.query['fields'] = fields unless fields.nil?
|
@@ -668,7 +668,7 @@ module Google
|
|
668
668
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
669
669
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
670
670
|
def reset_room(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
671
|
-
command =
|
671
|
+
command = make_simple_command(:post, 'rooms/reset', options)
|
672
672
|
command.query['fields'] = fields unless fields.nil?
|
673
673
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
674
674
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -698,7 +698,7 @@ module Google
|
|
698
698
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
699
699
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
700
700
|
def reset_room_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
701
|
-
command =
|
701
|
+
command = make_simple_command(:post, 'rooms/resetForAllPlayers', options)
|
702
702
|
command.query['fields'] = fields unless fields.nil?
|
703
703
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
704
704
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -730,7 +730,7 @@ module Google
|
|
730
730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
731
731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
732
732
|
def reset_score(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
733
|
-
command =
|
733
|
+
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/reset', options)
|
734
734
|
command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse::Representation
|
735
735
|
command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse
|
736
736
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -763,7 +763,7 @@ module Google
|
|
763
763
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
764
764
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
765
765
|
def reset_score_all(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
766
|
-
command =
|
766
|
+
command = make_simple_command(:post, 'scores/reset', options)
|
767
767
|
command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse::Representation
|
768
768
|
command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
|
769
769
|
command.query['fields'] = fields unless fields.nil?
|
@@ -794,7 +794,7 @@ module Google
|
|
794
794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
795
795
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
796
796
|
def reset_score_all_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
797
|
-
command =
|
797
|
+
command = make_simple_command(:post, 'scores/resetAllForAllPlayers', options)
|
798
798
|
command.query['fields'] = fields unless fields.nil?
|
799
799
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
800
800
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -826,7 +826,7 @@ module Google
|
|
826
826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
827
827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
828
828
|
def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
829
|
-
command =
|
829
|
+
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
|
830
830
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
831
831
|
command.query['fields'] = fields unless fields.nil?
|
832
832
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -858,7 +858,7 @@ module Google
|
|
858
858
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
859
859
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
860
860
|
def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
861
|
-
command =
|
861
|
+
command = make_simple_command(:post, 'scores/resetMultipleForAllPlayers', options)
|
862
862
|
command.request_representation = Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest::Representation
|
863
863
|
command.request_object = scores_reset_multiple_for_all_request_object
|
864
864
|
command.query['fields'] = fields unless fields.nil?
|
@@ -889,7 +889,7 @@ module Google
|
|
889
889
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
890
890
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
891
891
|
def reset_turn_based_match(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
892
|
-
command =
|
892
|
+
command = make_simple_command(:post, 'turnbasedmatches/reset', options)
|
893
893
|
command.query['fields'] = fields unless fields.nil?
|
894
894
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
895
895
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -919,7 +919,7 @@ module Google
|
|
919
919
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
920
920
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
921
921
|
def reset_turn_based_match_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
922
|
-
command =
|
922
|
+
command = make_simple_command(:post, 'turnbasedmatches/resetForAllPlayers', options)
|
923
923
|
command.query['fields'] = fields unless fields.nil?
|
924
924
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
925
925
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
81
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
82
|
def list_achievement_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
83
|
-
command =
|
83
|
+
command = make_simple_command(:get, 'achievements', options)
|
84
84
|
command.response_representation = Google::Apis::GamesV1::ListAchievementDefinitionsResponse::Representation
|
85
85
|
command.response_class = Google::Apis::GamesV1::ListAchievementDefinitionsResponse
|
86
86
|
command.query['language'] = language unless language.nil?
|
@@ -122,7 +122,7 @@ module Google
|
|
122
122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
123
123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
124
124
|
def increment_achievement(achievement_id, steps_to_increment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
125
|
-
command =
|
125
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/increment', options)
|
126
126
|
command.response_representation = Google::Apis::GamesV1::AchievementIncrementResponse::Representation
|
127
127
|
command.response_class = Google::Apis::GamesV1::AchievementIncrementResponse
|
128
128
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -170,7 +170,7 @@ module Google
|
|
170
170
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
171
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
172
|
def list_achievements(player_id, language: nil, max_results: nil, page_token: nil, state: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
173
|
-
command =
|
173
|
+
command = make_simple_command(:get, 'players/{playerId}/achievements', options)
|
174
174
|
command.response_representation = Google::Apis::GamesV1::ListPlayerAchievementResponse::Representation
|
175
175
|
command.response_class = Google::Apis::GamesV1::ListPlayerAchievementResponse
|
176
176
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -208,7 +208,7 @@ module Google
|
|
208
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
210
|
def reveal_achievement(achievement_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
211
|
-
command =
|
211
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/reveal', options)
|
212
212
|
command.response_representation = Google::Apis::GamesV1::AchievementRevealResponse::Representation
|
213
213
|
command.response_class = Google::Apis::GamesV1::AchievementRevealResponse
|
214
214
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -246,7 +246,7 @@ module Google
|
|
246
246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
247
247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
248
248
|
def set_achievement_steps_at_least(achievement_id, steps, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
249
|
-
command =
|
249
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/setStepsAtLeast', options)
|
250
250
|
command.response_representation = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse::Representation
|
251
251
|
command.response_class = Google::Apis::GamesV1::AchievementSetStepsAtLeastResponse
|
252
252
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -282,7 +282,7 @@ module Google
|
|
282
282
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
283
283
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
284
284
|
def unlock_achievement(achievement_id, builtin_game_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
285
|
-
command =
|
285
|
+
command = make_simple_command(:post, 'achievements/{achievementId}/unlock', options)
|
286
286
|
command.response_representation = Google::Apis::GamesV1::AchievementUnlockResponse::Representation
|
287
287
|
command.response_class = Google::Apis::GamesV1::AchievementUnlockResponse
|
288
288
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
@@ -317,7 +317,7 @@ module Google
|
|
317
317
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
318
318
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
319
319
|
def update_multiple_achievements(achievement_update_multiple_request_object = nil, builtin_game_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
320
|
-
command =
|
320
|
+
command = make_simple_command(:post, 'achievements/updateMultiple', options)
|
321
321
|
command.request_representation = Google::Apis::GamesV1::AchievementUpdateMultipleRequest::Representation
|
322
322
|
command.request_object = achievement_update_multiple_request_object
|
323
323
|
command.response_representation = Google::Apis::GamesV1::AchievementUpdateMultipleResponse::Representation
|
@@ -358,7 +358,7 @@ module Google
|
|
358
358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
359
359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
360
360
|
def get_application(application_id, language: nil, platform_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
361
|
-
command =
|
361
|
+
command = make_simple_command(:get, 'applications/{applicationId}', options)
|
362
362
|
command.response_representation = Google::Apis::GamesV1::Application::Representation
|
363
363
|
command.response_class = Google::Apis::GamesV1::Application
|
364
364
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -393,7 +393,7 @@ module Google
|
|
393
393
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
394
394
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
395
395
|
def played_application(builtin_game_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
396
|
-
command =
|
396
|
+
command = make_simple_command(:post, 'applications/played', options)
|
397
397
|
command.query['builtinGameId'] = builtin_game_id unless builtin_game_id.nil?
|
398
398
|
command.query['fields'] = fields unless fields.nil?
|
399
399
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -425,7 +425,7 @@ module Google
|
|
425
425
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
426
426
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
427
427
|
def verify_application(application_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
428
|
-
command =
|
428
|
+
command = make_simple_command(:get, 'applications/{applicationId}/verify', options)
|
429
429
|
command.response_representation = Google::Apis::GamesV1::ApplicationVerifyResponse::Representation
|
430
430
|
command.response_class = Google::Apis::GamesV1::ApplicationVerifyResponse
|
431
431
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -465,7 +465,7 @@ module Google
|
|
465
465
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
466
466
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
467
467
|
def list_event_by_player(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
468
|
-
command =
|
468
|
+
command = make_simple_command(:get, 'events', options)
|
469
469
|
command.response_representation = Google::Apis::GamesV1::ListPlayerEventResponse::Representation
|
470
470
|
command.response_class = Google::Apis::GamesV1::ListPlayerEventResponse
|
471
471
|
command.query['language'] = language unless language.nil?
|
@@ -506,7 +506,7 @@ module Google
|
|
506
506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
507
507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
508
508
|
def list_event_definitions(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
509
|
-
command =
|
509
|
+
command = make_simple_command(:get, 'eventDefinitions', options)
|
510
510
|
command.response_representation = Google::Apis::GamesV1::ListEventDefinitionResponse::Representation
|
511
511
|
command.response_class = Google::Apis::GamesV1::ListEventDefinitionResponse
|
512
512
|
command.query['language'] = language unless language.nil?
|
@@ -543,7 +543,7 @@ module Google
|
|
543
543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
544
544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
545
545
|
def record_event(event_record_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
546
|
-
command =
|
546
|
+
command = make_simple_command(:post, 'events', options)
|
547
547
|
command.request_representation = Google::Apis::GamesV1::EventRecordRequest::Representation
|
548
548
|
command.request_object = event_record_request_object
|
549
549
|
command.response_representation = Google::Apis::GamesV1::UpdateEventResponse::Representation
|
@@ -580,7 +580,7 @@ module Google
|
|
580
580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
581
581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
582
582
|
def get_leaderboard(leaderboard_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
583
|
-
command =
|
583
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}', options)
|
584
584
|
command.response_representation = Google::Apis::GamesV1::Leaderboard::Representation
|
585
585
|
command.response_class = Google::Apis::GamesV1::Leaderboard
|
586
586
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -620,7 +620,7 @@ module Google
|
|
620
620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
621
621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
622
622
|
def list_leaderboards(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
623
|
-
command =
|
623
|
+
command = make_simple_command(:get, 'leaderboards', options)
|
624
624
|
command.response_representation = Google::Apis::GamesV1::ListLeaderboardResponse::Representation
|
625
625
|
command.response_class = Google::Apis::GamesV1::ListLeaderboardResponse
|
626
626
|
command.query['language'] = language unless language.nil?
|
@@ -653,7 +653,7 @@ module Google
|
|
653
653
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
654
654
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
655
655
|
def get_metagame_config(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
656
|
-
command =
|
656
|
+
command = make_simple_command(:get, 'metagameConfig', options)
|
657
657
|
command.response_representation = Google::Apis::GamesV1::MetagameConfig::Representation
|
658
658
|
command.response_class = Google::Apis::GamesV1::MetagameConfig
|
659
659
|
command.query['fields'] = fields unless fields.nil?
|
@@ -697,7 +697,7 @@ module Google
|
|
697
697
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
698
698
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
699
699
|
def list_metagame_categories_by_player(player_id, collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
700
|
-
command =
|
700
|
+
command = make_simple_command(:get, 'players/{playerId}/categories/{collection}', options)
|
701
701
|
command.response_representation = Google::Apis::GamesV1::ListCategoryResponse::Representation
|
702
702
|
command.response_class = Google::Apis::GamesV1::ListCategoryResponse
|
703
703
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -738,7 +738,7 @@ module Google
|
|
738
738
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
739
739
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
740
740
|
def get_player(player_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
741
|
-
command =
|
741
|
+
command = make_simple_command(:get, 'players/{playerId}', options)
|
742
742
|
command.response_representation = Google::Apis::GamesV1::Player::Representation
|
743
743
|
command.response_class = Google::Apis::GamesV1::Player
|
744
744
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -780,7 +780,7 @@ module Google
|
|
780
780
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
781
781
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
782
782
|
def list_players(collection, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
783
|
-
command =
|
783
|
+
command = make_simple_command(:get, 'players/me/players/{collection}', options)
|
784
784
|
command.response_representation = Google::Apis::GamesV1::ListPlayerResponse::Representation
|
785
785
|
command.response_class = Google::Apis::GamesV1::ListPlayerResponse
|
786
786
|
command.params['collection'] = collection unless collection.nil?
|
@@ -816,7 +816,7 @@ module Google
|
|
816
816
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
817
817
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
818
818
|
def remove_pushtoken(push_token_id_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
819
|
-
command =
|
819
|
+
command = make_simple_command(:post, 'pushtokens/remove', options)
|
820
820
|
command.request_representation = Google::Apis::GamesV1::PushTokenId::Representation
|
821
821
|
command.request_object = push_token_id_object
|
822
822
|
command.query['fields'] = fields unless fields.nil?
|
@@ -847,7 +847,7 @@ module Google
|
|
847
847
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
848
848
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
849
849
|
def update_pushtoken(push_token_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
850
|
-
command =
|
850
|
+
command = make_simple_command(:put, 'pushtokens', options)
|
851
851
|
command.request_representation = Google::Apis::GamesV1::PushToken::Representation
|
852
852
|
command.request_object = push_token_object
|
853
853
|
command.query['fields'] = fields unless fields.nil?
|
@@ -886,7 +886,7 @@ module Google
|
|
886
886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
887
887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
888
888
|
def claim_quest_milestone(quest_id, milestone_id, request_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
889
|
-
command =
|
889
|
+
command = make_simple_command(:put, 'quests/{questId}/milestones/{milestoneId}/claim', options)
|
890
890
|
command.params['questId'] = quest_id unless quest_id.nil?
|
891
891
|
command.params['milestoneId'] = milestone_id unless milestone_id.nil?
|
892
892
|
command.query['requestId'] = request_id unless request_id.nil?
|
@@ -921,7 +921,7 @@ module Google
|
|
921
921
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
922
922
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
923
923
|
def accept_quest(quest_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
924
|
-
command =
|
924
|
+
command = make_simple_command(:post, 'quests/{questId}/accept', options)
|
925
925
|
command.response_representation = Google::Apis::GamesV1::Quest::Representation
|
926
926
|
command.response_class = Google::Apis::GamesV1::Quest
|
927
927
|
command.params['questId'] = quest_id unless quest_id.nil?
|
@@ -966,7 +966,7 @@ module Google
|
|
966
966
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
967
967
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
968
968
|
def list_quests(player_id, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
969
|
-
command =
|
969
|
+
command = make_simple_command(:get, 'players/{playerId}/quests', options)
|
970
970
|
command.response_representation = Google::Apis::GamesV1::ListQuestResponse::Representation
|
971
971
|
command.response_class = Google::Apis::GamesV1::ListQuestResponse
|
972
972
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -1007,7 +1007,7 @@ module Google
|
|
1007
1007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1008
1008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1009
1009
|
def check_revision(client_revision, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1010
|
-
command =
|
1010
|
+
command = make_simple_command(:get, 'revisions/check', options)
|
1011
1011
|
command.response_representation = Google::Apis::GamesV1::CheckRevisionResponse::Representation
|
1012
1012
|
command.response_class = Google::Apis::GamesV1::CheckRevisionResponse
|
1013
1013
|
command.query['clientRevision'] = client_revision unless client_revision.nil?
|
@@ -1042,7 +1042,7 @@ module Google
|
|
1042
1042
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1043
1043
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1044
1044
|
def create_room(create_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1045
|
-
command =
|
1045
|
+
command = make_simple_command(:post, 'rooms/create', options)
|
1046
1046
|
command.request_representation = Google::Apis::GamesV1::CreateRoomRequest::Representation
|
1047
1047
|
command.request_object = create_room_request_object
|
1048
1048
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
@@ -1080,7 +1080,7 @@ module Google
|
|
1080
1080
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
1081
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
1082
|
def decline_room(room_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1083
|
-
command =
|
1083
|
+
command = make_simple_command(:post, 'rooms/{roomId}/decline', options)
|
1084
1084
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
1085
1085
|
command.response_class = Google::Apis::GamesV1::Room
|
1086
1086
|
command.params['roomId'] = room_id unless room_id.nil?
|
@@ -1115,7 +1115,7 @@ module Google
|
|
1115
1115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1116
1116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1117
1117
|
def dismiss_room(room_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1118
|
-
command =
|
1118
|
+
command = make_simple_command(:post, 'rooms/{roomId}/dismiss', options)
|
1119
1119
|
command.params['roomId'] = room_id unless room_id.nil?
|
1120
1120
|
command.query['fields'] = fields unless fields.nil?
|
1121
1121
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1148,7 +1148,7 @@ module Google
|
|
1148
1148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1149
1149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1150
1150
|
def get_room(room_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1151
|
-
command =
|
1151
|
+
command = make_simple_command(:get, 'rooms/{roomId}', options)
|
1152
1152
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
1153
1153
|
command.response_class = Google::Apis::GamesV1::Room
|
1154
1154
|
command.params['roomId'] = room_id unless room_id.nil?
|
@@ -1186,7 +1186,7 @@ module Google
|
|
1186
1186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
1187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
1188
|
def join_room(room_id, join_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1189
|
-
command =
|
1189
|
+
command = make_simple_command(:post, 'rooms/{roomId}/join', options)
|
1190
1190
|
command.request_representation = Google::Apis::GamesV1::JoinRoomRequest::Representation
|
1191
1191
|
command.request_object = join_room_request_object
|
1192
1192
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
@@ -1226,7 +1226,7 @@ module Google
|
|
1226
1226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1227
1227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1228
1228
|
def leave_room(room_id, leave_room_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1229
|
-
command =
|
1229
|
+
command = make_simple_command(:post, 'rooms/{roomId}/leave', options)
|
1230
1230
|
command.request_representation = Google::Apis::GamesV1::LeaveRoomRequest::Representation
|
1231
1231
|
command.request_object = leave_room_request_object
|
1232
1232
|
command.response_representation = Google::Apis::GamesV1::Room::Representation
|
@@ -1268,7 +1268,7 @@ module Google
|
|
1268
1268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1269
1269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1270
1270
|
def list_rooms(language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1271
|
-
command =
|
1271
|
+
command = make_simple_command(:get, 'rooms', options)
|
1272
1272
|
command.response_representation = Google::Apis::GamesV1::RoomList::Representation
|
1273
1273
|
command.response_class = Google::Apis::GamesV1::RoomList
|
1274
1274
|
command.query['language'] = language unless language.nil?
|
@@ -1307,7 +1307,7 @@ module Google
|
|
1307
1307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1308
1308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1309
1309
|
def report_room_status(room_id, room_p2_p_statuses_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1310
|
-
command =
|
1310
|
+
command = make_simple_command(:post, 'rooms/{roomId}/reportstatus', options)
|
1311
1311
|
command.request_representation = Google::Apis::GamesV1::RoomP2PStatuses::Representation
|
1312
1312
|
command.request_object = room_p2_p_statuses_object
|
1313
1313
|
command.response_representation = Google::Apis::GamesV1::RoomStatus::Representation
|
@@ -1364,7 +1364,7 @@ module Google
|
|
1364
1364
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1365
1365
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1366
1366
|
def get_score(player_id, leaderboard_id, time_span, include_rank_type: nil, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1367
|
-
command =
|
1367
|
+
command = make_simple_command(:get, 'players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}', options)
|
1368
1368
|
command.response_representation = Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse::Representation
|
1369
1369
|
command.response_class = Google::Apis::GamesV1::ListPlayerLeaderboardScoreResponse
|
1370
1370
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -1415,7 +1415,7 @@ module Google
|
|
1415
1415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1416
1416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1417
1417
|
def list_scores(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1418
|
-
command =
|
1418
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}/scores/{collection}', options)
|
1419
1419
|
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
1420
1420
|
command.response_class = Google::Apis::GamesV1::LeaderboardScores
|
1421
1421
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -1473,7 +1473,7 @@ module Google
|
|
1473
1473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1474
1474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1475
1475
|
def list_score_window(leaderboard_id, collection, time_span, language: nil, max_results: nil, page_token: nil, results_above: nil, return_top_if_absent: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1476
|
-
command =
|
1476
|
+
command = make_simple_command(:get, 'leaderboards/{leaderboardId}/window/{collection}', options)
|
1477
1477
|
command.response_representation = Google::Apis::GamesV1::LeaderboardScores::Representation
|
1478
1478
|
command.response_class = Google::Apis::GamesV1::LeaderboardScores
|
1479
1479
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -1525,7 +1525,7 @@ module Google
|
|
1525
1525
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1526
1526
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1527
1527
|
def submit_score(leaderboard_id, score, language: nil, score_tag: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1528
|
-
command =
|
1528
|
+
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores', options)
|
1529
1529
|
command.response_representation = Google::Apis::GamesV1::PlayerScoreResponse::Representation
|
1530
1530
|
command.response_class = Google::Apis::GamesV1::PlayerScoreResponse
|
1531
1531
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
@@ -1562,7 +1562,7 @@ module Google
|
|
1562
1562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1563
1563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1564
1564
|
def submit_score_multiple(player_score_submission_list_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1565
|
-
command =
|
1565
|
+
command = make_simple_command(:post, 'leaderboards/scores', options)
|
1566
1566
|
command.request_representation = Google::Apis::GamesV1::PlayerScoreSubmissionList::Representation
|
1567
1567
|
command.request_object = player_score_submission_list_object
|
1568
1568
|
command.response_representation = Google::Apis::GamesV1::ListPlayerScoreResponse::Representation
|
@@ -1599,7 +1599,7 @@ module Google
|
|
1599
1599
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1600
1600
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1601
1601
|
def get_snapshot(snapshot_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1602
|
-
command =
|
1602
|
+
command = make_simple_command(:get, 'snapshots/{snapshotId}', options)
|
1603
1603
|
command.response_representation = Google::Apis::GamesV1::Snapshot::Representation
|
1604
1604
|
command.response_class = Google::Apis::GamesV1::Snapshot
|
1605
1605
|
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
@@ -1643,7 +1643,7 @@ module Google
|
|
1643
1643
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1644
1644
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1645
1645
|
def list_snapshots(player_id, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1646
|
-
command =
|
1646
|
+
command = make_simple_command(:get, 'players/{playerId}/snapshots', options)
|
1647
1647
|
command.response_representation = Google::Apis::GamesV1::ListSnapshotResponse::Representation
|
1648
1648
|
command.response_class = Google::Apis::GamesV1::ListSnapshotResponse
|
1649
1649
|
command.params['playerId'] = player_id unless player_id.nil?
|
@@ -1679,7 +1679,7 @@ module Google
|
|
1679
1679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1680
1680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1681
1681
|
def cancel_turn_based_match(match_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1682
|
-
command =
|
1682
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/cancel', options)
|
1683
1683
|
command.params['matchId'] = match_id unless match_id.nil?
|
1684
1684
|
command.query['fields'] = fields unless fields.nil?
|
1685
1685
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1711,7 +1711,7 @@ module Google
|
|
1711
1711
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1712
1712
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1713
1713
|
def create_turn_based_match(create_turn_based_match_request_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1714
|
-
command =
|
1714
|
+
command = make_simple_command(:post, 'turnbasedmatches/create', options)
|
1715
1715
|
command.request_representation = Google::Apis::GamesV1::CreateTurnBasedMatchRequest::Representation
|
1716
1716
|
command.request_object = create_turn_based_match_request_object
|
1717
1717
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
@@ -1748,7 +1748,7 @@ module Google
|
|
1748
1748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1749
1749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1750
1750
|
def decline_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1751
|
-
command =
|
1751
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/decline', options)
|
1752
1752
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1753
1753
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1754
1754
|
command.params['matchId'] = match_id unless match_id.nil?
|
@@ -1783,7 +1783,7 @@ module Google
|
|
1783
1783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1784
1784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1785
1785
|
def dismiss_turn_based_match(match_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1786
|
-
command =
|
1786
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/dismiss', options)
|
1787
1787
|
command.params['matchId'] = match_id unless match_id.nil?
|
1788
1788
|
command.query['fields'] = fields unless fields.nil?
|
1789
1789
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1819,7 +1819,7 @@ module Google
|
|
1819
1819
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1820
1820
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1821
1821
|
def finish_turn_based_match(match_id, turn_based_match_results_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1822
|
-
command =
|
1822
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/finish', options)
|
1823
1823
|
command.request_representation = Google::Apis::GamesV1::TurnBasedMatchResults::Representation
|
1824
1824
|
command.request_object = turn_based_match_results_object
|
1825
1825
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
@@ -1859,7 +1859,7 @@ module Google
|
|
1859
1859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1860
1860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1861
1861
|
def get_turn_based_match(match_id, include_match_data: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1862
|
-
command =
|
1862
|
+
command = make_simple_command(:get, 'turnbasedmatches/{matchId}', options)
|
1863
1863
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1864
1864
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1865
1865
|
command.params['matchId'] = match_id unless match_id.nil?
|
@@ -1896,7 +1896,7 @@ module Google
|
|
1896
1896
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1897
1897
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1898
1898
|
def join_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1899
|
-
command =
|
1899
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/join', options)
|
1900
1900
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1901
1901
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1902
1902
|
command.params['matchId'] = match_id unless match_id.nil?
|
@@ -1933,7 +1933,7 @@ module Google
|
|
1933
1933
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1934
1934
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1935
1935
|
def leave_turn_based_match(match_id, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1936
|
-
command =
|
1936
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/leave', options)
|
1937
1937
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1938
1938
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1939
1939
|
command.params['matchId'] = match_id unless match_id.nil?
|
@@ -1977,7 +1977,7 @@ module Google
|
|
1977
1977
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1978
1978
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1979
1979
|
def leave_turn(match_id, match_version, language: nil, pending_participant_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1980
|
-
command =
|
1980
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/leaveTurn', options)
|
1981
1981
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|
1982
1982
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatch
|
1983
1983
|
command.params['matchId'] = match_id unless match_id.nil?
|
@@ -2028,7 +2028,7 @@ module Google
|
|
2028
2028
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2029
2029
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2030
2030
|
def list_turn_based_matches(include_match_data: nil, language: nil, max_completed_matches: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2031
|
-
command =
|
2031
|
+
command = make_simple_command(:get, 'turnbasedmatches', options)
|
2032
2032
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchList::Representation
|
2033
2033
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatchList
|
2034
2034
|
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
@@ -2074,7 +2074,7 @@ module Google
|
|
2074
2074
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2075
2075
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2076
2076
|
def rematch_turn_based_match(match_id, language: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2077
|
-
command =
|
2077
|
+
command = make_simple_command(:post, 'turnbasedmatches/{matchId}/rematch', options)
|
2078
2078
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchRematch::Representation
|
2079
2079
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatchRematch
|
2080
2080
|
command.params['matchId'] = match_id unless match_id.nil?
|
@@ -2126,7 +2126,7 @@ module Google
|
|
2126
2126
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2127
2127
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2128
2128
|
def sync_turn_based_match(include_match_data: nil, language: nil, max_completed_matches: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2129
|
-
command =
|
2129
|
+
command = make_simple_command(:get, 'turnbasedmatches/sync', options)
|
2130
2130
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatchSync::Representation
|
2131
2131
|
command.response_class = Google::Apis::GamesV1::TurnBasedMatchSync
|
2132
2132
|
command.query['includeMatchData'] = include_match_data unless include_match_data.nil?
|
@@ -2166,7 +2166,7 @@ module Google
|
|
2166
2166
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2167
2167
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2168
2168
|
def take_turn(match_id, turn_based_match_turn_object = nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2169
|
-
command =
|
2169
|
+
command = make_simple_command(:put, 'turnbasedmatches/{matchId}/turn', options)
|
2170
2170
|
command.request_representation = Google::Apis::GamesV1::TurnBasedMatchTurn::Representation
|
2171
2171
|
command.request_object = turn_based_match_turn_object
|
2172
2172
|
command.response_representation = Google::Apis::GamesV1::TurnBasedMatch::Representation
|