google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module ContentV2
|
23
23
|
# Content API for Shopping
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# Shopping.
|
25
|
+
# Manage your product listings and accounts for Google Shopping
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/content_v2'
|
@@ -31,7 +30,7 @@ module Google
|
|
31
30
|
# Content = Google::Apis::ContentV2 # Alias the module
|
32
31
|
# service = Content::ShoppingContentService.new
|
33
32
|
#
|
34
|
-
# @see https://developers.google.com/shopping-content
|
33
|
+
# @see https://developers.google.com/shopping-content/v2/
|
35
34
|
class ShoppingContentService < Google::Apis::Core::BaseService
|
36
35
|
# @return [String]
|
37
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -39,27 +38,21 @@ module Google
|
|
39
38
|
attr_accessor :key
|
40
39
|
|
41
40
|
# @return [String]
|
42
|
-
#
|
43
|
-
# characters.
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
43
|
attr_accessor :quota_user
|
45
44
|
|
46
|
-
# @return [String]
|
47
|
-
# Deprecated. Please use quotaUser instead.
|
48
|
-
attr_accessor :user_ip
|
49
|
-
|
50
45
|
def initialize
|
51
|
-
super('https://
|
52
|
-
@batch_path = 'batch
|
46
|
+
super('https://shoppingcontent.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
53
48
|
end
|
54
49
|
|
55
50
|
# Returns information about the authenticated user.
|
56
51
|
# @param [String] fields
|
57
52
|
# Selector specifying which fields to include in a partial response.
|
58
53
|
# @param [String] quota_user
|
59
|
-
#
|
60
|
-
# characters.
|
61
|
-
# @param [String] user_ip
|
62
|
-
# Deprecated. Please use quotaUser instead.
|
54
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
55
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
56
|
# @param [Google::Apis::RequestOptions] options
|
64
57
|
# Request-specific options
|
65
58
|
#
|
@@ -72,13 +65,12 @@ module Google
|
|
72
65
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
66
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
67
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
-
def get_account_authinfo(fields: nil, quota_user: nil,
|
76
|
-
command = make_simple_command(:get, 'accounts/authinfo', options)
|
68
|
+
def get_account_authinfo(fields: nil, quota_user: nil, options: nil, &block)
|
69
|
+
command = make_simple_command(:get, 'content/v2/accounts/authinfo', options)
|
77
70
|
command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
|
78
71
|
command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse
|
79
72
|
command.query['fields'] = fields unless fields.nil?
|
80
73
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
82
74
|
execute_or_queue_command(command, &block)
|
83
75
|
end
|
84
76
|
|
@@ -96,10 +88,8 @@ module Google
|
|
96
88
|
# @param [String] fields
|
97
89
|
# Selector specifying which fields to include in a partial response.
|
98
90
|
# @param [String] quota_user
|
99
|
-
#
|
100
|
-
# characters.
|
101
|
-
# @param [String] user_ip
|
102
|
-
# Deprecated. Please use quotaUser instead.
|
91
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
103
93
|
# @param [Google::Apis::RequestOptions] options
|
104
94
|
# Request-specific options
|
105
95
|
#
|
@@ -112,8 +102,8 @@ module Google
|
|
112
102
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil,
|
116
|
-
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
|
105
|
+
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/claimwebsite', options)
|
117
107
|
command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation
|
118
108
|
command.response_class = Google::Apis::ContentV2::AccountsClaimWebsiteResponse
|
119
109
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -121,7 +111,6 @@ module Google
|
|
121
111
|
command.query['overwrite'] = overwrite unless overwrite.nil?
|
122
112
|
command.query['fields'] = fields unless fields.nil?
|
123
113
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
125
114
|
execute_or_queue_command(command, &block)
|
126
115
|
end
|
127
116
|
|
@@ -134,10 +123,8 @@ module Google
|
|
134
123
|
# @param [String] fields
|
135
124
|
# Selector specifying which fields to include in a partial response.
|
136
125
|
# @param [String] quota_user
|
137
|
-
#
|
138
|
-
# characters.
|
139
|
-
# @param [String] user_ip
|
140
|
-
# Deprecated. Please use quotaUser instead.
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
141
128
|
# @param [Google::Apis::RequestOptions] options
|
142
129
|
# Request-specific options
|
143
130
|
#
|
@@ -150,8 +137,8 @@ module Google
|
|
150
137
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
151
138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
152
139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
153
|
-
def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
154
|
-
command = make_simple_command(:post, 'accounts/batch', options)
|
140
|
+
def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
141
|
+
command = make_simple_command(:post, 'content/v2/accounts/batch', options)
|
155
142
|
command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
|
156
143
|
command.request_object = batch_accounts_request_object
|
157
144
|
command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
|
@@ -159,7 +146,6 @@ module Google
|
|
159
146
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
160
147
|
command.query['fields'] = fields unless fields.nil?
|
161
148
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
162
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
163
149
|
execute_or_queue_command(command, &block)
|
164
150
|
end
|
165
151
|
|
@@ -177,10 +163,8 @@ module Google
|
|
177
163
|
# @param [String] fields
|
178
164
|
# Selector specifying which fields to include in a partial response.
|
179
165
|
# @param [String] quota_user
|
180
|
-
#
|
181
|
-
# characters.
|
182
|
-
# @param [String] user_ip
|
183
|
-
# Deprecated. Please use quotaUser instead.
|
166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
184
168
|
# @param [Google::Apis::RequestOptions] options
|
185
169
|
# Request-specific options
|
186
170
|
#
|
@@ -193,15 +177,14 @@ module Google
|
|
193
177
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
194
178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
195
179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
196
|
-
def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil,
|
197
|
-
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
|
180
|
+
def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
181
|
+
command = make_simple_command(:delete, 'content/v2/{merchantId}/accounts/{accountId}', options)
|
198
182
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
199
183
|
command.params['accountId'] = account_id unless account_id.nil?
|
200
184
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
201
185
|
command.query['force'] = force unless force.nil?
|
202
186
|
command.query['fields'] = fields unless fields.nil?
|
203
187
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
204
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
205
188
|
execute_or_queue_command(command, &block)
|
206
189
|
end
|
207
190
|
|
@@ -215,10 +198,8 @@ module Google
|
|
215
198
|
# @param [String] fields
|
216
199
|
# Selector specifying which fields to include in a partial response.
|
217
200
|
# @param [String] quota_user
|
218
|
-
#
|
219
|
-
# characters.
|
220
|
-
# @param [String] user_ip
|
221
|
-
# Deprecated. Please use quotaUser instead.
|
201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
222
203
|
# @param [Google::Apis::RequestOptions] options
|
223
204
|
# Request-specific options
|
224
205
|
#
|
@@ -231,15 +212,14 @@ module Google
|
|
231
212
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
232
213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
233
214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
234
|
-
def get_account(merchant_id, account_id, fields: nil, quota_user: nil,
|
235
|
-
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
|
215
|
+
def get_account(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
216
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/accounts/{accountId}', options)
|
236
217
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
237
218
|
command.response_class = Google::Apis::ContentV2::Account
|
238
219
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
239
220
|
command.params['accountId'] = account_id unless account_id.nil?
|
240
221
|
command.query['fields'] = fields unless fields.nil?
|
241
222
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
242
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
243
223
|
execute_or_queue_command(command, &block)
|
244
224
|
end
|
245
225
|
|
@@ -253,10 +233,8 @@ module Google
|
|
253
233
|
# @param [String] fields
|
254
234
|
# Selector specifying which fields to include in a partial response.
|
255
235
|
# @param [String] quota_user
|
256
|
-
#
|
257
|
-
# characters.
|
258
|
-
# @param [String] user_ip
|
259
|
-
# Deprecated. Please use quotaUser instead.
|
236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
260
238
|
# @param [Google::Apis::RequestOptions] options
|
261
239
|
# Request-specific options
|
262
240
|
#
|
@@ -269,8 +247,8 @@ module Google
|
|
269
247
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
270
248
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
271
249
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
272
|
-
def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
273
|
-
command = make_simple_command(:post, '{merchantId}/accounts', options)
|
250
|
+
def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
251
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/accounts', options)
|
274
252
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
275
253
|
command.request_object = account_object
|
276
254
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -279,7 +257,6 @@ module Google
|
|
279
257
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
280
258
|
command.query['fields'] = fields unless fields.nil?
|
281
259
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
282
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
283
260
|
execute_or_queue_command(command, &block)
|
284
261
|
end
|
285
262
|
|
@@ -295,10 +272,8 @@ module Google
|
|
295
272
|
# @param [String] fields
|
296
273
|
# Selector specifying which fields to include in a partial response.
|
297
274
|
# @param [String] quota_user
|
298
|
-
#
|
299
|
-
# characters.
|
300
|
-
# @param [String] user_ip
|
301
|
-
# Deprecated. Please use quotaUser instead.
|
275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
302
277
|
# @param [Google::Apis::RequestOptions] options
|
303
278
|
# Request-specific options
|
304
279
|
#
|
@@ -311,8 +286,8 @@ module Google
|
|
311
286
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
312
287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
313
288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
314
|
-
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil,
|
315
|
-
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
289
|
+
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
290
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/accounts/{accountId}/link', options)
|
316
291
|
command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
|
317
292
|
command.request_object = accounts_link_request_object
|
318
293
|
command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
|
@@ -321,7 +296,6 @@ module Google
|
|
321
296
|
command.params['accountId'] = account_id unless account_id.nil?
|
322
297
|
command.query['fields'] = fields unless fields.nil?
|
323
298
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
324
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
325
299
|
execute_or_queue_command(command, &block)
|
326
300
|
end
|
327
301
|
|
@@ -335,10 +309,8 @@ module Google
|
|
335
309
|
# @param [String] fields
|
336
310
|
# Selector specifying which fields to include in a partial response.
|
337
311
|
# @param [String] quota_user
|
338
|
-
#
|
339
|
-
# characters.
|
340
|
-
# @param [String] user_ip
|
341
|
-
# Deprecated. Please use quotaUser instead.
|
312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
342
314
|
# @param [Google::Apis::RequestOptions] options
|
343
315
|
# Request-specific options
|
344
316
|
#
|
@@ -351,8 +323,8 @@ module Google
|
|
351
323
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
324
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
325
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
-
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
355
|
-
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
326
|
+
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/accounts', options)
|
356
328
|
command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
|
357
329
|
command.response_class = Google::Apis::ContentV2::ListAccountsResponse
|
358
330
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -360,7 +332,6 @@ module Google
|
|
360
332
|
command.query['pageToken'] = page_token unless page_token.nil?
|
361
333
|
command.query['fields'] = fields unless fields.nil?
|
362
334
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
363
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
364
335
|
execute_or_queue_command(command, &block)
|
365
336
|
end
|
366
337
|
|
@@ -379,10 +350,8 @@ module Google
|
|
379
350
|
# @param [String] fields
|
380
351
|
# Selector specifying which fields to include in a partial response.
|
381
352
|
# @param [String] quota_user
|
382
|
-
#
|
383
|
-
# characters.
|
384
|
-
# @param [String] user_ip
|
385
|
-
# Deprecated. Please use quotaUser instead.
|
353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
386
355
|
# @param [Google::Apis::RequestOptions] options
|
387
356
|
# Request-specific options
|
388
357
|
#
|
@@ -395,8 +364,8 @@ module Google
|
|
395
364
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
396
365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
|
-
def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
399
|
-
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
|
367
|
+
def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
368
|
+
command = make_simple_command(:put, 'content/v2/{merchantId}/accounts/{accountId}', options)
|
400
369
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
401
370
|
command.request_object = account_object
|
402
371
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -406,7 +375,6 @@ module Google
|
|
406
375
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
407
376
|
command.query['fields'] = fields unless fields.nil?
|
408
377
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
409
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
410
378
|
execute_or_queue_command(command, &block)
|
411
379
|
end
|
412
380
|
|
@@ -415,10 +383,8 @@ module Google
|
|
415
383
|
# @param [String] fields
|
416
384
|
# Selector specifying which fields to include in a partial response.
|
417
385
|
# @param [String] quota_user
|
418
|
-
#
|
419
|
-
# characters.
|
420
|
-
# @param [String] user_ip
|
421
|
-
# Deprecated. Please use quotaUser instead.
|
386
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
387
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
422
388
|
# @param [Google::Apis::RequestOptions] options
|
423
389
|
# Request-specific options
|
424
390
|
#
|
@@ -431,15 +397,14 @@ module Google
|
|
431
397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
-
def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil,
|
435
|
-
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
400
|
+
def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
401
|
+
command = make_simple_command(:post, 'content/v2/accountstatuses/batch', options)
|
436
402
|
command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
|
437
403
|
command.request_object = batch_account_statuses_request_object
|
438
404
|
command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
|
439
405
|
command.response_class = Google::Apis::ContentV2::BatchAccountStatusesResponse
|
440
406
|
command.query['fields'] = fields unless fields.nil?
|
441
407
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
442
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
443
408
|
execute_or_queue_command(command, &block)
|
444
409
|
end
|
445
410
|
|
@@ -457,10 +422,8 @@ module Google
|
|
457
422
|
# @param [String] fields
|
458
423
|
# Selector specifying which fields to include in a partial response.
|
459
424
|
# @param [String] quota_user
|
460
|
-
#
|
461
|
-
# characters.
|
462
|
-
# @param [String] user_ip
|
463
|
-
# Deprecated. Please use quotaUser instead.
|
425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
464
427
|
# @param [Google::Apis::RequestOptions] options
|
465
428
|
# Request-specific options
|
466
429
|
#
|
@@ -473,8 +436,8 @@ module Google
|
|
473
436
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
474
437
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
475
438
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
476
|
-
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil,
|
477
|
-
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
439
|
+
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
|
440
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses/{accountId}', options)
|
478
441
|
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
|
479
442
|
command.response_class = Google::Apis::ContentV2::AccountStatus
|
480
443
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -482,7 +445,6 @@ module Google
|
|
482
445
|
command.query['destinations'] = destinations unless destinations.nil?
|
483
446
|
command.query['fields'] = fields unless fields.nil?
|
484
447
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
485
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
486
448
|
execute_or_queue_command(command, &block)
|
487
449
|
end
|
488
450
|
|
@@ -500,10 +462,8 @@ module Google
|
|
500
462
|
# @param [String] fields
|
501
463
|
# Selector specifying which fields to include in a partial response.
|
502
464
|
# @param [String] quota_user
|
503
|
-
#
|
504
|
-
# characters.
|
505
|
-
# @param [String] user_ip
|
506
|
-
# Deprecated. Please use quotaUser instead.
|
465
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
466
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
507
467
|
# @param [Google::Apis::RequestOptions] options
|
508
468
|
# Request-specific options
|
509
469
|
#
|
@@ -516,8 +476,8 @@ module Google
|
|
516
476
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
517
477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
518
478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
519
|
-
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
520
|
-
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
479
|
+
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
480
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/accountstatuses', options)
|
521
481
|
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
|
522
482
|
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
|
523
483
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -526,7 +486,6 @@ module Google
|
|
526
486
|
command.query['pageToken'] = page_token unless page_token.nil?
|
527
487
|
command.query['fields'] = fields unless fields.nil?
|
528
488
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
529
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
530
489
|
execute_or_queue_command(command, &block)
|
531
490
|
end
|
532
491
|
|
@@ -538,10 +497,8 @@ module Google
|
|
538
497
|
# @param [String] fields
|
539
498
|
# Selector specifying which fields to include in a partial response.
|
540
499
|
# @param [String] quota_user
|
541
|
-
#
|
542
|
-
# characters.
|
543
|
-
# @param [String] user_ip
|
544
|
-
# Deprecated. Please use quotaUser instead.
|
500
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
501
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
545
502
|
# @param [Google::Apis::RequestOptions] options
|
546
503
|
# Request-specific options
|
547
504
|
#
|
@@ -554,8 +511,8 @@ module Google
|
|
554
511
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
555
512
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
556
513
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
557
|
-
def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
558
|
-
command = make_simple_command(:post, 'accounttax/batch', options)
|
514
|
+
def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
515
|
+
command = make_simple_command(:post, 'content/v2/accounttax/batch', options)
|
559
516
|
command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
|
560
517
|
command.request_object = batch_account_tax_request_object
|
561
518
|
command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
|
@@ -563,7 +520,6 @@ module Google
|
|
563
520
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
564
521
|
command.query['fields'] = fields unless fields.nil?
|
565
522
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
566
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
567
523
|
execute_or_queue_command(command, &block)
|
568
524
|
end
|
569
525
|
|
@@ -577,10 +533,8 @@ module Google
|
|
577
533
|
# @param [String] fields
|
578
534
|
# Selector specifying which fields to include in a partial response.
|
579
535
|
# @param [String] quota_user
|
580
|
-
#
|
581
|
-
# characters.
|
582
|
-
# @param [String] user_ip
|
583
|
-
# Deprecated. Please use quotaUser instead.
|
536
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
537
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
584
538
|
# @param [Google::Apis::RequestOptions] options
|
585
539
|
# Request-specific options
|
586
540
|
#
|
@@ -593,15 +547,14 @@ module Google
|
|
593
547
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
594
548
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
595
549
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
596
|
-
def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil,
|
597
|
-
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
550
|
+
def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
551
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax/{accountId}', options)
|
598
552
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
599
553
|
command.response_class = Google::Apis::ContentV2::AccountTax
|
600
554
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
601
555
|
command.params['accountId'] = account_id unless account_id.nil?
|
602
556
|
command.query['fields'] = fields unless fields.nil?
|
603
557
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
604
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
605
558
|
execute_or_queue_command(command, &block)
|
606
559
|
end
|
607
560
|
|
@@ -615,10 +568,8 @@ module Google
|
|
615
568
|
# @param [String] fields
|
616
569
|
# Selector specifying which fields to include in a partial response.
|
617
570
|
# @param [String] quota_user
|
618
|
-
#
|
619
|
-
# characters.
|
620
|
-
# @param [String] user_ip
|
621
|
-
# 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.
|
622
573
|
# @param [Google::Apis::RequestOptions] options
|
623
574
|
# Request-specific options
|
624
575
|
#
|
@@ -631,8 +582,8 @@ module Google
|
|
631
582
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
632
583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
|
-
def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
635
|
-
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
585
|
+
def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
586
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/accounttax', options)
|
636
587
|
command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
|
637
588
|
command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
|
638
589
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -640,7 +591,6 @@ module Google
|
|
640
591
|
command.query['pageToken'] = page_token unless page_token.nil?
|
641
592
|
command.query['fields'] = fields unless fields.nil?
|
642
593
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
643
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
644
594
|
execute_or_queue_command(command, &block)
|
645
595
|
end
|
646
596
|
|
@@ -659,10 +609,8 @@ module Google
|
|
659
609
|
# @param [String] fields
|
660
610
|
# Selector specifying which fields to include in a partial response.
|
661
611
|
# @param [String] quota_user
|
662
|
-
#
|
663
|
-
# characters.
|
664
|
-
# @param [String] user_ip
|
665
|
-
# Deprecated. Please use quotaUser instead.
|
612
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
613
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
666
614
|
# @param [Google::Apis::RequestOptions] options
|
667
615
|
# Request-specific options
|
668
616
|
#
|
@@ -675,8 +623,8 @@ module Google
|
|
675
623
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
676
624
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
677
625
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
678
|
-
def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
679
|
-
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
626
|
+
def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
627
|
+
command = make_simple_command(:put, 'content/v2/{merchantId}/accounttax/{accountId}', options)
|
680
628
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
681
629
|
command.request_object = account_tax_object
|
682
630
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
@@ -686,7 +634,6 @@ module Google
|
|
686
634
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
687
635
|
command.query['fields'] = fields unless fields.nil?
|
688
636
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
689
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
690
637
|
execute_or_queue_command(command, &block)
|
691
638
|
end
|
692
639
|
|
@@ -699,10 +646,8 @@ module Google
|
|
699
646
|
# @param [String] fields
|
700
647
|
# Selector specifying which fields to include in a partial response.
|
701
648
|
# @param [String] quota_user
|
702
|
-
#
|
703
|
-
# characters.
|
704
|
-
# @param [String] user_ip
|
705
|
-
# Deprecated. Please use quotaUser instead.
|
649
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
650
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
706
651
|
# @param [Google::Apis::RequestOptions] options
|
707
652
|
# Request-specific options
|
708
653
|
#
|
@@ -715,8 +660,8 @@ module Google
|
|
715
660
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
716
661
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
717
662
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
718
|
-
def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
719
|
-
command = make_simple_command(:post, 'datafeeds/batch', options)
|
663
|
+
def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
664
|
+
command = make_simple_command(:post, 'content/v2/datafeeds/batch', options)
|
720
665
|
command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
|
721
666
|
command.request_object = batch_datafeeds_request_object
|
722
667
|
command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
|
@@ -724,7 +669,6 @@ module Google
|
|
724
669
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
725
670
|
command.query['fields'] = fields unless fields.nil?
|
726
671
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
727
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
728
672
|
execute_or_queue_command(command, &block)
|
729
673
|
end
|
730
674
|
|
@@ -740,10 +684,8 @@ module Google
|
|
740
684
|
# @param [String] fields
|
741
685
|
# Selector specifying which fields to include in a partial response.
|
742
686
|
# @param [String] quota_user
|
743
|
-
#
|
744
|
-
# characters.
|
745
|
-
# @param [String] user_ip
|
746
|
-
# Deprecated. Please use quotaUser instead.
|
687
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
688
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
747
689
|
# @param [Google::Apis::RequestOptions] options
|
748
690
|
# Request-specific options
|
749
691
|
#
|
@@ -756,14 +698,13 @@ module Google
|
|
756
698
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
757
699
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
758
700
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
759
|
-
def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil,
|
760
|
-
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
701
|
+
def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
702
|
+
command = make_simple_command(:delete, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
|
761
703
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
762
704
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
763
705
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
764
706
|
command.query['fields'] = fields unless fields.nil?
|
765
707
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
766
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
767
708
|
execute_or_queue_command(command, &block)
|
768
709
|
end
|
769
710
|
|
@@ -779,10 +720,8 @@ module Google
|
|
779
720
|
# @param [String] fields
|
780
721
|
# Selector specifying which fields to include in a partial response.
|
781
722
|
# @param [String] quota_user
|
782
|
-
#
|
783
|
-
# characters.
|
784
|
-
# @param [String] user_ip
|
785
|
-
# Deprecated. Please use quotaUser instead.
|
723
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
724
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
786
725
|
# @param [Google::Apis::RequestOptions] options
|
787
726
|
# Request-specific options
|
788
727
|
#
|
@@ -795,8 +734,8 @@ module Google
|
|
795
734
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
796
735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
797
736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
798
|
-
def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil,
|
799
|
-
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
737
|
+
def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
738
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
800
739
|
command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
|
801
740
|
command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
|
802
741
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -804,7 +743,6 @@ module Google
|
|
804
743
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
805
744
|
command.query['fields'] = fields unless fields.nil?
|
806
745
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
807
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
808
746
|
execute_or_queue_command(command, &block)
|
809
747
|
end
|
810
748
|
|
@@ -817,10 +755,8 @@ module Google
|
|
817
755
|
# @param [String] fields
|
818
756
|
# Selector specifying which fields to include in a partial response.
|
819
757
|
# @param [String] quota_user
|
820
|
-
#
|
821
|
-
# characters.
|
822
|
-
# @param [String] user_ip
|
823
|
-
# Deprecated. Please use quotaUser instead.
|
758
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
759
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
824
760
|
# @param [Google::Apis::RequestOptions] options
|
825
761
|
# Request-specific options
|
826
762
|
#
|
@@ -833,15 +769,14 @@ module Google
|
|
833
769
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
834
770
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
835
771
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
836
|
-
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil,
|
837
|
-
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
772
|
+
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
773
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
|
838
774
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
839
775
|
command.response_class = Google::Apis::ContentV2::Datafeed
|
840
776
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
841
777
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
842
778
|
command.query['fields'] = fields unless fields.nil?
|
843
779
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
844
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
845
780
|
execute_or_queue_command(command, &block)
|
846
781
|
end
|
847
782
|
|
@@ -856,10 +791,8 @@ module Google
|
|
856
791
|
# @param [String] fields
|
857
792
|
# Selector specifying which fields to include in a partial response.
|
858
793
|
# @param [String] quota_user
|
859
|
-
#
|
860
|
-
# characters.
|
861
|
-
# @param [String] user_ip
|
862
|
-
# Deprecated. Please use quotaUser instead.
|
794
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
795
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
863
796
|
# @param [Google::Apis::RequestOptions] options
|
864
797
|
# Request-specific options
|
865
798
|
#
|
@@ -872,8 +805,8 @@ module Google
|
|
872
805
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
873
806
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
874
807
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
875
|
-
def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
876
|
-
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
808
|
+
def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
809
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/datafeeds', options)
|
877
810
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
878
811
|
command.request_object = datafeed_object
|
879
812
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -882,7 +815,6 @@ module Google
|
|
882
815
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
883
816
|
command.query['fields'] = fields unless fields.nil?
|
884
817
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
885
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
886
818
|
execute_or_queue_command(command, &block)
|
887
819
|
end
|
888
820
|
|
@@ -897,10 +829,8 @@ module Google
|
|
897
829
|
# @param [String] fields
|
898
830
|
# Selector specifying which fields to include in a partial response.
|
899
831
|
# @param [String] quota_user
|
900
|
-
#
|
901
|
-
# characters.
|
902
|
-
# @param [String] user_ip
|
903
|
-
# Deprecated. Please use quotaUser instead.
|
832
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
833
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
904
834
|
# @param [Google::Apis::RequestOptions] options
|
905
835
|
# Request-specific options
|
906
836
|
#
|
@@ -913,8 +843,8 @@ module Google
|
|
913
843
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
914
844
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
915
845
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
916
|
-
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
917
|
-
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
846
|
+
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
847
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/datafeeds', options)
|
918
848
|
command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
|
919
849
|
command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
|
920
850
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -922,7 +852,6 @@ module Google
|
|
922
852
|
command.query['pageToken'] = page_token unless page_token.nil?
|
923
853
|
command.query['fields'] = fields unless fields.nil?
|
924
854
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
925
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
926
855
|
execute_or_queue_command(command, &block)
|
927
856
|
end
|
928
857
|
|
@@ -940,10 +869,8 @@ module Google
|
|
940
869
|
# @param [String] fields
|
941
870
|
# Selector specifying which fields to include in a partial response.
|
942
871
|
# @param [String] quota_user
|
943
|
-
#
|
944
|
-
# characters.
|
945
|
-
# @param [String] user_ip
|
946
|
-
# Deprecated. Please use quotaUser instead.
|
872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
947
874
|
# @param [Google::Apis::RequestOptions] options
|
948
875
|
# Request-specific options
|
949
876
|
#
|
@@ -956,8 +883,8 @@ module Google
|
|
956
883
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
957
884
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
958
885
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
959
|
-
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
960
|
-
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
886
|
+
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
887
|
+
command = make_simple_command(:put, 'content/v2/{merchantId}/datafeeds/{datafeedId}', options)
|
961
888
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
962
889
|
command.request_object = datafeed_object
|
963
890
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -967,7 +894,6 @@ module Google
|
|
967
894
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
968
895
|
command.query['fields'] = fields unless fields.nil?
|
969
896
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
970
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
971
897
|
execute_or_queue_command(command, &block)
|
972
898
|
end
|
973
899
|
|
@@ -976,10 +902,8 @@ module Google
|
|
976
902
|
# @param [String] fields
|
977
903
|
# Selector specifying which fields to include in a partial response.
|
978
904
|
# @param [String] quota_user
|
979
|
-
#
|
980
|
-
# characters.
|
981
|
-
# @param [String] user_ip
|
982
|
-
# Deprecated. Please use quotaUser instead.
|
905
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
906
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
983
907
|
# @param [Google::Apis::RequestOptions] options
|
984
908
|
# Request-specific options
|
985
909
|
#
|
@@ -992,15 +916,14 @@ module Google
|
|
992
916
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
993
917
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
994
918
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
995
|
-
def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil,
|
996
|
-
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
919
|
+
def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
920
|
+
command = make_simple_command(:post, 'content/v2/datafeedstatuses/batch', options)
|
997
921
|
command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
|
998
922
|
command.request_object = batch_datafeed_statuses_request_object
|
999
923
|
command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
|
1000
924
|
command.response_class = Google::Apis::ContentV2::BatchDatafeedStatusesResponse
|
1001
925
|
command.query['fields'] = fields unless fields.nil?
|
1002
926
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1003
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1004
927
|
execute_or_queue_command(command, &block)
|
1005
928
|
end
|
1006
929
|
|
@@ -1023,10 +946,8 @@ module Google
|
|
1023
946
|
# @param [String] fields
|
1024
947
|
# Selector specifying which fields to include in a partial response.
|
1025
948
|
# @param [String] quota_user
|
1026
|
-
#
|
1027
|
-
# characters.
|
1028
|
-
# @param [String] user_ip
|
1029
|
-
# Deprecated. Please use quotaUser instead.
|
949
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
950
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1030
951
|
# @param [Google::Apis::RequestOptions] options
|
1031
952
|
# Request-specific options
|
1032
953
|
#
|
@@ -1039,8 +960,8 @@ module Google
|
|
1039
960
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1040
961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1041
962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1042
|
-
def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil,
|
1043
|
-
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
963
|
+
def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
964
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses/{datafeedId}', options)
|
1044
965
|
command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
|
1045
966
|
command.response_class = Google::Apis::ContentV2::DatafeedStatus
|
1046
967
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1049,7 +970,6 @@ module Google
|
|
1049
970
|
command.query['language'] = language unless language.nil?
|
1050
971
|
command.query['fields'] = fields unless fields.nil?
|
1051
972
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1052
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1053
973
|
execute_or_queue_command(command, &block)
|
1054
974
|
end
|
1055
975
|
|
@@ -1064,10 +984,8 @@ module Google
|
|
1064
984
|
# @param [String] fields
|
1065
985
|
# Selector specifying which fields to include in a partial response.
|
1066
986
|
# @param [String] quota_user
|
1067
|
-
#
|
1068
|
-
# characters.
|
1069
|
-
# @param [String] user_ip
|
1070
|
-
# Deprecated. Please use quotaUser instead.
|
987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1071
989
|
# @param [Google::Apis::RequestOptions] options
|
1072
990
|
# Request-specific options
|
1073
991
|
#
|
@@ -1080,8 +998,8 @@ module Google
|
|
1080
998
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1081
999
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1082
1000
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1083
|
-
def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
1084
|
-
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
1001
|
+
def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1002
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/datafeedstatuses', options)
|
1085
1003
|
command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
|
1086
1004
|
command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
|
1087
1005
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1089,7 +1007,6 @@ module Google
|
|
1089
1007
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1090
1008
|
command.query['fields'] = fields unless fields.nil?
|
1091
1009
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1092
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1093
1010
|
execute_or_queue_command(command, &block)
|
1094
1011
|
end
|
1095
1012
|
|
@@ -1102,10 +1019,8 @@ module Google
|
|
1102
1019
|
# @param [String] fields
|
1103
1020
|
# Selector specifying which fields to include in a partial response.
|
1104
1021
|
# @param [String] quota_user
|
1105
|
-
#
|
1106
|
-
# characters.
|
1107
|
-
# @param [String] user_ip
|
1108
|
-
# Deprecated. Please use quotaUser instead.
|
1022
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1023
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1109
1024
|
# @param [Google::Apis::RequestOptions] options
|
1110
1025
|
# Request-specific options
|
1111
1026
|
#
|
@@ -1118,8 +1033,8 @@ module Google
|
|
1118
1033
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1119
1034
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1120
1035
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1121
|
-
def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
1122
|
-
command = make_simple_command(:post, 'inventory/batch', options)
|
1036
|
+
def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1037
|
+
command = make_simple_command(:post, 'content/v2/inventory/batch', options)
|
1123
1038
|
command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
|
1124
1039
|
command.request_object = batch_inventory_request_object
|
1125
1040
|
command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
|
@@ -1127,7 +1042,6 @@ module Google
|
|
1127
1042
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1128
1043
|
command.query['fields'] = fields unless fields.nil?
|
1129
1044
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1130
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1131
1045
|
execute_or_queue_command(command, &block)
|
1132
1046
|
end
|
1133
1047
|
|
@@ -1147,10 +1061,8 @@ module Google
|
|
1147
1061
|
# @param [String] fields
|
1148
1062
|
# Selector specifying which fields to include in a partial response.
|
1149
1063
|
# @param [String] quota_user
|
1150
|
-
#
|
1151
|
-
# characters.
|
1152
|
-
# @param [String] user_ip
|
1153
|
-
# Deprecated. Please use quotaUser instead.
|
1064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1154
1066
|
# @param [Google::Apis::RequestOptions] options
|
1155
1067
|
# Request-specific options
|
1156
1068
|
#
|
@@ -1163,8 +1075,8 @@ module Google
|
|
1163
1075
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1164
1076
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1165
1077
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1166
|
-
def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
1167
|
-
command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
|
1078
|
+
def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1079
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/inventory/{storeCode}/products/{productId}', options)
|
1168
1080
|
command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
|
1169
1081
|
command.request_object = set_inventory_request_object
|
1170
1082
|
command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
|
@@ -1175,7 +1087,6 @@ module Google
|
|
1175
1087
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1176
1088
|
command.query['fields'] = fields unless fields.nil?
|
1177
1089
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1178
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1179
1090
|
execute_or_queue_command(command, &block)
|
1180
1091
|
end
|
1181
1092
|
|
@@ -1188,10 +1099,8 @@ module Google
|
|
1188
1099
|
# @param [String] fields
|
1189
1100
|
# Selector specifying which fields to include in a partial response.
|
1190
1101
|
# @param [String] quota_user
|
1191
|
-
#
|
1192
|
-
# characters.
|
1193
|
-
# @param [String] user_ip
|
1194
|
-
# Deprecated. Please use quotaUser instead.
|
1102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1195
1104
|
# @param [Google::Apis::RequestOptions] options
|
1196
1105
|
# Request-specific options
|
1197
1106
|
#
|
@@ -1204,8 +1113,8 @@ module Google
|
|
1204
1113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1205
1114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1206
1115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1207
|
-
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
1208
|
-
command = make_simple_command(:post, 'liasettings/batch', options)
|
1116
|
+
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1117
|
+
command = make_simple_command(:post, 'content/v2/liasettings/batch', options)
|
1209
1118
|
command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
|
1210
1119
|
command.request_object = liasettings_custom_batch_request_object
|
1211
1120
|
command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
|
@@ -1213,7 +1122,6 @@ module Google
|
|
1213
1122
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1214
1123
|
command.query['fields'] = fields unless fields.nil?
|
1215
1124
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1216
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1217
1125
|
execute_or_queue_command(command, &block)
|
1218
1126
|
end
|
1219
1127
|
|
@@ -1227,10 +1135,8 @@ module Google
|
|
1227
1135
|
# @param [String] fields
|
1228
1136
|
# Selector specifying which fields to include in a partial response.
|
1229
1137
|
# @param [String] quota_user
|
1230
|
-
#
|
1231
|
-
# characters.
|
1232
|
-
# @param [String] user_ip
|
1233
|
-
# Deprecated. Please use quotaUser instead.
|
1138
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1139
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1234
1140
|
# @param [Google::Apis::RequestOptions] options
|
1235
1141
|
# Request-specific options
|
1236
1142
|
#
|
@@ -1243,15 +1149,14 @@ module Google
|
|
1243
1149
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1244
1150
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1245
1151
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1246
|
-
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil,
|
1247
|
-
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
1152
|
+
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
1153
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}', options)
|
1248
1154
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1249
1155
|
command.response_class = Google::Apis::ContentV2::LiaSettings
|
1250
1156
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1251
1157
|
command.params['accountId'] = account_id unless account_id.nil?
|
1252
1158
|
command.query['fields'] = fields unless fields.nil?
|
1253
1159
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1254
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1255
1160
|
execute_or_queue_command(command, &block)
|
1256
1161
|
end
|
1257
1162
|
|
@@ -1266,10 +1171,8 @@ module Google
|
|
1266
1171
|
# @param [String] fields
|
1267
1172
|
# Selector specifying which fields to include in a partial response.
|
1268
1173
|
# @param [String] quota_user
|
1269
|
-
#
|
1270
|
-
# characters.
|
1271
|
-
# @param [String] user_ip
|
1272
|
-
# Deprecated. Please use quotaUser instead.
|
1174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1273
1176
|
# @param [Google::Apis::RequestOptions] options
|
1274
1177
|
# Request-specific options
|
1275
1178
|
#
|
@@ -1282,15 +1185,14 @@ module Google
|
|
1282
1185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1283
1186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1284
1187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1285
|
-
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil,
|
1286
|
-
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
1188
|
+
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
1189
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
1287
1190
|
command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
1288
1191
|
command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
|
1289
1192
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1290
1193
|
command.params['accountId'] = account_id unless account_id.nil?
|
1291
1194
|
command.query['fields'] = fields unless fields.nil?
|
1292
1195
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1293
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1294
1196
|
execute_or_queue_command(command, &block)
|
1295
1197
|
end
|
1296
1198
|
|
@@ -1304,10 +1206,8 @@ module Google
|
|
1304
1206
|
# @param [String] fields
|
1305
1207
|
# Selector specifying which fields to include in a partial response.
|
1306
1208
|
# @param [String] quota_user
|
1307
|
-
#
|
1308
|
-
# characters.
|
1309
|
-
# @param [String] user_ip
|
1310
|
-
# Deprecated. Please use quotaUser instead.
|
1209
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1210
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1311
1211
|
# @param [Google::Apis::RequestOptions] options
|
1312
1212
|
# Request-specific options
|
1313
1213
|
#
|
@@ -1320,8 +1220,8 @@ module Google
|
|
1320
1220
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1321
1221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1322
1222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1323
|
-
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
1324
|
-
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
1223
|
+
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1224
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/liasettings', options)
|
1325
1225
|
command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
|
1326
1226
|
command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
|
1327
1227
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1329,7 +1229,6 @@ module Google
|
|
1329
1229
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1330
1230
|
command.query['fields'] = fields unless fields.nil?
|
1331
1231
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1332
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1333
1232
|
execute_or_queue_command(command, &block)
|
1334
1233
|
end
|
1335
1234
|
|
@@ -1338,10 +1237,8 @@ module Google
|
|
1338
1237
|
# @param [String] fields
|
1339
1238
|
# Selector specifying which fields to include in a partial response.
|
1340
1239
|
# @param [String] quota_user
|
1341
|
-
#
|
1342
|
-
# characters.
|
1343
|
-
# @param [String] user_ip
|
1344
|
-
# Deprecated. Please use quotaUser instead.
|
1240
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1241
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1345
1242
|
# @param [Google::Apis::RequestOptions] options
|
1346
1243
|
# Request-specific options
|
1347
1244
|
#
|
@@ -1354,13 +1251,12 @@ module Google
|
|
1354
1251
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1355
1252
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1356
1253
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1357
|
-
def listposdataproviders_liasetting(fields: nil, quota_user: nil,
|
1358
|
-
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
1254
|
+
def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
|
1255
|
+
command = make_simple_command(:get, 'content/v2/liasettings/posdataproviders', options)
|
1359
1256
|
command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
|
1360
1257
|
command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
|
1361
1258
|
command.query['fields'] = fields unless fields.nil?
|
1362
1259
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1363
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1364
1260
|
execute_or_queue_command(command, &block)
|
1365
1261
|
end
|
1366
1262
|
|
@@ -1376,10 +1272,8 @@ module Google
|
|
1376
1272
|
# @param [String] fields
|
1377
1273
|
# Selector specifying which fields to include in a partial response.
|
1378
1274
|
# @param [String] quota_user
|
1379
|
-
#
|
1380
|
-
# characters.
|
1381
|
-
# @param [String] user_ip
|
1382
|
-
# Deprecated. Please use quotaUser instead.
|
1275
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1276
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1383
1277
|
# @param [Google::Apis::RequestOptions] options
|
1384
1278
|
# Request-specific options
|
1385
1279
|
#
|
@@ -1392,8 +1286,8 @@ module Google
|
|
1392
1286
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1393
1287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1394
1288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1395
|
-
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil,
|
1396
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
1289
|
+
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
|
1290
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
1397
1291
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
1398
1292
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
1399
1293
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1401,7 +1295,6 @@ module Google
|
|
1401
1295
|
command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
|
1402
1296
|
command.query['fields'] = fields unless fields.nil?
|
1403
1297
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1404
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1405
1298
|
execute_or_queue_command(command, &block)
|
1406
1299
|
end
|
1407
1300
|
|
@@ -1418,10 +1311,8 @@ module Google
|
|
1418
1311
|
# @param [String] fields
|
1419
1312
|
# Selector specifying which fields to include in a partial response.
|
1420
1313
|
# @param [String] quota_user
|
1421
|
-
#
|
1422
|
-
# characters.
|
1423
|
-
# @param [String] user_ip
|
1424
|
-
# Deprecated. Please use quotaUser instead.
|
1314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1425
1316
|
# @param [Google::Apis::RequestOptions] options
|
1426
1317
|
# Request-specific options
|
1427
1318
|
#
|
@@ -1434,8 +1325,8 @@ module Google
|
|
1434
1325
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1435
1326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1436
1327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1437
|
-
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil,
|
1438
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
1328
|
+
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
|
1329
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
1439
1330
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
|
1440
1331
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
|
1441
1332
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1443,7 +1334,6 @@ module Google
|
|
1443
1334
|
command.params['country'] = country unless country.nil?
|
1444
1335
|
command.query['fields'] = fields unless fields.nil?
|
1445
1336
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1446
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1447
1337
|
execute_or_queue_command(command, &block)
|
1448
1338
|
end
|
1449
1339
|
|
@@ -1455,21 +1345,19 @@ module Google
|
|
1455
1345
|
# @param [Fixnum] account_id
|
1456
1346
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1457
1347
|
# account.
|
1458
|
-
# @param [String] contact_email
|
1459
|
-
# The email of the inventory verification contact.
|
1460
|
-
# @param [String] contact_name
|
1461
|
-
# The name of the inventory verification contact.
|
1462
1348
|
# @param [String] country
|
1463
1349
|
# The country for which inventory verification is requested.
|
1464
1350
|
# @param [String] language
|
1465
1351
|
# The language for which inventory verification is requested.
|
1352
|
+
# @param [String] contact_name
|
1353
|
+
# The name of the inventory verification contact.
|
1354
|
+
# @param [String] contact_email
|
1355
|
+
# The email of the inventory verification contact.
|
1466
1356
|
# @param [String] fields
|
1467
1357
|
# Selector specifying which fields to include in a partial response.
|
1468
1358
|
# @param [String] quota_user
|
1469
|
-
#
|
1470
|
-
# characters.
|
1471
|
-
# @param [String] user_ip
|
1472
|
-
# Deprecated. Please use quotaUser instead.
|
1359
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1360
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1473
1361
|
# @param [Google::Apis::RequestOptions] options
|
1474
1362
|
# Request-specific options
|
1475
1363
|
#
|
@@ -1482,8 +1370,8 @@ module Google
|
|
1482
1370
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1483
1371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1484
1372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1485
|
-
def setinventoryverificationcontact_liasetting(merchant_id, account_id,
|
1486
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
1373
|
+
def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
|
1374
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
1487
1375
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
1488
1376
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
1489
1377
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1494,7 +1382,6 @@ module Google
|
|
1494
1382
|
command.query['language'] = language unless language.nil?
|
1495
1383
|
command.query['fields'] = fields unless fields.nil?
|
1496
1384
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1497
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1498
1385
|
execute_or_queue_command(command, &block)
|
1499
1386
|
end
|
1500
1387
|
|
@@ -1515,10 +1402,8 @@ module Google
|
|
1515
1402
|
# @param [String] fields
|
1516
1403
|
# Selector specifying which fields to include in a partial response.
|
1517
1404
|
# @param [String] quota_user
|
1518
|
-
#
|
1519
|
-
# characters.
|
1520
|
-
# @param [String] user_ip
|
1521
|
-
# Deprecated. Please use quotaUser instead.
|
1405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1522
1407
|
# @param [Google::Apis::RequestOptions] options
|
1523
1408
|
# Request-specific options
|
1524
1409
|
#
|
@@ -1531,8 +1416,8 @@ module Google
|
|
1531
1416
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1532
1417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1533
1418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1534
|
-
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil,
|
1535
|
-
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
1419
|
+
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1420
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
1536
1421
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
|
1537
1422
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
|
1538
1423
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1542,7 +1427,6 @@ module Google
|
|
1542
1427
|
command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil?
|
1543
1428
|
command.query['fields'] = fields unless fields.nil?
|
1544
1429
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1545
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1546
1430
|
execute_or_queue_command(command, &block)
|
1547
1431
|
end
|
1548
1432
|
|
@@ -1561,10 +1445,8 @@ module Google
|
|
1561
1445
|
# @param [String] fields
|
1562
1446
|
# Selector specifying which fields to include in a partial response.
|
1563
1447
|
# @param [String] quota_user
|
1564
|
-
#
|
1565
|
-
# characters.
|
1566
|
-
# @param [String] user_ip
|
1567
|
-
# Deprecated. Please use quotaUser instead.
|
1448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1568
1450
|
# @param [Google::Apis::RequestOptions] options
|
1569
1451
|
# Request-specific options
|
1570
1452
|
#
|
@@ -1577,8 +1459,8 @@ module Google
|
|
1577
1459
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1578
1460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1579
1461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1580
|
-
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
1581
|
-
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
1462
|
+
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1463
|
+
command = make_simple_command(:put, 'content/v2/{merchantId}/liasettings/{accountId}', options)
|
1582
1464
|
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1583
1465
|
command.request_object = lia_settings_object
|
1584
1466
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
@@ -1588,7 +1470,6 @@ module Google
|
|
1588
1470
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1589
1471
|
command.query['fields'] = fields unless fields.nil?
|
1590
1472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1591
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1592
1473
|
execute_or_queue_command(command, &block)
|
1593
1474
|
end
|
1594
1475
|
|
@@ -1603,10 +1484,8 @@ module Google
|
|
1603
1484
|
# @param [String] fields
|
1604
1485
|
# Selector specifying which fields to include in a partial response.
|
1605
1486
|
# @param [String] quota_user
|
1606
|
-
#
|
1607
|
-
# characters.
|
1608
|
-
# @param [String] user_ip
|
1609
|
-
# Deprecated. Please use quotaUser instead.
|
1487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1610
1489
|
# @param [Google::Apis::RequestOptions] options
|
1611
1490
|
# Request-specific options
|
1612
1491
|
#
|
@@ -1619,8 +1498,8 @@ module Google
|
|
1619
1498
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1620
1499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1621
1500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1622
|
-
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil,
|
1623
|
-
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
1501
|
+
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1502
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
1624
1503
|
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
1625
1504
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
1626
1505
|
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
@@ -1629,7 +1508,6 @@ module Google
|
|
1629
1508
|
command.params['orderId'] = order_id unless order_id.nil?
|
1630
1509
|
command.query['fields'] = fields unless fields.nil?
|
1631
1510
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1632
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1633
1511
|
execute_or_queue_command(command, &block)
|
1634
1512
|
end
|
1635
1513
|
|
@@ -1646,10 +1524,8 @@ module Google
|
|
1646
1524
|
# @param [String] fields
|
1647
1525
|
# Selector specifying which fields to include in a partial response.
|
1648
1526
|
# @param [String] quota_user
|
1649
|
-
#
|
1650
|
-
# characters.
|
1651
|
-
# @param [String] user_ip
|
1652
|
-
# Deprecated. Please use quotaUser instead.
|
1527
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1528
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1653
1529
|
# @param [Google::Apis::RequestOptions] options
|
1654
1530
|
# Request-specific options
|
1655
1531
|
#
|
@@ -1662,8 +1538,8 @@ module Google
|
|
1662
1538
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1663
1539
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1664
1540
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1665
|
-
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil,
|
1666
|
-
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
1541
|
+
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1542
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
1667
1543
|
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
1668
1544
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
1669
1545
|
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
@@ -1672,7 +1548,6 @@ module Google
|
|
1672
1548
|
command.params['orderId'] = order_id unless order_id.nil?
|
1673
1549
|
command.query['fields'] = fields unless fields.nil?
|
1674
1550
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1675
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1676
1551
|
execute_or_queue_command(command, &block)
|
1677
1552
|
end
|
1678
1553
|
|
@@ -1680,11 +1555,11 @@ module Google
|
|
1680
1555
|
# @param [Fixnum] merchant_id
|
1681
1556
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1682
1557
|
# account.
|
1683
|
-
# @param [String] disbursement_start_date
|
1684
|
-
# The first date which disbursements occurred. In ISO 8601 format.
|
1685
1558
|
# @param [String] disbursement_end_date
|
1686
1559
|
# The last date which disbursements occurred. In ISO 8601 format. Default:
|
1687
1560
|
# current date.
|
1561
|
+
# @param [String] disbursement_start_date
|
1562
|
+
# The first date which disbursements occurred. In ISO 8601 format.
|
1688
1563
|
# @param [Fixnum] max_results
|
1689
1564
|
# The maximum number of disbursements to return in the response, used for paging.
|
1690
1565
|
# @param [String] page_token
|
@@ -1692,10 +1567,8 @@ module Google
|
|
1692
1567
|
# @param [String] fields
|
1693
1568
|
# Selector specifying which fields to include in a partial response.
|
1694
1569
|
# @param [String] quota_user
|
1695
|
-
#
|
1696
|
-
# characters.
|
1697
|
-
# @param [String] user_ip
|
1698
|
-
# Deprecated. Please use quotaUser instead.
|
1570
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1571
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1699
1572
|
# @param [Google::Apis::RequestOptions] options
|
1700
1573
|
# Request-specific options
|
1701
1574
|
#
|
@@ -1708,8 +1581,8 @@ module Google
|
|
1708
1581
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1709
1582
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1710
1583
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1711
|
-
def listdisbursements_orderreport(merchant_id,
|
1712
|
-
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
1584
|
+
def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1585
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements', options)
|
1713
1586
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
|
1714
1587
|
command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
|
1715
1588
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1719,7 +1592,6 @@ module Google
|
|
1719
1592
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1720
1593
|
command.query['fields'] = fields unless fields.nil?
|
1721
1594
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1722
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1723
1595
|
execute_or_queue_command(command, &block)
|
1724
1596
|
end
|
1725
1597
|
|
@@ -1730,8 +1602,6 @@ module Google
|
|
1730
1602
|
# account.
|
1731
1603
|
# @param [String] disbursement_id
|
1732
1604
|
# The Google-provided ID of the disbursement (found in Wallet).
|
1733
|
-
# @param [String] transaction_start_date
|
1734
|
-
# The first date in which transaction occurred. In ISO 8601 format.
|
1735
1605
|
# @param [Fixnum] max_results
|
1736
1606
|
# The maximum number of disbursements to return in the response, used for paging.
|
1737
1607
|
# @param [String] page_token
|
@@ -1739,13 +1609,13 @@ module Google
|
|
1739
1609
|
# @param [String] transaction_end_date
|
1740
1610
|
# The last date in which transaction occurred. In ISO 8601 format. Default:
|
1741
1611
|
# current date.
|
1612
|
+
# @param [String] transaction_start_date
|
1613
|
+
# The first date in which transaction occurred. In ISO 8601 format.
|
1742
1614
|
# @param [String] fields
|
1743
1615
|
# Selector specifying which fields to include in a partial response.
|
1744
1616
|
# @param [String] quota_user
|
1745
|
-
#
|
1746
|
-
# characters.
|
1747
|
-
# @param [String] user_ip
|
1748
|
-
# Deprecated. Please use quotaUser instead.
|
1617
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1618
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1749
1619
|
# @param [Google::Apis::RequestOptions] options
|
1750
1620
|
# Request-specific options
|
1751
1621
|
#
|
@@ -1758,8 +1628,8 @@ module Google
|
|
1758
1628
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1759
1629
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1760
1630
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1761
|
-
def listtransactions_orderreport(merchant_id, disbursement_id,
|
1762
|
-
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
1631
|
+
def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1632
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
1763
1633
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
|
1764
1634
|
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
|
1765
1635
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1770,7 +1640,6 @@ module Google
|
|
1770
1640
|
command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
|
1771
1641
|
command.query['fields'] = fields unless fields.nil?
|
1772
1642
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1773
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1774
1643
|
execute_or_queue_command(command, &block)
|
1775
1644
|
end
|
1776
1645
|
|
@@ -1783,10 +1652,8 @@ module Google
|
|
1783
1652
|
# @param [String] fields
|
1784
1653
|
# Selector specifying which fields to include in a partial response.
|
1785
1654
|
# @param [String] quota_user
|
1786
|
-
#
|
1787
|
-
# characters.
|
1788
|
-
# @param [String] user_ip
|
1789
|
-
# Deprecated. Please use quotaUser instead.
|
1655
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1656
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1790
1657
|
# @param [Google::Apis::RequestOptions] options
|
1791
1658
|
# Request-specific options
|
1792
1659
|
#
|
@@ -1799,15 +1666,14 @@ module Google
|
|
1799
1666
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1800
1667
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1801
1668
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1802
|
-
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil,
|
1803
|
-
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
1669
|
+
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
|
1670
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns/{returnId}', options)
|
1804
1671
|
command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
|
1805
1672
|
command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
|
1806
1673
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1807
1674
|
command.params['returnId'] = return_id unless return_id.nil?
|
1808
1675
|
command.query['fields'] = fields unless fields.nil?
|
1809
1676
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1810
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1811
1677
|
execute_or_queue_command(command, &block)
|
1812
1678
|
end
|
1813
1679
|
|
@@ -1832,10 +1698,8 @@ module Google
|
|
1832
1698
|
# @param [String] fields
|
1833
1699
|
# Selector specifying which fields to include in a partial response.
|
1834
1700
|
# @param [String] quota_user
|
1835
|
-
#
|
1836
|
-
# characters.
|
1837
|
-
# @param [String] user_ip
|
1838
|
-
# Deprecated. Please use quotaUser instead.
|
1701
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1702
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1839
1703
|
# @param [Google::Apis::RequestOptions] options
|
1840
1704
|
# Request-specific options
|
1841
1705
|
#
|
@@ -1848,8 +1712,8 @@ module Google
|
|
1848
1712
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1849
1713
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1850
1714
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1851
|
-
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
1852
|
-
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
1715
|
+
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1716
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/orderreturns', options)
|
1853
1717
|
command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
|
1854
1718
|
command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
|
1855
1719
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1860,7 +1724,6 @@ module Google
|
|
1860
1724
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1861
1725
|
command.query['fields'] = fields unless fields.nil?
|
1862
1726
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1863
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1864
1727
|
execute_or_queue_command(command, &block)
|
1865
1728
|
end
|
1866
1729
|
|
@@ -1874,10 +1737,8 @@ module Google
|
|
1874
1737
|
# @param [String] fields
|
1875
1738
|
# Selector specifying which fields to include in a partial response.
|
1876
1739
|
# @param [String] quota_user
|
1877
|
-
#
|
1878
|
-
# characters.
|
1879
|
-
# @param [String] user_ip
|
1880
|
-
# Deprecated. Please use quotaUser instead.
|
1740
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1741
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1881
1742
|
# @param [Google::Apis::RequestOptions] options
|
1882
1743
|
# Request-specific options
|
1883
1744
|
#
|
@@ -1890,8 +1751,8 @@ module Google
|
|
1890
1751
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1891
1752
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1892
1753
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1893
|
-
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil,
|
1894
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
1754
|
+
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1755
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/acknowledge', options)
|
1895
1756
|
command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation
|
1896
1757
|
command.request_object = orders_acknowledge_request_object
|
1897
1758
|
command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation
|
@@ -1900,7 +1761,6 @@ module Google
|
|
1900
1761
|
command.params['orderId'] = order_id unless order_id.nil?
|
1901
1762
|
command.query['fields'] = fields unless fields.nil?
|
1902
1763
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1903
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1904
1764
|
execute_or_queue_command(command, &block)
|
1905
1765
|
end
|
1906
1766
|
|
@@ -1914,10 +1774,8 @@ module Google
|
|
1914
1774
|
# @param [String] fields
|
1915
1775
|
# Selector specifying which fields to include in a partial response.
|
1916
1776
|
# @param [String] quota_user
|
1917
|
-
#
|
1918
|
-
# characters.
|
1919
|
-
# @param [String] user_ip
|
1920
|
-
# Deprecated. Please use quotaUser instead.
|
1777
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1778
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1921
1779
|
# @param [Google::Apis::RequestOptions] options
|
1922
1780
|
# Request-specific options
|
1923
1781
|
#
|
@@ -1930,15 +1788,14 @@ module Google
|
|
1930
1788
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1931
1789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1932
1790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1933
|
-
def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil,
|
1934
|
-
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
1791
|
+
def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
|
1792
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/advance', options)
|
1935
1793
|
command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
|
1936
1794
|
command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
|
1937
1795
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1938
1796
|
command.params['orderId'] = order_id unless order_id.nil?
|
1939
1797
|
command.query['fields'] = fields unless fields.nil?
|
1940
1798
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1941
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1942
1799
|
execute_or_queue_command(command, &block)
|
1943
1800
|
end
|
1944
1801
|
|
@@ -1952,10 +1809,8 @@ module Google
|
|
1952
1809
|
# @param [String] fields
|
1953
1810
|
# Selector specifying which fields to include in a partial response.
|
1954
1811
|
# @param [String] quota_user
|
1955
|
-
#
|
1956
|
-
# characters.
|
1957
|
-
# @param [String] user_ip
|
1958
|
-
# Deprecated. Please use quotaUser instead.
|
1812
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1813
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1959
1814
|
# @param [Google::Apis::RequestOptions] options
|
1960
1815
|
# Request-specific options
|
1961
1816
|
#
|
@@ -1968,8 +1823,8 @@ module Google
|
|
1968
1823
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1969
1824
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1970
1825
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1971
|
-
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil,
|
1972
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
1826
|
+
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1827
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancel', options)
|
1973
1828
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation
|
1974
1829
|
command.request_object = orders_cancel_request_object
|
1975
1830
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation
|
@@ -1978,7 +1833,6 @@ module Google
|
|
1978
1833
|
command.params['orderId'] = order_id unless order_id.nil?
|
1979
1834
|
command.query['fields'] = fields unless fields.nil?
|
1980
1835
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1981
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1982
1836
|
execute_or_queue_command(command, &block)
|
1983
1837
|
end
|
1984
1838
|
|
@@ -1992,10 +1846,8 @@ module Google
|
|
1992
1846
|
# @param [String] fields
|
1993
1847
|
# Selector specifying which fields to include in a partial response.
|
1994
1848
|
# @param [String] quota_user
|
1995
|
-
#
|
1996
|
-
# characters.
|
1997
|
-
# @param [String] user_ip
|
1998
|
-
# Deprecated. Please use quotaUser instead.
|
1849
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1850
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1999
1851
|
# @param [Google::Apis::RequestOptions] options
|
2000
1852
|
# Request-specific options
|
2001
1853
|
#
|
@@ -2008,8 +1860,8 @@ module Google
|
|
2008
1860
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2009
1861
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2010
1862
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2011
|
-
def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2012
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
1863
|
+
def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1864
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/cancelLineItem', options)
|
2013
1865
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
|
2014
1866
|
command.request_object = orders_cancel_line_item_request_object
|
2015
1867
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation
|
@@ -2018,7 +1870,6 @@ module Google
|
|
2018
1870
|
command.params['orderId'] = order_id unless order_id.nil?
|
2019
1871
|
command.query['fields'] = fields unless fields.nil?
|
2020
1872
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2021
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2022
1873
|
execute_or_queue_command(command, &block)
|
2023
1874
|
end
|
2024
1875
|
|
@@ -2032,10 +1883,8 @@ module Google
|
|
2032
1883
|
# @param [String] fields
|
2033
1884
|
# Selector specifying which fields to include in a partial response.
|
2034
1885
|
# @param [String] quota_user
|
2035
|
-
#
|
2036
|
-
# characters.
|
2037
|
-
# @param [String] user_ip
|
2038
|
-
# Deprecated. Please use quotaUser instead.
|
1886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2039
1888
|
# @param [Google::Apis::RequestOptions] options
|
2040
1889
|
# Request-specific options
|
2041
1890
|
#
|
@@ -2048,8 +1897,8 @@ module Google
|
|
2048
1897
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2049
1898
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2050
1899
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2051
|
-
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil,
|
2052
|
-
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
1900
|
+
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1901
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
2053
1902
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
|
2054
1903
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
2055
1904
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
|
@@ -2058,7 +1907,6 @@ module Google
|
|
2058
1907
|
command.params['orderId'] = order_id unless order_id.nil?
|
2059
1908
|
command.query['fields'] = fields unless fields.nil?
|
2060
1909
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2061
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2062
1910
|
execute_or_queue_command(command, &block)
|
2063
1911
|
end
|
2064
1912
|
|
@@ -2070,10 +1918,8 @@ module Google
|
|
2070
1918
|
# @param [String] fields
|
2071
1919
|
# Selector specifying which fields to include in a partial response.
|
2072
1920
|
# @param [String] quota_user
|
2073
|
-
#
|
2074
|
-
# characters.
|
2075
|
-
# @param [String] user_ip
|
2076
|
-
# Deprecated. Please use quotaUser instead.
|
1921
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1922
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2077
1923
|
# @param [Google::Apis::RequestOptions] options
|
2078
1924
|
# Request-specific options
|
2079
1925
|
#
|
@@ -2086,8 +1932,8 @@ module Google
|
|
2086
1932
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2087
1933
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2088
1934
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2089
|
-
def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil,
|
2090
|
-
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
1935
|
+
def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1936
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/testorders', options)
|
2091
1937
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
|
2092
1938
|
command.request_object = orders_create_test_order_request_object
|
2093
1939
|
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation
|
@@ -2095,7 +1941,6 @@ module Google
|
|
2095
1941
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2096
1942
|
command.query['fields'] = fields unless fields.nil?
|
2097
1943
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2098
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2099
1944
|
execute_or_queue_command(command, &block)
|
2100
1945
|
end
|
2101
1946
|
|
@@ -2109,10 +1954,8 @@ module Google
|
|
2109
1954
|
# @param [String] fields
|
2110
1955
|
# Selector specifying which fields to include in a partial response.
|
2111
1956
|
# @param [String] quota_user
|
2112
|
-
#
|
2113
|
-
# characters.
|
2114
|
-
# @param [String] user_ip
|
2115
|
-
# Deprecated. Please use quotaUser instead.
|
1957
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1958
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2116
1959
|
# @param [Google::Apis::RequestOptions] options
|
2117
1960
|
# Request-specific options
|
2118
1961
|
#
|
@@ -2125,8 +1968,8 @@ module Google
|
|
2125
1968
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2126
1969
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2127
1970
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2128
|
-
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil,
|
2129
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
1971
|
+
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1972
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/testreturn', options)
|
2130
1973
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
|
2131
1974
|
command.request_object = orders_create_test_return_request_object
|
2132
1975
|
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
|
@@ -2135,7 +1978,6 @@ module Google
|
|
2135
1978
|
command.params['orderId'] = order_id unless order_id.nil?
|
2136
1979
|
command.query['fields'] = fields unless fields.nil?
|
2137
1980
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2138
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2139
1981
|
execute_or_queue_command(command, &block)
|
2140
1982
|
end
|
2141
1983
|
|
@@ -2144,10 +1986,8 @@ module Google
|
|
2144
1986
|
# @param [String] fields
|
2145
1987
|
# Selector specifying which fields to include in a partial response.
|
2146
1988
|
# @param [String] quota_user
|
2147
|
-
#
|
2148
|
-
# characters.
|
2149
|
-
# @param [String] user_ip
|
2150
|
-
# Deprecated. Please use quotaUser instead.
|
1989
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1990
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2151
1991
|
# @param [Google::Apis::RequestOptions] options
|
2152
1992
|
# Request-specific options
|
2153
1993
|
#
|
@@ -2160,15 +2000,14 @@ module Google
|
|
2160
2000
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2161
2001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2162
2002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2163
|
-
def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil,
|
2164
|
-
command = make_simple_command(:post, 'orders/batch', options)
|
2003
|
+
def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2004
|
+
command = make_simple_command(:post, 'content/v2/orders/batch', options)
|
2165
2005
|
command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
|
2166
2006
|
command.request_object = orders_custom_batch_request_object
|
2167
2007
|
command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation
|
2168
2008
|
command.response_class = Google::Apis::ContentV2::OrdersCustomBatchResponse
|
2169
2009
|
command.query['fields'] = fields unless fields.nil?
|
2170
2010
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2171
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2172
2011
|
execute_or_queue_command(command, &block)
|
2173
2012
|
end
|
2174
2013
|
|
@@ -2181,10 +2020,8 @@ module Google
|
|
2181
2020
|
# @param [String] fields
|
2182
2021
|
# Selector specifying which fields to include in a partial response.
|
2183
2022
|
# @param [String] quota_user
|
2184
|
-
#
|
2185
|
-
# characters.
|
2186
|
-
# @param [String] user_ip
|
2187
|
-
# Deprecated. Please use quotaUser instead.
|
2023
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2024
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2188
2025
|
# @param [Google::Apis::RequestOptions] options
|
2189
2026
|
# Request-specific options
|
2190
2027
|
#
|
@@ -2197,15 +2034,14 @@ module Google
|
|
2197
2034
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2198
2035
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2199
2036
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2200
|
-
def get_order(merchant_id, order_id, fields: nil, quota_user: nil,
|
2201
|
-
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
2037
|
+
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
|
2038
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/orders/{orderId}', options)
|
2202
2039
|
command.response_representation = Google::Apis::ContentV2::Order::Representation
|
2203
2040
|
command.response_class = Google::Apis::ContentV2::Order
|
2204
2041
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2205
2042
|
command.params['orderId'] = order_id unless order_id.nil?
|
2206
2043
|
command.query['fields'] = fields unless fields.nil?
|
2207
2044
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2208
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2209
2045
|
execute_or_queue_command(command, &block)
|
2210
2046
|
end
|
2211
2047
|
|
@@ -2218,10 +2054,8 @@ module Google
|
|
2218
2054
|
# @param [String] fields
|
2219
2055
|
# Selector specifying which fields to include in a partial response.
|
2220
2056
|
# @param [String] quota_user
|
2221
|
-
#
|
2222
|
-
# characters.
|
2223
|
-
# @param [String] user_ip
|
2224
|
-
# Deprecated. Please use quotaUser instead.
|
2057
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2058
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2225
2059
|
# @param [Google::Apis::RequestOptions] options
|
2226
2060
|
# Request-specific options
|
2227
2061
|
#
|
@@ -2234,15 +2068,14 @@ module Google
|
|
2234
2068
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2235
2069
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2236
2070
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2237
|
-
def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil,
|
2238
|
-
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
2071
|
+
def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
|
2072
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
2239
2073
|
command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
|
2240
2074
|
command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
|
2241
2075
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2242
2076
|
command.params['merchantOrderId'] = merchant_order_id unless merchant_order_id.nil?
|
2243
2077
|
command.query['fields'] = fields unless fields.nil?
|
2244
2078
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2245
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2246
2079
|
execute_or_queue_command(command, &block)
|
2247
2080
|
end
|
2248
2081
|
|
@@ -2258,10 +2091,8 @@ module Google
|
|
2258
2091
|
# @param [String] fields
|
2259
2092
|
# Selector specifying which fields to include in a partial response.
|
2260
2093
|
# @param [String] quota_user
|
2261
|
-
#
|
2262
|
-
# characters.
|
2263
|
-
# @param [String] user_ip
|
2264
|
-
# Deprecated. Please use quotaUser instead.
|
2094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2265
2096
|
# @param [Google::Apis::RequestOptions] options
|
2266
2097
|
# Request-specific options
|
2267
2098
|
#
|
@@ -2274,8 +2105,8 @@ module Google
|
|
2274
2105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2275
2106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2276
2107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2277
|
-
def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil,
|
2278
|
-
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
2108
|
+
def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2109
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/testordertemplates/{templateName}', options)
|
2279
2110
|
command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
|
2280
2111
|
command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
|
2281
2112
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2283,19 +2114,17 @@ module Google
|
|
2283
2114
|
command.query['country'] = country unless country.nil?
|
2284
2115
|
command.query['fields'] = fields unless fields.nil?
|
2285
2116
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2286
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2287
2117
|
execute_or_queue_command(command, &block)
|
2288
2118
|
end
|
2289
2119
|
|
2290
2120
|
# Deprecated. Notifies that item return and refund was handled directly by
|
2291
2121
|
# merchant outside of Google payments processing (e.g. cash refund done in store)
|
2292
|
-
# .
|
2293
|
-
#
|
2294
|
-
#
|
2295
|
-
#
|
2296
|
-
#
|
2297
|
-
#
|
2298
|
-
# refunding via Google then via an in-store return.
|
2122
|
+
# . Note: We recommend calling the returnrefundlineitem method to refund in-
|
2123
|
+
# store returns. We will issue the refund directly to the customer. This helps
|
2124
|
+
# to prevent possible differences arising between merchant and Google
|
2125
|
+
# transaction records. We also recommend having the point of sale system
|
2126
|
+
# communicate with Google to ensure that customers do not receive a double
|
2127
|
+
# refund by first refunding via Google then via an in-store return.
|
2299
2128
|
# @param [Fixnum] merchant_id
|
2300
2129
|
# The ID of the account that manages the order. This cannot be a multi-client
|
2301
2130
|
# account.
|
@@ -2305,10 +2134,8 @@ module Google
|
|
2305
2134
|
# @param [String] fields
|
2306
2135
|
# Selector specifying which fields to include in a partial response.
|
2307
2136
|
# @param [String] quota_user
|
2308
|
-
#
|
2309
|
-
# characters.
|
2310
|
-
# @param [String] user_ip
|
2311
|
-
# Deprecated. Please use quotaUser instead.
|
2137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2312
2139
|
# @param [Google::Apis::RequestOptions] options
|
2313
2140
|
# Request-specific options
|
2314
2141
|
#
|
@@ -2321,8 +2148,8 @@ module Google
|
|
2321
2148
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2322
2149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2323
2150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2324
|
-
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2325
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
2151
|
+
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2152
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
2326
2153
|
command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation
|
2327
2154
|
command.request_object = orders_in_store_refund_line_item_request_object
|
2328
2155
|
command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation
|
@@ -2331,7 +2158,6 @@ module Google
|
|
2331
2158
|
command.params['orderId'] = order_id unless order_id.nil?
|
2332
2159
|
command.query['fields'] = fields unless fields.nil?
|
2333
2160
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2334
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2335
2161
|
execute_or_queue_command(command, &block)
|
2336
2162
|
end
|
2337
2163
|
|
@@ -2342,18 +2168,16 @@ module Google
|
|
2342
2168
|
# @param [Boolean] acknowledged
|
2343
2169
|
# Obtains orders that match the acknowledgement status. When set to true,
|
2344
2170
|
# obtains orders that have been acknowledged. When false, obtains orders that
|
2345
|
-
# have not been acknowledged.
|
2346
|
-
#
|
2347
|
-
#
|
2171
|
+
# have not been acknowledged. We recommend using this filter set to `false`, in
|
2172
|
+
# conjunction with the `acknowledge` call, such that only un-acknowledged orders
|
2173
|
+
# are returned.
|
2348
2174
|
# @param [Fixnum] max_results
|
2349
2175
|
# The maximum number of orders to return in the response, used for paging. The
|
2350
2176
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
2351
2177
|
# orders per page.
|
2352
2178
|
# @param [String] order_by
|
2353
|
-
# Order results by placement date in descending or ascending order.
|
2354
|
-
#
|
2355
|
-
# - placedDateAsc
|
2356
|
-
# - placedDateDesc
|
2179
|
+
# Order results by placement date in descending or ascending order. Acceptable
|
2180
|
+
# values are: - placedDateAsc - placedDateDesc
|
2357
2181
|
# @param [String] page_token
|
2358
2182
|
# The token returned by the previous request.
|
2359
2183
|
# @param [String] placed_date_end
|
@@ -2368,10 +2192,8 @@ module Google
|
|
2368
2192
|
# @param [String] fields
|
2369
2193
|
# Selector specifying which fields to include in a partial response.
|
2370
2194
|
# @param [String] quota_user
|
2371
|
-
#
|
2372
|
-
# characters.
|
2373
|
-
# @param [String] user_ip
|
2374
|
-
# Deprecated. Please use quotaUser instead.
|
2195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2375
2197
|
# @param [Google::Apis::RequestOptions] options
|
2376
2198
|
# Request-specific options
|
2377
2199
|
#
|
@@ -2384,8 +2206,8 @@ module Google
|
|
2384
2206
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2385
2207
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2386
2208
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2387
|
-
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil,
|
2388
|
-
command = make_simple_command(:get, '{merchantId}/orders', options)
|
2209
|
+
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2210
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/orders', options)
|
2389
2211
|
command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation
|
2390
2212
|
command.response_class = Google::Apis::ContentV2::OrdersListResponse
|
2391
2213
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2398,7 +2220,6 @@ module Google
|
|
2398
2220
|
command.query['statuses'] = statuses unless statuses.nil?
|
2399
2221
|
command.query['fields'] = fields unless fields.nil?
|
2400
2222
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2401
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2402
2223
|
execute_or_queue_command(command, &block)
|
2403
2224
|
end
|
2404
2225
|
|
@@ -2412,10 +2233,8 @@ module Google
|
|
2412
2233
|
# @param [String] fields
|
2413
2234
|
# Selector specifying which fields to include in a partial response.
|
2414
2235
|
# @param [String] quota_user
|
2415
|
-
#
|
2416
|
-
# characters.
|
2417
|
-
# @param [String] user_ip
|
2418
|
-
# Deprecated. Please use quotaUser instead.
|
2236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2419
2238
|
# @param [Google::Apis::RequestOptions] options
|
2420
2239
|
# Request-specific options
|
2421
2240
|
#
|
@@ -2428,8 +2247,8 @@ module Google
|
|
2428
2247
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2429
2248
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2430
2249
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2431
|
-
def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil,
|
2432
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
|
2250
|
+
def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2251
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/refund', options)
|
2433
2252
|
command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation
|
2434
2253
|
command.request_object = orders_refund_request_object
|
2435
2254
|
command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation
|
@@ -2438,7 +2257,6 @@ module Google
|
|
2438
2257
|
command.params['orderId'] = order_id unless order_id.nil?
|
2439
2258
|
command.query['fields'] = fields unless fields.nil?
|
2440
2259
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2441
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2442
2260
|
execute_or_queue_command(command, &block)
|
2443
2261
|
end
|
2444
2262
|
|
@@ -2452,10 +2270,8 @@ module Google
|
|
2452
2270
|
# @param [String] fields
|
2453
2271
|
# Selector specifying which fields to include in a partial response.
|
2454
2272
|
# @param [String] quota_user
|
2455
|
-
#
|
2456
|
-
# characters.
|
2457
|
-
# @param [String] user_ip
|
2458
|
-
# Deprecated. Please use quotaUser instead.
|
2273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2459
2275
|
# @param [Google::Apis::RequestOptions] options
|
2460
2276
|
# Request-specific options
|
2461
2277
|
#
|
@@ -2468,8 +2284,8 @@ module Google
|
|
2468
2284
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2469
2285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2470
2286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2471
|
-
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2472
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
2287
|
+
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2288
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
2473
2289
|
command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation
|
2474
2290
|
command.request_object = orders_reject_return_line_item_request_object
|
2475
2291
|
command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation
|
@@ -2478,7 +2294,6 @@ module Google
|
|
2478
2294
|
command.params['orderId'] = order_id unless order_id.nil?
|
2479
2295
|
command.query['fields'] = fields unless fields.nil?
|
2480
2296
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2481
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2482
2297
|
execute_or_queue_command(command, &block)
|
2483
2298
|
end
|
2484
2299
|
|
@@ -2492,10 +2307,8 @@ module Google
|
|
2492
2307
|
# @param [String] fields
|
2493
2308
|
# Selector specifying which fields to include in a partial response.
|
2494
2309
|
# @param [String] quota_user
|
2495
|
-
#
|
2496
|
-
# characters.
|
2497
|
-
# @param [String] user_ip
|
2498
|
-
# Deprecated. Please use quotaUser instead.
|
2310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2499
2312
|
# @param [Google::Apis::RequestOptions] options
|
2500
2313
|
# Request-specific options
|
2501
2314
|
#
|
@@ -2508,8 +2321,8 @@ module Google
|
|
2508
2321
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2509
2322
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2510
2323
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2511
|
-
def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2512
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
|
2324
|
+
def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2325
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnLineItem', options)
|
2513
2326
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
|
2514
2327
|
command.request_object = orders_return_line_item_request_object
|
2515
2328
|
command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation
|
@@ -2518,7 +2331,6 @@ module Google
|
|
2518
2331
|
command.params['orderId'] = order_id unless order_id.nil?
|
2519
2332
|
command.query['fields'] = fields unless fields.nil?
|
2520
2333
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2521
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2522
2334
|
execute_or_queue_command(command, &block)
|
2523
2335
|
end
|
2524
2336
|
|
@@ -2537,10 +2349,8 @@ module Google
|
|
2537
2349
|
# @param [String] fields
|
2538
2350
|
# Selector specifying which fields to include in a partial response.
|
2539
2351
|
# @param [String] quota_user
|
2540
|
-
#
|
2541
|
-
# characters.
|
2542
|
-
# @param [String] user_ip
|
2543
|
-
# Deprecated. Please use quotaUser instead.
|
2352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2544
2354
|
# @param [Google::Apis::RequestOptions] options
|
2545
2355
|
# Request-specific options
|
2546
2356
|
#
|
@@ -2553,8 +2363,8 @@ module Google
|
|
2553
2363
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2554
2364
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2555
2365
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2556
|
-
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil,
|
2557
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
2366
|
+
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2367
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
2558
2368
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation
|
2559
2369
|
command.request_object = orders_return_refund_line_item_request_object
|
2560
2370
|
command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation
|
@@ -2563,7 +2373,6 @@ module Google
|
|
2563
2373
|
command.params['orderId'] = order_id unless order_id.nil?
|
2564
2374
|
command.query['fields'] = fields unless fields.nil?
|
2565
2375
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2566
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2567
2376
|
execute_or_queue_command(command, &block)
|
2568
2377
|
end
|
2569
2378
|
|
@@ -2581,10 +2390,8 @@ module Google
|
|
2581
2390
|
# @param [String] fields
|
2582
2391
|
# Selector specifying which fields to include in a partial response.
|
2583
2392
|
# @param [String] quota_user
|
2584
|
-
#
|
2585
|
-
# characters.
|
2586
|
-
# @param [String] user_ip
|
2587
|
-
# Deprecated. Please use quotaUser instead.
|
2393
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2394
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2588
2395
|
# @param [Google::Apis::RequestOptions] options
|
2589
2396
|
# Request-specific options
|
2590
2397
|
#
|
@@ -2597,8 +2404,8 @@ module Google
|
|
2597
2404
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2598
2405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2599
2406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2600
|
-
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil,
|
2601
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
2407
|
+
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2408
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
2602
2409
|
command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
|
2603
2410
|
command.request_object = orders_set_line_item_metadata_request_object
|
2604
2411
|
command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
|
@@ -2607,7 +2414,6 @@ module Google
|
|
2607
2414
|
command.params['orderId'] = order_id unless order_id.nil?
|
2608
2415
|
command.query['fields'] = fields unless fields.nil?
|
2609
2416
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2610
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2611
2417
|
execute_or_queue_command(command, &block)
|
2612
2418
|
end
|
2613
2419
|
|
@@ -2621,10 +2427,8 @@ module Google
|
|
2621
2427
|
# @param [String] fields
|
2622
2428
|
# Selector specifying which fields to include in a partial response.
|
2623
2429
|
# @param [String] quota_user
|
2624
|
-
#
|
2625
|
-
# characters.
|
2626
|
-
# @param [String] user_ip
|
2627
|
-
# Deprecated. Please use quotaUser instead.
|
2430
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2431
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2628
2432
|
# @param [Google::Apis::RequestOptions] options
|
2629
2433
|
# Request-specific options
|
2630
2434
|
#
|
@@ -2637,8 +2441,8 @@ module Google
|
|
2637
2441
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2638
2442
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2639
2443
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2640
|
-
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil,
|
2641
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
2444
|
+
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2445
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/shipLineItems', options)
|
2642
2446
|
command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation
|
2643
2447
|
command.request_object = orders_ship_line_items_request_object
|
2644
2448
|
command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation
|
@@ -2647,7 +2451,6 @@ module Google
|
|
2647
2451
|
command.params['orderId'] = order_id unless order_id.nil?
|
2648
2452
|
command.query['fields'] = fields unless fields.nil?
|
2649
2453
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2650
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2651
2454
|
execute_or_queue_command(command, &block)
|
2652
2455
|
end
|
2653
2456
|
|
@@ -2661,10 +2464,8 @@ module Google
|
|
2661
2464
|
# @param [String] fields
|
2662
2465
|
# Selector specifying which fields to include in a partial response.
|
2663
2466
|
# @param [String] quota_user
|
2664
|
-
#
|
2665
|
-
# characters.
|
2666
|
-
# @param [String] user_ip
|
2667
|
-
# Deprecated. Please use quotaUser instead.
|
2467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2668
2469
|
# @param [Google::Apis::RequestOptions] options
|
2669
2470
|
# Request-specific options
|
2670
2471
|
#
|
@@ -2677,8 +2478,8 @@ module Google
|
|
2677
2478
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2678
2479
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2679
2480
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2680
|
-
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil,
|
2681
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
2481
|
+
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2482
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
2682
2483
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
2683
2484
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
2684
2485
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
@@ -2687,7 +2488,6 @@ module Google
|
|
2687
2488
|
command.params['orderId'] = order_id unless order_id.nil?
|
2688
2489
|
command.query['fields'] = fields unless fields.nil?
|
2689
2490
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2690
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2691
2491
|
execute_or_queue_command(command, &block)
|
2692
2492
|
end
|
2693
2493
|
|
@@ -2701,10 +2501,8 @@ module Google
|
|
2701
2501
|
# @param [String] fields
|
2702
2502
|
# Selector specifying which fields to include in a partial response.
|
2703
2503
|
# @param [String] quota_user
|
2704
|
-
#
|
2705
|
-
# characters.
|
2706
|
-
# @param [String] user_ip
|
2707
|
-
# Deprecated. Please use quotaUser instead.
|
2504
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2505
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2708
2506
|
# @param [Google::Apis::RequestOptions] options
|
2709
2507
|
# Request-specific options
|
2710
2508
|
#
|
@@ -2717,8 +2515,8 @@ module Google
|
|
2717
2515
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2718
2516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2719
2517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2720
|
-
def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil,
|
2721
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
2518
|
+
def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2519
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
2722
2520
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
|
2723
2521
|
command.request_object = orders_update_merchant_order_id_request_object
|
2724
2522
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation
|
@@ -2727,7 +2525,6 @@ module Google
|
|
2727
2525
|
command.params['orderId'] = order_id unless order_id.nil?
|
2728
2526
|
command.query['fields'] = fields unless fields.nil?
|
2729
2527
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2730
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2731
2528
|
execute_or_queue_command(command, &block)
|
2732
2529
|
end
|
2733
2530
|
|
@@ -2741,10 +2538,8 @@ module Google
|
|
2741
2538
|
# @param [String] fields
|
2742
2539
|
# Selector specifying which fields to include in a partial response.
|
2743
2540
|
# @param [String] quota_user
|
2744
|
-
#
|
2745
|
-
# characters.
|
2746
|
-
# @param [String] user_ip
|
2747
|
-
# Deprecated. Please use quotaUser instead.
|
2541
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2542
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2748
2543
|
# @param [Google::Apis::RequestOptions] options
|
2749
2544
|
# Request-specific options
|
2750
2545
|
#
|
@@ -2757,8 +2552,8 @@ module Google
|
|
2757
2552
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2758
2553
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2759
2554
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2760
|
-
def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil,
|
2761
|
-
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
2555
|
+
def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2556
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/orders/{orderId}/updateShipment', options)
|
2762
2557
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
|
2763
2558
|
command.request_object = orders_update_shipment_request_object
|
2764
2559
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation
|
@@ -2767,7 +2562,6 @@ module Google
|
|
2767
2562
|
command.params['orderId'] = order_id unless order_id.nil?
|
2768
2563
|
command.query['fields'] = fields unless fields.nil?
|
2769
2564
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2770
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2771
2565
|
execute_or_queue_command(command, &block)
|
2772
2566
|
end
|
2773
2567
|
|
@@ -2779,10 +2573,8 @@ module Google
|
|
2779
2573
|
# @param [String] fields
|
2780
2574
|
# Selector specifying which fields to include in a partial response.
|
2781
2575
|
# @param [String] quota_user
|
2782
|
-
#
|
2783
|
-
# characters.
|
2784
|
-
# @param [String] user_ip
|
2785
|
-
# Deprecated. Please use quotaUser instead.
|
2576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2786
2578
|
# @param [Google::Apis::RequestOptions] options
|
2787
2579
|
# Request-specific options
|
2788
2580
|
#
|
@@ -2795,8 +2587,8 @@ module Google
|
|
2795
2587
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2796
2588
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2797
2589
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2798
|
-
def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
2799
|
-
command = make_simple_command(:post, 'pos/batch', options)
|
2590
|
+
def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2591
|
+
command = make_simple_command(:post, 'content/v2/pos/batch', options)
|
2800
2592
|
command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
|
2801
2593
|
command.request_object = pos_custom_batch_request_object
|
2802
2594
|
command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
|
@@ -2804,7 +2596,6 @@ module Google
|
|
2804
2596
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
2805
2597
|
command.query['fields'] = fields unless fields.nil?
|
2806
2598
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2807
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2808
2599
|
execute_or_queue_command(command, &block)
|
2809
2600
|
end
|
2810
2601
|
|
@@ -2821,10 +2612,8 @@ module Google
|
|
2821
2612
|
# @param [String] fields
|
2822
2613
|
# Selector specifying which fields to include in a partial response.
|
2823
2614
|
# @param [String] quota_user
|
2824
|
-
#
|
2825
|
-
# characters.
|
2826
|
-
# @param [String] user_ip
|
2827
|
-
# Deprecated. Please use quotaUser instead.
|
2615
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2616
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2828
2617
|
# @param [Google::Apis::RequestOptions] options
|
2829
2618
|
# Request-specific options
|
2830
2619
|
#
|
@@ -2837,15 +2626,14 @@ module Google
|
|
2837
2626
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2838
2627
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2839
2628
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2840
|
-
def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil,
|
2841
|
-
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
2629
|
+
def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2630
|
+
command = make_simple_command(:delete, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
2842
2631
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2843
2632
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
2844
2633
|
command.params['storeCode'] = store_code unless store_code.nil?
|
2845
2634
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
2846
2635
|
command.query['fields'] = fields unless fields.nil?
|
2847
2636
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2848
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2849
2637
|
execute_or_queue_command(command, &block)
|
2850
2638
|
end
|
2851
2639
|
|
@@ -2859,10 +2647,8 @@ module Google
|
|
2859
2647
|
# @param [String] fields
|
2860
2648
|
# Selector specifying which fields to include in a partial response.
|
2861
2649
|
# @param [String] quota_user
|
2862
|
-
#
|
2863
|
-
# characters.
|
2864
|
-
# @param [String] user_ip
|
2865
|
-
# Deprecated. Please use quotaUser instead.
|
2650
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2651
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2866
2652
|
# @param [Google::Apis::RequestOptions] options
|
2867
2653
|
# Request-specific options
|
2868
2654
|
#
|
@@ -2875,8 +2661,8 @@ module Google
|
|
2875
2661
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2876
2662
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2877
2663
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2878
|
-
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil,
|
2879
|
-
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
2664
|
+
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
|
2665
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
2880
2666
|
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
2881
2667
|
command.response_class = Google::Apis::ContentV2::PosStore
|
2882
2668
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2884,7 +2670,6 @@ module Google
|
|
2884
2670
|
command.params['storeCode'] = store_code unless store_code.nil?
|
2885
2671
|
command.query['fields'] = fields unless fields.nil?
|
2886
2672
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2887
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2888
2673
|
execute_or_queue_command(command, &block)
|
2889
2674
|
end
|
2890
2675
|
|
@@ -2900,10 +2685,8 @@ module Google
|
|
2900
2685
|
# @param [String] fields
|
2901
2686
|
# Selector specifying which fields to include in a partial response.
|
2902
2687
|
# @param [String] quota_user
|
2903
|
-
#
|
2904
|
-
# characters.
|
2905
|
-
# @param [String] user_ip
|
2906
|
-
# Deprecated. Please use quotaUser instead.
|
2688
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2689
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2907
2690
|
# @param [Google::Apis::RequestOptions] options
|
2908
2691
|
# Request-specific options
|
2909
2692
|
#
|
@@ -2916,8 +2699,8 @@ module Google
|
|
2916
2699
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2917
2700
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2918
2701
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2919
|
-
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
2920
|
-
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
2702
|
+
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2703
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options)
|
2921
2704
|
command.request_representation = Google::Apis::ContentV2::PosStore::Representation
|
2922
2705
|
command.request_object = pos_store_object
|
2923
2706
|
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
@@ -2927,7 +2710,6 @@ module Google
|
|
2927
2710
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
2928
2711
|
command.query['fields'] = fields unless fields.nil?
|
2929
2712
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2930
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2931
2713
|
execute_or_queue_command(command, &block)
|
2932
2714
|
end
|
2933
2715
|
|
@@ -2943,10 +2725,8 @@ module Google
|
|
2943
2725
|
# @param [String] fields
|
2944
2726
|
# Selector specifying which fields to include in a partial response.
|
2945
2727
|
# @param [String] quota_user
|
2946
|
-
#
|
2947
|
-
# characters.
|
2948
|
-
# @param [String] user_ip
|
2949
|
-
# Deprecated. Please use quotaUser instead.
|
2728
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2729
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2950
2730
|
# @param [Google::Apis::RequestOptions] options
|
2951
2731
|
# Request-specific options
|
2952
2732
|
#
|
@@ -2959,8 +2739,8 @@ module Google
|
|
2959
2739
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2960
2740
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2961
2741
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2962
|
-
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
2963
|
-
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
2742
|
+
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2743
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/inventory', options)
|
2964
2744
|
command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
|
2965
2745
|
command.request_object = pos_inventory_request_object
|
2966
2746
|
command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
|
@@ -2970,7 +2750,6 @@ module Google
|
|
2970
2750
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
2971
2751
|
command.query['fields'] = fields unless fields.nil?
|
2972
2752
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2973
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
2974
2753
|
execute_or_queue_command(command, &block)
|
2975
2754
|
end
|
2976
2755
|
|
@@ -2982,10 +2761,8 @@ module Google
|
|
2982
2761
|
# @param [String] fields
|
2983
2762
|
# Selector specifying which fields to include in a partial response.
|
2984
2763
|
# @param [String] quota_user
|
2985
|
-
#
|
2986
|
-
# characters.
|
2987
|
-
# @param [String] user_ip
|
2988
|
-
# Deprecated. Please use quotaUser instead.
|
2764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2989
2766
|
# @param [Google::Apis::RequestOptions] options
|
2990
2767
|
# Request-specific options
|
2991
2768
|
#
|
@@ -2998,15 +2775,14 @@ module Google
|
|
2998
2775
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2999
2776
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3000
2777
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3001
|
-
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil,
|
3002
|
-
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
2778
|
+
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
2779
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/pos/{targetMerchantId}/store', options)
|
3003
2780
|
command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
|
3004
2781
|
command.response_class = Google::Apis::ContentV2::PosListResponse
|
3005
2782
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3006
2783
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3007
2784
|
command.query['fields'] = fields unless fields.nil?
|
3008
2785
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3009
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3010
2786
|
execute_or_queue_command(command, &block)
|
3011
2787
|
end
|
3012
2788
|
|
@@ -3022,10 +2798,8 @@ module Google
|
|
3022
2798
|
# @param [String] fields
|
3023
2799
|
# Selector specifying which fields to include in a partial response.
|
3024
2800
|
# @param [String] quota_user
|
3025
|
-
#
|
3026
|
-
# characters.
|
3027
|
-
# @param [String] user_ip
|
3028
|
-
# Deprecated. Please use quotaUser instead.
|
2801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3029
2803
|
# @param [Google::Apis::RequestOptions] options
|
3030
2804
|
# Request-specific options
|
3031
2805
|
#
|
@@ -3038,8 +2812,8 @@ module Google
|
|
3038
2812
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3039
2813
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3040
2814
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3041
|
-
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
3042
|
-
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
2815
|
+
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2816
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/pos/{targetMerchantId}/sale', options)
|
3043
2817
|
command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
|
3044
2818
|
command.request_object = pos_sale_request_object
|
3045
2819
|
command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
|
@@ -3049,7 +2823,6 @@ module Google
|
|
3049
2823
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3050
2824
|
command.query['fields'] = fields unless fields.nil?
|
3051
2825
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3052
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3053
2826
|
execute_or_queue_command(command, &block)
|
3054
2827
|
end
|
3055
2828
|
|
@@ -3061,10 +2834,8 @@ module Google
|
|
3061
2834
|
# @param [String] fields
|
3062
2835
|
# Selector specifying which fields to include in a partial response.
|
3063
2836
|
# @param [String] quota_user
|
3064
|
-
#
|
3065
|
-
# characters.
|
3066
|
-
# @param [String] user_ip
|
3067
|
-
# Deprecated. Please use quotaUser instead.
|
2837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3068
2839
|
# @param [Google::Apis::RequestOptions] options
|
3069
2840
|
# Request-specific options
|
3070
2841
|
#
|
@@ -3077,8 +2848,8 @@ module Google
|
|
3077
2848
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3078
2849
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3079
2850
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3080
|
-
def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
3081
|
-
command = make_simple_command(:post, 'products/batch', options)
|
2851
|
+
def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2852
|
+
command = make_simple_command(:post, 'content/v2/products/batch', options)
|
3082
2853
|
command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
|
3083
2854
|
command.request_object = batch_products_request_object
|
3084
2855
|
command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
|
@@ -3086,7 +2857,6 @@ module Google
|
|
3086
2857
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3087
2858
|
command.query['fields'] = fields unless fields.nil?
|
3088
2859
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3089
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3090
2860
|
execute_or_queue_command(command, &block)
|
3091
2861
|
end
|
3092
2862
|
|
@@ -3102,10 +2872,8 @@ module Google
|
|
3102
2872
|
# @param [String] fields
|
3103
2873
|
# Selector specifying which fields to include in a partial response.
|
3104
2874
|
# @param [String] quota_user
|
3105
|
-
#
|
3106
|
-
# characters.
|
3107
|
-
# @param [String] user_ip
|
3108
|
-
# Deprecated. Please use quotaUser instead.
|
2875
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2876
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3109
2877
|
# @param [Google::Apis::RequestOptions] options
|
3110
2878
|
# Request-specific options
|
3111
2879
|
#
|
@@ -3118,14 +2886,13 @@ module Google
|
|
3118
2886
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3119
2887
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3120
2888
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3121
|
-
def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil,
|
3122
|
-
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
2889
|
+
def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2890
|
+
command = make_simple_command(:delete, 'content/v2/{merchantId}/products/{productId}', options)
|
3123
2891
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3124
2892
|
command.params['productId'] = product_id unless product_id.nil?
|
3125
2893
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3126
2894
|
command.query['fields'] = fields unless fields.nil?
|
3127
2895
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3128
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3129
2896
|
execute_or_queue_command(command, &block)
|
3130
2897
|
end
|
3131
2898
|
|
@@ -3138,10 +2905,8 @@ module Google
|
|
3138
2905
|
# @param [String] fields
|
3139
2906
|
# Selector specifying which fields to include in a partial response.
|
3140
2907
|
# @param [String] quota_user
|
3141
|
-
#
|
3142
|
-
# characters.
|
3143
|
-
# @param [String] user_ip
|
3144
|
-
# Deprecated. Please use quotaUser instead.
|
2908
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2909
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3145
2910
|
# @param [Google::Apis::RequestOptions] options
|
3146
2911
|
# Request-specific options
|
3147
2912
|
#
|
@@ -3154,15 +2919,14 @@ module Google
|
|
3154
2919
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3155
2920
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3156
2921
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3157
|
-
def get_product(merchant_id, product_id, fields: nil, quota_user: nil,
|
3158
|
-
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
2922
|
+
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
|
2923
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/products/{productId}', options)
|
3159
2924
|
command.response_representation = Google::Apis::ContentV2::Product::Representation
|
3160
2925
|
command.response_class = Google::Apis::ContentV2::Product
|
3161
2926
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3162
2927
|
command.params['productId'] = product_id unless product_id.nil?
|
3163
2928
|
command.query['fields'] = fields unless fields.nil?
|
3164
2929
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3165
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3166
2930
|
execute_or_queue_command(command, &block)
|
3167
2931
|
end
|
3168
2932
|
|
@@ -3179,10 +2943,8 @@ module Google
|
|
3179
2943
|
# @param [String] fields
|
3180
2944
|
# Selector specifying which fields to include in a partial response.
|
3181
2945
|
# @param [String] quota_user
|
3182
|
-
#
|
3183
|
-
# characters.
|
3184
|
-
# @param [String] user_ip
|
3185
|
-
# Deprecated. Please use quotaUser instead.
|
2946
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2947
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3186
2948
|
# @param [Google::Apis::RequestOptions] options
|
3187
2949
|
# Request-specific options
|
3188
2950
|
#
|
@@ -3195,8 +2957,8 @@ module Google
|
|
3195
2957
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3196
2958
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3197
2959
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3198
|
-
def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
3199
|
-
command = make_simple_command(:post, '{merchantId}/products', options)
|
2960
|
+
def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2961
|
+
command = make_simple_command(:post, 'content/v2/{merchantId}/products', options)
|
3200
2962
|
command.request_representation = Google::Apis::ContentV2::Product::Representation
|
3201
2963
|
command.request_object = product_object
|
3202
2964
|
command.response_representation = Google::Apis::ContentV2::Product::Representation
|
@@ -3205,7 +2967,6 @@ module Google
|
|
3205
2967
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3206
2968
|
command.query['fields'] = fields unless fields.nil?
|
3207
2969
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3208
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3209
2970
|
execute_or_queue_command(command, &block)
|
3210
2971
|
end
|
3211
2972
|
|
@@ -3225,10 +2986,8 @@ module Google
|
|
3225
2986
|
# @param [String] fields
|
3226
2987
|
# Selector specifying which fields to include in a partial response.
|
3227
2988
|
# @param [String] quota_user
|
3228
|
-
#
|
3229
|
-
# characters.
|
3230
|
-
# @param [String] user_ip
|
3231
|
-
# Deprecated. Please use quotaUser instead.
|
2989
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2990
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3232
2991
|
# @param [Google::Apis::RequestOptions] options
|
3233
2992
|
# Request-specific options
|
3234
2993
|
#
|
@@ -3241,8 +3000,8 @@ module Google
|
|
3241
3000
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3242
3001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3243
3002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3244
|
-
def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
3245
|
-
command = make_simple_command(:get, '{merchantId}/products', options)
|
3003
|
+
def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3004
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/products', options)
|
3246
3005
|
command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
|
3247
3006
|
command.response_class = Google::Apis::ContentV2::ListProductsResponse
|
3248
3007
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3251,7 +3010,6 @@ module Google
|
|
3251
3010
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3252
3011
|
command.query['fields'] = fields unless fields.nil?
|
3253
3012
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3254
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3255
3013
|
execute_or_queue_command(command, &block)
|
3256
3014
|
end
|
3257
3015
|
|
@@ -3263,10 +3021,8 @@ module Google
|
|
3263
3021
|
# @param [String] fields
|
3264
3022
|
# Selector specifying which fields to include in a partial response.
|
3265
3023
|
# @param [String] quota_user
|
3266
|
-
#
|
3267
|
-
# characters.
|
3268
|
-
# @param [String] user_ip
|
3269
|
-
# Deprecated. Please use quotaUser instead.
|
3024
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3025
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3270
3026
|
# @param [Google::Apis::RequestOptions] options
|
3271
3027
|
# Request-specific options
|
3272
3028
|
#
|
@@ -3279,8 +3035,8 @@ module Google
|
|
3279
3035
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3280
3036
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3281
3037
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3282
|
-
def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil,
|
3283
|
-
command = make_simple_command(:post, 'productstatuses/batch', options)
|
3038
|
+
def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3039
|
+
command = make_simple_command(:post, 'content/v2/productstatuses/batch', options)
|
3284
3040
|
command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
|
3285
3041
|
command.request_object = batch_product_statuses_request_object
|
3286
3042
|
command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
|
@@ -3288,7 +3044,6 @@ module Google
|
|
3288
3044
|
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
|
3289
3045
|
command.query['fields'] = fields unless fields.nil?
|
3290
3046
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3291
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3292
3047
|
execute_or_queue_command(command, &block)
|
3293
3048
|
end
|
3294
3049
|
|
@@ -3307,10 +3062,8 @@ module Google
|
|
3307
3062
|
# @param [String] fields
|
3308
3063
|
# Selector specifying which fields to include in a partial response.
|
3309
3064
|
# @param [String] quota_user
|
3310
|
-
#
|
3311
|
-
# characters.
|
3312
|
-
# @param [String] user_ip
|
3313
|
-
# Deprecated. Please use quotaUser instead.
|
3065
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3066
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3314
3067
|
# @param [Google::Apis::RequestOptions] options
|
3315
3068
|
# Request-specific options
|
3316
3069
|
#
|
@@ -3323,8 +3076,8 @@ module Google
|
|
3323
3076
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3324
3077
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3325
3078
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3326
|
-
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil,
|
3327
|
-
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
3079
|
+
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3080
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses/{productId}', options)
|
3328
3081
|
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
|
3329
3082
|
command.response_class = Google::Apis::ContentV2::ProductStatus
|
3330
3083
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3333,7 +3086,6 @@ module Google
|
|
3333
3086
|
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
|
3334
3087
|
command.query['fields'] = fields unless fields.nil?
|
3335
3088
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3336
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3337
3089
|
execute_or_queue_command(command, &block)
|
3338
3090
|
end
|
3339
3091
|
|
@@ -3358,10 +3110,8 @@ module Google
|
|
3358
3110
|
# @param [String] fields
|
3359
3111
|
# Selector specifying which fields to include in a partial response.
|
3360
3112
|
# @param [String] quota_user
|
3361
|
-
#
|
3362
|
-
# characters.
|
3363
|
-
# @param [String] user_ip
|
3364
|
-
# Deprecated. Please use quotaUser instead.
|
3113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3365
3115
|
# @param [Google::Apis::RequestOptions] options
|
3366
3116
|
# Request-specific options
|
3367
3117
|
#
|
@@ -3374,8 +3124,8 @@ module Google
|
|
3374
3124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3375
3125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3376
3126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3377
|
-
def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
3378
|
-
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
3127
|
+
def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3128
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/productstatuses', options)
|
3379
3129
|
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
|
3380
3130
|
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
|
3381
3131
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3386,7 +3136,6 @@ module Google
|
|
3386
3136
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3387
3137
|
command.query['fields'] = fields unless fields.nil?
|
3388
3138
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3389
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3390
3139
|
execute_or_queue_command(command, &block)
|
3391
3140
|
end
|
3392
3141
|
|
@@ -3399,10 +3148,8 @@ module Google
|
|
3399
3148
|
# @param [String] fields
|
3400
3149
|
# Selector specifying which fields to include in a partial response.
|
3401
3150
|
# @param [String] quota_user
|
3402
|
-
#
|
3403
|
-
# characters.
|
3404
|
-
# @param [String] user_ip
|
3405
|
-
# Deprecated. Please use quotaUser instead.
|
3151
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3152
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3406
3153
|
# @param [Google::Apis::RequestOptions] options
|
3407
3154
|
# Request-specific options
|
3408
3155
|
#
|
@@ -3415,8 +3162,8 @@ module Google
|
|
3415
3162
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3416
3163
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3417
3164
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3418
|
-
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
3419
|
-
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
3165
|
+
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3166
|
+
command = make_simple_command(:post, 'content/v2/shippingsettings/batch', options)
|
3420
3167
|
command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
|
3421
3168
|
command.request_object = shippingsettings_custom_batch_request_object
|
3422
3169
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
|
@@ -3424,7 +3171,6 @@ module Google
|
|
3424
3171
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3425
3172
|
command.query['fields'] = fields unless fields.nil?
|
3426
3173
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3427
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3428
3174
|
execute_or_queue_command(command, &block)
|
3429
3175
|
end
|
3430
3176
|
|
@@ -3438,10 +3184,8 @@ module Google
|
|
3438
3184
|
# @param [String] fields
|
3439
3185
|
# Selector specifying which fields to include in a partial response.
|
3440
3186
|
# @param [String] quota_user
|
3441
|
-
#
|
3442
|
-
# characters.
|
3443
|
-
# @param [String] user_ip
|
3444
|
-
# Deprecated. Please use quotaUser instead.
|
3187
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3188
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3445
3189
|
# @param [Google::Apis::RequestOptions] options
|
3446
3190
|
# Request-specific options
|
3447
3191
|
#
|
@@ -3454,15 +3198,14 @@ module Google
|
|
3454
3198
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3455
3199
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3456
3200
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3457
|
-
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil,
|
3458
|
-
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
3201
|
+
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
3202
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings/{accountId}', options)
|
3459
3203
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3460
3204
|
command.response_class = Google::Apis::ContentV2::ShippingSettings
|
3461
3205
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3462
3206
|
command.params['accountId'] = account_id unless account_id.nil?
|
3463
3207
|
command.query['fields'] = fields unless fields.nil?
|
3464
3208
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3465
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3466
3209
|
execute_or_queue_command(command, &block)
|
3467
3210
|
end
|
3468
3211
|
|
@@ -3472,10 +3215,8 @@ module Google
|
|
3472
3215
|
# @param [String] fields
|
3473
3216
|
# Selector specifying which fields to include in a partial response.
|
3474
3217
|
# @param [String] quota_user
|
3475
|
-
#
|
3476
|
-
# characters.
|
3477
|
-
# @param [String] user_ip
|
3478
|
-
# Deprecated. Please use quotaUser instead.
|
3218
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3219
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3479
3220
|
# @param [Google::Apis::RequestOptions] options
|
3480
3221
|
# Request-specific options
|
3481
3222
|
#
|
@@ -3488,14 +3229,13 @@ module Google
|
|
3488
3229
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3489
3230
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3490
3231
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3491
|
-
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil,
|
3492
|
-
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
3232
|
+
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
3233
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/supportedCarriers', options)
|
3493
3234
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
|
3494
3235
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
|
3495
3236
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3496
3237
|
command.query['fields'] = fields unless fields.nil?
|
3497
3238
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3498
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3499
3239
|
execute_or_queue_command(command, &block)
|
3500
3240
|
end
|
3501
3241
|
|
@@ -3505,10 +3245,8 @@ module Google
|
|
3505
3245
|
# @param [String] fields
|
3506
3246
|
# Selector specifying which fields to include in a partial response.
|
3507
3247
|
# @param [String] quota_user
|
3508
|
-
#
|
3509
|
-
# characters.
|
3510
|
-
# @param [String] user_ip
|
3511
|
-
# Deprecated. Please use quotaUser instead.
|
3248
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3249
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3512
3250
|
# @param [Google::Apis::RequestOptions] options
|
3513
3251
|
# Request-specific options
|
3514
3252
|
#
|
@@ -3521,14 +3259,13 @@ module Google
|
|
3521
3259
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3522
3260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3523
3261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3524
|
-
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil,
|
3525
|
-
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
3262
|
+
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
3263
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/supportedHolidays', options)
|
3526
3264
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
3527
3265
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
|
3528
3266
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3529
3267
|
command.query['fields'] = fields unless fields.nil?
|
3530
3268
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3531
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3532
3269
|
execute_or_queue_command(command, &block)
|
3533
3270
|
end
|
3534
3271
|
|
@@ -3538,10 +3275,8 @@ module Google
|
|
3538
3275
|
# @param [String] fields
|
3539
3276
|
# Selector specifying which fields to include in a partial response.
|
3540
3277
|
# @param [String] quota_user
|
3541
|
-
#
|
3542
|
-
# characters.
|
3543
|
-
# @param [String] user_ip
|
3544
|
-
# Deprecated. Please use quotaUser instead.
|
3278
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3279
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3545
3280
|
# @param [Google::Apis::RequestOptions] options
|
3546
3281
|
# Request-specific options
|
3547
3282
|
#
|
@@ -3554,14 +3289,13 @@ module Google
|
|
3554
3289
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3555
3290
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3556
3291
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3557
|
-
def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil,
|
3558
|
-
command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
|
3292
|
+
def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
3293
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/supportedPickupServices', options)
|
3559
3294
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse::Representation
|
3560
3295
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse
|
3561
3296
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3562
3297
|
command.query['fields'] = fields unless fields.nil?
|
3563
3298
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3564
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3565
3299
|
execute_or_queue_command(command, &block)
|
3566
3300
|
end
|
3567
3301
|
|
@@ -3577,10 +3311,8 @@ module Google
|
|
3577
3311
|
# @param [String] fields
|
3578
3312
|
# Selector specifying which fields to include in a partial response.
|
3579
3313
|
# @param [String] quota_user
|
3580
|
-
#
|
3581
|
-
# characters.
|
3582
|
-
# @param [String] user_ip
|
3583
|
-
# Deprecated. Please use quotaUser instead.
|
3314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3584
3316
|
# @param [Google::Apis::RequestOptions] options
|
3585
3317
|
# Request-specific options
|
3586
3318
|
#
|
@@ -3593,8 +3325,8 @@ module Google
|
|
3593
3325
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3594
3326
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3595
3327
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3596
|
-
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
3597
|
-
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
3328
|
+
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3329
|
+
command = make_simple_command(:get, 'content/v2/{merchantId}/shippingsettings', options)
|
3598
3330
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
|
3599
3331
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
|
3600
3332
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3602,7 +3334,6 @@ module Google
|
|
3602
3334
|
command.query['pageToken'] = page_token unless page_token.nil?
|
3603
3335
|
command.query['fields'] = fields unless fields.nil?
|
3604
3336
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3605
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3606
3337
|
execute_or_queue_command(command, &block)
|
3607
3338
|
end
|
3608
3339
|
|
@@ -3621,10 +3352,8 @@ module Google
|
|
3621
3352
|
# @param [String] fields
|
3622
3353
|
# Selector specifying which fields to include in a partial response.
|
3623
3354
|
# @param [String] quota_user
|
3624
|
-
#
|
3625
|
-
# characters.
|
3626
|
-
# @param [String] user_ip
|
3627
|
-
# Deprecated. Please use quotaUser instead.
|
3355
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3356
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3628
3357
|
# @param [Google::Apis::RequestOptions] options
|
3629
3358
|
# Request-specific options
|
3630
3359
|
#
|
@@ -3637,8 +3366,8 @@ module Google
|
|
3637
3366
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3638
3367
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3639
3368
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3640
|
-
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil,
|
3641
|
-
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
3369
|
+
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3370
|
+
command = make_simple_command(:put, 'content/v2/{merchantId}/shippingsettings/{accountId}', options)
|
3642
3371
|
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3643
3372
|
command.request_object = shipping_settings_object
|
3644
3373
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
@@ -3648,7 +3377,6 @@ module Google
|
|
3648
3377
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3649
3378
|
command.query['fields'] = fields unless fields.nil?
|
3650
3379
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3651
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3652
3380
|
execute_or_queue_command(command, &block)
|
3653
3381
|
end
|
3654
3382
|
|
@@ -3657,7 +3385,6 @@ module Google
|
|
3657
3385
|
def apply_command_defaults(command)
|
3658
3386
|
command.query['key'] = key unless key.nil?
|
3659
3387
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3660
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3661
3388
|
end
|
3662
3389
|
end
|
3663
3390
|
end
|