google-api-client 0.28.4 → 0.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.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 authinfo_account(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_1::AccountsAuthInfoResponse::Representation
|
|
78
78
|
command.response_class = Google::Apis::ContentV2_1::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_1::AccountsClaimWebsiteResponse::Representation
|
|
118
118
|
command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
|
|
119
119
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -148,7 +148,7 @@ module Google
|
|
|
148
148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
149
149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
150
150
|
def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
151
|
-
command =
|
|
151
|
+
command = make_simple_command(:post, 'accounts/batch', options)
|
|
152
152
|
command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation
|
|
153
153
|
command.request_object = accounts_custom_batch_request_object
|
|
154
154
|
command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation
|
|
@@ -187,7 +187,7 @@ module Google
|
|
|
187
187
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
188
188
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
189
189
|
def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
190
|
-
command =
|
|
190
|
+
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
|
|
191
191
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
192
192
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
193
193
|
command.query['force'] = force unless force.nil?
|
|
@@ -224,7 +224,7 @@ module Google
|
|
|
224
224
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
225
225
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
226
226
|
def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
227
|
-
command =
|
|
227
|
+
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
|
|
228
228
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
229
229
|
command.response_class = Google::Apis::ContentV2_1::Account
|
|
230
230
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -259,7 +259,7 @@ module Google
|
|
|
259
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
260
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
261
261
|
def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
262
|
-
command =
|
|
262
|
+
command = make_simple_command(:post, '{merchantId}/accounts', options)
|
|
263
263
|
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
264
264
|
command.request_object = account_object
|
|
265
265
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
@@ -271,8 +271,8 @@ module Google
|
|
|
271
271
|
execute_or_queue_command(command, &block)
|
|
272
272
|
end
|
|
273
273
|
|
|
274
|
-
# Performs an action on a link between
|
|
275
|
-
#
|
|
274
|
+
# Performs an action on a link between two Merchant Center accounts, namely
|
|
275
|
+
# accountId and linkedAccountId.
|
|
276
276
|
# @param [Fixnum] merchant_id
|
|
277
277
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
278
278
|
# then this account must be a multi-client account and accountId must be the ID
|
|
@@ -300,7 +300,7 @@ module Google
|
|
|
300
300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
301
301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
302
302
|
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
303
|
-
command =
|
|
303
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
|
304
304
|
command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
|
|
305
305
|
command.request_object = accounts_link_request_object
|
|
306
306
|
command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
|
|
@@ -340,7 +340,7 @@ module Google
|
|
|
340
340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
341
341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
342
342
|
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
343
|
-
command =
|
|
343
|
+
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
|
344
344
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
|
|
345
345
|
command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
|
|
346
346
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -380,7 +380,7 @@ module Google
|
|
|
380
380
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
381
381
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
382
382
|
def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
383
|
-
command =
|
|
383
|
+
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
|
|
384
384
|
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
385
385
|
command.request_object = account_object
|
|
386
386
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
@@ -415,7 +415,7 @@ module Google
|
|
|
415
415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
416
416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
417
417
|
def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
418
|
-
command =
|
|
418
|
+
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
|
419
419
|
command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
|
|
420
420
|
command.request_object = accountstatuses_custom_batch_request_object
|
|
421
421
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
|
|
@@ -426,8 +426,8 @@ module Google
|
|
|
426
426
|
execute_or_queue_command(command, &block)
|
|
427
427
|
end
|
|
428
428
|
|
|
429
|
-
# Retrieves the status of a Merchant Center account.
|
|
430
|
-
#
|
|
429
|
+
# Retrieves the status of a Merchant Center account. No itemLevelIssues are
|
|
430
|
+
# returned for multi-client accounts.
|
|
431
431
|
# @param [Fixnum] merchant_id
|
|
432
432
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
433
433
|
# then this account must be a multi-client account and accountId must be the ID
|
|
@@ -457,7 +457,7 @@ module Google
|
|
|
457
457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
458
458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
459
459
|
def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
460
|
-
command =
|
|
460
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
|
461
461
|
command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
|
|
462
462
|
command.response_class = Google::Apis::ContentV2_1::AccountStatus
|
|
463
463
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -500,7 +500,7 @@ module Google
|
|
|
500
500
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
501
501
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
502
502
|
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
503
|
-
command =
|
|
503
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
|
504
504
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
|
|
505
505
|
command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
|
|
506
506
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -535,7 +535,7 @@ module Google
|
|
|
535
535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
536
536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
537
537
|
def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
538
|
-
command =
|
|
538
|
+
command = make_simple_command(:post, 'accounttax/batch', options)
|
|
539
539
|
command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
|
|
540
540
|
command.request_object = accounttax_custom_batch_request_object
|
|
541
541
|
command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
|
|
@@ -573,7 +573,7 @@ module Google
|
|
|
573
573
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
574
574
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
575
575
|
def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
576
|
-
command =
|
|
576
|
+
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
|
577
577
|
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
|
578
578
|
command.response_class = Google::Apis::ContentV2_1::AccountTax
|
|
579
579
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -611,7 +611,7 @@ module Google
|
|
|
611
611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
612
612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
613
613
|
def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
614
|
-
command =
|
|
614
|
+
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
|
615
615
|
command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
|
|
616
616
|
command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
|
|
617
617
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -651,7 +651,7 @@ module Google
|
|
|
651
651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
652
652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
653
653
|
def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
654
|
-
command =
|
|
654
|
+
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
|
655
655
|
command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
|
656
656
|
command.request_object = account_tax_object
|
|
657
657
|
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
|
@@ -664,7 +664,8 @@ module Google
|
|
|
664
664
|
execute_or_queue_command(command, &block)
|
|
665
665
|
end
|
|
666
666
|
|
|
667
|
-
#
|
|
667
|
+
# Deletes, fetches, gets, inserts and updates multiple datafeeds in a single
|
|
668
|
+
# request.
|
|
668
669
|
# @param [Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest] datafeeds_custom_batch_request_object
|
|
669
670
|
# @param [String] fields
|
|
670
671
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -686,7 +687,7 @@ module Google
|
|
|
686
687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
687
688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
688
689
|
def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
689
|
-
command =
|
|
690
|
+
command = make_simple_command(:post, 'datafeeds/batch', options)
|
|
690
691
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
|
|
691
692
|
command.request_object = datafeeds_custom_batch_request_object
|
|
692
693
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
|
|
@@ -723,7 +724,7 @@ module Google
|
|
|
723
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
724
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
725
726
|
def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
726
|
-
command =
|
|
727
|
+
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
727
728
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
728
729
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
|
729
730
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -758,7 +759,7 @@ module Google
|
|
|
758
759
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
759
760
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
760
761
|
def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
761
|
-
command =
|
|
762
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
|
762
763
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
|
|
763
764
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
|
|
764
765
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -795,7 +796,7 @@ module Google
|
|
|
795
796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
796
797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
797
798
|
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
798
|
-
command =
|
|
799
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
799
800
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
800
801
|
command.response_class = Google::Apis::ContentV2_1::Datafeed
|
|
801
802
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -831,7 +832,7 @@ module Google
|
|
|
831
832
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
832
833
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
833
834
|
def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
834
|
-
command =
|
|
835
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
|
835
836
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
836
837
|
command.request_object = datafeed_object
|
|
837
838
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
@@ -871,7 +872,7 @@ module Google
|
|
|
871
872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
872
873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
873
874
|
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
874
|
-
command =
|
|
875
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
|
875
876
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
|
|
876
877
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
|
|
877
878
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -910,7 +911,7 @@ module Google
|
|
|
910
911
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
911
912
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
912
913
|
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
913
|
-
command =
|
|
914
|
+
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
914
915
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
915
916
|
command.request_object = datafeed_object
|
|
916
917
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
@@ -923,7 +924,7 @@ module Google
|
|
|
923
924
|
execute_or_queue_command(command, &block)
|
|
924
925
|
end
|
|
925
926
|
|
|
926
|
-
#
|
|
927
|
+
# Gets multiple Merchant Center datafeed statuses in a single request.
|
|
927
928
|
# @param [Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest] datafeedstatuses_custom_batch_request_object
|
|
928
929
|
# @param [String] fields
|
|
929
930
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -945,7 +946,7 @@ module Google
|
|
|
945
946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
946
947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
947
948
|
def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
948
|
-
command =
|
|
949
|
+
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
|
949
950
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
|
|
950
951
|
command.request_object = datafeedstatuses_custom_batch_request_object
|
|
951
952
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
|
|
@@ -992,7 +993,7 @@ module Google
|
|
|
992
993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
993
994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
994
995
|
def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
995
|
-
command =
|
|
996
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
|
996
997
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
|
|
997
998
|
command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
|
|
998
999
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1033,7 +1034,7 @@ module Google
|
|
|
1033
1034
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1034
1035
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1035
1036
|
def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1036
|
-
command =
|
|
1037
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
|
1037
1038
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
|
|
1038
1039
|
command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
|
|
1039
1040
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1068,7 +1069,7 @@ module Google
|
|
|
1068
1069
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1069
1070
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1070
1071
|
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1071
|
-
command =
|
|
1072
|
+
command = make_simple_command(:post, 'liasettings/batch', options)
|
|
1072
1073
|
command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
|
|
1073
1074
|
command.request_object = liasettings_custom_batch_request_object
|
|
1074
1075
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
|
|
@@ -1106,7 +1107,7 @@ module Google
|
|
|
1106
1107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1107
1108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1108
1109
|
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1109
|
-
command =
|
|
1110
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
|
1110
1111
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
1111
1112
|
command.response_class = Google::Apis::ContentV2_1::LiaSettings
|
|
1112
1113
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1145,7 +1146,7 @@ module Google
|
|
|
1145
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1146
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1147
1148
|
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1148
|
-
command =
|
|
1149
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
|
1149
1150
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
|
1150
1151
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
|
|
1151
1152
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1183,7 +1184,7 @@ module Google
|
|
|
1183
1184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1184
1185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1185
1186
|
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1186
|
-
command =
|
|
1187
|
+
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
|
1187
1188
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
|
|
1188
1189
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
|
|
1189
1190
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1217,7 +1218,7 @@ module Google
|
|
|
1217
1218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1218
1219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1219
1220
|
def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1220
|
-
command =
|
|
1221
|
+
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
|
1221
1222
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
|
|
1222
1223
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
|
|
1223
1224
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1255,7 +1256,7 @@ module Google
|
|
|
1255
1256
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1256
1257
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1257
1258
|
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1258
|
-
command =
|
|
1259
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
|
1259
1260
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
|
|
1260
1261
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
|
|
1261
1262
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1297,7 +1298,7 @@ module Google
|
|
|
1297
1298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1298
1299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1299
1300
|
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1300
|
-
command =
|
|
1301
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
|
1301
1302
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
|
|
1302
1303
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
|
|
1303
1304
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1345,7 +1346,7 @@ module Google
|
|
|
1345
1346
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1346
1347
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1347
1348
|
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1348
|
-
command =
|
|
1349
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
|
1349
1350
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
|
|
1350
1351
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
|
|
1351
1352
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1394,7 +1395,7 @@ module Google
|
|
|
1394
1395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1395
1396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1396
1397
|
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)
|
|
1397
|
-
command =
|
|
1398
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
|
1398
1399
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
|
|
1399
1400
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
|
|
1400
1401
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1436,7 +1437,7 @@ module Google
|
|
|
1436
1437
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1437
1438
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1438
1439
|
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1439
|
-
command =
|
|
1440
|
+
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
|
1440
1441
|
command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
1441
1442
|
command.request_object = lia_settings_object
|
|
1442
1443
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
@@ -1450,7 +1451,7 @@ module Google
|
|
|
1450
1451
|
end
|
|
1451
1452
|
|
|
1452
1453
|
# Creates a charge invoice for a shipment group, and triggers a charge capture
|
|
1453
|
-
# for
|
|
1454
|
+
# for orderinvoice enabled orders.
|
|
1454
1455
|
# @param [Fixnum] merchant_id
|
|
1455
1456
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1456
1457
|
# account.
|
|
@@ -1477,7 +1478,7 @@ module Google
|
|
|
1477
1478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1478
1479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1479
1480
|
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)
|
|
1480
|
-
command =
|
|
1481
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
|
1481
1482
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
|
1482
1483
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
|
1483
1484
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
|
@@ -1491,9 +1492,9 @@ module Google
|
|
|
1491
1492
|
end
|
|
1492
1493
|
|
|
1493
1494
|
# Creates a refund invoice for one or more shipment groups, and triggers a
|
|
1494
|
-
# refund for
|
|
1495
|
-
#
|
|
1496
|
-
#
|
|
1495
|
+
# refund for orderinvoice enabled orders. This can only be used for line items
|
|
1496
|
+
# that have previously been charged using createChargeInvoice. All amounts (
|
|
1497
|
+
# except for the summary) are incremental with respect to the previous invoice.
|
|
1497
1498
|
# @param [Fixnum] merchant_id
|
|
1498
1499
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1499
1500
|
# account.
|
|
@@ -1520,7 +1521,7 @@ module Google
|
|
|
1520
1521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1521
1522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1522
1523
|
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)
|
|
1523
|
-
command =
|
|
1524
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
|
1524
1525
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
|
1525
1526
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
|
1526
1527
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
|
@@ -1566,7 +1567,7 @@ module Google
|
|
|
1566
1567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1567
1568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1568
1569
|
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)
|
|
1569
|
-
command =
|
|
1570
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
|
1570
1571
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
|
|
1571
1572
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
|
|
1572
1573
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1616,7 +1617,7 @@ module Google
|
|
|
1616
1617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1617
1618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1618
1619
|
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)
|
|
1619
|
-
command =
|
|
1620
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
|
1620
1621
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
|
|
1621
1622
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
|
|
1622
1623
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1657,7 +1658,7 @@ module Google
|
|
|
1657
1658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1658
1659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1659
1660
|
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1660
|
-
command =
|
|
1661
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
|
1661
1662
|
command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
|
1662
1663
|
command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
|
|
1663
1664
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1706,7 +1707,7 @@ module Google
|
|
|
1706
1707
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1707
1708
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1708
1709
|
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)
|
|
1709
|
-
command =
|
|
1710
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
|
1710
1711
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
|
|
1711
1712
|
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
|
|
1712
1713
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1748,7 +1749,7 @@ module Google
|
|
|
1748
1749
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1749
1750
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1750
1751
|
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1751
|
-
command =
|
|
1752
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
|
1752
1753
|
command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
|
|
1753
1754
|
command.request_object = orders_acknowledge_request_object
|
|
1754
1755
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
|
|
@@ -1788,7 +1789,7 @@ module Google
|
|
|
1788
1789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1789
1790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1790
1791
|
def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1791
|
-
command =
|
|
1792
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
|
1792
1793
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
|
|
1793
1794
|
command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
|
|
1794
1795
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1826,7 +1827,7 @@ module Google
|
|
|
1826
1827
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1827
1828
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1828
1829
|
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1829
|
-
command =
|
|
1830
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
|
1830
1831
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
|
|
1831
1832
|
command.request_object = orders_cancel_request_object
|
|
1832
1833
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
|
|
@@ -1866,7 +1867,7 @@ module Google
|
|
|
1866
1867
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1867
1868
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1868
1869
|
def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1869
|
-
command =
|
|
1870
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
|
1870
1871
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
|
|
1871
1872
|
command.request_object = orders_cancel_line_item_request_object
|
|
1872
1873
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
|
|
@@ -1906,7 +1907,7 @@ module Google
|
|
|
1906
1907
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1907
1908
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1908
1909
|
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)
|
|
1909
|
-
command =
|
|
1910
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
|
1910
1911
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
|
|
1911
1912
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
|
1912
1913
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
|
|
@@ -1944,7 +1945,7 @@ module Google
|
|
|
1944
1945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1945
1946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1946
1947
|
def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1947
|
-
command =
|
|
1948
|
+
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
|
1948
1949
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
|
|
1949
1950
|
command.request_object = orders_create_test_order_request_object
|
|
1950
1951
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
|
|
@@ -1983,7 +1984,7 @@ module Google
|
|
|
1983
1984
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1984
1985
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1985
1986
|
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)
|
|
1986
|
-
command =
|
|
1987
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
|
1987
1988
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
|
|
1988
1989
|
command.request_object = orders_create_test_return_request_object
|
|
1989
1990
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
|
|
@@ -2022,7 +2023,7 @@ module Google
|
|
|
2022
2023
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2023
2024
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2024
2025
|
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2025
|
-
command =
|
|
2026
|
+
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
|
2026
2027
|
command.response_representation = Google::Apis::ContentV2_1::Order::Representation
|
|
2027
2028
|
command.response_class = Google::Apis::ContentV2_1::Order
|
|
2028
2029
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2033,12 +2034,12 @@ module Google
|
|
|
2033
2034
|
execute_or_queue_command(command, &block)
|
|
2034
2035
|
end
|
|
2035
2036
|
|
|
2036
|
-
# Retrieves an order using merchant order
|
|
2037
|
+
# Retrieves an order using merchant order ID.
|
|
2037
2038
|
# @param [Fixnum] merchant_id
|
|
2038
2039
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2039
2040
|
# account.
|
|
2040
2041
|
# @param [String] merchant_order_id
|
|
2041
|
-
# The merchant order
|
|
2042
|
+
# The merchant order ID to be looked for.
|
|
2042
2043
|
# @param [String] fields
|
|
2043
2044
|
# Selector specifying which fields to include in a partial response.
|
|
2044
2045
|
# @param [String] quota_user
|
|
@@ -2059,7 +2060,7 @@ module Google
|
|
|
2059
2060
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2060
2061
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2061
2062
|
def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2062
|
-
command =
|
|
2063
|
+
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
|
2063
2064
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
|
|
2064
2065
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
|
|
2065
2066
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2099,7 +2100,7 @@ module Google
|
|
|
2099
2100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2100
2101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2101
2102
|
def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2102
|
-
command =
|
|
2103
|
+
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
|
2103
2104
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
|
|
2104
2105
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
|
|
2105
2106
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2113,6 +2114,12 @@ module Google
|
|
|
2113
2114
|
|
|
2114
2115
|
# Notifies that item return and refund was handled directly by merchant outside
|
|
2115
2116
|
# of Google payments processing (e.g. cash refund done in store).
|
|
2117
|
+
# Note: We recommend calling the returnrefundlineitem method to refund in-store
|
|
2118
|
+
# returns. We will issue the refund directly to the customer. This helps to
|
|
2119
|
+
# prevent possible differences arising between merchant and Google transaction
|
|
2120
|
+
# records. We also recommend having the point of sale system communicate with
|
|
2121
|
+
# Google to ensure that customers do not receive a double refund by first
|
|
2122
|
+
# refunding via Google then via an in-store return.
|
|
2116
2123
|
# @param [Fixnum] merchant_id
|
|
2117
2124
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2118
2125
|
# account.
|
|
@@ -2139,7 +2146,7 @@ module Google
|
|
|
2139
2146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2140
2147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2141
2148
|
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)
|
|
2142
|
-
command =
|
|
2149
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
|
2143
2150
|
command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
|
|
2144
2151
|
command.request_object = orders_in_store_refund_line_item_request_object
|
|
2145
2152
|
command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
|
|
@@ -2166,15 +2173,11 @@ module Google
|
|
|
2166
2173
|
# The maximum number of orders to return in the response, used for paging. The
|
|
2167
2174
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
|
2168
2175
|
# orders per page.
|
|
2169
|
-
# Known issue: All List calls will return all Orders without limit regardless of
|
|
2170
|
-
# the value of this field.
|
|
2171
2176
|
# @param [String] order_by
|
|
2172
|
-
#
|
|
2173
|
-
#
|
|
2174
|
-
#
|
|
2175
|
-
#
|
|
2176
|
-
# from most recent to oldest. In future releases we'll support other sorting
|
|
2177
|
-
# criteria.
|
|
2177
|
+
# Order results by placement date in descending or ascending order.
|
|
2178
|
+
# Acceptable values are:
|
|
2179
|
+
# - placedDateAsc
|
|
2180
|
+
# - placedDateDesc
|
|
2178
2181
|
# @param [String] page_token
|
|
2179
2182
|
# The token returned by the previous request.
|
|
2180
2183
|
# @param [String] placed_date_end
|
|
@@ -2185,7 +2188,7 @@ module Google
|
|
|
2185
2188
|
# Obtains orders that match any of the specified statuses. Multiple values can
|
|
2186
2189
|
# be specified with comma separation. Additionally, please note that active is a
|
|
2187
2190
|
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut
|
|
2188
|
-
# for shipped
|
|
2191
|
+
# for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and
|
|
2189
2192
|
# canceled.
|
|
2190
2193
|
# @param [String] fields
|
|
2191
2194
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2207,7 +2210,7 @@ module Google
|
|
|
2207
2210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2208
2211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2209
2212
|
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)
|
|
2210
|
-
command =
|
|
2213
|
+
command = make_simple_command(:get, '{merchantId}/orders', options)
|
|
2211
2214
|
command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
|
|
2212
2215
|
command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
|
|
2213
2216
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2251,7 +2254,7 @@ module Google
|
|
|
2251
2254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2252
2255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2253
2256
|
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)
|
|
2254
|
-
command =
|
|
2257
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
|
2255
2258
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
|
|
2256
2259
|
command.request_object = orders_reject_return_line_item_request_object
|
|
2257
2260
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
|
|
@@ -2292,7 +2295,7 @@ module Google
|
|
|
2292
2295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2293
2296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2294
2297
|
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)
|
|
2295
|
-
command =
|
|
2298
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
|
2296
2299
|
command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
|
|
2297
2300
|
command.request_object = orders_return_refund_line_item_request_object
|
|
2298
2301
|
command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
|
|
@@ -2305,7 +2308,11 @@ module Google
|
|
|
2305
2308
|
execute_or_queue_command(command, &block)
|
|
2306
2309
|
end
|
|
2307
2310
|
|
|
2308
|
-
# Sets (overrides) merchant provided annotations
|
|
2311
|
+
# Sets (or overrides if it already exists) merchant provided annotations in the
|
|
2312
|
+
# form of key-value pairs. A common use case would be to supply us with
|
|
2313
|
+
# additional structured information about a line item that cannot be provided
|
|
2314
|
+
# via other methods. Submitted key-value pairs can be retrieved as part of the
|
|
2315
|
+
# orders resource.
|
|
2309
2316
|
# @param [Fixnum] merchant_id
|
|
2310
2317
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2311
2318
|
# account.
|
|
@@ -2332,7 +2339,7 @@ module Google
|
|
|
2332
2339
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2333
2340
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2334
2341
|
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)
|
|
2335
|
-
command =
|
|
2342
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
|
2336
2343
|
command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
|
|
2337
2344
|
command.request_object = orders_set_line_item_metadata_request_object
|
|
2338
2345
|
command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
|
|
@@ -2372,7 +2379,7 @@ module Google
|
|
|
2372
2379
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2373
2380
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2374
2381
|
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)
|
|
2375
|
-
command =
|
|
2382
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
|
2376
2383
|
command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
|
|
2377
2384
|
command.request_object = orders_ship_line_items_request_object
|
|
2378
2385
|
command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
|
|
@@ -2412,7 +2419,7 @@ module Google
|
|
|
2412
2419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2413
2420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2414
2421
|
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)
|
|
2415
|
-
command =
|
|
2422
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
|
2416
2423
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
|
2417
2424
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
|
2418
2425
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
|
@@ -2452,7 +2459,7 @@ module Google
|
|
|
2452
2459
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2453
2460
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2454
2461
|
def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2455
|
-
command =
|
|
2462
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
|
2456
2463
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
|
|
2457
2464
|
command.request_object = orders_update_merchant_order_id_request_object
|
|
2458
2465
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
|
|
@@ -2492,7 +2499,7 @@ module Google
|
|
|
2492
2499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2493
2500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2494
2501
|
def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2495
|
-
command =
|
|
2502
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
|
2496
2503
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
|
|
2497
2504
|
command.request_object = orders_update_shipment_request_object
|
|
2498
2505
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
|
|
@@ -2527,7 +2534,7 @@ module Google
|
|
|
2527
2534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2528
2535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2529
2536
|
def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2530
|
-
command =
|
|
2537
|
+
command = make_simple_command(:post, 'pos/batch', options)
|
|
2531
2538
|
command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
|
|
2532
2539
|
command.request_object = pos_custom_batch_request_object
|
|
2533
2540
|
command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
|
|
@@ -2565,7 +2572,7 @@ module Google
|
|
|
2565
2572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2566
2573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2567
2574
|
def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2568
|
-
command =
|
|
2575
|
+
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
2569
2576
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2570
2577
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2571
2578
|
command.params['storeCode'] = store_code unless store_code.nil?
|
|
@@ -2602,7 +2609,7 @@ module Google
|
|
|
2602
2609
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2603
2610
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2604
2611
|
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2605
|
-
command =
|
|
2612
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
2606
2613
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
2607
2614
|
command.response_class = Google::Apis::ContentV2_1::PosStore
|
|
2608
2615
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2640,7 +2647,7 @@ module Google
|
|
|
2640
2647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2641
2648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2642
2649
|
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2643
|
-
command =
|
|
2650
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
2644
2651
|
command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
2645
2652
|
command.request_object = pos_store_object
|
|
2646
2653
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
@@ -2679,7 +2686,7 @@ module Google
|
|
|
2679
2686
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2680
2687
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2681
2688
|
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2682
|
-
command =
|
|
2689
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
|
2683
2690
|
command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
|
|
2684
2691
|
command.request_object = pos_inventory_request_object
|
|
2685
2692
|
command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
|
|
@@ -2717,7 +2724,7 @@ module Google
|
|
|
2717
2724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2718
2725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2719
2726
|
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2720
|
-
command =
|
|
2727
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
2721
2728
|
command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
|
|
2722
2729
|
command.response_class = Google::Apis::ContentV2_1::PosListResponse
|
|
2723
2730
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2754,7 +2761,7 @@ module Google
|
|
|
2754
2761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2755
2762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2756
2763
|
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2757
|
-
command =
|
|
2764
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
|
2758
2765
|
command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
|
|
2759
2766
|
command.request_object = pos_sale_request_object
|
|
2760
2767
|
command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
|
|
@@ -2789,7 +2796,7 @@ module Google
|
|
|
2789
2796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2790
2797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2791
2798
|
def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2792
|
-
command =
|
|
2799
|
+
command = make_simple_command(:post, 'products/batch', options)
|
|
2793
2800
|
command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
|
|
2794
2801
|
command.request_object = products_custom_batch_request_object
|
|
2795
2802
|
command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
|
|
@@ -2805,7 +2812,7 @@ module Google
|
|
|
2805
2812
|
# The ID of the account that contains the product. This account cannot be a
|
|
2806
2813
|
# multi-client account.
|
|
2807
2814
|
# @param [String] product_id
|
|
2808
|
-
# The REST
|
|
2815
|
+
# The REST ID of the product.
|
|
2809
2816
|
# @param [String] fields
|
|
2810
2817
|
# Selector specifying which fields to include in a partial response.
|
|
2811
2818
|
# @param [String] quota_user
|
|
@@ -2826,7 +2833,7 @@ module Google
|
|
|
2826
2833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2827
2834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2828
2835
|
def delete_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2829
|
-
command =
|
|
2836
|
+
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
|
2830
2837
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2831
2838
|
command.params['productId'] = product_id unless product_id.nil?
|
|
2832
2839
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2840,7 +2847,7 @@ module Google
|
|
|
2840
2847
|
# The ID of the account that contains the product. This account cannot be a
|
|
2841
2848
|
# multi-client account.
|
|
2842
2849
|
# @param [String] product_id
|
|
2843
|
-
# The REST
|
|
2850
|
+
# The REST ID of the product.
|
|
2844
2851
|
# @param [String] fields
|
|
2845
2852
|
# Selector specifying which fields to include in a partial response.
|
|
2846
2853
|
# @param [String] quota_user
|
|
@@ -2861,7 +2868,7 @@ module Google
|
|
|
2861
2868
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2862
2869
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2863
2870
|
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2864
|
-
command =
|
|
2871
|
+
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
|
2865
2872
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
2866
2873
|
command.response_class = Google::Apis::ContentV2_1::Product
|
|
2867
2874
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2899,7 +2906,7 @@ module Google
|
|
|
2899
2906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2900
2907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2901
2908
|
def insert_product(merchant_id, product_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2902
|
-
command =
|
|
2909
|
+
command = make_simple_command(:post, '{merchantId}/products', options)
|
|
2903
2910
|
command.request_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
2904
2911
|
command.request_object = product_object
|
|
2905
2912
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
@@ -2939,7 +2946,7 @@ module Google
|
|
|
2939
2946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2940
2947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2941
2948
|
def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2942
|
-
command =
|
|
2949
|
+
command = make_simple_command(:get, '{merchantId}/products', options)
|
|
2943
2950
|
command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
|
|
2944
2951
|
command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
|
|
2945
2952
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2973,7 +2980,7 @@ module Google
|
|
|
2973
2980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2974
2981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2975
2982
|
def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2976
|
-
command =
|
|
2983
|
+
command = make_simple_command(:post, 'productstatuses/batch', options)
|
|
2977
2984
|
command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
|
|
2978
2985
|
command.request_object = productstatuses_custom_batch_request_object
|
|
2979
2986
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
|
|
@@ -2989,7 +2996,7 @@ module Google
|
|
|
2989
2996
|
# The ID of the account that contains the product. This account cannot be a
|
|
2990
2997
|
# multi-client account.
|
|
2991
2998
|
# @param [String] product_id
|
|
2992
|
-
# The REST
|
|
2999
|
+
# The REST ID of the product.
|
|
2993
3000
|
# @param [Array<String>, String] destinations
|
|
2994
3001
|
# If set, only issues for the specified destinations are returned, otherwise
|
|
2995
3002
|
# only issues for the Shopping destination.
|
|
@@ -3013,7 +3020,7 @@ module Google
|
|
|
3013
3020
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3014
3021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3015
3022
|
def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3016
|
-
command =
|
|
3023
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
|
3017
3024
|
command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
|
|
3018
3025
|
command.response_class = Google::Apis::ContentV2_1::ProductStatus
|
|
3019
3026
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3057,7 +3064,7 @@ module Google
|
|
|
3057
3064
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3058
3065
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3059
3066
|
def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3060
|
-
command =
|
|
3067
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
|
3061
3068
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
|
|
3062
3069
|
command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
|
|
3063
3070
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3070,6 +3077,82 @@ module Google
|
|
|
3070
3077
|
execute_or_queue_command(command, &block)
|
|
3071
3078
|
end
|
|
3072
3079
|
|
|
3080
|
+
# Updates regional inventory for multiple products or regions in a single
|
|
3081
|
+
# request.
|
|
3082
|
+
# @param [Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest] regionalinventory_custom_batch_request_object
|
|
3083
|
+
# @param [String] fields
|
|
3084
|
+
# Selector specifying which fields to include in a partial response.
|
|
3085
|
+
# @param [String] quota_user
|
|
3086
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
3087
|
+
# characters.
|
|
3088
|
+
# @param [String] user_ip
|
|
3089
|
+
# Deprecated. Please use quotaUser instead.
|
|
3090
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3091
|
+
# Request-specific options
|
|
3092
|
+
#
|
|
3093
|
+
# @yield [result, err] Result & error if block supplied
|
|
3094
|
+
# @yieldparam result [Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse] parsed result object
|
|
3095
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3096
|
+
#
|
|
3097
|
+
# @return [Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse]
|
|
3098
|
+
#
|
|
3099
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3100
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3101
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3102
|
+
def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3103
|
+
command = make_simple_command(:post, 'regionalinventory/batch', options)
|
|
3104
|
+
command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
|
|
3105
|
+
command.request_object = regionalinventory_custom_batch_request_object
|
|
3106
|
+
command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
|
|
3107
|
+
command.response_class = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse
|
|
3108
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3109
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3110
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3111
|
+
execute_or_queue_command(command, &block)
|
|
3112
|
+
end
|
|
3113
|
+
|
|
3114
|
+
# Update the regional inventory of a product in your Merchant Center account. If
|
|
3115
|
+
# a regional inventory with the same region ID already exists, this method
|
|
3116
|
+
# updates that entry.
|
|
3117
|
+
# @param [Fixnum] merchant_id
|
|
3118
|
+
# The ID of the account that contains the product. This account cannot be a
|
|
3119
|
+
# multi-client account.
|
|
3120
|
+
# @param [String] product_id
|
|
3121
|
+
# The REST ID of the product for which to update the regional inventory.
|
|
3122
|
+
# @param [Google::Apis::ContentV2_1::RegionalInventory] regional_inventory_object
|
|
3123
|
+
# @param [String] fields
|
|
3124
|
+
# Selector specifying which fields to include in a partial response.
|
|
3125
|
+
# @param [String] quota_user
|
|
3126
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
3127
|
+
# characters.
|
|
3128
|
+
# @param [String] user_ip
|
|
3129
|
+
# Deprecated. Please use quotaUser instead.
|
|
3130
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3131
|
+
# Request-specific options
|
|
3132
|
+
#
|
|
3133
|
+
# @yield [result, err] Result & error if block supplied
|
|
3134
|
+
# @yieldparam result [Google::Apis::ContentV2_1::RegionalInventory] parsed result object
|
|
3135
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3136
|
+
#
|
|
3137
|
+
# @return [Google::Apis::ContentV2_1::RegionalInventory]
|
|
3138
|
+
#
|
|
3139
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3140
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3141
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3142
|
+
def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3143
|
+
command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
|
|
3144
|
+
command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
3145
|
+
command.request_object = regional_inventory_object
|
|
3146
|
+
command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
3147
|
+
command.response_class = Google::Apis::ContentV2_1::RegionalInventory
|
|
3148
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
3149
|
+
command.params['productId'] = product_id unless product_id.nil?
|
|
3150
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3151
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3152
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3153
|
+
execute_or_queue_command(command, &block)
|
|
3154
|
+
end
|
|
3155
|
+
|
|
3073
3156
|
# Retrieves and updates the shipping settings of multiple accounts in a single
|
|
3074
3157
|
# request.
|
|
3075
3158
|
# @param [Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
|
|
@@ -3093,7 +3176,7 @@ module Google
|
|
|
3093
3176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3094
3177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3095
3178
|
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3096
|
-
command =
|
|
3179
|
+
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
|
3097
3180
|
command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
|
|
3098
3181
|
command.request_object = shippingsettings_custom_batch_request_object
|
|
3099
3182
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
|
|
@@ -3131,7 +3214,7 @@ module Google
|
|
|
3131
3214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3132
3215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3133
3216
|
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3134
|
-
command =
|
|
3217
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
|
3135
3218
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
3136
3219
|
command.response_class = Google::Apis::ContentV2_1::ShippingSettings
|
|
3137
3220
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3165,7 +3248,7 @@ module Google
|
|
|
3165
3248
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3166
3249
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3167
3250
|
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3168
|
-
command =
|
|
3251
|
+
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
|
3169
3252
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
|
|
3170
3253
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
|
|
3171
3254
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3198,7 +3281,7 @@ module Google
|
|
|
3198
3281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3199
3282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3200
3283
|
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3201
|
-
command =
|
|
3284
|
+
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
|
3202
3285
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
|
3203
3286
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
|
|
3204
3287
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3237,7 +3320,7 @@ module Google
|
|
|
3237
3320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3238
3321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3239
3322
|
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3240
|
-
command =
|
|
3323
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
|
3241
3324
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
|
|
3242
3325
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
|
|
3243
3326
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3277,7 +3360,7 @@ module Google
|
|
|
3277
3360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3278
3361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3279
3362
|
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3280
|
-
command =
|
|
3363
|
+
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
|
3281
3364
|
command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
3282
3365
|
command.request_object = shipping_settings_object
|
|
3283
3366
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|