google-api-client 0.19.8 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +106 -0
- data/MIGRATING.md +3 -3
- data/README.md +6 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
- data/generated/google/apis/admin_directory_v1/service.rb +21 -7
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
- data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
- data/generated/google/apis/appengine_v1.rb +2 -2
- data/generated/google/apis/appengine_v1/classes.rb +82 -7
- data/generated/google/apis/appengine_v1/representations.rb +32 -0
- data/generated/google/apis/appengine_v1/service.rb +2 -2
- data/generated/google/apis/appengine_v1alpha.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +2 -2
- data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
- data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta4.rb +2 -2
- data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +2 -2
- data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +19 -11
- data/generated/google/apis/bigquery_v2/representations.rb +4 -3
- data/generated/google/apis/bigquery_v2/service.rb +9 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -1
- data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
- data/generated/google/apis/chat_v1/classes.rb +890 -0
- data/generated/google/apis/chat_v1/representations.rb +445 -0
- data/generated/google/apis/chat_v1/service.rb +344 -0
- data/generated/google/apis/cloudbilling_v1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
- data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
- data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudiot_v1.rb +2 -2
- data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
- data/generated/google/apis/cloudiot_v1/service.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
- data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +216 -120
- data/generated/google/apis/compute_alpha/representations.rb +25 -1
- data/generated/google/apis/compute_alpha/service.rb +1354 -1621
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +548 -85
- data/generated/google/apis/compute_beta/representations.rb +159 -0
- data/generated/google/apis/compute_beta/service.rb +1971 -1460
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +206 -70
- data/generated/google/apis/compute_v1/representations.rb +32 -0
- data/generated/google/apis/compute_v1/service.rb +1184 -1278
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +742 -9
- data/generated/google/apis/container_v1/representations.rb +90 -0
- data/generated/google/apis/container_v1/service.rb +1380 -100
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +191 -138
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +236 -231
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2690 -1540
- data/generated/google/apis/content_v2/representations.rb +491 -0
- data/generated/google/apis/content_v2/service.rb +684 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +56 -45
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +30 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +372 -0
- data/generated/google/apis/datastore_v1/representations.rb +132 -0
- data/generated/google/apis/datastore_v1/service.rb +77 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
- data/generated/google/apis/dialogflow_v2.rb +35 -0
- data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
- data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
- data/generated/google/apis/dlp_v2.rb +36 -0
- data/generated/google/apis/dlp_v2/classes.rb +6431 -0
- data/generated/google/apis/dlp_v2/representations.rb +3116 -0
- data/generated/google/apis/dlp_v2/service.rb +1300 -0
- data/generated/google/apis/dlp_v2beta1.rb +4 -4
- data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
- data/generated/google/apis/dlp_v2beta2.rb +4 -4
- data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
- data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +496 -0
- data/generated/google/apis/dns_v1/representations.rb +188 -0
- data/generated/google/apis/dns_v1/service.rb +319 -6
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
- data/generated/google/apis/dns_v1beta2/service.rb +2 -4
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
- data/generated/google/apis/dns_v2beta1/service.rb +2 -4
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +271 -1
- data/generated/google/apis/genomics_v1/representations.rb +140 -0
- data/generated/google/apis/genomics_v1/service.rb +9 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
- data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
- data/generated/google/apis/genomics_v2alpha1.rb +37 -0
- data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/language_v1.rb +2 -2
- data/generated/google/apis/language_v1/classes.rb +2 -1
- data/generated/google/apis/language_v1/service.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +2 -2
- data/generated/google/apis/language_v1beta1/service.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +2 -2
- data/generated/google/apis/language_v1beta2/classes.rb +2 -1
- data/generated/google/apis/language_v1beta2/service.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +14 -11
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +180 -5
- data/generated/google/apis/ml_v1/representations.rb +49 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +797 -2
- data/generated/google/apis/monitoring_v3/representations.rb +279 -0
- data/generated/google/apis/monitoring_v3/service.rb +612 -0
- data/generated/google/apis/oslogin_v1.rb +2 -2
- data/generated/google/apis/oslogin_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +32 -0
- data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
- data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
- data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
- data/generated/google/apis/people_v1.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +5 -2
- data/generated/google/apis/people_v1/service.rb +9 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +153 -0
- data/generated/google/apis/poly_v1/representations.rb +67 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -0
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
- data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
- data/generated/google/apis/serviceuser_v1.rb +2 -2
- data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
- data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
- data/generated/google/apis/serviceuser_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +643 -10
- data/generated/google/apis/sheets_v4/representations.rb +53 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +92 -9
- data/generated/google/apis/slides_v1/representations.rb +21 -0
- data/generated/google/apis/slides_v1/service.rb +3 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
- data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +238 -2
- data/generated/google/apis/spanner_v1/representations.rb +86 -0
- data/generated/google/apis/spanner_v1/service.rb +80 -0
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/classes.rb +14 -19
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +3 -6
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +107 -2
- data/generated/google/apis/testing_v1/representations.rb +38 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +29 -3
- data/generated/google/apis/vault_v1/representations.rb +15 -0
- data/generated/google/apis/vault_v1/service.rb +8 -2
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +290 -2
- data/generated/google/apis/vision_v1/representations.rb +128 -0
- data/generated/google/apis/vision_v1/service.rb +187 -1
- data/generated/google/apis/vision_v1p1beta1.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
- data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +39 -0
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/version.rb +3 -3
- data/samples/web/Gemfile +3 -0
- metadata +38 -26
- data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
- data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
|
@@ -1263,6 +1263,399 @@ module Google
|
|
|
1263
1263
|
execute_or_queue_command(command, &block)
|
|
1264
1264
|
end
|
|
1265
1265
|
|
|
1266
|
+
# Retrieves and/or updates the LIA settings of multiple accounts in a single
|
|
1267
|
+
# request.
|
|
1268
|
+
# @param [Google::Apis::ContentV2::LiasettingsCustomBatchRequest] liasettings_custom_batch_request_object
|
|
1269
|
+
# @param [Boolean] dry_run
|
|
1270
|
+
# Flag to run the request in dry-run mode.
|
|
1271
|
+
# @param [String] fields
|
|
1272
|
+
# Selector specifying which fields to include in a partial response.
|
|
1273
|
+
# @param [String] quota_user
|
|
1274
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1275
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1276
|
+
# Overrides userIp if both are provided.
|
|
1277
|
+
# @param [String] user_ip
|
|
1278
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1279
|
+
# enforce per-user limits.
|
|
1280
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1281
|
+
# Request-specific options
|
|
1282
|
+
#
|
|
1283
|
+
# @yield [result, err] Result & error if block supplied
|
|
1284
|
+
# @yieldparam result [Google::Apis::ContentV2::LiasettingsCustomBatchResponse] parsed result object
|
|
1285
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1286
|
+
#
|
|
1287
|
+
# @return [Google::Apis::ContentV2::LiasettingsCustomBatchResponse]
|
|
1288
|
+
#
|
|
1289
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1290
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1291
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1292
|
+
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1293
|
+
command = make_simple_command(:post, 'liasettings/batch', options)
|
|
1294
|
+
command.request_representation = Google::Apis::ContentV2::LiasettingsCustomBatchRequest::Representation
|
|
1295
|
+
command.request_object = liasettings_custom_batch_request_object
|
|
1296
|
+
command.response_representation = Google::Apis::ContentV2::LiasettingsCustomBatchResponse::Representation
|
|
1297
|
+
command.response_class = Google::Apis::ContentV2::LiasettingsCustomBatchResponse
|
|
1298
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
1299
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1300
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1301
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1302
|
+
execute_or_queue_command(command, &block)
|
|
1303
|
+
end
|
|
1304
|
+
|
|
1305
|
+
# Retrieves the LIA settings of the account.
|
|
1306
|
+
# @param [Fixnum] merchant_id
|
|
1307
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1308
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1309
|
+
# of a sub-account of this account.
|
|
1310
|
+
# @param [Fixnum] account_id
|
|
1311
|
+
# The ID of the account for which to get or update LIA settings.
|
|
1312
|
+
# @param [String] fields
|
|
1313
|
+
# Selector specifying which fields to include in a partial response.
|
|
1314
|
+
# @param [String] quota_user
|
|
1315
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1316
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1317
|
+
# Overrides userIp if both are provided.
|
|
1318
|
+
# @param [String] user_ip
|
|
1319
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1320
|
+
# enforce per-user limits.
|
|
1321
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1322
|
+
# Request-specific options
|
|
1323
|
+
#
|
|
1324
|
+
# @yield [result, err] Result & error if block supplied
|
|
1325
|
+
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
|
1326
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1327
|
+
#
|
|
1328
|
+
# @return [Google::Apis::ContentV2::LiaSettings]
|
|
1329
|
+
#
|
|
1330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1333
|
+
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1334
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
|
1335
|
+
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
|
1336
|
+
command.response_class = Google::Apis::ContentV2::LiaSettings
|
|
1337
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1338
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1339
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1340
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1341
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1342
|
+
execute_or_queue_command(command, &block)
|
|
1343
|
+
end
|
|
1344
|
+
|
|
1345
|
+
# Retrieves the list of accessible Google My Business accounts.
|
|
1346
|
+
# @param [Fixnum] merchant_id
|
|
1347
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1348
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1349
|
+
# of a sub-account of this account.
|
|
1350
|
+
# @param [Fixnum] account_id
|
|
1351
|
+
# The ID of the account for which to retrieve accessible Google My Business
|
|
1352
|
+
# accounts.
|
|
1353
|
+
# @param [String] fields
|
|
1354
|
+
# Selector specifying which fields to include in a partial response.
|
|
1355
|
+
# @param [String] quota_user
|
|
1356
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1357
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1358
|
+
# Overrides userIp if both are provided.
|
|
1359
|
+
# @param [String] user_ip
|
|
1360
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1361
|
+
# enforce per-user limits.
|
|
1362
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1363
|
+
# Request-specific options
|
|
1364
|
+
#
|
|
1365
|
+
# @yield [result, err] Result & error if block supplied
|
|
1366
|
+
# @yieldparam result [Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse] parsed result object
|
|
1367
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1368
|
+
#
|
|
1369
|
+
# @return [Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse]
|
|
1370
|
+
#
|
|
1371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1374
|
+
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1375
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
|
1376
|
+
command.response_representation = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
|
1377
|
+
command.response_class = Google::Apis::ContentV2::LiasettingsGetAccessibleGmbAccountsResponse
|
|
1378
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1379
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1380
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1381
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1382
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1383
|
+
execute_or_queue_command(command, &block)
|
|
1384
|
+
end
|
|
1385
|
+
|
|
1386
|
+
# Lists the LIA settings of the sub-accounts in your Merchant Center account.
|
|
1387
|
+
# @param [Fixnum] merchant_id
|
|
1388
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
1389
|
+
# @param [Fixnum] max_results
|
|
1390
|
+
# The maximum number of LIA settings to return in the response, used for paging.
|
|
1391
|
+
# @param [String] page_token
|
|
1392
|
+
# The token returned by the previous request.
|
|
1393
|
+
# @param [String] fields
|
|
1394
|
+
# Selector specifying which fields to include in a partial response.
|
|
1395
|
+
# @param [String] quota_user
|
|
1396
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1397
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1398
|
+
# Overrides userIp if both are provided.
|
|
1399
|
+
# @param [String] user_ip
|
|
1400
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1401
|
+
# enforce per-user limits.
|
|
1402
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1403
|
+
# Request-specific options
|
|
1404
|
+
#
|
|
1405
|
+
# @yield [result, err] Result & error if block supplied
|
|
1406
|
+
# @yieldparam result [Google::Apis::ContentV2::LiasettingsListResponse] parsed result object
|
|
1407
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1408
|
+
#
|
|
1409
|
+
# @return [Google::Apis::ContentV2::LiasettingsListResponse]
|
|
1410
|
+
#
|
|
1411
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1412
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1413
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1414
|
+
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1415
|
+
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
|
1416
|
+
command.response_representation = Google::Apis::ContentV2::LiasettingsListResponse::Representation
|
|
1417
|
+
command.response_class = Google::Apis::ContentV2::LiasettingsListResponse
|
|
1418
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1419
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
1420
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1421
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1422
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1423
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1424
|
+
execute_or_queue_command(command, &block)
|
|
1425
|
+
end
|
|
1426
|
+
|
|
1427
|
+
# Updates the LIA settings of the account. This method supports patch semantics.
|
|
1428
|
+
# @param [Fixnum] merchant_id
|
|
1429
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1430
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1431
|
+
# of a sub-account of this account.
|
|
1432
|
+
# @param [Fixnum] account_id
|
|
1433
|
+
# The ID of the account for which to get or update LIA settings.
|
|
1434
|
+
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
|
1435
|
+
# @param [Boolean] dry_run
|
|
1436
|
+
# Flag to run the request in dry-run mode.
|
|
1437
|
+
# @param [String] fields
|
|
1438
|
+
# Selector specifying which fields to include in a partial response.
|
|
1439
|
+
# @param [String] quota_user
|
|
1440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1442
|
+
# Overrides userIp if both are provided.
|
|
1443
|
+
# @param [String] user_ip
|
|
1444
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1445
|
+
# enforce per-user limits.
|
|
1446
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1447
|
+
# Request-specific options
|
|
1448
|
+
#
|
|
1449
|
+
# @yield [result, err] Result & error if block supplied
|
|
1450
|
+
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
|
1451
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1452
|
+
#
|
|
1453
|
+
# @return [Google::Apis::ContentV2::LiaSettings]
|
|
1454
|
+
#
|
|
1455
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1456
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1457
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1458
|
+
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)
|
|
1459
|
+
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
|
|
1460
|
+
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
|
1461
|
+
command.request_object = lia_settings_object
|
|
1462
|
+
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
|
1463
|
+
command.response_class = Google::Apis::ContentV2::LiaSettings
|
|
1464
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1465
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1466
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
1467
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1469
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1470
|
+
execute_or_queue_command(command, &block)
|
|
1471
|
+
end
|
|
1472
|
+
|
|
1473
|
+
# Requests access to a specified Google My Business account.
|
|
1474
|
+
# @param [Fixnum] merchant_id
|
|
1475
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1476
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1477
|
+
# of a sub-account of this account.
|
|
1478
|
+
# @param [Fixnum] account_id
|
|
1479
|
+
# The ID of the account for which GMB access is requested.
|
|
1480
|
+
# @param [String] gmb_email
|
|
1481
|
+
# The email of the Google My Business account.
|
|
1482
|
+
# @param [String] fields
|
|
1483
|
+
# Selector specifying which fields to include in a partial response.
|
|
1484
|
+
# @param [String] quota_user
|
|
1485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1487
|
+
# Overrides userIp if both are provided.
|
|
1488
|
+
# @param [String] user_ip
|
|
1489
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1490
|
+
# enforce per-user limits.
|
|
1491
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1492
|
+
# Request-specific options
|
|
1493
|
+
#
|
|
1494
|
+
# @yield [result, err] Result & error if block supplied
|
|
1495
|
+
# @yieldparam result [Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse] parsed result object
|
|
1496
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1497
|
+
#
|
|
1498
|
+
# @return [Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse]
|
|
1499
|
+
#
|
|
1500
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1501
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1502
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1503
|
+
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1504
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
|
1505
|
+
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
|
1506
|
+
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
|
1507
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1508
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1509
|
+
command.query['gmbEmail'] = gmb_email unless gmb_email.nil?
|
|
1510
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1511
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1512
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1513
|
+
execute_or_queue_command(command, &block)
|
|
1514
|
+
end
|
|
1515
|
+
|
|
1516
|
+
# Requests inventory validation for the specified country.
|
|
1517
|
+
# @param [Fixnum] merchant_id
|
|
1518
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1519
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1520
|
+
# of a sub-account of this account.
|
|
1521
|
+
# @param [Fixnum] account_id
|
|
1522
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1523
|
+
# account.
|
|
1524
|
+
# @param [String] country
|
|
1525
|
+
# The country for which inventory validation is requested.
|
|
1526
|
+
# @param [String] fields
|
|
1527
|
+
# Selector specifying which fields to include in a partial response.
|
|
1528
|
+
# @param [String] quota_user
|
|
1529
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1530
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1531
|
+
# Overrides userIp if both are provided.
|
|
1532
|
+
# @param [String] user_ip
|
|
1533
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1534
|
+
# enforce per-user limits.
|
|
1535
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1536
|
+
# Request-specific options
|
|
1537
|
+
#
|
|
1538
|
+
# @yield [result, err] Result & error if block supplied
|
|
1539
|
+
# @yieldparam result [Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse] parsed result object
|
|
1540
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1541
|
+
#
|
|
1542
|
+
# @return [Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse]
|
|
1543
|
+
#
|
|
1544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1547
|
+
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1548
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
|
1549
|
+
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse::Representation
|
|
1550
|
+
command.response_class = Google::Apis::ContentV2::LiasettingsRequestInventoryVerificationResponse
|
|
1551
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1552
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1553
|
+
command.params['country'] = country unless country.nil?
|
|
1554
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1556
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1557
|
+
execute_or_queue_command(command, &block)
|
|
1558
|
+
end
|
|
1559
|
+
|
|
1560
|
+
# Sets the inventory verification contract for the specified country.
|
|
1561
|
+
# @param [Fixnum] merchant_id
|
|
1562
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1563
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1564
|
+
# of a sub-account of this account.
|
|
1565
|
+
# @param [Fixnum] account_id
|
|
1566
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1567
|
+
# account.
|
|
1568
|
+
# @param [String] contact_email
|
|
1569
|
+
# The email of the inventory verification contact.
|
|
1570
|
+
# @param [String] contact_name
|
|
1571
|
+
# The name of the inventory verification contact.
|
|
1572
|
+
# @param [String] country
|
|
1573
|
+
# The country for which inventory verification is requested.
|
|
1574
|
+
# @param [String] language
|
|
1575
|
+
# The language for which inventory verification is requested.
|
|
1576
|
+
# @param [String] fields
|
|
1577
|
+
# Selector specifying which fields to include in a partial response.
|
|
1578
|
+
# @param [String] quota_user
|
|
1579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1581
|
+
# Overrides userIp if both are provided.
|
|
1582
|
+
# @param [String] user_ip
|
|
1583
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1584
|
+
# enforce per-user limits.
|
|
1585
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1586
|
+
# Request-specific options
|
|
1587
|
+
#
|
|
1588
|
+
# @yield [result, err] Result & error if block supplied
|
|
1589
|
+
# @yieldparam result [Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse] parsed result object
|
|
1590
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1591
|
+
#
|
|
1592
|
+
# @return [Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse]
|
|
1593
|
+
#
|
|
1594
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1595
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1596
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1597
|
+
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email: nil, contact_name: nil, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1598
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
|
1599
|
+
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
|
1600
|
+
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
|
1601
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1602
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1603
|
+
command.query['contactEmail'] = contact_email unless contact_email.nil?
|
|
1604
|
+
command.query['contactName'] = contact_name unless contact_name.nil?
|
|
1605
|
+
command.query['country'] = country unless country.nil?
|
|
1606
|
+
command.query['language'] = language unless language.nil?
|
|
1607
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1608
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1609
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1610
|
+
execute_or_queue_command(command, &block)
|
|
1611
|
+
end
|
|
1612
|
+
|
|
1613
|
+
# Updates the LIA settings of the account.
|
|
1614
|
+
# @param [Fixnum] merchant_id
|
|
1615
|
+
# The ID of the managing account. If this parameter is not the same as accountId,
|
|
1616
|
+
# then this account must be a multi-client account and accountId must be the ID
|
|
1617
|
+
# of a sub-account of this account.
|
|
1618
|
+
# @param [Fixnum] account_id
|
|
1619
|
+
# The ID of the account for which to get or update LIA settings.
|
|
1620
|
+
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
|
1621
|
+
# @param [Boolean] dry_run
|
|
1622
|
+
# Flag to run the request in dry-run mode.
|
|
1623
|
+
# @param [String] fields
|
|
1624
|
+
# Selector specifying which fields to include in a partial response.
|
|
1625
|
+
# @param [String] quota_user
|
|
1626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1628
|
+
# Overrides userIp if both are provided.
|
|
1629
|
+
# @param [String] user_ip
|
|
1630
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1631
|
+
# enforce per-user limits.
|
|
1632
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1633
|
+
# Request-specific options
|
|
1634
|
+
#
|
|
1635
|
+
# @yield [result, err] Result & error if block supplied
|
|
1636
|
+
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
|
1637
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1638
|
+
#
|
|
1639
|
+
# @return [Google::Apis::ContentV2::LiaSettings]
|
|
1640
|
+
#
|
|
1641
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1642
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1643
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1644
|
+
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)
|
|
1645
|
+
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
|
1646
|
+
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
|
1647
|
+
command.request_object = lia_settings_object
|
|
1648
|
+
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
|
1649
|
+
command.response_class = Google::Apis::ContentV2::LiaSettings
|
|
1650
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1651
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
|
1652
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
1653
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1654
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1655
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1656
|
+
execute_or_queue_command(command, &block)
|
|
1657
|
+
end
|
|
1658
|
+
|
|
1266
1659
|
# Marks an order as acknowledged.
|
|
1267
1660
|
# @param [Fixnum] merchant_id
|
|
1268
1661
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
@@ -2116,6 +2509,297 @@ module Google
|
|
|
2116
2509
|
execute_or_queue_command(command, &block)
|
|
2117
2510
|
end
|
|
2118
2511
|
|
|
2512
|
+
# Batches multiple POS-related calls in a single request.
|
|
2513
|
+
# @param [Google::Apis::ContentV2::PosCustomBatchRequest] pos_custom_batch_request_object
|
|
2514
|
+
# @param [Boolean] dry_run
|
|
2515
|
+
# Flag to run the request in dry-run mode.
|
|
2516
|
+
# @param [String] fields
|
|
2517
|
+
# Selector specifying which fields to include in a partial response.
|
|
2518
|
+
# @param [String] quota_user
|
|
2519
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2520
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2521
|
+
# Overrides userIp if both are provided.
|
|
2522
|
+
# @param [String] user_ip
|
|
2523
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2524
|
+
# enforce per-user limits.
|
|
2525
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2526
|
+
# Request-specific options
|
|
2527
|
+
#
|
|
2528
|
+
# @yield [result, err] Result & error if block supplied
|
|
2529
|
+
# @yieldparam result [Google::Apis::ContentV2::PosCustomBatchResponse] parsed result object
|
|
2530
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2531
|
+
#
|
|
2532
|
+
# @return [Google::Apis::ContentV2::PosCustomBatchResponse]
|
|
2533
|
+
#
|
|
2534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2537
|
+
def custombatch_po(pos_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2538
|
+
command = make_simple_command(:post, 'pos/batch', options)
|
|
2539
|
+
command.request_representation = Google::Apis::ContentV2::PosCustomBatchRequest::Representation
|
|
2540
|
+
command.request_object = pos_custom_batch_request_object
|
|
2541
|
+
command.response_representation = Google::Apis::ContentV2::PosCustomBatchResponse::Representation
|
|
2542
|
+
command.response_class = Google::Apis::ContentV2::PosCustomBatchResponse
|
|
2543
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
2544
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2546
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2547
|
+
execute_or_queue_command(command, &block)
|
|
2548
|
+
end
|
|
2549
|
+
|
|
2550
|
+
# Deletes a store for the given merchant.
|
|
2551
|
+
# @param [Fixnum] merchant_id
|
|
2552
|
+
# The ID of the POS or inventory data provider.
|
|
2553
|
+
# @param [Fixnum] target_merchant_id
|
|
2554
|
+
# The ID of the target merchant.
|
|
2555
|
+
# @param [String] store_code
|
|
2556
|
+
# A store code that is unique per merchant.
|
|
2557
|
+
# @param [Boolean] dry_run
|
|
2558
|
+
# Flag to run the request in dry-run mode.
|
|
2559
|
+
# @param [String] fields
|
|
2560
|
+
# Selector specifying which fields to include in a partial response.
|
|
2561
|
+
# @param [String] quota_user
|
|
2562
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2563
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2564
|
+
# Overrides userIp if both are provided.
|
|
2565
|
+
# @param [String] user_ip
|
|
2566
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2567
|
+
# enforce per-user limits.
|
|
2568
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2569
|
+
# Request-specific options
|
|
2570
|
+
#
|
|
2571
|
+
# @yield [result, err] Result & error if block supplied
|
|
2572
|
+
# @yieldparam result [NilClass] No result returned for this method
|
|
2573
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2574
|
+
#
|
|
2575
|
+
# @return [void]
|
|
2576
|
+
#
|
|
2577
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2578
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2579
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2580
|
+
def delete_po(merchant_id, target_merchant_id, store_code, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2581
|
+
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
2582
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2583
|
+
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2584
|
+
command.params['storeCode'] = store_code unless store_code.nil?
|
|
2585
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
2586
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2587
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2588
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2589
|
+
execute_or_queue_command(command, &block)
|
|
2590
|
+
end
|
|
2591
|
+
|
|
2592
|
+
# Retrieves information about the given store.
|
|
2593
|
+
# @param [Fixnum] merchant_id
|
|
2594
|
+
# The ID of the POS or inventory data provider.
|
|
2595
|
+
# @param [Fixnum] target_merchant_id
|
|
2596
|
+
# The ID of the target merchant.
|
|
2597
|
+
# @param [String] store_code
|
|
2598
|
+
# A store code that is unique per merchant.
|
|
2599
|
+
# @param [String] fields
|
|
2600
|
+
# Selector specifying which fields to include in a partial response.
|
|
2601
|
+
# @param [String] quota_user
|
|
2602
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2603
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2604
|
+
# Overrides userIp if both are provided.
|
|
2605
|
+
# @param [String] user_ip
|
|
2606
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2607
|
+
# enforce per-user limits.
|
|
2608
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2609
|
+
# Request-specific options
|
|
2610
|
+
#
|
|
2611
|
+
# @yield [result, err] Result & error if block supplied
|
|
2612
|
+
# @yieldparam result [Google::Apis::ContentV2::PosStore] parsed result object
|
|
2613
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2614
|
+
#
|
|
2615
|
+
# @return [Google::Apis::ContentV2::PosStore]
|
|
2616
|
+
#
|
|
2617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2620
|
+
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2621
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
2622
|
+
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
|
2623
|
+
command.response_class = Google::Apis::ContentV2::PosStore
|
|
2624
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2625
|
+
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2626
|
+
command.params['storeCode'] = store_code unless store_code.nil?
|
|
2627
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2628
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2629
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2630
|
+
execute_or_queue_command(command, &block)
|
|
2631
|
+
end
|
|
2632
|
+
|
|
2633
|
+
# Creates a store for the given merchant.
|
|
2634
|
+
# @param [Fixnum] merchant_id
|
|
2635
|
+
# The ID of the POS or inventory data provider.
|
|
2636
|
+
# @param [Fixnum] target_merchant_id
|
|
2637
|
+
# The ID of the target merchant.
|
|
2638
|
+
# @param [Google::Apis::ContentV2::PosStore] pos_store_object
|
|
2639
|
+
# @param [Boolean] dry_run
|
|
2640
|
+
# Flag to run the request in dry-run mode.
|
|
2641
|
+
# @param [String] fields
|
|
2642
|
+
# Selector specifying which fields to include in a partial response.
|
|
2643
|
+
# @param [String] quota_user
|
|
2644
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2645
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2646
|
+
# Overrides userIp if both are provided.
|
|
2647
|
+
# @param [String] user_ip
|
|
2648
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2649
|
+
# enforce per-user limits.
|
|
2650
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2651
|
+
# Request-specific options
|
|
2652
|
+
#
|
|
2653
|
+
# @yield [result, err] Result & error if block supplied
|
|
2654
|
+
# @yieldparam result [Google::Apis::ContentV2::PosStore] parsed result object
|
|
2655
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2656
|
+
#
|
|
2657
|
+
# @return [Google::Apis::ContentV2::PosStore]
|
|
2658
|
+
#
|
|
2659
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2660
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2661
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2662
|
+
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)
|
|
2663
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
2664
|
+
command.request_representation = Google::Apis::ContentV2::PosStore::Representation
|
|
2665
|
+
command.request_object = pos_store_object
|
|
2666
|
+
command.response_representation = Google::Apis::ContentV2::PosStore::Representation
|
|
2667
|
+
command.response_class = Google::Apis::ContentV2::PosStore
|
|
2668
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2669
|
+
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2670
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
2671
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2672
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2673
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2674
|
+
execute_or_queue_command(command, &block)
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2677
|
+
# Submit inventory for the given merchant.
|
|
2678
|
+
# @param [Fixnum] merchant_id
|
|
2679
|
+
# The ID of the POS or inventory data provider.
|
|
2680
|
+
# @param [Fixnum] target_merchant_id
|
|
2681
|
+
# The ID of the target merchant.
|
|
2682
|
+
# @param [Google::Apis::ContentV2::PosInventoryRequest] pos_inventory_request_object
|
|
2683
|
+
# @param [Boolean] dry_run
|
|
2684
|
+
# Flag to run the request in dry-run mode.
|
|
2685
|
+
# @param [String] fields
|
|
2686
|
+
# Selector specifying which fields to include in a partial response.
|
|
2687
|
+
# @param [String] quota_user
|
|
2688
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2689
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2690
|
+
# Overrides userIp if both are provided.
|
|
2691
|
+
# @param [String] user_ip
|
|
2692
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2693
|
+
# enforce per-user limits.
|
|
2694
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2695
|
+
# Request-specific options
|
|
2696
|
+
#
|
|
2697
|
+
# @yield [result, err] Result & error if block supplied
|
|
2698
|
+
# @yieldparam result [Google::Apis::ContentV2::PosInventoryResponse] parsed result object
|
|
2699
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2700
|
+
#
|
|
2701
|
+
# @return [Google::Apis::ContentV2::PosInventoryResponse]
|
|
2702
|
+
#
|
|
2703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2706
|
+
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)
|
|
2707
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
|
2708
|
+
command.request_representation = Google::Apis::ContentV2::PosInventoryRequest::Representation
|
|
2709
|
+
command.request_object = pos_inventory_request_object
|
|
2710
|
+
command.response_representation = Google::Apis::ContentV2::PosInventoryResponse::Representation
|
|
2711
|
+
command.response_class = Google::Apis::ContentV2::PosInventoryResponse
|
|
2712
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2713
|
+
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2714
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
2715
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2716
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2717
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2718
|
+
execute_or_queue_command(command, &block)
|
|
2719
|
+
end
|
|
2720
|
+
|
|
2721
|
+
# Lists the stores of the target merchant.
|
|
2722
|
+
# @param [Fixnum] merchant_id
|
|
2723
|
+
# The ID of the POS or inventory data provider.
|
|
2724
|
+
# @param [Fixnum] target_merchant_id
|
|
2725
|
+
# The ID of the target merchant.
|
|
2726
|
+
# @param [String] fields
|
|
2727
|
+
# Selector specifying which fields to include in a partial response.
|
|
2728
|
+
# @param [String] quota_user
|
|
2729
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2730
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2731
|
+
# Overrides userIp if both are provided.
|
|
2732
|
+
# @param [String] user_ip
|
|
2733
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2734
|
+
# enforce per-user limits.
|
|
2735
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2736
|
+
# Request-specific options
|
|
2737
|
+
#
|
|
2738
|
+
# @yield [result, err] Result & error if block supplied
|
|
2739
|
+
# @yieldparam result [Google::Apis::ContentV2::PosListResponse] parsed result object
|
|
2740
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2741
|
+
#
|
|
2742
|
+
# @return [Google::Apis::ContentV2::PosListResponse]
|
|
2743
|
+
#
|
|
2744
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2745
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2746
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2747
|
+
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2748
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
2749
|
+
command.response_representation = Google::Apis::ContentV2::PosListResponse::Representation
|
|
2750
|
+
command.response_class = Google::Apis::ContentV2::PosListResponse
|
|
2751
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2752
|
+
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2753
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2754
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2755
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2756
|
+
execute_or_queue_command(command, &block)
|
|
2757
|
+
end
|
|
2758
|
+
|
|
2759
|
+
# Submit a sale event for the given merchant.
|
|
2760
|
+
# @param [Fixnum] merchant_id
|
|
2761
|
+
# The ID of the POS or inventory data provider.
|
|
2762
|
+
# @param [Fixnum] target_merchant_id
|
|
2763
|
+
# The ID of the target merchant.
|
|
2764
|
+
# @param [Google::Apis::ContentV2::PosSaleRequest] pos_sale_request_object
|
|
2765
|
+
# @param [Boolean] dry_run
|
|
2766
|
+
# Flag to run the request in dry-run mode.
|
|
2767
|
+
# @param [String] fields
|
|
2768
|
+
# Selector specifying which fields to include in a partial response.
|
|
2769
|
+
# @param [String] quota_user
|
|
2770
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2771
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2772
|
+
# Overrides userIp if both are provided.
|
|
2773
|
+
# @param [String] user_ip
|
|
2774
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
2775
|
+
# enforce per-user limits.
|
|
2776
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2777
|
+
# Request-specific options
|
|
2778
|
+
#
|
|
2779
|
+
# @yield [result, err] Result & error if block supplied
|
|
2780
|
+
# @yieldparam result [Google::Apis::ContentV2::PosSaleResponse] parsed result object
|
|
2781
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2782
|
+
#
|
|
2783
|
+
# @return [Google::Apis::ContentV2::PosSaleResponse]
|
|
2784
|
+
#
|
|
2785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2788
|
+
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)
|
|
2789
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
|
2790
|
+
command.request_representation = Google::Apis::ContentV2::PosSaleRequest::Representation
|
|
2791
|
+
command.request_object = pos_sale_request_object
|
|
2792
|
+
command.response_representation = Google::Apis::ContentV2::PosSaleResponse::Representation
|
|
2793
|
+
command.response_class = Google::Apis::ContentV2::PosSaleResponse
|
|
2794
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2795
|
+
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
2796
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
2797
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2798
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2799
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2800
|
+
execute_or_queue_command(command, &block)
|
|
2801
|
+
end
|
|
2802
|
+
|
|
2119
2803
|
# Retrieves, inserts, and deletes multiple products in a single request.
|
|
2120
2804
|
# @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
|
|
2121
2805
|
# @param [Boolean] dry_run
|