google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -0,0 +1,873 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module AdexchangebuyerV1_3
|
23
|
+
# Ad Exchange Buyer API
|
24
|
+
#
|
25
|
+
# Accesses your bidding-account information, submits creatives for validation,
|
26
|
+
# finds available direct deals, and retrieves performance reports.
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/adexchangebuyer_v1_3'
|
30
|
+
#
|
31
|
+
# Adexchangebuyer = Google::Apis::AdexchangebuyerV1_3 # Alias the module
|
32
|
+
# service = Adexchangebuyer::AdExchangeBuyerService.new
|
33
|
+
#
|
34
|
+
# @see https://developers.google.com/ad-exchange/buyer-rest
|
35
|
+
class AdExchangeBuyerService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
# Overrides userIp if both are provided.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
|
+
# @return [String]
|
48
|
+
# IP address of the site where the request originates. Use this if you want to
|
49
|
+
# enforce per-user limits.
|
50
|
+
attr_accessor :user_ip
|
51
|
+
|
52
|
+
def initialize
|
53
|
+
super('https://www.googleapis.com/', 'adexchangebuyer/v1.3/')
|
54
|
+
@batch_path = 'batch'
|
55
|
+
end
|
56
|
+
|
57
|
+
# Gets one account by ID.
|
58
|
+
# @param [Fixnum] id
|
59
|
+
# The account id
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# Overrides userIp if both are provided.
|
66
|
+
# @param [String] user_ip
|
67
|
+
# IP address of the site where the request originates. Use this if you want to
|
68
|
+
# enforce per-user limits.
|
69
|
+
# @param [Google::Apis::RequestOptions] options
|
70
|
+
# Request-specific options
|
71
|
+
#
|
72
|
+
# @yield [result, err] Result & error if block supplied
|
73
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Account] parsed result object
|
74
|
+
# @yieldparam err [StandardError] error object if request failed
|
75
|
+
#
|
76
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Account]
|
77
|
+
#
|
78
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
79
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
|
+
def get_account(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
82
|
+
command = make_simple_command(:get, 'accounts/{id}', options)
|
83
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
|
84
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Account
|
85
|
+
command.params['id'] = id unless id.nil?
|
86
|
+
command.query['fields'] = fields unless fields.nil?
|
87
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
88
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
89
|
+
execute_or_queue_command(command, &block)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Retrieves the authenticated user's list of accounts.
|
93
|
+
# @param [String] fields
|
94
|
+
# Selector specifying which fields to include in a partial response.
|
95
|
+
# @param [String] quota_user
|
96
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
97
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
98
|
+
# Overrides userIp if both are provided.
|
99
|
+
# @param [String] user_ip
|
100
|
+
# IP address of the site where the request originates. Use this if you want to
|
101
|
+
# enforce per-user limits.
|
102
|
+
# @param [Google::Apis::RequestOptions] options
|
103
|
+
# Request-specific options
|
104
|
+
#
|
105
|
+
# @yield [result, err] Result & error if block supplied
|
106
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::AccountsList] parsed result object
|
107
|
+
# @yieldparam err [StandardError] error object if request failed
|
108
|
+
#
|
109
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::AccountsList]
|
110
|
+
#
|
111
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
+
def list_accounts(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
115
|
+
command = make_simple_command(:get, 'accounts', options)
|
116
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::AccountsList::Representation
|
117
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::AccountsList
|
118
|
+
command.query['fields'] = fields unless fields.nil?
|
119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
120
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Updates an existing account. This method supports patch semantics.
|
125
|
+
# @param [Fixnum] id
|
126
|
+
# The account id
|
127
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::Account] account_object
|
128
|
+
# @param [String] fields
|
129
|
+
# Selector specifying which fields to include in a partial response.
|
130
|
+
# @param [String] quota_user
|
131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
133
|
+
# Overrides userIp if both are provided.
|
134
|
+
# @param [String] user_ip
|
135
|
+
# IP address of the site where the request originates. Use this if you want to
|
136
|
+
# enforce per-user limits.
|
137
|
+
# @param [Google::Apis::RequestOptions] options
|
138
|
+
# Request-specific options
|
139
|
+
#
|
140
|
+
# @yield [result, err] Result & error if block supplied
|
141
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Account] parsed result object
|
142
|
+
# @yieldparam err [StandardError] error object if request failed
|
143
|
+
#
|
144
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Account]
|
145
|
+
#
|
146
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
147
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
|
+
def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
150
|
+
command = make_simple_command(:patch, 'accounts/{id}', options)
|
151
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
|
152
|
+
command.request_object = account_object
|
153
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
|
154
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Account
|
155
|
+
command.params['id'] = id unless id.nil?
|
156
|
+
command.query['fields'] = fields unless fields.nil?
|
157
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
159
|
+
execute_or_queue_command(command, &block)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Updates an existing account.
|
163
|
+
# @param [Fixnum] id
|
164
|
+
# The account id
|
165
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::Account] account_object
|
166
|
+
# @param [String] fields
|
167
|
+
# Selector specifying which fields to include in a partial response.
|
168
|
+
# @param [String] quota_user
|
169
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
170
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
171
|
+
# Overrides userIp if both are provided.
|
172
|
+
# @param [String] user_ip
|
173
|
+
# IP address of the site where the request originates. Use this if you want to
|
174
|
+
# enforce per-user limits.
|
175
|
+
# @param [Google::Apis::RequestOptions] options
|
176
|
+
# Request-specific options
|
177
|
+
#
|
178
|
+
# @yield [result, err] Result & error if block supplied
|
179
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Account] parsed result object
|
180
|
+
# @yieldparam err [StandardError] error object if request failed
|
181
|
+
#
|
182
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Account]
|
183
|
+
#
|
184
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
185
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
186
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
187
|
+
def update_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
188
|
+
command = make_simple_command(:put, 'accounts/{id}', options)
|
189
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
|
190
|
+
command.request_object = account_object
|
191
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Account::Representation
|
192
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Account
|
193
|
+
command.params['id'] = id unless id.nil?
|
194
|
+
command.query['fields'] = fields unless fields.nil?
|
195
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
196
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
197
|
+
execute_or_queue_command(command, &block)
|
198
|
+
end
|
199
|
+
|
200
|
+
# Returns the billing information for one account specified by account ID.
|
201
|
+
# @param [Fixnum] account_id
|
202
|
+
# The account id.
|
203
|
+
# @param [String] fields
|
204
|
+
# Selector specifying which fields to include in a partial response.
|
205
|
+
# @param [String] quota_user
|
206
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
207
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
208
|
+
# Overrides userIp if both are provided.
|
209
|
+
# @param [String] user_ip
|
210
|
+
# IP address of the site where the request originates. Use this if you want to
|
211
|
+
# enforce per-user limits.
|
212
|
+
# @param [Google::Apis::RequestOptions] options
|
213
|
+
# Request-specific options
|
214
|
+
#
|
215
|
+
# @yield [result, err] Result & error if block supplied
|
216
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::BillingInfo] parsed result object
|
217
|
+
# @yieldparam err [StandardError] error object if request failed
|
218
|
+
#
|
219
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::BillingInfo]
|
220
|
+
#
|
221
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
222
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
223
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
224
|
+
def get_billing_info(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
225
|
+
command = make_simple_command(:get, 'billinginfo/{accountId}', options)
|
226
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::BillingInfo::Representation
|
227
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::BillingInfo
|
228
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
229
|
+
command.query['fields'] = fields unless fields.nil?
|
230
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
231
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
232
|
+
execute_or_queue_command(command, &block)
|
233
|
+
end
|
234
|
+
|
235
|
+
# Retrieves a list of billing information for all accounts of the authenticated
|
236
|
+
# user.
|
237
|
+
# @param [String] fields
|
238
|
+
# Selector specifying which fields to include in a partial response.
|
239
|
+
# @param [String] quota_user
|
240
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
241
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
242
|
+
# Overrides userIp if both are provided.
|
243
|
+
# @param [String] user_ip
|
244
|
+
# IP address of the site where the request originates. Use this if you want to
|
245
|
+
# enforce per-user limits.
|
246
|
+
# @param [Google::Apis::RequestOptions] options
|
247
|
+
# Request-specific options
|
248
|
+
#
|
249
|
+
# @yield [result, err] Result & error if block supplied
|
250
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::BillingInfoList] parsed result object
|
251
|
+
# @yieldparam err [StandardError] error object if request failed
|
252
|
+
#
|
253
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::BillingInfoList]
|
254
|
+
#
|
255
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
256
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
257
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
258
|
+
def list_billing_infos(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
259
|
+
command = make_simple_command(:get, 'billinginfo', options)
|
260
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::BillingInfoList::Representation
|
261
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::BillingInfoList
|
262
|
+
command.query['fields'] = fields unless fields.nil?
|
263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
264
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
265
|
+
execute_or_queue_command(command, &block)
|
266
|
+
end
|
267
|
+
|
268
|
+
# Returns the budget information for the adgroup specified by the accountId and
|
269
|
+
# billingId.
|
270
|
+
# @param [Fixnum] account_id
|
271
|
+
# The account id to get the budget information for.
|
272
|
+
# @param [Fixnum] billing_id
|
273
|
+
# The billing id to get the budget information for.
|
274
|
+
# @param [String] fields
|
275
|
+
# Selector specifying which fields to include in a partial response.
|
276
|
+
# @param [String] quota_user
|
277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
279
|
+
# Overrides userIp if both are provided.
|
280
|
+
# @param [String] user_ip
|
281
|
+
# IP address of the site where the request originates. Use this if you want to
|
282
|
+
# enforce per-user limits.
|
283
|
+
# @param [Google::Apis::RequestOptions] options
|
284
|
+
# Request-specific options
|
285
|
+
#
|
286
|
+
# @yield [result, err] Result & error if block supplied
|
287
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Budget] parsed result object
|
288
|
+
# @yieldparam err [StandardError] error object if request failed
|
289
|
+
#
|
290
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Budget]
|
291
|
+
#
|
292
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
293
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
294
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
295
|
+
def get_budget(account_id, billing_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
296
|
+
command = make_simple_command(:get, 'billinginfo/{accountId}/{billingId}', options)
|
297
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
|
298
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Budget
|
299
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
300
|
+
command.params['billingId'] = billing_id unless billing_id.nil?
|
301
|
+
command.query['fields'] = fields unless fields.nil?
|
302
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
303
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
304
|
+
execute_or_queue_command(command, &block)
|
305
|
+
end
|
306
|
+
|
307
|
+
# Updates the budget amount for the budget of the adgroup specified by the
|
308
|
+
# accountId and billingId, with the budget amount in the request. This method
|
309
|
+
# supports patch semantics.
|
310
|
+
# @param [Fixnum] account_id
|
311
|
+
# The account id associated with the budget being updated.
|
312
|
+
# @param [Fixnum] billing_id
|
313
|
+
# The billing id associated with the budget being updated.
|
314
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::Budget] budget_object
|
315
|
+
# @param [String] fields
|
316
|
+
# Selector specifying which fields to include in a partial response.
|
317
|
+
# @param [String] quota_user
|
318
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
319
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
320
|
+
# Overrides userIp if both are provided.
|
321
|
+
# @param [String] user_ip
|
322
|
+
# IP address of the site where the request originates. Use this if you want to
|
323
|
+
# enforce per-user limits.
|
324
|
+
# @param [Google::Apis::RequestOptions] options
|
325
|
+
# Request-specific options
|
326
|
+
#
|
327
|
+
# @yield [result, err] Result & error if block supplied
|
328
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Budget] parsed result object
|
329
|
+
# @yieldparam err [StandardError] error object if request failed
|
330
|
+
#
|
331
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Budget]
|
332
|
+
#
|
333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
336
|
+
def patch_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
337
|
+
command = make_simple_command(:patch, 'billinginfo/{accountId}/{billingId}', options)
|
338
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
|
339
|
+
command.request_object = budget_object
|
340
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
|
341
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Budget
|
342
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
343
|
+
command.params['billingId'] = billing_id unless billing_id.nil?
|
344
|
+
command.query['fields'] = fields unless fields.nil?
|
345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
346
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
347
|
+
execute_or_queue_command(command, &block)
|
348
|
+
end
|
349
|
+
|
350
|
+
# Updates the budget amount for the budget of the adgroup specified by the
|
351
|
+
# accountId and billingId, with the budget amount in the request.
|
352
|
+
# @param [Fixnum] account_id
|
353
|
+
# The account id associated with the budget being updated.
|
354
|
+
# @param [Fixnum] billing_id
|
355
|
+
# The billing id associated with the budget being updated.
|
356
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::Budget] budget_object
|
357
|
+
# @param [String] fields
|
358
|
+
# Selector specifying which fields to include in a partial response.
|
359
|
+
# @param [String] quota_user
|
360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
362
|
+
# Overrides userIp if both are provided.
|
363
|
+
# @param [String] user_ip
|
364
|
+
# IP address of the site where the request originates. Use this if you want to
|
365
|
+
# enforce per-user limits.
|
366
|
+
# @param [Google::Apis::RequestOptions] options
|
367
|
+
# Request-specific options
|
368
|
+
#
|
369
|
+
# @yield [result, err] Result & error if block supplied
|
370
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Budget] parsed result object
|
371
|
+
# @yieldparam err [StandardError] error object if request failed
|
372
|
+
#
|
373
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Budget]
|
374
|
+
#
|
375
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
376
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
377
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
378
|
+
def update_budget(account_id, billing_id, budget_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
379
|
+
command = make_simple_command(:put, 'billinginfo/{accountId}/{billingId}', options)
|
380
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
|
381
|
+
command.request_object = budget_object
|
382
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Budget::Representation
|
383
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Budget
|
384
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
385
|
+
command.params['billingId'] = billing_id unless billing_id.nil?
|
386
|
+
command.query['fields'] = fields unless fields.nil?
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
388
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
389
|
+
execute_or_queue_command(command, &block)
|
390
|
+
end
|
391
|
+
|
392
|
+
# Gets the status for a single creative. A creative will be available 30-40
|
393
|
+
# minutes after submission.
|
394
|
+
# @param [Fixnum] account_id
|
395
|
+
# The id for the account that will serve this creative.
|
396
|
+
# @param [String] buyer_creative_id
|
397
|
+
# The buyer-specific id for this creative.
|
398
|
+
# @param [String] fields
|
399
|
+
# Selector specifying which fields to include in a partial response.
|
400
|
+
# @param [String] quota_user
|
401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
403
|
+
# Overrides userIp if both are provided.
|
404
|
+
# @param [String] user_ip
|
405
|
+
# IP address of the site where the request originates. Use this if you want to
|
406
|
+
# enforce per-user limits.
|
407
|
+
# @param [Google::Apis::RequestOptions] options
|
408
|
+
# Request-specific options
|
409
|
+
#
|
410
|
+
# @yield [result, err] Result & error if block supplied
|
411
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Creative] parsed result object
|
412
|
+
# @yieldparam err [StandardError] error object if request failed
|
413
|
+
#
|
414
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative]
|
415
|
+
#
|
416
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
417
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
418
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
419
|
+
def get_creative(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
420
|
+
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}', options)
|
421
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Creative::Representation
|
422
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Creative
|
423
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
424
|
+
command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil?
|
425
|
+
command.query['fields'] = fields unless fields.nil?
|
426
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
427
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
428
|
+
execute_or_queue_command(command, &block)
|
429
|
+
end
|
430
|
+
|
431
|
+
# Submit a new creative.
|
432
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::Creative] creative_object
|
433
|
+
# @param [String] fields
|
434
|
+
# Selector specifying which fields to include in a partial response.
|
435
|
+
# @param [String] quota_user
|
436
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
437
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
438
|
+
# Overrides userIp if both are provided.
|
439
|
+
# @param [String] user_ip
|
440
|
+
# IP address of the site where the request originates. Use this if you want to
|
441
|
+
# enforce per-user limits.
|
442
|
+
# @param [Google::Apis::RequestOptions] options
|
443
|
+
# Request-specific options
|
444
|
+
#
|
445
|
+
# @yield [result, err] Result & error if block supplied
|
446
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::Creative] parsed result object
|
447
|
+
# @yieldparam err [StandardError] error object if request failed
|
448
|
+
#
|
449
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::Creative]
|
450
|
+
#
|
451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
454
|
+
def insert_creative(creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
455
|
+
command = make_simple_command(:post, 'creatives', options)
|
456
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::Creative::Representation
|
457
|
+
command.request_object = creative_object
|
458
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::Creative::Representation
|
459
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::Creative
|
460
|
+
command.query['fields'] = fields unless fields.nil?
|
461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
462
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
463
|
+
execute_or_queue_command(command, &block)
|
464
|
+
end
|
465
|
+
|
466
|
+
# Retrieves a list of the authenticated user's active creatives. A creative will
|
467
|
+
# be available 30-40 minutes after submission.
|
468
|
+
# @param [Array<Fixnum>, Fixnum] account_id
|
469
|
+
# When specified, only creatives for the given account ids are returned.
|
470
|
+
# @param [Array<String>, String] buyer_creative_id
|
471
|
+
# When specified, only creatives for the given buyer creative ids are returned.
|
472
|
+
# @param [Fixnum] max_results
|
473
|
+
# Maximum number of entries returned on one result page. If not set, the default
|
474
|
+
# is 100. Optional.
|
475
|
+
# @param [String] page_token
|
476
|
+
# A continuation token, used to page through ad clients. To retrieve the next
|
477
|
+
# page, set this parameter to the value of "nextPageToken" from the previous
|
478
|
+
# response. Optional.
|
479
|
+
# @param [String] status_filter
|
480
|
+
# When specified, only creatives having the given status are returned.
|
481
|
+
# @param [String] fields
|
482
|
+
# Selector specifying which fields to include in a partial response.
|
483
|
+
# @param [String] quota_user
|
484
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
485
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
486
|
+
# Overrides userIp if both are provided.
|
487
|
+
# @param [String] user_ip
|
488
|
+
# IP address of the site where the request originates. Use this if you want to
|
489
|
+
# enforce per-user limits.
|
490
|
+
# @param [Google::Apis::RequestOptions] options
|
491
|
+
# Request-specific options
|
492
|
+
#
|
493
|
+
# @yield [result, err] Result & error if block supplied
|
494
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::CreativesList] parsed result object
|
495
|
+
# @yieldparam err [StandardError] error object if request failed
|
496
|
+
#
|
497
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::CreativesList]
|
498
|
+
#
|
499
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
500
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
501
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
502
|
+
def list_creatives(account_id: nil, buyer_creative_id: nil, max_results: nil, page_token: nil, status_filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
503
|
+
command = make_simple_command(:get, 'creatives', options)
|
504
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::CreativesList::Representation
|
505
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::CreativesList
|
506
|
+
command.query['accountId'] = account_id unless account_id.nil?
|
507
|
+
command.query['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil?
|
508
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
509
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
510
|
+
command.query['statusFilter'] = status_filter unless status_filter.nil?
|
511
|
+
command.query['fields'] = fields unless fields.nil?
|
512
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
513
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
514
|
+
execute_or_queue_command(command, &block)
|
515
|
+
end
|
516
|
+
|
517
|
+
# Gets one direct deal by ID.
|
518
|
+
# @param [Fixnum] id
|
519
|
+
# The direct deal id
|
520
|
+
# @param [String] fields
|
521
|
+
# Selector specifying which fields to include in a partial response.
|
522
|
+
# @param [String] quota_user
|
523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
525
|
+
# Overrides userIp if both are provided.
|
526
|
+
# @param [String] user_ip
|
527
|
+
# IP address of the site where the request originates. Use this if you want to
|
528
|
+
# enforce per-user limits.
|
529
|
+
# @param [Google::Apis::RequestOptions] options
|
530
|
+
# Request-specific options
|
531
|
+
#
|
532
|
+
# @yield [result, err] Result & error if block supplied
|
533
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::DirectDeal] parsed result object
|
534
|
+
# @yieldparam err [StandardError] error object if request failed
|
535
|
+
#
|
536
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::DirectDeal]
|
537
|
+
#
|
538
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
539
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
540
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
541
|
+
def get_direct_deal(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
542
|
+
command = make_simple_command(:get, 'directdeals/{id}', options)
|
543
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::DirectDeal::Representation
|
544
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::DirectDeal
|
545
|
+
command.params['id'] = id unless id.nil?
|
546
|
+
command.query['fields'] = fields unless fields.nil?
|
547
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
548
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
549
|
+
execute_or_queue_command(command, &block)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Retrieves the authenticated user's list of direct deals.
|
553
|
+
# @param [String] fields
|
554
|
+
# Selector specifying which fields to include in a partial response.
|
555
|
+
# @param [String] quota_user
|
556
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
557
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
558
|
+
# Overrides userIp if both are provided.
|
559
|
+
# @param [String] user_ip
|
560
|
+
# IP address of the site where the request originates. Use this if you want to
|
561
|
+
# enforce per-user limits.
|
562
|
+
# @param [Google::Apis::RequestOptions] options
|
563
|
+
# Request-specific options
|
564
|
+
#
|
565
|
+
# @yield [result, err] Result & error if block supplied
|
566
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::DirectDealsList] parsed result object
|
567
|
+
# @yieldparam err [StandardError] error object if request failed
|
568
|
+
#
|
569
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::DirectDealsList]
|
570
|
+
#
|
571
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
572
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
|
+
def list_direct_deals(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
575
|
+
command = make_simple_command(:get, 'directdeals', options)
|
576
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::DirectDealsList::Representation
|
577
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::DirectDealsList
|
578
|
+
command.query['fields'] = fields unless fields.nil?
|
579
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
580
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
581
|
+
execute_or_queue_command(command, &block)
|
582
|
+
end
|
583
|
+
|
584
|
+
# Retrieves the authenticated user's list of performance metrics.
|
585
|
+
# @param [Fixnum] account_id
|
586
|
+
# The account id to get the reports.
|
587
|
+
# @param [String] end_date_time
|
588
|
+
# The end time of the report in ISO 8601 timestamp format using UTC.
|
589
|
+
# @param [String] start_date_time
|
590
|
+
# The start time of the report in ISO 8601 timestamp format using UTC.
|
591
|
+
# @param [Fixnum] max_results
|
592
|
+
# Maximum number of entries returned on one result page. If not set, the default
|
593
|
+
# is 100. Optional.
|
594
|
+
# @param [String] page_token
|
595
|
+
# A continuation token, used to page through performance reports. To retrieve
|
596
|
+
# the next page, set this parameter to the value of "nextPageToken" from the
|
597
|
+
# previous response. Optional.
|
598
|
+
# @param [String] fields
|
599
|
+
# Selector specifying which fields to include in a partial response.
|
600
|
+
# @param [String] quota_user
|
601
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
602
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
603
|
+
# Overrides userIp if both are provided.
|
604
|
+
# @param [String] user_ip
|
605
|
+
# IP address of the site where the request originates. Use this if you want to
|
606
|
+
# enforce per-user limits.
|
607
|
+
# @param [Google::Apis::RequestOptions] options
|
608
|
+
# Request-specific options
|
609
|
+
#
|
610
|
+
# @yield [result, err] Result & error if block supplied
|
611
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::PerformanceReportList] parsed result object
|
612
|
+
# @yieldparam err [StandardError] error object if request failed
|
613
|
+
#
|
614
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::PerformanceReportList]
|
615
|
+
#
|
616
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
617
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
618
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
619
|
+
def list_performance_reports(account_id, end_date_time, start_date_time, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
620
|
+
command = make_simple_command(:get, 'performancereport', options)
|
621
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PerformanceReportList::Representation
|
622
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::PerformanceReportList
|
623
|
+
command.query['accountId'] = account_id unless account_id.nil?
|
624
|
+
command.query['endDateTime'] = end_date_time unless end_date_time.nil?
|
625
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
626
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
627
|
+
command.query['startDateTime'] = start_date_time unless start_date_time.nil?
|
628
|
+
command.query['fields'] = fields unless fields.nil?
|
629
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
630
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
631
|
+
execute_or_queue_command(command, &block)
|
632
|
+
end
|
633
|
+
|
634
|
+
# Deletes an existing pretargeting config.
|
635
|
+
# @param [Fixnum] account_id
|
636
|
+
# The account id to delete the pretargeting config for.
|
637
|
+
# @param [Fixnum] config_id
|
638
|
+
# The specific id of the configuration to delete.
|
639
|
+
# @param [String] fields
|
640
|
+
# Selector specifying which fields to include in a partial response.
|
641
|
+
# @param [String] quota_user
|
642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
644
|
+
# Overrides userIp if both are provided.
|
645
|
+
# @param [String] user_ip
|
646
|
+
# IP address of the site where the request originates. Use this if you want to
|
647
|
+
# enforce per-user limits.
|
648
|
+
# @param [Google::Apis::RequestOptions] options
|
649
|
+
# Request-specific options
|
650
|
+
#
|
651
|
+
# @yield [result, err] Result & error if block supplied
|
652
|
+
# @yieldparam result [NilClass] No result returned for this method
|
653
|
+
# @yieldparam err [StandardError] error object if request failed
|
654
|
+
#
|
655
|
+
# @return [void]
|
656
|
+
#
|
657
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
658
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
659
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
660
|
+
def delete_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
661
|
+
command = make_simple_command(:delete, 'pretargetingconfigs/{accountId}/{configId}', options)
|
662
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
663
|
+
command.params['configId'] = config_id unless config_id.nil?
|
664
|
+
command.query['fields'] = fields unless fields.nil?
|
665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
666
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
667
|
+
execute_or_queue_command(command, &block)
|
668
|
+
end
|
669
|
+
|
670
|
+
# Gets a specific pretargeting configuration
|
671
|
+
# @param [Fixnum] account_id
|
672
|
+
# The account id to get the pretargeting config for.
|
673
|
+
# @param [Fixnum] config_id
|
674
|
+
# The specific id of the configuration to retrieve.
|
675
|
+
# @param [String] fields
|
676
|
+
# Selector specifying which fields to include in a partial response.
|
677
|
+
# @param [String] quota_user
|
678
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
679
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
680
|
+
# Overrides userIp if both are provided.
|
681
|
+
# @param [String] user_ip
|
682
|
+
# IP address of the site where the request originates. Use this if you want to
|
683
|
+
# enforce per-user limits.
|
684
|
+
# @param [Google::Apis::RequestOptions] options
|
685
|
+
# Request-specific options
|
686
|
+
#
|
687
|
+
# @yield [result, err] Result & error if block supplied
|
688
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] parsed result object
|
689
|
+
# @yieldparam err [StandardError] error object if request failed
|
690
|
+
#
|
691
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig]
|
692
|
+
#
|
693
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
694
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
695
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
696
|
+
def get_pretargeting_config(account_id, config_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
697
|
+
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}/{configId}', options)
|
698
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
699
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
|
700
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
701
|
+
command.params['configId'] = config_id unless config_id.nil?
|
702
|
+
command.query['fields'] = fields unless fields.nil?
|
703
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
704
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
705
|
+
execute_or_queue_command(command, &block)
|
706
|
+
end
|
707
|
+
|
708
|
+
# Inserts a new pretargeting configuration.
|
709
|
+
# @param [Fixnum] account_id
|
710
|
+
# The account id to insert the pretargeting config for.
|
711
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] pretargeting_config_object
|
712
|
+
# @param [String] fields
|
713
|
+
# Selector specifying which fields to include in a partial response.
|
714
|
+
# @param [String] quota_user
|
715
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
716
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
717
|
+
# Overrides userIp if both are provided.
|
718
|
+
# @param [String] user_ip
|
719
|
+
# IP address of the site where the request originates. Use this if you want to
|
720
|
+
# enforce per-user limits.
|
721
|
+
# @param [Google::Apis::RequestOptions] options
|
722
|
+
# Request-specific options
|
723
|
+
#
|
724
|
+
# @yield [result, err] Result & error if block supplied
|
725
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] parsed result object
|
726
|
+
# @yieldparam err [StandardError] error object if request failed
|
727
|
+
#
|
728
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig]
|
729
|
+
#
|
730
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
731
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
732
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
733
|
+
def insert_pretargeting_config(account_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
734
|
+
command = make_simple_command(:post, 'pretargetingconfigs/{accountId}', options)
|
735
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
736
|
+
command.request_object = pretargeting_config_object
|
737
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
738
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
|
739
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
740
|
+
command.query['fields'] = fields unless fields.nil?
|
741
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
742
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
743
|
+
execute_or_queue_command(command, &block)
|
744
|
+
end
|
745
|
+
|
746
|
+
# Retrieves a list of the authenticated user's pretargeting configurations.
|
747
|
+
# @param [Fixnum] account_id
|
748
|
+
# The account id to get the pretargeting configs for.
|
749
|
+
# @param [String] fields
|
750
|
+
# Selector specifying which fields to include in a partial response.
|
751
|
+
# @param [String] quota_user
|
752
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
753
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
754
|
+
# Overrides userIp if both are provided.
|
755
|
+
# @param [String] user_ip
|
756
|
+
# IP address of the site where the request originates. Use this if you want to
|
757
|
+
# enforce per-user limits.
|
758
|
+
# @param [Google::Apis::RequestOptions] options
|
759
|
+
# Request-specific options
|
760
|
+
#
|
761
|
+
# @yield [result, err] Result & error if block supplied
|
762
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::PretargetingConfigList] parsed result object
|
763
|
+
# @yieldparam err [StandardError] error object if request failed
|
764
|
+
#
|
765
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::PretargetingConfigList]
|
766
|
+
#
|
767
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
768
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
769
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
770
|
+
def list_pretargeting_configs(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
771
|
+
command = make_simple_command(:get, 'pretargetingconfigs/{accountId}', options)
|
772
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfigList::Representation
|
773
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfigList
|
774
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
775
|
+
command.query['fields'] = fields unless fields.nil?
|
776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
777
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
778
|
+
execute_or_queue_command(command, &block)
|
779
|
+
end
|
780
|
+
|
781
|
+
# Updates an existing pretargeting config. This method supports patch semantics.
|
782
|
+
# @param [Fixnum] account_id
|
783
|
+
# The account id to update the pretargeting config for.
|
784
|
+
# @param [Fixnum] config_id
|
785
|
+
# The specific id of the configuration to update.
|
786
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] pretargeting_config_object
|
787
|
+
# @param [String] fields
|
788
|
+
# Selector specifying which fields to include in a partial response.
|
789
|
+
# @param [String] quota_user
|
790
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
791
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
792
|
+
# Overrides userIp if both are provided.
|
793
|
+
# @param [String] user_ip
|
794
|
+
# IP address of the site where the request originates. Use this if you want to
|
795
|
+
# enforce per-user limits.
|
796
|
+
# @param [Google::Apis::RequestOptions] options
|
797
|
+
# Request-specific options
|
798
|
+
#
|
799
|
+
# @yield [result, err] Result & error if block supplied
|
800
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] parsed result object
|
801
|
+
# @yieldparam err [StandardError] error object if request failed
|
802
|
+
#
|
803
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig]
|
804
|
+
#
|
805
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
806
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
807
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
808
|
+
def patch_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
809
|
+
command = make_simple_command(:patch, 'pretargetingconfigs/{accountId}/{configId}', options)
|
810
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
811
|
+
command.request_object = pretargeting_config_object
|
812
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
813
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
|
814
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
815
|
+
command.params['configId'] = config_id unless config_id.nil?
|
816
|
+
command.query['fields'] = fields unless fields.nil?
|
817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
818
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
819
|
+
execute_or_queue_command(command, &block)
|
820
|
+
end
|
821
|
+
|
822
|
+
# Updates an existing pretargeting config.
|
823
|
+
# @param [Fixnum] account_id
|
824
|
+
# The account id to update the pretargeting config for.
|
825
|
+
# @param [Fixnum] config_id
|
826
|
+
# The specific id of the configuration to update.
|
827
|
+
# @param [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] pretargeting_config_object
|
828
|
+
# @param [String] fields
|
829
|
+
# Selector specifying which fields to include in a partial response.
|
830
|
+
# @param [String] quota_user
|
831
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
832
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
833
|
+
# Overrides userIp if both are provided.
|
834
|
+
# @param [String] user_ip
|
835
|
+
# IP address of the site where the request originates. Use this if you want to
|
836
|
+
# enforce per-user limits.
|
837
|
+
# @param [Google::Apis::RequestOptions] options
|
838
|
+
# Request-specific options
|
839
|
+
#
|
840
|
+
# @yield [result, err] Result & error if block supplied
|
841
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig] parsed result object
|
842
|
+
# @yieldparam err [StandardError] error object if request failed
|
843
|
+
#
|
844
|
+
# @return [Google::Apis::AdexchangebuyerV1_3::PretargetingConfig]
|
845
|
+
#
|
846
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
847
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
848
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
849
|
+
def update_pretargeting_config(account_id, config_id, pretargeting_config_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
850
|
+
command = make_simple_command(:put, 'pretargetingconfigs/{accountId}/{configId}', options)
|
851
|
+
command.request_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
852
|
+
command.request_object = pretargeting_config_object
|
853
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Representation
|
854
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
|
855
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
856
|
+
command.params['configId'] = config_id unless config_id.nil?
|
857
|
+
command.query['fields'] = fields unless fields.nil?
|
858
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
859
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
860
|
+
execute_or_queue_command(command, &block)
|
861
|
+
end
|
862
|
+
|
863
|
+
protected
|
864
|
+
|
865
|
+
def apply_command_defaults(command)
|
866
|
+
command.query['key'] = key unless key.nil?
|
867
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
868
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
869
|
+
end
|
870
|
+
end
|
871
|
+
end
|
872
|
+
end
|
873
|
+
end
|