google-api-client 0.29.0 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/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 get_account_authinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
76
|
-
command =
|
76
|
+
command = make_simple_command(:get, 'accounts/authinfo', options)
|
77
77
|
command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
|
78
78
|
command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse
|
79
79
|
command.query['fields'] = fields unless fields.nil?
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
115
|
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
116
|
-
command =
|
116
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
|
117
117
|
command.response_representation = Google::Apis::ContentV2::AccountsClaimWebsiteResponse::Representation
|
118
118
|
command.response_class = Google::Apis::ContentV2::AccountsClaimWebsiteResponse
|
119
119
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -151,7 +151,7 @@ module Google
|
|
151
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
152
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
153
153
|
def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
154
|
-
command =
|
154
|
+
command = make_simple_command(:post, 'accounts/batch', options)
|
155
155
|
command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
|
156
156
|
command.request_object = batch_accounts_request_object
|
157
157
|
command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
|
@@ -194,7 +194,7 @@ module Google
|
|
194
194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
195
195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
196
196
|
def delete_account(merchant_id, account_id, dry_run: nil, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
197
|
-
command =
|
197
|
+
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
|
198
198
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
199
199
|
command.params['accountId'] = account_id unless account_id.nil?
|
200
200
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
@@ -232,7 +232,7 @@ module Google
|
|
232
232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
233
233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
234
234
|
def get_account(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
235
|
-
command =
|
235
|
+
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
|
236
236
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
237
237
|
command.response_class = Google::Apis::ContentV2::Account
|
238
238
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -270,7 +270,7 @@ module Google
|
|
270
270
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
271
271
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
272
272
|
def insert_account(merchant_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
273
|
-
command =
|
273
|
+
command = make_simple_command(:post, '{merchantId}/accounts', options)
|
274
274
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
275
275
|
command.request_object = account_object
|
276
276
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -312,7 +312,7 @@ module Google
|
|
312
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
313
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
314
314
|
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
315
|
-
command =
|
315
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
316
316
|
command.request_representation = Google::Apis::ContentV2::AccountsLinkRequest::Representation
|
317
317
|
command.request_object = accounts_link_request_object
|
318
318
|
command.response_representation = Google::Apis::ContentV2::AccountsLinkResponse::Representation
|
@@ -352,7 +352,7 @@ module Google
|
|
352
352
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
353
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
354
|
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
355
|
-
command =
|
355
|
+
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
356
356
|
command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
|
357
357
|
command.response_class = Google::Apis::ContentV2::ListAccountsResponse
|
358
358
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -395,7 +395,7 @@ module Google
|
|
395
395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
396
396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
397
397
|
def patch_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
398
|
-
command =
|
398
|
+
command = make_simple_command(:patch, '{merchantId}/accounts/{accountId}', options)
|
399
399
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
400
400
|
command.request_object = account_object
|
401
401
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
441
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
442
|
def update_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
443
|
-
command =
|
443
|
+
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
|
444
444
|
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
445
445
|
command.request_object = account_object
|
446
446
|
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
@@ -476,7 +476,7 @@ module Google
|
|
476
476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
477
477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
478
478
|
def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
479
|
-
command =
|
479
|
+
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
480
480
|
command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
|
481
481
|
command.request_object = batch_account_statuses_request_object
|
482
482
|
command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
|
@@ -518,7 +518,7 @@ module Google
|
|
518
518
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
519
519
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
520
520
|
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
521
|
-
command =
|
521
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
522
522
|
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
|
523
523
|
command.response_class = Google::Apis::ContentV2::AccountStatus
|
524
524
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -561,7 +561,7 @@ module Google
|
|
561
561
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
562
562
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
563
563
|
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
564
|
-
command =
|
564
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
565
565
|
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
|
566
566
|
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
|
567
567
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -599,7 +599,7 @@ module Google
|
|
599
599
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
600
600
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
601
601
|
def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
602
|
-
command =
|
602
|
+
command = make_simple_command(:post, 'accounttax/batch', options)
|
603
603
|
command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
|
604
604
|
command.request_object = batch_account_tax_request_object
|
605
605
|
command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
|
@@ -638,7 +638,7 @@ module Google
|
|
638
638
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
639
639
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
640
640
|
def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
641
|
-
command =
|
641
|
+
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
642
642
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
643
643
|
command.response_class = Google::Apis::ContentV2::AccountTax
|
644
644
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -676,7 +676,7 @@ module Google
|
|
676
676
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
677
677
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
678
678
|
def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
679
|
-
command =
|
679
|
+
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
680
680
|
command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
|
681
681
|
command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
|
682
682
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -719,7 +719,7 @@ module Google
|
|
719
719
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
720
720
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
721
721
|
def patch_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
722
|
-
command =
|
722
|
+
command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
|
723
723
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
724
724
|
command.request_object = account_tax_object
|
725
725
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
@@ -764,7 +764,7 @@ module Google
|
|
764
764
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
765
765
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
766
766
|
def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
767
|
-
command =
|
767
|
+
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
768
768
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
769
769
|
command.request_object = account_tax_object
|
770
770
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
@@ -804,7 +804,7 @@ module Google
|
|
804
804
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
805
805
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
806
806
|
def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
807
|
-
command =
|
807
|
+
command = make_simple_command(:post, 'datafeeds/batch', options)
|
808
808
|
command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
|
809
809
|
command.request_object = batch_datafeeds_request_object
|
810
810
|
command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
|
@@ -845,7 +845,7 @@ module Google
|
|
845
845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
846
846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
847
847
|
def delete_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
848
|
-
command =
|
848
|
+
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
849
849
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
850
850
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
851
851
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
@@ -884,7 +884,7 @@ module Google
|
|
884
884
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
885
885
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
886
886
|
def fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
887
|
-
command =
|
887
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
888
888
|
command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
|
889
889
|
command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
|
890
890
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -922,7 +922,7 @@ module Google
|
|
922
922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
923
923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
924
924
|
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
925
|
-
command =
|
925
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
926
926
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
927
927
|
command.response_class = Google::Apis::ContentV2::Datafeed
|
928
928
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -961,7 +961,7 @@ module Google
|
|
961
961
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
962
962
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
963
963
|
def insert_datafeed(merchant_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
964
|
-
command =
|
964
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
965
965
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
966
966
|
command.request_object = datafeed_object
|
967
967
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -1002,7 +1002,7 @@ module Google
|
|
1002
1002
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1003
1003
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1004
1004
|
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1005
|
-
command =
|
1005
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
1006
1006
|
command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
|
1007
1007
|
command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
|
1008
1008
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1045,7 +1045,7 @@ module Google
|
|
1045
1045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1046
1046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1047
1047
|
def patch_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1048
|
-
command =
|
1048
|
+
command = make_simple_command(:patch, '{merchantId}/datafeeds/{datafeedId}', options)
|
1049
1049
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
1050
1050
|
command.request_object = datafeed_object
|
1051
1051
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -1089,7 +1089,7 @@ module Google
|
|
1089
1089
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1090
1090
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1091
1091
|
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1092
|
-
command =
|
1092
|
+
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
1093
1093
|
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
1094
1094
|
command.request_object = datafeed_object
|
1095
1095
|
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
@@ -1125,7 +1125,7 @@ module Google
|
|
1125
1125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1126
1126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1127
1127
|
def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1128
|
-
command =
|
1128
|
+
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
1129
1129
|
command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
|
1130
1130
|
command.request_object = batch_datafeed_statuses_request_object
|
1131
1131
|
command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
|
@@ -1172,7 +1172,7 @@ module Google
|
|
1172
1172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1173
1173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1174
1174
|
def get_datafeed_status(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1175
|
-
command =
|
1175
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
1176
1176
|
command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
|
1177
1177
|
command.response_class = Google::Apis::ContentV2::DatafeedStatus
|
1178
1178
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1213,7 +1213,7 @@ module Google
|
|
1213
1213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1214
1214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1215
1215
|
def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1216
|
-
command =
|
1216
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
1217
1217
|
command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
|
1218
1218
|
command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
|
1219
1219
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1251,7 +1251,7 @@ module Google
|
|
1251
1251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1252
1252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1253
1253
|
def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1254
|
-
command =
|
1254
|
+
command = make_simple_command(:post, 'inventory/batch', options)
|
1255
1255
|
command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
|
1256
1256
|
command.request_object = batch_inventory_request_object
|
1257
1257
|
command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
|
@@ -1296,7 +1296,7 @@ module Google
|
|
1296
1296
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1297
1297
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1298
1298
|
def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1299
|
-
command =
|
1299
|
+
command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
|
1300
1300
|
command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
|
1301
1301
|
command.request_object = set_inventory_request_object
|
1302
1302
|
command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
|
@@ -1337,7 +1337,7 @@ module Google
|
|
1337
1337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1338
1338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1339
1339
|
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1340
|
-
command =
|
1340
|
+
command = make_simple_command(:post, 'liasettings/batch', options)
|
1341
1341
|
command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
|
1342
1342
|
command.request_object = liasettings_custom_batch_request_object
|
1343
1343
|
command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
|
@@ -1376,7 +1376,7 @@ module Google
|
|
1376
1376
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1377
1377
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1378
1378
|
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1379
|
-
command =
|
1379
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
1380
1380
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1381
1381
|
command.response_class = Google::Apis::ContentV2::LiaSettings
|
1382
1382
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1415,7 +1415,7 @@ module Google
|
|
1415
1415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1416
1416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1417
1417
|
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1418
|
-
command =
|
1418
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
1419
1419
|
command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
1420
1420
|
command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
|
1421
1421
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1453,7 +1453,7 @@ module Google
|
|
1453
1453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1454
1454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1455
1455
|
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1456
|
-
command =
|
1456
|
+
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
1457
1457
|
command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
|
1458
1458
|
command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
|
1459
1459
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1487,7 +1487,7 @@ module Google
|
|
1487
1487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1488
1488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1489
1489
|
def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1490
|
-
command =
|
1490
|
+
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
1491
1491
|
command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation
|
1492
1492
|
command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse
|
1493
1493
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1527,7 +1527,7 @@ module Google
|
|
1527
1527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1528
1528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1529
1529
|
def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1530
|
-
command =
|
1530
|
+
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
|
1531
1531
|
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1532
1532
|
command.request_object = lia_settings_object
|
1533
1533
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
@@ -1570,7 +1570,7 @@ module Google
|
|
1570
1570
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1571
1571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1572
1572
|
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1573
|
-
command =
|
1573
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
1574
1574
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
1575
1575
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
1576
1576
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1612,7 +1612,7 @@ module Google
|
|
1612
1612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1613
1613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1614
1614
|
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1615
|
-
command =
|
1615
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
1616
1616
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
|
1617
1617
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
|
1618
1618
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1660,7 +1660,7 @@ module Google
|
|
1660
1660
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1661
1661
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1662
1662
|
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1663
|
-
command =
|
1663
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
1664
1664
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
1665
1665
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
1666
1666
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1709,7 +1709,7 @@ module Google
|
|
1709
1709
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1710
1710
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1711
1711
|
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1712
|
-
command =
|
1712
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
1713
1713
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
|
1714
1714
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
|
1715
1715
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -1754,7 +1754,7 @@ module Google
|
|
1754
1754
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1755
1755
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1756
1756
|
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1757
|
-
command =
|
1757
|
+
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
1758
1758
|
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1759
1759
|
command.request_object = lia_settings_object
|
1760
1760
|
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
@@ -1796,7 +1796,7 @@ module Google
|
|
1796
1796
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1797
1797
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1798
1798
|
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1799
|
-
command =
|
1799
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
1800
1800
|
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
1801
1801
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
1802
1802
|
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
@@ -1839,7 +1839,7 @@ module Google
|
|
1839
1839
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1840
1840
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1841
1841
|
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1842
|
-
command =
|
1842
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
1843
1843
|
command.request_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
1844
1844
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
1845
1845
|
command.response_representation = Google::Apis::ContentV2::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
@@ -1879,7 +1879,7 @@ module Google
|
|
1879
1879
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1880
1880
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1881
1881
|
def notifyauthapproved_orderpayment(merchant_id, order_id, orderpayments_notify_auth_approved_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1882
|
-
command =
|
1882
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthApproved', options)
|
1883
1883
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedRequest::Representation
|
1884
1884
|
command.request_object = orderpayments_notify_auth_approved_request_object
|
1885
1885
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthApprovedResponse::Representation
|
@@ -1919,7 +1919,7 @@ module Google
|
|
1919
1919
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1920
1920
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1921
1921
|
def notifyauthdeclined_orderpayment(merchant_id, order_id, orderpayments_notify_auth_declined_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1922
|
-
command =
|
1922
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyAuthDeclined', options)
|
1923
1923
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedRequest::Representation
|
1924
1924
|
command.request_object = orderpayments_notify_auth_declined_request_object
|
1925
1925
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyAuthDeclinedResponse::Representation
|
@@ -1959,7 +1959,7 @@ module Google
|
|
1959
1959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1960
1960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1961
1961
|
def notifycharge_orderpayment(merchant_id, order_id, orderpayments_notify_charge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1962
|
-
command =
|
1962
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyCharge', options)
|
1963
1963
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeRequest::Representation
|
1964
1964
|
command.request_object = orderpayments_notify_charge_request_object
|
1965
1965
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyChargeResponse::Representation
|
@@ -1999,7 +1999,7 @@ module Google
|
|
1999
1999
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2000
2000
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2001
2001
|
def notifyrefund_orderpayment(merchant_id, order_id, orderpayments_notify_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2002
|
-
command =
|
2002
|
+
command = make_simple_command(:post, '{merchantId}/orderpayments/{orderId}/notifyRefund', options)
|
2003
2003
|
command.request_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundRequest::Representation
|
2004
2004
|
command.request_object = orderpayments_notify_refund_request_object
|
2005
2005
|
command.response_representation = Google::Apis::ContentV2::OrderpaymentsNotifyRefundResponse::Representation
|
@@ -2045,7 +2045,7 @@ module Google
|
|
2045
2045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2046
2046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2047
2047
|
def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2048
|
-
command =
|
2048
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
2049
2049
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
|
2050
2050
|
command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
|
2051
2051
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2095,7 +2095,7 @@ module Google
|
|
2095
2095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2096
2096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2097
2097
|
def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2098
|
-
command =
|
2098
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
2099
2099
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
|
2100
2100
|
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
|
2101
2101
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2136,7 +2136,7 @@ module Google
|
|
2136
2136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2137
2137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2138
2138
|
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2139
|
-
command =
|
2139
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
2140
2140
|
command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
|
2141
2141
|
command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
|
2142
2142
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2185,7 +2185,7 @@ module Google
|
|
2185
2185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2186
2186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2187
2187
|
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2188
|
-
command =
|
2188
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
2189
2189
|
command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
|
2190
2190
|
command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
|
2191
2191
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2227,7 +2227,7 @@ module Google
|
|
2227
2227
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2228
2228
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2229
2229
|
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2230
|
-
command =
|
2230
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
2231
2231
|
command.request_representation = Google::Apis::ContentV2::OrdersAcknowledgeRequest::Representation
|
2232
2232
|
command.request_object = orders_acknowledge_request_object
|
2233
2233
|
command.response_representation = Google::Apis::ContentV2::OrdersAcknowledgeResponse::Representation
|
@@ -2267,7 +2267,7 @@ module Google
|
|
2267
2267
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2268
2268
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2269
2269
|
def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2270
|
-
command =
|
2270
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
2271
2271
|
command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
|
2272
2272
|
command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
|
2273
2273
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2305,7 +2305,7 @@ module Google
|
|
2305
2305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2306
2306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2307
2307
|
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2308
|
-
command =
|
2308
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
2309
2309
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelRequest::Representation
|
2310
2310
|
command.request_object = orders_cancel_request_object
|
2311
2311
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelResponse::Representation
|
@@ -2345,7 +2345,7 @@ module Google
|
|
2345
2345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2346
2346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2347
2347
|
def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2348
|
-
command =
|
2348
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
2349
2349
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
|
2350
2350
|
command.request_object = orders_cancel_line_item_request_object
|
2351
2351
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelLineItemResponse::Representation
|
@@ -2385,7 +2385,7 @@ module Google
|
|
2385
2385
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2386
2386
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2387
2387
|
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2388
|
-
command =
|
2388
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
2389
2389
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerRequest::Representation
|
2390
2390
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
2391
2391
|
command.response_representation = Google::Apis::ContentV2::OrdersCancelTestOrderByCustomerResponse::Representation
|
@@ -2423,7 +2423,7 @@ module Google
|
|
2423
2423
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2424
2424
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2425
2425
|
def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2426
|
-
command =
|
2426
|
+
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
2427
2427
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
|
2428
2428
|
command.request_object = orders_create_test_order_request_object
|
2429
2429
|
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestOrderResponse::Representation
|
@@ -2462,7 +2462,7 @@ module Google
|
|
2462
2462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2463
2463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2464
2464
|
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2465
|
-
command =
|
2465
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
2466
2466
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestReturnRequest::Representation
|
2467
2467
|
command.request_object = orders_create_test_return_request_object
|
2468
2468
|
command.response_representation = Google::Apis::ContentV2::OrdersCreateTestReturnResponse::Representation
|
@@ -2497,7 +2497,7 @@ module Google
|
|
2497
2497
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2498
2498
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2499
2499
|
def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2500
|
-
command =
|
2500
|
+
command = make_simple_command(:post, 'orders/batch', options)
|
2501
2501
|
command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
|
2502
2502
|
command.request_object = orders_custom_batch_request_object
|
2503
2503
|
command.response_representation = Google::Apis::ContentV2::OrdersCustomBatchResponse::Representation
|
@@ -2534,7 +2534,7 @@ module Google
|
|
2534
2534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2535
2535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2536
2536
|
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2537
|
-
command =
|
2537
|
+
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
2538
2538
|
command.response_representation = Google::Apis::ContentV2::Order::Representation
|
2539
2539
|
command.response_class = Google::Apis::ContentV2::Order
|
2540
2540
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2571,7 +2571,7 @@ module Google
|
|
2571
2571
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2572
2572
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2573
2573
|
def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2574
|
-
command =
|
2574
|
+
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
2575
2575
|
command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
|
2576
2576
|
command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
|
2577
2577
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2611,7 +2611,7 @@ module Google
|
|
2611
2611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2612
2612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2613
2613
|
def get_test_order_template(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2614
|
-
command =
|
2614
|
+
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
2615
2615
|
command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
|
2616
2616
|
command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
|
2617
2617
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2657,7 +2657,7 @@ module Google
|
|
2657
2657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2658
2658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2659
2659
|
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2660
|
-
command =
|
2660
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
2661
2661
|
command.request_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemRequest::Representation
|
2662
2662
|
command.request_object = orders_in_store_refund_line_item_request_object
|
2663
2663
|
command.response_representation = Google::Apis::ContentV2::OrdersInStoreRefundLineItemResponse::Representation
|
@@ -2684,15 +2684,11 @@ module Google
|
|
2684
2684
|
# The maximum number of orders to return in the response, used for paging. The
|
2685
2685
|
# default value is 25 orders per page, and the maximum allowed value is 250
|
2686
2686
|
# orders per page.
|
2687
|
-
# Known issue: All List calls will return all Orders without limit regardless of
|
2688
|
-
# the value of this field.
|
2689
2687
|
# @param [String] order_by
|
2690
|
-
#
|
2691
|
-
#
|
2692
|
-
#
|
2693
|
-
#
|
2694
|
-
# from most recent to oldest. In future releases we'll support other sorting
|
2695
|
-
# criteria.
|
2688
|
+
# Order results by placement date in descending or ascending order.
|
2689
|
+
# Acceptable values are:
|
2690
|
+
# - placedDateAsc
|
2691
|
+
# - placedDateDesc
|
2696
2692
|
# @param [String] page_token
|
2697
2693
|
# The token returned by the previous request.
|
2698
2694
|
# @param [String] placed_date_end
|
@@ -2703,7 +2699,7 @@ module Google
|
|
2703
2699
|
# Obtains orders that match any of the specified statuses. Multiple values can
|
2704
2700
|
# be specified with comma separation. Additionally, please note that active is a
|
2705
2701
|
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut
|
2706
|
-
# for shipped
|
2702
|
+
# for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and
|
2707
2703
|
# canceled.
|
2708
2704
|
# @param [String] fields
|
2709
2705
|
# Selector specifying which fields to include in a partial response.
|
@@ -2725,7 +2721,7 @@ module Google
|
|
2725
2721
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2726
2722
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2727
2723
|
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2728
|
-
command =
|
2724
|
+
command = make_simple_command(:get, '{merchantId}/orders', options)
|
2729
2725
|
command.response_representation = Google::Apis::ContentV2::OrdersListResponse::Representation
|
2730
2726
|
command.response_class = Google::Apis::ContentV2::OrdersListResponse
|
2731
2727
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -2769,7 +2765,7 @@ module Google
|
|
2769
2765
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2770
2766
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2771
2767
|
def refund_order(merchant_id, order_id, orders_refund_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2772
|
-
command =
|
2768
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refund', options)
|
2773
2769
|
command.request_representation = Google::Apis::ContentV2::OrdersRefundRequest::Representation
|
2774
2770
|
command.request_object = orders_refund_request_object
|
2775
2771
|
command.response_representation = Google::Apis::ContentV2::OrdersRefundResponse::Representation
|
@@ -2809,7 +2805,7 @@ module Google
|
|
2809
2805
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2810
2806
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2811
2807
|
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2812
|
-
command =
|
2808
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
2813
2809
|
command.request_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemRequest::Representation
|
2814
2810
|
command.request_object = orders_reject_return_line_item_request_object
|
2815
2811
|
command.response_representation = Google::Apis::ContentV2::OrdersRejectReturnLineItemResponse::Representation
|
@@ -2849,7 +2845,7 @@ module Google
|
|
2849
2845
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2850
2846
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2851
2847
|
def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2852
|
-
command =
|
2848
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
|
2853
2849
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
|
2854
2850
|
command.request_object = orders_return_line_item_request_object
|
2855
2851
|
command.response_representation = Google::Apis::ContentV2::OrdersReturnLineItemResponse::Representation
|
@@ -2890,7 +2886,7 @@ module Google
|
|
2890
2886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2891
2887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2892
2888
|
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2893
|
-
command =
|
2889
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
2894
2890
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemRequest::Representation
|
2895
2891
|
command.request_object = orders_return_refund_line_item_request_object
|
2896
2892
|
command.response_representation = Google::Apis::ContentV2::OrdersReturnRefundLineItemResponse::Representation
|
@@ -2934,7 +2930,7 @@ module Google
|
|
2934
2930
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2935
2931
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2936
2932
|
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2937
|
-
command =
|
2933
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
2938
2934
|
command.request_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataRequest::Representation
|
2939
2935
|
command.request_object = orders_set_line_item_metadata_request_object
|
2940
2936
|
command.response_representation = Google::Apis::ContentV2::OrdersSetLineItemMetadataResponse::Representation
|
@@ -2974,7 +2970,7 @@ module Google
|
|
2974
2970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2975
2971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2976
2972
|
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2977
|
-
command =
|
2973
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
2978
2974
|
command.request_representation = Google::Apis::ContentV2::OrdersShipLineItemsRequest::Representation
|
2979
2975
|
command.request_object = orders_ship_line_items_request_object
|
2980
2976
|
command.response_representation = Google::Apis::ContentV2::OrdersShipLineItemsResponse::Representation
|
@@ -3014,7 +3010,7 @@ module Google
|
|
3014
3010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3015
3011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3016
3012
|
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3017
|
-
command =
|
3013
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
3018
3014
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
3019
3015
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
3020
3016
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
@@ -3054,7 +3050,7 @@ module Google
|
|
3054
3050
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3055
3051
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3056
3052
|
def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3057
|
-
command =
|
3053
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
3058
3054
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
|
3059
3055
|
command.request_object = orders_update_merchant_order_id_request_object
|
3060
3056
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdResponse::Representation
|
@@ -3094,7 +3090,7 @@ module Google
|
|
3094
3090
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3095
3091
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3096
3092
|
def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3097
|
-
command =
|
3093
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
3098
3094
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
|
3099
3095
|
command.request_object = orders_update_shipment_request_object
|
3100
3096
|
command.response_representation = Google::Apis::ContentV2::OrdersUpdateShipmentResponse::Representation
|
@@ -3132,7 +3128,7 @@ module Google
|
|
3132
3128
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3133
3129
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3134
3130
|
def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3135
|
-
command =
|
3131
|
+
command = make_simple_command(:post, 'pos/batch', options)
|
3136
3132
|
command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
|
3137
3133
|
command.request_object = pos_custom_batch_request_object
|
3138
3134
|
command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
|
@@ -3174,7 +3170,7 @@ module Google
|
|
3174
3170
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3175
3171
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3176
3172
|
def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3177
|
-
command =
|
3173
|
+
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
3178
3174
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3179
3175
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
3180
3176
|
command.params['storeCode'] = store_code unless store_code.nil?
|
@@ -3212,7 +3208,7 @@ module Google
|
|
3212
3208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3213
3209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3214
3210
|
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3215
|
-
command =
|
3211
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
3216
3212
|
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
3217
3213
|
command.response_class = Google::Apis::ContentV2::PosStore
|
3218
3214
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3253,7 +3249,7 @@ module Google
|
|
3253
3249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3254
3250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3255
3251
|
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3256
|
-
command =
|
3252
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
3257
3253
|
command.request_representation = Google::Apis::ContentV2::PosStore::Representation
|
3258
3254
|
command.request_object = pos_store_object
|
3259
3255
|
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
@@ -3296,7 +3292,7 @@ module Google
|
|
3296
3292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3297
3293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3298
3294
|
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3299
|
-
command =
|
3295
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
3300
3296
|
command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
|
3301
3297
|
command.request_object = pos_inventory_request_object
|
3302
3298
|
command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
|
@@ -3335,7 +3331,7 @@ module Google
|
|
3335
3331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3336
3332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3337
3333
|
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3338
|
-
command =
|
3334
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
3339
3335
|
command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
|
3340
3336
|
command.response_class = Google::Apis::ContentV2::PosListResponse
|
3341
3337
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3375,7 +3371,7 @@ module Google
|
|
3375
3371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3376
3372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3377
3373
|
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3378
|
-
command =
|
3374
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
3379
3375
|
command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
|
3380
3376
|
command.request_object = pos_sale_request_object
|
3381
3377
|
command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
|
@@ -3414,7 +3410,7 @@ module Google
|
|
3414
3410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3415
3411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3416
3412
|
def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3417
|
-
command =
|
3413
|
+
command = make_simple_command(:post, 'products/batch', options)
|
3418
3414
|
command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
|
3419
3415
|
command.request_object = batch_products_request_object
|
3420
3416
|
command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
|
@@ -3455,7 +3451,7 @@ module Google
|
|
3455
3451
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3456
3452
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3457
3453
|
def delete_product(merchant_id, product_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3458
|
-
command =
|
3454
|
+
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
3459
3455
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3460
3456
|
command.params['productId'] = product_id unless product_id.nil?
|
3461
3457
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
@@ -3491,7 +3487,7 @@ module Google
|
|
3491
3487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3492
3488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3493
3489
|
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3494
|
-
command =
|
3490
|
+
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
3495
3491
|
command.response_representation = Google::Apis::ContentV2::Product::Representation
|
3496
3492
|
command.response_class = Google::Apis::ContentV2::Product
|
3497
3493
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3532,7 +3528,7 @@ module Google
|
|
3532
3528
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3533
3529
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3534
3530
|
def insert_product(merchant_id, product_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3535
|
-
command =
|
3531
|
+
command = make_simple_command(:post, '{merchantId}/products', options)
|
3536
3532
|
command.request_representation = Google::Apis::ContentV2::Product::Representation
|
3537
3533
|
command.request_object = product_object
|
3538
3534
|
command.response_representation = Google::Apis::ContentV2::Product::Representation
|
@@ -3576,7 +3572,7 @@ module Google
|
|
3576
3572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3577
3573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3578
3574
|
def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3579
|
-
command =
|
3575
|
+
command = make_simple_command(:get, '{merchantId}/products', options)
|
3580
3576
|
command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
|
3581
3577
|
command.response_class = Google::Apis::ContentV2::ListProductsResponse
|
3582
3578
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3614,7 +3610,7 @@ module Google
|
|
3614
3610
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3615
3611
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3616
3612
|
def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3617
|
-
command =
|
3613
|
+
command = make_simple_command(:post, 'productstatuses/batch', options)
|
3618
3614
|
command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
|
3619
3615
|
command.request_object = batch_product_statuses_request_object
|
3620
3616
|
command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
|
@@ -3658,7 +3654,7 @@ module Google
|
|
3658
3654
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3659
3655
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3660
3656
|
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3661
|
-
command =
|
3657
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
3662
3658
|
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
|
3663
3659
|
command.response_class = Google::Apis::ContentV2::ProductStatus
|
3664
3660
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3709,7 +3705,7 @@ module Google
|
|
3709
3705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3710
3706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3711
3707
|
def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3712
|
-
command =
|
3708
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
3713
3709
|
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
|
3714
3710
|
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
|
3715
3711
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3750,7 +3746,7 @@ module Google
|
|
3750
3746
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3751
3747
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3752
3748
|
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3753
|
-
command =
|
3749
|
+
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
3754
3750
|
command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
|
3755
3751
|
command.request_object = shippingsettings_custom_batch_request_object
|
3756
3752
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
|
@@ -3789,7 +3785,7 @@ module Google
|
|
3789
3785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3790
3786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3791
3787
|
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3792
|
-
command =
|
3788
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
3793
3789
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3794
3790
|
command.response_class = Google::Apis::ContentV2::ShippingSettings
|
3795
3791
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3823,7 +3819,7 @@ module Google
|
|
3823
3819
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3824
3820
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3825
3821
|
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3826
|
-
command =
|
3822
|
+
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
3827
3823
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
|
3828
3824
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
|
3829
3825
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3856,7 +3852,7 @@ module Google
|
|
3856
3852
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3857
3853
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3858
3854
|
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3859
|
-
command =
|
3855
|
+
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
3860
3856
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
3861
3857
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
|
3862
3858
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3895,7 +3891,7 @@ module Google
|
|
3895
3891
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3896
3892
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3897
3893
|
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3898
|
-
command =
|
3894
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
3899
3895
|
command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
|
3900
3896
|
command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
|
3901
3897
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
@@ -3939,7 +3935,7 @@ module Google
|
|
3939
3935
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3940
3936
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3941
3937
|
def patch_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3942
|
-
command =
|
3938
|
+
command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
|
3943
3939
|
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3944
3940
|
command.request_object = shipping_settings_object
|
3945
3941
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
@@ -3984,7 +3980,7 @@ module Google
|
|
3984
3980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3985
3981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3986
3982
|
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3987
|
-
command =
|
3983
|
+
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
3988
3984
|
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3989
3985
|
command.request_object = shipping_settings_object
|
3990
3986
|
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|