google-api-client 0.47.0 → 0.52.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/.github/workflows/release-please.yml +57 -0
- data/CHANGELOG.md +466 -0
- data/README.md +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +323 -183
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +11 -10
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +33 -24
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +5 -8
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +433 -84
- data/generated/google/apis/apigee_v1/representations.rb +150 -0
- data/generated/google/apis/apigee_v1/service.rb +926 -110
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -9
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -2
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +688 -176
- data/generated/google/apis/compute_v1/representations.rb +99 -0
- data/generated/google/apis/compute_v1/service.rb +704 -552
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +53 -13
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -7
- data/generated/google/apis/content_v2/service.rb +10 -8
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1533 -1064
- data/generated/google/apis/content_v2_1/representations.rb +421 -0
- data/generated/google/apis/content_v2_1/service.rb +1127 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +80 -9
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +149 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +246 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +62 -15
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -12
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +60 -18
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -12
- data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +180 -15
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +65 -12
- data/generated/google/apis/dialogflow_v3beta1/service.rb +183 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
- data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
- data/generated/google/apis/displayvideo_v1/service.rb +342 -38
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +71 -0
- data/generated/google/apis/dns_v1/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
- data/generated/google/apis/dns_v1beta2/service.rb +176 -0
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v2/service.rb +26 -58
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -8
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +9 -12
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +566 -4
- data/generated/google/apis/file_v1/representations.rb +222 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +353 -0
- data/generated/google/apis/games_v1/representations.rb +145 -0
- data/generated/google/apis/games_v1/service.rb +67 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
- data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +109 -11
- data/generated/google/apis/iam_v1/representations.rb +33 -1
- data/generated/google/apis/iam_v1/service.rb +63 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -18
- data/generated/google/apis/iap_v1/representations.rb +0 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +187 -9
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/metastore_v1beta.rb +35 -0
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +85 -25
- data/generated/google/apis/ml_v1/representations.rb +42 -1
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +13 -8
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
- data/generated/google/apis/notebooks_v1/representations.rb +580 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +10 -6
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2467 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -61
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +42 -11
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +332 -7
- data/generated/google/apis/sheets_v4/representations.rb +102 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +10 -8
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +43 -21
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +3 -2
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +3 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/lib/google/apis/version.rb +1 -1
- metadata +60 -27
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
|
@@ -188,12 +188,6 @@ module Google
|
|
|
188
188
|
class Binding
|
|
189
189
|
include Google::Apis::Core::Hashable
|
|
190
190
|
|
|
191
|
-
# A client-specified ID for this binding. Expected to be globally unique to
|
|
192
|
-
# support the internal bindings-by-ID API.
|
|
193
|
-
# Corresponds to the JSON property `bindingId`
|
|
194
|
-
# @return [String]
|
|
195
|
-
attr_accessor :binding_id
|
|
196
|
-
|
|
197
191
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
198
192
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
199
193
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
@@ -255,7 +249,6 @@ module Google
|
|
|
255
249
|
|
|
256
250
|
# Update properties of this object
|
|
257
251
|
def update!(**args)
|
|
258
|
-
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
|
259
252
|
@condition = args[:condition] if args.key?(:condition)
|
|
260
253
|
@members = args[:members] if args.key?(:members)
|
|
261
254
|
@role = args[:role] if args.key?(:role)
|
|
@@ -475,7 +475,6 @@ module Google
|
|
|
475
475
|
class Binding
|
|
476
476
|
# @private
|
|
477
477
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
478
|
-
property :binding_id, as: 'bindingId'
|
|
479
478
|
property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1alpha1::Expr, decorator: Google::Apis::ContaineranalysisV1alpha1::Expr::Representation
|
|
480
479
|
|
|
481
480
|
collection :members, as: 'members'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
|
27
27
|
module ContaineranalysisV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201112'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -221,7 +221,8 @@ module Google
|
|
|
221
221
|
class BatchCreateNotesRequest
|
|
222
222
|
include Google::Apis::Core::Hashable
|
|
223
223
|
|
|
224
|
-
# Required. The notes to create
|
|
224
|
+
# Required. The notes to create, the key is expected to be the note ID. Max
|
|
225
|
+
# allowed length is 1000.
|
|
225
226
|
# Corresponds to the JSON property `notes`
|
|
226
227
|
# @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::Note>]
|
|
227
228
|
attr_accessor :notes
|
|
@@ -297,12 +298,6 @@ module Google
|
|
|
297
298
|
class Binding
|
|
298
299
|
include Google::Apis::Core::Hashable
|
|
299
300
|
|
|
300
|
-
# A client-specified ID for this binding. Expected to be globally unique to
|
|
301
|
-
# support the internal bindings-by-ID API.
|
|
302
|
-
# Corresponds to the JSON property `bindingId`
|
|
303
|
-
# @return [String]
|
|
304
|
-
attr_accessor :binding_id
|
|
305
|
-
|
|
306
301
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
307
302
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
308
303
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
@@ -364,7 +359,6 @@ module Google
|
|
|
364
359
|
|
|
365
360
|
# Update properties of this object
|
|
366
361
|
def update!(**args)
|
|
367
|
-
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
|
368
362
|
@condition = args[:condition] if args.key?(:condition)
|
|
369
363
|
@members = args[:members] if args.key?(:members)
|
|
370
364
|
@role = args[:role] if args.key?(:role)
|
|
@@ -619,7 +619,6 @@ module Google
|
|
|
619
619
|
class Binding
|
|
620
620
|
# @private
|
|
621
621
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
622
|
-
property :binding_id, as: 'bindingId'
|
|
623
622
|
property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1beta1::Expr, decorator: Google::Apis::ContaineranalysisV1beta1::Expr::Representation
|
|
624
623
|
|
|
625
624
|
collection :members, as: 'members'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/shopping-content/v2/
|
|
26
26
|
module ContentV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201113'
|
|
29
29
|
|
|
30
30
|
# Manage your product listings and accounts for Google Shopping
|
|
31
31
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -4396,7 +4396,7 @@ module Google
|
|
|
4396
4396
|
attr_accessor :quantity
|
|
4397
4397
|
|
|
4398
4398
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
|
4399
|
-
# reason will lead to the removal of the product from
|
|
4399
|
+
# reason will lead to the removal of the product from Buy on Google until you
|
|
4400
4400
|
# make an update to that product. This will not affect your Shopping ads.
|
|
4401
4401
|
# Acceptable values are: - "`autoPostInternal`" - "`
|
|
4402
4402
|
# autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
|
|
@@ -4455,8 +4455,8 @@ module Google
|
|
|
4455
4455
|
|
|
4456
4456
|
# Email address for the merchant to send value-added tax or invoice
|
|
4457
4457
|
# documentation of the order. Only the last document sent is made available to
|
|
4458
|
-
# the customer. For more information, see About automated VAT invoicing for
|
|
4459
|
-
#
|
|
4458
|
+
# the customer. For more information, see About automated VAT invoicing for Buy
|
|
4459
|
+
# on Google.
|
|
4460
4460
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
|
4461
4461
|
# @return [String]
|
|
4462
4462
|
attr_accessor :invoice_receiving_email
|
|
@@ -8057,7 +8057,7 @@ module Google
|
|
|
8057
8057
|
# @return [Google::Apis::ContentV2::PosStore]
|
|
8058
8058
|
attr_accessor :store
|
|
8059
8059
|
|
|
8060
|
-
# The store code.
|
|
8060
|
+
# The store code. This should be set only if the method is `delete` or `get`.
|
|
8061
8061
|
# Corresponds to the JSON property `storeCode`
|
|
8062
8062
|
# @return [String]
|
|
8063
8063
|
attr_accessor :store_code
|
|
@@ -8805,7 +8805,7 @@ module Google
|
|
|
8805
8805
|
# @return [Array<String>]
|
|
8806
8806
|
attr_accessor :additional_product_types
|
|
8807
8807
|
|
|
8808
|
-
#
|
|
8808
|
+
# Should be set to true if the item is targeted towards adults.
|
|
8809
8809
|
# Corresponds to the JSON property `adult`
|
|
8810
8810
|
# @return [Boolean]
|
|
8811
8811
|
attr_accessor :adult
|
|
@@ -8891,7 +8891,7 @@ module Google
|
|
|
8891
8891
|
# submitting any attribute of the feed specification in its generic form (e.g., `
|
|
8892
8892
|
# ` "name": "size type", "value": "regular" ``). This is useful for submitting
|
|
8893
8893
|
# attributes not explicitly exposed by the API, such as additional attributes
|
|
8894
|
-
# used for Shopping Actions.
|
|
8894
|
+
# used for Buy on Google (formerly known as Shopping Actions).
|
|
8895
8895
|
# Corresponds to the JSON property `customAttributes`
|
|
8896
8896
|
# @return [Array<Google::Apis::ContentV2::CustomAttribute>]
|
|
8897
8897
|
attr_accessor :custom_attributes
|
|
@@ -9806,7 +9806,7 @@ module Google
|
|
|
9806
9806
|
# @return [String]
|
|
9807
9807
|
attr_accessor :region
|
|
9808
9808
|
|
|
9809
|
-
#
|
|
9809
|
+
# Should be set to true if tax is charged on shipping.
|
|
9810
9810
|
# Corresponds to the JSON property `taxShip`
|
|
9811
9811
|
# @return [Boolean]
|
|
9812
9812
|
attr_accessor :tax_ship
|
|
@@ -708,7 +708,9 @@ module Google
|
|
|
708
708
|
execute_or_queue_command(command, &block)
|
|
709
709
|
end
|
|
710
710
|
|
|
711
|
-
# Invokes a fetch for the datafeed in your Merchant Center account.
|
|
711
|
+
# Invokes a fetch for the datafeed in your Merchant Center account. If you need
|
|
712
|
+
# to call this method more than once per day, we recommend you use the Products
|
|
713
|
+
# service to update your product data.
|
|
712
714
|
# @param [Fixnum] merchant_id
|
|
713
715
|
# The ID of the account that manages the datafeed. This account cannot be a
|
|
714
716
|
# multi-client account.
|
|
@@ -1286,7 +1288,7 @@ module Google
|
|
|
1286
1288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1287
1289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1288
1290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1289
|
-
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email
|
|
1291
|
+
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
|
|
1290
1292
|
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
|
1291
1293
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
|
1292
1294
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
|
@@ -1345,14 +1347,14 @@ module Google
|
|
|
1345
1347
|
# @param [Fixnum] account_id
|
|
1346
1348
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1347
1349
|
# account.
|
|
1348
|
-
# @param [String] contact_email
|
|
1349
|
-
# The email of the inventory verification contact.
|
|
1350
|
-
# @param [String] contact_name
|
|
1351
|
-
# The name of the inventory verification contact.
|
|
1352
1350
|
# @param [String] country
|
|
1353
1351
|
# The country for which inventory verification is requested.
|
|
1354
1352
|
# @param [String] language
|
|
1355
1353
|
# The language for which inventory verification is requested.
|
|
1354
|
+
# @param [String] contact_name
|
|
1355
|
+
# The name of the inventory verification contact.
|
|
1356
|
+
# @param [String] contact_email
|
|
1357
|
+
# The email of the inventory verification contact.
|
|
1356
1358
|
# @param [String] fields
|
|
1357
1359
|
# Selector specifying which fields to include in a partial response.
|
|
1358
1360
|
# @param [String] quota_user
|
|
@@ -1370,7 +1372,7 @@ module Google
|
|
|
1370
1372
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1371
1373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1372
1374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1373
|
-
def setinventoryverificationcontact_liasetting(merchant_id, account_id,
|
|
1375
|
+
def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
|
|
1374
1376
|
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
|
1375
1377
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
|
1376
1378
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
|
@@ -1416,7 +1418,7 @@ module Google
|
|
|
1416
1418
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1417
1419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1418
1420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1419
|
-
def setposdataprovider_liasetting(merchant_id, account_id, country
|
|
1421
|
+
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1420
1422
|
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
|
1421
1423
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
|
|
1422
1424
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
|
|
@@ -20,13 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Content API for Shopping
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
|
-
# Shopping.
|
|
23
|
+
# Manage your product listings and accounts for Google Shopping
|
|
25
24
|
#
|
|
26
|
-
# @see https://developers.google.com/shopping-content
|
|
25
|
+
# @see https://developers.google.com/shopping-content/v2/
|
|
27
26
|
module ContentV2_1
|
|
28
27
|
VERSION = 'V2_1'
|
|
29
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201204'
|
|
30
29
|
|
|
31
30
|
# Manage your product listings and accounts for Google Shopping
|
|
32
31
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -185,15 +185,13 @@ module Google
|
|
|
185
185
|
# Status of the link between this Merchant Center account and the Ads account.
|
|
186
186
|
# Upon retrieval, it represents the actual status of the link and can be either `
|
|
187
187
|
# active` if it was approved in Google Ads or `pending` if it's pending approval.
|
|
188
|
-
# Upon insertion, it represents the intended status of the link. Re-uploading
|
|
189
|
-
# link with status `active` when it's still pending or with status `pending`
|
|
188
|
+
# Upon insertion, it represents the *intended* status of the link. Re-uploading
|
|
189
|
+
# a link with status `active` when it's still pending or with status `pending`
|
|
190
190
|
# when it's already active will have no effect: the status will remain unchanged.
|
|
191
191
|
# Re-uploading a link with deprecated status `inactive` is equivalent to not
|
|
192
192
|
# submitting the link at all and will delete the link if it was active or cancel
|
|
193
|
-
# the link request if it was pending.
|
|
194
|
-
#
|
|
195
|
-
# - "`active`"
|
|
196
|
-
# - "`pending`"
|
|
193
|
+
# the link request if it was pending. Acceptable values are: - "`active`" - "`
|
|
194
|
+
# pending`"
|
|
197
195
|
# Corresponds to the JSON property `status`
|
|
198
196
|
# @return [String]
|
|
199
197
|
attr_accessor :status
|
|
@@ -289,9 +287,7 @@ module Google
|
|
|
289
287
|
attr_accessor :gmb_email
|
|
290
288
|
|
|
291
289
|
# Status of the link between this Merchant Center account and the GMB account.
|
|
292
|
-
# Acceptable values are:
|
|
293
|
-
# - "`active`"
|
|
294
|
-
# - "`pending`"
|
|
290
|
+
# Acceptable values are: - "`active`" - "`pending`"
|
|
295
291
|
# Corresponds to the JSON property `status`
|
|
296
292
|
# @return [String]
|
|
297
293
|
attr_accessor :status
|
|
@@ -334,6 +330,43 @@ module Google
|
|
|
334
330
|
end
|
|
335
331
|
end
|
|
336
332
|
|
|
333
|
+
# Label assigned by CSS domain or CSS group to one of its sub-accounts.
|
|
334
|
+
class AccountLabel
|
|
335
|
+
include Google::Apis::Core::Hashable
|
|
336
|
+
|
|
337
|
+
# Immutable. The ID of account this label belongs to.
|
|
338
|
+
# Corresponds to the JSON property `accountId`
|
|
339
|
+
# @return [Fixnum]
|
|
340
|
+
attr_accessor :account_id
|
|
341
|
+
|
|
342
|
+
# The description of this label.
|
|
343
|
+
# Corresponds to the JSON property `description`
|
|
344
|
+
# @return [String]
|
|
345
|
+
attr_accessor :description
|
|
346
|
+
|
|
347
|
+
# Output only. The ID of the label.
|
|
348
|
+
# Corresponds to the JSON property `labelId`
|
|
349
|
+
# @return [Fixnum]
|
|
350
|
+
attr_accessor :label_id
|
|
351
|
+
|
|
352
|
+
# The display name of this label.
|
|
353
|
+
# Corresponds to the JSON property `name`
|
|
354
|
+
# @return [String]
|
|
355
|
+
attr_accessor :name
|
|
356
|
+
|
|
357
|
+
def initialize(**args)
|
|
358
|
+
update!(**args)
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
# Update properties of this object
|
|
362
|
+
def update!(**args)
|
|
363
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
364
|
+
@description = args[:description] if args.key?(:description)
|
|
365
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
|
366
|
+
@name = args[:name] if args.key?(:name)
|
|
367
|
+
end
|
|
368
|
+
end
|
|
369
|
+
|
|
337
370
|
# The status of an account, i.e., information about its products, which is
|
|
338
371
|
# computed offline and not returned immediately at insertion time.
|
|
339
372
|
class AccountStatus
|
|
@@ -411,11 +444,8 @@ module Google
|
|
|
411
444
|
# @return [String]
|
|
412
445
|
attr_accessor :id
|
|
413
446
|
|
|
414
|
-
# Severity of the issue.
|
|
415
|
-
#
|
|
416
|
-
# - "`critical`"
|
|
417
|
-
# - "`error`"
|
|
418
|
-
# - "`suggestion`"
|
|
447
|
+
# Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`
|
|
448
|
+
# suggestion`"
|
|
419
449
|
# Corresponds to the JSON property `severity`
|
|
420
450
|
# @return [String]
|
|
421
451
|
attr_accessor :severity
|
|
@@ -506,10 +536,8 @@ module Google
|
|
|
506
536
|
class AccountStatusProducts
|
|
507
537
|
include Google::Apis::Core::Hashable
|
|
508
538
|
|
|
509
|
-
# The channel the data applies to.
|
|
510
|
-
#
|
|
511
|
-
# - "`local`"
|
|
512
|
-
# - "`online`"
|
|
539
|
+
# The channel the data applies to. Acceptable values are: - "`local`" - "`online`
|
|
540
|
+
# "
|
|
513
541
|
# Corresponds to the JSON property `channel`
|
|
514
542
|
# @return [String]
|
|
515
543
|
attr_accessor :channel
|
|
@@ -724,7 +752,7 @@ module Google
|
|
|
724
752
|
# Status of the link between this Merchant Center account and the YouTube
|
|
725
753
|
# channel. Upon retrieval, it represents the actual status of the link and can
|
|
726
754
|
# be either `active` if it was approved in YT Creator Studio or `pending` if it'
|
|
727
|
-
# s pending approval. Upon insertion, it represents the intended status of the
|
|
755
|
+
# s pending approval. Upon insertion, it represents the *intended* status of the
|
|
728
756
|
# link. Re-uploading a link with status `active` when it's still pending or with
|
|
729
757
|
# status `pending` when it's already active will have no effect: the status will
|
|
730
758
|
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
|
@@ -749,11 +777,10 @@ module Google
|
|
|
749
777
|
class AccountsAuthInfoResponse
|
|
750
778
|
include Google::Apis::Core::Hashable
|
|
751
779
|
|
|
752
|
-
# The account identifiers corresponding to the authenticated user.
|
|
753
|
-
#
|
|
754
|
-
# - For an
|
|
755
|
-
#
|
|
756
|
-
# defined.
|
|
780
|
+
# The account identifiers corresponding to the authenticated user. - For an
|
|
781
|
+
# individual account: only the merchant ID is defined - For an aggregator: only
|
|
782
|
+
# the aggregator ID is defined - For a subaccount of an MCA: both the merchant
|
|
783
|
+
# ID and the aggregator ID are defined.
|
|
757
784
|
# Corresponds to the JSON property `accountIdentifiers`
|
|
758
785
|
# @return [Array<Google::Apis::ContentV2_1::AccountIdentifier>]
|
|
759
786
|
attr_accessor :account_identifiers
|
|
@@ -857,14 +884,8 @@ module Google
|
|
|
857
884
|
# @return [Fixnum]
|
|
858
885
|
attr_accessor :merchant_id
|
|
859
886
|
|
|
860
|
-
# The method of the batch entry.
|
|
861
|
-
#
|
|
862
|
-
# - "`claimWebsite`"
|
|
863
|
-
# - "`delete`"
|
|
864
|
-
# - "`get`"
|
|
865
|
-
# - "`insert`"
|
|
866
|
-
# - "`link`"
|
|
867
|
-
# - "`update`"
|
|
887
|
+
# The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "`
|
|
888
|
+
# delete`" - "`get`" - "`insert`" - "`link`" - "`update`"
|
|
868
889
|
# Corresponds to the JSON property `method`
|
|
869
890
|
# @return [String]
|
|
870
891
|
attr_accessor :method_prop
|
|
@@ -905,19 +926,14 @@ module Google
|
|
|
905
926
|
include Google::Apis::Core::Hashable
|
|
906
927
|
|
|
907
928
|
# Action to perform for this link. The `"request"` action is only available to
|
|
908
|
-
# select merchants.
|
|
909
|
-
#
|
|
910
|
-
# - "`approve`"
|
|
911
|
-
# - "`remove`"
|
|
912
|
-
# - "`request`"
|
|
929
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
|
930
|
+
# request`"
|
|
913
931
|
# Corresponds to the JSON property `action`
|
|
914
932
|
# @return [String]
|
|
915
933
|
attr_accessor :action
|
|
916
934
|
|
|
917
|
-
# Type of the link between the two accounts.
|
|
918
|
-
#
|
|
919
|
-
# - "`channelPartner`"
|
|
920
|
-
# - "`eCommercePlatform`"
|
|
935
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
|
936
|
+
# channelPartner`" - "`eCommercePlatform`"
|
|
921
937
|
# Corresponds to the JSON property `linkType`
|
|
922
938
|
# @return [String]
|
|
923
939
|
attr_accessor :link_type
|
|
@@ -927,7 +943,9 @@ module Google
|
|
|
927
943
|
# @return [String]
|
|
928
944
|
attr_accessor :linked_account_id
|
|
929
945
|
|
|
930
|
-
#
|
|
946
|
+
# Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
|
|
947
|
+
# "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
|
|
948
|
+
# shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
|
|
931
949
|
# Corresponds to the JSON property `services`
|
|
932
950
|
# @return [Array<String>]
|
|
933
951
|
attr_accessor :services
|
|
@@ -1016,19 +1034,14 @@ module Google
|
|
|
1016
1034
|
include Google::Apis::Core::Hashable
|
|
1017
1035
|
|
|
1018
1036
|
# Action to perform for this link. The `"request"` action is only available to
|
|
1019
|
-
# select merchants.
|
|
1020
|
-
#
|
|
1021
|
-
# - "`approve`"
|
|
1022
|
-
# - "`remove`"
|
|
1023
|
-
# - "`request`"
|
|
1037
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
|
1038
|
+
# request`"
|
|
1024
1039
|
# Corresponds to the JSON property `action`
|
|
1025
1040
|
# @return [String]
|
|
1026
1041
|
attr_accessor :action
|
|
1027
1042
|
|
|
1028
|
-
# Type of the link between the two accounts.
|
|
1029
|
-
#
|
|
1030
|
-
# - "`channelPartner`"
|
|
1031
|
-
# - "`eCommercePlatform`"
|
|
1043
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
|
1044
|
+
# channelPartner`" - "`eCommercePlatform`"
|
|
1032
1045
|
# Corresponds to the JSON property `linkType`
|
|
1033
1046
|
# @return [String]
|
|
1034
1047
|
attr_accessor :link_type
|
|
@@ -1223,9 +1236,7 @@ module Google
|
|
|
1223
1236
|
# @return [Fixnum]
|
|
1224
1237
|
attr_accessor :merchant_id
|
|
1225
1238
|
|
|
1226
|
-
# The method of the batch entry.
|
|
1227
|
-
# Acceptable values are:
|
|
1228
|
-
# - "`get`"
|
|
1239
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
1229
1240
|
# Corresponds to the JSON property `method`
|
|
1230
1241
|
# @return [String]
|
|
1231
1242
|
attr_accessor :method_prop
|
|
@@ -1377,10 +1388,7 @@ module Google
|
|
|
1377
1388
|
# @return [Fixnum]
|
|
1378
1389
|
attr_accessor :merchant_id
|
|
1379
1390
|
|
|
1380
|
-
# The method of the batch entry.
|
|
1381
|
-
# Acceptable values are:
|
|
1382
|
-
# - "`get`"
|
|
1383
|
-
# - "`update`"
|
|
1391
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
1384
1392
|
# Corresponds to the JSON property `method`
|
|
1385
1393
|
# @return [String]
|
|
1386
1394
|
attr_accessor :method_prop
|
|
@@ -1628,6 +1636,58 @@ module Google
|
|
|
1628
1636
|
end
|
|
1629
1637
|
end
|
|
1630
1638
|
|
|
1639
|
+
# Information about CSS domain.
|
|
1640
|
+
class Css
|
|
1641
|
+
include Google::Apis::Core::Hashable
|
|
1642
|
+
|
|
1643
|
+
# Output only. Immutable. The CSS domain ID.
|
|
1644
|
+
# Corresponds to the JSON property `cssDomainId`
|
|
1645
|
+
# @return [Fixnum]
|
|
1646
|
+
attr_accessor :css_domain_id
|
|
1647
|
+
|
|
1648
|
+
# Output only. Immutable. The ID of the CSS group this CSS domain is affiliated
|
|
1649
|
+
# with. Only populated for CSS group users.
|
|
1650
|
+
# Corresponds to the JSON property `cssGroupId`
|
|
1651
|
+
# @return [Fixnum]
|
|
1652
|
+
attr_accessor :css_group_id
|
|
1653
|
+
|
|
1654
|
+
# Output only. Immutable. The CSS domain's display name, used when space is
|
|
1655
|
+
# constrained.
|
|
1656
|
+
# Corresponds to the JSON property `displayName`
|
|
1657
|
+
# @return [String]
|
|
1658
|
+
attr_accessor :display_name
|
|
1659
|
+
|
|
1660
|
+
# Output only. Immutable. The CSS domain's full name.
|
|
1661
|
+
# Corresponds to the JSON property `fullName`
|
|
1662
|
+
# @return [String]
|
|
1663
|
+
attr_accessor :full_name
|
|
1664
|
+
|
|
1665
|
+
# Output only. Immutable. The CSS domain's homepage.
|
|
1666
|
+
# Corresponds to the JSON property `homepageUri`
|
|
1667
|
+
# @return [String]
|
|
1668
|
+
attr_accessor :homepage_uri
|
|
1669
|
+
|
|
1670
|
+
# A list of label IDs that are assigned to this CSS domain by its CSS group.
|
|
1671
|
+
# Only populated for CSS group users.
|
|
1672
|
+
# Corresponds to the JSON property `labelIds`
|
|
1673
|
+
# @return [Array<Fixnum>]
|
|
1674
|
+
attr_accessor :label_ids
|
|
1675
|
+
|
|
1676
|
+
def initialize(**args)
|
|
1677
|
+
update!(**args)
|
|
1678
|
+
end
|
|
1679
|
+
|
|
1680
|
+
# Update properties of this object
|
|
1681
|
+
def update!(**args)
|
|
1682
|
+
@css_domain_id = args[:css_domain_id] if args.key?(:css_domain_id)
|
|
1683
|
+
@css_group_id = args[:css_group_id] if args.key?(:css_group_id)
|
|
1684
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1685
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
|
1686
|
+
@homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
|
|
1687
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
1688
|
+
end
|
|
1689
|
+
end
|
|
1690
|
+
|
|
1631
1691
|
#
|
|
1632
1692
|
class CustomAttribute
|
|
1633
1693
|
include Google::Apis::Core::Hashable
|
|
@@ -1670,22 +1730,11 @@ module Google
|
|
|
1670
1730
|
# @return [String]
|
|
1671
1731
|
attr_accessor :description
|
|
1672
1732
|
|
|
1673
|
-
# Code of the return reason.
|
|
1674
|
-
#
|
|
1675
|
-
# - "`
|
|
1676
|
-
# - "`
|
|
1677
|
-
# - "`
|
|
1678
|
-
# - "`didNotMatchDescription`"
|
|
1679
|
-
# - "`doesNotFit`"
|
|
1680
|
-
# - "`expiredItem`"
|
|
1681
|
-
# - "`incorrectItemReceived`"
|
|
1682
|
-
# - "`noLongerNeeded`"
|
|
1683
|
-
# - "`notSpecified`"
|
|
1684
|
-
# - "`orderedWrongItem`"
|
|
1685
|
-
# - "`other`"
|
|
1686
|
-
# - "`qualityNotExpected`"
|
|
1687
|
-
# - "`receivedTooLate`"
|
|
1688
|
-
# - "`undeliverable`"
|
|
1733
|
+
# Code of the return reason. Acceptable values are: - "`betterPriceFound`" - "`
|
|
1734
|
+
# changedMind`" - "`damagedOrDefectiveItem`" - "`didNotMatchDescription`" - "`
|
|
1735
|
+
# doesNotFit`" - "`expiredItem`" - "`incorrectItemReceived`" - "`noLongerNeeded`"
|
|
1736
|
+
# - "`notSpecified`" - "`orderedWrongItem`" - "`other`" - "`qualityNotExpected`"
|
|
1737
|
+
# - "`receivedTooLate`" - "`undeliverable`"
|
|
1689
1738
|
# Corresponds to the JSON property `reasonCode`
|
|
1690
1739
|
# @return [String]
|
|
1691
1740
|
attr_accessor :reason_code
|
|
@@ -1746,11 +1795,8 @@ module Google
|
|
|
1746
1795
|
attr_accessor :attribute_language
|
|
1747
1796
|
|
|
1748
1797
|
# Required. The type of data feed. For product inventory feeds, only feeds for
|
|
1749
|
-
# local stores, not online stores, are supported.
|
|
1750
|
-
#
|
|
1751
|
-
# - "`local products`"
|
|
1752
|
-
# - "`product inventory`"
|
|
1753
|
-
# - "`products`"
|
|
1798
|
+
# local stores, not online stores, are supported. Acceptable values are: - "`
|
|
1799
|
+
# local products`" - "`product inventory`" - "`products`"
|
|
1754
1800
|
# Corresponds to the JSON property `contentType`
|
|
1755
1801
|
# @return [String]
|
|
1756
1802
|
attr_accessor :content_type
|
|
@@ -1863,15 +1909,9 @@ module Google
|
|
|
1863
1909
|
# @return [String]
|
|
1864
1910
|
attr_accessor :username
|
|
1865
1911
|
|
|
1866
|
-
# The day of the week the feed file should be fetched.
|
|
1867
|
-
#
|
|
1868
|
-
# - "`
|
|
1869
|
-
# - "`tuesday`"
|
|
1870
|
-
# - "`wednesday`"
|
|
1871
|
-
# - "`thursday`"
|
|
1872
|
-
# - "`friday`"
|
|
1873
|
-
# - "`saturday`"
|
|
1874
|
-
# - "`sunday`"
|
|
1912
|
+
# The day of the week the feed file should be fetched. Acceptable values are: - "
|
|
1913
|
+
# `monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`
|
|
1914
|
+
# saturday`" - "`sunday`"
|
|
1875
1915
|
# Corresponds to the JSON property `weekday`
|
|
1876
1916
|
# @return [String]
|
|
1877
1917
|
attr_accessor :weekday
|
|
@@ -1900,32 +1940,21 @@ module Google
|
|
|
1900
1940
|
|
|
1901
1941
|
# Delimiter for the separation of values in a delimiter-separated values feed.
|
|
1902
1942
|
# If not specified, the delimiter will be auto-detected. Ignored for non-DSV
|
|
1903
|
-
# data feeds.
|
|
1904
|
-
# Acceptable values are:
|
|
1905
|
-
# - "`pipe`"
|
|
1906
|
-
# - "`tab`"
|
|
1907
|
-
# - "`tilde`"
|
|
1943
|
+
# data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`"
|
|
1908
1944
|
# Corresponds to the JSON property `columnDelimiter`
|
|
1909
1945
|
# @return [String]
|
|
1910
1946
|
attr_accessor :column_delimiter
|
|
1911
1947
|
|
|
1912
1948
|
# Character encoding scheme of the data feed. If not specified, the encoding
|
|
1913
|
-
# will be auto-detected.
|
|
1914
|
-
#
|
|
1915
|
-
# - "`latin-1`"
|
|
1916
|
-
# - "`utf-16be`"
|
|
1917
|
-
# - "`utf-16le`"
|
|
1918
|
-
# - "`utf-8`"
|
|
1919
|
-
# - "`windows-1252`"
|
|
1949
|
+
# will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "`
|
|
1950
|
+
# utf-16le`" - "`utf-8`" - "`windows-1252`"
|
|
1920
1951
|
# Corresponds to the JSON property `fileEncoding`
|
|
1921
1952
|
# @return [String]
|
|
1922
1953
|
attr_accessor :file_encoding
|
|
1923
1954
|
|
|
1924
1955
|
# Specifies how double quotes are interpreted. If not specified, the mode will
|
|
1925
|
-
# be auto-detected. Ignored for non-DSV data feeds.
|
|
1926
|
-
#
|
|
1927
|
-
# - "`normal character`"
|
|
1928
|
-
# - "`value quoting`"
|
|
1956
|
+
# be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "`
|
|
1957
|
+
# normal character`" - "`value quoting`"
|
|
1929
1958
|
# Corresponds to the JSON property `quotingMode`
|
|
1930
1959
|
# @return [String]
|
|
1931
1960
|
attr_accessor :quoting_mode
|
|
@@ -1947,7 +1976,7 @@ module Google
|
|
|
1947
1976
|
class DatafeedStatus
|
|
1948
1977
|
include Google::Apis::Core::Hashable
|
|
1949
1978
|
|
|
1950
|
-
# The country for which the status is reported, represented as a
|
|
1979
|
+
# The country for which the status is reported, represented as a CLDR territory
|
|
1951
1980
|
# code.
|
|
1952
1981
|
# Corresponds to the JSON property `country`
|
|
1953
1982
|
# @return [String]
|
|
@@ -1989,12 +2018,10 @@ module Google
|
|
|
1989
2018
|
# @return [String]
|
|
1990
2019
|
attr_accessor :last_upload_date
|
|
1991
2020
|
|
|
1992
|
-
# The processing status of the feed.
|
|
1993
|
-
#
|
|
1994
|
-
# - "`
|
|
1995
|
-
#
|
|
1996
|
-
# - "`none`": The feed has not yet been processed. For example, a feed that has
|
|
1997
|
-
# never been uploaded will have this processing status.
|
|
2021
|
+
# The processing status of the feed. Acceptable values are: - "`"`failure`": The
|
|
2022
|
+
# feed could not be processed or all items had errors.`" - "`in progress`": The
|
|
2023
|
+
# feed is being processed. - "`none`": The feed has not yet been processed. For
|
|
2024
|
+
# example, a feed that has never been uploaded will have this processing status.
|
|
1998
2025
|
# - "`success`": The feed was processed successfully, though some items might
|
|
1999
2026
|
# have had errors.
|
|
2000
2027
|
# Corresponds to the JSON property `processingStatus`
|
|
@@ -2098,7 +2125,7 @@ module Google
|
|
|
2098
2125
|
include Google::Apis::Core::Hashable
|
|
2099
2126
|
|
|
2100
2127
|
# The country where the items in the feed will be included in the search index,
|
|
2101
|
-
# represented as a
|
|
2128
|
+
# represented as a CLDR territory code.
|
|
2102
2129
|
# Corresponds to the JSON property `country`
|
|
2103
2130
|
# @return [String]
|
|
2104
2131
|
attr_accessor :country
|
|
@@ -2111,12 +2138,9 @@ module Google
|
|
|
2111
2138
|
|
|
2112
2139
|
# The list of destinations to include for this target (corresponds to checked
|
|
2113
2140
|
# check boxes in Merchant Center). Default destinations are always included
|
|
2114
|
-
# unless provided in `excludedDestinations`.
|
|
2115
|
-
#
|
|
2116
|
-
#
|
|
2117
|
-
# - Shopping
|
|
2118
|
-
# - ShoppingActions
|
|
2119
|
-
# - SurfacesAcrossGoogle
|
|
2141
|
+
# unless provided in `excludedDestinations`. List of supported destinations (if
|
|
2142
|
+
# available to the account): - DisplayAds - Shopping - ShoppingActions -
|
|
2143
|
+
# SurfacesAcrossGoogle
|
|
2120
2144
|
# Corresponds to the JSON property `includedDestinations`
|
|
2121
2145
|
# @return [Array<String>]
|
|
2122
2146
|
attr_accessor :included_destinations
|
|
@@ -2183,13 +2207,8 @@ module Google
|
|
|
2183
2207
|
# @return [Fixnum]
|
|
2184
2208
|
attr_accessor :merchant_id
|
|
2185
2209
|
|
|
2186
|
-
# The method of the batch entry.
|
|
2187
|
-
#
|
|
2188
|
-
# - "`delete`"
|
|
2189
|
-
# - "`fetchNow`"
|
|
2190
|
-
# - "`get`"
|
|
2191
|
-
# - "`insert`"
|
|
2192
|
-
# - "`update`"
|
|
2210
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`
|
|
2211
|
+
# fetchNow`" - "`get`" - "`insert`" - "`update`"
|
|
2193
2212
|
# Corresponds to the JSON property `method`
|
|
2194
2213
|
# @return [String]
|
|
2195
2214
|
attr_accessor :method_prop
|
|
@@ -2369,9 +2388,7 @@ module Google
|
|
|
2369
2388
|
# @return [Fixnum]
|
|
2370
2389
|
attr_accessor :merchant_id
|
|
2371
2390
|
|
|
2372
|
-
# The method of the batch entry.
|
|
2373
|
-
# Acceptable values are:
|
|
2374
|
-
# - "`get`"
|
|
2391
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
2375
2392
|
# Corresponds to the JSON property `method`
|
|
2376
2393
|
# @return [String]
|
|
2377
2394
|
attr_accessor :method_prop
|
|
@@ -2481,6 +2498,91 @@ module Google
|
|
|
2481
2498
|
end
|
|
2482
2499
|
end
|
|
2483
2500
|
|
|
2501
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
2502
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
2503
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
2504
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
2505
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
2506
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
2507
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
2508
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
2509
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
2510
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
2511
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
2512
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
2513
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
2514
|
+
# to document and validate your application's limitations.
|
|
2515
|
+
class DateTime
|
|
2516
|
+
include Google::Apis::Core::Hashable
|
|
2517
|
+
|
|
2518
|
+
# Required. Day of month. Must be from 1 to 31 and valid for the year and month.
|
|
2519
|
+
# Corresponds to the JSON property `day`
|
|
2520
|
+
# @return [Fixnum]
|
|
2521
|
+
attr_accessor :day
|
|
2522
|
+
|
|
2523
|
+
# Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
|
|
2524
|
+
# choose to allow the value "24:00:00" for scenarios like business closing time.
|
|
2525
|
+
# Corresponds to the JSON property `hours`
|
|
2526
|
+
# @return [Fixnum]
|
|
2527
|
+
attr_accessor :hours
|
|
2528
|
+
|
|
2529
|
+
# Required. Minutes of hour of day. Must be from 0 to 59.
|
|
2530
|
+
# Corresponds to the JSON property `minutes`
|
|
2531
|
+
# @return [Fixnum]
|
|
2532
|
+
attr_accessor :minutes
|
|
2533
|
+
|
|
2534
|
+
# Required. Month of year. Must be from 1 to 12.
|
|
2535
|
+
# Corresponds to the JSON property `month`
|
|
2536
|
+
# @return [Fixnum]
|
|
2537
|
+
attr_accessor :month
|
|
2538
|
+
|
|
2539
|
+
# Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
|
2540
|
+
# Corresponds to the JSON property `nanos`
|
|
2541
|
+
# @return [Fixnum]
|
|
2542
|
+
attr_accessor :nanos
|
|
2543
|
+
|
|
2544
|
+
# Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
|
2545
|
+
# API may allow the value 60 if it allows leap-seconds.
|
|
2546
|
+
# Corresponds to the JSON property `seconds`
|
|
2547
|
+
# @return [Fixnum]
|
|
2548
|
+
attr_accessor :seconds
|
|
2549
|
+
|
|
2550
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
|
2551
|
+
# time-zones).
|
|
2552
|
+
# Corresponds to the JSON property `timeZone`
|
|
2553
|
+
# @return [Google::Apis::ContentV2_1::TimeZone]
|
|
2554
|
+
attr_accessor :time_zone
|
|
2555
|
+
|
|
2556
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
|
|
2557
|
+
# example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
|
|
2558
|
+
# Corresponds to the JSON property `utcOffset`
|
|
2559
|
+
# @return [String]
|
|
2560
|
+
attr_accessor :utc_offset
|
|
2561
|
+
|
|
2562
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
|
|
2563
|
+
# without a year.
|
|
2564
|
+
# Corresponds to the JSON property `year`
|
|
2565
|
+
# @return [Fixnum]
|
|
2566
|
+
attr_accessor :year
|
|
2567
|
+
|
|
2568
|
+
def initialize(**args)
|
|
2569
|
+
update!(**args)
|
|
2570
|
+
end
|
|
2571
|
+
|
|
2572
|
+
# Update properties of this object
|
|
2573
|
+
def update!(**args)
|
|
2574
|
+
@day = args[:day] if args.key?(:day)
|
|
2575
|
+
@hours = args[:hours] if args.key?(:hours)
|
|
2576
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
|
2577
|
+
@month = args[:month] if args.key?(:month)
|
|
2578
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
|
2579
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
|
2580
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
2581
|
+
@utc_offset = args[:utc_offset] if args.key?(:utc_offset)
|
|
2582
|
+
@year = args[:year] if args.key?(:year)
|
|
2583
|
+
end
|
|
2584
|
+
end
|
|
2585
|
+
|
|
2484
2586
|
#
|
|
2485
2587
|
class DeliveryTime
|
|
2486
2588
|
include Google::Apis::Core::Hashable
|
|
@@ -2698,8 +2800,8 @@ module Google
|
|
|
2698
2800
|
|
|
2699
2801
|
# A list of inclusive number of items upper bounds. The last value can be `"
|
|
2700
2802
|
# infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
|
|
2701
|
-
# 10 items", " 50 items". Must be non-empty. Can only be set
|
|
2702
|
-
# are not set.
|
|
2803
|
+
# 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set
|
|
2804
|
+
# if all other fields are not set.
|
|
2703
2805
|
# Corresponds to the JSON property `numberOfItems`
|
|
2704
2806
|
# @return [Array<String>]
|
|
2705
2807
|
attr_accessor :number_of_items
|
|
@@ -2715,8 +2817,9 @@ module Google
|
|
|
2715
2817
|
# A list of inclusive order price upper bounds. The last price's value can be `"
|
|
2716
2818
|
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
|
2717
2819
|
# "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
|
|
2718
|
-
# headers "<= $10", " $500". All prices within a service must
|
|
2719
|
-
# currency. Must be non-empty. Can only be set if all other fields
|
|
2820
|
+
# headers "<= $10", "<= $500", and "> $500". All prices within a service must
|
|
2821
|
+
# have the same currency. Must be non-empty. Can only be set if all other fields
|
|
2822
|
+
# are not set.
|
|
2720
2823
|
# Corresponds to the JSON property `prices`
|
|
2721
2824
|
# @return [Array<Google::Apis::ContentV2_1::Price>]
|
|
2722
2825
|
attr_accessor :prices
|
|
@@ -2724,8 +2827,8 @@ module Google
|
|
|
2724
2827
|
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
|
2725
2828
|
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
|
2726
2829
|
# unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
|
|
2727
|
-
# 10kg", " 50kg". All weights within a service must have the
|
|
2728
|
-
# non-empty. Can only be set if all other fields are not set.
|
|
2830
|
+
# 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the
|
|
2831
|
+
# same unit. Must be non-empty. Can only be set if all other fields are not set.
|
|
2729
2832
|
# Corresponds to the JSON property `weights`
|
|
2730
2833
|
# @return [Array<Google::Apis::ContentV2_1::Weight>]
|
|
2731
2834
|
attr_accessor :weights
|
|
@@ -2762,7 +2865,7 @@ module Google
|
|
|
2762
2865
|
attr_accessor :deadline_hour
|
|
2763
2866
|
|
|
2764
2867
|
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
|
2765
|
-
# in
|
|
2868
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
|
2766
2869
|
# Corresponds to the JSON property `deadlineTimezone`
|
|
2767
2870
|
# @return [String]
|
|
2768
2871
|
attr_accessor :deadline_timezone
|
|
@@ -2828,16 +2931,9 @@ module Google
|
|
|
2828
2931
|
# @return [String]
|
|
2829
2932
|
attr_accessor :id
|
|
2830
2933
|
|
|
2831
|
-
# The holiday type. Always present.
|
|
2832
|
-
#
|
|
2833
|
-
# - "`
|
|
2834
|
-
# - "`Easter`"
|
|
2835
|
-
# - "`Father's Day`"
|
|
2836
|
-
# - "`Halloween`"
|
|
2837
|
-
# - "`Independence Day (USA)`"
|
|
2838
|
-
# - "`Mother's Day`"
|
|
2839
|
-
# - "`Thanksgiving`"
|
|
2840
|
-
# - "`Valentine's Day`"
|
|
2934
|
+
# The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`
|
|
2935
|
+
# Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`
|
|
2936
|
+
# Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
|
|
2841
2937
|
# Corresponds to the JSON property `type`
|
|
2842
2938
|
# @return [String]
|
|
2843
2939
|
attr_accessor :type
|
|
@@ -2916,9 +3012,8 @@ module Google
|
|
|
2916
3012
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
2917
3013
|
attr_accessor :total_amount
|
|
2918
3014
|
|
|
2919
|
-
# [required] Type of the additional charge.
|
|
2920
|
-
#
|
|
2921
|
-
# - "`shipping`"
|
|
3015
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
3016
|
+
#
|
|
2922
3017
|
# Corresponds to the JSON property `type`
|
|
2923
3018
|
# @return [String]
|
|
2924
3019
|
attr_accessor :type
|
|
@@ -2934,15 +3029,31 @@ module Google
|
|
|
2934
3029
|
end
|
|
2935
3030
|
end
|
|
2936
3031
|
|
|
3032
|
+
# The IDs of labels that should be assigned to the CSS domain.
|
|
3033
|
+
class LabelIds
|
|
3034
|
+
include Google::Apis::Core::Hashable
|
|
3035
|
+
|
|
3036
|
+
# The list of label IDs.
|
|
3037
|
+
# Corresponds to the JSON property `labelIds`
|
|
3038
|
+
# @return [Array<Fixnum>]
|
|
3039
|
+
attr_accessor :label_ids
|
|
3040
|
+
|
|
3041
|
+
def initialize(**args)
|
|
3042
|
+
update!(**args)
|
|
3043
|
+
end
|
|
3044
|
+
|
|
3045
|
+
# Update properties of this object
|
|
3046
|
+
def update!(**args)
|
|
3047
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
3048
|
+
end
|
|
3049
|
+
end
|
|
3050
|
+
|
|
2937
3051
|
#
|
|
2938
3052
|
class LiaAboutPageSettings
|
|
2939
3053
|
include Google::Apis::Core::Hashable
|
|
2940
3054
|
|
|
2941
|
-
# The status of the verification process for the About page.
|
|
2942
|
-
#
|
|
2943
|
-
# - "`active`"
|
|
2944
|
-
# - "`inactive`"
|
|
2945
|
-
# - "`pending`"
|
|
3055
|
+
# The status of the verification process for the About page. Acceptable values
|
|
3056
|
+
# are: - "`active`" - "`inactive`" - "`pending`"
|
|
2946
3057
|
# Corresponds to the JSON property `status`
|
|
2947
3058
|
# @return [String]
|
|
2948
3059
|
attr_accessor :status
|
|
@@ -3034,20 +3145,14 @@ module Google
|
|
|
3034
3145
|
# @return [String]
|
|
3035
3146
|
attr_accessor :inventory_verification_contact_name
|
|
3036
3147
|
|
|
3037
|
-
# The status of the verification contact.
|
|
3038
|
-
#
|
|
3039
|
-
# - "`active`"
|
|
3040
|
-
# - "`inactive`"
|
|
3041
|
-
# - "`pending`"
|
|
3148
|
+
# The status of the verification contact. Acceptable values are: - "`active`" - "
|
|
3149
|
+
# `inactive`" - "`pending`"
|
|
3042
3150
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
|
3043
3151
|
# @return [String]
|
|
3044
3152
|
attr_accessor :inventory_verification_contact_status
|
|
3045
3153
|
|
|
3046
|
-
# The status of the inventory verification process.
|
|
3047
|
-
#
|
|
3048
|
-
# - "`active`"
|
|
3049
|
-
# - "`inactive`"
|
|
3050
|
-
# - "`pending`"
|
|
3154
|
+
# The status of the inventory verification process. Acceptable values are: - "`
|
|
3155
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3051
3156
|
# Corresponds to the JSON property `status`
|
|
3052
3157
|
# @return [String]
|
|
3053
3158
|
attr_accessor :status
|
|
@@ -3074,11 +3179,8 @@ module Google
|
|
|
3074
3179
|
# @return [String]
|
|
3075
3180
|
attr_accessor :shipping_cost_policy_url
|
|
3076
3181
|
|
|
3077
|
-
# The status of the ?On display to order? feature.
|
|
3078
|
-
#
|
|
3079
|
-
# - "`active`"
|
|
3080
|
-
# - "`inactive`"
|
|
3081
|
-
# - "`pending`"
|
|
3182
|
+
# The status of the ?On display to order? feature. Acceptable values are: - "`
|
|
3183
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3082
3184
|
# Corresponds to the JSON property `status`
|
|
3083
3185
|
# @return [String]
|
|
3084
3186
|
attr_accessor :status
|
|
@@ -3219,14 +3321,10 @@ module Google
|
|
|
3219
3321
|
# @return [Fixnum]
|
|
3220
3322
|
attr_accessor :merchant_id
|
|
3221
3323
|
|
|
3222
|
-
# The method of the batch entry.
|
|
3223
|
-
#
|
|
3224
|
-
# - "`
|
|
3225
|
-
#
|
|
3226
|
-
# - "`requestGmbAccess`"
|
|
3227
|
-
# - "`requestInventoryVerification`"
|
|
3228
|
-
# - "`setInventoryVerificationContact`"
|
|
3229
|
-
# - "`update`"
|
|
3324
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`
|
|
3325
|
+
# getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
|
|
3326
|
+
# requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
|
|
3327
|
+
# update`"
|
|
3230
3328
|
# Corresponds to the JSON property `method`
|
|
3231
3329
|
# @return [String]
|
|
3232
3330
|
attr_accessor :method_prop
|
|
@@ -3301,7 +3399,7 @@ module Google
|
|
|
3301
3399
|
# @return [Google::Apis::ContentV2_1::Errors]
|
|
3302
3400
|
attr_accessor :errors
|
|
3303
3401
|
|
|
3304
|
-
# The
|
|
3402
|
+
# The list of accessible GMB accounts.
|
|
3305
3403
|
# Corresponds to the JSON property `gmbAccounts`
|
|
3306
3404
|
# @return [Google::Apis::ContentV2_1::GmbAccounts]
|
|
3307
3405
|
attr_accessor :gmb_accounts
|
|
@@ -3512,20 +3610,15 @@ module Google
|
|
|
3512
3610
|
class LinkService
|
|
3513
3611
|
include Google::Apis::Core::Hashable
|
|
3514
3612
|
|
|
3515
|
-
# Service provided to or by the linked account.
|
|
3516
|
-
#
|
|
3517
|
-
#
|
|
3518
|
-
# - "`shoppingActionsProductManagement`"
|
|
3519
|
-
# - "`shoppingAdsProductManagement`"
|
|
3613
|
+
# Service provided to or by the linked account. Acceptable values are: - "`
|
|
3614
|
+
# shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
|
|
3615
|
+
# shoppingAdsProductManagement`"
|
|
3520
3616
|
# Corresponds to the JSON property `service`
|
|
3521
3617
|
# @return [String]
|
|
3522
3618
|
attr_accessor :service
|
|
3523
3619
|
|
|
3524
|
-
# Status of the link
|
|
3525
|
-
#
|
|
3526
|
-
# - "`active`"
|
|
3527
|
-
# - "`inactive`"
|
|
3528
|
-
# - "`pending`"
|
|
3620
|
+
# Status of the link Acceptable values are: - "`active`" - "`inactive`" - "`
|
|
3621
|
+
# pending`"
|
|
3529
3622
|
# Corresponds to the JSON property `status`
|
|
3530
3623
|
# @return [String]
|
|
3531
3624
|
attr_accessor :status
|
|
@@ -3566,6 +3659,110 @@ module Google
|
|
|
3566
3659
|
end
|
|
3567
3660
|
end
|
|
3568
3661
|
|
|
3662
|
+
# Response message for the `ListAccountLabels` method.
|
|
3663
|
+
class ListAccountLabelsResponse
|
|
3664
|
+
include Google::Apis::Core::Hashable
|
|
3665
|
+
|
|
3666
|
+
# The labels from the specified account.
|
|
3667
|
+
# Corresponds to the JSON property `accountLabels`
|
|
3668
|
+
# @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
|
|
3669
|
+
attr_accessor :account_labels
|
|
3670
|
+
|
|
3671
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3672
|
+
# field is omitted, there are no subsequent pages.
|
|
3673
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3674
|
+
# @return [String]
|
|
3675
|
+
attr_accessor :next_page_token
|
|
3676
|
+
|
|
3677
|
+
def initialize(**args)
|
|
3678
|
+
update!(**args)
|
|
3679
|
+
end
|
|
3680
|
+
|
|
3681
|
+
# Update properties of this object
|
|
3682
|
+
def update!(**args)
|
|
3683
|
+
@account_labels = args[:account_labels] if args.key?(:account_labels)
|
|
3684
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3685
|
+
end
|
|
3686
|
+
end
|
|
3687
|
+
|
|
3688
|
+
# The response message for the `ListCsses` method
|
|
3689
|
+
class ListCssesResponse
|
|
3690
|
+
include Google::Apis::Core::Hashable
|
|
3691
|
+
|
|
3692
|
+
# The CSS domains affiliated with the specified CSS group.
|
|
3693
|
+
# Corresponds to the JSON property `csses`
|
|
3694
|
+
# @return [Array<Google::Apis::ContentV2_1::Css>]
|
|
3695
|
+
attr_accessor :csses
|
|
3696
|
+
|
|
3697
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3698
|
+
# field is omitted, there are no subsequent pages.
|
|
3699
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3700
|
+
# @return [String]
|
|
3701
|
+
attr_accessor :next_page_token
|
|
3702
|
+
|
|
3703
|
+
def initialize(**args)
|
|
3704
|
+
update!(**args)
|
|
3705
|
+
end
|
|
3706
|
+
|
|
3707
|
+
# Update properties of this object
|
|
3708
|
+
def update!(**args)
|
|
3709
|
+
@csses = args[:csses] if args.key?(:csses)
|
|
3710
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3711
|
+
end
|
|
3712
|
+
end
|
|
3713
|
+
|
|
3714
|
+
# Response message for the `ListRegions` method.
|
|
3715
|
+
class ListRegionsResponse
|
|
3716
|
+
include Google::Apis::Core::Hashable
|
|
3717
|
+
|
|
3718
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3719
|
+
# field is omitted, there are no subsequent pages.
|
|
3720
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3721
|
+
# @return [String]
|
|
3722
|
+
attr_accessor :next_page_token
|
|
3723
|
+
|
|
3724
|
+
# The regions from the specified merchant.
|
|
3725
|
+
# Corresponds to the JSON property `regions`
|
|
3726
|
+
# @return [Array<Google::Apis::ContentV2_1::Region>]
|
|
3727
|
+
attr_accessor :regions
|
|
3728
|
+
|
|
3729
|
+
def initialize(**args)
|
|
3730
|
+
update!(**args)
|
|
3731
|
+
end
|
|
3732
|
+
|
|
3733
|
+
# Update properties of this object
|
|
3734
|
+
def update!(**args)
|
|
3735
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3736
|
+
@regions = args[:regions] if args.key?(:regions)
|
|
3737
|
+
end
|
|
3738
|
+
end
|
|
3739
|
+
|
|
3740
|
+
# Response message for the `ListRepricingRules` method.
|
|
3741
|
+
class ListRepricingRulesResponse
|
|
3742
|
+
include Google::Apis::Core::Hashable
|
|
3743
|
+
|
|
3744
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3745
|
+
# field is omitted, there are no subsequent pages.
|
|
3746
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3747
|
+
# @return [String]
|
|
3748
|
+
attr_accessor :next_page_token
|
|
3749
|
+
|
|
3750
|
+
# The rules from the specified merchant.
|
|
3751
|
+
# Corresponds to the JSON property `repricingRules`
|
|
3752
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRule>]
|
|
3753
|
+
attr_accessor :repricing_rules
|
|
3754
|
+
|
|
3755
|
+
def initialize(**args)
|
|
3756
|
+
update!(**args)
|
|
3757
|
+
end
|
|
3758
|
+
|
|
3759
|
+
# Update properties of this object
|
|
3760
|
+
def update!(**args)
|
|
3761
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3762
|
+
@repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules)
|
|
3763
|
+
end
|
|
3764
|
+
end
|
|
3765
|
+
|
|
3569
3766
|
# Local inventory resource. For accepted attribute values, see the local product
|
|
3570
3767
|
# inventory feed specification.
|
|
3571
3768
|
class LocalInventory
|
|
@@ -3590,7 +3787,7 @@ module Google
|
|
|
3590
3787
|
|
|
3591
3788
|
# Supported pickup method for this offer. Unless the value is "not supported",
|
|
3592
3789
|
# this field must be submitted together with `pickupSla`. For accepted attribute
|
|
3593
|
-
# values, see the local product inventory feed specification.
|
|
3790
|
+
# values, see the local product inventory feed // specification.
|
|
3594
3791
|
# Corresponds to the JSON property `pickupMethod`
|
|
3595
3792
|
# @return [String]
|
|
3596
3793
|
attr_accessor :pickup_method
|
|
@@ -3686,9 +3883,7 @@ module Google
|
|
|
3686
3883
|
# @return [Fixnum]
|
|
3687
3884
|
attr_accessor :merchant_id
|
|
3688
3885
|
|
|
3689
|
-
# Method of the batch request entry.
|
|
3690
|
-
# Acceptable values are:
|
|
3691
|
-
# - "`insert`"
|
|
3886
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
3692
3887
|
# Corresponds to the JSON property `method`
|
|
3693
3888
|
# @return [String]
|
|
3694
3889
|
attr_accessor :method_prop
|
|
@@ -3936,13 +4131,8 @@ module Google
|
|
|
3936
4131
|
# @return [String]
|
|
3937
4132
|
attr_accessor :shipment_unit_id
|
|
3938
4133
|
|
|
3939
|
-
# State of the item.
|
|
3940
|
-
#
|
|
3941
|
-
# - "`canceled`"
|
|
3942
|
-
# - "`new`"
|
|
3943
|
-
# - "`received`"
|
|
3944
|
-
# - "`refunded`"
|
|
3945
|
-
# - "`rejected`"
|
|
4134
|
+
# State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
|
|
4135
|
+
# received`" - "`refunded`" - "`rejected`"
|
|
3946
4136
|
# Corresponds to the JSON property `state`
|
|
3947
4137
|
# @return [String]
|
|
3948
4138
|
attr_accessor :state
|
|
@@ -4069,8 +4259,7 @@ module Google
|
|
|
4069
4259
|
end
|
|
4070
4260
|
|
|
4071
4261
|
# Order. Production access (all methods) requires the order manager role.
|
|
4072
|
-
# Sandbox access does not.
|
|
4073
|
-
# orders ==)
|
|
4262
|
+
# Sandbox access does not.
|
|
4074
4263
|
class Order
|
|
4075
4264
|
include Google::Apis::Core::Hashable
|
|
4076
4265
|
|
|
@@ -4140,12 +4329,8 @@ module Google
|
|
|
4140
4329
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4141
4330
|
attr_accessor :net_tax_amount
|
|
4142
4331
|
|
|
4143
|
-
# The status of the payment.
|
|
4144
|
-
#
|
|
4145
|
-
# - "`paymentCaptured`"
|
|
4146
|
-
# - "`paymentRejected`"
|
|
4147
|
-
# - "`paymentSecured`"
|
|
4148
|
-
# - "`pendingAuthorization`"
|
|
4332
|
+
# The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
|
|
4333
|
+
# paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
|
|
4149
4334
|
# Corresponds to the JSON property `paymentStatus`
|
|
4150
4335
|
# @return [String]
|
|
4151
4336
|
attr_accessor :payment_status
|
|
@@ -4160,25 +4345,22 @@ module Google
|
|
|
4160
4345
|
# @return [String]
|
|
4161
4346
|
attr_accessor :placed_date
|
|
4162
4347
|
|
|
4163
|
-
# Promotions associated with the order.
|
|
4164
|
-
#
|
|
4165
|
-
#
|
|
4166
|
-
#
|
|
4167
|
-
#
|
|
4168
|
-
#
|
|
4169
|
-
#
|
|
4170
|
-
#
|
|
4171
|
-
#
|
|
4172
|
-
#
|
|
4173
|
-
# - To calculate price paid by the customer for a single line item including the
|
|
4174
|
-
# discount in case of multiple quantity: For each promotion, divide the `
|
|
4348
|
+
# Promotions associated with the order. To determine which promotions apply to
|
|
4349
|
+
# which products, check the `Promotions[].appliedItems[].lineItemId` field
|
|
4350
|
+
# against the `LineItems[].id` field for each promotion. If a promotion is
|
|
4351
|
+
# applied to more than 1 offerId, divide the discount value by the number of
|
|
4352
|
+
# affected offers to determine how much discount to apply to each offerId.
|
|
4353
|
+
# Examples: 1. To calculate price paid by the customer for a single line item
|
|
4354
|
+
# including the discount: For each promotion, subtract the `LineItems[].
|
|
4355
|
+
# adjustments[].priceAdjustment.value` amount from the `LineItems[].Price.value`.
|
|
4356
|
+
# 2. To calculate price paid by the customer for a single line item including
|
|
4357
|
+
# the discount in case of multiple quantity: For each promotion, divide the `
|
|
4175
4358
|
# LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
|
|
4176
4359
|
# then subtract the resulting value from the `LineItems[].Product.Price.value`
|
|
4177
|
-
# for each quantity item.
|
|
4178
|
-
#
|
|
4179
|
-
#
|
|
4180
|
-
#
|
|
4181
|
-
# More details about the program are here.
|
|
4360
|
+
# for each quantity item. Only 1 promotion can be applied to an offerId in a
|
|
4361
|
+
# given order. To refund an item which had a promotion applied to it, make sure
|
|
4362
|
+
# to refund the amount after first subtracting the promotion discount from the
|
|
4363
|
+
# item price. More details about the program are here.
|
|
4182
4364
|
# Corresponds to the JSON property `promotions`
|
|
4183
4365
|
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
|
|
4184
4366
|
attr_accessor :promotions
|
|
@@ -4203,25 +4385,15 @@ module Google
|
|
|
4203
4385
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4204
4386
|
attr_accessor :shipping_cost_tax
|
|
4205
4387
|
|
|
4206
|
-
# The status of the order.
|
|
4207
|
-
#
|
|
4208
|
-
# - "`
|
|
4209
|
-
# - "`delivered`"
|
|
4210
|
-
# - "`inProgress`"
|
|
4211
|
-
# - "`partiallyDelivered`"
|
|
4212
|
-
# - "`partiallyReturned`"
|
|
4213
|
-
# - "`partiallyShipped`"
|
|
4214
|
-
# - "`pendingShipment`"
|
|
4215
|
-
# - "`returned`"
|
|
4216
|
-
# - "`shipped`"
|
|
4388
|
+
# The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
|
|
4389
|
+
# - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
|
|
4390
|
+
# partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
|
|
4217
4391
|
# Corresponds to the JSON property `status`
|
|
4218
4392
|
# @return [String]
|
|
4219
4393
|
attr_accessor :status
|
|
4220
4394
|
|
|
4221
|
-
# The party responsible for collecting and remitting taxes.
|
|
4222
|
-
#
|
|
4223
|
-
# - "`marketplaceFacilitator`"
|
|
4224
|
-
# - "`merchant`"
|
|
4395
|
+
# The party responsible for collecting and remitting taxes. Acceptable values
|
|
4396
|
+
# are: - "`marketplaceFacilitator`" - "`merchant`"
|
|
4225
4397
|
# Corresponds to the JSON property `taxCollector`
|
|
4226
4398
|
# @return [String]
|
|
4227
4399
|
attr_accessor :tax_collector
|
|
@@ -4267,11 +4439,8 @@ module Google
|
|
|
4267
4439
|
attr_accessor :country
|
|
4268
4440
|
|
|
4269
4441
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
4270
|
-
# example:
|
|
4271
|
-
#
|
|
4272
|
-
# 1600 Amphitheatre Parkway
|
|
4273
|
-
# Mountain View, CA, 94043
|
|
4274
|
-
# United States
|
|
4442
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
4443
|
+
# States
|
|
4275
4444
|
# Corresponds to the JSON property `fullAddress`
|
|
4276
4445
|
# @return [Array<String>]
|
|
4277
4446
|
attr_accessor :full_address
|
|
@@ -4330,14 +4499,9 @@ module Google
|
|
|
4330
4499
|
class OrderCancellation
|
|
4331
4500
|
include Google::Apis::Core::Hashable
|
|
4332
4501
|
|
|
4333
|
-
# The actor that created the cancellation.
|
|
4334
|
-
#
|
|
4335
|
-
# - "`
|
|
4336
|
-
# - "`googleBot`"
|
|
4337
|
-
# - "`googleCustomerService`"
|
|
4338
|
-
# - "`googlePayments`"
|
|
4339
|
-
# - "`googleSabre`"
|
|
4340
|
-
# - "`merchant`"
|
|
4502
|
+
# The actor that created the cancellation. Acceptable values are: - "`customer`"
|
|
4503
|
+
# - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
|
|
4504
|
+
# googleSabre`" - "`merchant`"
|
|
4341
4505
|
# Corresponds to the JSON property `actor`
|
|
4342
4506
|
# @return [String]
|
|
4343
4507
|
attr_accessor :actor
|
|
@@ -4353,37 +4517,20 @@ module Google
|
|
|
4353
4517
|
attr_accessor :quantity
|
|
4354
4518
|
|
|
4355
4519
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
|
4356
|
-
# reason will lead to the removal of the product from
|
|
4520
|
+
# reason will lead to the removal of the product from Buy on Google until you
|
|
4357
4521
|
# make an update to that product. This will not affect your Shopping ads.
|
|
4358
|
-
# Acceptable values are:
|
|
4359
|
-
# - "`
|
|
4360
|
-
# - "`
|
|
4361
|
-
# - "`
|
|
4362
|
-
# - "`
|
|
4363
|
-
# - "`
|
|
4364
|
-
# - "`
|
|
4365
|
-
# - "`
|
|
4366
|
-
# - "`
|
|
4367
|
-
# - "`
|
|
4368
|
-
# - "`
|
|
4369
|
-
#
|
|
4370
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
4371
|
-
# - "`failToPushOrderToMerchant`"
|
|
4372
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
4373
|
-
# - "`invalidCoupon`"
|
|
4374
|
-
# - "`malformedShippingAddress`"
|
|
4375
|
-
# - "`merchantDidNotShipOnTime`"
|
|
4376
|
-
# - "`noInventory`"
|
|
4377
|
-
# - "`orderTimeout`"
|
|
4378
|
-
# - "`other`"
|
|
4379
|
-
# - "`paymentAbuse`"
|
|
4380
|
-
# - "`paymentDeclined`"
|
|
4381
|
-
# - "`priceError`"
|
|
4382
|
-
# - "`returnRefundAbuse`"
|
|
4383
|
-
# - "`shippingPriceError`"
|
|
4384
|
-
# - "`taxError`"
|
|
4385
|
-
# - "`undeliverableShippingAddress`"
|
|
4386
|
-
# - "`unsupportedPoBoxAddress`"
|
|
4522
|
+
# Acceptable values are: - "`autoPostInternal`" - "`
|
|
4523
|
+
# autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
|
|
4524
|
+
# autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
4525
|
+
# couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "`
|
|
4526
|
+
# customerSupportRequested`" - "`failToPushOrderGoogleError`" - "`
|
|
4527
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
4528
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
4529
|
+
# invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" -
|
|
4530
|
+
# "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
|
|
4531
|
+
# paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
|
|
4532
|
+
# shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
4533
|
+
# unsupportedPoBoxAddress`"
|
|
4387
4534
|
# Corresponds to the JSON property `reason`
|
|
4388
4535
|
# @return [String]
|
|
4389
4536
|
attr_accessor :reason
|
|
@@ -4418,8 +4565,8 @@ module Google
|
|
|
4418
4565
|
|
|
4419
4566
|
# Email address for the merchant to send value-added tax or invoice
|
|
4420
4567
|
# documentation of the order. Only the last document sent is made available to
|
|
4421
|
-
# the customer. For more information, see
|
|
4422
|
-
#
|
|
4568
|
+
# the customer. For more information, see About automated VAT invoicing for Buy
|
|
4569
|
+
# on Google.
|
|
4423
4570
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
|
4424
4571
|
# @return [String]
|
|
4425
4572
|
attr_accessor :invoice_receiving_email
|
|
@@ -4483,10 +4630,8 @@ module Google
|
|
|
4483
4630
|
# cases this selection might not be known, so this field would be empty. If a
|
|
4484
4631
|
# customer selected `granted` in their most recent order, they can be subscribed
|
|
4485
4632
|
# to marketing emails. Customers who have chosen `denied` must not be subscribed,
|
|
4486
|
-
# or must be unsubscribed if already opted-in.
|
|
4487
|
-
#
|
|
4488
|
-
# - "`denied`"
|
|
4489
|
-
# - "`granted`"
|
|
4633
|
+
# or must be unsubscribed if already opted-in. Acceptable values are: - "`
|
|
4634
|
+
# denied`" - "`granted`"
|
|
4490
4635
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
|
4491
4636
|
# @return [String]
|
|
4492
4637
|
attr_accessor :explicit_marketing_preference
|
|
@@ -4680,9 +4825,7 @@ module Google
|
|
|
4680
4825
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4681
4826
|
attr_accessor :tax_adjustment
|
|
4682
4827
|
|
|
4683
|
-
# Type of this adjustment.
|
|
4684
|
-
# Acceptable values are:
|
|
4685
|
-
# - "`promotion`"
|
|
4828
|
+
# Type of this adjustment. Acceptable values are: - "`promotion`"
|
|
4686
4829
|
# Corresponds to the JSON property `type`
|
|
4687
4830
|
# @return [String]
|
|
4688
4831
|
attr_accessor :type
|
|
@@ -4708,11 +4851,8 @@ module Google
|
|
|
4708
4851
|
# @return [String]
|
|
4709
4852
|
attr_accessor :brand
|
|
4710
4853
|
|
|
4711
|
-
# Condition or state of the item.
|
|
4712
|
-
#
|
|
4713
|
-
# - "`new`"
|
|
4714
|
-
# - "`refurbished`"
|
|
4715
|
-
# - "`used`"
|
|
4854
|
+
# Condition or state of the item. Acceptable values are: - "`new`" - "`
|
|
4855
|
+
# refurbished`" - "`used`"
|
|
4716
4856
|
# Corresponds to the JSON property `condition`
|
|
4717
4857
|
# @return [String]
|
|
4718
4858
|
attr_accessor :condition
|
|
@@ -4767,7 +4907,7 @@ module Google
|
|
|
4767
4907
|
# @return [String]
|
|
4768
4908
|
attr_accessor :shown_image
|
|
4769
4909
|
|
|
4770
|
-
# The CLDR territory code of the target country of the product.
|
|
4910
|
+
# The CLDR territory // code of the target country of the product.
|
|
4771
4911
|
# Corresponds to the JSON property `targetCountry`
|
|
4772
4912
|
# @return [String]
|
|
4773
4913
|
attr_accessor :target_country
|
|
@@ -4916,10 +5056,8 @@ module Google
|
|
|
4916
5056
|
attr_accessor :ship_by_date
|
|
4917
5057
|
|
|
4918
5058
|
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
|
4919
|
-
# applicable for this shipment.
|
|
4920
|
-
#
|
|
4921
|
-
# - "`delivery`"
|
|
4922
|
-
# - "`pickup`"
|
|
5059
|
+
# applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
|
|
5060
|
+
# "
|
|
4923
5061
|
# Corresponds to the JSON property `type`
|
|
4924
5062
|
# @return [String]
|
|
4925
5063
|
attr_accessor :type
|
|
@@ -5049,13 +5187,9 @@ module Google
|
|
|
5049
5187
|
# @return [String]
|
|
5050
5188
|
attr_accessor :location_id
|
|
5051
5189
|
|
|
5052
|
-
# The pickup type of this order.
|
|
5053
|
-
#
|
|
5054
|
-
#
|
|
5055
|
-
# - "`merchantStoreCurbside`"
|
|
5056
|
-
# - "`merchantStoreLocker`"
|
|
5057
|
-
# - "`thirdPartyPickupPoint`"
|
|
5058
|
-
# - "`thirdPartyLocker`"
|
|
5190
|
+
# The pickup type of this order. Acceptable values are: - "`merchantStore`" - "`
|
|
5191
|
+
# merchantStoreCurbside`" - "`merchantStoreLocker`" - "`thirdPartyPickupPoint`" -
|
|
5192
|
+
# "`thirdPartyLocker`"
|
|
5059
5193
|
# Corresponds to the JSON property `pickupType`
|
|
5060
5194
|
# @return [String]
|
|
5061
5195
|
attr_accessor :pickup_type
|
|
@@ -5123,10 +5257,7 @@ module Google
|
|
|
5123
5257
|
attr_accessor :end_time
|
|
5124
5258
|
|
|
5125
5259
|
# Required. The party funding the promotion. Only `merchant` is supported for `
|
|
5126
|
-
# orders.createtestorder`.
|
|
5127
|
-
# Acceptable values are:
|
|
5128
|
-
# - "`google`"
|
|
5129
|
-
# - "`merchant`"
|
|
5260
|
+
# orders.createtestorder`. Acceptable values are: - "`google`" - "`merchant`"
|
|
5130
5261
|
# Corresponds to the JSON property `funder`
|
|
5131
5262
|
# @return [String]
|
|
5132
5263
|
attr_accessor :funder
|
|
@@ -5156,22 +5287,11 @@ module Google
|
|
|
5156
5287
|
attr_accessor :start_time
|
|
5157
5288
|
|
|
5158
5289
|
# Required. The category of the promotion. Only `moneyOff` is supported for `
|
|
5159
|
-
# orders.createtestorder`.
|
|
5160
|
-
#
|
|
5161
|
-
# - "`
|
|
5162
|
-
# - "`
|
|
5163
|
-
# - "`
|
|
5164
|
-
# - "`buyMGetPercentOff`"
|
|
5165
|
-
# - "`freeGift`"
|
|
5166
|
-
# - "`freeGiftWithItemId`"
|
|
5167
|
-
# - "`freeGiftWithValue`"
|
|
5168
|
-
# - "`freeShippingOvernight`"
|
|
5169
|
-
# - "`freeShippingStandard`"
|
|
5170
|
-
# - "`freeShippingTwoDay`"
|
|
5171
|
-
# - "`moneyOff`"
|
|
5172
|
-
# - "`percentOff`"
|
|
5173
|
-
# - "`rewardPoints`"
|
|
5174
|
-
# - "`salePrice`"
|
|
5290
|
+
# orders.createtestorder`. Acceptable values are: - "`buyMGetMoneyOff`" - "`
|
|
5291
|
+
# buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "`buyMGetPercentOff`" - "`
|
|
5292
|
+
# freeGift`" - "`freeGiftWithItemId`" - "`freeGiftWithValue`" - "`
|
|
5293
|
+
# freeShippingOvernight`" - "`freeShippingStandard`" - "`freeShippingTwoDay`" - "
|
|
5294
|
+
# `moneyOff`" - "`percentOff`" - "`rewardPoints`" - "`salePrice`"
|
|
5175
5295
|
# Corresponds to the JSON property `subtype`
|
|
5176
5296
|
# @return [String]
|
|
5177
5297
|
attr_accessor :subtype
|
|
@@ -5188,10 +5308,7 @@ module Google
|
|
|
5188
5308
|
attr_accessor :title
|
|
5189
5309
|
|
|
5190
5310
|
# Required. The scope of the promotion. Only `product` is supported for `orders.
|
|
5191
|
-
# createtestorder`.
|
|
5192
|
-
# Acceptable values are:
|
|
5193
|
-
# - "`product`"
|
|
5194
|
-
# - "`shipping`"
|
|
5311
|
+
# createtestorder`. Acceptable values are: - "`product`" - "`shipping`"
|
|
5195
5312
|
# Corresponds to the JSON property `type`
|
|
5196
5313
|
# @return [String]
|
|
5197
5314
|
attr_accessor :type
|
|
@@ -5259,13 +5376,8 @@ module Google
|
|
|
5259
5376
|
class OrderRefund
|
|
5260
5377
|
include Google::Apis::Core::Hashable
|
|
5261
5378
|
|
|
5262
|
-
# The actor that created the refund.
|
|
5263
|
-
#
|
|
5264
|
-
# - "`customer`"
|
|
5265
|
-
# - "`googleBot`"
|
|
5266
|
-
# - "`googleCustomerService`"
|
|
5267
|
-
# - "`googlePayments`"
|
|
5268
|
-
# - "`googleSabre`"
|
|
5379
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5380
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5269
5381
|
# - "`merchant`"
|
|
5270
5382
|
# Corresponds to the JSON property `actor`
|
|
5271
5383
|
# @return [String]
|
|
@@ -5281,52 +5393,23 @@ module Google
|
|
|
5281
5393
|
# @return [String]
|
|
5282
5394
|
attr_accessor :creation_date
|
|
5283
5395
|
|
|
5284
|
-
# The reason for the refund.
|
|
5285
|
-
#
|
|
5286
|
-
# - "`
|
|
5287
|
-
# - "`
|
|
5288
|
-
# - "`
|
|
5289
|
-
# - "`
|
|
5290
|
-
# - "`
|
|
5291
|
-
# - "`
|
|
5292
|
-
# - "`
|
|
5293
|
-
# - "`
|
|
5294
|
-
# - "`
|
|
5295
|
-
# - "`
|
|
5296
|
-
# - "`
|
|
5297
|
-
# - "`
|
|
5298
|
-
# - "`
|
|
5299
|
-
# - "`
|
|
5300
|
-
# - "`
|
|
5301
|
-
# - "`failToPushOrderGoogleError`"
|
|
5302
|
-
# - "`failToPushOrderMerchantError`"
|
|
5303
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
5304
|
-
# - "`failToPushOrderToMerchant`"
|
|
5305
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
5306
|
-
# - "`feeAdjustment`"
|
|
5307
|
-
# - "`invalidCoupon`"
|
|
5308
|
-
# - "`lateShipmentCredit`"
|
|
5309
|
-
# - "`malformedShippingAddress`"
|
|
5310
|
-
# - "`merchantDidNotShipOnTime`"
|
|
5311
|
-
# - "`noInventory`"
|
|
5312
|
-
# - "`orderTimeout`"
|
|
5313
|
-
# - "`other`"
|
|
5314
|
-
# - "`paymentAbuse`"
|
|
5315
|
-
# - "`paymentDeclined`"
|
|
5316
|
-
# - "`priceAdjustment`"
|
|
5317
|
-
# - "`priceError`"
|
|
5318
|
-
# - "`productArrivedDamaged`"
|
|
5319
|
-
# - "`productNotAsDescribed`"
|
|
5320
|
-
# - "`promoReallocation`"
|
|
5321
|
-
# - "`qualityNotAsExpected`"
|
|
5322
|
-
# - "`returnRefundAbuse`"
|
|
5323
|
-
# - "`shippingCostAdjustment`"
|
|
5324
|
-
# - "`shippingPriceError`"
|
|
5325
|
-
# - "`taxAdjustment`"
|
|
5326
|
-
# - "`taxError`"
|
|
5327
|
-
# - "`undeliverableShippingAddress`"
|
|
5328
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5329
|
-
# - "`wrongProductShipped`"
|
|
5396
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
5397
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
5398
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
5399
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
5400
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5401
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
5402
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
5403
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
5404
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
5405
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
5406
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
5407
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
5408
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
5409
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
5410
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
5411
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
5412
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5330
5413
|
# Corresponds to the JSON property `reason`
|
|
5331
5414
|
# @return [String]
|
|
5332
5415
|
attr_accessor :reason
|
|
@@ -5350,8 +5433,7 @@ module Google
|
|
|
5350
5433
|
end
|
|
5351
5434
|
end
|
|
5352
5435
|
|
|
5353
|
-
# Order disbursement. All methods require the payment analyst role.
|
|
5354
|
-
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
|
5436
|
+
# Order disbursement. All methods require the payment analyst role.
|
|
5355
5437
|
class OrderReportDisbursement
|
|
5356
5438
|
include Google::Apis::Core::Hashable
|
|
5357
5439
|
|
|
@@ -5465,13 +5547,8 @@ module Google
|
|
|
5465
5547
|
class OrderReturn
|
|
5466
5548
|
include Google::Apis::Core::Hashable
|
|
5467
5549
|
|
|
5468
|
-
# The actor that created the refund.
|
|
5469
|
-
#
|
|
5470
|
-
# - "`customer`"
|
|
5471
|
-
# - "`googleBot`"
|
|
5472
|
-
# - "`googleCustomerService`"
|
|
5473
|
-
# - "`googlePayments`"
|
|
5474
|
-
# - "`googleSabre`"
|
|
5550
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5551
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5475
5552
|
# - "`merchant`"
|
|
5476
5553
|
# Corresponds to the JSON property `actor`
|
|
5477
5554
|
# @return [String]
|
|
@@ -5487,21 +5564,13 @@ module Google
|
|
|
5487
5564
|
# @return [Fixnum]
|
|
5488
5565
|
attr_accessor :quantity
|
|
5489
5566
|
|
|
5490
|
-
# The reason for the return.
|
|
5491
|
-
#
|
|
5492
|
-
# - "`
|
|
5493
|
-
# - "`
|
|
5494
|
-
# - "`
|
|
5495
|
-
# - "`
|
|
5496
|
-
#
|
|
5497
|
-
# - "`malformedShippingAddress`"
|
|
5498
|
-
# - "`other`"
|
|
5499
|
-
# - "`productArrivedDamaged`"
|
|
5500
|
-
# - "`productNotAsDescribed`"
|
|
5501
|
-
# - "`qualityNotAsExpected`"
|
|
5502
|
-
# - "`undeliverableShippingAddress`"
|
|
5503
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5504
|
-
# - "`wrongProductShipped`"
|
|
5567
|
+
# The reason for the return. Acceptable values are: - "`
|
|
5568
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5569
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
5570
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
5571
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
5572
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
5573
|
+
# wrongProductShipped`"
|
|
5505
5574
|
# Corresponds to the JSON property `reason`
|
|
5506
5575
|
# @return [String]
|
|
5507
5576
|
attr_accessor :reason
|
|
@@ -5529,59 +5598,33 @@ module Google
|
|
|
5529
5598
|
class OrderShipment
|
|
5530
5599
|
include Google::Apis::Core::Hashable
|
|
5531
5600
|
|
|
5532
|
-
# The carrier handling the shipment.
|
|
5533
|
-
#
|
|
5534
|
-
#
|
|
5535
|
-
#
|
|
5536
|
-
#
|
|
5537
|
-
#
|
|
5538
|
-
# updates
|
|
5539
|
-
#
|
|
5540
|
-
# - "`
|
|
5541
|
-
# - "`
|
|
5542
|
-
# - "`
|
|
5543
|
-
# - "`
|
|
5544
|
-
# - "`
|
|
5545
|
-
# - "`
|
|
5546
|
-
# - "`
|
|
5547
|
-
# - "`
|
|
5548
|
-
# - "`
|
|
5549
|
-
# - "`
|
|
5550
|
-
# - "`
|
|
5551
|
-
# - "`
|
|
5552
|
-
# - "`
|
|
5553
|
-
# - "`
|
|
5554
|
-
# - "`
|
|
5555
|
-
# - "`
|
|
5556
|
-
# - "`
|
|
5557
|
-
# - "`
|
|
5558
|
-
# - "`
|
|
5559
|
-
# - "`ptt`" (PTT Turkish Post)
|
|
5560
|
-
# - "`eub`" (ePacket)
|
|
5561
|
-
# - "`chukou1`" (Chukou1 Logistics)
|
|
5562
|
-
# - "`bestex`" (Best Express)
|
|
5563
|
-
# - "`canada post`" (Canada Post)
|
|
5564
|
-
# - "`purolator`" (Purolator)
|
|
5565
|
-
# - "`canpar`" (Canpar)
|
|
5566
|
-
# - "`india post`" (India Post)
|
|
5567
|
-
# - "`blue dart`" (Blue Dart)
|
|
5568
|
-
# - "`delhivery`" (Delhivery)
|
|
5569
|
-
# - "`dtdc`" (DTDC)
|
|
5570
|
-
# - "`tpc india`" (TPC India)
|
|
5571
|
-
# Supported carriers for FR are:
|
|
5572
|
-
# - "`la poste`" (La Poste) automatic status updates
|
|
5573
|
-
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
|
5574
|
-
# - "`ups`" (United Parcel Service) automatic status updates
|
|
5575
|
-
# - "`chronopost`" (Chronopost by La Poste)
|
|
5576
|
-
# - "`gls`" (General Logistics Systems France)
|
|
5577
|
-
# - "`dpd`" (DPD Group by GeoPost)
|
|
5578
|
-
# - "`bpost`" (Belgian Post Group)
|
|
5579
|
-
# - "`colis prive`" (Colis Privé)
|
|
5580
|
-
# - "`boxtal`" (Boxtal)
|
|
5581
|
-
# - "`geodis`" (GEODIS)
|
|
5582
|
-
# - "`tnt`" (TNT)
|
|
5583
|
-
# - "`db schenker`" (DB Schenker)
|
|
5584
|
-
# - "`aramex`" (Aramex)
|
|
5601
|
+
# The carrier handling the shipment. For supported carriers, Google includes the
|
|
5602
|
+
# carrier name and tracking URL in emails to customers. For select supported
|
|
5603
|
+
# carriers, Google also automatically updates the shipment status based on the
|
|
5604
|
+
# provided shipment ID. *Note:* You can also use unsupported carriers, but
|
|
5605
|
+
# emails to customers will not include the carrier name or tracking URL, and
|
|
5606
|
+
# there will be no automatic order status updates. Supported carriers for US are:
|
|
5607
|
+
# - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" (
|
|
5608
|
+
# United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) *
|
|
5609
|
+
# automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates*
|
|
5610
|
+
# (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`"
|
|
5611
|
+
# (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" (
|
|
5612
|
+
# LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery
|
|
5613
|
+
# Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD
|
|
5614
|
+
# Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "`
|
|
5615
|
+
# china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore
|
|
5616
|
+
# Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT
|
|
5617
|
+
# Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
|
|
5618
|
+
# " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
|
|
5619
|
+
# "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
|
|
5620
|
+
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
|
|
5621
|
+
# Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
|
|
5622
|
+
# updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
|
|
5623
|
+
# "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
|
|
5624
|
+
# Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
|
|
5625
|
+
# (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
|
|
5626
|
+
# Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
|
|
5627
|
+
# db schenker`" (DB Schenker) - "`aramex`" (Aramex)
|
|
5585
5628
|
# Corresponds to the JSON property `carrier`
|
|
5586
5629
|
# @return [String]
|
|
5587
5630
|
attr_accessor :carrier
|
|
@@ -5617,12 +5660,8 @@ module Google
|
|
|
5617
5660
|
# @return [String]
|
|
5618
5661
|
attr_accessor :shipment_group_id
|
|
5619
5662
|
|
|
5620
|
-
# The status of the shipment.
|
|
5621
|
-
#
|
|
5622
|
-
# - "`delivered`"
|
|
5623
|
-
# - "`readyForPickup`"
|
|
5624
|
-
# - "`shipped`"
|
|
5625
|
-
# - "`undeliverable`"
|
|
5663
|
+
# The status of the shipment. Acceptable values are: - "`delivered`" - "`
|
|
5664
|
+
# readyForPickup`" - "`shipped`" - "`undeliverable`"
|
|
5626
5665
|
# Corresponds to the JSON property `status`
|
|
5627
5666
|
# @return [String]
|
|
5628
5667
|
attr_accessor :status
|
|
@@ -5710,6 +5749,311 @@ module Google
|
|
|
5710
5749
|
end
|
|
5711
5750
|
end
|
|
5712
5751
|
|
|
5752
|
+
# Represents a merchant trade from which signals are extracted, e.g. shipping.
|
|
5753
|
+
class OrderTrackingSignal
|
|
5754
|
+
include Google::Apis::Core::Hashable
|
|
5755
|
+
|
|
5756
|
+
# The price represented as a number and currency.
|
|
5757
|
+
# Corresponds to the JSON property `customerShippingFee`
|
|
5758
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
|
5759
|
+
attr_accessor :customer_shipping_fee
|
|
5760
|
+
|
|
5761
|
+
# Required. The delivery postal code, as a continuous string without spaces or
|
|
5762
|
+
# dashes, e.g. "95016".
|
|
5763
|
+
# Corresponds to the JSON property `deliveryPostalCode`
|
|
5764
|
+
# @return [String]
|
|
5765
|
+
attr_accessor :delivery_postal_code
|
|
5766
|
+
|
|
5767
|
+
# Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/
|
|
5768
|
+
# latest/common/main/en.xml) for the shipping destination.
|
|
5769
|
+
# Corresponds to the JSON property `deliveryRegionCode`
|
|
5770
|
+
# @return [String]
|
|
5771
|
+
attr_accessor :delivery_region_code
|
|
5772
|
+
|
|
5773
|
+
# Information about line items in the order.
|
|
5774
|
+
# Corresponds to the JSON property `lineItems`
|
|
5775
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails>]
|
|
5776
|
+
attr_accessor :line_items
|
|
5777
|
+
|
|
5778
|
+
# The Google merchant ID of this order tracking signal. This value is optional.
|
|
5779
|
+
# If left unset, the caller's merchant ID is used. You must request access in
|
|
5780
|
+
# order to provide data on behalf of another merchant. For more information, see
|
|
5781
|
+
# [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-
|
|
5782
|
+
# signals).
|
|
5783
|
+
# Corresponds to the JSON property `merchantId`
|
|
5784
|
+
# @return [Fixnum]
|
|
5785
|
+
attr_accessor :merchant_id
|
|
5786
|
+
|
|
5787
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5788
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5789
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5790
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5791
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5792
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5793
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5794
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5795
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5796
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5797
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5798
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5799
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5800
|
+
# to document and validate your application's limitations.
|
|
5801
|
+
# Corresponds to the JSON property `orderCreatedTime`
|
|
5802
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5803
|
+
attr_accessor :order_created_time
|
|
5804
|
+
|
|
5805
|
+
# Required. The ID of the order on the merchant side.
|
|
5806
|
+
# Corresponds to the JSON property `orderId`
|
|
5807
|
+
# @return [String]
|
|
5808
|
+
attr_accessor :order_id
|
|
5809
|
+
|
|
5810
|
+
# Output only. The ID that uniquely identifies this order tracking signal.
|
|
5811
|
+
# Corresponds to the JSON property `orderTrackingSignalId`
|
|
5812
|
+
# @return [Fixnum]
|
|
5813
|
+
attr_accessor :order_tracking_signal_id
|
|
5814
|
+
|
|
5815
|
+
# The mapping of the line items to the shipment information.
|
|
5816
|
+
# Corresponds to the JSON property `shipmentLineItemMapping`
|
|
5817
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping>]
|
|
5818
|
+
attr_accessor :shipment_line_item_mapping
|
|
5819
|
+
|
|
5820
|
+
# The shipping information for the order.
|
|
5821
|
+
# Corresponds to the JSON property `shippingInfo`
|
|
5822
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo>]
|
|
5823
|
+
attr_accessor :shipping_info
|
|
5824
|
+
|
|
5825
|
+
def initialize(**args)
|
|
5826
|
+
update!(**args)
|
|
5827
|
+
end
|
|
5828
|
+
|
|
5829
|
+
# Update properties of this object
|
|
5830
|
+
def update!(**args)
|
|
5831
|
+
@customer_shipping_fee = args[:customer_shipping_fee] if args.key?(:customer_shipping_fee)
|
|
5832
|
+
@delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
|
|
5833
|
+
@delivery_region_code = args[:delivery_region_code] if args.key?(:delivery_region_code)
|
|
5834
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
5835
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
5836
|
+
@order_created_time = args[:order_created_time] if args.key?(:order_created_time)
|
|
5837
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
|
5838
|
+
@order_tracking_signal_id = args[:order_tracking_signal_id] if args.key?(:order_tracking_signal_id)
|
|
5839
|
+
@shipment_line_item_mapping = args[:shipment_line_item_mapping] if args.key?(:shipment_line_item_mapping)
|
|
5840
|
+
@shipping_info = args[:shipping_info] if args.key?(:shipping_info)
|
|
5841
|
+
end
|
|
5842
|
+
end
|
|
5843
|
+
|
|
5844
|
+
# The line items of the order.
|
|
5845
|
+
class OrderTrackingSignalLineItemDetails
|
|
5846
|
+
include Google::Apis::Core::Hashable
|
|
5847
|
+
|
|
5848
|
+
# The Global Trade Item Number.
|
|
5849
|
+
# Corresponds to the JSON property `gtin`
|
|
5850
|
+
# @return [String]
|
|
5851
|
+
attr_accessor :gtin
|
|
5852
|
+
|
|
5853
|
+
# Required. The ID for this line item.
|
|
5854
|
+
# Corresponds to the JSON property `lineItemId`
|
|
5855
|
+
# @return [String]
|
|
5856
|
+
attr_accessor :line_item_id
|
|
5857
|
+
|
|
5858
|
+
# The manufacturer part number.
|
|
5859
|
+
# Corresponds to the JSON property `mpn`
|
|
5860
|
+
# @return [String]
|
|
5861
|
+
attr_accessor :mpn
|
|
5862
|
+
|
|
5863
|
+
# Required. The Content API REST ID of the product, in the form channel:
|
|
5864
|
+
# contentLanguage:targetCountry:offerId.
|
|
5865
|
+
# Corresponds to the JSON property `productId`
|
|
5866
|
+
# @return [String]
|
|
5867
|
+
attr_accessor :product_id
|
|
5868
|
+
|
|
5869
|
+
# Required. The quantity of the line item in the order.
|
|
5870
|
+
# Corresponds to the JSON property `quantity`
|
|
5871
|
+
# @return [Fixnum]
|
|
5872
|
+
attr_accessor :quantity
|
|
5873
|
+
|
|
5874
|
+
def initialize(**args)
|
|
5875
|
+
update!(**args)
|
|
5876
|
+
end
|
|
5877
|
+
|
|
5878
|
+
# Update properties of this object
|
|
5879
|
+
def update!(**args)
|
|
5880
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
5881
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
5882
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
|
5883
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
5884
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
5885
|
+
end
|
|
5886
|
+
end
|
|
5887
|
+
|
|
5888
|
+
# Represents how many items are in the shipment for the given shipment_id and
|
|
5889
|
+
# line_item_id.
|
|
5890
|
+
class OrderTrackingSignalShipmentLineItemMapping
|
|
5891
|
+
include Google::Apis::Core::Hashable
|
|
5892
|
+
|
|
5893
|
+
# Required. The line item ID.
|
|
5894
|
+
# Corresponds to the JSON property `lineItemId`
|
|
5895
|
+
# @return [String]
|
|
5896
|
+
attr_accessor :line_item_id
|
|
5897
|
+
|
|
5898
|
+
# Required. The line item quantity in the shipment.
|
|
5899
|
+
# Corresponds to the JSON property `quantity`
|
|
5900
|
+
# @return [Fixnum]
|
|
5901
|
+
attr_accessor :quantity
|
|
5902
|
+
|
|
5903
|
+
# Required. The shipment ID.
|
|
5904
|
+
# Corresponds to the JSON property `shipmentId`
|
|
5905
|
+
# @return [String]
|
|
5906
|
+
attr_accessor :shipment_id
|
|
5907
|
+
|
|
5908
|
+
def initialize(**args)
|
|
5909
|
+
update!(**args)
|
|
5910
|
+
end
|
|
5911
|
+
|
|
5912
|
+
# Update properties of this object
|
|
5913
|
+
def update!(**args)
|
|
5914
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
5915
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
5916
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
5917
|
+
end
|
|
5918
|
+
end
|
|
5919
|
+
|
|
5920
|
+
# The shipping information for the order.
|
|
5921
|
+
class OrderTrackingSignalShippingInfo
|
|
5922
|
+
include Google::Apis::Core::Hashable
|
|
5923
|
+
|
|
5924
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5925
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5926
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5927
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5928
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5929
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5930
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5931
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5932
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5933
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5934
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5935
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5936
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5937
|
+
# to document and validate your application's limitations.
|
|
5938
|
+
# Corresponds to the JSON property `actualDeliveryTime`
|
|
5939
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5940
|
+
attr_accessor :actual_delivery_time
|
|
5941
|
+
|
|
5942
|
+
# The name of the shipping carrier for the delivery. This field is required if
|
|
5943
|
+
# one of the following fields is absent: earliest_delivery_promise_time,
|
|
5944
|
+
# latest_delivery_promise_time, and actual_delivery_time.
|
|
5945
|
+
# Corresponds to the JSON property `carrierName`
|
|
5946
|
+
# @return [String]
|
|
5947
|
+
attr_accessor :carrier_name
|
|
5948
|
+
|
|
5949
|
+
# The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.
|
|
5950
|
+
# Corresponds to the JSON property `carrierServiceName`
|
|
5951
|
+
# @return [String]
|
|
5952
|
+
attr_accessor :carrier_service_name
|
|
5953
|
+
|
|
5954
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5955
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5956
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5957
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5958
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5959
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5960
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5961
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5962
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5963
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5964
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5965
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5966
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5967
|
+
# to document and validate your application's limitations.
|
|
5968
|
+
# Corresponds to the JSON property `earliestDeliveryPromiseTime`
|
|
5969
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5970
|
+
attr_accessor :earliest_delivery_promise_time
|
|
5971
|
+
|
|
5972
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5973
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5974
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5975
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5976
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5977
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5978
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5979
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5980
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5981
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5982
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5983
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5984
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5985
|
+
# to document and validate your application's limitations.
|
|
5986
|
+
# Corresponds to the JSON property `latestDeliveryPromiseTime`
|
|
5987
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5988
|
+
attr_accessor :latest_delivery_promise_time
|
|
5989
|
+
|
|
5990
|
+
# The origin postal code, as a continuous string without spaces or dashes, e.g. "
|
|
5991
|
+
# 95016".
|
|
5992
|
+
# Corresponds to the JSON property `originPostalCode`
|
|
5993
|
+
# @return [String]
|
|
5994
|
+
attr_accessor :origin_postal_code
|
|
5995
|
+
|
|
5996
|
+
# The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/
|
|
5997
|
+
# common/main/en.xml) for the shipping origin.
|
|
5998
|
+
# Corresponds to the JSON property `originRegionCode`
|
|
5999
|
+
# @return [String]
|
|
6000
|
+
attr_accessor :origin_region_code
|
|
6001
|
+
|
|
6002
|
+
# Required. The shipment ID.
|
|
6003
|
+
# Corresponds to the JSON property `shipmentId`
|
|
6004
|
+
# @return [String]
|
|
6005
|
+
attr_accessor :shipment_id
|
|
6006
|
+
|
|
6007
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
6008
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
6009
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
6010
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
6011
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
6012
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
6013
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
6014
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
6015
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
6016
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
6017
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
6018
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
6019
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
6020
|
+
# to document and validate your application's limitations.
|
|
6021
|
+
# Corresponds to the JSON property `shippedTime`
|
|
6022
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
6023
|
+
attr_accessor :shipped_time
|
|
6024
|
+
|
|
6025
|
+
# The status of the shipment.
|
|
6026
|
+
# Corresponds to the JSON property `shippingStatus`
|
|
6027
|
+
# @return [String]
|
|
6028
|
+
attr_accessor :shipping_status
|
|
6029
|
+
|
|
6030
|
+
# The tracking ID of the shipment. This field is required if one of the
|
|
6031
|
+
# following fields is absent: earliest_delivery_promise_time,
|
|
6032
|
+
# latest_delivery_promise_time, and actual_delivery_time.
|
|
6033
|
+
# Corresponds to the JSON property `trackingId`
|
|
6034
|
+
# @return [String]
|
|
6035
|
+
attr_accessor :tracking_id
|
|
6036
|
+
|
|
6037
|
+
def initialize(**args)
|
|
6038
|
+
update!(**args)
|
|
6039
|
+
end
|
|
6040
|
+
|
|
6041
|
+
# Update properties of this object
|
|
6042
|
+
def update!(**args)
|
|
6043
|
+
@actual_delivery_time = args[:actual_delivery_time] if args.key?(:actual_delivery_time)
|
|
6044
|
+
@carrier_name = args[:carrier_name] if args.key?(:carrier_name)
|
|
6045
|
+
@carrier_service_name = args[:carrier_service_name] if args.key?(:carrier_service_name)
|
|
6046
|
+
@earliest_delivery_promise_time = args[:earliest_delivery_promise_time] if args.key?(:earliest_delivery_promise_time)
|
|
6047
|
+
@latest_delivery_promise_time = args[:latest_delivery_promise_time] if args.key?(:latest_delivery_promise_time)
|
|
6048
|
+
@origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
|
|
6049
|
+
@origin_region_code = args[:origin_region_code] if args.key?(:origin_region_code)
|
|
6050
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
6051
|
+
@shipped_time = args[:shipped_time] if args.key?(:shipped_time)
|
|
6052
|
+
@shipping_status = args[:shipping_status] if args.key?(:shipping_status)
|
|
6053
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
6054
|
+
end
|
|
6055
|
+
end
|
|
6056
|
+
|
|
5713
6057
|
#
|
|
5714
6058
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
5715
6059
|
include Google::Apis::Core::Hashable
|
|
@@ -5760,10 +6104,8 @@ module Google
|
|
|
5760
6104
|
class OrderinvoicesCreateChargeInvoiceResponse
|
|
5761
6105
|
include Google::Apis::Core::Hashable
|
|
5762
6106
|
|
|
5763
|
-
# The status of the execution.
|
|
5764
|
-
#
|
|
5765
|
-
# - "`duplicate`"
|
|
5766
|
-
# - "`executed`"
|
|
6107
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6108
|
+
# executed`"
|
|
5767
6109
|
# Corresponds to the JSON property `executionStatus`
|
|
5768
6110
|
# @return [String]
|
|
5769
6111
|
attr_accessor :execution_status
|
|
@@ -5836,10 +6178,8 @@ module Google
|
|
|
5836
6178
|
class OrderinvoicesCreateRefundInvoiceResponse
|
|
5837
6179
|
include Google::Apis::Core::Hashable
|
|
5838
6180
|
|
|
5839
|
-
# The status of the execution.
|
|
5840
|
-
#
|
|
5841
|
-
# - "`duplicate`"
|
|
5842
|
-
# - "`executed`"
|
|
6181
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6182
|
+
# executed`"
|
|
5843
6183
|
# Corresponds to the JSON property `executionStatus`
|
|
5844
6184
|
# @return [String]
|
|
5845
6185
|
attr_accessor :execution_status
|
|
@@ -5870,52 +6210,23 @@ module Google
|
|
|
5870
6210
|
# @return [String]
|
|
5871
6211
|
attr_accessor :description
|
|
5872
6212
|
|
|
5873
|
-
# [required] Reason for the refund.
|
|
5874
|
-
#
|
|
5875
|
-
# - "`
|
|
5876
|
-
# - "`
|
|
5877
|
-
# - "`
|
|
5878
|
-
# - "`
|
|
5879
|
-
# - "`
|
|
5880
|
-
# - "`
|
|
5881
|
-
# - "`
|
|
5882
|
-
# - "`
|
|
5883
|
-
# - "`
|
|
5884
|
-
# - "`
|
|
5885
|
-
# - "`
|
|
5886
|
-
# - "`
|
|
5887
|
-
# - "`
|
|
5888
|
-
# - "`
|
|
5889
|
-
# - "`
|
|
5890
|
-
# - "`failToPushOrderGoogleError`"
|
|
5891
|
-
# - "`failToPushOrderMerchantError`"
|
|
5892
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
5893
|
-
# - "`failToPushOrderToMerchant`"
|
|
5894
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
5895
|
-
# - "`feeAdjustment`"
|
|
5896
|
-
# - "`invalidCoupon`"
|
|
5897
|
-
# - "`lateShipmentCredit`"
|
|
5898
|
-
# - "`malformedShippingAddress`"
|
|
5899
|
-
# - "`merchantDidNotShipOnTime`"
|
|
5900
|
-
# - "`noInventory`"
|
|
5901
|
-
# - "`orderTimeout`"
|
|
5902
|
-
# - "`other`"
|
|
5903
|
-
# - "`paymentAbuse`"
|
|
5904
|
-
# - "`paymentDeclined`"
|
|
5905
|
-
# - "`priceAdjustment`"
|
|
5906
|
-
# - "`priceError`"
|
|
5907
|
-
# - "`productArrivedDamaged`"
|
|
5908
|
-
# - "`productNotAsDescribed`"
|
|
5909
|
-
# - "`promoReallocation`"
|
|
5910
|
-
# - "`qualityNotAsExpected`"
|
|
5911
|
-
# - "`returnRefundAbuse`"
|
|
5912
|
-
# - "`shippingCostAdjustment`"
|
|
5913
|
-
# - "`shippingPriceError`"
|
|
5914
|
-
# - "`taxAdjustment`"
|
|
5915
|
-
# - "`taxError`"
|
|
5916
|
-
# - "`undeliverableShippingAddress`"
|
|
5917
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5918
|
-
# - "`wrongProductShipped`"
|
|
6213
|
+
# [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
6214
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
6215
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
6216
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
6217
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
6218
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
6219
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
6220
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
6221
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
6222
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
6223
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
6224
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
6225
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
6226
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
6227
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
6228
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
6229
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5919
6230
|
# Corresponds to the JSON property `reason`
|
|
5920
6231
|
# @return [String]
|
|
5921
6232
|
attr_accessor :reason
|
|
@@ -5940,21 +6251,13 @@ module Google
|
|
|
5940
6251
|
# @return [String]
|
|
5941
6252
|
attr_accessor :description
|
|
5942
6253
|
|
|
5943
|
-
# [required] Reason for the return.
|
|
5944
|
-
#
|
|
5945
|
-
# - "`
|
|
5946
|
-
# - "`
|
|
5947
|
-
# - "`
|
|
5948
|
-
# - "`
|
|
5949
|
-
#
|
|
5950
|
-
# - "`malformedShippingAddress`"
|
|
5951
|
-
# - "`other`"
|
|
5952
|
-
# - "`productArrivedDamaged`"
|
|
5953
|
-
# - "`productNotAsDescribed`"
|
|
5954
|
-
# - "`qualityNotAsExpected`"
|
|
5955
|
-
# - "`undeliverableShippingAddress`"
|
|
5956
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5957
|
-
# - "`wrongProductShipped`"
|
|
6254
|
+
# [required] Reason for the return. Acceptable values are: - "`
|
|
6255
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
6256
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
6257
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
6258
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
6259
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
6260
|
+
# wrongProductShipped`"
|
|
5958
6261
|
# Corresponds to the JSON property `reason`
|
|
5959
6262
|
# @return [String]
|
|
5960
6263
|
attr_accessor :reason
|
|
@@ -6058,10 +6361,8 @@ module Google
|
|
|
6058
6361
|
class OrderreturnsAcknowledgeResponse
|
|
6059
6362
|
include Google::Apis::Core::Hashable
|
|
6060
6363
|
|
|
6061
|
-
# The status of the execution.
|
|
6062
|
-
#
|
|
6063
|
-
# - "`duplicate`"
|
|
6064
|
-
# - "`executed`"
|
|
6364
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6365
|
+
# executed`"
|
|
6065
6366
|
# Corresponds to the JSON property `executionStatus`
|
|
6066
6367
|
# @return [String]
|
|
6067
6368
|
attr_accessor :execution_status
|
|
@@ -6124,10 +6425,8 @@ module Google
|
|
|
6124
6425
|
class OrderreturnsCreateOrderReturnResponse
|
|
6125
6426
|
include Google::Apis::Core::Hashable
|
|
6126
6427
|
|
|
6127
|
-
# The status of the execution.
|
|
6128
|
-
#
|
|
6129
|
-
# - "`duplicate`"
|
|
6130
|
-
# - "`executed`"
|
|
6428
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6429
|
+
# executed`"
|
|
6131
6430
|
# Corresponds to the JSON property `executionStatus`
|
|
6132
6431
|
# @return [String]
|
|
6133
6432
|
attr_accessor :execution_status
|
|
@@ -6284,10 +6583,8 @@ module Google
|
|
|
6284
6583
|
class OrderreturnsProcessResponse
|
|
6285
6584
|
include Google::Apis::Core::Hashable
|
|
6286
6585
|
|
|
6287
|
-
# The status of the execution.
|
|
6288
|
-
#
|
|
6289
|
-
# - "`duplicate`"
|
|
6290
|
-
# - "`executed`"
|
|
6586
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6587
|
+
# executed`"
|
|
6291
6588
|
# Corresponds to the JSON property `executionStatus`
|
|
6292
6589
|
# @return [String]
|
|
6293
6590
|
attr_accessor :execution_status
|
|
@@ -6437,10 +6734,8 @@ module Google
|
|
|
6437
6734
|
class OrdersAcknowledgeResponse
|
|
6438
6735
|
include Google::Apis::Core::Hashable
|
|
6439
6736
|
|
|
6440
|
-
# The status of the execution.
|
|
6441
|
-
#
|
|
6442
|
-
# - "`duplicate`"
|
|
6443
|
-
# - "`executed`"
|
|
6737
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6738
|
+
# executed`"
|
|
6444
6739
|
# Corresponds to the JSON property `executionStatus`
|
|
6445
6740
|
# @return [String]
|
|
6446
6741
|
attr_accessor :execution_status
|
|
@@ -6507,18 +6802,10 @@ module Google
|
|
|
6507
6802
|
# @return [Fixnum]
|
|
6508
6803
|
attr_accessor :quantity
|
|
6509
6804
|
|
|
6510
|
-
# The reason for the cancellation.
|
|
6511
|
-
#
|
|
6512
|
-
# - "`
|
|
6513
|
-
# - "`
|
|
6514
|
-
# - "`malformedShippingAddress`"
|
|
6515
|
-
# - "`noInventory`"
|
|
6516
|
-
# - "`other`"
|
|
6517
|
-
# - "`priceError`"
|
|
6518
|
-
# - "`shippingPriceError`"
|
|
6519
|
-
# - "`taxError`"
|
|
6520
|
-
# - "`undeliverableShippingAddress`"
|
|
6521
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6805
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6806
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6807
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6808
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6522
6809
|
# Corresponds to the JSON property `reason`
|
|
6523
6810
|
# @return [String]
|
|
6524
6811
|
attr_accessor :reason
|
|
@@ -6547,10 +6834,8 @@ module Google
|
|
|
6547
6834
|
class OrdersCancelLineItemResponse
|
|
6548
6835
|
include Google::Apis::Core::Hashable
|
|
6549
6836
|
|
|
6550
|
-
# The status of the execution.
|
|
6551
|
-
#
|
|
6552
|
-
# - "`duplicate`"
|
|
6553
|
-
# - "`executed`"
|
|
6837
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6838
|
+
# executed`"
|
|
6554
6839
|
# Corresponds to the JSON property `executionStatus`
|
|
6555
6840
|
# @return [String]
|
|
6556
6841
|
attr_accessor :execution_status
|
|
@@ -6581,18 +6866,10 @@ module Google
|
|
|
6581
6866
|
# @return [String]
|
|
6582
6867
|
attr_accessor :operation_id
|
|
6583
6868
|
|
|
6584
|
-
# The reason for the cancellation.
|
|
6585
|
-
#
|
|
6586
|
-
# - "`
|
|
6587
|
-
# - "`
|
|
6588
|
-
# - "`malformedShippingAddress`"
|
|
6589
|
-
# - "`noInventory`"
|
|
6590
|
-
# - "`other`"
|
|
6591
|
-
# - "`priceError`"
|
|
6592
|
-
# - "`shippingPriceError`"
|
|
6593
|
-
# - "`taxError`"
|
|
6594
|
-
# - "`undeliverableShippingAddress`"
|
|
6595
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6869
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6870
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6871
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6872
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6596
6873
|
# Corresponds to the JSON property `reason`
|
|
6597
6874
|
# @return [String]
|
|
6598
6875
|
attr_accessor :reason
|
|
@@ -6618,10 +6895,8 @@ module Google
|
|
|
6618
6895
|
class OrdersCancelResponse
|
|
6619
6896
|
include Google::Apis::Core::Hashable
|
|
6620
6897
|
|
|
6621
|
-
# The status of the execution.
|
|
6622
|
-
#
|
|
6623
|
-
# - "`duplicate`"
|
|
6624
|
-
# - "`executed`"
|
|
6898
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6899
|
+
# executed`"
|
|
6625
6900
|
# Corresponds to the JSON property `executionStatus`
|
|
6626
6901
|
# @return [String]
|
|
6627
6902
|
attr_accessor :execution_status
|
|
@@ -6647,11 +6922,8 @@ module Google
|
|
|
6647
6922
|
class OrdersCancelTestOrderByCustomerRequest
|
|
6648
6923
|
include Google::Apis::Core::Hashable
|
|
6649
6924
|
|
|
6650
|
-
# The reason for the cancellation.
|
|
6651
|
-
#
|
|
6652
|
-
# - "`changedMind`"
|
|
6653
|
-
# - "`orderedWrongItem`"
|
|
6654
|
-
# - "`other`"
|
|
6925
|
+
# The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
|
|
6926
|
+
# orderedWrongItem`" - "`other`"
|
|
6655
6927
|
# Corresponds to the JSON property `reason`
|
|
6656
6928
|
# @return [String]
|
|
6657
6929
|
attr_accessor :reason
|
|
@@ -6690,25 +6962,18 @@ module Google
|
|
|
6690
6962
|
class OrdersCreateTestOrderRequest
|
|
6691
6963
|
include Google::Apis::Core::Hashable
|
|
6692
6964
|
|
|
6693
|
-
# The
|
|
6965
|
+
# The CLDR territory code of the country of the test order to create. Affects
|
|
6694
6966
|
# the currency and addresses of orders created via `template_name`, or the
|
|
6695
|
-
# addresses of orders created via `test_order`.
|
|
6696
|
-
#
|
|
6697
|
-
# - "`US`"
|
|
6698
|
-
# - "`FR`" Defaults to `US`.
|
|
6967
|
+
# addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
|
|
6968
|
+
# "`FR`" Defaults to `US`.
|
|
6699
6969
|
# Corresponds to the JSON property `country`
|
|
6700
6970
|
# @return [String]
|
|
6701
6971
|
attr_accessor :country
|
|
6702
6972
|
|
|
6703
6973
|
# The test order template to use. Specify as an alternative to `testOrder` as a
|
|
6704
6974
|
# shortcut for retrieving a template and then creating an order using that
|
|
6705
|
-
# template.
|
|
6706
|
-
#
|
|
6707
|
-
# - "`template1`"
|
|
6708
|
-
# - "`template1a`"
|
|
6709
|
-
# - "`template1b`"
|
|
6710
|
-
# - "`template2`"
|
|
6711
|
-
# - "`template3`"
|
|
6975
|
+
# template. Acceptable values are: - "`template1`" - "`template1a`" - "`
|
|
6976
|
+
# template1b`" - "`template2`" - "`template3`"
|
|
6712
6977
|
# Corresponds to the JSON property `templateName`
|
|
6713
6978
|
# @return [String]
|
|
6714
6979
|
attr_accessor :template_name
|
|
@@ -6907,7 +7172,7 @@ module Google
|
|
|
6907
7172
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
6908
7173
|
include Google::Apis::Core::Hashable
|
|
6909
7174
|
|
|
6910
|
-
# The carrier handling the shipment. See `shipments[].carrier` in the
|
|
7175
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
|
6911
7176
|
# resource representation for a list of acceptable values.
|
|
6912
7177
|
# Corresponds to the JSON property `carrier`
|
|
6913
7178
|
# @return [String]
|
|
@@ -6947,8 +7212,7 @@ module Google
|
|
|
6947
7212
|
attr_accessor :kind
|
|
6948
7213
|
|
|
6949
7214
|
# Order. Production access (all methods) requires the order manager role.
|
|
6950
|
-
# Sandbox access does not.
|
|
6951
|
-
# orders ==)
|
|
7215
|
+
# Sandbox access does not.
|
|
6952
7216
|
# Corresponds to the JSON property `order`
|
|
6953
7217
|
# @return [Google::Apis::ContentV2_1::Order]
|
|
6954
7218
|
attr_accessor :order
|
|
@@ -7021,21 +7285,13 @@ module Google
|
|
|
7021
7285
|
# @return [Fixnum]
|
|
7022
7286
|
attr_accessor :quantity
|
|
7023
7287
|
|
|
7024
|
-
# The reason for the return.
|
|
7025
|
-
#
|
|
7026
|
-
# - "`
|
|
7027
|
-
# - "`
|
|
7028
|
-
# - "`
|
|
7029
|
-
# - "`
|
|
7030
|
-
#
|
|
7031
|
-
# - "`malformedShippingAddress`"
|
|
7032
|
-
# - "`other`"
|
|
7033
|
-
# - "`productArrivedDamaged`"
|
|
7034
|
-
# - "`productNotAsDescribed`"
|
|
7035
|
-
# - "`qualityNotAsExpected`"
|
|
7036
|
-
# - "`undeliverableShippingAddress`"
|
|
7037
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7038
|
-
# - "`wrongProductShipped`"
|
|
7288
|
+
# The reason for the return. Acceptable values are: - "`
|
|
7289
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
7290
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
7291
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
7292
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
7293
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
7294
|
+
# wrongProductShipped`"
|
|
7039
7295
|
# Corresponds to the JSON property `reason`
|
|
7040
7296
|
# @return [String]
|
|
7041
7297
|
attr_accessor :reason
|
|
@@ -7071,10 +7327,8 @@ module Google
|
|
|
7071
7327
|
class OrdersInStoreRefundLineItemResponse
|
|
7072
7328
|
include Google::Apis::Core::Hashable
|
|
7073
7329
|
|
|
7074
|
-
# The status of the execution.
|
|
7075
|
-
#
|
|
7076
|
-
# - "`duplicate`"
|
|
7077
|
-
# - "`executed`"
|
|
7330
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7331
|
+
# executed`"
|
|
7078
7332
|
# Corresponds to the JSON property `executionStatus`
|
|
7079
7333
|
# @return [String]
|
|
7080
7334
|
attr_accessor :execution_status
|
|
@@ -7143,22 +7397,12 @@ module Google
|
|
|
7143
7397
|
# @return [String]
|
|
7144
7398
|
attr_accessor :operation_id
|
|
7145
7399
|
|
|
7146
|
-
# The reason for the refund.
|
|
7147
|
-
#
|
|
7148
|
-
# - "`
|
|
7149
|
-
# - "`
|
|
7150
|
-
# - "`
|
|
7151
|
-
#
|
|
7152
|
-
# - "`courtesyAdjustment`"
|
|
7153
|
-
# - "`adjustment`"
|
|
7154
|
-
# - "`customerCancelled`"
|
|
7155
|
-
# - "`noInventory`"
|
|
7156
|
-
# - "`productNotAsDescribed`"
|
|
7157
|
-
# - "`undeliverableShippingAddress`"
|
|
7158
|
-
# - "`wrongProductShipped`"
|
|
7159
|
-
# - "`lateShipmentCredit`"
|
|
7160
|
-
# - "`deliveredLateByCarrier`"
|
|
7161
|
-
# - "`productArrivedDamaged`"
|
|
7400
|
+
# The reason for the refund. Acceptable values are: - "`shippingCostAdjustment`"
|
|
7401
|
+
# - "`priceAdjustment`" - "`taxAdjustment`" - "`feeAdjustment`" - "`
|
|
7402
|
+
# courtesyAdjustment`" - "`adjustment`" - "`customerCancelled`" - "`noInventory`"
|
|
7403
|
+
# - "`productNotAsDescribed`" - "`undeliverableShippingAddress`" - "`
|
|
7404
|
+
# wrongProductShipped`" - "`lateShipmentCredit`" - "`deliveredLateByCarrier`" - "
|
|
7405
|
+
# `productArrivedDamaged`"
|
|
7162
7406
|
# Corresponds to the JSON property `reason`
|
|
7163
7407
|
# @return [String]
|
|
7164
7408
|
attr_accessor :reason
|
|
@@ -7192,10 +7436,8 @@ module Google
|
|
|
7192
7436
|
class OrdersRefundItemResponse
|
|
7193
7437
|
include Google::Apis::Core::Hashable
|
|
7194
7438
|
|
|
7195
|
-
# The status of the execution.
|
|
7196
|
-
#
|
|
7197
|
-
# - "`duplicate`"
|
|
7198
|
-
# - "`executed`"
|
|
7439
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7440
|
+
# executed`"
|
|
7199
7441
|
# Corresponds to the JSON property `executionStatus`
|
|
7200
7442
|
# @return [String]
|
|
7201
7443
|
attr_accessor :execution_status
|
|
@@ -7239,10 +7481,8 @@ module Google
|
|
|
7239
7481
|
# @return [String]
|
|
7240
7482
|
attr_accessor :operation_id
|
|
7241
7483
|
|
|
7242
|
-
# The reason for the refund.
|
|
7243
|
-
#
|
|
7244
|
-
# - "`courtesyAdjustment`"
|
|
7245
|
-
# - "`other`"
|
|
7484
|
+
# The reason for the refund. Acceptable values are: - "`courtesyAdjustment`" - "`
|
|
7485
|
+
# other`"
|
|
7246
7486
|
# Corresponds to the JSON property `reason`
|
|
7247
7487
|
# @return [String]
|
|
7248
7488
|
attr_accessor :reason
|
|
@@ -7270,10 +7510,8 @@ module Google
|
|
|
7270
7510
|
class OrdersRefundOrderResponse
|
|
7271
7511
|
include Google::Apis::Core::Hashable
|
|
7272
7512
|
|
|
7273
|
-
# The status of the execution.
|
|
7274
|
-
#
|
|
7275
|
-
# - "`duplicate`"
|
|
7276
|
-
# - "`executed`"
|
|
7513
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7514
|
+
# executed`"
|
|
7277
7515
|
# Corresponds to the JSON property `executionStatus`
|
|
7278
7516
|
# @return [String]
|
|
7279
7517
|
attr_accessor :execution_status
|
|
@@ -7320,13 +7558,8 @@ module Google
|
|
|
7320
7558
|
# @return [Fixnum]
|
|
7321
7559
|
attr_accessor :quantity
|
|
7322
7560
|
|
|
7323
|
-
# The reason for the return.
|
|
7324
|
-
#
|
|
7325
|
-
# - "`damagedOrUsed`"
|
|
7326
|
-
# - "`missingComponent`"
|
|
7327
|
-
# - "`notEligible`"
|
|
7328
|
-
# - "`other`"
|
|
7329
|
-
# - "`outOfReturnWindow`"
|
|
7561
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
|
7562
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
|
7330
7563
|
# Corresponds to the JSON property `reason`
|
|
7331
7564
|
# @return [String]
|
|
7332
7565
|
attr_accessor :reason
|
|
@@ -7355,10 +7588,8 @@ module Google
|
|
|
7355
7588
|
class OrdersRejectReturnLineItemResponse
|
|
7356
7589
|
include Google::Apis::Core::Hashable
|
|
7357
7590
|
|
|
7358
|
-
# The status of the execution.
|
|
7359
|
-
#
|
|
7360
|
-
# - "`duplicate`"
|
|
7361
|
-
# - "`executed`"
|
|
7591
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7592
|
+
# executed`"
|
|
7362
7593
|
# Corresponds to the JSON property `executionStatus`
|
|
7363
7594
|
# @return [String]
|
|
7364
7595
|
attr_accessor :execution_status
|
|
@@ -7411,21 +7642,13 @@ module Google
|
|
|
7411
7642
|
# @return [Fixnum]
|
|
7412
7643
|
attr_accessor :quantity
|
|
7413
7644
|
|
|
7414
|
-
# The reason for the return.
|
|
7415
|
-
#
|
|
7416
|
-
# - "`
|
|
7417
|
-
# - "`
|
|
7418
|
-
# - "`
|
|
7419
|
-
# - "`
|
|
7420
|
-
#
|
|
7421
|
-
# - "`malformedShippingAddress`"
|
|
7422
|
-
# - "`other`"
|
|
7423
|
-
# - "`productArrivedDamaged`"
|
|
7424
|
-
# - "`productNotAsDescribed`"
|
|
7425
|
-
# - "`qualityNotAsExpected`"
|
|
7426
|
-
# - "`undeliverableShippingAddress`"
|
|
7427
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7428
|
-
# - "`wrongProductShipped`"
|
|
7645
|
+
# The reason for the return. Acceptable values are: - "`
|
|
7646
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
7647
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
7648
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
7649
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
7650
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
7651
|
+
# wrongProductShipped`"
|
|
7429
7652
|
# Corresponds to the JSON property `reason`
|
|
7430
7653
|
# @return [String]
|
|
7431
7654
|
attr_accessor :reason
|
|
@@ -7462,10 +7685,8 @@ module Google
|
|
|
7462
7685
|
class OrdersReturnRefundLineItemResponse
|
|
7463
7686
|
include Google::Apis::Core::Hashable
|
|
7464
7687
|
|
|
7465
|
-
# The status of the execution.
|
|
7466
|
-
#
|
|
7467
|
-
# - "`duplicate`"
|
|
7468
|
-
# - "`executed`"
|
|
7688
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7689
|
+
# executed`"
|
|
7469
7690
|
# Corresponds to the JSON property `executionStatus`
|
|
7470
7691
|
# @return [String]
|
|
7471
7692
|
attr_accessor :execution_status
|
|
@@ -7530,10 +7751,8 @@ module Google
|
|
|
7530
7751
|
class OrdersSetLineItemMetadataResponse
|
|
7531
7752
|
include Google::Apis::Core::Hashable
|
|
7532
7753
|
|
|
7533
|
-
# The status of the execution.
|
|
7534
|
-
#
|
|
7535
|
-
# - "`duplicate`"
|
|
7536
|
-
# - "`executed`"
|
|
7754
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7755
|
+
# executed`"
|
|
7537
7756
|
# Corresponds to the JSON property `executionStatus`
|
|
7538
7757
|
# @return [String]
|
|
7539
7758
|
attr_accessor :execution_status
|
|
@@ -7598,10 +7817,8 @@ module Google
|
|
|
7598
7817
|
class OrdersShipLineItemsResponse
|
|
7599
7818
|
include Google::Apis::Core::Hashable
|
|
7600
7819
|
|
|
7601
|
-
# The status of the execution.
|
|
7602
|
-
#
|
|
7603
|
-
# - "`duplicate`"
|
|
7604
|
-
# - "`executed`"
|
|
7820
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7821
|
+
# executed`"
|
|
7605
7822
|
# Corresponds to the JSON property `executionStatus`
|
|
7606
7823
|
# @return [String]
|
|
7607
7824
|
attr_accessor :execution_status
|
|
@@ -7628,9 +7845,8 @@ module Google
|
|
|
7628
7845
|
include Google::Apis::Core::Hashable
|
|
7629
7846
|
|
|
7630
7847
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
|
7631
|
-
# date is updated.
|
|
7632
|
-
#
|
|
7633
|
-
# past.
|
|
7848
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7849
|
+
# be a date in the past.
|
|
7634
7850
|
# Corresponds to the JSON property `deliverByDate`
|
|
7635
7851
|
# @return [String]
|
|
7636
7852
|
attr_accessor :deliver_by_date
|
|
@@ -7653,9 +7869,8 @@ module Google
|
|
|
7653
7869
|
attr_accessor :product_id
|
|
7654
7870
|
|
|
7655
7871
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
|
7656
|
-
# date is updated.
|
|
7657
|
-
#
|
|
7658
|
-
# past.
|
|
7872
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7873
|
+
# be a date in the past.
|
|
7659
7874
|
# Corresponds to the JSON property `shipByDate`
|
|
7660
7875
|
# @return [String]
|
|
7661
7876
|
attr_accessor :ship_by_date
|
|
@@ -7678,10 +7893,8 @@ module Google
|
|
|
7678
7893
|
class OrdersUpdateLineItemShippingDetailsResponse
|
|
7679
7894
|
include Google::Apis::Core::Hashable
|
|
7680
7895
|
|
|
7681
|
-
# The status of the execution.
|
|
7682
|
-
#
|
|
7683
|
-
# - "`duplicate`"
|
|
7684
|
-
# - "`executed`"
|
|
7896
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7897
|
+
# executed`"
|
|
7685
7898
|
# Corresponds to the JSON property `executionStatus`
|
|
7686
7899
|
# @return [String]
|
|
7687
7900
|
attr_accessor :execution_status
|
|
@@ -7732,10 +7945,8 @@ module Google
|
|
|
7732
7945
|
class OrdersUpdateMerchantOrderIdResponse
|
|
7733
7946
|
include Google::Apis::Core::Hashable
|
|
7734
7947
|
|
|
7735
|
-
# The status of the execution.
|
|
7736
|
-
#
|
|
7737
|
-
# - "`duplicate`"
|
|
7738
|
-
# - "`executed`"
|
|
7948
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7949
|
+
# executed`"
|
|
7739
7950
|
# Corresponds to the JSON property `executionStatus`
|
|
7740
7951
|
# @return [String]
|
|
7741
7952
|
attr_accessor :execution_status
|
|
@@ -7762,8 +7973,7 @@ module Google
|
|
|
7762
7973
|
include Google::Apis::Core::Hashable
|
|
7763
7974
|
|
|
7764
7975
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
|
7765
|
-
# carrier` in the
|
|
7766
|
-
# values.
|
|
7976
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
|
7767
7977
|
# Corresponds to the JSON property `carrier`
|
|
7768
7978
|
# @return [String]
|
|
7769
7979
|
attr_accessor :carrier
|
|
@@ -7797,11 +8007,8 @@ module Google
|
|
|
7797
8007
|
# @return [String]
|
|
7798
8008
|
attr_accessor :shipment_id
|
|
7799
8009
|
|
|
7800
|
-
# New status for the shipment. Not updated if missing.
|
|
7801
|
-
#
|
|
7802
|
-
# - "`delivered`"
|
|
7803
|
-
# - "`undeliverable`"
|
|
7804
|
-
# - "`readyForPickup`"
|
|
8010
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
|
8011
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
|
7805
8012
|
# Corresponds to the JSON property `status`
|
|
7806
8013
|
# @return [String]
|
|
7807
8014
|
attr_accessor :status
|
|
@@ -7839,10 +8046,8 @@ module Google
|
|
|
7839
8046
|
class OrdersUpdateShipmentResponse
|
|
7840
8047
|
include Google::Apis::Core::Hashable
|
|
7841
8048
|
|
|
7842
|
-
# The status of the execution.
|
|
7843
|
-
#
|
|
7844
|
-
# - "`duplicate`"
|
|
7845
|
-
# - "`executed`"
|
|
8049
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
8050
|
+
# executed`"
|
|
7846
8051
|
# Corresponds to the JSON property `executionStatus`
|
|
7847
8052
|
# @return [String]
|
|
7848
8053
|
attr_accessor :execution_status
|
|
@@ -7958,13 +8163,8 @@ module Google
|
|
|
7958
8163
|
# @return [Fixnum]
|
|
7959
8164
|
attr_accessor :merchant_id
|
|
7960
8165
|
|
|
7961
|
-
# The method of the batch entry.
|
|
7962
|
-
#
|
|
7963
|
-
# - "`delete`"
|
|
7964
|
-
# - "`get`"
|
|
7965
|
-
# - "`insert`"
|
|
7966
|
-
# - "`inventory`"
|
|
7967
|
-
# - "`sale`"
|
|
8166
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
8167
|
+
# "`insert`" - "`inventory`" - "`sale`"
|
|
7968
8168
|
# Corresponds to the JSON property `method`
|
|
7969
8169
|
# @return [String]
|
|
7970
8170
|
attr_accessor :method_prop
|
|
@@ -7979,7 +8179,7 @@ module Google
|
|
|
7979
8179
|
# @return [Google::Apis::ContentV2_1::PosStore]
|
|
7980
8180
|
attr_accessor :store
|
|
7981
8181
|
|
|
7982
|
-
# The store code.
|
|
8182
|
+
# The store code. This should be set only if the method is `delete` or `get`.
|
|
7983
8183
|
# Corresponds to the JSON property `storeCode`
|
|
7984
8184
|
# @return [String]
|
|
7985
8185
|
attr_accessor :store_code
|
|
@@ -8707,13 +8907,37 @@ module Google
|
|
|
8707
8907
|
end
|
|
8708
8908
|
end
|
|
8709
8909
|
|
|
8910
|
+
# The price represented as a number and currency.
|
|
8911
|
+
class PriceAmount
|
|
8912
|
+
include Google::Apis::Core::Hashable
|
|
8913
|
+
|
|
8914
|
+
# The currency of the price.
|
|
8915
|
+
# Corresponds to the JSON property `currency`
|
|
8916
|
+
# @return [String]
|
|
8917
|
+
attr_accessor :currency
|
|
8918
|
+
|
|
8919
|
+
# The price represented as a number.
|
|
8920
|
+
# Corresponds to the JSON property `value`
|
|
8921
|
+
# @return [String]
|
|
8922
|
+
attr_accessor :value
|
|
8923
|
+
|
|
8924
|
+
def initialize(**args)
|
|
8925
|
+
update!(**args)
|
|
8926
|
+
end
|
|
8927
|
+
|
|
8928
|
+
# Update properties of this object
|
|
8929
|
+
def update!(**args)
|
|
8930
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
8931
|
+
@value = args[:value] if args.key?(:value)
|
|
8932
|
+
end
|
|
8933
|
+
end
|
|
8934
|
+
|
|
8710
8935
|
# Required product attributes are primarily defined by the products data
|
|
8711
|
-
# specification. See the
|
|
8712
|
-
# information.
|
|
8713
|
-
#
|
|
8714
|
-
#
|
|
8715
|
-
#
|
|
8716
|
-
# several minutes before changes take effect.
|
|
8936
|
+
# specification. See the Products Data Specification Help Center article for
|
|
8937
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
8938
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
8939
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
8940
|
+
# minutes before changes take effect.
|
|
8717
8941
|
class Product
|
|
8718
8942
|
include Google::Apis::Core::Hashable
|
|
8719
8943
|
|
|
@@ -8738,7 +8962,7 @@ module Google
|
|
|
8738
8962
|
# @return [String]
|
|
8739
8963
|
attr_accessor :ads_redirect
|
|
8740
8964
|
|
|
8741
|
-
#
|
|
8965
|
+
# Should be set to true if the item is targeted towards adults.
|
|
8742
8966
|
# Corresponds to the JSON property `adult`
|
|
8743
8967
|
# @return [Boolean]
|
|
8744
8968
|
attr_accessor :adult
|
|
@@ -8770,10 +8994,8 @@ module Google
|
|
|
8770
8994
|
# @return [String]
|
|
8771
8995
|
attr_accessor :canonical_link
|
|
8772
8996
|
|
|
8773
|
-
# Required. The item's channel (online or local).
|
|
8774
|
-
#
|
|
8775
|
-
# - "`local`"
|
|
8776
|
-
# - "`online`"
|
|
8997
|
+
# Required. The item's channel (online or local). Acceptable values are: - "`
|
|
8998
|
+
# local`" - "`online`"
|
|
8777
8999
|
# Corresponds to the JSON property `channel`
|
|
8778
9000
|
# @return [String]
|
|
8779
9001
|
attr_accessor :channel
|
|
@@ -8802,7 +9024,7 @@ module Google
|
|
|
8802
9024
|
# submitting any attribute of the feed specification in its generic form (e.g., `
|
|
8803
9025
|
# ` "name": "size type", "value": "regular" ``). This is useful for submitting
|
|
8804
9026
|
# attributes not explicitly exposed by the API, such as additional attributes
|
|
8805
|
-
# used for Shopping Actions.
|
|
9027
|
+
# used for Buy on Google (formerly known as Shopping Actions).
|
|
8806
9028
|
# Corresponds to the JSON property `customAttributes`
|
|
8807
9029
|
# @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
|
|
8808
9030
|
attr_accessor :custom_attributes
|
|
@@ -8897,9 +9119,8 @@ module Google
|
|
|
8897
9119
|
attr_accessor :gtin
|
|
8898
9120
|
|
|
8899
9121
|
# The REST ID of the product. Content API methods that operate on products take
|
|
8900
|
-
# this as their `productId` parameter.
|
|
8901
|
-
#
|
|
8902
|
-
# offerId.
|
|
9122
|
+
# this as their `productId` parameter. The REST ID for a product is of the form
|
|
9123
|
+
# channel:contentLanguage: targetCountry: offerId.
|
|
8903
9124
|
# Corresponds to the JSON property `id`
|
|
8904
9125
|
# @return [String]
|
|
8905
9126
|
attr_accessor :id
|
|
@@ -9000,9 +9221,8 @@ module Google
|
|
|
9000
9221
|
# Required. A unique identifier for the item. Leading and trailing whitespaces
|
|
9001
9222
|
# are stripped and multiple whitespaces are replaced by a single whitespace upon
|
|
9002
9223
|
# submission. Only valid unicode characters are accepted. See the products feed
|
|
9003
|
-
# specification for details.
|
|
9004
|
-
#
|
|
9005
|
-
# product, not this identifier.
|
|
9224
|
+
# specification for details. *Note:* Content API methods that operate on
|
|
9225
|
+
# products take the REST ID of the product, *not* this identifier.
|
|
9006
9226
|
# Corresponds to the JSON property `offerId`
|
|
9007
9227
|
# @return [String]
|
|
9008
9228
|
attr_accessor :offer_id
|
|
@@ -9042,7 +9262,7 @@ module Google
|
|
|
9042
9262
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
9043
9263
|
attr_accessor :sale_price
|
|
9044
9264
|
|
|
9045
|
-
# Date range during which the item is on sale (see products data specification).
|
|
9265
|
+
# Date range during which the item is on sale (see products data specification ).
|
|
9046
9266
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
|
9047
9267
|
# @return [String]
|
|
9048
9268
|
attr_accessor :sale_price_effective_date
|
|
@@ -9108,11 +9328,8 @@ module Google
|
|
|
9108
9328
|
# @return [Array<String>]
|
|
9109
9329
|
attr_accessor :sizes
|
|
9110
9330
|
|
|
9111
|
-
# The source of the offer, i.e., how the offer was created.
|
|
9112
|
-
#
|
|
9113
|
-
# - "`api`"
|
|
9114
|
-
# - "`crawl`"
|
|
9115
|
-
# - "`feed`"
|
|
9331
|
+
# The source of the offer, i.e., how the offer was created. Acceptable values
|
|
9332
|
+
# are: - "`api`" - "`crawl`" - "`feed`"
|
|
9116
9333
|
# Corresponds to the JSON property `source`
|
|
9117
9334
|
# @return [String]
|
|
9118
9335
|
attr_accessor :source
|
|
@@ -9662,7 +9879,7 @@ module Google
|
|
|
9662
9879
|
# @return [String]
|
|
9663
9880
|
attr_accessor :region
|
|
9664
9881
|
|
|
9665
|
-
#
|
|
9882
|
+
# Should be set to true if tax is charged on shipping.
|
|
9666
9883
|
# Corresponds to the JSON property `taxShip`
|
|
9667
9884
|
# @return [Boolean]
|
|
9668
9885
|
attr_accessor :tax_ship
|
|
@@ -9771,22 +9988,18 @@ module Google
|
|
|
9771
9988
|
# @return [Fixnum]
|
|
9772
9989
|
attr_accessor :merchant_id
|
|
9773
9990
|
|
|
9774
|
-
# The method of the batch entry.
|
|
9775
|
-
#
|
|
9776
|
-
# - "`delete`"
|
|
9777
|
-
# - "`get`"
|
|
9778
|
-
# - "`insert`"
|
|
9991
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
9992
|
+
# "`insert`"
|
|
9779
9993
|
# Corresponds to the JSON property `method`
|
|
9780
9994
|
# @return [String]
|
|
9781
9995
|
attr_accessor :method_prop
|
|
9782
9996
|
|
|
9783
9997
|
# Required product attributes are primarily defined by the products data
|
|
9784
|
-
# specification. See the
|
|
9785
|
-
# information.
|
|
9786
|
-
#
|
|
9787
|
-
#
|
|
9788
|
-
#
|
|
9789
|
-
# several minutes before changes take effect.
|
|
9998
|
+
# specification. See the Products Data Specification Help Center article for
|
|
9999
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
10000
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
10001
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
10002
|
+
# minutes before changes take effect.
|
|
9790
10003
|
# Corresponds to the JSON property `product`
|
|
9791
10004
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9792
10005
|
attr_accessor :product
|
|
@@ -9859,12 +10072,11 @@ module Google
|
|
|
9859
10072
|
attr_accessor :kind
|
|
9860
10073
|
|
|
9861
10074
|
# Required product attributes are primarily defined by the products data
|
|
9862
|
-
# specification. See the
|
|
9863
|
-
# information.
|
|
9864
|
-
#
|
|
9865
|
-
#
|
|
9866
|
-
#
|
|
9867
|
-
# several minutes before changes take effect.
|
|
10075
|
+
# specification. See the Products Data Specification Help Center article for
|
|
10076
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
10077
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
10078
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
10079
|
+
# minutes before changes take effect.
|
|
9868
10080
|
# Corresponds to the JSON property `product`
|
|
9869
10081
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9870
10082
|
attr_accessor :product
|
|
@@ -9959,9 +10171,7 @@ module Google
|
|
|
9959
10171
|
# @return [Fixnum]
|
|
9960
10172
|
attr_accessor :merchant_id
|
|
9961
10173
|
|
|
9962
|
-
# The method of the batch entry.
|
|
9963
|
-
# Acceptable values are:
|
|
9964
|
-
# - "`get`"
|
|
10174
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
9965
10175
|
# Corresponds to the JSON property `method`
|
|
9966
10176
|
# @return [String]
|
|
9967
10177
|
attr_accessor :method_prop
|
|
@@ -10084,8 +10294,7 @@ module Google
|
|
|
10084
10294
|
end
|
|
10085
10295
|
|
|
10086
10296
|
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
|
10087
|
-
# direct user of the merchant center account.
|
|
10088
|
-
# pubsubnotificationsettings ==)
|
|
10297
|
+
# direct user of the merchant center account.
|
|
10089
10298
|
class PubsubNotificationSettings
|
|
10090
10299
|
include Google::Apis::Core::Hashable
|
|
10091
10300
|
|
|
@@ -10100,9 +10309,7 @@ module Google
|
|
|
10100
10309
|
# @return [String]
|
|
10101
10310
|
attr_accessor :kind
|
|
10102
10311
|
|
|
10103
|
-
# List of event types.
|
|
10104
|
-
# Acceptable values are:
|
|
10105
|
-
# - "`orderPendingShipment`"
|
|
10312
|
+
# List of event types. Acceptable values are: - "`orderPendingShipment`"
|
|
10106
10313
|
# Corresponds to the JSON property `registeredEvents`
|
|
10107
10314
|
# @return [Array<String>]
|
|
10108
10315
|
attr_accessor :registered_events
|
|
@@ -10186,52 +10393,23 @@ module Google
|
|
|
10186
10393
|
# @return [String]
|
|
10187
10394
|
attr_accessor :description
|
|
10188
10395
|
|
|
10189
|
-
# Code of the refund reason.
|
|
10190
|
-
#
|
|
10191
|
-
# - "`
|
|
10192
|
-
# - "`
|
|
10193
|
-
# - "`
|
|
10194
|
-
# - "`
|
|
10195
|
-
# - "`
|
|
10196
|
-
# - "`
|
|
10197
|
-
# - "`
|
|
10198
|
-
# - "`
|
|
10199
|
-
# - "`
|
|
10200
|
-
# - "`
|
|
10201
|
-
# - "`
|
|
10202
|
-
# - "`
|
|
10203
|
-
# - "`
|
|
10204
|
-
# - "`
|
|
10205
|
-
# - "`
|
|
10206
|
-
# - "`failToPushOrderGoogleError`"
|
|
10207
|
-
# - "`failToPushOrderMerchantError`"
|
|
10208
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
10209
|
-
# - "`failToPushOrderToMerchant`"
|
|
10210
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
10211
|
-
# - "`feeAdjustment`"
|
|
10212
|
-
# - "`invalidCoupon`"
|
|
10213
|
-
# - "`lateShipmentCredit`"
|
|
10214
|
-
# - "`malformedShippingAddress`"
|
|
10215
|
-
# - "`merchantDidNotShipOnTime`"
|
|
10216
|
-
# - "`noInventory`"
|
|
10217
|
-
# - "`orderTimeout`"
|
|
10218
|
-
# - "`other`"
|
|
10219
|
-
# - "`paymentAbuse`"
|
|
10220
|
-
# - "`paymentDeclined`"
|
|
10221
|
-
# - "`priceAdjustment`"
|
|
10222
|
-
# - "`priceError`"
|
|
10223
|
-
# - "`productArrivedDamaged`"
|
|
10224
|
-
# - "`productNotAsDescribed`"
|
|
10225
|
-
# - "`promoReallocation`"
|
|
10226
|
-
# - "`qualityNotAsExpected`"
|
|
10227
|
-
# - "`returnRefundAbuse`"
|
|
10228
|
-
# - "`shippingCostAdjustment`"
|
|
10229
|
-
# - "`shippingPriceError`"
|
|
10230
|
-
# - "`taxAdjustment`"
|
|
10231
|
-
# - "`taxError`"
|
|
10232
|
-
# - "`undeliverableShippingAddress`"
|
|
10233
|
-
# - "`unsupportedPoBoxAddress`"
|
|
10234
|
-
# - "`wrongProductShipped`"
|
|
10396
|
+
# Code of the refund reason. Acceptable values are: - "`adjustment`" - "`
|
|
10397
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
10398
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
10399
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
10400
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
10401
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
10402
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
10403
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
10404
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
10405
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
10406
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
10407
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
10408
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
10409
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
10410
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
10411
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
10412
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
10235
10413
|
# Corresponds to the JSON property `reasonCode`
|
|
10236
10414
|
# @return [String]
|
|
10237
10415
|
attr_accessor :reason_code
|
|
@@ -10247,6 +10425,151 @@ module Google
|
|
|
10247
10425
|
end
|
|
10248
10426
|
end
|
|
10249
10427
|
|
|
10428
|
+
# Represents a geographic region that you can use as a target with both the `
|
|
10429
|
+
# RegionalInventory` and `ShippingSettings` services. You can define regions as
|
|
10430
|
+
# collections of either postal codes or, in some countries, using predefined
|
|
10431
|
+
# geotargets.
|
|
10432
|
+
class Region
|
|
10433
|
+
include Google::Apis::Core::Hashable
|
|
10434
|
+
|
|
10435
|
+
# The display name of the region.
|
|
10436
|
+
# Corresponds to the JSON property `displayName`
|
|
10437
|
+
# @return [String]
|
|
10438
|
+
attr_accessor :display_name
|
|
10439
|
+
|
|
10440
|
+
# A list of geotargets that defines the region area.
|
|
10441
|
+
# Corresponds to the JSON property `geotargetArea`
|
|
10442
|
+
# @return [Google::Apis::ContentV2_1::RegionGeoTargetArea]
|
|
10443
|
+
attr_accessor :geotarget_area
|
|
10444
|
+
|
|
10445
|
+
# Output only. Immutable. Merchant that owns the region.
|
|
10446
|
+
# Corresponds to the JSON property `merchantId`
|
|
10447
|
+
# @return [Fixnum]
|
|
10448
|
+
attr_accessor :merchant_id
|
|
10449
|
+
|
|
10450
|
+
# A list of postal codes that defines the region area. Note: All regions defined
|
|
10451
|
+
# using postal codes are accessible via the account's `ShippingSettings.
|
|
10452
|
+
# postalCodeGroups` resource.
|
|
10453
|
+
# Corresponds to the JSON property `postalCodeArea`
|
|
10454
|
+
# @return [Google::Apis::ContentV2_1::RegionPostalCodeArea]
|
|
10455
|
+
attr_accessor :postal_code_area
|
|
10456
|
+
|
|
10457
|
+
# Output only. Immutable. The ID uniquely identifying each region.
|
|
10458
|
+
# Corresponds to the JSON property `regionId`
|
|
10459
|
+
# @return [String]
|
|
10460
|
+
attr_accessor :region_id
|
|
10461
|
+
|
|
10462
|
+
# Output only. Indicates if the region is eligible to use in the Regional
|
|
10463
|
+
# Inventory configuration.
|
|
10464
|
+
# Corresponds to the JSON property `regionalInventoryEligible`
|
|
10465
|
+
# @return [Boolean]
|
|
10466
|
+
attr_accessor :regional_inventory_eligible
|
|
10467
|
+
alias_method :regional_inventory_eligible?, :regional_inventory_eligible
|
|
10468
|
+
|
|
10469
|
+
# Output only. Indicates if the region is eligible to use in the Shipping
|
|
10470
|
+
# Services configuration.
|
|
10471
|
+
# Corresponds to the JSON property `shippingEligible`
|
|
10472
|
+
# @return [Boolean]
|
|
10473
|
+
attr_accessor :shipping_eligible
|
|
10474
|
+
alias_method :shipping_eligible?, :shipping_eligible
|
|
10475
|
+
|
|
10476
|
+
def initialize(**args)
|
|
10477
|
+
update!(**args)
|
|
10478
|
+
end
|
|
10479
|
+
|
|
10480
|
+
# Update properties of this object
|
|
10481
|
+
def update!(**args)
|
|
10482
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
10483
|
+
@geotarget_area = args[:geotarget_area] if args.key?(:geotarget_area)
|
|
10484
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
10485
|
+
@postal_code_area = args[:postal_code_area] if args.key?(:postal_code_area)
|
|
10486
|
+
@region_id = args[:region_id] if args.key?(:region_id)
|
|
10487
|
+
@regional_inventory_eligible = args[:regional_inventory_eligible] if args.key?(:regional_inventory_eligible)
|
|
10488
|
+
@shipping_eligible = args[:shipping_eligible] if args.key?(:shipping_eligible)
|
|
10489
|
+
end
|
|
10490
|
+
end
|
|
10491
|
+
|
|
10492
|
+
# A list of geotargets that defines the region area.
|
|
10493
|
+
class RegionGeoTargetArea
|
|
10494
|
+
include Google::Apis::Core::Hashable
|
|
10495
|
+
|
|
10496
|
+
# Required. A non-empty list of [location IDs](https://developers.google.com/
|
|
10497
|
+
# adwords/api/docs/appendix/geotargeting). They must all be of the same location
|
|
10498
|
+
# type (e.g., state).
|
|
10499
|
+
# Corresponds to the JSON property `geotargetCriteriaIds`
|
|
10500
|
+
# @return [Array<Fixnum>]
|
|
10501
|
+
attr_accessor :geotarget_criteria_ids
|
|
10502
|
+
|
|
10503
|
+
def initialize(**args)
|
|
10504
|
+
update!(**args)
|
|
10505
|
+
end
|
|
10506
|
+
|
|
10507
|
+
# Update properties of this object
|
|
10508
|
+
def update!(**args)
|
|
10509
|
+
@geotarget_criteria_ids = args[:geotarget_criteria_ids] if args.key?(:geotarget_criteria_ids)
|
|
10510
|
+
end
|
|
10511
|
+
end
|
|
10512
|
+
|
|
10513
|
+
# A list of postal codes that defines the region area. Note: All regions defined
|
|
10514
|
+
# using postal codes are accessible via the account's `ShippingSettings.
|
|
10515
|
+
# postalCodeGroups` resource.
|
|
10516
|
+
class RegionPostalCodeArea
|
|
10517
|
+
include Google::Apis::Core::Hashable
|
|
10518
|
+
|
|
10519
|
+
# Required. A range of postal codes.
|
|
10520
|
+
# Corresponds to the JSON property `postalCodes`
|
|
10521
|
+
# @return [Array<Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange>]
|
|
10522
|
+
attr_accessor :postal_codes
|
|
10523
|
+
|
|
10524
|
+
# Required. CLDR territory code or the country the postal code group applies to.
|
|
10525
|
+
# Corresponds to the JSON property `regionCode`
|
|
10526
|
+
# @return [String]
|
|
10527
|
+
attr_accessor :region_code
|
|
10528
|
+
|
|
10529
|
+
def initialize(**args)
|
|
10530
|
+
update!(**args)
|
|
10531
|
+
end
|
|
10532
|
+
|
|
10533
|
+
# Update properties of this object
|
|
10534
|
+
def update!(**args)
|
|
10535
|
+
@postal_codes = args[:postal_codes] if args.key?(:postal_codes)
|
|
10536
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
|
10537
|
+
end
|
|
10538
|
+
end
|
|
10539
|
+
|
|
10540
|
+
# A range of postal codes that defines the region area.
|
|
10541
|
+
class RegionPostalCodeAreaPostalCodeRange
|
|
10542
|
+
include Google::Apis::Core::Hashable
|
|
10543
|
+
|
|
10544
|
+
# Required. A postal code or a pattern of the form prefix* denoting the
|
|
10545
|
+
# inclusive lower bound of the range defining the area. Examples values: "94108",
|
|
10546
|
+
# "9410*", "9*".
|
|
10547
|
+
# Corresponds to the JSON property `begin`
|
|
10548
|
+
# @return [String]
|
|
10549
|
+
attr_accessor :begin
|
|
10550
|
+
|
|
10551
|
+
# Optional. A postal code or a pattern of the form prefix* denoting the
|
|
10552
|
+
# inclusive upper bound of the range defining the area. It must have the same
|
|
10553
|
+
# length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then
|
|
10554
|
+
# postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a
|
|
10555
|
+
# pattern then postalCodeRangeEnd must be a pattern with the same prefix length.
|
|
10556
|
+
# Optional: if not set, then the area is defined as being all the postal codes
|
|
10557
|
+
# matching postalCodeRangeBegin.
|
|
10558
|
+
# Corresponds to the JSON property `end`
|
|
10559
|
+
# @return [String]
|
|
10560
|
+
attr_accessor :end
|
|
10561
|
+
|
|
10562
|
+
def initialize(**args)
|
|
10563
|
+
update!(**args)
|
|
10564
|
+
end
|
|
10565
|
+
|
|
10566
|
+
# Update properties of this object
|
|
10567
|
+
def update!(**args)
|
|
10568
|
+
@begin = args[:begin] if args.key?(:begin)
|
|
10569
|
+
@end = args[:end] if args.key?(:end)
|
|
10570
|
+
end
|
|
10571
|
+
end
|
|
10572
|
+
|
|
10250
10573
|
# Regional inventory resource. contains the regional name and all attributes
|
|
10251
10574
|
# which are overridden for the specified region.
|
|
10252
10575
|
class RegionalInventory
|
|
@@ -10340,9 +10663,7 @@ module Google
|
|
|
10340
10663
|
# @return [Fixnum]
|
|
10341
10664
|
attr_accessor :merchant_id
|
|
10342
10665
|
|
|
10343
|
-
# Method of the batch request entry.
|
|
10344
|
-
# Acceptable values are:
|
|
10345
|
-
# - "`insert`"
|
|
10666
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
10346
10667
|
# Corresponds to the JSON property `method`
|
|
10347
10668
|
# @return [String]
|
|
10348
10669
|
attr_accessor :method_prop
|
|
@@ -10437,6 +10758,283 @@ module Google
|
|
|
10437
10758
|
end
|
|
10438
10759
|
end
|
|
10439
10760
|
|
|
10761
|
+
# Represents a repricing rule. A repricing rule is used by shopping serving to
|
|
10762
|
+
# adjust transactable offer prices if conditions are met. Next ID: 24
|
|
10763
|
+
class RepricingRule
|
|
10764
|
+
include Google::Apis::Core::Hashable
|
|
10765
|
+
|
|
10766
|
+
# Required. Immutable. CLDR country code (e.g. "US").
|
|
10767
|
+
# Corresponds to the JSON property `countryCode`
|
|
10768
|
+
# @return [String]
|
|
10769
|
+
attr_accessor :country_code
|
|
10770
|
+
|
|
10771
|
+
# Required. Time period when the rule should take effect.
|
|
10772
|
+
# Corresponds to the JSON property `effectiveTimePeriod`
|
|
10773
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEffectiveTime]
|
|
10774
|
+
attr_accessor :effective_time_period
|
|
10775
|
+
|
|
10776
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10777
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10778
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10779
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10780
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10781
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10782
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10783
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10784
|
+
# Corresponds to the JSON property `eligibleOfferMatcher`
|
|
10785
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher]
|
|
10786
|
+
attr_accessor :eligible_offer_matcher
|
|
10787
|
+
|
|
10788
|
+
# Required. Immutable. The two-letter ISO 639-1 language code associated with
|
|
10789
|
+
# the repricing rule.
|
|
10790
|
+
# Corresponds to the JSON property `languageCode`
|
|
10791
|
+
# @return [String]
|
|
10792
|
+
attr_accessor :language_code
|
|
10793
|
+
|
|
10794
|
+
# Output only. Immutable. Merchant that owns the repricing rule.
|
|
10795
|
+
# Corresponds to the JSON property `merchantId`
|
|
10796
|
+
# @return [Fixnum]
|
|
10797
|
+
attr_accessor :merchant_id
|
|
10798
|
+
|
|
10799
|
+
# Represents whether a rule is paused. A paused rule will behave like a non-
|
|
10800
|
+
# paused rule within CRUD operations, with the major difference that a paused
|
|
10801
|
+
# rule will not be evaluated and will have no effect on offers.
|
|
10802
|
+
# Corresponds to the JSON property `paused`
|
|
10803
|
+
# @return [Boolean]
|
|
10804
|
+
attr_accessor :paused
|
|
10805
|
+
alias_method :paused?, :paused
|
|
10806
|
+
|
|
10807
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10808
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10809
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10810
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10811
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10812
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10813
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10814
|
+
# Corresponds to the JSON property `restriction`
|
|
10815
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestriction]
|
|
10816
|
+
attr_accessor :restriction
|
|
10817
|
+
|
|
10818
|
+
# Output only. Immutable. The ID to uniquely identify each repricing rule.
|
|
10819
|
+
# Corresponds to the JSON property `ruleId`
|
|
10820
|
+
# @return [String]
|
|
10821
|
+
attr_accessor :rule_id
|
|
10822
|
+
|
|
10823
|
+
# The title for the rule.
|
|
10824
|
+
# Corresponds to the JSON property `title`
|
|
10825
|
+
# @return [String]
|
|
10826
|
+
attr_accessor :title
|
|
10827
|
+
|
|
10828
|
+
# Required. Immutable. The type of the rule.
|
|
10829
|
+
# Corresponds to the JSON property `type`
|
|
10830
|
+
# @return [String]
|
|
10831
|
+
attr_accessor :type
|
|
10832
|
+
|
|
10833
|
+
def initialize(**args)
|
|
10834
|
+
update!(**args)
|
|
10835
|
+
end
|
|
10836
|
+
|
|
10837
|
+
# Update properties of this object
|
|
10838
|
+
def update!(**args)
|
|
10839
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
|
10840
|
+
@effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
|
|
10841
|
+
@eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
|
|
10842
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
10843
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
10844
|
+
@paused = args[:paused] if args.key?(:paused)
|
|
10845
|
+
@restriction = args[:restriction] if args.key?(:restriction)
|
|
10846
|
+
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
|
10847
|
+
@title = args[:title] if args.key?(:title)
|
|
10848
|
+
@type = args[:type] if args.key?(:type)
|
|
10849
|
+
end
|
|
10850
|
+
end
|
|
10851
|
+
|
|
10852
|
+
#
|
|
10853
|
+
class RepricingRuleEffectiveTime
|
|
10854
|
+
include Google::Apis::Core::Hashable
|
|
10855
|
+
|
|
10856
|
+
# A list of fixed time periods combined with OR. The maximum number of entries
|
|
10857
|
+
# is limited to 5.
|
|
10858
|
+
# Corresponds to the JSON property `fixedTimePeriods`
|
|
10859
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>]
|
|
10860
|
+
attr_accessor :fixed_time_periods
|
|
10861
|
+
|
|
10862
|
+
def initialize(**args)
|
|
10863
|
+
update!(**args)
|
|
10864
|
+
end
|
|
10865
|
+
|
|
10866
|
+
# Update properties of this object
|
|
10867
|
+
def update!(**args)
|
|
10868
|
+
@fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods)
|
|
10869
|
+
end
|
|
10870
|
+
end
|
|
10871
|
+
|
|
10872
|
+
# Definition of a fixed time period.
|
|
10873
|
+
class RepricingRuleEffectiveTimeFixedTimePeriod
|
|
10874
|
+
include Google::Apis::Core::Hashable
|
|
10875
|
+
|
|
10876
|
+
# The end time (exclusive) of the period. It can only be hour granularity.
|
|
10877
|
+
# Corresponds to the JSON property `endTime`
|
|
10878
|
+
# @return [String]
|
|
10879
|
+
attr_accessor :end_time
|
|
10880
|
+
|
|
10881
|
+
# The start time (inclusive) of the period. It can only be hour granularity.
|
|
10882
|
+
# Corresponds to the JSON property `startTime`
|
|
10883
|
+
# @return [String]
|
|
10884
|
+
attr_accessor :start_time
|
|
10885
|
+
|
|
10886
|
+
def initialize(**args)
|
|
10887
|
+
update!(**args)
|
|
10888
|
+
end
|
|
10889
|
+
|
|
10890
|
+
# Update properties of this object
|
|
10891
|
+
def update!(**args)
|
|
10892
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
10893
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10894
|
+
end
|
|
10895
|
+
end
|
|
10896
|
+
|
|
10897
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10898
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10899
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10900
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10901
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10902
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10903
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10904
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10905
|
+
class RepricingRuleEligibleOfferMatcher
|
|
10906
|
+
include Google::Apis::Core::Hashable
|
|
10907
|
+
|
|
10908
|
+
# Matcher by string attributes.
|
|
10909
|
+
# Corresponds to the JSON property `brandMatcher`
|
|
10910
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10911
|
+
attr_accessor :brand_matcher
|
|
10912
|
+
|
|
10913
|
+
# Matcher by string attributes.
|
|
10914
|
+
# Corresponds to the JSON property `itemGroupIdMatcher`
|
|
10915
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10916
|
+
attr_accessor :item_group_id_matcher
|
|
10917
|
+
|
|
10918
|
+
# Determines whether to use the custom matchers or the product feed attribute "
|
|
10919
|
+
# repricing_rule_id" to specify offer-rule mapping.
|
|
10920
|
+
# Corresponds to the JSON property `matcherOption`
|
|
10921
|
+
# @return [String]
|
|
10922
|
+
attr_accessor :matcher_option
|
|
10923
|
+
|
|
10924
|
+
# Matcher by string attributes.
|
|
10925
|
+
# Corresponds to the JSON property `offerIdMatcher`
|
|
10926
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10927
|
+
attr_accessor :offer_id_matcher
|
|
10928
|
+
|
|
10929
|
+
# When true, the rule won't be applied to offers with active promotions.
|
|
10930
|
+
# Corresponds to the JSON property `skipWhenOnPromotion`
|
|
10931
|
+
# @return [Boolean]
|
|
10932
|
+
attr_accessor :skip_when_on_promotion
|
|
10933
|
+
alias_method :skip_when_on_promotion?, :skip_when_on_promotion
|
|
10934
|
+
|
|
10935
|
+
def initialize(**args)
|
|
10936
|
+
update!(**args)
|
|
10937
|
+
end
|
|
10938
|
+
|
|
10939
|
+
# Update properties of this object
|
|
10940
|
+
def update!(**args)
|
|
10941
|
+
@brand_matcher = args[:brand_matcher] if args.key?(:brand_matcher)
|
|
10942
|
+
@item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
|
|
10943
|
+
@matcher_option = args[:matcher_option] if args.key?(:matcher_option)
|
|
10944
|
+
@offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
|
|
10945
|
+
@skip_when_on_promotion = args[:skip_when_on_promotion] if args.key?(:skip_when_on_promotion)
|
|
10946
|
+
end
|
|
10947
|
+
end
|
|
10948
|
+
|
|
10949
|
+
# Matcher by string attributes.
|
|
10950
|
+
class RepricingRuleEligibleOfferMatcherStringMatcher
|
|
10951
|
+
include Google::Apis::Core::Hashable
|
|
10952
|
+
|
|
10953
|
+
# String attributes, as long as such attribute of an offer is one of the string
|
|
10954
|
+
# attribute values, the offer is considered as passing the matcher. The string
|
|
10955
|
+
# matcher checks an offer for inclusivity in the string attributes, not equality.
|
|
10956
|
+
# Only literal string matching is supported, no regex.
|
|
10957
|
+
# Corresponds to the JSON property `strAttributes`
|
|
10958
|
+
# @return [Array<String>]
|
|
10959
|
+
attr_accessor :str_attributes
|
|
10960
|
+
|
|
10961
|
+
def initialize(**args)
|
|
10962
|
+
update!(**args)
|
|
10963
|
+
end
|
|
10964
|
+
|
|
10965
|
+
# Update properties of this object
|
|
10966
|
+
def update!(**args)
|
|
10967
|
+
@str_attributes = args[:str_attributes] if args.key?(:str_attributes)
|
|
10968
|
+
end
|
|
10969
|
+
end
|
|
10970
|
+
|
|
10971
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10972
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10973
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10974
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10975
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10976
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10977
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10978
|
+
class RepricingRuleRestriction
|
|
10979
|
+
include Google::Apis::Core::Hashable
|
|
10980
|
+
|
|
10981
|
+
# Definition of a boundary.
|
|
10982
|
+
# Corresponds to the JSON property `floor`
|
|
10983
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary]
|
|
10984
|
+
attr_accessor :floor
|
|
10985
|
+
|
|
10986
|
+
# If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of
|
|
10987
|
+
# the rule. If use_auto_pricing_min_price is true, then only offers with `
|
|
10988
|
+
# AUTO_PRICING_MIN_PRICE` existing on the offer will get Repricer treatment,
|
|
10989
|
+
# even if a floor value is set on the rule. Also, if use_auto_pricing_min_price
|
|
10990
|
+
# is true, the floor restriction will be ignored.
|
|
10991
|
+
# Corresponds to the JSON property `useAutoPricingMinPrice`
|
|
10992
|
+
# @return [Boolean]
|
|
10993
|
+
attr_accessor :use_auto_pricing_min_price
|
|
10994
|
+
alias_method :use_auto_pricing_min_price?, :use_auto_pricing_min_price
|
|
10995
|
+
|
|
10996
|
+
def initialize(**args)
|
|
10997
|
+
update!(**args)
|
|
10998
|
+
end
|
|
10999
|
+
|
|
11000
|
+
# Update properties of this object
|
|
11001
|
+
def update!(**args)
|
|
11002
|
+
@floor = args[:floor] if args.key?(:floor)
|
|
11003
|
+
@use_auto_pricing_min_price = args[:use_auto_pricing_min_price] if args.key?(:use_auto_pricing_min_price)
|
|
11004
|
+
end
|
|
11005
|
+
end
|
|
11006
|
+
|
|
11007
|
+
# Definition of a boundary.
|
|
11008
|
+
class RepricingRuleRestrictionBoundary
|
|
11009
|
+
include Google::Apis::Core::Hashable
|
|
11010
|
+
|
|
11011
|
+
# The percentage delta relative to the offer selling price. This field is signed.
|
|
11012
|
+
# It must be negative in floor. When it is used in floor, it should be > -100.
|
|
11013
|
+
# For example, if an offer is selling at $10 and this field is -30 in floor, the
|
|
11014
|
+
# repricing rule only applies if the calculated new price is >= $7.
|
|
11015
|
+
# Corresponds to the JSON property `percentageDelta`
|
|
11016
|
+
# @return [Fixnum]
|
|
11017
|
+
attr_accessor :percentage_delta
|
|
11018
|
+
|
|
11019
|
+
# The price micros relative to the offer selling price. This field is signed. It
|
|
11020
|
+
# must be negative in floor. For example, if an offer is selling at $10 and this
|
|
11021
|
+
# field is -$2 in floor, the repricing rule only applies if the calculated new
|
|
11022
|
+
# price is >= $8.
|
|
11023
|
+
# Corresponds to the JSON property `priceDelta`
|
|
11024
|
+
# @return [String]
|
|
11025
|
+
attr_accessor :price_delta
|
|
11026
|
+
|
|
11027
|
+
def initialize(**args)
|
|
11028
|
+
update!(**args)
|
|
11029
|
+
end
|
|
11030
|
+
|
|
11031
|
+
# Update properties of this object
|
|
11032
|
+
def update!(**args)
|
|
11033
|
+
@percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
|
|
11034
|
+
@price_delta = args[:price_delta] if args.key?(:price_delta)
|
|
11035
|
+
end
|
|
11036
|
+
end
|
|
11037
|
+
|
|
10440
11038
|
# Return address resource.
|
|
10441
11039
|
class ReturnAddress
|
|
10442
11040
|
include Google::Apis::Core::Hashable
|
|
@@ -10630,12 +11228,8 @@ module Google
|
|
|
10630
11228
|
# most items a minimum of 30 days is required for returns. Exceptions may be
|
|
10631
11229
|
# made for electronics or non-returnable items such as food, perishables, and
|
|
10632
11230
|
# living things. A policy of less than 30 days can only be applied to those
|
|
10633
|
-
# items.
|
|
10634
|
-
#
|
|
10635
|
-
# - "`lastReturnDate`"
|
|
10636
|
-
# - "`lifetimeReturns`"
|
|
10637
|
-
# - "`noReturns`"
|
|
10638
|
-
# - "`numberOfDaysAfterDelivery`"
|
|
11231
|
+
# items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
|
|
11232
|
+
# noReturns`" - "`numberOfDaysAfterDelivery`"
|
|
10639
11233
|
# Corresponds to the JSON property `type`
|
|
10640
11234
|
# @return [String]
|
|
10641
11235
|
attr_accessor :type
|
|
@@ -10754,11 +11348,8 @@ module Google
|
|
|
10754
11348
|
# @return [String]
|
|
10755
11349
|
attr_accessor :delivery_date
|
|
10756
11350
|
|
|
10757
|
-
# Type of the return method.
|
|
10758
|
-
#
|
|
10759
|
-
# - "`byMail`"
|
|
10760
|
-
# - "`contactCustomerSupport`"
|
|
10761
|
-
# - "`returnless`"
|
|
11351
|
+
# Type of the return method. Acceptable values are: - "`byMail`" - "`
|
|
11352
|
+
# contactCustomerSupport`" - "`returnless`" - "`inStore`"
|
|
10762
11353
|
# Corresponds to the JSON property `returnMethodType`
|
|
10763
11354
|
# @return [String]
|
|
10764
11355
|
attr_accessor :return_method_type
|
|
@@ -10779,13 +11370,8 @@ module Google
|
|
|
10779
11370
|
# @return [String]
|
|
10780
11371
|
attr_accessor :shipping_date
|
|
10781
11372
|
|
|
10782
|
-
# State of the shipment.
|
|
10783
|
-
#
|
|
10784
|
-
# - "`completed`"
|
|
10785
|
-
# - "`new`"
|
|
10786
|
-
# - "`shipped`"
|
|
10787
|
-
# - "`undeliverable`"
|
|
10788
|
-
# - "`pending`"
|
|
11373
|
+
# State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
|
|
11374
|
+
# shipped`" - "`undeliverable`" - "`pending`"
|
|
10789
11375
|
# Corresponds to the JSON property `state`
|
|
10790
11376
|
# @return [String]
|
|
10791
11377
|
attr_accessor :state
|
|
@@ -10839,11 +11425,8 @@ module Google
|
|
|
10839
11425
|
# @return [Fixnum]
|
|
10840
11426
|
attr_accessor :merchant_id
|
|
10841
11427
|
|
|
10842
|
-
# Method of the batch request entry.
|
|
10843
|
-
#
|
|
10844
|
-
# - "`delete`"
|
|
10845
|
-
# - "`get`"
|
|
10846
|
-
# - "`insert`"
|
|
11428
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
11429
|
+
# " - "`insert`"
|
|
10847
11430
|
# Corresponds to the JSON property `method`
|
|
10848
11431
|
# @return [String]
|
|
10849
11432
|
attr_accessor :method_prop
|
|
@@ -10853,7 +11436,8 @@ module Google
|
|
|
10853
11436
|
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
10854
11437
|
attr_accessor :return_address
|
|
10855
11438
|
|
|
10856
|
-
# The return address ID.
|
|
11439
|
+
# The return address ID. This should be set only if the method is `delete` or `
|
|
11440
|
+
# get`.
|
|
10857
11441
|
# Corresponds to the JSON property `returnAddressId`
|
|
10858
11442
|
# @return [String]
|
|
10859
11443
|
attr_accessor :return_address_id
|
|
@@ -11001,11 +11585,8 @@ module Google
|
|
|
11001
11585
|
# @return [Fixnum]
|
|
11002
11586
|
attr_accessor :merchant_id
|
|
11003
11587
|
|
|
11004
|
-
# Method of the batch request entry.
|
|
11005
|
-
#
|
|
11006
|
-
# - "`delete`"
|
|
11007
|
-
# - "`get`"
|
|
11008
|
-
# - "`insert`"
|
|
11588
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
11589
|
+
# " - "`insert`"
|
|
11009
11590
|
# Corresponds to the JSON property `method`
|
|
11010
11591
|
# @return [String]
|
|
11011
11592
|
attr_accessor :method_prop
|
|
@@ -11015,7 +11596,8 @@ module Google
|
|
|
11015
11596
|
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
11016
11597
|
attr_accessor :return_policy
|
|
11017
11598
|
|
|
11018
|
-
# The return policy ID.
|
|
11599
|
+
# The return policy ID. This should be set only if the method is `delete` or `
|
|
11600
|
+
# get`.
|
|
11019
11601
|
# Corresponds to the JSON property `returnPolicyId`
|
|
11020
11602
|
# @return [String]
|
|
11021
11603
|
attr_accessor :return_policy_id
|
|
@@ -11172,11 +11754,8 @@ module Google
|
|
|
11172
11754
|
# @return [Google::Apis::ContentV2_1::DeliveryTime]
|
|
11173
11755
|
attr_accessor :delivery_time
|
|
11174
11756
|
|
|
11175
|
-
# Eligibility for this service.
|
|
11176
|
-
#
|
|
11177
|
-
# - "`All scenarios`"
|
|
11178
|
-
# - "`All scenarios except Shopping Actions`"
|
|
11179
|
-
# - "`Shopping Actions`"
|
|
11757
|
+
# Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
|
|
11758
|
+
# All scenarios except Shopping Actions`" - "`Shopping Actions`"
|
|
11180
11759
|
# Corresponds to the JSON property `eligibility`
|
|
11181
11760
|
# @return [String]
|
|
11182
11761
|
attr_accessor :eligibility
|
|
@@ -11213,10 +11792,8 @@ module Google
|
|
|
11213
11792
|
# @return [Array<Google::Apis::ContentV2_1::RateGroup>]
|
|
11214
11793
|
attr_accessor :rate_groups
|
|
11215
11794
|
|
|
11216
|
-
# Type of locations this service ships orders to.
|
|
11217
|
-
#
|
|
11218
|
-
# - "`delivery`"
|
|
11219
|
-
# - "`pickup`"
|
|
11795
|
+
# Type of locations this service ships orders to. Acceptable values are: - "`
|
|
11796
|
+
# delivery`" - "`pickup`"
|
|
11220
11797
|
# Corresponds to the JSON property `shipmentType`
|
|
11221
11798
|
# @return [String]
|
|
11222
11799
|
attr_accessor :shipment_type
|
|
@@ -11309,8 +11886,7 @@ module Google
|
|
|
11309
11886
|
end
|
|
11310
11887
|
end
|
|
11311
11888
|
|
|
11312
|
-
# Settlement transactions give a detailed breakdown of the
|
|
11313
|
-
# = resource_for v2.1.settlementtransactions ==)
|
|
11889
|
+
# Settlement transactions give a detailed breakdown of the settlement report.
|
|
11314
11890
|
class SettlementTransaction
|
|
11315
11891
|
include Google::Apis::Core::Hashable
|
|
11316
11892
|
|
|
@@ -11357,49 +11933,21 @@ module Google
|
|
|
11357
11933
|
# @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
|
|
11358
11934
|
attr_accessor :commission
|
|
11359
11935
|
|
|
11360
|
-
# The description of the event.
|
|
11361
|
-
#
|
|
11362
|
-
# - "`
|
|
11363
|
-
# - "`
|
|
11364
|
-
# - "`
|
|
11365
|
-
# - "`
|
|
11366
|
-
# - "`
|
|
11367
|
-
# - "`
|
|
11368
|
-
# - "`
|
|
11369
|
-
# - "`
|
|
11370
|
-
# - "`
|
|
11371
|
-
# - "`
|
|
11372
|
-
# - "`
|
|
11373
|
-
# - "`
|
|
11374
|
-
# - "`
|
|
11375
|
-
# - "`furnitureEcoFee`"
|
|
11376
|
-
# - "`copyPrivateFee`"
|
|
11377
|
-
# - "`eeeEcoFeeCommission`"
|
|
11378
|
-
# - "`furnitureEcoFeeCommission`"
|
|
11379
|
-
# - "`copyPrivateFeeCommission`"
|
|
11380
|
-
# - "`principalRefund`"
|
|
11381
|
-
# - "`principalRefundTax`"
|
|
11382
|
-
# - "`itemCommission`"
|
|
11383
|
-
# - "`adjustmentCommission`"
|
|
11384
|
-
# - "`shippingFeeCommission`"
|
|
11385
|
-
# - "`commissionRefund`"
|
|
11386
|
-
# - "`damaged`"
|
|
11387
|
-
# - "`damagedOrDefectiveItem`"
|
|
11388
|
-
# - "`expiredItem`"
|
|
11389
|
-
# - "`faultyItem`"
|
|
11390
|
-
# - "`incorrectItemReceived`"
|
|
11391
|
-
# - "`itemMissing`"
|
|
11392
|
-
# - "`qualityNotExpected`"
|
|
11393
|
-
# - "`receivedTooLate`"
|
|
11394
|
-
# - "`storePackageMissing`"
|
|
11395
|
-
# - "`transitPackageMissing`"
|
|
11396
|
-
# - "`unsuccessfulDeliveryUndeliverable`"
|
|
11397
|
-
# - "`wrongChargeInStore`"
|
|
11398
|
-
# - "`wrongItem`"
|
|
11399
|
-
# - "`returns`"
|
|
11400
|
-
# - "`undeliverable`"
|
|
11401
|
-
# - "`refundFromMerchant`"
|
|
11402
|
-
# - "`returnLabelShippingFee`"
|
|
11936
|
+
# The description of the event. Acceptable values are: - "`taxWithhold`" - "`
|
|
11937
|
+
# principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
|
|
11938
|
+
# merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
|
|
11939
|
+
# "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
|
|
11940
|
+
# googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
|
|
11941
|
+
# googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
|
|
11942
|
+
# copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
|
|
11943
|
+
# copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
|
|
11944
|
+
# itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
|
|
11945
|
+
# commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
|
|
11946
|
+
# - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
|
|
11947
|
+
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
|
11948
|
+
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
|
11949
|
+
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
|
11950
|
+
# refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
|
|
11403
11951
|
# Corresponds to the JSON property `description`
|
|
11404
11952
|
# @return [String]
|
|
11405
11953
|
attr_accessor :description
|
|
@@ -11409,15 +11957,9 @@ module Google
|
|
|
11409
11957
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
11410
11958
|
attr_accessor :transaction_amount
|
|
11411
11959
|
|
|
11412
|
-
# The type of the amount.
|
|
11413
|
-
#
|
|
11414
|
-
#
|
|
11415
|
-
# - "`orderPrice`"
|
|
11416
|
-
# - "`refund`"
|
|
11417
|
-
# - "`earlyRefund`"
|
|
11418
|
-
# - "`courtesyRefund`"
|
|
11419
|
-
# - "`returnRefund`"
|
|
11420
|
-
# - "`returnLabelShippingFeeAmount`"
|
|
11960
|
+
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
|
11961
|
+
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
|
11962
|
+
# returnLabelShippingFeeAmount`"
|
|
11421
11963
|
# Corresponds to the JSON property `type`
|
|
11422
11964
|
# @return [String]
|
|
11423
11965
|
attr_accessor :type
|
|
@@ -11439,52 +11981,21 @@ module Google
|
|
|
11439
11981
|
class SettlementTransactionAmountCommission
|
|
11440
11982
|
include Google::Apis::Core::Hashable
|
|
11441
11983
|
|
|
11442
|
-
# The category of the commission.
|
|
11443
|
-
#
|
|
11444
|
-
# - "`
|
|
11445
|
-
# - "`
|
|
11446
|
-
# - "`
|
|
11447
|
-
# - "`
|
|
11448
|
-
# - "`
|
|
11449
|
-
# - "`
|
|
11450
|
-
# - "`
|
|
11451
|
-
# - "`
|
|
11452
|
-
# - "`
|
|
11453
|
-
# - "`
|
|
11454
|
-
# - "`
|
|
11455
|
-
# - "`
|
|
11456
|
-
#
|
|
11457
|
-
# - "`toysAndGames`"
|
|
11458
|
-
# - "`musicalInstruments`"
|
|
11459
|
-
# - "`giftCards`"
|
|
11460
|
-
# - "`babyAndToddler`"
|
|
11461
|
-
# - "`babyFoodWipesAndDiapers`"
|
|
11462
|
-
# - "`businessAndIndustrial`"
|
|
11463
|
-
# - "`camerasOpticsAndPhotography`"
|
|
11464
|
-
# - "`consumerElectronics`"
|
|
11465
|
-
# - "`electronicsAccessories`"
|
|
11466
|
-
# - "`personalComputers`"
|
|
11467
|
-
# - "`videoGameConsoles`"
|
|
11468
|
-
# - "`foodAndGrocery`"
|
|
11469
|
-
# - "`beverages`"
|
|
11470
|
-
# - "`tobaccoProducts`"
|
|
11471
|
-
# - "`furniture`"
|
|
11472
|
-
# - "`hardware`"
|
|
11473
|
-
# - "`buildingMaterials`"
|
|
11474
|
-
# - "`tools`"
|
|
11475
|
-
# - "`healthAndPersonalCare`"
|
|
11476
|
-
# - "`beauty`"
|
|
11477
|
-
# - "`householdSupplies`"
|
|
11478
|
-
# - "`kitchenAndDining`"
|
|
11479
|
-
# - "`majorAppliances`"
|
|
11480
|
-
# - "`luggageAndBags`"
|
|
11481
|
-
# - "`media`"
|
|
11482
|
-
# - "`officeSupplies`"
|
|
11483
|
-
# - "`softwareAndVideoGames`"
|
|
11484
|
-
# - "`vehiclePartsAndAccessories`"
|
|
11485
|
-
# - "`vehicleTiresAndWheels`"
|
|
11486
|
-
# - "`vehicles`"
|
|
11487
|
-
# - "`everythingElse`"
|
|
11984
|
+
# The category of the commission. Acceptable values are: - "`
|
|
11985
|
+
# animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
|
|
11986
|
+
# " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
|
|
11987
|
+
# "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
|
|
11988
|
+
# entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
|
|
11989
|
+
# `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
|
|
11990
|
+
# "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
|
|
11991
|
+
# "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
|
|
11992
|
+
# electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
|
|
11993
|
+
# foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
|
|
11994
|
+
# hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
|
|
11995
|
+
# beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
|
|
11996
|
+
# "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
|
|
11997
|
+
# " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
|
|
11998
|
+
# "`everythingElse`"
|
|
11488
11999
|
# Corresponds to the JSON property `category`
|
|
11489
12000
|
# @return [String]
|
|
11490
12001
|
attr_accessor :category
|
|
@@ -11563,16 +12074,11 @@ module Google
|
|
|
11563
12074
|
# @return [String]
|
|
11564
12075
|
attr_accessor :post_date
|
|
11565
12076
|
|
|
11566
|
-
# The type of the transaction that occurred.
|
|
11567
|
-
#
|
|
11568
|
-
# - "`
|
|
11569
|
-
# - "`
|
|
11570
|
-
#
|
|
11571
|
-
# - "`reversalRefund`"
|
|
11572
|
-
# - "`issueRelatedRefundAndReplacement`"
|
|
11573
|
-
# - "`returnLabelShippingFeeTransaction`"
|
|
11574
|
-
# - "`reversalIssueRelatedRefundAndReplacement`"
|
|
11575
|
-
# - "`reversalReturnLabelShippingFeeTransaction`"
|
|
12077
|
+
# The type of the transaction that occurred. Acceptable values are: - "`order`" -
|
|
12078
|
+
# "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
|
|
12079
|
+
# issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
|
|
12080
|
+
# reversalIssueRelatedRefundAndReplacement`" - "`
|
|
12081
|
+
# reversalReturnLabelShippingFeeTransaction`"
|
|
11576
12082
|
# Corresponds to the JSON property `type`
|
|
11577
12083
|
# @return [String]
|
|
11578
12084
|
attr_accessor :type
|
|
@@ -11730,38 +12236,13 @@ module Google
|
|
|
11730
12236
|
class ShipmentTrackingInfo
|
|
11731
12237
|
include Google::Apis::Core::Hashable
|
|
11732
12238
|
|
|
11733
|
-
# The shipping carrier that handles the package.
|
|
11734
|
-
#
|
|
11735
|
-
# - "`
|
|
11736
|
-
# - "`
|
|
11737
|
-
# - "`
|
|
11738
|
-
# - "`
|
|
11739
|
-
#
|
|
11740
|
-
# - "`cxt`"
|
|
11741
|
-
# - "`deliv`"
|
|
11742
|
-
# - "`dhl`"
|
|
11743
|
-
# - "`dpd`"
|
|
11744
|
-
# - "`dynamex`"
|
|
11745
|
-
# - "`eCourier`"
|
|
11746
|
-
# - "`easypost`"
|
|
11747
|
-
# - "`efw`"
|
|
11748
|
-
# - "`fedex`"
|
|
11749
|
-
# - "`fedexSmartpost`"
|
|
11750
|
-
# - "`geodis`"
|
|
11751
|
-
# - "`gls`"
|
|
11752
|
-
# - "`googleCourier`"
|
|
11753
|
-
# - "`gsx`"
|
|
11754
|
-
# - "`jdLogistics`"
|
|
11755
|
-
# - "`laPoste`"
|
|
11756
|
-
# - "`lasership`"
|
|
11757
|
-
# - "`manual`"
|
|
11758
|
-
# - "`mpx`"
|
|
11759
|
-
# - "`onTrac`"
|
|
11760
|
-
# - "`other`"
|
|
11761
|
-
# - "`tnt`"
|
|
11762
|
-
# - "`uds`"
|
|
11763
|
-
# - "`ups`"
|
|
11764
|
-
# - "`usps`"
|
|
12239
|
+
# The shipping carrier that handles the package. Acceptable values are: - "`
|
|
12240
|
+
# boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
|
|
12241
|
+
# " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
|
|
12242
|
+
# "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
|
|
12243
|
+
# googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
|
|
12244
|
+
# manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
|
|
12245
|
+
# usps`"
|
|
11765
12246
|
# Corresponds to the JSON property `carrier`
|
|
11766
12247
|
# @return [String]
|
|
11767
12248
|
attr_accessor :carrier
|
|
@@ -11853,10 +12334,7 @@ module Google
|
|
|
11853
12334
|
# @return [Fixnum]
|
|
11854
12335
|
attr_accessor :merchant_id
|
|
11855
12336
|
|
|
11856
|
-
# The method of the batch entry.
|
|
11857
|
-
# Acceptable values are:
|
|
11858
|
-
# - "`get`"
|
|
11859
|
-
# - "`update`"
|
|
12337
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
11860
12338
|
# Corresponds to the JSON property `method`
|
|
11861
12339
|
# @return [String]
|
|
11862
12340
|
attr_accessor :method_prop
|
|
@@ -12132,40 +12610,28 @@ module Google
|
|
|
12132
12610
|
# @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
|
|
12133
12611
|
attr_accessor :pickup_details
|
|
12134
12612
|
|
|
12135
|
-
# Required. The billing address.
|
|
12136
|
-
#
|
|
12137
|
-
# - "`dwight`"
|
|
12138
|
-
# - "`jim`"
|
|
12139
|
-
# - "`pam`"
|
|
12613
|
+
# Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" -
|
|
12614
|
+
# "`pam`"
|
|
12140
12615
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
|
12141
12616
|
# @return [String]
|
|
12142
12617
|
attr_accessor :predefined_billing_address
|
|
12143
12618
|
|
|
12144
12619
|
# Required. Identifier of one of the predefined delivery addresses for the
|
|
12145
|
-
# delivery.
|
|
12146
|
-
# Acceptable values are:
|
|
12147
|
-
# - "`dwight`"
|
|
12148
|
-
# - "`jim`"
|
|
12149
|
-
# - "`pam`"
|
|
12620
|
+
# delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
|
12150
12621
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
|
12151
12622
|
# @return [String]
|
|
12152
12623
|
attr_accessor :predefined_delivery_address
|
|
12153
12624
|
|
|
12154
|
-
# Required. Email address of the customer.
|
|
12155
|
-
#
|
|
12156
|
-
#
|
|
12157
|
-
# - "`pog.jim.halpert@gmail.com`"
|
|
12158
|
-
# - "`penpog.pam.beesly@gmail.comding`"
|
|
12625
|
+
# Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
|
|
12626
|
+
# schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
|
|
12627
|
+
# gmail.comding`"
|
|
12159
12628
|
# Corresponds to the JSON property `predefinedEmail`
|
|
12160
12629
|
# @return [String]
|
|
12161
12630
|
attr_accessor :predefined_email
|
|
12162
12631
|
|
|
12163
12632
|
# Identifier of one of the predefined pickup details. Required for orders
|
|
12164
|
-
# containing line items with shipping type `pickup`.
|
|
12165
|
-
#
|
|
12166
|
-
# - "`dwight`"
|
|
12167
|
-
# - "`jim`"
|
|
12168
|
-
# - "`pam`"
|
|
12633
|
+
# containing line items with shipping type `pickup`. Acceptable values are: - "`
|
|
12634
|
+
# dwight`" - "`jim`" - "`pam`"
|
|
12169
12635
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
|
12170
12636
|
# @return [String]
|
|
12171
12637
|
attr_accessor :predefined_pickup_details
|
|
@@ -12183,14 +12649,8 @@ module Google
|
|
|
12183
12649
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12184
12650
|
attr_accessor :shipping_cost
|
|
12185
12651
|
|
|
12186
|
-
# Required. The requested shipping option.
|
|
12187
|
-
#
|
|
12188
|
-
# - "`economy`"
|
|
12189
|
-
# - "`expedited`"
|
|
12190
|
-
# - "`oneDay`"
|
|
12191
|
-
# - "`sameDay`"
|
|
12192
|
-
# - "`standard`"
|
|
12193
|
-
# - "`twoDay`"
|
|
12652
|
+
# Required. The requested shipping option. Acceptable values are: - "`economy`" -
|
|
12653
|
+
# "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
|
|
12194
12654
|
# Corresponds to the JSON property `shippingOption`
|
|
12195
12655
|
# @return [String]
|
|
12196
12656
|
attr_accessor :shipping_option
|
|
@@ -12227,11 +12687,8 @@ module Google
|
|
|
12227
12687
|
attr_accessor :country
|
|
12228
12688
|
|
|
12229
12689
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
12230
|
-
# example:
|
|
12231
|
-
#
|
|
12232
|
-
# 1600 Amphitheatre Parkway
|
|
12233
|
-
# Mountain View, CA, 94043
|
|
12234
|
-
# United States
|
|
12690
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
12691
|
+
# States
|
|
12235
12692
|
# Corresponds to the JSON property `fullAddress`
|
|
12236
12693
|
# @return [Array<String>]
|
|
12237
12694
|
attr_accessor :full_address
|
|
@@ -12357,17 +12814,13 @@ module Google
|
|
|
12357
12814
|
# @return [String]
|
|
12358
12815
|
attr_accessor :brand
|
|
12359
12816
|
|
|
12360
|
-
# Required. Condition or state of the item.
|
|
12361
|
-
# Acceptable values are:
|
|
12362
|
-
# - "`new`"
|
|
12817
|
+
# Required. Condition or state of the item. Acceptable values are: - "`new`"
|
|
12363
12818
|
# Corresponds to the JSON property `condition`
|
|
12364
12819
|
# @return [String]
|
|
12365
12820
|
attr_accessor :condition
|
|
12366
12821
|
|
|
12367
|
-
# Required. The two-letter ISO 639-1 language code for the item.
|
|
12368
|
-
#
|
|
12369
|
-
# - "`en`"
|
|
12370
|
-
# - "`fr`"
|
|
12822
|
+
# Required. The two-letter ISO 639-1 language code for the item. Acceptable
|
|
12823
|
+
# values are: - "`en`" - "`fr`"
|
|
12371
12824
|
# Corresponds to the JSON property `contentLanguage`
|
|
12372
12825
|
# @return [String]
|
|
12373
12826
|
attr_accessor :content_language
|
|
@@ -12409,7 +12862,7 @@ module Google
|
|
|
12409
12862
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12410
12863
|
attr_accessor :price
|
|
12411
12864
|
|
|
12412
|
-
# Required. The CLDR territory code of the target country of the product.
|
|
12865
|
+
# Required. The CLDR territory // code of the target country of the product.
|
|
12413
12866
|
# Corresponds to the JSON property `targetCountry`
|
|
12414
12867
|
# @return [String]
|
|
12415
12868
|
attr_accessor :target_country
|
|
@@ -12460,11 +12913,8 @@ module Google
|
|
|
12460
12913
|
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
|
12461
12914
|
attr_accessor :pickup_location_address
|
|
12462
12915
|
|
|
12463
|
-
# Pickup location type.
|
|
12464
|
-
#
|
|
12465
|
-
# - "`locker`"
|
|
12466
|
-
# - "`store`"
|
|
12467
|
-
# - "`curbside`"
|
|
12916
|
+
# Pickup location type. Acceptable values are: - "`locker`" - "`store`" - "`
|
|
12917
|
+
# curbside`"
|
|
12468
12918
|
# Corresponds to the JSON property `pickupLocationType`
|
|
12469
12919
|
# @return [String]
|
|
12470
12920
|
attr_accessor :pickup_location_type
|
|
@@ -12512,6 +12962,32 @@ module Google
|
|
|
12512
12962
|
end
|
|
12513
12963
|
end
|
|
12514
12964
|
|
|
12965
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
|
12966
|
+
# time-zones).
|
|
12967
|
+
class TimeZone
|
|
12968
|
+
include Google::Apis::Core::Hashable
|
|
12969
|
+
|
|
12970
|
+
# IANA Time Zone Database time zone, e.g. "America/New_York".
|
|
12971
|
+
# Corresponds to the JSON property `id`
|
|
12972
|
+
# @return [String]
|
|
12973
|
+
attr_accessor :id
|
|
12974
|
+
|
|
12975
|
+
# Optional. IANA Time Zone Database version number, e.g. "2019a".
|
|
12976
|
+
# Corresponds to the JSON property `version`
|
|
12977
|
+
# @return [String]
|
|
12978
|
+
attr_accessor :version
|
|
12979
|
+
|
|
12980
|
+
def initialize(**args)
|
|
12981
|
+
update!(**args)
|
|
12982
|
+
end
|
|
12983
|
+
|
|
12984
|
+
# Update properties of this object
|
|
12985
|
+
def update!(**args)
|
|
12986
|
+
@id = args[:id] if args.key?(:id)
|
|
12987
|
+
@version = args[:version] if args.key?(:version)
|
|
12988
|
+
end
|
|
12989
|
+
end
|
|
12990
|
+
|
|
12515
12991
|
#
|
|
12516
12992
|
class TransitTable
|
|
12517
12993
|
include Google::Apis::Core::Hashable
|
|
@@ -12632,9 +13108,8 @@ module Google
|
|
|
12632
13108
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
12633
13109
|
attr_accessor :additional_charge_amount
|
|
12634
13110
|
|
|
12635
|
-
# [required] Type of the additional charge.
|
|
12636
|
-
#
|
|
12637
|
-
# - "`shipping`"
|
|
13111
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
13112
|
+
#
|
|
12638
13113
|
# Corresponds to the JSON property `type`
|
|
12639
13114
|
# @return [String]
|
|
12640
13115
|
attr_accessor :type
|
|
@@ -12665,11 +13140,8 @@ module Google
|
|
|
12665
13140
|
# @return [String]
|
|
12666
13141
|
attr_accessor :tax_name
|
|
12667
13142
|
|
|
12668
|
-
# [required] Type of the tax.
|
|
12669
|
-
#
|
|
12670
|
-
# - "`otherFee`"
|
|
12671
|
-
# - "`otherFeeTax`"
|
|
12672
|
-
# - "`sales`"
|
|
13143
|
+
# [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
|
|
13144
|
+
# otherFeeTax`" - "`sales`"
|
|
12673
13145
|
# Corresponds to the JSON property `taxType`
|
|
12674
13146
|
# @return [String]
|
|
12675
13147
|
attr_accessor :tax_type
|
|
@@ -12740,10 +13212,7 @@ module Google
|
|
|
12740
13212
|
class Weight
|
|
12741
13213
|
include Google::Apis::Core::Hashable
|
|
12742
13214
|
|
|
12743
|
-
# Required. The weight unit.
|
|
12744
|
-
# Acceptable values are:
|
|
12745
|
-
# - "`kg`"
|
|
12746
|
-
# - "`lb`"
|
|
13215
|
+
# Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
|
|
12747
13216
|
# Corresponds to the JSON property `unit`
|
|
12748
13217
|
# @return [String]
|
|
12749
13218
|
attr_accessor :unit
|