google-api-client 0.28.4 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -34
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +460 -0
- data/README.md +1 -1
- data/Rakefile +31 -0
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -100
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1/service.rb +45 -39
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta/service.rb +45 -39
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +5 -4
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
- data/generated/google/apis/bigquery_v2/representations.rb +414 -26
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
- data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +276 -51
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
- data/generated/google/apis/cloudasset_v1/service.rb +191 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
- data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
- data/generated/google/apis/compute_alpha/representations.rb +1337 -219
- data/generated/google/apis/compute_alpha/service.rb +4259 -2728
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4254 -2781
- data/generated/google/apis/compute_beta/representations.rb +853 -283
- data/generated/google/apis/compute_beta/service.rb +7077 -5955
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1259 -93
- data/generated/google/apis/compute_v1/representations.rb +450 -1
- data/generated/google/apis/compute_v1/service.rb +1085 -400
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +201 -22
- data/generated/google/apis/container_v1/representations.rb +69 -0
- data/generated/google/apis/container_v1/service.rb +151 -102
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +215 -25
- data/generated/google/apis/container_v1beta1/representations.rb +86 -0
- data/generated/google/apis/container_v1beta1/service.rb +106 -106
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +218 -101
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +189 -152
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +387 -216
- data/generated/google/apis/content_v2_1/representations.rb +131 -56
- data/generated/google/apis/content_v2_1/service.rb +190 -107
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
- data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +27 -22
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2/service.rb +76 -60
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +116 -45
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +85 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +83 -1
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +265 -47
- data/generated/google/apis/docs_v1/representations.rb +96 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +601 -80
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +574 -164
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -75
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +483 -116
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +646 -11
- data/generated/google/apis/file_v1/representations.rb +207 -0
- data/generated/google/apis/file_v1/service.rb +196 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +461 -19
- data/generated/google/apis/file_v1beta1/representations.rb +137 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firebaserules_v1/service.rb +12 -12
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +4 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -58
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/games_v1.rb +3 -3
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +142 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +4 -4
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/iam_v1/classes.rb +171 -1
- data/generated/google/apis/iam_v1/representations.rb +95 -0
- data/generated/google/apis/iam_v1/service.rb +249 -39
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/classes.rb +16 -17
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +14 -8
- data/generated/google/apis/jobs_v3/service.rb +16 -17
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
- data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +8 -7
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +8 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +240 -52
- data/generated/google/apis/ml_v1/representations.rb +25 -2
- data/generated/google/apis/ml_v1/service.rb +36 -36
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +22 -18
- data/generated/google/apis/monitoring_v3/representations.rb +2 -1
- data/generated/google/apis/monitoring_v3/service.rb +42 -37
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +3 -162
- data/generated/google/apis/oauth2_v1.rb +3 -6
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oauth2_v2.rb +3 -6
- data/generated/google/apis/oslogin_v1/service.rb +8 -7
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +38 -29
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +18 -13
- data/generated/google/apis/people_v1.rb +2 -5
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +18 -392
- data/generated/google/apis/plus_domains_v1.rb +4 -10
- data/generated/google/apis/plus_v1/service.rb +16 -16
- data/generated/google/apis/plus_v1.rb +4 -4
- data/generated/google/apis/poly_v1/classes.rb +8 -6
- data/generated/google/apis/poly_v1/service.rb +15 -12
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +55 -39
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +46 -69
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +51 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +18 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +73 -0
- data/generated/google/apis/run_v1/representations.rb +43 -0
- data/generated/google/apis/run_v1/service.rb +90 -0
- data/generated/google/apis/run_v1.rb +35 -0
- data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
- data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
- data/generated/google/apis/run_v1alpha1.rb +35 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -6
- data/generated/google/apis/script_v1/representations.rb +79 -1
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
- data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
- data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +231 -17
- data/generated/google/apis/spanner_v1/representations.rb +66 -0
- data/generated/google/apis/spanner_v1/service.rb +92 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +110 -13
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1/service.rb +9 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +201 -4
- data/generated/google/apis/storage_v1/representations.rb +76 -1
- data/generated/google/apis/storage_v1/service.rb +488 -93
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
- data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
- data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -95
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +287 -249
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/testing_v1/classes.rb +44 -39
- data/generated/google/apis/testing_v1/representations.rb +3 -1
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
- data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/classes.rb +44 -18
- data/generated/google/apis/vault_v1/representations.rb +4 -0
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +7 -6
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/vision_v1/classes.rb +4397 -124
- data/generated/google/apis/vision_v1/representations.rb +2366 -541
- data/generated/google/apis/vision_v1/service.rb +160 -33
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
- data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +9 -180
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +86 -17
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
- data/samples/web/.env +0 -2
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
75
|
def get_account_authinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
76
|
-
command =
|
76
|
+
command = make_simple_command(:get, 'accounts/authinfo', options)
|
77
77
|
command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
|
78
78
|
command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse
|
79
79
|
command.query['fields'] = fields unless fields.nil?
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
115
|
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
116
|
-
command =
|
116
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
|
117
117
|
command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation
|
118
118
|
command.response_class = Google::Apis::ContentV2::AccountsClaimWebsiteResponse
|
119
119
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
# accounts in a single request.
|
130
130
|
# @param [Google::Apis::ContentV2::BatchAccountsRequest] batch_accounts_request_object
|
131
131
|
# @param [Boolean] dry_run
|
132
|
-
# Flag to
|
132
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
133
|
+
# mode checks the validity of the request and returns errors (if any).
|
133
134
|
# @param [String] fields
|
134
135
|
# Selector specifying which fields to include in a partial response.
|
135
136
|
# @param [String] quota_user
|
@@ -150,7 +151,7 @@ module Google
|
|
150
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
153
|
def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
153
|
-
command =
|
154
|
+
command = make_simple_command(:post, 'accounts/batch', options)
|
154
155
|
command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
|
155
156
|
command.request_object = batch_accounts_request_object
|
156
157
|
command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
|
@@ -169,7 +170,8 @@ module Google
|
|
169
170
|
# @param [Fixnum] account_id
|
170
171
|
# The ID of the account.
|
171
172
|
# @param [Boolean] dry_run
|
172
|
-
# Flag to
|
173
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
174
|
+
# mode checks the validity of the request and returns errors (if any).
|
173
175
|
# @param [Boolean] force
|
174
176
|
# Flag to delete sub-accounts with products. The default value is false.
|
175
177
|
# @param [String] fields
|
@@ -192,7 +194,7 @@ module Google
|
|
192
194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
193
195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
194
196
|
def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
195
|
-
command =
|
197
|
+
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
|
196
198
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
197
199
|
command.params['accountId'] = account_id unless account_id.nil?
|
198
200
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
@@ -230,7 +232,7 @@ module Google
|
|
230
232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
231
233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
232
234
|
def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
233
|
-
command =
|
235
|
+
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
|
234
236
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
235
237
|
command.response_class = Google::Apis::ContentV2::Account
|
236
238
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -246,7 +248,8 @@ module Google
|
|
246
248
|
# The ID of the managing account. This must be a multi-client account.
|
247
249
|
# @param [Google::Apis::ContentV2::Account] account_object
|
248
250
|
# @param [Boolean] dry_run
|
249
|
-
# Flag to
|
251
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
252
|
+
# mode checks the validity of the request and returns errors (if any).
|
250
253
|
# @param [String] fields
|
251
254
|
# Selector specifying which fields to include in a partial response.
|
252
255
|
# @param [String] quota_user
|
@@ -267,7 +270,7 @@ module Google
|
|
267
270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
268
271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
269
272
|
def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
270
|
-
command =
|
273
|
+
command = make_simple_command(:post, '{merchantId}/accounts', options)
|
271
274
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
272
275
|
command.request_object = account_object
|
273
276
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -280,8 +283,8 @@ module Google
|
|
280
283
|
execute_or_queue_command(command, &block)
|
281
284
|
end
|
282
285
|
|
283
|
-
# Performs an action on a link between
|
284
|
-
#
|
286
|
+
# Performs an action on a link between two Merchant Center accounts, namely
|
287
|
+
# accountId and linkedAccountId.
|
285
288
|
# @param [Fixnum] merchant_id
|
286
289
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
287
290
|
# then this account must be a multi-client account and accountId must be the ID
|
@@ -309,7 +312,7 @@ module Google
|
|
309
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
310
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
311
314
|
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
312
|
-
command =
|
315
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
313
316
|
command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
|
314
317
|
command.request_object = accounts_link_request_object
|
315
318
|
command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
|
@@ -349,7 +352,7 @@ module Google
|
|
349
352
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
350
353
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
351
354
|
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
352
|
-
command =
|
355
|
+
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
353
356
|
command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
|
354
357
|
command.response_class = Google::Apis::ContentV2::ListAccountsResponse
|
355
358
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -370,7 +373,8 @@ module Google
|
|
370
373
|
# The ID of the account.
|
371
374
|
# @param [Google::Apis::ContentV2::Account] account_object
|
372
375
|
# @param [Boolean] dry_run
|
373
|
-
# Flag to
|
376
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
377
|
+
# mode checks the validity of the request and returns errors (if any).
|
374
378
|
# @param [String] fields
|
375
379
|
# Selector specifying which fields to include in a partial response.
|
376
380
|
# @param [String] quota_user
|
@@ -391,7 +395,7 @@ module Google
|
|
391
395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
397
|
def patch_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
394
|
-
command =
|
398
|
+
command = make_simple_command(:patch, '{merchantId}/accounts/{accountId}', options)
|
395
399
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
396
400
|
command.request_object = account_object
|
397
401
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -414,7 +418,8 @@ module Google
|
|
414
418
|
# The ID of the account.
|
415
419
|
# @param [Google::Apis::ContentV2::Account] account_object
|
416
420
|
# @param [Boolean] dry_run
|
417
|
-
# Flag to
|
421
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
422
|
+
# mode checks the validity of the request and returns errors (if any).
|
418
423
|
# @param [String] fields
|
419
424
|
# Selector specifying which fields to include in a partial response.
|
420
425
|
# @param [String] quota_user
|
@@ -435,7 +440,7 @@ module Google
|
|
435
440
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
436
441
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
437
442
|
def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
438
|
-
command =
|
443
|
+
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
|
439
444
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
440
445
|
command.request_object = account_object
|
441
446
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -471,7 +476,7 @@ module Google
|
|
471
476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
472
477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
473
478
|
def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
474
|
-
command =
|
479
|
+
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
475
480
|
command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
|
476
481
|
command.request_object = batch_account_statuses_request_object
|
477
482
|
command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
|
@@ -482,8 +487,8 @@ module Google
|
|
482
487
|
execute_or_queue_command(command, &block)
|
483
488
|
end
|
484
489
|
|
485
|
-
# Retrieves the status of a Merchant Center account.
|
486
|
-
#
|
490
|
+
# Retrieves the status of a Merchant Center account. No itemLevelIssues are
|
491
|
+
# returned for multi-client accounts.
|
487
492
|
# @param [Fixnum] merchant_id
|
488
493
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
489
494
|
# then this account must be a multi-client account and accountId must be the ID
|
@@ -513,7 +518,7 @@ module Google
|
|
513
518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
514
519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
515
520
|
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
516
|
-
command =
|
521
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
517
522
|
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
|
518
523
|
command.response_class = Google::Apis::ContentV2::AccountStatus
|
519
524
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -556,7 +561,7 @@ module Google
|
|
556
561
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
562
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
563
|
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
559
|
-
command =
|
564
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
560
565
|
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
|
561
566
|
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
|
562
567
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -572,7 +577,8 @@ module Google
|
|
572
577
|
# Retrieves and updates tax settings of multiple accounts in a single request.
|
573
578
|
# @param [Google::Apis::ContentV2::BatchAccountTaxRequest] batch_account_tax_request_object
|
574
579
|
# @param [Boolean] dry_run
|
575
|
-
# Flag to
|
580
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
581
|
+
# mode checks the validity of the request and returns errors (if any).
|
576
582
|
# @param [String] fields
|
577
583
|
# Selector specifying which fields to include in a partial response.
|
578
584
|
# @param [String] quota_user
|
@@ -593,7 +599,7 @@ module Google
|
|
593
599
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
594
600
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
595
601
|
def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
596
|
-
command =
|
602
|
+
command = make_simple_command(:post, 'accounttax/batch', options)
|
597
603
|
command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
|
598
604
|
command.request_object = batch_account_tax_request_object
|
599
605
|
command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
|
@@ -632,7 +638,7 @@ module Google
|
|
632
638
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
639
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
640
|
def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
635
|
-
command =
|
641
|
+
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
636
642
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
637
643
|
command.response_class = Google::Apis::ContentV2::AccountTax
|
638
644
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -670,7 +676,7 @@ module Google
|
|
670
676
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
671
677
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
672
678
|
def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
673
|
-
command =
|
679
|
+
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
674
680
|
command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
|
675
681
|
command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
|
676
682
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -691,7 +697,8 @@ module Google
|
|
691
697
|
# The ID of the account for which to get/update account tax settings.
|
692
698
|
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
|
693
699
|
# @param [Boolean] dry_run
|
694
|
-
# Flag to
|
700
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
701
|
+
# mode checks the validity of the request and returns errors (if any).
|
695
702
|
# @param [String] fields
|
696
703
|
# Selector specifying which fields to include in a partial response.
|
697
704
|
# @param [String] quota_user
|
@@ -712,7 +719,7 @@ module Google
|
|
712
719
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
713
720
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
714
721
|
def patch_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
715
|
-
command =
|
722
|
+
command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
|
716
723
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
717
724
|
command.request_object = account_tax_object
|
718
725
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
@@ -735,7 +742,8 @@ module Google
|
|
735
742
|
# The ID of the account for which to get/update account tax settings.
|
736
743
|
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
|
737
744
|
# @param [Boolean] dry_run
|
738
|
-
# Flag to
|
745
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
746
|
+
# mode checks the validity of the request and returns errors (if any).
|
739
747
|
# @param [String] fields
|
740
748
|
# Selector specifying which fields to include in a partial response.
|
741
749
|
# @param [String] quota_user
|
@@ -756,7 +764,7 @@ module Google
|
|
756
764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
757
765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
758
766
|
def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
759
|
-
command =
|
767
|
+
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
760
768
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
761
769
|
command.request_object = account_tax_object
|
762
770
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
@@ -770,10 +778,12 @@ module Google
|
|
770
778
|
execute_or_queue_command(command, &block)
|
771
779
|
end
|
772
780
|
|
773
|
-
#
|
781
|
+
# Deletes, fetches, gets, inserts and updates multiple datafeeds in a single
|
782
|
+
# request.
|
774
783
|
# @param [Google::Apis::ContentV2::BatchDatafeedsRequest] batch_datafeeds_request_object
|
775
784
|
# @param [Boolean] dry_run
|
776
|
-
# Flag to
|
785
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
786
|
+
# mode checks the validity of the request and returns errors (if any).
|
777
787
|
# @param [String] fields
|
778
788
|
# Selector specifying which fields to include in a partial response.
|
779
789
|
# @param [String] quota_user
|
@@ -794,7 +804,7 @@ module Google
|
|
794
804
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
795
805
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
796
806
|
def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
797
|
-
command =
|
807
|
+
command = make_simple_command(:post, 'datafeeds/batch', options)
|
798
808
|
command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
|
799
809
|
command.request_object = batch_datafeeds_request_object
|
800
810
|
command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
|
@@ -813,7 +823,8 @@ module Google
|
|
813
823
|
# @param [Fixnum] datafeed_id
|
814
824
|
# The ID of the datafeed.
|
815
825
|
# @param [Boolean] dry_run
|
816
|
-
# Flag to
|
826
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
827
|
+
# mode checks the validity of the request and returns errors (if any).
|
817
828
|
# @param [String] fields
|
818
829
|
# Selector specifying which fields to include in a partial response.
|
819
830
|
# @param [String] quota_user
|
@@ -834,7 +845,7 @@ module Google
|
|
834
845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
835
846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
836
847
|
def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
837
|
-
command =
|
848
|
+
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
838
849
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
839
850
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
840
851
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
@@ -851,7 +862,8 @@ module Google
|
|
851
862
|
# @param [Fixnum] datafeed_id
|
852
863
|
# The ID of the datafeed to be fetched.
|
853
864
|
# @param [Boolean] dry_run
|
854
|
-
# Flag to
|
865
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
866
|
+
# mode checks the validity of the request and returns errors (if any).
|
855
867
|
# @param [String] fields
|
856
868
|
# Selector specifying which fields to include in a partial response.
|
857
869
|
# @param [String] quota_user
|
@@ -872,7 +884,7 @@ module Google
|
|
872
884
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
873
885
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
874
886
|
def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
875
|
-
command =
|
887
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
876
888
|
command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
|
877
889
|
command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
|
878
890
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -910,7 +922,7 @@ module Google
|
|
910
922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
911
923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
912
924
|
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
913
|
-
command =
|
925
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
914
926
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
915
927
|
command.response_class = Google::Apis::ContentV2::Datafeed
|
916
928
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -927,7 +939,8 @@ module Google
|
|
927
939
|
# multi-client account.
|
928
940
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
929
941
|
# @param [Boolean] dry_run
|
930
|
-
# Flag to
|
942
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
943
|
+
# mode checks the validity of the request and returns errors (if any).
|
931
944
|
# @param [String] fields
|
932
945
|
# Selector specifying which fields to include in a partial response.
|
933
946
|
# @param [String] quota_user
|
@@ -948,7 +961,7 @@ module Google
|
|
948
961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
949
962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
950
963
|
def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
951
|
-
command =
|
964
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
952
965
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
953
966
|
command.request_object = datafeed_object
|
954
967
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -989,7 +1002,7 @@ module Google
|
|
989
1002
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
990
1003
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
991
1004
|
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
992
|
-
command =
|
1005
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
993
1006
|
command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
|
994
1007
|
command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
|
995
1008
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1010,7 +1023,8 @@ module Google
|
|
1010
1023
|
# The ID of the datafeed.
|
1011
1024
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
1012
1025
|
# @param [Boolean] dry_run
|
1013
|
-
# Flag to
|
1026
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1027
|
+
# mode checks the validity of the request and returns errors (if any).
|
1014
1028
|
# @param [String] fields
|
1015
1029
|
# Selector specifying which fields to include in a partial response.
|
1016
1030
|
# @param [String] quota_user
|
@@ -1031,7 +1045,7 @@ module Google
|
|
1031
1045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1032
1046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1033
1047
|
def patch_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1034
|
-
command =
|
1048
|
+
command = make_simple_command(:patch, '{merchantId}/datafeeds/{datafeedId}', options)
|
1035
1049
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
1036
1050
|
command.request_object = datafeed_object
|
1037
1051
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -1053,7 +1067,8 @@ module Google
|
|
1053
1067
|
# The ID of the datafeed.
|
1054
1068
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
1055
1069
|
# @param [Boolean] dry_run
|
1056
|
-
# Flag to
|
1070
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1071
|
+
# mode checks the validity of the request and returns errors (if any).
|
1057
1072
|
# @param [String] fields
|
1058
1073
|
# Selector specifying which fields to include in a partial response.
|
1059
1074
|
# @param [String] quota_user
|
@@ -1074,7 +1089,7 @@ module Google
|
|
1074
1089
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1075
1090
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1076
1091
|
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1077
|
-
command =
|
1092
|
+
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
1078
1093
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
1079
1094
|
command.request_object = datafeed_object
|
1080
1095
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -1088,7 +1103,7 @@ module Google
|
|
1088
1103
|
execute_or_queue_command(command, &block)
|
1089
1104
|
end
|
1090
1105
|
|
1091
|
-
#
|
1106
|
+
# Gets multiple Merchant Center datafeed statuses in a single request.
|
1092
1107
|
# @param [Google::Apis::ContentV2::BatchDatafeedStatusesRequest] batch_datafeed_statuses_request_object
|
1093
1108
|
# @param [String] fields
|
1094
1109
|
# Selector specifying which fields to include in a partial response.
|
@@ -1110,7 +1125,7 @@ module Google
|
|
1110
1125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1111
1126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1112
1127
|
def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1113
|
-
command =
|
1128
|
+
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
1114
1129
|
command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
|
1115
1130
|
command.request_object = batch_datafeed_statuses_request_object
|
1116
1131
|
command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
|
@@ -1157,7 +1172,7 @@ module Google
|
|
1157
1172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1158
1173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1159
1174
|
def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1160
|
-
command =
|
1175
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
1161
1176
|
command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
|
1162
1177
|
command.response_class = Google::Apis::ContentV2::DatafeedStatus
|
1163
1178
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1198,7 +1213,7 @@ module Google
|
|
1198
1213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1199
1214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1200
1215
|
def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1201
|
-
command =
|
1216
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
1202
1217
|
command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
|
1203
1218
|
command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
|
1204
1219
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1214,7 +1229,8 @@ module Google
|
|
1214
1229
|
# request. This operation does not update the expiration date of the products.
|
1215
1230
|
# @param [Google::Apis::ContentV2::BatchInventoryRequest] batch_inventory_request_object
|
1216
1231
|
# @param [Boolean] dry_run
|
1217
|
-
# Flag to
|
1232
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1233
|
+
# mode checks the validity of the request and returns errors (if any).
|
1218
1234
|
# @param [String] fields
|
1219
1235
|
# Selector specifying which fields to include in a partial response.
|
1220
1236
|
# @param [String] quota_user
|
@@ -1235,7 +1251,7 @@ module Google
|
|
1235
1251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1236
1252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1237
1253
|
def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1238
|
-
command =
|
1254
|
+
command = make_simple_command(:post, 'inventory/batch', options)
|
1239
1255
|
command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
|
1240
1256
|
command.request_object = batch_inventory_request_object
|
1241
1257
|
command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
|
@@ -1255,10 +1271,11 @@ module Google
|
|
1255
1271
|
# The code of the store for which to update price and availability. Use online
|
1256
1272
|
# to update price and availability of an online product.
|
1257
1273
|
# @param [String] product_id
|
1258
|
-
# The REST
|
1274
|
+
# The REST ID of the product for which to update price and availability.
|
1259
1275
|
# @param [Google::Apis::ContentV2::SetInventoryRequest] set_inventory_request_object
|
1260
1276
|
# @param [Boolean] dry_run
|
1261
|
-
# Flag to
|
1277
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1278
|
+
# mode checks the validity of the request and returns errors (if any).
|
1262
1279
|
# @param [String] fields
|
1263
1280
|
# Selector specifying which fields to include in a partial response.
|
1264
1281
|
# @param [String] quota_user
|
@@ -1279,7 +1296,7 @@ module Google
|
|
1279
1296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1280
1297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1281
1298
|
def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1282
|
-
command =
|
1299
|
+
command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
|
1283
1300
|
command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
|
1284
1301
|
command.request_object = set_inventory_request_object
|
1285
1302
|
command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
|
@@ -1298,7 +1315,8 @@ module Google
|
|
1298
1315
|
# request.
|
1299
1316
|
# @param [Google::Apis::ContentV2::LiasettingsCustomBatchRequest] liasettings_custom_batch_request_object
|
1300
1317
|
# @param [Boolean] dry_run
|
1301
|
-
# Flag to
|
1318
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1319
|
+
# mode checks the validity of the request and returns errors (if any).
|
1302
1320
|
# @param [String] fields
|
1303
1321
|
# Selector specifying which fields to include in a partial response.
|
1304
1322
|
# @param [String] quota_user
|
@@ -1319,7 +1337,7 @@ module Google
|
|
1319
1337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1320
1338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1321
1339
|
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1322
|
-
command =
|
1340
|
+
command = make_simple_command(:post, 'liasettings/batch', options)
|
1323
1341
|
command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
|
1324
1342
|
command.request_object = liasettings_custom_batch_request_object
|
1325
1343
|
command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
|
@@ -1358,7 +1376,7 @@ module Google
|
|
1358
1376
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1359
1377
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1360
1378
|
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1361
|
-
command =
|
1379
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
1362
1380
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1363
1381
|
command.response_class = Google::Apis::ContentV2::LiaSettings
|
1364
1382
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1397,7 +1415,7 @@ module Google
|
|
1397
1415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1398
1416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1399
1417
|
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1400
|
-
command =
|
1418
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
1401
1419
|
command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
1402
1420
|
command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
|
1403
1421
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1435,7 +1453,7 @@ module Google
|
|
1435
1453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1436
1454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1437
1455
|
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1438
|
-
command =
|
1456
|
+
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
1439
1457
|
command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
|
1440
1458
|
command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
|
1441
1459
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1469,7 +1487,7 @@ module Google
|
|
1469
1487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1470
1488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1471
1489
|
def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1472
|
-
command =
|
1490
|
+
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
1473
1491
|
command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
|
1474
1492
|
command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
|
1475
1493
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1487,7 +1505,8 @@ module Google
|
|
1487
1505
|
# The ID of the account for which to get or update LIA settings.
|
1488
1506
|
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
1489
1507
|
# @param [Boolean] dry_run
|
1490
|
-
# Flag to
|
1508
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1509
|
+
# mode checks the validity of the request and returns errors (if any).
|
1491
1510
|
# @param [String] fields
|
1492
1511
|
# Selector specifying which fields to include in a partial response.
|
1493
1512
|
# @param [String] quota_user
|
@@ -1508,7 +1527,7 @@ module Google
|
|
1508
1527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1509
1528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1510
1529
|
def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1511
|
-
command =
|
1530
|
+
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
|
1512
1531
|
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1513
1532
|
command.request_object = lia_settings_object
|
1514
1533
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
@@ -1551,7 +1570,7 @@ module Google
|
|
1551
1570
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1552
1571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1553
1572
|
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1554
|
-
command =
|
1573
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
1555
1574
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
1556
1575
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
1557
1576
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1593,7 +1612,7 @@ module Google
|
|
1593
1612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1594
1613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1595
1614
|
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1596
|
-
command =
|
1615
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
1597
1616
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
|
1598
1617
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
|
1599
1618
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1641,7 +1660,7 @@ module Google
|
|
1641
1660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1642
1661
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1643
1662
|
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1644
|
-
command =
|
1663
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
1645
1664
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
1646
1665
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
1647
1666
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1690,7 +1709,7 @@ module Google
|
|
1690
1709
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1691
1710
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1692
1711
|
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1693
|
-
command =
|
1712
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
1694
1713
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
|
1695
1714
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
|
1696
1715
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1713,7 +1732,8 @@ module Google
|
|
1713
1732
|
# The ID of the account for which to get or update LIA settings.
|
1714
1733
|
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
1715
1734
|
# @param [Boolean] dry_run
|
1716
|
-
# Flag to
|
1735
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1736
|
+
# mode checks the validity of the request and returns errors (if any).
|
1717
1737
|
# @param [String] fields
|
1718
1738
|
# Selector specifying which fields to include in a partial response.
|
1719
1739
|
# @param [String] quota_user
|
@@ -1734,7 +1754,7 @@ module Google
|
|
1734
1754
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1735
1755
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1736
1756
|
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1737
|
-
command =
|
1757
|
+
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
1738
1758
|
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1739
1759
|
command.request_object = lia_settings_object
|
1740
1760
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
@@ -1749,7 +1769,7 @@ module Google
|
|
1749
1769
|
end
|
1750
1770
|
|
1751
1771
|
# Creates a charge invoice for a shipment group, and triggers a charge capture
|
1752
|
-
# for
|
1772
|
+
# for orderinvoice enabled orders.
|
1753
1773
|
# @param [Fixnum] merchant_id
|
1754
1774
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1755
1775
|
# account.
|
@@ -1776,7 +1796,7 @@ module Google
|
|
1776
1796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
1797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
1798
|
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1779
|
-
command =
|
1799
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
1780
1800
|
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
1781
1801
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
1782
1802
|
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
@@ -1790,9 +1810,9 @@ module Google
|
|
1790
1810
|
end
|
1791
1811
|
|
1792
1812
|
# Creates a refund invoice for one or more shipment groups, and triggers a
|
1793
|
-
# refund for
|
1794
|
-
#
|
1795
|
-
#
|
1813
|
+
# refund for orderinvoice enabled orders. This can only be used for line items
|
1814
|
+
# that have previously been charged using createChargeInvoice. All amounts (
|
1815
|
+
# except for the summary) are incremental with respect to the previous invoice.
|
1796
1816
|
# @param [Fixnum] merchant_id
|
1797
1817
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1798
1818
|
# account.
|
@@ -1819,7 +1839,7 @@ module Google
|
|
1819
1839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1820
1840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1821
1841
|
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1822
|
-
command =
|
1842
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
1823
1843
|
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
1824
1844
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
1825
1845
|
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
@@ -1859,7 +1879,7 @@ module Google
|
|
1859
1879
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1860
1880
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1861
1881
|
def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1862
|
-
command =
|
1882
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
|
1863
1883
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest::Representation
|
1864
1884
|
command.request_object = orderpayments_notify_auth_approved_request_object
|
1865
1885
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse::Representation
|
@@ -1899,7 +1919,7 @@ module Google
|
|
1899
1919
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1900
1920
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1901
1921
|
def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1902
|
-
command =
|
1922
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
|
1903
1923
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest::Representation
|
1904
1924
|
command.request_object = orderpayments_notify_auth_declined_request_object
|
1905
1925
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse::Representation
|
@@ -1939,7 +1959,7 @@ module Google
|
|
1939
1959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1940
1960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1941
1961
|
def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1942
|
-
command =
|
1962
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
|
1943
1963
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest::Representation
|
1944
1964
|
command.request_object = orderpayments_notify_charge_request_object
|
1945
1965
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse::Representation
|
@@ -1979,7 +1999,7 @@ module Google
|
|
1979
1999
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1980
2000
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1981
2001
|
def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1982
|
-
command =
|
2002
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
|
1983
2003
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest::Representation
|
1984
2004
|
command.request_object = orderpayments_notify_refund_request_object
|
1985
2005
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse::Representation
|
@@ -2025,7 +2045,7 @@ module Google
|
|
2025
2045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2026
2046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2027
2047
|
def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2028
|
-
command =
|
2048
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
2029
2049
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
|
2030
2050
|
command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
|
2031
2051
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2075,7 +2095,7 @@ module Google
|
|
2075
2095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2076
2096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2077
2097
|
def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2078
|
-
command =
|
2098
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
2079
2099
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
|
2080
2100
|
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
|
2081
2101
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2116,7 +2136,7 @@ module Google
|
|
2116
2136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2117
2137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2118
2138
|
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2119
|
-
command =
|
2139
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
2120
2140
|
command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
|
2121
2141
|
command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
|
2122
2142
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2165,7 +2185,7 @@ module Google
|
|
2165
2185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2166
2186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2167
2187
|
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, user_ip: nil, options: nil, &block)
|
2168
|
-
command =
|
2188
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
2169
2189
|
command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
|
2170
2190
|
command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
|
2171
2191
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2207,7 +2227,7 @@ module Google
|
|
2207
2227
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2208
2228
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2209
2229
|
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2210
|
-
command =
|
2230
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
2211
2231
|
command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation
|
2212
2232
|
command.request_object = orders_acknowledge_request_object
|
2213
2233
|
command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation
|
@@ -2247,7 +2267,7 @@ module Google
|
|
2247
2267
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2248
2268
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2249
2269
|
def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2250
|
-
command =
|
2270
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
2251
2271
|
command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
|
2252
2272
|
command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
|
2253
2273
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2285,7 +2305,7 @@ module Google
|
|
2285
2305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2286
2306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2287
2307
|
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2288
|
-
command =
|
2308
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
2289
2309
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation
|
2290
2310
|
command.request_object = orders_cancel_request_object
|
2291
2311
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation
|
@@ -2325,7 +2345,7 @@ module Google
|
|
2325
2345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2326
2346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2327
2347
|
def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2328
|
-
command =
|
2348
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
2329
2349
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
|
2330
2350
|
command.request_object = orders_cancel_line_item_request_object
|
2331
2351
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation
|
@@ -2365,7 +2385,7 @@ module Google
|
|
2365
2385
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2366
2386
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2367
2387
|
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2368
|
-
command =
|
2388
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
2369
2389
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
|
2370
2390
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
2371
2391
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
|
@@ -2403,7 +2423,7 @@ module Google
|
|
2403
2423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2404
2424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2405
2425
|
def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2406
|
-
command =
|
2426
|
+
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
2407
2427
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
|
2408
2428
|
command.request_object = orders_create_test_order_request_object
|
2409
2429
|
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation
|
@@ -2442,7 +2462,7 @@ module Google
|
|
2442
2462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2443
2463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2444
2464
|
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2445
|
-
command =
|
2465
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
2446
2466
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
|
2447
2467
|
command.request_object = orders_create_test_return_request_object
|
2448
2468
|
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
|
@@ -2477,7 +2497,7 @@ module Google
|
|
2477
2497
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2478
2498
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2479
2499
|
def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2480
|
-
command =
|
2500
|
+
command = make_simple_command(:post, 'orders/batch', options)
|
2481
2501
|
command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
|
2482
2502
|
command.request_object = orders_custom_batch_request_object
|
2483
2503
|
command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation
|
@@ -2514,7 +2534,7 @@ module Google
|
|
2514
2534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2515
2535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2516
2536
|
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2517
|
-
command =
|
2537
|
+
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
2518
2538
|
command.response_representation = Google::Apis::ContentV2::Order::Representation
|
2519
2539
|
command.response_class = Google::Apis::ContentV2::Order
|
2520
2540
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2525,12 +2545,12 @@ module Google
|
|
2525
2545
|
execute_or_queue_command(command, &block)
|
2526
2546
|
end
|
2527
2547
|
|
2528
|
-
# Retrieves an order using merchant order
|
2548
|
+
# Retrieves an order using merchant order ID.
|
2529
2549
|
# @param [Fixnum] merchant_id
|
2530
2550
|
# The ID of the account that manages the order. This cannot be a multi-client
|
2531
2551
|
# account.
|
2532
2552
|
# @param [String] merchant_order_id
|
2533
|
-
# The merchant order
|
2553
|
+
# The merchant order ID to be looked for.
|
2534
2554
|
# @param [String] fields
|
2535
2555
|
# Selector specifying which fields to include in a partial response.
|
2536
2556
|
# @param [String] quota_user
|
@@ -2551,7 +2571,7 @@ module Google
|
|
2551
2571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2552
2572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2553
2573
|
def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2554
|
-
command =
|
2574
|
+
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
2555
2575
|
command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
|
2556
2576
|
command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
|
2557
2577
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2591,7 +2611,7 @@ module Google
|
|
2591
2611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2592
2612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2593
2613
|
def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2594
|
-
command =
|
2614
|
+
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
2595
2615
|
command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
|
2596
2616
|
command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
|
2597
2617
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2605,6 +2625,12 @@ module Google
|
|
2605
2625
|
|
2606
2626
|
# Notifies that item return and refund was handled directly by merchant outside
|
2607
2627
|
# of Google payments processing (e.g. cash refund done in store).
|
2628
|
+
# Note: We recommend calling the returnrefundlineitem method to refund in-store
|
2629
|
+
# returns. We will issue the refund directly to the customer. This helps to
|
2630
|
+
# prevent possible differences arising between merchant and Google transaction
|
2631
|
+
# records. We also recommend having the point of sale system communicate with
|
2632
|
+
# Google to ensure that customers do not receive a double refund by first
|
2633
|
+
# refunding via Google then via an in-store return.
|
2608
2634
|
# @param [Fixnum] merchant_id
|
2609
2635
|
# The ID of the account that manages the order. This cannot be a multi-client
|
2610
2636
|
# account.
|
@@ -2631,7 +2657,7 @@ module Google
|
|
2631
2657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2632
2658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2633
2659
|
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2634
|
-
command =
|
2660
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
2635
2661
|
command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation
|
2636
2662
|
command.request_object = orders_in_store_refund_line_item_request_object
|
2637
2663
|
command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation
|
@@ -2658,15 +2684,11 @@ module Google
|
|
2658
2684
|
# The maximum number of orders to return in the response, used for paging. The
|
2659
2685
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
2660
2686
|
# orders per page.
|
2661
|
-
# Known issue: All List calls will return all Orders without limit regardless of
|
2662
|
-
# the value of this field.
|
2663
2687
|
# @param [String] order_by
|
2664
|
-
#
|
2665
|
-
#
|
2666
|
-
#
|
2667
|
-
#
|
2668
|
-
# from most recent to oldest. In future releases we'll support other sorting
|
2669
|
-
# criteria.
|
2688
|
+
# Order results by placement date in descending or ascending order.
|
2689
|
+
# Acceptable values are:
|
2690
|
+
# - placedDateAsc
|
2691
|
+
# - placedDateDesc
|
2670
2692
|
# @param [String] page_token
|
2671
2693
|
# The token returned by the previous request.
|
2672
2694
|
# @param [String] placed_date_end
|
@@ -2677,7 +2699,7 @@ module Google
|
|
2677
2699
|
# Obtains orders that match any of the specified statuses. Multiple values can
|
2678
2700
|
# be specified with comma separation. Additionally, please note that active is a
|
2679
2701
|
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut
|
2680
|
-
# for shipped
|
2702
|
+
# for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and
|
2681
2703
|
# canceled.
|
2682
2704
|
# @param [String] fields
|
2683
2705
|
# Selector specifying which fields to include in a partial response.
|
@@ -2699,7 +2721,7 @@ module Google
|
|
2699
2721
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2700
2722
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2701
2723
|
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, user_ip: nil, options: nil, &block)
|
2702
|
-
command =
|
2724
|
+
command = make_simple_command(:get, '{merchantId}/orders', options)
|
2703
2725
|
command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation
|
2704
2726
|
command.response_class = Google::Apis::ContentV2::OrdersListResponse
|
2705
2727
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2743,7 +2765,7 @@ module Google
|
|
2743
2765
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2744
2766
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2745
2767
|
def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2746
|
-
command =
|
2768
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
|
2747
2769
|
command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation
|
2748
2770
|
command.request_object = orders_refund_request_object
|
2749
2771
|
command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation
|
@@ -2783,7 +2805,7 @@ module Google
|
|
2783
2805
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2784
2806
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2785
2807
|
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2786
|
-
command =
|
2808
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
2787
2809
|
command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation
|
2788
2810
|
command.request_object = orders_reject_return_line_item_request_object
|
2789
2811
|
command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation
|
@@ -2823,7 +2845,7 @@ module Google
|
|
2823
2845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2824
2846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2825
2847
|
def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2826
|
-
command =
|
2848
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
|
2827
2849
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
|
2828
2850
|
command.request_object = orders_return_line_item_request_object
|
2829
2851
|
command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation
|
@@ -2864,7 +2886,7 @@ module Google
|
|
2864
2886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2865
2887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2866
2888
|
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2867
|
-
command =
|
2889
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
2868
2890
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation
|
2869
2891
|
command.request_object = orders_return_refund_line_item_request_object
|
2870
2892
|
command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation
|
@@ -2877,7 +2899,11 @@ module Google
|
|
2877
2899
|
execute_or_queue_command(command, &block)
|
2878
2900
|
end
|
2879
2901
|
|
2880
|
-
# Sets (overrides) merchant provided annotations
|
2902
|
+
# Sets (or overrides if it already exists) merchant provided annotations in the
|
2903
|
+
# form of key-value pairs. A common use case would be to supply us with
|
2904
|
+
# additional structured information about a line item that cannot be provided
|
2905
|
+
# via other methods. Submitted key-value pairs can be retrieved as part of the
|
2906
|
+
# orders resource.
|
2881
2907
|
# @param [Fixnum] merchant_id
|
2882
2908
|
# The ID of the account that manages the order. This cannot be a multi-client
|
2883
2909
|
# account.
|
@@ -2904,7 +2930,7 @@ module Google
|
|
2904
2930
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2905
2931
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2906
2932
|
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2907
|
-
command =
|
2933
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
2908
2934
|
command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
|
2909
2935
|
command.request_object = orders_set_line_item_metadata_request_object
|
2910
2936
|
command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
|
@@ -2944,7 +2970,7 @@ module Google
|
|
2944
2970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2945
2971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2946
2972
|
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2947
|
-
command =
|
2973
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
2948
2974
|
command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation
|
2949
2975
|
command.request_object = orders_ship_line_items_request_object
|
2950
2976
|
command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation
|
@@ -2984,7 +3010,7 @@ module Google
|
|
2984
3010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2985
3011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2986
3012
|
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2987
|
-
command =
|
3013
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
2988
3014
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
2989
3015
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
2990
3016
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
@@ -3024,7 +3050,7 @@ module Google
|
|
3024
3050
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3025
3051
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3026
3052
|
def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3027
|
-
command =
|
3053
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
3028
3054
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
|
3029
3055
|
command.request_object = orders_update_merchant_order_id_request_object
|
3030
3056
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation
|
@@ -3064,7 +3090,7 @@ module Google
|
|
3064
3090
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3065
3091
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3066
3092
|
def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3067
|
-
command =
|
3093
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
3068
3094
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
|
3069
3095
|
command.request_object = orders_update_shipment_request_object
|
3070
3096
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation
|
@@ -3080,7 +3106,8 @@ module Google
|
|
3080
3106
|
# Batches multiple POS-related calls in a single request.
|
3081
3107
|
# @param [Google::Apis::ContentV2::PosCustomBatchRequest] pos_custom_batch_request_object
|
3082
3108
|
# @param [Boolean] dry_run
|
3083
|
-
# Flag to
|
3109
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3110
|
+
# mode checks the validity of the request and returns errors (if any).
|
3084
3111
|
# @param [String] fields
|
3085
3112
|
# Selector specifying which fields to include in a partial response.
|
3086
3113
|
# @param [String] quota_user
|
@@ -3101,7 +3128,7 @@ module Google
|
|
3101
3128
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3102
3129
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3103
3130
|
def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3104
|
-
command =
|
3131
|
+
command = make_simple_command(:post, 'pos/batch', options)
|
3105
3132
|
command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
|
3106
3133
|
command.request_object = pos_custom_batch_request_object
|
3107
3134
|
command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
|
@@ -3121,7 +3148,8 @@ module Google
|
|
3121
3148
|
# @param [String] store_code
|
3122
3149
|
# A store code that is unique per merchant.
|
3123
3150
|
# @param [Boolean] dry_run
|
3124
|
-
# Flag to
|
3151
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3152
|
+
# mode checks the validity of the request and returns errors (if any).
|
3125
3153
|
# @param [String] fields
|
3126
3154
|
# Selector specifying which fields to include in a partial response.
|
3127
3155
|
# @param [String] quota_user
|
@@ -3142,7 +3170,7 @@ module Google
|
|
3142
3170
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3143
3171
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3144
3172
|
def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3145
|
-
command =
|
3173
|
+
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
3146
3174
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3147
3175
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3148
3176
|
command.params['storeCode'] = store_code unless store_code.nil?
|
@@ -3180,7 +3208,7 @@ module Google
|
|
3180
3208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3181
3209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3182
3210
|
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3183
|
-
command =
|
3211
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
3184
3212
|
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
3185
3213
|
command.response_class = Google::Apis::ContentV2::PosStore
|
3186
3214
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3199,7 +3227,8 @@ module Google
|
|
3199
3227
|
# The ID of the target merchant.
|
3200
3228
|
# @param [Google::Apis::ContentV2::PosStore] pos_store_object
|
3201
3229
|
# @param [Boolean] dry_run
|
3202
|
-
# Flag to
|
3230
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3231
|
+
# mode checks the validity of the request and returns errors (if any).
|
3203
3232
|
# @param [String] fields
|
3204
3233
|
# Selector specifying which fields to include in a partial response.
|
3205
3234
|
# @param [String] quota_user
|
@@ -3220,7 +3249,7 @@ module Google
|
|
3220
3249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3221
3250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3222
3251
|
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3223
|
-
command =
|
3252
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
3224
3253
|
command.request_representation = Google::Apis::ContentV2::PosStore::Representation
|
3225
3254
|
command.request_object = pos_store_object
|
3226
3255
|
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
@@ -3241,7 +3270,8 @@ module Google
|
|
3241
3270
|
# The ID of the target merchant.
|
3242
3271
|
# @param [Google::Apis::ContentV2::PosInventoryRequest] pos_inventory_request_object
|
3243
3272
|
# @param [Boolean] dry_run
|
3244
|
-
# Flag to
|
3273
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3274
|
+
# mode checks the validity of the request and returns errors (if any).
|
3245
3275
|
# @param [String] fields
|
3246
3276
|
# Selector specifying which fields to include in a partial response.
|
3247
3277
|
# @param [String] quota_user
|
@@ -3262,7 +3292,7 @@ module Google
|
|
3262
3292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3263
3293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3264
3294
|
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3265
|
-
command =
|
3295
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
3266
3296
|
command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
|
3267
3297
|
command.request_object = pos_inventory_request_object
|
3268
3298
|
command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
|
@@ -3301,7 +3331,7 @@ module Google
|
|
3301
3331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3302
3332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3303
3333
|
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3304
|
-
command =
|
3334
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
3305
3335
|
command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
|
3306
3336
|
command.response_class = Google::Apis::ContentV2::PosListResponse
|
3307
3337
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3319,7 +3349,8 @@ module Google
|
|
3319
3349
|
# The ID of the target merchant.
|
3320
3350
|
# @param [Google::Apis::ContentV2::PosSaleRequest] pos_sale_request_object
|
3321
3351
|
# @param [Boolean] dry_run
|
3322
|
-
# Flag to
|
3352
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3353
|
+
# mode checks the validity of the request and returns errors (if any).
|
3323
3354
|
# @param [String] fields
|
3324
3355
|
# Selector specifying which fields to include in a partial response.
|
3325
3356
|
# @param [String] quota_user
|
@@ -3340,7 +3371,7 @@ module Google
|
|
3340
3371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3341
3372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3342
3373
|
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3343
|
-
command =
|
3374
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
3344
3375
|
command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
|
3345
3376
|
command.request_object = pos_sale_request_object
|
3346
3377
|
command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
|
@@ -3357,7 +3388,8 @@ module Google
|
|
3357
3388
|
# Retrieves, inserts, and deletes multiple products in a single request.
|
3358
3389
|
# @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
|
3359
3390
|
# @param [Boolean] dry_run
|
3360
|
-
# Flag to
|
3391
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3392
|
+
# mode checks the validity of the request and returns errors (if any).
|
3361
3393
|
# @param [String] fields
|
3362
3394
|
# Selector specifying which fields to include in a partial response.
|
3363
3395
|
# @param [String] quota_user
|
@@ -3378,7 +3410,7 @@ module Google
|
|
3378
3410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3379
3411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3380
3412
|
def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3381
|
-
command =
|
3413
|
+
command = make_simple_command(:post, 'products/batch', options)
|
3382
3414
|
command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
|
3383
3415
|
command.request_object = batch_products_request_object
|
3384
3416
|
command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
|
@@ -3395,9 +3427,10 @@ module Google
|
|
3395
3427
|
# The ID of the account that contains the product. This account cannot be a
|
3396
3428
|
# multi-client account.
|
3397
3429
|
# @param [String] product_id
|
3398
|
-
# The REST
|
3430
|
+
# The REST ID of the product.
|
3399
3431
|
# @param [Boolean] dry_run
|
3400
|
-
# Flag to
|
3432
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3433
|
+
# mode checks the validity of the request and returns errors (if any).
|
3401
3434
|
# @param [String] fields
|
3402
3435
|
# Selector specifying which fields to include in a partial response.
|
3403
3436
|
# @param [String] quota_user
|
@@ -3418,7 +3451,7 @@ module Google
|
|
3418
3451
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3419
3452
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3420
3453
|
def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3421
|
-
command =
|
3454
|
+
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
3422
3455
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3423
3456
|
command.params['productId'] = product_id unless product_id.nil?
|
3424
3457
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
@@ -3433,7 +3466,7 @@ module Google
|
|
3433
3466
|
# The ID of the account that contains the product. This account cannot be a
|
3434
3467
|
# multi-client account.
|
3435
3468
|
# @param [String] product_id
|
3436
|
-
# The REST
|
3469
|
+
# The REST ID of the product.
|
3437
3470
|
# @param [String] fields
|
3438
3471
|
# Selector specifying which fields to include in a partial response.
|
3439
3472
|
# @param [String] quota_user
|
@@ -3454,7 +3487,7 @@ module Google
|
|
3454
3487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3455
3488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3456
3489
|
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3457
|
-
command =
|
3490
|
+
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
3458
3491
|
command.response_representation = Google::Apis::ContentV2::Product::Representation
|
3459
3492
|
command.response_class = Google::Apis::ContentV2::Product
|
3460
3493
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3473,7 +3506,8 @@ module Google
|
|
3473
3506
|
# multi-client account.
|
3474
3507
|
# @param [Google::Apis::ContentV2::Product] product_object
|
3475
3508
|
# @param [Boolean] dry_run
|
3476
|
-
# Flag to
|
3509
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3510
|
+
# mode checks the validity of the request and returns errors (if any).
|
3477
3511
|
# @param [String] fields
|
3478
3512
|
# Selector specifying which fields to include in a partial response.
|
3479
3513
|
# @param [String] quota_user
|
@@ -3494,7 +3528,7 @@ module Google
|
|
3494
3528
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3495
3529
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3496
3530
|
def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3497
|
-
command =
|
3531
|
+
command = make_simple_command(:post, '{merchantId}/products', options)
|
3498
3532
|
command.request_representation = Google::Apis::ContentV2::Product::Representation
|
3499
3533
|
command.request_object = product_object
|
3500
3534
|
command.response_representation = Google::Apis::ContentV2::Product::Representation
|
@@ -3538,7 +3572,7 @@ module Google
|
|
3538
3572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3539
3573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3540
3574
|
def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3541
|
-
command =
|
3575
|
+
command = make_simple_command(:get, '{merchantId}/products', options)
|
3542
3576
|
command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
|
3543
3577
|
command.response_class = Google::Apis::ContentV2::ListProductsResponse
|
3544
3578
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3576,7 +3610,7 @@ module Google
|
|
3576
3610
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3577
3611
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3578
3612
|
def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3579
|
-
command =
|
3613
|
+
command = make_simple_command(:post, 'productstatuses/batch', options)
|
3580
3614
|
command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
|
3581
3615
|
command.request_object = batch_product_statuses_request_object
|
3582
3616
|
command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
|
@@ -3593,7 +3627,7 @@ module Google
|
|
3593
3627
|
# The ID of the account that contains the product. This account cannot be a
|
3594
3628
|
# multi-client account.
|
3595
3629
|
# @param [String] product_id
|
3596
|
-
# The REST
|
3630
|
+
# The REST ID of the product.
|
3597
3631
|
# @param [Array<String>, String] destinations
|
3598
3632
|
# If set, only issues for the specified destinations are returned, otherwise
|
3599
3633
|
# only issues for the Shopping destination.
|
@@ -3620,7 +3654,7 @@ module Google
|
|
3620
3654
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3621
3655
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3622
3656
|
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3623
|
-
command =
|
3657
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
3624
3658
|
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
|
3625
3659
|
command.response_class = Google::Apis::ContentV2::ProductStatus
|
3626
3660
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3671,7 +3705,7 @@ module Google
|
|
3671
3705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3672
3706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3673
3707
|
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, user_ip: nil, options: nil, &block)
|
3674
|
-
command =
|
3708
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
3675
3709
|
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
|
3676
3710
|
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
|
3677
3711
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3690,7 +3724,8 @@ module Google
|
|
3690
3724
|
# request.
|
3691
3725
|
# @param [Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
|
3692
3726
|
# @param [Boolean] dry_run
|
3693
|
-
# Flag to
|
3727
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3728
|
+
# mode checks the validity of the request and returns errors (if any).
|
3694
3729
|
# @param [String] fields
|
3695
3730
|
# Selector specifying which fields to include in a partial response.
|
3696
3731
|
# @param [String] quota_user
|
@@ -3711,7 +3746,7 @@ module Google
|
|
3711
3746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3712
3747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3713
3748
|
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3714
|
-
command =
|
3749
|
+
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
3715
3750
|
command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
|
3716
3751
|
command.request_object = shippingsettings_custom_batch_request_object
|
3717
3752
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
|
@@ -3750,7 +3785,7 @@ module Google
|
|
3750
3785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3751
3786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3752
3787
|
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3753
|
-
command =
|
3788
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
3754
3789
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3755
3790
|
command.response_class = Google::Apis::ContentV2::ShippingSettings
|
3756
3791
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3784,7 +3819,7 @@ module Google
|
|
3784
3819
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3785
3820
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3786
3821
|
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3787
|
-
command =
|
3822
|
+
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
3788
3823
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
|
3789
3824
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
|
3790
3825
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3817,7 +3852,7 @@ module Google
|
|
3817
3852
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3818
3853
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3819
3854
|
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3820
|
-
command =
|
3855
|
+
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
3821
3856
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
3822
3857
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
|
3823
3858
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3856,7 +3891,7 @@ module Google
|
|
3856
3891
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3857
3892
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3858
3893
|
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3859
|
-
command =
|
3894
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
3860
3895
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
|
3861
3896
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
|
3862
3897
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3878,7 +3913,8 @@ module Google
|
|
3878
3913
|
# The ID of the account for which to get/update shipping settings.
|
3879
3914
|
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
|
3880
3915
|
# @param [Boolean] dry_run
|
3881
|
-
# Flag to
|
3916
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3917
|
+
# mode checks the validity of the request and returns errors (if any).
|
3882
3918
|
# @param [String] fields
|
3883
3919
|
# Selector specifying which fields to include in a partial response.
|
3884
3920
|
# @param [String] quota_user
|
@@ -3899,7 +3935,7 @@ module Google
|
|
3899
3935
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3900
3936
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3901
3937
|
def patch_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3902
|
-
command =
|
3938
|
+
command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
|
3903
3939
|
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3904
3940
|
command.request_object = shipping_settings_object
|
3905
3941
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
@@ -3922,7 +3958,8 @@ module Google
|
|
3922
3958
|
# The ID of the account for which to get/update shipping settings.
|
3923
3959
|
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
|
3924
3960
|
# @param [Boolean] dry_run
|
3925
|
-
# Flag to
|
3961
|
+
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3962
|
+
# mode checks the validity of the request and returns errors (if any).
|
3926
3963
|
# @param [String] fields
|
3927
3964
|
# Selector specifying which fields to include in a partial response.
|
3928
3965
|
# @param [String] quota_user
|
@@ -3943,7 +3980,7 @@ module Google
|
|
3943
3980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3944
3981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3945
3982
|
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3946
|
-
command =
|
3983
|
+
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
3947
3984
|
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3948
3985
|
command.request_object = shipping_settings_object
|
3949
3986
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|