google-api-client 0.29.0 → 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/CHANGELOG.md +122 -0
- data/README.md +1 -1
- 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 +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- 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 +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- 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/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- 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/service.rb +8 -8
- 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/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- 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/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- 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 +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- 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 +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- 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 +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 +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- 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 +45 -45
- 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/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- 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/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- 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/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- 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/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- 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 +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- 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 +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- 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/service.rb +2 -2
- 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/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- 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 +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- 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 +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -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/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- 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 +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -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/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- 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_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- 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 +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- 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/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- 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/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- 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 +6 -0
- 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 +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- 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/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- 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/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- 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 +1 -1
- 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 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- 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 +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -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 +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- 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 +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- 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 +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- 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/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/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -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 +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- 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 +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- 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 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- 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_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- 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 +1 -1
- 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/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- 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 +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- 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/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- 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/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/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- 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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -687,7 +687,7 @@ module Google
|
|
|
687
687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
688
688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
689
689
|
def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
690
|
-
command =
|
|
690
|
+
command = make_simple_command(:post, 'datafeeds/batch', options)
|
|
691
691
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
|
|
692
692
|
command.request_object = datafeeds_custom_batch_request_object
|
|
693
693
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
|
|
@@ -724,7 +724,7 @@ module Google
|
|
|
724
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
725
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
726
726
|
def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
727
|
-
command =
|
|
727
|
+
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
728
728
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
729
729
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
|
730
730
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -759,7 +759,7 @@ module Google
|
|
|
759
759
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
760
760
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
761
761
|
def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
762
|
-
command =
|
|
762
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
|
763
763
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
|
|
764
764
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
|
|
765
765
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -796,7 +796,7 @@ module Google
|
|
|
796
796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
797
797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
798
798
|
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
799
|
-
command =
|
|
799
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
800
800
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
801
801
|
command.response_class = Google::Apis::ContentV2_1::Datafeed
|
|
802
802
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -832,7 +832,7 @@ module Google
|
|
|
832
832
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
833
833
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
834
834
|
def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
835
|
-
command =
|
|
835
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
|
836
836
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
837
837
|
command.request_object = datafeed_object
|
|
838
838
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
@@ -872,7 +872,7 @@ module Google
|
|
|
872
872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
873
873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
874
874
|
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
875
|
-
command =
|
|
875
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
|
876
876
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
|
|
877
877
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
|
|
878
878
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -911,7 +911,7 @@ module Google
|
|
|
911
911
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
912
912
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
913
913
|
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
914
|
-
command =
|
|
914
|
+
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
915
915
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
916
916
|
command.request_object = datafeed_object
|
|
917
917
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
@@ -946,7 +946,7 @@ module Google
|
|
|
946
946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
947
947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
948
948
|
def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
949
|
-
command =
|
|
949
|
+
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
|
950
950
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
|
|
951
951
|
command.request_object = datafeedstatuses_custom_batch_request_object
|
|
952
952
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
|
|
@@ -993,7 +993,7 @@ module Google
|
|
|
993
993
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
994
994
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
995
995
|
def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
996
|
-
command =
|
|
996
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
|
997
997
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
|
|
998
998
|
command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
|
|
999
999
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1034,7 +1034,7 @@ module Google
|
|
|
1034
1034
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1035
1035
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1036
1036
|
def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1037
|
-
command =
|
|
1037
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
|
1038
1038
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
|
|
1039
1039
|
command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
|
|
1040
1040
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1069,7 +1069,7 @@ module Google
|
|
|
1069
1069
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1070
1070
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1071
1071
|
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1072
|
-
command =
|
|
1072
|
+
command = make_simple_command(:post, 'liasettings/batch', options)
|
|
1073
1073
|
command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
|
|
1074
1074
|
command.request_object = liasettings_custom_batch_request_object
|
|
1075
1075
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
|
|
@@ -1107,7 +1107,7 @@ module Google
|
|
|
1107
1107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1108
1108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1109
1109
|
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1110
|
-
command =
|
|
1110
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
|
1111
1111
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
1112
1112
|
command.response_class = Google::Apis::ContentV2_1::LiaSettings
|
|
1113
1113
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1146,7 +1146,7 @@ module Google
|
|
|
1146
1146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1147
1147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1148
1148
|
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1149
|
-
command =
|
|
1149
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
|
1150
1150
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
|
1151
1151
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
|
|
1152
1152
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1184,7 +1184,7 @@ module Google
|
|
|
1184
1184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1185
1185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1186
1186
|
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1187
|
-
command =
|
|
1187
|
+
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
|
1188
1188
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
|
|
1189
1189
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
|
|
1190
1190
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1218,7 +1218,7 @@ module Google
|
|
|
1218
1218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1219
1219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1220
1220
|
def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1221
|
-
command =
|
|
1221
|
+
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
|
1222
1222
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
|
|
1223
1223
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
|
|
1224
1224
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1256,7 +1256,7 @@ module Google
|
|
|
1256
1256
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1257
1257
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1258
1258
|
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1259
|
-
command =
|
|
1259
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
|
1260
1260
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
|
|
1261
1261
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
|
|
1262
1262
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1298,7 +1298,7 @@ module Google
|
|
|
1298
1298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1299
1299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1300
1300
|
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1301
|
-
command =
|
|
1301
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
|
1302
1302
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
|
|
1303
1303
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
|
|
1304
1304
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1346,7 +1346,7 @@ module Google
|
|
|
1346
1346
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1347
1347
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1348
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)
|
|
1349
|
-
command =
|
|
1349
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
|
1350
1350
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
|
|
1351
1351
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
|
|
1352
1352
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1395,7 +1395,7 @@ module Google
|
|
|
1395
1395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1396
1396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1397
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)
|
|
1398
|
-
command =
|
|
1398
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
|
1399
1399
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
|
|
1400
1400
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
|
|
1401
1401
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1437,7 +1437,7 @@ module Google
|
|
|
1437
1437
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1438
1438
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1439
1439
|
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1440
|
-
command =
|
|
1440
|
+
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
|
1441
1441
|
command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
1442
1442
|
command.request_object = lia_settings_object
|
|
1443
1443
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
@@ -1478,7 +1478,7 @@ module Google
|
|
|
1478
1478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1479
1479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1480
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)
|
|
1481
|
-
command =
|
|
1481
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
|
1482
1482
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
|
1483
1483
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
|
1484
1484
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
|
@@ -1521,7 +1521,7 @@ module Google
|
|
|
1521
1521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1522
1522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1523
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)
|
|
1524
|
-
command =
|
|
1524
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
|
1525
1525
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
|
1526
1526
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
|
1527
1527
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
|
@@ -1567,7 +1567,7 @@ module Google
|
|
|
1567
1567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1568
1568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1569
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)
|
|
1570
|
-
command =
|
|
1570
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
|
1571
1571
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
|
|
1572
1572
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
|
|
1573
1573
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1617,7 +1617,7 @@ module Google
|
|
|
1617
1617
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1618
1618
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1619
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)
|
|
1620
|
-
command =
|
|
1620
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
|
1621
1621
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
|
|
1622
1622
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
|
|
1623
1623
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1658,7 +1658,7 @@ module Google
|
|
|
1658
1658
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1659
1659
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1660
1660
|
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1661
|
-
command =
|
|
1661
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
|
1662
1662
|
command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
|
1663
1663
|
command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
|
|
1664
1664
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1707,7 +1707,7 @@ module Google
|
|
|
1707
1707
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1708
1708
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1709
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)
|
|
1710
|
-
command =
|
|
1710
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
|
1711
1711
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
|
|
1712
1712
|
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
|
|
1713
1713
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1749,7 +1749,7 @@ module Google
|
|
|
1749
1749
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1750
1750
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1751
1751
|
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1752
|
-
command =
|
|
1752
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
|
1753
1753
|
command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
|
|
1754
1754
|
command.request_object = orders_acknowledge_request_object
|
|
1755
1755
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
|
|
@@ -1789,7 +1789,7 @@ module Google
|
|
|
1789
1789
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1790
1790
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1791
1791
|
def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1792
|
-
command =
|
|
1792
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
|
1793
1793
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
|
|
1794
1794
|
command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
|
|
1795
1795
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1827,7 +1827,7 @@ module Google
|
|
|
1827
1827
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1828
1828
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1829
1829
|
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1830
|
-
command =
|
|
1830
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
|
1831
1831
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
|
|
1832
1832
|
command.request_object = orders_cancel_request_object
|
|
1833
1833
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
|
|
@@ -1867,7 +1867,7 @@ module Google
|
|
|
1867
1867
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1868
1868
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1869
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)
|
|
1870
|
-
command =
|
|
1870
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
|
1871
1871
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
|
|
1872
1872
|
command.request_object = orders_cancel_line_item_request_object
|
|
1873
1873
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
|
|
@@ -1907,7 +1907,7 @@ module Google
|
|
|
1907
1907
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1908
1908
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1909
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)
|
|
1910
|
-
command =
|
|
1910
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
|
1911
1911
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
|
|
1912
1912
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
|
1913
1913
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
|
|
@@ -1945,7 +1945,7 @@ module Google
|
|
|
1945
1945
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1946
1946
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1947
1947
|
def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1948
|
-
command =
|
|
1948
|
+
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
|
1949
1949
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
|
|
1950
1950
|
command.request_object = orders_create_test_order_request_object
|
|
1951
1951
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
|
|
@@ -1984,7 +1984,7 @@ module Google
|
|
|
1984
1984
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1985
1985
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1986
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)
|
|
1987
|
-
command =
|
|
1987
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
|
1988
1988
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
|
|
1989
1989
|
command.request_object = orders_create_test_return_request_object
|
|
1990
1990
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
|
|
@@ -2023,7 +2023,7 @@ module Google
|
|
|
2023
2023
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2024
2024
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2025
2025
|
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2026
|
-
command =
|
|
2026
|
+
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
|
2027
2027
|
command.response_representation = Google::Apis::ContentV2_1::Order::Representation
|
|
2028
2028
|
command.response_class = Google::Apis::ContentV2_1::Order
|
|
2029
2029
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2060,7 +2060,7 @@ module Google
|
|
|
2060
2060
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2061
2061
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2062
2062
|
def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2063
|
-
command =
|
|
2063
|
+
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
|
2064
2064
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
|
|
2065
2065
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
|
|
2066
2066
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2100,7 +2100,7 @@ module Google
|
|
|
2100
2100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2101
2101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2102
2102
|
def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2103
|
-
command =
|
|
2103
|
+
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
|
2104
2104
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
|
|
2105
2105
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
|
|
2106
2106
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2146,7 +2146,7 @@ module Google
|
|
|
2146
2146
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2147
2147
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2148
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)
|
|
2149
|
-
command =
|
|
2149
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
|
2150
2150
|
command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
|
|
2151
2151
|
command.request_object = orders_in_store_refund_line_item_request_object
|
|
2152
2152
|
command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
|
|
@@ -2173,15 +2173,11 @@ module Google
|
|
|
2173
2173
|
# The maximum number of orders to return in the response, used for paging. The
|
|
2174
2174
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
|
2175
2175
|
# orders per page.
|
|
2176
|
-
# Known issue: All List calls will return all Orders without limit regardless of
|
|
2177
|
-
# the value of this field.
|
|
2178
2176
|
# @param [String] order_by
|
|
2179
|
-
#
|
|
2180
|
-
#
|
|
2181
|
-
#
|
|
2182
|
-
#
|
|
2183
|
-
# from most recent to oldest. In future releases we'll support other sorting
|
|
2184
|
-
# criteria.
|
|
2177
|
+
# Order results by placement date in descending or ascending order.
|
|
2178
|
+
# Acceptable values are:
|
|
2179
|
+
# - placedDateAsc
|
|
2180
|
+
# - placedDateDesc
|
|
2185
2181
|
# @param [String] page_token
|
|
2186
2182
|
# The token returned by the previous request.
|
|
2187
2183
|
# @param [String] placed_date_end
|
|
@@ -2192,7 +2188,7 @@ module Google
|
|
|
2192
2188
|
# Obtains orders that match any of the specified statuses. Multiple values can
|
|
2193
2189
|
# be specified with comma separation. Additionally, please note that active is a
|
|
2194
2190
|
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut
|
|
2195
|
-
# for shipped
|
|
2191
|
+
# for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and
|
|
2196
2192
|
# canceled.
|
|
2197
2193
|
# @param [String] fields
|
|
2198
2194
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2214,7 +2210,7 @@ module Google
|
|
|
2214
2210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2215
2211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2216
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)
|
|
2217
|
-
command =
|
|
2213
|
+
command = make_simple_command(:get, '{merchantId}/orders', options)
|
|
2218
2214
|
command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
|
|
2219
2215
|
command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
|
|
2220
2216
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2258,7 +2254,7 @@ module Google
|
|
|
2258
2254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2259
2255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2260
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)
|
|
2261
|
-
command =
|
|
2257
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
|
2262
2258
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
|
|
2263
2259
|
command.request_object = orders_reject_return_line_item_request_object
|
|
2264
2260
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
|
|
@@ -2299,7 +2295,7 @@ module Google
|
|
|
2299
2295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2300
2296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2301
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)
|
|
2302
|
-
command =
|
|
2298
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
|
2303
2299
|
command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
|
|
2304
2300
|
command.request_object = orders_return_refund_line_item_request_object
|
|
2305
2301
|
command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
|
|
@@ -2343,7 +2339,7 @@ module Google
|
|
|
2343
2339
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2344
2340
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2345
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)
|
|
2346
|
-
command =
|
|
2342
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
|
2347
2343
|
command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
|
|
2348
2344
|
command.request_object = orders_set_line_item_metadata_request_object
|
|
2349
2345
|
command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
|
|
@@ -2383,7 +2379,7 @@ module Google
|
|
|
2383
2379
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2384
2380
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2385
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)
|
|
2386
|
-
command =
|
|
2382
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
|
2387
2383
|
command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
|
|
2388
2384
|
command.request_object = orders_ship_line_items_request_object
|
|
2389
2385
|
command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
|
|
@@ -2423,7 +2419,7 @@ module Google
|
|
|
2423
2419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2424
2420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2425
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)
|
|
2426
|
-
command =
|
|
2422
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
|
2427
2423
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
|
2428
2424
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
|
2429
2425
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
|
@@ -2463,7 +2459,7 @@ module Google
|
|
|
2463
2459
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2464
2460
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2465
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)
|
|
2466
|
-
command =
|
|
2462
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
|
2467
2463
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
|
|
2468
2464
|
command.request_object = orders_update_merchant_order_id_request_object
|
|
2469
2465
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
|
|
@@ -2503,7 +2499,7 @@ module Google
|
|
|
2503
2499
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2504
2500
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2505
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)
|
|
2506
|
-
command =
|
|
2502
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
|
2507
2503
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
|
|
2508
2504
|
command.request_object = orders_update_shipment_request_object
|
|
2509
2505
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
|
|
@@ -2538,7 +2534,7 @@ module Google
|
|
|
2538
2534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2539
2535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2540
2536
|
def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2541
|
-
command =
|
|
2537
|
+
command = make_simple_command(:post, 'pos/batch', options)
|
|
2542
2538
|
command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
|
|
2543
2539
|
command.request_object = pos_custom_batch_request_object
|
|
2544
2540
|
command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
|
|
@@ -2576,7 +2572,7 @@ module Google
|
|
|
2576
2572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2577
2573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2578
2574
|
def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2579
|
-
command =
|
|
2575
|
+
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
2580
2576
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2581
2577
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2582
2578
|
command.params['storeCode'] = store_code unless store_code.nil?
|
|
@@ -2613,7 +2609,7 @@ module Google
|
|
|
2613
2609
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2614
2610
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2615
2611
|
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2616
|
-
command =
|
|
2612
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
2617
2613
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
2618
2614
|
command.response_class = Google::Apis::ContentV2_1::PosStore
|
|
2619
2615
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2651,7 +2647,7 @@ module Google
|
|
|
2651
2647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2652
2648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2653
2649
|
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2654
|
-
command =
|
|
2650
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
2655
2651
|
command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
2656
2652
|
command.request_object = pos_store_object
|
|
2657
2653
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
@@ -2690,7 +2686,7 @@ module Google
|
|
|
2690
2686
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2691
2687
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2692
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)
|
|
2693
|
-
command =
|
|
2689
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
|
2694
2690
|
command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
|
|
2695
2691
|
command.request_object = pos_inventory_request_object
|
|
2696
2692
|
command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
|
|
@@ -2728,7 +2724,7 @@ module Google
|
|
|
2728
2724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2729
2725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2730
2726
|
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2731
|
-
command =
|
|
2727
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
2732
2728
|
command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
|
|
2733
2729
|
command.response_class = Google::Apis::ContentV2_1::PosListResponse
|
|
2734
2730
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2765,7 +2761,7 @@ module Google
|
|
|
2765
2761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2766
2762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2767
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)
|
|
2768
|
-
command =
|
|
2764
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
|
2769
2765
|
command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
|
|
2770
2766
|
command.request_object = pos_sale_request_object
|
|
2771
2767
|
command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
|
|
@@ -2800,7 +2796,7 @@ module Google
|
|
|
2800
2796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2801
2797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2802
2798
|
def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2803
|
-
command =
|
|
2799
|
+
command = make_simple_command(:post, 'products/batch', options)
|
|
2804
2800
|
command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
|
|
2805
2801
|
command.request_object = products_custom_batch_request_object
|
|
2806
2802
|
command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
|
|
@@ -2837,7 +2833,7 @@ module Google
|
|
|
2837
2833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2838
2834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2839
2835
|
def delete_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2840
|
-
command =
|
|
2836
|
+
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
|
2841
2837
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2842
2838
|
command.params['productId'] = product_id unless product_id.nil?
|
|
2843
2839
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -2872,7 +2868,7 @@ module Google
|
|
|
2872
2868
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2873
2869
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2874
2870
|
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2875
|
-
command =
|
|
2871
|
+
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
|
2876
2872
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
2877
2873
|
command.response_class = Google::Apis::ContentV2_1::Product
|
|
2878
2874
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2910,7 +2906,7 @@ module Google
|
|
|
2910
2906
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2911
2907
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2912
2908
|
def insert_product(merchant_id, product_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2913
|
-
command =
|
|
2909
|
+
command = make_simple_command(:post, '{merchantId}/products', options)
|
|
2914
2910
|
command.request_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
2915
2911
|
command.request_object = product_object
|
|
2916
2912
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
@@ -2950,7 +2946,7 @@ module Google
|
|
|
2950
2946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2951
2947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2952
2948
|
def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2953
|
-
command =
|
|
2949
|
+
command = make_simple_command(:get, '{merchantId}/products', options)
|
|
2954
2950
|
command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
|
|
2955
2951
|
command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
|
|
2956
2952
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2984,7 +2980,7 @@ module Google
|
|
|
2984
2980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2985
2981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2986
2982
|
def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2987
|
-
command =
|
|
2983
|
+
command = make_simple_command(:post, 'productstatuses/batch', options)
|
|
2988
2984
|
command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
|
|
2989
2985
|
command.request_object = productstatuses_custom_batch_request_object
|
|
2990
2986
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
|
|
@@ -3024,7 +3020,7 @@ module Google
|
|
|
3024
3020
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3025
3021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3026
3022
|
def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3027
|
-
command =
|
|
3023
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
|
3028
3024
|
command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
|
|
3029
3025
|
command.response_class = Google::Apis::ContentV2_1::ProductStatus
|
|
3030
3026
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3068,7 +3064,7 @@ module Google
|
|
|
3068
3064
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3069
3065
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3070
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)
|
|
3071
|
-
command =
|
|
3067
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
|
3072
3068
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
|
|
3073
3069
|
command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
|
|
3074
3070
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3104,7 +3100,7 @@ module Google
|
|
|
3104
3100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3105
3101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3106
3102
|
def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3107
|
-
command =
|
|
3103
|
+
command = make_simple_command(:post, 'regionalinventory/batch', options)
|
|
3108
3104
|
command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
|
|
3109
3105
|
command.request_object = regionalinventory_custom_batch_request_object
|
|
3110
3106
|
command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
|
|
@@ -3144,7 +3140,7 @@ module Google
|
|
|
3144
3140
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3145
3141
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3146
3142
|
def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3147
|
-
command =
|
|
3143
|
+
command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
|
|
3148
3144
|
command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
3149
3145
|
command.request_object = regional_inventory_object
|
|
3150
3146
|
command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
@@ -3180,7 +3176,7 @@ module Google
|
|
|
3180
3176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3181
3177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3182
3178
|
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3183
|
-
command =
|
|
3179
|
+
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
|
3184
3180
|
command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
|
|
3185
3181
|
command.request_object = shippingsettings_custom_batch_request_object
|
|
3186
3182
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
|
|
@@ -3218,7 +3214,7 @@ module Google
|
|
|
3218
3214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3219
3215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3220
3216
|
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3221
|
-
command =
|
|
3217
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
|
3222
3218
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
3223
3219
|
command.response_class = Google::Apis::ContentV2_1::ShippingSettings
|
|
3224
3220
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3252,7 +3248,7 @@ module Google
|
|
|
3252
3248
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3253
3249
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3254
3250
|
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3255
|
-
command =
|
|
3251
|
+
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
|
3256
3252
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
|
|
3257
3253
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
|
|
3258
3254
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3285,7 +3281,7 @@ module Google
|
|
|
3285
3281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3286
3282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3287
3283
|
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3288
|
-
command =
|
|
3284
|
+
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
|
3289
3285
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
|
3290
3286
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
|
|
3291
3287
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3324,7 +3320,7 @@ module Google
|
|
|
3324
3320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3325
3321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3326
3322
|
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3327
|
-
command =
|
|
3323
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
|
3328
3324
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
|
|
3329
3325
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
|
|
3330
3326
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3364,7 +3360,7 @@ module Google
|
|
|
3364
3360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3365
3361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3366
3362
|
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3367
|
-
command =
|
|
3363
|
+
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
|
3368
3364
|
command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
3369
3365
|
command.request_object = shipping_settings_object
|
|
3370
3366
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|