google-api-client 0.39.2 → 0.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +213 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +46 -4
- data/generated/google/apis/apigee_v1/representations.rb +6 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
- data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
- data/generated/google/apis/cloudasset_v1/service.rb +186 -8
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +15 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +154 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +154 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +227 -163
- data/generated/google/apis/compute_alpha/representations.rb +44 -33
- data/generated/google/apis/compute_alpha/service.rb +194 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +222 -80
- data/generated/google/apis/compute_beta/representations.rb +50 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +152 -55
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +5 -6
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +65 -6
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +363 -5
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1964 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -21
- data/generated/google/apis/dlp_v2/service.rb +79 -142
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -0
- data/generated/google/apis/file_v1beta1/representations.rb +34 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +34 -29
- data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +70 -49
- data/generated/google/apis/healthcare_v1/service.rb +110 -143
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +73 -57
- data/generated/google/apis/healthcare_v1beta1/service.rb +226 -258
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +24 -12
- data/generated/google/apis/iam_v1/service.rb +7 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +60 -17
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +100 -0
- data/generated/google/apis/people_v1/representations.rb +31 -0
- data/generated/google/apis/people_v1/service.rb +96 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -8
- data/generated/google/apis/pubsub_v1/representations.rb +12 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +40 -49
- data/generated/google/apis/run_v1/representations.rb +2 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +32 -10
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -31
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -31
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +89 -31
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -31
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +5 -3
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/games/
|
|
27
27
|
module GamesConfigurationV1configuration
|
|
28
28
|
VERSION = 'V1configuration'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200514'
|
|
30
30
|
|
|
31
31
|
# View and manage your Google Play Developer account
|
|
32
32
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -18,14 +18,16 @@ require 'google/apis/games_management_v1management/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
# Google Play Game
|
|
21
|
+
# Google Play Game Management
|
|
22
22
|
#
|
|
23
|
-
# The Management API
|
|
23
|
+
# The Google Play Game Management API allows developers to manage resources from
|
|
24
|
+
# the Google
|
|
25
|
+
# Play Game service.
|
|
24
26
|
#
|
|
25
|
-
# @see https://developers.google.com/games/
|
|
27
|
+
# @see https://developers.google.com/games/
|
|
26
28
|
module GamesManagementV1management
|
|
27
29
|
VERSION = 'V1management'
|
|
28
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200514'
|
|
29
31
|
|
|
30
32
|
# Create, edit, and delete your Google Play Games activity
|
|
31
33
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
|
@@ -22,12 +22,12 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module GamesManagementV1management
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Achievement reset all response.
|
|
26
26
|
class AchievementResetAllResponse
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
29
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
30
|
-
# string gamesManagement#achievementResetAllResponse
|
|
30
|
+
# string `gamesManagement#achievementResetAllResponse`.
|
|
31
31
|
# Corresponds to the JSON property `kind`
|
|
32
32
|
# @return [String]
|
|
33
33
|
attr_accessor :kind
|
|
@@ -48,7 +48,7 @@ module Google
|
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
#
|
|
51
|
+
#
|
|
52
52
|
class AchievementResetMultipleForAllRequest
|
|
53
53
|
include Google::Apis::Core::Hashable
|
|
54
54
|
|
|
@@ -58,7 +58,7 @@ module Google
|
|
|
58
58
|
attr_accessor :achievement_ids
|
|
59
59
|
|
|
60
60
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
61
|
-
# string gamesManagement#achievementResetMultipleForAllRequest
|
|
61
|
+
# string `gamesManagement#achievementResetMultipleForAllRequest`.
|
|
62
62
|
# Corresponds to the JSON property `kind`
|
|
63
63
|
# @return [String]
|
|
64
64
|
attr_accessor :kind
|
|
@@ -74,16 +74,15 @@ module Google
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
#
|
|
77
|
+
# An achievement reset response.
|
|
78
78
|
class AchievementResetResponse
|
|
79
79
|
include Google::Apis::Core::Hashable
|
|
80
80
|
|
|
81
|
-
# The current state of the achievement.
|
|
82
|
-
# the achievement.
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
# - "UNLOCKED" - Achievement is unlocked.
|
|
81
|
+
# The current state of the achievement. This is the same as the initial
|
|
82
|
+
# state of the achievement. <br/>Possible values are: <ul>
|
|
83
|
+
# <li>"`HIDDEN`"- Achievement is hidden.</li>
|
|
84
|
+
# <li>"`REVEALED`" - Achievement is revealed.</li>
|
|
85
|
+
# <li>"`UNLOCKED`" - Achievement is unlocked.</li> </ul>
|
|
87
86
|
# Corresponds to the JSON property `currentState`
|
|
88
87
|
# @return [String]
|
|
89
88
|
attr_accessor :current_state
|
|
@@ -94,7 +93,7 @@ module Google
|
|
|
94
93
|
attr_accessor :definition_id
|
|
95
94
|
|
|
96
95
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
97
|
-
# string gamesManagement#achievementResetResponse
|
|
96
|
+
# string `gamesManagement#achievementResetResponse`.
|
|
98
97
|
# Corresponds to the JSON property `kind`
|
|
99
98
|
# @return [String]
|
|
100
99
|
attr_accessor :kind
|
|
@@ -118,7 +117,7 @@ module Google
|
|
|
118
117
|
end
|
|
119
118
|
end
|
|
120
119
|
|
|
121
|
-
#
|
|
120
|
+
# Multiple events reset all request.
|
|
122
121
|
class EventsResetMultipleForAllRequest
|
|
123
122
|
include Google::Apis::Core::Hashable
|
|
124
123
|
|
|
@@ -128,7 +127,7 @@ module Google
|
|
|
128
127
|
attr_accessor :event_ids
|
|
129
128
|
|
|
130
129
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
131
|
-
# string gamesManagement#eventsResetMultipleForAllRequest
|
|
130
|
+
# string `gamesManagement#eventsResetMultipleForAllRequest`.
|
|
132
131
|
# Corresponds to the JSON property `kind`
|
|
133
132
|
# @return [String]
|
|
134
133
|
attr_accessor :kind
|
|
@@ -144,35 +143,7 @@ module Google
|
|
|
144
143
|
end
|
|
145
144
|
end
|
|
146
145
|
|
|
147
|
-
#
|
|
148
|
-
# currently authenticated user.
|
|
149
|
-
class GamesPlayedResource
|
|
150
|
-
include Google::Apis::Core::Hashable
|
|
151
|
-
|
|
152
|
-
# True if the player was auto-matched with the currently authenticated user.
|
|
153
|
-
# Corresponds to the JSON property `autoMatched`
|
|
154
|
-
# @return [Boolean]
|
|
155
|
-
attr_accessor :auto_matched
|
|
156
|
-
alias_method :auto_matched?, :auto_matched
|
|
157
|
-
|
|
158
|
-
# The last time the player played the game in milliseconds since the epoch in
|
|
159
|
-
# UTC.
|
|
160
|
-
# Corresponds to the JSON property `timeMillis`
|
|
161
|
-
# @return [Fixnum]
|
|
162
|
-
attr_accessor :time_millis
|
|
163
|
-
|
|
164
|
-
def initialize(**args)
|
|
165
|
-
update!(**args)
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
# Update properties of this object
|
|
169
|
-
def update!(**args)
|
|
170
|
-
@auto_matched = args[:auto_matched] if args.key?(:auto_matched)
|
|
171
|
-
@time_millis = args[:time_millis] if args.key?(:time_millis)
|
|
172
|
-
end
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
# This is a JSON template for 1P/3P metadata about the player's experience.
|
|
146
|
+
# 1P/3P metadata about the player's experience.
|
|
176
147
|
class GamesPlayerExperienceInfoResource
|
|
177
148
|
include Google::Apis::Core::Hashable
|
|
178
149
|
|
|
@@ -181,17 +152,18 @@ module Google
|
|
|
181
152
|
# @return [Fixnum]
|
|
182
153
|
attr_accessor :current_experience_points
|
|
183
154
|
|
|
184
|
-
#
|
|
155
|
+
# 1P/3P metadata about a user's level.
|
|
185
156
|
# Corresponds to the JSON property `currentLevel`
|
|
186
157
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
|
187
158
|
attr_accessor :current_level
|
|
188
159
|
|
|
189
|
-
# The timestamp when the player was leveled up, in millis since Unix epoch
|
|
160
|
+
# The timestamp when the player was leveled up, in millis since Unix epoch
|
|
161
|
+
# UTC.
|
|
190
162
|
# Corresponds to the JSON property `lastLevelUpTimestampMillis`
|
|
191
163
|
# @return [Fixnum]
|
|
192
164
|
attr_accessor :last_level_up_timestamp_millis
|
|
193
165
|
|
|
194
|
-
#
|
|
166
|
+
# 1P/3P metadata about a user's level.
|
|
195
167
|
# Corresponds to the JSON property `nextLevel`
|
|
196
168
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
|
197
169
|
attr_accessor :next_level
|
|
@@ -209,7 +181,7 @@ module Google
|
|
|
209
181
|
end
|
|
210
182
|
end
|
|
211
183
|
|
|
212
|
-
#
|
|
184
|
+
# 1P/3P metadata about a user's level.
|
|
213
185
|
class GamesPlayerLevelResource
|
|
214
186
|
include Google::Apis::Core::Hashable
|
|
215
187
|
|
|
@@ -240,22 +212,23 @@ module Google
|
|
|
240
212
|
end
|
|
241
213
|
end
|
|
242
214
|
|
|
243
|
-
#
|
|
215
|
+
# The HiddenPlayer resource.
|
|
244
216
|
class HiddenPlayer
|
|
245
217
|
include Google::Apis::Core::Hashable
|
|
246
218
|
|
|
247
|
-
# The time this player was hidden.
|
|
219
|
+
# Output only. The time this player was hidden.
|
|
248
220
|
# Corresponds to the JSON property `hiddenTimeMillis`
|
|
249
221
|
# @return [Fixnum]
|
|
250
222
|
attr_accessor :hidden_time_millis
|
|
251
223
|
|
|
252
|
-
# Uniquely identifies the type of this resource. Value is always
|
|
253
|
-
#
|
|
224
|
+
# Output only. Uniquely identifies the type of this resource. Value is always
|
|
225
|
+
# the fixed
|
|
226
|
+
# string `gamesManagement#hiddenPlayer`.
|
|
254
227
|
# Corresponds to the JSON property `kind`
|
|
255
228
|
# @return [String]
|
|
256
229
|
attr_accessor :kind
|
|
257
230
|
|
|
258
|
-
#
|
|
231
|
+
# A Player resource.
|
|
259
232
|
# Corresponds to the JSON property `player`
|
|
260
233
|
# @return [Google::Apis::GamesManagementV1management::Player]
|
|
261
234
|
attr_accessor :player
|
|
@@ -272,7 +245,7 @@ module Google
|
|
|
272
245
|
end
|
|
273
246
|
end
|
|
274
247
|
|
|
275
|
-
#
|
|
248
|
+
# A list of hidden players.
|
|
276
249
|
class HiddenPlayerList
|
|
277
250
|
include Google::Apis::Core::Hashable
|
|
278
251
|
|
|
@@ -282,7 +255,7 @@ module Google
|
|
|
282
255
|
attr_accessor :items
|
|
283
256
|
|
|
284
257
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
285
|
-
# string gamesManagement#hiddenPlayerList
|
|
258
|
+
# string `gamesManagement#hiddenPlayerList`.
|
|
286
259
|
# Corresponds to the JSON property `kind`
|
|
287
260
|
# @return [String]
|
|
288
261
|
attr_accessor :kind
|
|
@@ -304,7 +277,7 @@ module Google
|
|
|
304
277
|
end
|
|
305
278
|
end
|
|
306
279
|
|
|
307
|
-
#
|
|
280
|
+
# A Player resource.
|
|
308
281
|
class Player
|
|
309
282
|
include Google::Apis::Core::Hashable
|
|
310
283
|
|
|
@@ -328,29 +301,17 @@ module Google
|
|
|
328
301
|
# @return [String]
|
|
329
302
|
attr_accessor :display_name
|
|
330
303
|
|
|
331
|
-
#
|
|
304
|
+
# 1P/3P metadata about the player's experience.
|
|
332
305
|
# Corresponds to the JSON property `experienceInfo`
|
|
333
306
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource]
|
|
334
307
|
attr_accessor :experience_info
|
|
335
308
|
|
|
336
|
-
# The friend status of the given player, relative to the requester. This is
|
|
337
|
-
# unset if the player is not sharing their friends list with the game.
|
|
338
|
-
# Corresponds to the JSON property `friendStatus`
|
|
339
|
-
# @return [String]
|
|
340
|
-
attr_accessor :friend_status
|
|
341
|
-
|
|
342
309
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
343
|
-
# string gamesManagement#player
|
|
310
|
+
# string `gamesManagement#player`.
|
|
344
311
|
# Corresponds to the JSON property `kind`
|
|
345
312
|
# @return [String]
|
|
346
313
|
attr_accessor :kind
|
|
347
314
|
|
|
348
|
-
# This is a JSON template for metadata about a player playing a game with the
|
|
349
|
-
# currently authenticated user.
|
|
350
|
-
# Corresponds to the JSON property `lastPlayedWith`
|
|
351
|
-
# @return [Google::Apis::GamesManagementV1management::GamesPlayedResource]
|
|
352
|
-
attr_accessor :last_played_with
|
|
353
|
-
|
|
354
315
|
# An object representation of the individual components of the player's name.
|
|
355
316
|
# For some players, these fields may not be present.
|
|
356
317
|
# Corresponds to the JSON property `name`
|
|
@@ -358,9 +319,9 @@ module Google
|
|
|
358
319
|
attr_accessor :name
|
|
359
320
|
|
|
360
321
|
# The player ID that was used for this player the first time they signed into
|
|
361
|
-
# the game in question. This is only populated for calls to player.get for
|
|
362
|
-
# requesting player, only if the player ID has subsequently changed, and
|
|
363
|
-
# clients that support remapping player IDs.
|
|
322
|
+
# the game in question. This is only populated for calls to player.get for
|
|
323
|
+
# the requesting player, only if the player ID has subsequently changed, and
|
|
324
|
+
# only to clients that support remapping player IDs.
|
|
364
325
|
# Corresponds to the JSON property `originalPlayerId`
|
|
365
326
|
# @return [String]
|
|
366
327
|
attr_accessor :original_player_id
|
|
@@ -370,7 +331,7 @@ module Google
|
|
|
370
331
|
# @return [String]
|
|
371
332
|
attr_accessor :player_id
|
|
372
333
|
|
|
373
|
-
#
|
|
334
|
+
# Profile settings
|
|
374
335
|
# Corresponds to the JSON property `profileSettings`
|
|
375
336
|
# @return [Google::Apis::GamesManagementV1management::ProfileSettings]
|
|
376
337
|
attr_accessor :profile_settings
|
|
@@ -391,9 +352,7 @@ module Google
|
|
|
391
352
|
@banner_url_portrait = args[:banner_url_portrait] if args.key?(:banner_url_portrait)
|
|
392
353
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
393
354
|
@experience_info = args[:experience_info] if args.key?(:experience_info)
|
|
394
|
-
@friend_status = args[:friend_status] if args.key?(:friend_status)
|
|
395
355
|
@kind = args[:kind] if args.key?(:kind)
|
|
396
|
-
@last_played_with = args[:last_played_with] if args.key?(:last_played_with)
|
|
397
356
|
@name = args[:name] if args.key?(:name)
|
|
398
357
|
@original_player_id = args[:original_player_id] if args.key?(:original_player_id)
|
|
399
358
|
@player_id = args[:player_id] if args.key?(:player_id)
|
|
@@ -406,12 +365,14 @@ module Google
|
|
|
406
365
|
class Name
|
|
407
366
|
include Google::Apis::Core::Hashable
|
|
408
367
|
|
|
409
|
-
# The family name of this player. In some places, this is known as the last
|
|
368
|
+
# The family name of this player. In some places, this is known as the last
|
|
369
|
+
# name.
|
|
410
370
|
# Corresponds to the JSON property `familyName`
|
|
411
371
|
# @return [String]
|
|
412
372
|
attr_accessor :family_name
|
|
413
373
|
|
|
414
|
-
# The given name of this player. In some places, this is known as the first
|
|
374
|
+
# The given name of this player. In some places, this is known as the first
|
|
375
|
+
# name.
|
|
415
376
|
# Corresponds to the JSON property `givenName`
|
|
416
377
|
# @return [String]
|
|
417
378
|
attr_accessor :given_name
|
|
@@ -428,12 +389,12 @@ module Google
|
|
|
428
389
|
end
|
|
429
390
|
end
|
|
430
391
|
|
|
431
|
-
#
|
|
392
|
+
# A list of leaderboard reset resources.
|
|
432
393
|
class PlayerScoreResetAllResponse
|
|
433
394
|
include Google::Apis::Core::Hashable
|
|
434
395
|
|
|
435
396
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
436
|
-
# string gamesManagement#
|
|
397
|
+
# string `gamesManagement#playerScoreResetAllResponse`.
|
|
437
398
|
# Corresponds to the JSON property `kind`
|
|
438
399
|
# @return [String]
|
|
439
400
|
attr_accessor :kind
|
|
@@ -454,7 +415,7 @@ module Google
|
|
|
454
415
|
end
|
|
455
416
|
end
|
|
456
417
|
|
|
457
|
-
#
|
|
418
|
+
# A list of reset leaderboard entry resources.
|
|
458
419
|
class PlayerScoreResetResponse
|
|
459
420
|
include Google::Apis::Core::Hashable
|
|
460
421
|
|
|
@@ -464,16 +425,15 @@ module Google
|
|
|
464
425
|
attr_accessor :definition_id
|
|
465
426
|
|
|
466
427
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
467
|
-
# string gamesManagement#playerScoreResetResponse
|
|
428
|
+
# string `gamesManagement#playerScoreResetResponse`.
|
|
468
429
|
# Corresponds to the JSON property `kind`
|
|
469
430
|
# @return [String]
|
|
470
431
|
attr_accessor :kind
|
|
471
432
|
|
|
472
|
-
# The time spans of the updated score.
|
|
473
|
-
#
|
|
474
|
-
#
|
|
475
|
-
#
|
|
476
|
-
# - "DAILY" - The score is a daily score.
|
|
433
|
+
# The time spans of the updated score. <br/>Possible values are: <ul>
|
|
434
|
+
# <li>"`ALL_TIME`" - The score is an all-time score.</li>
|
|
435
|
+
# <li>"`WEEKLY`" - The score is a weekly score.</li>
|
|
436
|
+
# <li>"`DAILY`" - The score is a daily score.</li> </ul>
|
|
477
437
|
# Corresponds to the JSON property `resetScoreTimeSpans`
|
|
478
438
|
# @return [Array<String>]
|
|
479
439
|
attr_accessor :reset_score_time_spans
|
|
@@ -490,12 +450,12 @@ module Google
|
|
|
490
450
|
end
|
|
491
451
|
end
|
|
492
452
|
|
|
493
|
-
#
|
|
453
|
+
# Profile settings
|
|
494
454
|
class ProfileSettings
|
|
495
455
|
include Google::Apis::Core::Hashable
|
|
496
456
|
|
|
497
457
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
498
|
-
# string gamesManagement#profileSettings
|
|
458
|
+
# string `gamesManagement#profileSettings`.
|
|
499
459
|
# Corresponds to the JSON property `kind`
|
|
500
460
|
# @return [String]
|
|
501
461
|
attr_accessor :kind
|
|
@@ -517,12 +477,12 @@ module Google
|
|
|
517
477
|
end
|
|
518
478
|
end
|
|
519
479
|
|
|
520
|
-
#
|
|
480
|
+
#
|
|
521
481
|
class ScoresResetMultipleForAllRequest
|
|
522
482
|
include Google::Apis::Core::Hashable
|
|
523
483
|
|
|
524
484
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
|
525
|
-
# string gamesManagement#scoresResetMultipleForAllRequest
|
|
485
|
+
# string `gamesManagement#scoresResetMultipleForAllRequest`.
|
|
526
486
|
# Corresponds to the JSON property `kind`
|
|
527
487
|
# @return [String]
|
|
528
488
|
attr_accessor :kind
|
|
@@ -46,12 +46,6 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
class GamesPlayedResource
|
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
-
|
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
-
end
|
|
54
|
-
|
|
55
49
|
class GamesPlayerExperienceInfoResource
|
|
56
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
51
|
|
|
@@ -147,14 +141,6 @@ module Google
|
|
|
147
141
|
end
|
|
148
142
|
end
|
|
149
143
|
|
|
150
|
-
class GamesPlayedResource
|
|
151
|
-
# @private
|
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
153
|
-
property :auto_matched, as: 'autoMatched'
|
|
154
|
-
property :time_millis, :numeric_string => true, as: 'timeMillis'
|
|
155
|
-
end
|
|
156
|
-
end
|
|
157
|
-
|
|
158
144
|
class GamesPlayerExperienceInfoResource
|
|
159
145
|
# @private
|
|
160
146
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -205,10 +191,7 @@ module Google
|
|
|
205
191
|
property :display_name, as: 'displayName'
|
|
206
192
|
property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource::Representation
|
|
207
193
|
|
|
208
|
-
property :friend_status, as: 'friendStatus'
|
|
209
194
|
property :kind, as: 'kind'
|
|
210
|
-
property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesManagementV1management::GamesPlayedResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayedResource::Representation
|
|
211
|
-
|
|
212
195
|
property :name, as: 'name', class: Google::Apis::GamesManagementV1management::Player::Name, decorator: Google::Apis::GamesManagementV1management::Player::Name::Representation
|
|
213
196
|
|
|
214
197
|
property :original_player_id, as: 'originalPlayerId'
|
|
@@ -20,9 +20,11 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module GamesManagementV1management
|
|
23
|
-
# Google Play Game
|
|
23
|
+
# Google Play Game Management
|
|
24
24
|
#
|
|
25
|
-
# The Management API
|
|
25
|
+
# The Google Play Game Management API allows developers to manage resources from
|
|
26
|
+
# the Google
|
|
27
|
+
# Play Game service.
|
|
26
28
|
#
|
|
27
29
|
# @example
|
|
28
30
|
# require 'google/apis/games_management_v1management'
|
|
@@ -30,7 +32,7 @@ module Google
|
|
|
30
32
|
# GamesManagement = Google::Apis::GamesManagementV1management # Alias the module
|
|
31
33
|
# service = GamesManagement::GamesManagementService.new
|
|
32
34
|
#
|
|
33
|
-
# @see https://developers.google.com/games/
|
|
35
|
+
# @see https://developers.google.com/games/
|
|
34
36
|
class GamesManagementService < Google::Apis::Core::BaseService
|
|
35
37
|
# @return [String]
|
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
|
@@ -38,31 +40,25 @@ module Google
|
|
|
38
40
|
attr_accessor :key
|
|
39
41
|
|
|
40
42
|
# @return [String]
|
|
41
|
-
#
|
|
42
|
-
# characters.
|
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
43
45
|
attr_accessor :quota_user
|
|
44
46
|
|
|
45
|
-
# @return [String]
|
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
|
47
|
-
attr_accessor :user_ip
|
|
48
|
-
|
|
49
47
|
def initialize
|
|
50
|
-
super('https://www.googleapis.com/', '
|
|
51
|
-
@batch_path = 'batch/
|
|
48
|
+
super('https://www.googleapis.com/', '')
|
|
49
|
+
@batch_path = 'batch/games/v1management'
|
|
52
50
|
end
|
|
53
51
|
|
|
54
52
|
# Resets the achievement with the given ID for the currently authenticated
|
|
55
|
-
# player. This method is only accessible to whitelisted tester accounts for
|
|
56
|
-
# application.
|
|
53
|
+
# player. This method is only accessible to whitelisted tester accounts for
|
|
54
|
+
# your application.
|
|
57
55
|
# @param [String] achievement_id
|
|
58
56
|
# The ID of the achievement used by this method.
|
|
59
57
|
# @param [String] fields
|
|
60
58
|
# Selector specifying which fields to include in a partial response.
|
|
61
59
|
# @param [String] quota_user
|
|
62
|
-
#
|
|
63
|
-
# characters.
|
|
64
|
-
# @param [String] user_ip
|
|
65
|
-
# Deprecated. Please use quotaUser instead.
|
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
66
62
|
# @param [Google::Apis::RequestOptions] options
|
|
67
63
|
# Request-specific options
|
|
68
64
|
#
|
|
@@ -75,27 +71,24 @@ module Google
|
|
|
75
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
76
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
77
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
78
|
-
def reset_achievement(achievement_id, fields: nil, quota_user: nil,
|
|
79
|
-
command = make_simple_command(:post, 'achievements/{achievementId}/reset', options)
|
|
74
|
+
def reset_achievement(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
+
command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/reset', options)
|
|
80
76
|
command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetResponse::Representation
|
|
81
77
|
command.response_class = Google::Apis::GamesManagementV1management::AchievementResetResponse
|
|
82
78
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
|
83
79
|
command.query['fields'] = fields unless fields.nil?
|
|
84
80
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
85
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
86
81
|
execute_or_queue_command(command, &block)
|
|
87
82
|
end
|
|
88
83
|
|
|
89
84
|
# Resets all achievements for the currently authenticated player for your
|
|
90
|
-
# application. This method is only accessible to whitelisted tester accounts
|
|
91
|
-
# your application.
|
|
85
|
+
# application. This method is only accessible to whitelisted tester accounts
|
|
86
|
+
# for your application.
|
|
92
87
|
# @param [String] fields
|
|
93
88
|
# Selector specifying which fields to include in a partial response.
|
|
94
89
|
# @param [String] quota_user
|
|
95
|
-
#
|
|
96
|
-
# characters.
|
|
97
|
-
# @param [String] user_ip
|
|
98
|
-
# Deprecated. Please use quotaUser instead.
|
|
90
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
91
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
99
92
|
# @param [Google::Apis::RequestOptions] options
|
|
100
93
|
# Request-specific options
|
|
101
94
|
#
|
|
@@ -108,25 +101,22 @@ module Google
|
|
|
108
101
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
109
102
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
110
103
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
111
|
-
def reset_achievement_all(fields: nil, quota_user: nil,
|
|
112
|
-
command = make_simple_command(:post, 'achievements/reset', options)
|
|
104
|
+
def reset_achievement_all(fields: nil, quota_user: nil, options: nil, &block)
|
|
105
|
+
command = make_simple_command(:post, 'games/v1management/achievements/reset', options)
|
|
113
106
|
command.response_representation = Google::Apis::GamesManagementV1management::AchievementResetAllResponse::Representation
|
|
114
107
|
command.response_class = Google::Apis::GamesManagementV1management::AchievementResetAllResponse
|
|
115
108
|
command.query['fields'] = fields unless fields.nil?
|
|
116
109
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
117
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
118
110
|
execute_or_queue_command(command, &block)
|
|
119
111
|
end
|
|
120
112
|
|
|
121
|
-
# Resets all draft achievements for all players. This method is only
|
|
122
|
-
# to user accounts for your developer console.
|
|
113
|
+
# Resets all draft achievements for all players. This method is only
|
|
114
|
+
# available to user accounts for your developer console.
|
|
123
115
|
# @param [String] fields
|
|
124
116
|
# Selector specifying which fields to include in a partial response.
|
|
125
117
|
# @param [String] quota_user
|
|
126
|
-
#
|
|
127
|
-
# characters.
|
|
128
|
-
# @param [String] user_ip
|
|
129
|
-
# Deprecated. Please use quotaUser instead.
|
|
118
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
119
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
130
120
|
# @param [Google::Apis::RequestOptions] options
|
|
131
121
|
# Request-specific options
|
|
132
122
|
#
|
|
@@ -139,26 +129,23 @@ module Google
|
|
|
139
129
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
140
130
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
141
131
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
142
|
-
def reset_achievement_all_for_all_players(fields: nil, quota_user: nil,
|
|
143
|
-
command = make_simple_command(:post, 'achievements/resetAllForAllPlayers', options)
|
|
132
|
+
def reset_achievement_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
|
|
133
|
+
command = make_simple_command(:post, 'games/v1management/achievements/resetAllForAllPlayers', options)
|
|
144
134
|
command.query['fields'] = fields unless fields.nil?
|
|
145
135
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
146
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
147
136
|
execute_or_queue_command(command, &block)
|
|
148
137
|
end
|
|
149
138
|
|
|
150
|
-
# Resets the achievement with the given ID for all players. This method is
|
|
151
|
-
# available to user accounts for your developer console. Only draft
|
|
152
|
-
# can be reset.
|
|
139
|
+
# Resets the achievement with the given ID for all players. This method is
|
|
140
|
+
# only available to user accounts for your developer console. Only draft
|
|
141
|
+
# achievements can be reset.
|
|
153
142
|
# @param [String] achievement_id
|
|
154
143
|
# The ID of the achievement used by this method.
|
|
155
144
|
# @param [String] fields
|
|
156
145
|
# Selector specifying which fields to include in a partial response.
|
|
157
146
|
# @param [String] quota_user
|
|
158
|
-
#
|
|
159
|
-
# characters.
|
|
160
|
-
# @param [String] user_ip
|
|
161
|
-
# Deprecated. Please use quotaUser instead.
|
|
147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
162
149
|
# @param [Google::Apis::RequestOptions] options
|
|
163
150
|
# Request-specific options
|
|
164
151
|
#
|
|
@@ -171,26 +158,23 @@ module Google
|
|
|
171
158
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
172
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
173
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
174
|
-
def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil,
|
|
175
|
-
command = make_simple_command(:post, 'achievements/{achievementId}/resetForAllPlayers', options)
|
|
161
|
+
def reset_achievement_for_all_players(achievement_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
162
|
+
command = make_simple_command(:post, 'games/v1management/achievements/{achievementId}/resetForAllPlayers', options)
|
|
176
163
|
command.params['achievementId'] = achievement_id unless achievement_id.nil?
|
|
177
164
|
command.query['fields'] = fields unless fields.nil?
|
|
178
165
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
179
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
180
166
|
execute_or_queue_command(command, &block)
|
|
181
167
|
end
|
|
182
168
|
|
|
183
169
|
# Resets achievements with the given IDs for all players. This method is only
|
|
184
|
-
# available to user accounts for your developer console. Only draft
|
|
185
|
-
# may be reset.
|
|
170
|
+
# available to user accounts for your developer console. Only draft
|
|
171
|
+
# achievements may be reset.
|
|
186
172
|
# @param [Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest] achievement_reset_multiple_for_all_request_object
|
|
187
173
|
# @param [String] fields
|
|
188
174
|
# Selector specifying which fields to include in a partial response.
|
|
189
175
|
# @param [String] quota_user
|
|
190
|
-
#
|
|
191
|
-
# characters.
|
|
192
|
-
# @param [String] user_ip
|
|
193
|
-
# Deprecated. Please use quotaUser instead.
|
|
176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
194
178
|
# @param [Google::Apis::RequestOptions] options
|
|
195
179
|
# Request-specific options
|
|
196
180
|
#
|
|
@@ -203,33 +187,30 @@ module Google
|
|
|
203
187
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
204
188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
205
189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
206
|
-
def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil,
|
|
207
|
-
command = make_simple_command(:post, 'achievements/resetMultipleForAllPlayers', options)
|
|
190
|
+
def reset_achievement_multiple_for_all_players(achievement_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
191
|
+
command = make_simple_command(:post, 'games/v1management/achievements/resetMultipleForAllPlayers', options)
|
|
208
192
|
command.request_representation = Google::Apis::GamesManagementV1management::AchievementResetMultipleForAllRequest::Representation
|
|
209
193
|
command.request_object = achievement_reset_multiple_for_all_request_object
|
|
210
194
|
command.query['fields'] = fields unless fields.nil?
|
|
211
195
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
212
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
213
196
|
execute_or_queue_command(command, &block)
|
|
214
197
|
end
|
|
215
198
|
|
|
216
|
-
# Get the list of players hidden from the given application. This method is
|
|
217
|
-
# available to user accounts for your developer console.
|
|
199
|
+
# Get the list of players hidden from the given application. This method is
|
|
200
|
+
# only available to user accounts for your developer console.
|
|
218
201
|
# @param [String] application_id
|
|
219
202
|
# The application ID from the Google Play developer console.
|
|
220
203
|
# @param [Fixnum] max_results
|
|
221
204
|
# The maximum number of player resources to return in the response, used for
|
|
222
|
-
# paging. For any response, the actual number of player resources returned
|
|
223
|
-
# be less than the specified maxResults
|
|
205
|
+
# paging. For any response, the actual number of player resources returned
|
|
206
|
+
# may be less than the specified `maxResults`.
|
|
224
207
|
# @param [String] page_token
|
|
225
208
|
# The token returned by the previous request.
|
|
226
209
|
# @param [String] fields
|
|
227
210
|
# Selector specifying which fields to include in a partial response.
|
|
228
211
|
# @param [String] quota_user
|
|
229
|
-
#
|
|
230
|
-
# characters.
|
|
231
|
-
# @param [String] user_ip
|
|
232
|
-
# Deprecated. Please use quotaUser instead.
|
|
212
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
213
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
233
214
|
# @param [Google::Apis::RequestOptions] options
|
|
234
215
|
# Request-specific options
|
|
235
216
|
#
|
|
@@ -242,8 +223,8 @@ module Google
|
|
|
242
223
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
243
224
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
244
225
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
245
|
-
def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
246
|
-
command = make_simple_command(:get, 'applications/{applicationId}/players/hidden', options)
|
|
226
|
+
def list_application_hidden(application_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
227
|
+
command = make_simple_command(:get, 'games/v1management/applications/{applicationId}/players/hidden', options)
|
|
247
228
|
command.response_representation = Google::Apis::GamesManagementV1management::HiddenPlayerList::Representation
|
|
248
229
|
command.response_class = Google::Apis::GamesManagementV1management::HiddenPlayerList
|
|
249
230
|
command.params['applicationId'] = application_id unless application_id.nil?
|
|
@@ -251,7 +232,6 @@ module Google
|
|
|
251
232
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
252
233
|
command.query['fields'] = fields unless fields.nil?
|
|
253
234
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
254
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
255
235
|
execute_or_queue_command(command, &block)
|
|
256
236
|
end
|
|
257
237
|
|
|
@@ -263,10 +243,8 @@ module Google
|
|
|
263
243
|
# @param [String] fields
|
|
264
244
|
# Selector specifying which fields to include in a partial response.
|
|
265
245
|
# @param [String] quota_user
|
|
266
|
-
#
|
|
267
|
-
# characters.
|
|
268
|
-
# @param [String] user_ip
|
|
269
|
-
# Deprecated. Please use quotaUser instead.
|
|
246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
270
248
|
# @param [Google::Apis::RequestOptions] options
|
|
271
249
|
# Request-specific options
|
|
272
250
|
#
|
|
@@ -279,25 +257,22 @@ module Google
|
|
|
279
257
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
280
258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
281
259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
282
|
-
def reset_event(event_id, fields: nil, quota_user: nil,
|
|
283
|
-
command = make_simple_command(:post, 'events/{eventId}/reset', options)
|
|
260
|
+
def reset_event(event_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
261
|
+
command = make_simple_command(:post, 'games/v1management/events/{eventId}/reset', options)
|
|
284
262
|
command.params['eventId'] = event_id unless event_id.nil?
|
|
285
263
|
command.query['fields'] = fields unless fields.nil?
|
|
286
264
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
287
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
288
265
|
execute_or_queue_command(command, &block)
|
|
289
266
|
end
|
|
290
267
|
|
|
291
268
|
# Resets all player progress on all events for the currently authenticated
|
|
292
|
-
# player. This method is only accessible to whitelisted tester accounts for
|
|
293
|
-
# application.
|
|
269
|
+
# player. This method is only accessible to whitelisted tester accounts for
|
|
270
|
+
# your application.
|
|
294
271
|
# @param [String] fields
|
|
295
272
|
# Selector specifying which fields to include in a partial response.
|
|
296
273
|
# @param [String] quota_user
|
|
297
|
-
#
|
|
298
|
-
# characters.
|
|
299
|
-
# @param [String] user_ip
|
|
300
|
-
# Deprecated. Please use quotaUser instead.
|
|
274
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
275
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
301
276
|
# @param [Google::Apis::RequestOptions] options
|
|
302
277
|
# Request-specific options
|
|
303
278
|
#
|
|
@@ -310,23 +285,20 @@ module Google
|
|
|
310
285
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
311
286
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
312
287
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
313
|
-
def reset_event_all(fields: nil, quota_user: nil,
|
|
314
|
-
command = make_simple_command(:post, 'events/reset', options)
|
|
288
|
+
def reset_event_all(fields: nil, quota_user: nil, options: nil, &block)
|
|
289
|
+
command = make_simple_command(:post, 'games/v1management/events/reset', options)
|
|
315
290
|
command.query['fields'] = fields unless fields.nil?
|
|
316
291
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
317
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
318
292
|
execute_or_queue_command(command, &block)
|
|
319
293
|
end
|
|
320
294
|
|
|
321
|
-
# Resets all draft events for all players. This method is only available to
|
|
322
|
-
# accounts for your developer console.
|
|
295
|
+
# Resets all draft events for all players. This method is only available to
|
|
296
|
+
# user accounts for your developer console.
|
|
323
297
|
# @param [String] fields
|
|
324
298
|
# Selector specifying which fields to include in a partial response.
|
|
325
299
|
# @param [String] quota_user
|
|
326
|
-
#
|
|
327
|
-
# characters.
|
|
328
|
-
# @param [String] user_ip
|
|
329
|
-
# Deprecated. Please use quotaUser instead.
|
|
300
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
301
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
330
302
|
# @param [Google::Apis::RequestOptions] options
|
|
331
303
|
# Request-specific options
|
|
332
304
|
#
|
|
@@ -339,26 +311,23 @@ module Google
|
|
|
339
311
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
340
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
341
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
342
|
-
def reset_event_all_for_all_players(fields: nil, quota_user: nil,
|
|
343
|
-
command = make_simple_command(:post, 'events/resetAllForAllPlayers', options)
|
|
314
|
+
def reset_event_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
|
|
315
|
+
command = make_simple_command(:post, 'games/v1management/events/resetAllForAllPlayers', options)
|
|
344
316
|
command.query['fields'] = fields unless fields.nil?
|
|
345
317
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
346
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
347
318
|
execute_or_queue_command(command, &block)
|
|
348
319
|
end
|
|
349
320
|
|
|
350
321
|
# Resets the event with the given ID for all players. This method is only
|
|
351
|
-
# available to user accounts for your developer console. Only draft events
|
|
352
|
-
# be reset.
|
|
322
|
+
# available to user accounts for your developer console. Only draft events
|
|
323
|
+
# can be reset.
|
|
353
324
|
# @param [String] event_id
|
|
354
325
|
# The ID of the event.
|
|
355
326
|
# @param [String] fields
|
|
356
327
|
# Selector specifying which fields to include in a partial response.
|
|
357
328
|
# @param [String] quota_user
|
|
358
|
-
#
|
|
359
|
-
# characters.
|
|
360
|
-
# @param [String] user_ip
|
|
361
|
-
# Deprecated. Please use quotaUser instead.
|
|
329
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
330
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
362
331
|
# @param [Google::Apis::RequestOptions] options
|
|
363
332
|
# Request-specific options
|
|
364
333
|
#
|
|
@@ -371,26 +340,23 @@ module Google
|
|
|
371
340
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
372
341
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
373
342
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
374
|
-
def reset_event_for_all_players(event_id, fields: nil, quota_user: nil,
|
|
375
|
-
command = make_simple_command(:post, 'events/{eventId}/resetForAllPlayers', options)
|
|
343
|
+
def reset_event_for_all_players(event_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
344
|
+
command = make_simple_command(:post, 'games/v1management/events/{eventId}/resetForAllPlayers', options)
|
|
376
345
|
command.params['eventId'] = event_id unless event_id.nil?
|
|
377
346
|
command.query['fields'] = fields unless fields.nil?
|
|
378
347
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
379
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
380
348
|
execute_or_queue_command(command, &block)
|
|
381
349
|
end
|
|
382
350
|
|
|
383
351
|
# Resets events with the given IDs for all players. This method is only
|
|
384
|
-
# available to user accounts for your developer console. Only draft events
|
|
385
|
-
# be reset.
|
|
352
|
+
# available to user accounts for your developer console. Only draft events
|
|
353
|
+
# may be reset.
|
|
386
354
|
# @param [Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest] events_reset_multiple_for_all_request_object
|
|
387
355
|
# @param [String] fields
|
|
388
356
|
# Selector specifying which fields to include in a partial response.
|
|
389
357
|
# @param [String] quota_user
|
|
390
|
-
#
|
|
391
|
-
# characters.
|
|
392
|
-
# @param [String] user_ip
|
|
393
|
-
# Deprecated. Please use quotaUser instead.
|
|
358
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
359
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
394
360
|
# @param [Google::Apis::RequestOptions] options
|
|
395
361
|
# Request-specific options
|
|
396
362
|
#
|
|
@@ -403,13 +369,12 @@ module Google
|
|
|
403
369
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
404
370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
405
371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
406
|
-
def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil,
|
|
407
|
-
command = make_simple_command(:post, 'events/resetMultipleForAllPlayers', options)
|
|
372
|
+
def reset_event_multiple_for_all_players(events_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
373
|
+
command = make_simple_command(:post, 'games/v1management/events/resetMultipleForAllPlayers', options)
|
|
408
374
|
command.request_representation = Google::Apis::GamesManagementV1management::EventsResetMultipleForAllRequest::Representation
|
|
409
375
|
command.request_object = events_reset_multiple_for_all_request_object
|
|
410
376
|
command.query['fields'] = fields unless fields.nil?
|
|
411
377
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
412
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
413
378
|
execute_or_queue_command(command, &block)
|
|
414
379
|
end
|
|
415
380
|
|
|
@@ -418,15 +383,13 @@ module Google
|
|
|
418
383
|
# @param [String] application_id
|
|
419
384
|
# The application ID from the Google Play developer console.
|
|
420
385
|
# @param [String] player_id
|
|
421
|
-
# A player ID. A value of me may be used in place of the
|
|
422
|
-
# ID.
|
|
386
|
+
# A player ID. A value of `me` may be used in place of the
|
|
387
|
+
# authenticated player's ID.
|
|
423
388
|
# @param [String] fields
|
|
424
389
|
# Selector specifying which fields to include in a partial response.
|
|
425
390
|
# @param [String] quota_user
|
|
426
|
-
#
|
|
427
|
-
# characters.
|
|
428
|
-
# @param [String] user_ip
|
|
429
|
-
# Deprecated. Please use quotaUser instead.
|
|
391
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
392
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
430
393
|
# @param [Google::Apis::RequestOptions] options
|
|
431
394
|
# Request-specific options
|
|
432
395
|
#
|
|
@@ -439,30 +402,27 @@ module Google
|
|
|
439
402
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
440
403
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
441
404
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
442
|
-
def hide_player(application_id, player_id, fields: nil, quota_user: nil,
|
|
443
|
-
command = make_simple_command(:post, 'applications/{applicationId}/players/hidden/{playerId}', options)
|
|
405
|
+
def hide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
406
|
+
command = make_simple_command(:post, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
|
|
444
407
|
command.params['applicationId'] = application_id unless application_id.nil?
|
|
445
408
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
446
409
|
command.query['fields'] = fields unless fields.nil?
|
|
447
410
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
448
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
449
411
|
execute_or_queue_command(command, &block)
|
|
450
412
|
end
|
|
451
413
|
|
|
452
|
-
# Unhide the given player's leaderboard scores from the given application.
|
|
453
|
-
# method is only available to user accounts for your developer console.
|
|
414
|
+
# Unhide the given player's leaderboard scores from the given application.
|
|
415
|
+
# This method is only available to user accounts for your developer console.
|
|
454
416
|
# @param [String] application_id
|
|
455
417
|
# The application ID from the Google Play developer console.
|
|
456
418
|
# @param [String] player_id
|
|
457
|
-
# A player ID. A value of me may be used in place of the
|
|
458
|
-
# ID.
|
|
419
|
+
# A player ID. A value of `me` may be used in place of the
|
|
420
|
+
# authenticated player's ID.
|
|
459
421
|
# @param [String] fields
|
|
460
422
|
# Selector specifying which fields to include in a partial response.
|
|
461
423
|
# @param [String] quota_user
|
|
462
|
-
#
|
|
463
|
-
# characters.
|
|
464
|
-
# @param [String] user_ip
|
|
465
|
-
# Deprecated. Please use quotaUser instead.
|
|
424
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
425
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
466
426
|
# @param [Google::Apis::RequestOptions] options
|
|
467
427
|
# Request-specific options
|
|
468
428
|
#
|
|
@@ -475,73 +435,12 @@ module Google
|
|
|
475
435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
476
436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
477
437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
478
|
-
def unhide_player(application_id, player_id, fields: nil, quota_user: nil,
|
|
479
|
-
command = make_simple_command(:delete, 'applications/{applicationId}/players/hidden/{playerId}', options)
|
|
438
|
+
def unhide_player(application_id, player_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
439
|
+
command = make_simple_command(:delete, 'games/v1management/applications/{applicationId}/players/hidden/{playerId}', options)
|
|
480
440
|
command.params['applicationId'] = application_id unless application_id.nil?
|
|
481
441
|
command.params['playerId'] = player_id unless player_id.nil?
|
|
482
442
|
command.query['fields'] = fields unless fields.nil?
|
|
483
443
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
484
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
485
|
-
execute_or_queue_command(command, &block)
|
|
486
|
-
end
|
|
487
|
-
|
|
488
|
-
# Reset all rooms for the currently authenticated player for your application.
|
|
489
|
-
# This method is only accessible to whitelisted tester accounts for your
|
|
490
|
-
# application.
|
|
491
|
-
# @param [String] fields
|
|
492
|
-
# Selector specifying which fields to include in a partial response.
|
|
493
|
-
# @param [String] quota_user
|
|
494
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
495
|
-
# characters.
|
|
496
|
-
# @param [String] user_ip
|
|
497
|
-
# Deprecated. Please use quotaUser instead.
|
|
498
|
-
# @param [Google::Apis::RequestOptions] options
|
|
499
|
-
# Request-specific options
|
|
500
|
-
#
|
|
501
|
-
# @yield [result, err] Result & error if block supplied
|
|
502
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
503
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
504
|
-
#
|
|
505
|
-
# @return [void]
|
|
506
|
-
#
|
|
507
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
508
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
509
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
510
|
-
def reset_room(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
511
|
-
command = make_simple_command(:post, 'rooms/reset', options)
|
|
512
|
-
command.query['fields'] = fields unless fields.nil?
|
|
513
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
514
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
515
|
-
execute_or_queue_command(command, &block)
|
|
516
|
-
end
|
|
517
|
-
|
|
518
|
-
# Deletes rooms where the only room participants are from whitelisted tester
|
|
519
|
-
# accounts for your application. This method is only available to user accounts
|
|
520
|
-
# for your developer console.
|
|
521
|
-
# @param [String] fields
|
|
522
|
-
# Selector specifying which fields to include in a partial response.
|
|
523
|
-
# @param [String] quota_user
|
|
524
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
525
|
-
# characters.
|
|
526
|
-
# @param [String] user_ip
|
|
527
|
-
# Deprecated. Please use quotaUser instead.
|
|
528
|
-
# @param [Google::Apis::RequestOptions] options
|
|
529
|
-
# Request-specific options
|
|
530
|
-
#
|
|
531
|
-
# @yield [result, err] Result & error if block supplied
|
|
532
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
533
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
534
|
-
#
|
|
535
|
-
# @return [void]
|
|
536
|
-
#
|
|
537
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
538
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
539
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
540
|
-
def reset_room_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
541
|
-
command = make_simple_command(:post, 'rooms/resetForAllPlayers', options)
|
|
542
|
-
command.query['fields'] = fields unless fields.nil?
|
|
543
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
544
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
545
444
|
execute_or_queue_command(command, &block)
|
|
546
445
|
end
|
|
547
446
|
|
|
@@ -553,10 +452,8 @@ module Google
|
|
|
553
452
|
# @param [String] fields
|
|
554
453
|
# Selector specifying which fields to include in a partial response.
|
|
555
454
|
# @param [String] quota_user
|
|
556
|
-
#
|
|
557
|
-
# characters.
|
|
558
|
-
# @param [String] user_ip
|
|
559
|
-
# Deprecated. Please use quotaUser instead.
|
|
455
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
456
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
560
457
|
# @param [Google::Apis::RequestOptions] options
|
|
561
458
|
# Request-specific options
|
|
562
459
|
#
|
|
@@ -569,27 +466,24 @@ module Google
|
|
|
569
466
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
570
467
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
571
468
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
572
|
-
def reset_score(leaderboard_id, fields: nil, quota_user: nil,
|
|
573
|
-
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/reset', options)
|
|
469
|
+
def reset_score(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
470
|
+
command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/reset', options)
|
|
574
471
|
command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse::Representation
|
|
575
472
|
command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetResponse
|
|
576
473
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
|
577
474
|
command.query['fields'] = fields unless fields.nil?
|
|
578
475
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
579
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
580
476
|
execute_or_queue_command(command, &block)
|
|
581
477
|
end
|
|
582
478
|
|
|
583
|
-
# Resets all scores for all leaderboards for the currently authenticated
|
|
584
|
-
# This method is only accessible to whitelisted tester accounts for
|
|
585
|
-
# application.
|
|
479
|
+
# Resets all scores for all leaderboards for the currently authenticated
|
|
480
|
+
# players. This method is only accessible to whitelisted tester accounts for
|
|
481
|
+
# your application.
|
|
586
482
|
# @param [String] fields
|
|
587
483
|
# Selector specifying which fields to include in a partial response.
|
|
588
484
|
# @param [String] quota_user
|
|
589
|
-
#
|
|
590
|
-
# characters.
|
|
591
|
-
# @param [String] user_ip
|
|
592
|
-
# Deprecated. Please use quotaUser instead.
|
|
485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
593
487
|
# @param [Google::Apis::RequestOptions] options
|
|
594
488
|
# Request-specific options
|
|
595
489
|
#
|
|
@@ -602,25 +496,22 @@ module Google
|
|
|
602
496
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
603
497
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
604
498
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
605
|
-
def reset_score_all(fields: nil, quota_user: nil,
|
|
606
|
-
command = make_simple_command(:post, 'scores/reset', options)
|
|
499
|
+
def reset_score_all(fields: nil, quota_user: nil, options: nil, &block)
|
|
500
|
+
command = make_simple_command(:post, 'games/v1management/scores/reset', options)
|
|
607
501
|
command.response_representation = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse::Representation
|
|
608
502
|
command.response_class = Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse
|
|
609
503
|
command.query['fields'] = fields unless fields.nil?
|
|
610
504
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
611
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
612
505
|
execute_or_queue_command(command, &block)
|
|
613
506
|
end
|
|
614
507
|
|
|
615
|
-
# Resets scores for all draft leaderboards for all players. This method is
|
|
616
|
-
# available to user accounts for your developer console.
|
|
508
|
+
# Resets scores for all draft leaderboards for all players. This method is
|
|
509
|
+
# only available to user accounts for your developer console.
|
|
617
510
|
# @param [String] fields
|
|
618
511
|
# Selector specifying which fields to include in a partial response.
|
|
619
512
|
# @param [String] quota_user
|
|
620
|
-
#
|
|
621
|
-
# characters.
|
|
622
|
-
# @param [String] user_ip
|
|
623
|
-
# Deprecated. Please use quotaUser instead.
|
|
513
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
514
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
624
515
|
# @param [Google::Apis::RequestOptions] options
|
|
625
516
|
# Request-specific options
|
|
626
517
|
#
|
|
@@ -633,11 +524,10 @@ module Google
|
|
|
633
524
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
634
525
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
635
526
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
636
|
-
def reset_score_all_for_all_players(fields: nil, quota_user: nil,
|
|
637
|
-
command = make_simple_command(:post, 'scores/resetAllForAllPlayers', options)
|
|
527
|
+
def reset_score_all_for_all_players(fields: nil, quota_user: nil, options: nil, &block)
|
|
528
|
+
command = make_simple_command(:post, 'games/v1management/scores/resetAllForAllPlayers', options)
|
|
638
529
|
command.query['fields'] = fields unless fields.nil?
|
|
639
530
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
640
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
641
531
|
execute_or_queue_command(command, &block)
|
|
642
532
|
end
|
|
643
533
|
|
|
@@ -649,10 +539,8 @@ module Google
|
|
|
649
539
|
# @param [String] fields
|
|
650
540
|
# Selector specifying which fields to include in a partial response.
|
|
651
541
|
# @param [String] quota_user
|
|
652
|
-
#
|
|
653
|
-
# characters.
|
|
654
|
-
# @param [String] user_ip
|
|
655
|
-
# Deprecated. Please use quotaUser instead.
|
|
542
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
543
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
656
544
|
# @param [Google::Apis::RequestOptions] options
|
|
657
545
|
# Request-specific options
|
|
658
546
|
#
|
|
@@ -665,12 +553,11 @@ module Google
|
|
|
665
553
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
666
554
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
667
555
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
668
|
-
def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil,
|
|
669
|
-
command = make_simple_command(:post, 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
|
|
556
|
+
def reset_score_for_all_players(leaderboard_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
557
|
+
command = make_simple_command(:post, 'games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers', options)
|
|
670
558
|
command.params['leaderboardId'] = leaderboard_id unless leaderboard_id.nil?
|
|
671
559
|
command.query['fields'] = fields unless fields.nil?
|
|
672
560
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
673
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
674
561
|
execute_or_queue_command(command, &block)
|
|
675
562
|
end
|
|
676
563
|
|
|
@@ -681,10 +568,8 @@ module Google
|
|
|
681
568
|
# @param [String] fields
|
|
682
569
|
# Selector specifying which fields to include in a partial response.
|
|
683
570
|
# @param [String] quota_user
|
|
684
|
-
#
|
|
685
|
-
# characters.
|
|
686
|
-
# @param [String] user_ip
|
|
687
|
-
# Deprecated. Please use quotaUser instead.
|
|
571
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
572
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
688
573
|
# @param [Google::Apis::RequestOptions] options
|
|
689
574
|
# Request-specific options
|
|
690
575
|
#
|
|
@@ -697,72 +582,12 @@ module Google
|
|
|
697
582
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
698
583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
699
584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
700
|
-
def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil,
|
|
701
|
-
command = make_simple_command(:post, 'scores/resetMultipleForAllPlayers', options)
|
|
585
|
+
def reset_score_multiple_for_all_players(scores_reset_multiple_for_all_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
586
|
+
command = make_simple_command(:post, 'games/v1management/scores/resetMultipleForAllPlayers', options)
|
|
702
587
|
command.request_representation = Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest::Representation
|
|
703
588
|
command.request_object = scores_reset_multiple_for_all_request_object
|
|
704
589
|
command.query['fields'] = fields unless fields.nil?
|
|
705
590
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
706
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
707
|
-
execute_or_queue_command(command, &block)
|
|
708
|
-
end
|
|
709
|
-
|
|
710
|
-
# Reset all turn-based match data for a user. This method is only accessible to
|
|
711
|
-
# whitelisted tester accounts for your application.
|
|
712
|
-
# @param [String] fields
|
|
713
|
-
# Selector specifying which fields to include in a partial response.
|
|
714
|
-
# @param [String] quota_user
|
|
715
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
716
|
-
# characters.
|
|
717
|
-
# @param [String] user_ip
|
|
718
|
-
# Deprecated. Please use quotaUser instead.
|
|
719
|
-
# @param [Google::Apis::RequestOptions] options
|
|
720
|
-
# Request-specific options
|
|
721
|
-
#
|
|
722
|
-
# @yield [result, err] Result & error if block supplied
|
|
723
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
724
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
725
|
-
#
|
|
726
|
-
# @return [void]
|
|
727
|
-
#
|
|
728
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
729
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
730
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
731
|
-
def reset_turn_based_match(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
732
|
-
command = make_simple_command(:post, 'turnbasedmatches/reset', options)
|
|
733
|
-
command.query['fields'] = fields unless fields.nil?
|
|
734
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
735
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
736
|
-
execute_or_queue_command(command, &block)
|
|
737
|
-
end
|
|
738
|
-
|
|
739
|
-
# Deletes turn-based matches where the only match participants are from
|
|
740
|
-
# whitelisted tester accounts for your application. This method is only
|
|
741
|
-
# available to user accounts for your developer console.
|
|
742
|
-
# @param [String] fields
|
|
743
|
-
# Selector specifying which fields to include in a partial response.
|
|
744
|
-
# @param [String] quota_user
|
|
745
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
746
|
-
# characters.
|
|
747
|
-
# @param [String] user_ip
|
|
748
|
-
# Deprecated. Please use quotaUser instead.
|
|
749
|
-
# @param [Google::Apis::RequestOptions] options
|
|
750
|
-
# Request-specific options
|
|
751
|
-
#
|
|
752
|
-
# @yield [result, err] Result & error if block supplied
|
|
753
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
754
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
755
|
-
#
|
|
756
|
-
# @return [void]
|
|
757
|
-
#
|
|
758
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
759
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
760
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
761
|
-
def reset_turn_based_match_for_all_players(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
762
|
-
command = make_simple_command(:post, 'turnbasedmatches/resetForAllPlayers', options)
|
|
763
|
-
command.query['fields'] = fields unless fields.nil?
|
|
764
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
765
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
766
591
|
execute_or_queue_command(command, &block)
|
|
767
592
|
end
|
|
768
593
|
|
|
@@ -771,7 +596,6 @@ module Google
|
|
|
771
596
|
def apply_command_defaults(command)
|
|
772
597
|
command.query['key'] = key unless key.nil?
|
|
773
598
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
774
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
775
599
|
end
|
|
776
600
|
end
|
|
777
601
|
end
|