google-api-client 0.46.1 → 0.50.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/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +666 -191
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- 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 +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- 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/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
- 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/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +377 -137
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +673 -56
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +158 -5
- data/generated/google/apis/bigquery_v2/representations.rb +67 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -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 +12 -1
- 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 +12 -1
- 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 +3 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- 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 +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1122 -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/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
- 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 +13 -13
- 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 +13 -13
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
- 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 +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +282 -29
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +4 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +51 -10
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +511 -1219
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
- data/generated/google/apis/content_v2_1/representations.rb +342 -0
- data/generated/google/apis/content_v2_1/service.rb +948 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -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 +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -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 +18 -7
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- 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_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -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 +649 -385
- data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
- data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +257 -17
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +39 -32
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +22 -20
- data/generated/google/apis/drive_v2/service.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -9
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -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/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/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
- 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/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +10 -4
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +8 -11
- data/generated/google/apis/iam_v1/representations.rb +0 -1
- data/generated/google/apis/iam_v1/service.rb +1 -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 +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +186 -10
- 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 +347 -7
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- 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/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +273 -79
- data/generated/google/apis/ml_v1/representations.rb +43 -0
- 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 +19 -13
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- 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 +1461 -0
- data/generated/google/apis/notebooks_v1/representations.rb +581 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +49 -49
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -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/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +1 -2
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
- 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 +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- 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/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -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 +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -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_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
- 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 +207 -65
- data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- 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 +23 -7
- data/generated/google/apis/sheets_v4/representations.rb +3 -0
- 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 +2 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- 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/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -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 +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- 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/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +47 -16
- 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/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
|
@@ -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 = '20201104'
|
|
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
|
+
# Output only. 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
|
+
# Description for this label.
|
|
343
|
+
# Corresponds to the JSON property `description`
|
|
344
|
+
# @return [String]
|
|
345
|
+
attr_accessor :description
|
|
346
|
+
|
|
347
|
+
# Output only. Immutable. 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
|
|
@@ -1016,19 +1032,14 @@ module Google
|
|
|
1016
1032
|
include Google::Apis::Core::Hashable
|
|
1017
1033
|
|
|
1018
1034
|
# Action to perform for this link. The `"request"` action is only available to
|
|
1019
|
-
# select merchants.
|
|
1020
|
-
#
|
|
1021
|
-
# - "`approve`"
|
|
1022
|
-
# - "`remove`"
|
|
1023
|
-
# - "`request`"
|
|
1035
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
|
1036
|
+
# request`"
|
|
1024
1037
|
# Corresponds to the JSON property `action`
|
|
1025
1038
|
# @return [String]
|
|
1026
1039
|
attr_accessor :action
|
|
1027
1040
|
|
|
1028
|
-
# Type of the link between the two accounts.
|
|
1029
|
-
#
|
|
1030
|
-
# - "`channelPartner`"
|
|
1031
|
-
# - "`eCommercePlatform`"
|
|
1041
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
|
1042
|
+
# channelPartner`" - "`eCommercePlatform`"
|
|
1032
1043
|
# Corresponds to the JSON property `linkType`
|
|
1033
1044
|
# @return [String]
|
|
1034
1045
|
attr_accessor :link_type
|
|
@@ -1223,9 +1234,7 @@ module Google
|
|
|
1223
1234
|
# @return [Fixnum]
|
|
1224
1235
|
attr_accessor :merchant_id
|
|
1225
1236
|
|
|
1226
|
-
# The method of the batch entry.
|
|
1227
|
-
# Acceptable values are:
|
|
1228
|
-
# - "`get`"
|
|
1237
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
1229
1238
|
# Corresponds to the JSON property `method`
|
|
1230
1239
|
# @return [String]
|
|
1231
1240
|
attr_accessor :method_prop
|
|
@@ -1377,10 +1386,7 @@ module Google
|
|
|
1377
1386
|
# @return [Fixnum]
|
|
1378
1387
|
attr_accessor :merchant_id
|
|
1379
1388
|
|
|
1380
|
-
# The method of the batch entry.
|
|
1381
|
-
# Acceptable values are:
|
|
1382
|
-
# - "`get`"
|
|
1383
|
-
# - "`update`"
|
|
1389
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
1384
1390
|
# Corresponds to the JSON property `method`
|
|
1385
1391
|
# @return [String]
|
|
1386
1392
|
attr_accessor :method_prop
|
|
@@ -1628,6 +1634,58 @@ module Google
|
|
|
1628
1634
|
end
|
|
1629
1635
|
end
|
|
1630
1636
|
|
|
1637
|
+
# Information about CSS domain.
|
|
1638
|
+
class Css
|
|
1639
|
+
include Google::Apis::Core::Hashable
|
|
1640
|
+
|
|
1641
|
+
# Output only. Immutable. The CSS domain ID.
|
|
1642
|
+
# Corresponds to the JSON property `cssDomainId`
|
|
1643
|
+
# @return [Fixnum]
|
|
1644
|
+
attr_accessor :css_domain_id
|
|
1645
|
+
|
|
1646
|
+
# Output only. Immutable. The ID of the CSS group this CSS domain is affiliated
|
|
1647
|
+
# with. Only populated for CSS group users.
|
|
1648
|
+
# Corresponds to the JSON property `cssGroupId`
|
|
1649
|
+
# @return [Fixnum]
|
|
1650
|
+
attr_accessor :css_group_id
|
|
1651
|
+
|
|
1652
|
+
# Output only. Immutable. The CSS domain's display name, used when space is
|
|
1653
|
+
# constrained.
|
|
1654
|
+
# Corresponds to the JSON property `displayName`
|
|
1655
|
+
# @return [String]
|
|
1656
|
+
attr_accessor :display_name
|
|
1657
|
+
|
|
1658
|
+
# Output only. Immutable. The CSS domain's full name.
|
|
1659
|
+
# Corresponds to the JSON property `fullName`
|
|
1660
|
+
# @return [String]
|
|
1661
|
+
attr_accessor :full_name
|
|
1662
|
+
|
|
1663
|
+
# Output only. Immutable. The CSS domain's homepage.
|
|
1664
|
+
# Corresponds to the JSON property `homepageUri`
|
|
1665
|
+
# @return [String]
|
|
1666
|
+
attr_accessor :homepage_uri
|
|
1667
|
+
|
|
1668
|
+
# A list of label IDs that are assigned to this CSS domain by its CSS group.
|
|
1669
|
+
# Only populated for CSS group users.
|
|
1670
|
+
# Corresponds to the JSON property `labelIds`
|
|
1671
|
+
# @return [Array<Fixnum>]
|
|
1672
|
+
attr_accessor :label_ids
|
|
1673
|
+
|
|
1674
|
+
def initialize(**args)
|
|
1675
|
+
update!(**args)
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
# Update properties of this object
|
|
1679
|
+
def update!(**args)
|
|
1680
|
+
@css_domain_id = args[:css_domain_id] if args.key?(:css_domain_id)
|
|
1681
|
+
@css_group_id = args[:css_group_id] if args.key?(:css_group_id)
|
|
1682
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1683
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
|
1684
|
+
@homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
|
|
1685
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
1686
|
+
end
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1631
1689
|
#
|
|
1632
1690
|
class CustomAttribute
|
|
1633
1691
|
include Google::Apis::Core::Hashable
|
|
@@ -1670,22 +1728,11 @@ module Google
|
|
|
1670
1728
|
# @return [String]
|
|
1671
1729
|
attr_accessor :description
|
|
1672
1730
|
|
|
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`"
|
|
1731
|
+
# Code of the return reason. Acceptable values are: - "`betterPriceFound`" - "`
|
|
1732
|
+
# changedMind`" - "`damagedOrDefectiveItem`" - "`didNotMatchDescription`" - "`
|
|
1733
|
+
# doesNotFit`" - "`expiredItem`" - "`incorrectItemReceived`" - "`noLongerNeeded`"
|
|
1734
|
+
# - "`notSpecified`" - "`orderedWrongItem`" - "`other`" - "`qualityNotExpected`"
|
|
1735
|
+
# - "`receivedTooLate`" - "`undeliverable`"
|
|
1689
1736
|
# Corresponds to the JSON property `reasonCode`
|
|
1690
1737
|
# @return [String]
|
|
1691
1738
|
attr_accessor :reason_code
|
|
@@ -1746,11 +1793,8 @@ module Google
|
|
|
1746
1793
|
attr_accessor :attribute_language
|
|
1747
1794
|
|
|
1748
1795
|
# 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`"
|
|
1796
|
+
# local stores, not online stores, are supported. Acceptable values are: - "`
|
|
1797
|
+
# local products`" - "`product inventory`" - "`products`"
|
|
1754
1798
|
# Corresponds to the JSON property `contentType`
|
|
1755
1799
|
# @return [String]
|
|
1756
1800
|
attr_accessor :content_type
|
|
@@ -1863,15 +1907,9 @@ module Google
|
|
|
1863
1907
|
# @return [String]
|
|
1864
1908
|
attr_accessor :username
|
|
1865
1909
|
|
|
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`"
|
|
1910
|
+
# The day of the week the feed file should be fetched. Acceptable values are: - "
|
|
1911
|
+
# `monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`
|
|
1912
|
+
# saturday`" - "`sunday`"
|
|
1875
1913
|
# Corresponds to the JSON property `weekday`
|
|
1876
1914
|
# @return [String]
|
|
1877
1915
|
attr_accessor :weekday
|
|
@@ -1900,32 +1938,21 @@ module Google
|
|
|
1900
1938
|
|
|
1901
1939
|
# Delimiter for the separation of values in a delimiter-separated values feed.
|
|
1902
1940
|
# 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`"
|
|
1941
|
+
# data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`"
|
|
1908
1942
|
# Corresponds to the JSON property `columnDelimiter`
|
|
1909
1943
|
# @return [String]
|
|
1910
1944
|
attr_accessor :column_delimiter
|
|
1911
1945
|
|
|
1912
1946
|
# 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`"
|
|
1947
|
+
# will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "`
|
|
1948
|
+
# utf-16le`" - "`utf-8`" - "`windows-1252`"
|
|
1920
1949
|
# Corresponds to the JSON property `fileEncoding`
|
|
1921
1950
|
# @return [String]
|
|
1922
1951
|
attr_accessor :file_encoding
|
|
1923
1952
|
|
|
1924
1953
|
# 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`"
|
|
1954
|
+
# be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "`
|
|
1955
|
+
# normal character`" - "`value quoting`"
|
|
1929
1956
|
# Corresponds to the JSON property `quotingMode`
|
|
1930
1957
|
# @return [String]
|
|
1931
1958
|
attr_accessor :quoting_mode
|
|
@@ -1947,7 +1974,7 @@ module Google
|
|
|
1947
1974
|
class DatafeedStatus
|
|
1948
1975
|
include Google::Apis::Core::Hashable
|
|
1949
1976
|
|
|
1950
|
-
# The country for which the status is reported, represented as a
|
|
1977
|
+
# The country for which the status is reported, represented as a CLDR territory
|
|
1951
1978
|
# code.
|
|
1952
1979
|
# Corresponds to the JSON property `country`
|
|
1953
1980
|
# @return [String]
|
|
@@ -1989,12 +2016,10 @@ module Google
|
|
|
1989
2016
|
# @return [String]
|
|
1990
2017
|
attr_accessor :last_upload_date
|
|
1991
2018
|
|
|
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.
|
|
2019
|
+
# The processing status of the feed. Acceptable values are: - "`"`failure`": The
|
|
2020
|
+
# feed could not be processed or all items had errors.`" - "`in progress`": The
|
|
2021
|
+
# feed is being processed. - "`none`": The feed has not yet been processed. For
|
|
2022
|
+
# example, a feed that has never been uploaded will have this processing status.
|
|
1998
2023
|
# - "`success`": The feed was processed successfully, though some items might
|
|
1999
2024
|
# have had errors.
|
|
2000
2025
|
# Corresponds to the JSON property `processingStatus`
|
|
@@ -2098,7 +2123,7 @@ module Google
|
|
|
2098
2123
|
include Google::Apis::Core::Hashable
|
|
2099
2124
|
|
|
2100
2125
|
# The country where the items in the feed will be included in the search index,
|
|
2101
|
-
# represented as a
|
|
2126
|
+
# represented as a CLDR territory code.
|
|
2102
2127
|
# Corresponds to the JSON property `country`
|
|
2103
2128
|
# @return [String]
|
|
2104
2129
|
attr_accessor :country
|
|
@@ -2111,12 +2136,9 @@ module Google
|
|
|
2111
2136
|
|
|
2112
2137
|
# The list of destinations to include for this target (corresponds to checked
|
|
2113
2138
|
# check boxes in Merchant Center). Default destinations are always included
|
|
2114
|
-
# unless provided in `excludedDestinations`.
|
|
2115
|
-
#
|
|
2116
|
-
#
|
|
2117
|
-
# - Shopping
|
|
2118
|
-
# - ShoppingActions
|
|
2119
|
-
# - SurfacesAcrossGoogle
|
|
2139
|
+
# unless provided in `excludedDestinations`. List of supported destinations (if
|
|
2140
|
+
# available to the account): - DisplayAds - Shopping - ShoppingActions -
|
|
2141
|
+
# SurfacesAcrossGoogle
|
|
2120
2142
|
# Corresponds to the JSON property `includedDestinations`
|
|
2121
2143
|
# @return [Array<String>]
|
|
2122
2144
|
attr_accessor :included_destinations
|
|
@@ -2183,13 +2205,8 @@ module Google
|
|
|
2183
2205
|
# @return [Fixnum]
|
|
2184
2206
|
attr_accessor :merchant_id
|
|
2185
2207
|
|
|
2186
|
-
# The method of the batch entry.
|
|
2187
|
-
#
|
|
2188
|
-
# - "`delete`"
|
|
2189
|
-
# - "`fetchNow`"
|
|
2190
|
-
# - "`get`"
|
|
2191
|
-
# - "`insert`"
|
|
2192
|
-
# - "`update`"
|
|
2208
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`
|
|
2209
|
+
# fetchNow`" - "`get`" - "`insert`" - "`update`"
|
|
2193
2210
|
# Corresponds to the JSON property `method`
|
|
2194
2211
|
# @return [String]
|
|
2195
2212
|
attr_accessor :method_prop
|
|
@@ -2369,9 +2386,7 @@ module Google
|
|
|
2369
2386
|
# @return [Fixnum]
|
|
2370
2387
|
attr_accessor :merchant_id
|
|
2371
2388
|
|
|
2372
|
-
# The method of the batch entry.
|
|
2373
|
-
# Acceptable values are:
|
|
2374
|
-
# - "`get`"
|
|
2389
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
2375
2390
|
# Corresponds to the JSON property `method`
|
|
2376
2391
|
# @return [String]
|
|
2377
2392
|
attr_accessor :method_prop
|
|
@@ -2481,6 +2496,91 @@ module Google
|
|
|
2481
2496
|
end
|
|
2482
2497
|
end
|
|
2483
2498
|
|
|
2499
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
2500
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
2501
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
2502
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
2503
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
2504
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
2505
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
2506
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
2507
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
2508
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
2509
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
2510
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
2511
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
2512
|
+
# to document and validate your application's limitations.
|
|
2513
|
+
class DateTime
|
|
2514
|
+
include Google::Apis::Core::Hashable
|
|
2515
|
+
|
|
2516
|
+
# Required. Day of month. Must be from 1 to 31 and valid for the year and month.
|
|
2517
|
+
# Corresponds to the JSON property `day`
|
|
2518
|
+
# @return [Fixnum]
|
|
2519
|
+
attr_accessor :day
|
|
2520
|
+
|
|
2521
|
+
# Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
|
|
2522
|
+
# choose to allow the value "24:00:00" for scenarios like business closing time.
|
|
2523
|
+
# Corresponds to the JSON property `hours`
|
|
2524
|
+
# @return [Fixnum]
|
|
2525
|
+
attr_accessor :hours
|
|
2526
|
+
|
|
2527
|
+
# Required. Minutes of hour of day. Must be from 0 to 59.
|
|
2528
|
+
# Corresponds to the JSON property `minutes`
|
|
2529
|
+
# @return [Fixnum]
|
|
2530
|
+
attr_accessor :minutes
|
|
2531
|
+
|
|
2532
|
+
# Required. Month of year. Must be from 1 to 12.
|
|
2533
|
+
# Corresponds to the JSON property `month`
|
|
2534
|
+
# @return [Fixnum]
|
|
2535
|
+
attr_accessor :month
|
|
2536
|
+
|
|
2537
|
+
# Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
|
2538
|
+
# Corresponds to the JSON property `nanos`
|
|
2539
|
+
# @return [Fixnum]
|
|
2540
|
+
attr_accessor :nanos
|
|
2541
|
+
|
|
2542
|
+
# Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
|
2543
|
+
# API may allow the value 60 if it allows leap-seconds.
|
|
2544
|
+
# Corresponds to the JSON property `seconds`
|
|
2545
|
+
# @return [Fixnum]
|
|
2546
|
+
attr_accessor :seconds
|
|
2547
|
+
|
|
2548
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
|
2549
|
+
# time-zones).
|
|
2550
|
+
# Corresponds to the JSON property `timeZone`
|
|
2551
|
+
# @return [Google::Apis::ContentV2_1::TimeZone]
|
|
2552
|
+
attr_accessor :time_zone
|
|
2553
|
+
|
|
2554
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours. For
|
|
2555
|
+
# example, a UTC offset of -4:00 would be represented as ` seconds: -14400 `.
|
|
2556
|
+
# Corresponds to the JSON property `utcOffset`
|
|
2557
|
+
# @return [String]
|
|
2558
|
+
attr_accessor :utc_offset
|
|
2559
|
+
|
|
2560
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime
|
|
2561
|
+
# without a year.
|
|
2562
|
+
# Corresponds to the JSON property `year`
|
|
2563
|
+
# @return [Fixnum]
|
|
2564
|
+
attr_accessor :year
|
|
2565
|
+
|
|
2566
|
+
def initialize(**args)
|
|
2567
|
+
update!(**args)
|
|
2568
|
+
end
|
|
2569
|
+
|
|
2570
|
+
# Update properties of this object
|
|
2571
|
+
def update!(**args)
|
|
2572
|
+
@day = args[:day] if args.key?(:day)
|
|
2573
|
+
@hours = args[:hours] if args.key?(:hours)
|
|
2574
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
|
2575
|
+
@month = args[:month] if args.key?(:month)
|
|
2576
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
|
2577
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
|
2578
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
2579
|
+
@utc_offset = args[:utc_offset] if args.key?(:utc_offset)
|
|
2580
|
+
@year = args[:year] if args.key?(:year)
|
|
2581
|
+
end
|
|
2582
|
+
end
|
|
2583
|
+
|
|
2484
2584
|
#
|
|
2485
2585
|
class DeliveryTime
|
|
2486
2586
|
include Google::Apis::Core::Hashable
|
|
@@ -2698,8 +2798,8 @@ module Google
|
|
|
2698
2798
|
|
|
2699
2799
|
# A list of inclusive number of items upper bounds. The last value can be `"
|
|
2700
2800
|
# 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.
|
|
2801
|
+
# 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set
|
|
2802
|
+
# if all other fields are not set.
|
|
2703
2803
|
# Corresponds to the JSON property `numberOfItems`
|
|
2704
2804
|
# @return [Array<String>]
|
|
2705
2805
|
attr_accessor :number_of_items
|
|
@@ -2715,8 +2815,9 @@ module Google
|
|
|
2715
2815
|
# A list of inclusive order price upper bounds. The last price's value can be `"
|
|
2716
2816
|
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
|
2717
2817
|
# "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
|
|
2818
|
+
# headers "<= $10", "<= $500", and "> $500". All prices within a service must
|
|
2819
|
+
# have the same currency. Must be non-empty. Can only be set if all other fields
|
|
2820
|
+
# are not set.
|
|
2720
2821
|
# Corresponds to the JSON property `prices`
|
|
2721
2822
|
# @return [Array<Google::Apis::ContentV2_1::Price>]
|
|
2722
2823
|
attr_accessor :prices
|
|
@@ -2724,8 +2825,8 @@ module Google
|
|
|
2724
2825
|
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
|
2725
2826
|
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
|
2726
2827
|
# 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.
|
|
2828
|
+
# 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the
|
|
2829
|
+
# same unit. Must be non-empty. Can only be set if all other fields are not set.
|
|
2729
2830
|
# Corresponds to the JSON property `weights`
|
|
2730
2831
|
# @return [Array<Google::Apis::ContentV2_1::Weight>]
|
|
2731
2832
|
attr_accessor :weights
|
|
@@ -2762,7 +2863,7 @@ module Google
|
|
|
2762
2863
|
attr_accessor :deadline_hour
|
|
2763
2864
|
|
|
2764
2865
|
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
|
2765
|
-
# in
|
|
2866
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
|
2766
2867
|
# Corresponds to the JSON property `deadlineTimezone`
|
|
2767
2868
|
# @return [String]
|
|
2768
2869
|
attr_accessor :deadline_timezone
|
|
@@ -2828,16 +2929,9 @@ module Google
|
|
|
2828
2929
|
# @return [String]
|
|
2829
2930
|
attr_accessor :id
|
|
2830
2931
|
|
|
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`"
|
|
2932
|
+
# The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`
|
|
2933
|
+
# Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`
|
|
2934
|
+
# Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
|
|
2841
2935
|
# Corresponds to the JSON property `type`
|
|
2842
2936
|
# @return [String]
|
|
2843
2937
|
attr_accessor :type
|
|
@@ -2916,9 +3010,8 @@ module Google
|
|
|
2916
3010
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
2917
3011
|
attr_accessor :total_amount
|
|
2918
3012
|
|
|
2919
|
-
# [required] Type of the additional charge.
|
|
2920
|
-
#
|
|
2921
|
-
# - "`shipping`"
|
|
3013
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
3014
|
+
#
|
|
2922
3015
|
# Corresponds to the JSON property `type`
|
|
2923
3016
|
# @return [String]
|
|
2924
3017
|
attr_accessor :type
|
|
@@ -2934,15 +3027,31 @@ module Google
|
|
|
2934
3027
|
end
|
|
2935
3028
|
end
|
|
2936
3029
|
|
|
3030
|
+
# The IDs of labels that should be assigned to the CSS domain.
|
|
3031
|
+
class LabelIds
|
|
3032
|
+
include Google::Apis::Core::Hashable
|
|
3033
|
+
|
|
3034
|
+
# The list of label IDs.
|
|
3035
|
+
# Corresponds to the JSON property `labelIds`
|
|
3036
|
+
# @return [Array<Fixnum>]
|
|
3037
|
+
attr_accessor :label_ids
|
|
3038
|
+
|
|
3039
|
+
def initialize(**args)
|
|
3040
|
+
update!(**args)
|
|
3041
|
+
end
|
|
3042
|
+
|
|
3043
|
+
# Update properties of this object
|
|
3044
|
+
def update!(**args)
|
|
3045
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
3046
|
+
end
|
|
3047
|
+
end
|
|
3048
|
+
|
|
2937
3049
|
#
|
|
2938
3050
|
class LiaAboutPageSettings
|
|
2939
3051
|
include Google::Apis::Core::Hashable
|
|
2940
3052
|
|
|
2941
|
-
# The status of the verification process for the About page.
|
|
2942
|
-
#
|
|
2943
|
-
# - "`active`"
|
|
2944
|
-
# - "`inactive`"
|
|
2945
|
-
# - "`pending`"
|
|
3053
|
+
# The status of the verification process for the About page. Acceptable values
|
|
3054
|
+
# are: - "`active`" - "`inactive`" - "`pending`"
|
|
2946
3055
|
# Corresponds to the JSON property `status`
|
|
2947
3056
|
# @return [String]
|
|
2948
3057
|
attr_accessor :status
|
|
@@ -3034,20 +3143,14 @@ module Google
|
|
|
3034
3143
|
# @return [String]
|
|
3035
3144
|
attr_accessor :inventory_verification_contact_name
|
|
3036
3145
|
|
|
3037
|
-
# The status of the verification contact.
|
|
3038
|
-
#
|
|
3039
|
-
# - "`active`"
|
|
3040
|
-
# - "`inactive`"
|
|
3041
|
-
# - "`pending`"
|
|
3146
|
+
# The status of the verification contact. Acceptable values are: - "`active`" - "
|
|
3147
|
+
# `inactive`" - "`pending`"
|
|
3042
3148
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
|
3043
3149
|
# @return [String]
|
|
3044
3150
|
attr_accessor :inventory_verification_contact_status
|
|
3045
3151
|
|
|
3046
|
-
# The status of the inventory verification process.
|
|
3047
|
-
#
|
|
3048
|
-
# - "`active`"
|
|
3049
|
-
# - "`inactive`"
|
|
3050
|
-
# - "`pending`"
|
|
3152
|
+
# The status of the inventory verification process. Acceptable values are: - "`
|
|
3153
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3051
3154
|
# Corresponds to the JSON property `status`
|
|
3052
3155
|
# @return [String]
|
|
3053
3156
|
attr_accessor :status
|
|
@@ -3074,11 +3177,8 @@ module Google
|
|
|
3074
3177
|
# @return [String]
|
|
3075
3178
|
attr_accessor :shipping_cost_policy_url
|
|
3076
3179
|
|
|
3077
|
-
# The status of the ?On display to order? feature.
|
|
3078
|
-
#
|
|
3079
|
-
# - "`active`"
|
|
3080
|
-
# - "`inactive`"
|
|
3081
|
-
# - "`pending`"
|
|
3180
|
+
# The status of the ?On display to order? feature. Acceptable values are: - "`
|
|
3181
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3082
3182
|
# Corresponds to the JSON property `status`
|
|
3083
3183
|
# @return [String]
|
|
3084
3184
|
attr_accessor :status
|
|
@@ -3219,14 +3319,10 @@ module Google
|
|
|
3219
3319
|
# @return [Fixnum]
|
|
3220
3320
|
attr_accessor :merchant_id
|
|
3221
3321
|
|
|
3222
|
-
# The method of the batch entry.
|
|
3223
|
-
#
|
|
3224
|
-
# - "`
|
|
3225
|
-
#
|
|
3226
|
-
# - "`requestGmbAccess`"
|
|
3227
|
-
# - "`requestInventoryVerification`"
|
|
3228
|
-
# - "`setInventoryVerificationContact`"
|
|
3229
|
-
# - "`update`"
|
|
3322
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`
|
|
3323
|
+
# getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
|
|
3324
|
+
# requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
|
|
3325
|
+
# update`"
|
|
3230
3326
|
# Corresponds to the JSON property `method`
|
|
3231
3327
|
# @return [String]
|
|
3232
3328
|
attr_accessor :method_prop
|
|
@@ -3512,20 +3608,15 @@ module Google
|
|
|
3512
3608
|
class LinkService
|
|
3513
3609
|
include Google::Apis::Core::Hashable
|
|
3514
3610
|
|
|
3515
|
-
# Service provided to or by the linked account.
|
|
3516
|
-
#
|
|
3517
|
-
#
|
|
3518
|
-
# - "`shoppingActionsProductManagement`"
|
|
3519
|
-
# - "`shoppingAdsProductManagement`"
|
|
3611
|
+
# Service provided to or by the linked account. Acceptable values are: - "`
|
|
3612
|
+
# shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
|
|
3613
|
+
# shoppingAdsProductManagement`"
|
|
3520
3614
|
# Corresponds to the JSON property `service`
|
|
3521
3615
|
# @return [String]
|
|
3522
3616
|
attr_accessor :service
|
|
3523
3617
|
|
|
3524
|
-
# Status of the link
|
|
3525
|
-
#
|
|
3526
|
-
# - "`active`"
|
|
3527
|
-
# - "`inactive`"
|
|
3528
|
-
# - "`pending`"
|
|
3618
|
+
# Status of the link Acceptable values are: - "`active`" - "`inactive`" - "`
|
|
3619
|
+
# pending`"
|
|
3529
3620
|
# Corresponds to the JSON property `status`
|
|
3530
3621
|
# @return [String]
|
|
3531
3622
|
attr_accessor :status
|
|
@@ -3566,12 +3657,91 @@ module Google
|
|
|
3566
3657
|
end
|
|
3567
3658
|
end
|
|
3568
3659
|
|
|
3660
|
+
# Response message for the `ListAccountLabels` method.
|
|
3661
|
+
class ListAccountLabelsResponse
|
|
3662
|
+
include Google::Apis::Core::Hashable
|
|
3663
|
+
|
|
3664
|
+
# The labels from the specified account.
|
|
3665
|
+
# Corresponds to the JSON property `accountLabels`
|
|
3666
|
+
# @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
|
|
3667
|
+
attr_accessor :account_labels
|
|
3668
|
+
|
|
3669
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3670
|
+
# field is omitted, there are no subsequent pages.
|
|
3671
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3672
|
+
# @return [String]
|
|
3673
|
+
attr_accessor :next_page_token
|
|
3674
|
+
|
|
3675
|
+
def initialize(**args)
|
|
3676
|
+
update!(**args)
|
|
3677
|
+
end
|
|
3678
|
+
|
|
3679
|
+
# Update properties of this object
|
|
3680
|
+
def update!(**args)
|
|
3681
|
+
@account_labels = args[:account_labels] if args.key?(:account_labels)
|
|
3682
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3683
|
+
end
|
|
3684
|
+
end
|
|
3685
|
+
|
|
3686
|
+
# The response message for the `ListCsses` method
|
|
3687
|
+
class ListCssesResponse
|
|
3688
|
+
include Google::Apis::Core::Hashable
|
|
3689
|
+
|
|
3690
|
+
# The CSS domains affiliated with the specified CSS group.
|
|
3691
|
+
# Corresponds to the JSON property `csses`
|
|
3692
|
+
# @return [Array<Google::Apis::ContentV2_1::Css>]
|
|
3693
|
+
attr_accessor :csses
|
|
3694
|
+
|
|
3695
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3696
|
+
# field is omitted, there are no subsequent pages.
|
|
3697
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3698
|
+
# @return [String]
|
|
3699
|
+
attr_accessor :next_page_token
|
|
3700
|
+
|
|
3701
|
+
def initialize(**args)
|
|
3702
|
+
update!(**args)
|
|
3703
|
+
end
|
|
3704
|
+
|
|
3705
|
+
# Update properties of this object
|
|
3706
|
+
def update!(**args)
|
|
3707
|
+
@csses = args[:csses] if args.key?(:csses)
|
|
3708
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3709
|
+
end
|
|
3710
|
+
end
|
|
3711
|
+
|
|
3712
|
+
# Response message for the `ListRepricingRules` method.
|
|
3713
|
+
class ListRepricingRulesResponse
|
|
3714
|
+
include Google::Apis::Core::Hashable
|
|
3715
|
+
|
|
3716
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3717
|
+
# field is omitted, there are no subsequent pages.
|
|
3718
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3719
|
+
# @return [String]
|
|
3720
|
+
attr_accessor :next_page_token
|
|
3721
|
+
|
|
3722
|
+
# The rules from the specified merchant.
|
|
3723
|
+
# Corresponds to the JSON property `repricingRules`
|
|
3724
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRule>]
|
|
3725
|
+
attr_accessor :repricing_rules
|
|
3726
|
+
|
|
3727
|
+
def initialize(**args)
|
|
3728
|
+
update!(**args)
|
|
3729
|
+
end
|
|
3730
|
+
|
|
3731
|
+
# Update properties of this object
|
|
3732
|
+
def update!(**args)
|
|
3733
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3734
|
+
@repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules)
|
|
3735
|
+
end
|
|
3736
|
+
end
|
|
3737
|
+
|
|
3569
3738
|
# Local inventory resource. For accepted attribute values, see the local product
|
|
3570
3739
|
# inventory feed specification.
|
|
3571
3740
|
class LocalInventory
|
|
3572
3741
|
include Google::Apis::Core::Hashable
|
|
3573
3742
|
|
|
3574
|
-
# Availability of the product.
|
|
3743
|
+
# Availability of the product. For accepted attribute values, see the local
|
|
3744
|
+
# product inventory feed specification.
|
|
3575
3745
|
# Corresponds to the JSON property `availability`
|
|
3576
3746
|
# @return [String]
|
|
3577
3747
|
attr_accessor :availability
|
|
@@ -3588,13 +3758,15 @@ module Google
|
|
|
3588
3758
|
attr_accessor :kind
|
|
3589
3759
|
|
|
3590
3760
|
# Supported pickup method for this offer. Unless the value is "not supported",
|
|
3591
|
-
# this field must be submitted together with `pickupSla`.
|
|
3761
|
+
# this field must be submitted together with `pickupSla`. For accepted attribute
|
|
3762
|
+
# values, see the local product inventory feed // specification.
|
|
3592
3763
|
# Corresponds to the JSON property `pickupMethod`
|
|
3593
3764
|
# @return [String]
|
|
3594
3765
|
attr_accessor :pickup_method
|
|
3595
3766
|
|
|
3596
3767
|
# Expected date that an order will be ready for pickup relative to the order
|
|
3597
|
-
# date. Must be submitted together with `pickupMethod`.
|
|
3768
|
+
# date. Must be submitted together with `pickupMethod`. For accepted attribute
|
|
3769
|
+
# values, see the local product inventory feed specification.
|
|
3598
3770
|
# Corresponds to the JSON property `pickupSla`
|
|
3599
3771
|
# @return [String]
|
|
3600
3772
|
attr_accessor :pickup_sla
|
|
@@ -3683,9 +3855,7 @@ module Google
|
|
|
3683
3855
|
# @return [Fixnum]
|
|
3684
3856
|
attr_accessor :merchant_id
|
|
3685
3857
|
|
|
3686
|
-
# Method of the batch request entry.
|
|
3687
|
-
# Acceptable values are:
|
|
3688
|
-
# - "`insert`"
|
|
3858
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
3689
3859
|
# Corresponds to the JSON property `method`
|
|
3690
3860
|
# @return [String]
|
|
3691
3861
|
attr_accessor :method_prop
|
|
@@ -3933,13 +4103,8 @@ module Google
|
|
|
3933
4103
|
# @return [String]
|
|
3934
4104
|
attr_accessor :shipment_unit_id
|
|
3935
4105
|
|
|
3936
|
-
# State of the item.
|
|
3937
|
-
#
|
|
3938
|
-
# - "`canceled`"
|
|
3939
|
-
# - "`new`"
|
|
3940
|
-
# - "`received`"
|
|
3941
|
-
# - "`refunded`"
|
|
3942
|
-
# - "`rejected`"
|
|
4106
|
+
# State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
|
|
4107
|
+
# received`" - "`refunded`" - "`rejected`"
|
|
3943
4108
|
# Corresponds to the JSON property `state`
|
|
3944
4109
|
# @return [String]
|
|
3945
4110
|
attr_accessor :state
|
|
@@ -4066,8 +4231,7 @@ module Google
|
|
|
4066
4231
|
end
|
|
4067
4232
|
|
|
4068
4233
|
# Order. Production access (all methods) requires the order manager role.
|
|
4069
|
-
# Sandbox access does not.
|
|
4070
|
-
# orders ==)
|
|
4234
|
+
# Sandbox access does not.
|
|
4071
4235
|
class Order
|
|
4072
4236
|
include Google::Apis::Core::Hashable
|
|
4073
4237
|
|
|
@@ -4137,12 +4301,8 @@ module Google
|
|
|
4137
4301
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4138
4302
|
attr_accessor :net_tax_amount
|
|
4139
4303
|
|
|
4140
|
-
# The status of the payment.
|
|
4141
|
-
#
|
|
4142
|
-
# - "`paymentCaptured`"
|
|
4143
|
-
# - "`paymentRejected`"
|
|
4144
|
-
# - "`paymentSecured`"
|
|
4145
|
-
# - "`pendingAuthorization`"
|
|
4304
|
+
# The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
|
|
4305
|
+
# paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
|
|
4146
4306
|
# Corresponds to the JSON property `paymentStatus`
|
|
4147
4307
|
# @return [String]
|
|
4148
4308
|
attr_accessor :payment_status
|
|
@@ -4157,25 +4317,22 @@ module Google
|
|
|
4157
4317
|
# @return [String]
|
|
4158
4318
|
attr_accessor :placed_date
|
|
4159
4319
|
|
|
4160
|
-
# Promotions associated with the order.
|
|
4161
|
-
#
|
|
4162
|
-
#
|
|
4163
|
-
#
|
|
4164
|
-
#
|
|
4165
|
-
#
|
|
4166
|
-
#
|
|
4167
|
-
#
|
|
4168
|
-
#
|
|
4169
|
-
#
|
|
4170
|
-
# - To calculate price paid by the customer for a single line item including the
|
|
4171
|
-
# discount in case of multiple quantity: For each promotion, divide the `
|
|
4320
|
+
# Promotions associated with the order. To determine which promotions apply to
|
|
4321
|
+
# which products, check the `Promotions[].appliedItems[].lineItemId` field
|
|
4322
|
+
# against the `LineItems[].id` field for each promotion. If a promotion is
|
|
4323
|
+
# applied to more than 1 offerId, divide the discount value by the number of
|
|
4324
|
+
# affected offers to determine how much discount to apply to each offerId.
|
|
4325
|
+
# Examples: 1. To calculate price paid by the customer for a single line item
|
|
4326
|
+
# including the discount: For each promotion, subtract the `LineItems[].
|
|
4327
|
+
# adjustments[].priceAdjustment.value` amount from the `LineItems[].Price.value`.
|
|
4328
|
+
# 2. To calculate price paid by the customer for a single line item including
|
|
4329
|
+
# the discount in case of multiple quantity: For each promotion, divide the `
|
|
4172
4330
|
# LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
|
|
4173
4331
|
# then subtract the resulting value from the `LineItems[].Product.Price.value`
|
|
4174
|
-
# for each quantity item.
|
|
4175
|
-
#
|
|
4176
|
-
#
|
|
4177
|
-
#
|
|
4178
|
-
# More details about the program are here.
|
|
4332
|
+
# for each quantity item. Only 1 promotion can be applied to an offerId in a
|
|
4333
|
+
# given order. To refund an item which had a promotion applied to it, make sure
|
|
4334
|
+
# to refund the amount after first subtracting the promotion discount from the
|
|
4335
|
+
# item price. More details about the program are here.
|
|
4179
4336
|
# Corresponds to the JSON property `promotions`
|
|
4180
4337
|
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
|
|
4181
4338
|
attr_accessor :promotions
|
|
@@ -4200,25 +4357,15 @@ module Google
|
|
|
4200
4357
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4201
4358
|
attr_accessor :shipping_cost_tax
|
|
4202
4359
|
|
|
4203
|
-
# The status of the order.
|
|
4204
|
-
#
|
|
4205
|
-
# - "`
|
|
4206
|
-
# - "`delivered`"
|
|
4207
|
-
# - "`inProgress`"
|
|
4208
|
-
# - "`partiallyDelivered`"
|
|
4209
|
-
# - "`partiallyReturned`"
|
|
4210
|
-
# - "`partiallyShipped`"
|
|
4211
|
-
# - "`pendingShipment`"
|
|
4212
|
-
# - "`returned`"
|
|
4213
|
-
# - "`shipped`"
|
|
4360
|
+
# The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
|
|
4361
|
+
# - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
|
|
4362
|
+
# partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
|
|
4214
4363
|
# Corresponds to the JSON property `status`
|
|
4215
4364
|
# @return [String]
|
|
4216
4365
|
attr_accessor :status
|
|
4217
4366
|
|
|
4218
|
-
# The party responsible for collecting and remitting taxes.
|
|
4219
|
-
#
|
|
4220
|
-
# - "`marketplaceFacilitator`"
|
|
4221
|
-
# - "`merchant`"
|
|
4367
|
+
# The party responsible for collecting and remitting taxes. Acceptable values
|
|
4368
|
+
# are: - "`marketplaceFacilitator`" - "`merchant`"
|
|
4222
4369
|
# Corresponds to the JSON property `taxCollector`
|
|
4223
4370
|
# @return [String]
|
|
4224
4371
|
attr_accessor :tax_collector
|
|
@@ -4264,11 +4411,8 @@ module Google
|
|
|
4264
4411
|
attr_accessor :country
|
|
4265
4412
|
|
|
4266
4413
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
4267
|
-
# example:
|
|
4268
|
-
#
|
|
4269
|
-
# 1600 Amphitheatre Parkway
|
|
4270
|
-
# Mountain View, CA, 94043
|
|
4271
|
-
# United States
|
|
4414
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
4415
|
+
# States
|
|
4272
4416
|
# Corresponds to the JSON property `fullAddress`
|
|
4273
4417
|
# @return [Array<String>]
|
|
4274
4418
|
attr_accessor :full_address
|
|
@@ -4327,14 +4471,9 @@ module Google
|
|
|
4327
4471
|
class OrderCancellation
|
|
4328
4472
|
include Google::Apis::Core::Hashable
|
|
4329
4473
|
|
|
4330
|
-
# The actor that created the cancellation.
|
|
4331
|
-
#
|
|
4332
|
-
# - "`
|
|
4333
|
-
# - "`googleBot`"
|
|
4334
|
-
# - "`googleCustomerService`"
|
|
4335
|
-
# - "`googlePayments`"
|
|
4336
|
-
# - "`googleSabre`"
|
|
4337
|
-
# - "`merchant`"
|
|
4474
|
+
# The actor that created the cancellation. Acceptable values are: - "`customer`"
|
|
4475
|
+
# - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
|
|
4476
|
+
# googleSabre`" - "`merchant`"
|
|
4338
4477
|
# Corresponds to the JSON property `actor`
|
|
4339
4478
|
# @return [String]
|
|
4340
4479
|
attr_accessor :actor
|
|
@@ -4352,35 +4491,18 @@ module Google
|
|
|
4352
4491
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
|
4353
4492
|
# reason will lead to the removal of the product from Shopping Actions until you
|
|
4354
4493
|
# make an update to that product. This will not affect your Shopping ads.
|
|
4355
|
-
# Acceptable values are:
|
|
4356
|
-
# - "`
|
|
4357
|
-
# - "`
|
|
4358
|
-
# - "`
|
|
4359
|
-
# - "`
|
|
4360
|
-
# - "`
|
|
4361
|
-
# - "`
|
|
4362
|
-
# - "`
|
|
4363
|
-
# - "`
|
|
4364
|
-
# - "`
|
|
4365
|
-
# - "`
|
|
4366
|
-
#
|
|
4367
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
4368
|
-
# - "`failToPushOrderToMerchant`"
|
|
4369
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
4370
|
-
# - "`invalidCoupon`"
|
|
4371
|
-
# - "`malformedShippingAddress`"
|
|
4372
|
-
# - "`merchantDidNotShipOnTime`"
|
|
4373
|
-
# - "`noInventory`"
|
|
4374
|
-
# - "`orderTimeout`"
|
|
4375
|
-
# - "`other`"
|
|
4376
|
-
# - "`paymentAbuse`"
|
|
4377
|
-
# - "`paymentDeclined`"
|
|
4378
|
-
# - "`priceError`"
|
|
4379
|
-
# - "`returnRefundAbuse`"
|
|
4380
|
-
# - "`shippingPriceError`"
|
|
4381
|
-
# - "`taxError`"
|
|
4382
|
-
# - "`undeliverableShippingAddress`"
|
|
4383
|
-
# - "`unsupportedPoBoxAddress`"
|
|
4494
|
+
# Acceptable values are: - "`autoPostInternal`" - "`
|
|
4495
|
+
# autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
|
|
4496
|
+
# autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
4497
|
+
# couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "`
|
|
4498
|
+
# customerSupportRequested`" - "`failToPushOrderGoogleError`" - "`
|
|
4499
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
4500
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
4501
|
+
# invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" -
|
|
4502
|
+
# "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
|
|
4503
|
+
# paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
|
|
4504
|
+
# shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
4505
|
+
# unsupportedPoBoxAddress`"
|
|
4384
4506
|
# Corresponds to the JSON property `reason`
|
|
4385
4507
|
# @return [String]
|
|
4386
4508
|
attr_accessor :reason
|
|
@@ -4415,7 +4537,7 @@ module Google
|
|
|
4415
4537
|
|
|
4416
4538
|
# Email address for the merchant to send value-added tax or invoice
|
|
4417
4539
|
# documentation of the order. Only the last document sent is made available to
|
|
4418
|
-
# the customer. For more information, see
|
|
4540
|
+
# the customer. For more information, see About automated VAT invoicing for
|
|
4419
4541
|
# Shopping Actions.
|
|
4420
4542
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
|
4421
4543
|
# @return [String]
|
|
@@ -4480,10 +4602,8 @@ module Google
|
|
|
4480
4602
|
# cases this selection might not be known, so this field would be empty. If a
|
|
4481
4603
|
# customer selected `granted` in their most recent order, they can be subscribed
|
|
4482
4604
|
# to marketing emails. Customers who have chosen `denied` must not be subscribed,
|
|
4483
|
-
# or must be unsubscribed if already opted-in.
|
|
4484
|
-
#
|
|
4485
|
-
# - "`denied`"
|
|
4486
|
-
# - "`granted`"
|
|
4605
|
+
# or must be unsubscribed if already opted-in. Acceptable values are: - "`
|
|
4606
|
+
# denied`" - "`granted`"
|
|
4487
4607
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
|
4488
4608
|
# @return [String]
|
|
4489
4609
|
attr_accessor :explicit_marketing_preference
|
|
@@ -4677,9 +4797,7 @@ module Google
|
|
|
4677
4797
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4678
4798
|
attr_accessor :tax_adjustment
|
|
4679
4799
|
|
|
4680
|
-
# Type of this adjustment.
|
|
4681
|
-
# Acceptable values are:
|
|
4682
|
-
# - "`promotion`"
|
|
4800
|
+
# Type of this adjustment. Acceptable values are: - "`promotion`"
|
|
4683
4801
|
# Corresponds to the JSON property `type`
|
|
4684
4802
|
# @return [String]
|
|
4685
4803
|
attr_accessor :type
|
|
@@ -4705,11 +4823,8 @@ module Google
|
|
|
4705
4823
|
# @return [String]
|
|
4706
4824
|
attr_accessor :brand
|
|
4707
4825
|
|
|
4708
|
-
# Condition or state of the item.
|
|
4709
|
-
#
|
|
4710
|
-
# - "`new`"
|
|
4711
|
-
# - "`refurbished`"
|
|
4712
|
-
# - "`used`"
|
|
4826
|
+
# Condition or state of the item. Acceptable values are: - "`new`" - "`
|
|
4827
|
+
# refurbished`" - "`used`"
|
|
4713
4828
|
# Corresponds to the JSON property `condition`
|
|
4714
4829
|
# @return [String]
|
|
4715
4830
|
attr_accessor :condition
|
|
@@ -4764,7 +4879,7 @@ module Google
|
|
|
4764
4879
|
# @return [String]
|
|
4765
4880
|
attr_accessor :shown_image
|
|
4766
4881
|
|
|
4767
|
-
# The CLDR territory code of the target country of the product.
|
|
4882
|
+
# The CLDR territory // code of the target country of the product.
|
|
4768
4883
|
# Corresponds to the JSON property `targetCountry`
|
|
4769
4884
|
# @return [String]
|
|
4770
4885
|
attr_accessor :target_country
|
|
@@ -4913,10 +5028,8 @@ module Google
|
|
|
4913
5028
|
attr_accessor :ship_by_date
|
|
4914
5029
|
|
|
4915
5030
|
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
|
4916
|
-
# applicable for this shipment.
|
|
4917
|
-
#
|
|
4918
|
-
# - "`delivery`"
|
|
4919
|
-
# - "`pickup`"
|
|
5031
|
+
# applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
|
|
5032
|
+
# "
|
|
4920
5033
|
# Corresponds to the JSON property `type`
|
|
4921
5034
|
# @return [String]
|
|
4922
5035
|
attr_accessor :type
|
|
@@ -5046,13 +5159,9 @@ module Google
|
|
|
5046
5159
|
# @return [String]
|
|
5047
5160
|
attr_accessor :location_id
|
|
5048
5161
|
|
|
5049
|
-
# The pickup type of this order.
|
|
5050
|
-
#
|
|
5051
|
-
#
|
|
5052
|
-
# - "`merchantStoreCurbside`"
|
|
5053
|
-
# - "`merchantStoreLocker`"
|
|
5054
|
-
# - "`thirdPartyPickupPoint`"
|
|
5055
|
-
# - "`thirdPartyLocker`"
|
|
5162
|
+
# The pickup type of this order. Acceptable values are: - "`merchantStore`" - "`
|
|
5163
|
+
# merchantStoreCurbside`" - "`merchantStoreLocker`" - "`thirdPartyPickupPoint`" -
|
|
5164
|
+
# "`thirdPartyLocker`"
|
|
5056
5165
|
# Corresponds to the JSON property `pickupType`
|
|
5057
5166
|
# @return [String]
|
|
5058
5167
|
attr_accessor :pickup_type
|
|
@@ -5120,10 +5229,7 @@ module Google
|
|
|
5120
5229
|
attr_accessor :end_time
|
|
5121
5230
|
|
|
5122
5231
|
# Required. The party funding the promotion. Only `merchant` is supported for `
|
|
5123
|
-
# orders.createtestorder`.
|
|
5124
|
-
# Acceptable values are:
|
|
5125
|
-
# - "`google`"
|
|
5126
|
-
# - "`merchant`"
|
|
5232
|
+
# orders.createtestorder`. Acceptable values are: - "`google`" - "`merchant`"
|
|
5127
5233
|
# Corresponds to the JSON property `funder`
|
|
5128
5234
|
# @return [String]
|
|
5129
5235
|
attr_accessor :funder
|
|
@@ -5153,22 +5259,11 @@ module Google
|
|
|
5153
5259
|
attr_accessor :start_time
|
|
5154
5260
|
|
|
5155
5261
|
# Required. The category of the promotion. Only `moneyOff` is supported for `
|
|
5156
|
-
# orders.createtestorder`.
|
|
5157
|
-
#
|
|
5158
|
-
# - "`
|
|
5159
|
-
# - "`
|
|
5160
|
-
# - "`
|
|
5161
|
-
# - "`buyMGetPercentOff`"
|
|
5162
|
-
# - "`freeGift`"
|
|
5163
|
-
# - "`freeGiftWithItemId`"
|
|
5164
|
-
# - "`freeGiftWithValue`"
|
|
5165
|
-
# - "`freeShippingOvernight`"
|
|
5166
|
-
# - "`freeShippingStandard`"
|
|
5167
|
-
# - "`freeShippingTwoDay`"
|
|
5168
|
-
# - "`moneyOff`"
|
|
5169
|
-
# - "`percentOff`"
|
|
5170
|
-
# - "`rewardPoints`"
|
|
5171
|
-
# - "`salePrice`"
|
|
5262
|
+
# orders.createtestorder`. Acceptable values are: - "`buyMGetMoneyOff`" - "`
|
|
5263
|
+
# buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "`buyMGetPercentOff`" - "`
|
|
5264
|
+
# freeGift`" - "`freeGiftWithItemId`" - "`freeGiftWithValue`" - "`
|
|
5265
|
+
# freeShippingOvernight`" - "`freeShippingStandard`" - "`freeShippingTwoDay`" - "
|
|
5266
|
+
# `moneyOff`" - "`percentOff`" - "`rewardPoints`" - "`salePrice`"
|
|
5172
5267
|
# Corresponds to the JSON property `subtype`
|
|
5173
5268
|
# @return [String]
|
|
5174
5269
|
attr_accessor :subtype
|
|
@@ -5185,10 +5280,7 @@ module Google
|
|
|
5185
5280
|
attr_accessor :title
|
|
5186
5281
|
|
|
5187
5282
|
# Required. The scope of the promotion. Only `product` is supported for `orders.
|
|
5188
|
-
# createtestorder`.
|
|
5189
|
-
# Acceptable values are:
|
|
5190
|
-
# - "`product`"
|
|
5191
|
-
# - "`shipping`"
|
|
5283
|
+
# createtestorder`. Acceptable values are: - "`product`" - "`shipping`"
|
|
5192
5284
|
# Corresponds to the JSON property `type`
|
|
5193
5285
|
# @return [String]
|
|
5194
5286
|
attr_accessor :type
|
|
@@ -5256,13 +5348,8 @@ module Google
|
|
|
5256
5348
|
class OrderRefund
|
|
5257
5349
|
include Google::Apis::Core::Hashable
|
|
5258
5350
|
|
|
5259
|
-
# The actor that created the refund.
|
|
5260
|
-
#
|
|
5261
|
-
# - "`customer`"
|
|
5262
|
-
# - "`googleBot`"
|
|
5263
|
-
# - "`googleCustomerService`"
|
|
5264
|
-
# - "`googlePayments`"
|
|
5265
|
-
# - "`googleSabre`"
|
|
5351
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5352
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5266
5353
|
# - "`merchant`"
|
|
5267
5354
|
# Corresponds to the JSON property `actor`
|
|
5268
5355
|
# @return [String]
|
|
@@ -5278,52 +5365,23 @@ module Google
|
|
|
5278
5365
|
# @return [String]
|
|
5279
5366
|
attr_accessor :creation_date
|
|
5280
5367
|
|
|
5281
|
-
# The reason for the refund.
|
|
5282
|
-
#
|
|
5283
|
-
# - "`
|
|
5284
|
-
# - "`
|
|
5285
|
-
# - "`
|
|
5286
|
-
# - "`
|
|
5287
|
-
# - "`
|
|
5288
|
-
# - "`
|
|
5289
|
-
# - "`
|
|
5290
|
-
# - "`
|
|
5291
|
-
# - "`
|
|
5292
|
-
# - "`
|
|
5293
|
-
# - "`
|
|
5294
|
-
# - "`
|
|
5295
|
-
# - "`
|
|
5296
|
-
# - "`
|
|
5297
|
-
# - "`
|
|
5298
|
-
# - "`failToPushOrderGoogleError`"
|
|
5299
|
-
# - "`failToPushOrderMerchantError`"
|
|
5300
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
5301
|
-
# - "`failToPushOrderToMerchant`"
|
|
5302
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
5303
|
-
# - "`feeAdjustment`"
|
|
5304
|
-
# - "`invalidCoupon`"
|
|
5305
|
-
# - "`lateShipmentCredit`"
|
|
5306
|
-
# - "`malformedShippingAddress`"
|
|
5307
|
-
# - "`merchantDidNotShipOnTime`"
|
|
5308
|
-
# - "`noInventory`"
|
|
5309
|
-
# - "`orderTimeout`"
|
|
5310
|
-
# - "`other`"
|
|
5311
|
-
# - "`paymentAbuse`"
|
|
5312
|
-
# - "`paymentDeclined`"
|
|
5313
|
-
# - "`priceAdjustment`"
|
|
5314
|
-
# - "`priceError`"
|
|
5315
|
-
# - "`productArrivedDamaged`"
|
|
5316
|
-
# - "`productNotAsDescribed`"
|
|
5317
|
-
# - "`promoReallocation`"
|
|
5318
|
-
# - "`qualityNotAsExpected`"
|
|
5319
|
-
# - "`returnRefundAbuse`"
|
|
5320
|
-
# - "`shippingCostAdjustment`"
|
|
5321
|
-
# - "`shippingPriceError`"
|
|
5322
|
-
# - "`taxAdjustment`"
|
|
5323
|
-
# - "`taxError`"
|
|
5324
|
-
# - "`undeliverableShippingAddress`"
|
|
5325
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5326
|
-
# - "`wrongProductShipped`"
|
|
5368
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
5369
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
5370
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
5371
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
5372
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5373
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
5374
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
5375
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
5376
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
5377
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
5378
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
5379
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
5380
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
5381
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
5382
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
5383
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
5384
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5327
5385
|
# Corresponds to the JSON property `reason`
|
|
5328
5386
|
# @return [String]
|
|
5329
5387
|
attr_accessor :reason
|
|
@@ -5347,8 +5405,7 @@ module Google
|
|
|
5347
5405
|
end
|
|
5348
5406
|
end
|
|
5349
5407
|
|
|
5350
|
-
# Order disbursement. All methods require the payment analyst role.
|
|
5351
|
-
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
|
5408
|
+
# Order disbursement. All methods require the payment analyst role.
|
|
5352
5409
|
class OrderReportDisbursement
|
|
5353
5410
|
include Google::Apis::Core::Hashable
|
|
5354
5411
|
|
|
@@ -5462,13 +5519,8 @@ module Google
|
|
|
5462
5519
|
class OrderReturn
|
|
5463
5520
|
include Google::Apis::Core::Hashable
|
|
5464
5521
|
|
|
5465
|
-
# The actor that created the refund.
|
|
5466
|
-
#
|
|
5467
|
-
# - "`customer`"
|
|
5468
|
-
# - "`googleBot`"
|
|
5469
|
-
# - "`googleCustomerService`"
|
|
5470
|
-
# - "`googlePayments`"
|
|
5471
|
-
# - "`googleSabre`"
|
|
5522
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5523
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5472
5524
|
# - "`merchant`"
|
|
5473
5525
|
# Corresponds to the JSON property `actor`
|
|
5474
5526
|
# @return [String]
|
|
@@ -5484,21 +5536,13 @@ module Google
|
|
|
5484
5536
|
# @return [Fixnum]
|
|
5485
5537
|
attr_accessor :quantity
|
|
5486
5538
|
|
|
5487
|
-
# The reason for the return.
|
|
5488
|
-
#
|
|
5489
|
-
# - "`
|
|
5490
|
-
# - "`
|
|
5491
|
-
# - "`
|
|
5492
|
-
# - "`
|
|
5493
|
-
#
|
|
5494
|
-
# - "`malformedShippingAddress`"
|
|
5495
|
-
# - "`other`"
|
|
5496
|
-
# - "`productArrivedDamaged`"
|
|
5497
|
-
# - "`productNotAsDescribed`"
|
|
5498
|
-
# - "`qualityNotAsExpected`"
|
|
5499
|
-
# - "`undeliverableShippingAddress`"
|
|
5500
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5501
|
-
# - "`wrongProductShipped`"
|
|
5539
|
+
# The reason for the return. Acceptable values are: - "`
|
|
5540
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5541
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
5542
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
5543
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
5544
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
5545
|
+
# wrongProductShipped`"
|
|
5502
5546
|
# Corresponds to the JSON property `reason`
|
|
5503
5547
|
# @return [String]
|
|
5504
5548
|
attr_accessor :reason
|
|
@@ -5526,59 +5570,33 @@ module Google
|
|
|
5526
5570
|
class OrderShipment
|
|
5527
5571
|
include Google::Apis::Core::Hashable
|
|
5528
5572
|
|
|
5529
|
-
# The carrier handling the shipment.
|
|
5530
|
-
#
|
|
5531
|
-
#
|
|
5532
|
-
#
|
|
5533
|
-
#
|
|
5534
|
-
#
|
|
5535
|
-
# updates
|
|
5536
|
-
#
|
|
5537
|
-
# - "`
|
|
5538
|
-
# - "`
|
|
5539
|
-
# - "`
|
|
5540
|
-
# - "`
|
|
5541
|
-
# - "`
|
|
5542
|
-
# - "`
|
|
5543
|
-
# - "`
|
|
5544
|
-
# - "`
|
|
5545
|
-
# - "`
|
|
5546
|
-
# - "`
|
|
5547
|
-
# - "`
|
|
5548
|
-
# - "`
|
|
5549
|
-
# - "`
|
|
5550
|
-
# - "`
|
|
5551
|
-
# - "`
|
|
5552
|
-
# - "`
|
|
5553
|
-
# - "`
|
|
5554
|
-
# - "`
|
|
5555
|
-
# - "`
|
|
5556
|
-
# - "`ptt`" (PTT Turkish Post)
|
|
5557
|
-
# - "`eub`" (ePacket)
|
|
5558
|
-
# - "`chukou1`" (Chukou1 Logistics)
|
|
5559
|
-
# - "`bestex`" (Best Express)
|
|
5560
|
-
# - "`canada post`" (Canada Post)
|
|
5561
|
-
# - "`purolator`" (Purolator)
|
|
5562
|
-
# - "`canpar`" (Canpar)
|
|
5563
|
-
# - "`india post`" (India Post)
|
|
5564
|
-
# - "`blue dart`" (Blue Dart)
|
|
5565
|
-
# - "`delhivery`" (Delhivery)
|
|
5566
|
-
# - "`dtdc`" (DTDC)
|
|
5567
|
-
# - "`tpc india`" (TPC India)
|
|
5568
|
-
# Supported carriers for FR are:
|
|
5569
|
-
# - "`la poste`" (La Poste) automatic status updates
|
|
5570
|
-
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
|
5571
|
-
# - "`ups`" (United Parcel Service) automatic status updates
|
|
5572
|
-
# - "`chronopost`" (Chronopost by La Poste)
|
|
5573
|
-
# - "`gls`" (General Logistics Systems France)
|
|
5574
|
-
# - "`dpd`" (DPD Group by GeoPost)
|
|
5575
|
-
# - "`bpost`" (Belgian Post Group)
|
|
5576
|
-
# - "`colis prive`" (Colis Privé)
|
|
5577
|
-
# - "`boxtal`" (Boxtal)
|
|
5578
|
-
# - "`geodis`" (GEODIS)
|
|
5579
|
-
# - "`tnt`" (TNT)
|
|
5580
|
-
# - "`db schenker`" (DB Schenker)
|
|
5581
|
-
# - "`aramex`" (Aramex)
|
|
5573
|
+
# The carrier handling the shipment. For supported carriers, Google includes the
|
|
5574
|
+
# carrier name and tracking URL in emails to customers. For select supported
|
|
5575
|
+
# carriers, Google also automatically updates the shipment status based on the
|
|
5576
|
+
# provided shipment ID. *Note:* You can also use unsupported carriers, but
|
|
5577
|
+
# emails to customers will not include the carrier name or tracking URL, and
|
|
5578
|
+
# there will be no automatic order status updates. Supported carriers for US are:
|
|
5579
|
+
# - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" (
|
|
5580
|
+
# United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) *
|
|
5581
|
+
# automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates*
|
|
5582
|
+
# (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`"
|
|
5583
|
+
# (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" (
|
|
5584
|
+
# LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery
|
|
5585
|
+
# Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD
|
|
5586
|
+
# Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "`
|
|
5587
|
+
# china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore
|
|
5588
|
+
# Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT
|
|
5589
|
+
# Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
|
|
5590
|
+
# " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
|
|
5591
|
+
# "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
|
|
5592
|
+
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
|
|
5593
|
+
# Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
|
|
5594
|
+
# updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
|
|
5595
|
+
# "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
|
|
5596
|
+
# Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
|
|
5597
|
+
# (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
|
|
5598
|
+
# Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
|
|
5599
|
+
# db schenker`" (DB Schenker) - "`aramex`" (Aramex)
|
|
5582
5600
|
# Corresponds to the JSON property `carrier`
|
|
5583
5601
|
# @return [String]
|
|
5584
5602
|
attr_accessor :carrier
|
|
@@ -5614,12 +5632,8 @@ module Google
|
|
|
5614
5632
|
# @return [String]
|
|
5615
5633
|
attr_accessor :shipment_group_id
|
|
5616
5634
|
|
|
5617
|
-
# The status of the shipment.
|
|
5618
|
-
#
|
|
5619
|
-
# - "`delivered`"
|
|
5620
|
-
# - "`readyForPickup`"
|
|
5621
|
-
# - "`shipped`"
|
|
5622
|
-
# - "`undeliverable`"
|
|
5635
|
+
# The status of the shipment. Acceptable values are: - "`delivered`" - "`
|
|
5636
|
+
# readyForPickup`" - "`shipped`" - "`undeliverable`"
|
|
5623
5637
|
# Corresponds to the JSON property `status`
|
|
5624
5638
|
# @return [String]
|
|
5625
5639
|
attr_accessor :status
|
|
@@ -5707,6 +5721,311 @@ module Google
|
|
|
5707
5721
|
end
|
|
5708
5722
|
end
|
|
5709
5723
|
|
|
5724
|
+
# Represents a merchant trade from which signals are extracted, e.g. shipping.
|
|
5725
|
+
class OrderTrackingSignal
|
|
5726
|
+
include Google::Apis::Core::Hashable
|
|
5727
|
+
|
|
5728
|
+
# The price represented as a number and currency.
|
|
5729
|
+
# Corresponds to the JSON property `customerShippingFee`
|
|
5730
|
+
# @return [Google::Apis::ContentV2_1::PriceAmount]
|
|
5731
|
+
attr_accessor :customer_shipping_fee
|
|
5732
|
+
|
|
5733
|
+
# Required. The delivery postal code, as a continuous string without spaces or
|
|
5734
|
+
# dashes, e.g. "95016".
|
|
5735
|
+
# Corresponds to the JSON property `deliveryPostalCode`
|
|
5736
|
+
# @return [String]
|
|
5737
|
+
attr_accessor :delivery_postal_code
|
|
5738
|
+
|
|
5739
|
+
# Required. The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/
|
|
5740
|
+
# latest/common/main/en.xml) for the shipping destination.
|
|
5741
|
+
# Corresponds to the JSON property `deliveryRegionCode`
|
|
5742
|
+
# @return [String]
|
|
5743
|
+
attr_accessor :delivery_region_code
|
|
5744
|
+
|
|
5745
|
+
# Information about line items in the order.
|
|
5746
|
+
# Corresponds to the JSON property `lineItems`
|
|
5747
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalLineItemDetails>]
|
|
5748
|
+
attr_accessor :line_items
|
|
5749
|
+
|
|
5750
|
+
# The Google merchant ID of this order tracking signal. This value is optional.
|
|
5751
|
+
# If left unset, the caller's merchant ID is used. You must request access in
|
|
5752
|
+
# order to provide data on behalf of another merchant. For more information, see
|
|
5753
|
+
# [Submitting Order Tracking Signals](/shopping-content/guides/order-tracking-
|
|
5754
|
+
# signals).
|
|
5755
|
+
# Corresponds to the JSON property `merchantId`
|
|
5756
|
+
# @return [Fixnum]
|
|
5757
|
+
attr_accessor :merchant_id
|
|
5758
|
+
|
|
5759
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5760
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5761
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5762
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5763
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5764
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5765
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5766
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5767
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5768
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5769
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5770
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5771
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5772
|
+
# to document and validate your application's limitations.
|
|
5773
|
+
# Corresponds to the JSON property `orderCreatedTime`
|
|
5774
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5775
|
+
attr_accessor :order_created_time
|
|
5776
|
+
|
|
5777
|
+
# Required. The ID of the order on the merchant side.
|
|
5778
|
+
# Corresponds to the JSON property `orderId`
|
|
5779
|
+
# @return [String]
|
|
5780
|
+
attr_accessor :order_id
|
|
5781
|
+
|
|
5782
|
+
# Output only. The ID that uniquely identifies this order tracking signal.
|
|
5783
|
+
# Corresponds to the JSON property `orderTrackingSignalId`
|
|
5784
|
+
# @return [Fixnum]
|
|
5785
|
+
attr_accessor :order_tracking_signal_id
|
|
5786
|
+
|
|
5787
|
+
# The mapping of the line items to the shipment information.
|
|
5788
|
+
# Corresponds to the JSON property `shipmentLineItemMapping`
|
|
5789
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShipmentLineItemMapping>]
|
|
5790
|
+
attr_accessor :shipment_line_item_mapping
|
|
5791
|
+
|
|
5792
|
+
# The shipping information for the order.
|
|
5793
|
+
# Corresponds to the JSON property `shippingInfo`
|
|
5794
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderTrackingSignalShippingInfo>]
|
|
5795
|
+
attr_accessor :shipping_info
|
|
5796
|
+
|
|
5797
|
+
def initialize(**args)
|
|
5798
|
+
update!(**args)
|
|
5799
|
+
end
|
|
5800
|
+
|
|
5801
|
+
# Update properties of this object
|
|
5802
|
+
def update!(**args)
|
|
5803
|
+
@customer_shipping_fee = args[:customer_shipping_fee] if args.key?(:customer_shipping_fee)
|
|
5804
|
+
@delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
|
|
5805
|
+
@delivery_region_code = args[:delivery_region_code] if args.key?(:delivery_region_code)
|
|
5806
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
5807
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
5808
|
+
@order_created_time = args[:order_created_time] if args.key?(:order_created_time)
|
|
5809
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
|
5810
|
+
@order_tracking_signal_id = args[:order_tracking_signal_id] if args.key?(:order_tracking_signal_id)
|
|
5811
|
+
@shipment_line_item_mapping = args[:shipment_line_item_mapping] if args.key?(:shipment_line_item_mapping)
|
|
5812
|
+
@shipping_info = args[:shipping_info] if args.key?(:shipping_info)
|
|
5813
|
+
end
|
|
5814
|
+
end
|
|
5815
|
+
|
|
5816
|
+
# The line items of the order.
|
|
5817
|
+
class OrderTrackingSignalLineItemDetails
|
|
5818
|
+
include Google::Apis::Core::Hashable
|
|
5819
|
+
|
|
5820
|
+
# The Global Trade Item Number.
|
|
5821
|
+
# Corresponds to the JSON property `gtin`
|
|
5822
|
+
# @return [String]
|
|
5823
|
+
attr_accessor :gtin
|
|
5824
|
+
|
|
5825
|
+
# Required. The ID for this line item.
|
|
5826
|
+
# Corresponds to the JSON property `lineItemId`
|
|
5827
|
+
# @return [String]
|
|
5828
|
+
attr_accessor :line_item_id
|
|
5829
|
+
|
|
5830
|
+
# The manufacturer part number.
|
|
5831
|
+
# Corresponds to the JSON property `mpn`
|
|
5832
|
+
# @return [String]
|
|
5833
|
+
attr_accessor :mpn
|
|
5834
|
+
|
|
5835
|
+
# Required. The Content API REST ID of the product, in the form channel:
|
|
5836
|
+
# contentLanguage:targetCountry:offerId.
|
|
5837
|
+
# Corresponds to the JSON property `productId`
|
|
5838
|
+
# @return [String]
|
|
5839
|
+
attr_accessor :product_id
|
|
5840
|
+
|
|
5841
|
+
# Required. The quantity of the line item in the order.
|
|
5842
|
+
# Corresponds to the JSON property `quantity`
|
|
5843
|
+
# @return [Fixnum]
|
|
5844
|
+
attr_accessor :quantity
|
|
5845
|
+
|
|
5846
|
+
def initialize(**args)
|
|
5847
|
+
update!(**args)
|
|
5848
|
+
end
|
|
5849
|
+
|
|
5850
|
+
# Update properties of this object
|
|
5851
|
+
def update!(**args)
|
|
5852
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
5853
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
5854
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
|
5855
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
5856
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
5857
|
+
end
|
|
5858
|
+
end
|
|
5859
|
+
|
|
5860
|
+
# Represents how many items are in the shipment for the given shipment_id and
|
|
5861
|
+
# line_item_id.
|
|
5862
|
+
class OrderTrackingSignalShipmentLineItemMapping
|
|
5863
|
+
include Google::Apis::Core::Hashable
|
|
5864
|
+
|
|
5865
|
+
# Required. The line item ID.
|
|
5866
|
+
# Corresponds to the JSON property `lineItemId`
|
|
5867
|
+
# @return [String]
|
|
5868
|
+
attr_accessor :line_item_id
|
|
5869
|
+
|
|
5870
|
+
# Required. The line item quantity in the shipment.
|
|
5871
|
+
# Corresponds to the JSON property `quantity`
|
|
5872
|
+
# @return [Fixnum]
|
|
5873
|
+
attr_accessor :quantity
|
|
5874
|
+
|
|
5875
|
+
# Required. The shipment ID.
|
|
5876
|
+
# Corresponds to the JSON property `shipmentId`
|
|
5877
|
+
# @return [String]
|
|
5878
|
+
attr_accessor :shipment_id
|
|
5879
|
+
|
|
5880
|
+
def initialize(**args)
|
|
5881
|
+
update!(**args)
|
|
5882
|
+
end
|
|
5883
|
+
|
|
5884
|
+
# Update properties of this object
|
|
5885
|
+
def update!(**args)
|
|
5886
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
5887
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
5888
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
5889
|
+
end
|
|
5890
|
+
end
|
|
5891
|
+
|
|
5892
|
+
# The shipping information for the order.
|
|
5893
|
+
class OrderTrackingSignalShippingInfo
|
|
5894
|
+
include Google::Apis::Core::Hashable
|
|
5895
|
+
|
|
5896
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5897
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5898
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5899
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5900
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5901
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5902
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5903
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5904
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5905
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5906
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5907
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5908
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5909
|
+
# to document and validate your application's limitations.
|
|
5910
|
+
# Corresponds to the JSON property `actualDeliveryTime`
|
|
5911
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5912
|
+
attr_accessor :actual_delivery_time
|
|
5913
|
+
|
|
5914
|
+
# The name of the shipping carrier for the delivery. This field is required if
|
|
5915
|
+
# one of the following fields is absent: earliest_delivery_promise_time,
|
|
5916
|
+
# latest_delivery_promise_time, and actual_delivery_time.
|
|
5917
|
+
# Corresponds to the JSON property `carrierName`
|
|
5918
|
+
# @return [String]
|
|
5919
|
+
attr_accessor :carrier_name
|
|
5920
|
+
|
|
5921
|
+
# The service type for fulfillment, e.g., GROUND, FIRST_CLASS, etc.
|
|
5922
|
+
# Corresponds to the JSON property `carrierServiceName`
|
|
5923
|
+
# @return [String]
|
|
5924
|
+
attr_accessor :carrier_service_name
|
|
5925
|
+
|
|
5926
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5927
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5928
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5929
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5930
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5931
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5932
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5933
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5934
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5935
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5936
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5937
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5938
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5939
|
+
# to document and validate your application's limitations.
|
|
5940
|
+
# Corresponds to the JSON property `earliestDeliveryPromiseTime`
|
|
5941
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5942
|
+
attr_accessor :earliest_delivery_promise_time
|
|
5943
|
+
|
|
5944
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5945
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5946
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5947
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5948
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5949
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5950
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5951
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5952
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5953
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5954
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5955
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5956
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5957
|
+
# to document and validate your application's limitations.
|
|
5958
|
+
# Corresponds to the JSON property `latestDeliveryPromiseTime`
|
|
5959
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5960
|
+
attr_accessor :latest_delivery_promise_time
|
|
5961
|
+
|
|
5962
|
+
# The origin postal code, as a continuous string without spaces or dashes, e.g. "
|
|
5963
|
+
# 95016".
|
|
5964
|
+
# Corresponds to the JSON property `originPostalCode`
|
|
5965
|
+
# @return [String]
|
|
5966
|
+
attr_accessor :origin_postal_code
|
|
5967
|
+
|
|
5968
|
+
# The [CLDR territory code] (http://www.unicode.org/repos/cldr/tags/latest/
|
|
5969
|
+
# common/main/en.xml) for the shipping origin.
|
|
5970
|
+
# Corresponds to the JSON property `originRegionCode`
|
|
5971
|
+
# @return [String]
|
|
5972
|
+
attr_accessor :origin_region_code
|
|
5973
|
+
|
|
5974
|
+
# Required. The shipment ID.
|
|
5975
|
+
# Corresponds to the JSON property `shipmentId`
|
|
5976
|
+
# @return [String]
|
|
5977
|
+
attr_accessor :shipment_id
|
|
5978
|
+
|
|
5979
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
|
5980
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
|
5981
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
|
5982
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
|
5983
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
|
5984
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
|
5985
|
+
# relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
|
|
5986
|
+
# considered not to have a specific year. month and day must have valid, non-
|
|
5987
|
+
# zero values. This type may also be used to represent a physical time if all
|
|
5988
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
|
5989
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
|
5990
|
+
# case also would like to store the user's timezone, that can be done in another
|
|
5991
|
+
# field. This type is more flexible than some applications may want. Make sure
|
|
5992
|
+
# to document and validate your application's limitations.
|
|
5993
|
+
# Corresponds to the JSON property `shippedTime`
|
|
5994
|
+
# @return [Google::Apis::ContentV2_1::DateTime]
|
|
5995
|
+
attr_accessor :shipped_time
|
|
5996
|
+
|
|
5997
|
+
# The status of the shipment.
|
|
5998
|
+
# Corresponds to the JSON property `shippingStatus`
|
|
5999
|
+
# @return [String]
|
|
6000
|
+
attr_accessor :shipping_status
|
|
6001
|
+
|
|
6002
|
+
# The tracking ID of the shipment. This field is required if one of the
|
|
6003
|
+
# following fields is absent: earliest_delivery_promise_time,
|
|
6004
|
+
# latest_delivery_promise_time, and actual_delivery_time.
|
|
6005
|
+
# Corresponds to the JSON property `trackingId`
|
|
6006
|
+
# @return [String]
|
|
6007
|
+
attr_accessor :tracking_id
|
|
6008
|
+
|
|
6009
|
+
def initialize(**args)
|
|
6010
|
+
update!(**args)
|
|
6011
|
+
end
|
|
6012
|
+
|
|
6013
|
+
# Update properties of this object
|
|
6014
|
+
def update!(**args)
|
|
6015
|
+
@actual_delivery_time = args[:actual_delivery_time] if args.key?(:actual_delivery_time)
|
|
6016
|
+
@carrier_name = args[:carrier_name] if args.key?(:carrier_name)
|
|
6017
|
+
@carrier_service_name = args[:carrier_service_name] if args.key?(:carrier_service_name)
|
|
6018
|
+
@earliest_delivery_promise_time = args[:earliest_delivery_promise_time] if args.key?(:earliest_delivery_promise_time)
|
|
6019
|
+
@latest_delivery_promise_time = args[:latest_delivery_promise_time] if args.key?(:latest_delivery_promise_time)
|
|
6020
|
+
@origin_postal_code = args[:origin_postal_code] if args.key?(:origin_postal_code)
|
|
6021
|
+
@origin_region_code = args[:origin_region_code] if args.key?(:origin_region_code)
|
|
6022
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
6023
|
+
@shipped_time = args[:shipped_time] if args.key?(:shipped_time)
|
|
6024
|
+
@shipping_status = args[:shipping_status] if args.key?(:shipping_status)
|
|
6025
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
6026
|
+
end
|
|
6027
|
+
end
|
|
6028
|
+
|
|
5710
6029
|
#
|
|
5711
6030
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
5712
6031
|
include Google::Apis::Core::Hashable
|
|
@@ -5757,10 +6076,8 @@ module Google
|
|
|
5757
6076
|
class OrderinvoicesCreateChargeInvoiceResponse
|
|
5758
6077
|
include Google::Apis::Core::Hashable
|
|
5759
6078
|
|
|
5760
|
-
# The status of the execution.
|
|
5761
|
-
#
|
|
5762
|
-
# - "`duplicate`"
|
|
5763
|
-
# - "`executed`"
|
|
6079
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6080
|
+
# executed`"
|
|
5764
6081
|
# Corresponds to the JSON property `executionStatus`
|
|
5765
6082
|
# @return [String]
|
|
5766
6083
|
attr_accessor :execution_status
|
|
@@ -5833,10 +6150,8 @@ module Google
|
|
|
5833
6150
|
class OrderinvoicesCreateRefundInvoiceResponse
|
|
5834
6151
|
include Google::Apis::Core::Hashable
|
|
5835
6152
|
|
|
5836
|
-
# The status of the execution.
|
|
5837
|
-
#
|
|
5838
|
-
# - "`duplicate`"
|
|
5839
|
-
# - "`executed`"
|
|
6153
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6154
|
+
# executed`"
|
|
5840
6155
|
# Corresponds to the JSON property `executionStatus`
|
|
5841
6156
|
# @return [String]
|
|
5842
6157
|
attr_accessor :execution_status
|
|
@@ -5867,52 +6182,23 @@ module Google
|
|
|
5867
6182
|
# @return [String]
|
|
5868
6183
|
attr_accessor :description
|
|
5869
6184
|
|
|
5870
|
-
# [required] Reason for the refund.
|
|
5871
|
-
#
|
|
5872
|
-
# - "`
|
|
5873
|
-
# - "`
|
|
5874
|
-
# - "`
|
|
5875
|
-
# - "`
|
|
5876
|
-
# - "`
|
|
5877
|
-
# - "`
|
|
5878
|
-
# - "`
|
|
5879
|
-
# - "`
|
|
5880
|
-
# - "`
|
|
5881
|
-
# - "`
|
|
5882
|
-
# - "`
|
|
5883
|
-
# - "`
|
|
5884
|
-
# - "`
|
|
5885
|
-
# - "`
|
|
5886
|
-
# - "`
|
|
5887
|
-
# - "`failToPushOrderGoogleError`"
|
|
5888
|
-
# - "`failToPushOrderMerchantError`"
|
|
5889
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
5890
|
-
# - "`failToPushOrderToMerchant`"
|
|
5891
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
5892
|
-
# - "`feeAdjustment`"
|
|
5893
|
-
# - "`invalidCoupon`"
|
|
5894
|
-
# - "`lateShipmentCredit`"
|
|
5895
|
-
# - "`malformedShippingAddress`"
|
|
5896
|
-
# - "`merchantDidNotShipOnTime`"
|
|
5897
|
-
# - "`noInventory`"
|
|
5898
|
-
# - "`orderTimeout`"
|
|
5899
|
-
# - "`other`"
|
|
5900
|
-
# - "`paymentAbuse`"
|
|
5901
|
-
# - "`paymentDeclined`"
|
|
5902
|
-
# - "`priceAdjustment`"
|
|
5903
|
-
# - "`priceError`"
|
|
5904
|
-
# - "`productArrivedDamaged`"
|
|
5905
|
-
# - "`productNotAsDescribed`"
|
|
5906
|
-
# - "`promoReallocation`"
|
|
5907
|
-
# - "`qualityNotAsExpected`"
|
|
5908
|
-
# - "`returnRefundAbuse`"
|
|
5909
|
-
# - "`shippingCostAdjustment`"
|
|
5910
|
-
# - "`shippingPriceError`"
|
|
5911
|
-
# - "`taxAdjustment`"
|
|
5912
|
-
# - "`taxError`"
|
|
5913
|
-
# - "`undeliverableShippingAddress`"
|
|
5914
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5915
|
-
# - "`wrongProductShipped`"
|
|
6185
|
+
# [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
6186
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
6187
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
6188
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
6189
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
6190
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
6191
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
6192
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
6193
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
6194
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
6195
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
6196
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
6197
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
6198
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
6199
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
6200
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
6201
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5916
6202
|
# Corresponds to the JSON property `reason`
|
|
5917
6203
|
# @return [String]
|
|
5918
6204
|
attr_accessor :reason
|
|
@@ -5937,21 +6223,13 @@ module Google
|
|
|
5937
6223
|
# @return [String]
|
|
5938
6224
|
attr_accessor :description
|
|
5939
6225
|
|
|
5940
|
-
# [required] Reason for the return.
|
|
5941
|
-
#
|
|
5942
|
-
# - "`
|
|
5943
|
-
# - "`
|
|
5944
|
-
# - "`
|
|
5945
|
-
# - "`
|
|
5946
|
-
#
|
|
5947
|
-
# - "`malformedShippingAddress`"
|
|
5948
|
-
# - "`other`"
|
|
5949
|
-
# - "`productArrivedDamaged`"
|
|
5950
|
-
# - "`productNotAsDescribed`"
|
|
5951
|
-
# - "`qualityNotAsExpected`"
|
|
5952
|
-
# - "`undeliverableShippingAddress`"
|
|
5953
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5954
|
-
# - "`wrongProductShipped`"
|
|
6226
|
+
# [required] Reason for the return. Acceptable values are: - "`
|
|
6227
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
6228
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
6229
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
6230
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
6231
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
6232
|
+
# wrongProductShipped`"
|
|
5955
6233
|
# Corresponds to the JSON property `reason`
|
|
5956
6234
|
# @return [String]
|
|
5957
6235
|
attr_accessor :reason
|
|
@@ -6055,10 +6333,8 @@ module Google
|
|
|
6055
6333
|
class OrderreturnsAcknowledgeResponse
|
|
6056
6334
|
include Google::Apis::Core::Hashable
|
|
6057
6335
|
|
|
6058
|
-
# The status of the execution.
|
|
6059
|
-
#
|
|
6060
|
-
# - "`duplicate`"
|
|
6061
|
-
# - "`executed`"
|
|
6336
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6337
|
+
# executed`"
|
|
6062
6338
|
# Corresponds to the JSON property `executionStatus`
|
|
6063
6339
|
# @return [String]
|
|
6064
6340
|
attr_accessor :execution_status
|
|
@@ -6121,10 +6397,8 @@ module Google
|
|
|
6121
6397
|
class OrderreturnsCreateOrderReturnResponse
|
|
6122
6398
|
include Google::Apis::Core::Hashable
|
|
6123
6399
|
|
|
6124
|
-
# The status of the execution.
|
|
6125
|
-
#
|
|
6126
|
-
# - "`duplicate`"
|
|
6127
|
-
# - "`executed`"
|
|
6400
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6401
|
+
# executed`"
|
|
6128
6402
|
# Corresponds to the JSON property `executionStatus`
|
|
6129
6403
|
# @return [String]
|
|
6130
6404
|
attr_accessor :execution_status
|
|
@@ -6281,10 +6555,8 @@ module Google
|
|
|
6281
6555
|
class OrderreturnsProcessResponse
|
|
6282
6556
|
include Google::Apis::Core::Hashable
|
|
6283
6557
|
|
|
6284
|
-
# The status of the execution.
|
|
6285
|
-
#
|
|
6286
|
-
# - "`duplicate`"
|
|
6287
|
-
# - "`executed`"
|
|
6558
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6559
|
+
# executed`"
|
|
6288
6560
|
# Corresponds to the JSON property `executionStatus`
|
|
6289
6561
|
# @return [String]
|
|
6290
6562
|
attr_accessor :execution_status
|
|
@@ -6434,10 +6706,8 @@ module Google
|
|
|
6434
6706
|
class OrdersAcknowledgeResponse
|
|
6435
6707
|
include Google::Apis::Core::Hashable
|
|
6436
6708
|
|
|
6437
|
-
# The status of the execution.
|
|
6438
|
-
#
|
|
6439
|
-
# - "`duplicate`"
|
|
6440
|
-
# - "`executed`"
|
|
6709
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6710
|
+
# executed`"
|
|
6441
6711
|
# Corresponds to the JSON property `executionStatus`
|
|
6442
6712
|
# @return [String]
|
|
6443
6713
|
attr_accessor :execution_status
|
|
@@ -6504,18 +6774,10 @@ module Google
|
|
|
6504
6774
|
# @return [Fixnum]
|
|
6505
6775
|
attr_accessor :quantity
|
|
6506
6776
|
|
|
6507
|
-
# The reason for the cancellation.
|
|
6508
|
-
#
|
|
6509
|
-
# - "`
|
|
6510
|
-
# - "`
|
|
6511
|
-
# - "`malformedShippingAddress`"
|
|
6512
|
-
# - "`noInventory`"
|
|
6513
|
-
# - "`other`"
|
|
6514
|
-
# - "`priceError`"
|
|
6515
|
-
# - "`shippingPriceError`"
|
|
6516
|
-
# - "`taxError`"
|
|
6517
|
-
# - "`undeliverableShippingAddress`"
|
|
6518
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6777
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6778
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6779
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6780
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6519
6781
|
# Corresponds to the JSON property `reason`
|
|
6520
6782
|
# @return [String]
|
|
6521
6783
|
attr_accessor :reason
|
|
@@ -6544,10 +6806,8 @@ module Google
|
|
|
6544
6806
|
class OrdersCancelLineItemResponse
|
|
6545
6807
|
include Google::Apis::Core::Hashable
|
|
6546
6808
|
|
|
6547
|
-
# The status of the execution.
|
|
6548
|
-
#
|
|
6549
|
-
# - "`duplicate`"
|
|
6550
|
-
# - "`executed`"
|
|
6809
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6810
|
+
# executed`"
|
|
6551
6811
|
# Corresponds to the JSON property `executionStatus`
|
|
6552
6812
|
# @return [String]
|
|
6553
6813
|
attr_accessor :execution_status
|
|
@@ -6578,18 +6838,10 @@ module Google
|
|
|
6578
6838
|
# @return [String]
|
|
6579
6839
|
attr_accessor :operation_id
|
|
6580
6840
|
|
|
6581
|
-
# The reason for the cancellation.
|
|
6582
|
-
#
|
|
6583
|
-
# - "`
|
|
6584
|
-
# - "`
|
|
6585
|
-
# - "`malformedShippingAddress`"
|
|
6586
|
-
# - "`noInventory`"
|
|
6587
|
-
# - "`other`"
|
|
6588
|
-
# - "`priceError`"
|
|
6589
|
-
# - "`shippingPriceError`"
|
|
6590
|
-
# - "`taxError`"
|
|
6591
|
-
# - "`undeliverableShippingAddress`"
|
|
6592
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6841
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6842
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6843
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6844
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6593
6845
|
# Corresponds to the JSON property `reason`
|
|
6594
6846
|
# @return [String]
|
|
6595
6847
|
attr_accessor :reason
|
|
@@ -6615,10 +6867,8 @@ module Google
|
|
|
6615
6867
|
class OrdersCancelResponse
|
|
6616
6868
|
include Google::Apis::Core::Hashable
|
|
6617
6869
|
|
|
6618
|
-
# The status of the execution.
|
|
6619
|
-
#
|
|
6620
|
-
# - "`duplicate`"
|
|
6621
|
-
# - "`executed`"
|
|
6870
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6871
|
+
# executed`"
|
|
6622
6872
|
# Corresponds to the JSON property `executionStatus`
|
|
6623
6873
|
# @return [String]
|
|
6624
6874
|
attr_accessor :execution_status
|
|
@@ -6644,11 +6894,8 @@ module Google
|
|
|
6644
6894
|
class OrdersCancelTestOrderByCustomerRequest
|
|
6645
6895
|
include Google::Apis::Core::Hashable
|
|
6646
6896
|
|
|
6647
|
-
# The reason for the cancellation.
|
|
6648
|
-
#
|
|
6649
|
-
# - "`changedMind`"
|
|
6650
|
-
# - "`orderedWrongItem`"
|
|
6651
|
-
# - "`other`"
|
|
6897
|
+
# The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
|
|
6898
|
+
# orderedWrongItem`" - "`other`"
|
|
6652
6899
|
# Corresponds to the JSON property `reason`
|
|
6653
6900
|
# @return [String]
|
|
6654
6901
|
attr_accessor :reason
|
|
@@ -6687,25 +6934,18 @@ module Google
|
|
|
6687
6934
|
class OrdersCreateTestOrderRequest
|
|
6688
6935
|
include Google::Apis::Core::Hashable
|
|
6689
6936
|
|
|
6690
|
-
# The
|
|
6937
|
+
# The CLDR territory code of the country of the test order to create. Affects
|
|
6691
6938
|
# the currency and addresses of orders created via `template_name`, or the
|
|
6692
|
-
# addresses of orders created via `test_order`.
|
|
6693
|
-
#
|
|
6694
|
-
# - "`US`"
|
|
6695
|
-
# - "`FR`" Defaults to `US`.
|
|
6939
|
+
# addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
|
|
6940
|
+
# "`FR`" Defaults to `US`.
|
|
6696
6941
|
# Corresponds to the JSON property `country`
|
|
6697
6942
|
# @return [String]
|
|
6698
6943
|
attr_accessor :country
|
|
6699
6944
|
|
|
6700
6945
|
# The test order template to use. Specify as an alternative to `testOrder` as a
|
|
6701
6946
|
# shortcut for retrieving a template and then creating an order using that
|
|
6702
|
-
# template.
|
|
6703
|
-
#
|
|
6704
|
-
# - "`template1`"
|
|
6705
|
-
# - "`template1a`"
|
|
6706
|
-
# - "`template1b`"
|
|
6707
|
-
# - "`template2`"
|
|
6708
|
-
# - "`template3`"
|
|
6947
|
+
# template. Acceptable values are: - "`template1`" - "`template1a`" - "`
|
|
6948
|
+
# template1b`" - "`template2`" - "`template3`"
|
|
6709
6949
|
# Corresponds to the JSON property `templateName`
|
|
6710
6950
|
# @return [String]
|
|
6711
6951
|
attr_accessor :template_name
|
|
@@ -6904,7 +7144,7 @@ module Google
|
|
|
6904
7144
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
6905
7145
|
include Google::Apis::Core::Hashable
|
|
6906
7146
|
|
|
6907
|
-
# The carrier handling the shipment. See `shipments[].carrier` in the
|
|
7147
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
|
6908
7148
|
# resource representation for a list of acceptable values.
|
|
6909
7149
|
# Corresponds to the JSON property `carrier`
|
|
6910
7150
|
# @return [String]
|
|
@@ -6944,8 +7184,7 @@ module Google
|
|
|
6944
7184
|
attr_accessor :kind
|
|
6945
7185
|
|
|
6946
7186
|
# Order. Production access (all methods) requires the order manager role.
|
|
6947
|
-
# Sandbox access does not.
|
|
6948
|
-
# orders ==)
|
|
7187
|
+
# Sandbox access does not.
|
|
6949
7188
|
# Corresponds to the JSON property `order`
|
|
6950
7189
|
# @return [Google::Apis::ContentV2_1::Order]
|
|
6951
7190
|
attr_accessor :order
|
|
@@ -7018,21 +7257,13 @@ module Google
|
|
|
7018
7257
|
# @return [Fixnum]
|
|
7019
7258
|
attr_accessor :quantity
|
|
7020
7259
|
|
|
7021
|
-
# The reason for the return.
|
|
7022
|
-
#
|
|
7023
|
-
# - "`
|
|
7024
|
-
# - "`
|
|
7025
|
-
# - "`
|
|
7026
|
-
# - "`
|
|
7027
|
-
#
|
|
7028
|
-
# - "`malformedShippingAddress`"
|
|
7029
|
-
# - "`other`"
|
|
7030
|
-
# - "`productArrivedDamaged`"
|
|
7031
|
-
# - "`productNotAsDescribed`"
|
|
7032
|
-
# - "`qualityNotAsExpected`"
|
|
7033
|
-
# - "`undeliverableShippingAddress`"
|
|
7034
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7035
|
-
# - "`wrongProductShipped`"
|
|
7260
|
+
# The reason for the return. Acceptable values are: - "`
|
|
7261
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
7262
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
7263
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
7264
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
7265
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
7266
|
+
# wrongProductShipped`"
|
|
7036
7267
|
# Corresponds to the JSON property `reason`
|
|
7037
7268
|
# @return [String]
|
|
7038
7269
|
attr_accessor :reason
|
|
@@ -7068,10 +7299,8 @@ module Google
|
|
|
7068
7299
|
class OrdersInStoreRefundLineItemResponse
|
|
7069
7300
|
include Google::Apis::Core::Hashable
|
|
7070
7301
|
|
|
7071
|
-
# The status of the execution.
|
|
7072
|
-
#
|
|
7073
|
-
# - "`duplicate`"
|
|
7074
|
-
# - "`executed`"
|
|
7302
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7303
|
+
# executed`"
|
|
7075
7304
|
# Corresponds to the JSON property `executionStatus`
|
|
7076
7305
|
# @return [String]
|
|
7077
7306
|
attr_accessor :execution_status
|
|
@@ -7140,22 +7369,12 @@ module Google
|
|
|
7140
7369
|
# @return [String]
|
|
7141
7370
|
attr_accessor :operation_id
|
|
7142
7371
|
|
|
7143
|
-
# The reason for the refund.
|
|
7144
|
-
#
|
|
7145
|
-
# - "`
|
|
7146
|
-
# - "`
|
|
7147
|
-
# - "`
|
|
7148
|
-
#
|
|
7149
|
-
# - "`courtesyAdjustment`"
|
|
7150
|
-
# - "`adjustment`"
|
|
7151
|
-
# - "`customerCancelled`"
|
|
7152
|
-
# - "`noInventory`"
|
|
7153
|
-
# - "`productNotAsDescribed`"
|
|
7154
|
-
# - "`undeliverableShippingAddress`"
|
|
7155
|
-
# - "`wrongProductShipped`"
|
|
7156
|
-
# - "`lateShipmentCredit`"
|
|
7157
|
-
# - "`deliveredLateByCarrier`"
|
|
7158
|
-
# - "`productArrivedDamaged`"
|
|
7372
|
+
# The reason for the refund. Acceptable values are: - "`shippingCostAdjustment`"
|
|
7373
|
+
# - "`priceAdjustment`" - "`taxAdjustment`" - "`feeAdjustment`" - "`
|
|
7374
|
+
# courtesyAdjustment`" - "`adjustment`" - "`customerCancelled`" - "`noInventory`"
|
|
7375
|
+
# - "`productNotAsDescribed`" - "`undeliverableShippingAddress`" - "`
|
|
7376
|
+
# wrongProductShipped`" - "`lateShipmentCredit`" - "`deliveredLateByCarrier`" - "
|
|
7377
|
+
# `productArrivedDamaged`"
|
|
7159
7378
|
# Corresponds to the JSON property `reason`
|
|
7160
7379
|
# @return [String]
|
|
7161
7380
|
attr_accessor :reason
|
|
@@ -7189,10 +7408,8 @@ module Google
|
|
|
7189
7408
|
class OrdersRefundItemResponse
|
|
7190
7409
|
include Google::Apis::Core::Hashable
|
|
7191
7410
|
|
|
7192
|
-
# The status of the execution.
|
|
7193
|
-
#
|
|
7194
|
-
# - "`duplicate`"
|
|
7195
|
-
# - "`executed`"
|
|
7411
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7412
|
+
# executed`"
|
|
7196
7413
|
# Corresponds to the JSON property `executionStatus`
|
|
7197
7414
|
# @return [String]
|
|
7198
7415
|
attr_accessor :execution_status
|
|
@@ -7236,10 +7453,8 @@ module Google
|
|
|
7236
7453
|
# @return [String]
|
|
7237
7454
|
attr_accessor :operation_id
|
|
7238
7455
|
|
|
7239
|
-
# The reason for the refund.
|
|
7240
|
-
#
|
|
7241
|
-
# - "`courtesyAdjustment`"
|
|
7242
|
-
# - "`other`"
|
|
7456
|
+
# The reason for the refund. Acceptable values are: - "`courtesyAdjustment`" - "`
|
|
7457
|
+
# other`"
|
|
7243
7458
|
# Corresponds to the JSON property `reason`
|
|
7244
7459
|
# @return [String]
|
|
7245
7460
|
attr_accessor :reason
|
|
@@ -7267,10 +7482,8 @@ module Google
|
|
|
7267
7482
|
class OrdersRefundOrderResponse
|
|
7268
7483
|
include Google::Apis::Core::Hashable
|
|
7269
7484
|
|
|
7270
|
-
# The status of the execution.
|
|
7271
|
-
#
|
|
7272
|
-
# - "`duplicate`"
|
|
7273
|
-
# - "`executed`"
|
|
7485
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7486
|
+
# executed`"
|
|
7274
7487
|
# Corresponds to the JSON property `executionStatus`
|
|
7275
7488
|
# @return [String]
|
|
7276
7489
|
attr_accessor :execution_status
|
|
@@ -7317,13 +7530,8 @@ module Google
|
|
|
7317
7530
|
# @return [Fixnum]
|
|
7318
7531
|
attr_accessor :quantity
|
|
7319
7532
|
|
|
7320
|
-
# The reason for the return.
|
|
7321
|
-
#
|
|
7322
|
-
# - "`damagedOrUsed`"
|
|
7323
|
-
# - "`missingComponent`"
|
|
7324
|
-
# - "`notEligible`"
|
|
7325
|
-
# - "`other`"
|
|
7326
|
-
# - "`outOfReturnWindow`"
|
|
7533
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
|
7534
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
|
7327
7535
|
# Corresponds to the JSON property `reason`
|
|
7328
7536
|
# @return [String]
|
|
7329
7537
|
attr_accessor :reason
|
|
@@ -7352,10 +7560,8 @@ module Google
|
|
|
7352
7560
|
class OrdersRejectReturnLineItemResponse
|
|
7353
7561
|
include Google::Apis::Core::Hashable
|
|
7354
7562
|
|
|
7355
|
-
# The status of the execution.
|
|
7356
|
-
#
|
|
7357
|
-
# - "`duplicate`"
|
|
7358
|
-
# - "`executed`"
|
|
7563
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7564
|
+
# executed`"
|
|
7359
7565
|
# Corresponds to the JSON property `executionStatus`
|
|
7360
7566
|
# @return [String]
|
|
7361
7567
|
attr_accessor :execution_status
|
|
@@ -7408,21 +7614,13 @@ module Google
|
|
|
7408
7614
|
# @return [Fixnum]
|
|
7409
7615
|
attr_accessor :quantity
|
|
7410
7616
|
|
|
7411
|
-
# The reason for the return.
|
|
7412
|
-
#
|
|
7413
|
-
# - "`
|
|
7414
|
-
# - "`
|
|
7415
|
-
# - "`
|
|
7416
|
-
# - "`
|
|
7417
|
-
#
|
|
7418
|
-
# - "`malformedShippingAddress`"
|
|
7419
|
-
# - "`other`"
|
|
7420
|
-
# - "`productArrivedDamaged`"
|
|
7421
|
-
# - "`productNotAsDescribed`"
|
|
7422
|
-
# - "`qualityNotAsExpected`"
|
|
7423
|
-
# - "`undeliverableShippingAddress`"
|
|
7424
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7425
|
-
# - "`wrongProductShipped`"
|
|
7617
|
+
# The reason for the return. Acceptable values are: - "`
|
|
7618
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
7619
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
7620
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
7621
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
7622
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
7623
|
+
# wrongProductShipped`"
|
|
7426
7624
|
# Corresponds to the JSON property `reason`
|
|
7427
7625
|
# @return [String]
|
|
7428
7626
|
attr_accessor :reason
|
|
@@ -7459,10 +7657,8 @@ module Google
|
|
|
7459
7657
|
class OrdersReturnRefundLineItemResponse
|
|
7460
7658
|
include Google::Apis::Core::Hashable
|
|
7461
7659
|
|
|
7462
|
-
# The status of the execution.
|
|
7463
|
-
#
|
|
7464
|
-
# - "`duplicate`"
|
|
7465
|
-
# - "`executed`"
|
|
7660
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7661
|
+
# executed`"
|
|
7466
7662
|
# Corresponds to the JSON property `executionStatus`
|
|
7467
7663
|
# @return [String]
|
|
7468
7664
|
attr_accessor :execution_status
|
|
@@ -7527,10 +7723,8 @@ module Google
|
|
|
7527
7723
|
class OrdersSetLineItemMetadataResponse
|
|
7528
7724
|
include Google::Apis::Core::Hashable
|
|
7529
7725
|
|
|
7530
|
-
# The status of the execution.
|
|
7531
|
-
#
|
|
7532
|
-
# - "`duplicate`"
|
|
7533
|
-
# - "`executed`"
|
|
7726
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7727
|
+
# executed`"
|
|
7534
7728
|
# Corresponds to the JSON property `executionStatus`
|
|
7535
7729
|
# @return [String]
|
|
7536
7730
|
attr_accessor :execution_status
|
|
@@ -7595,10 +7789,8 @@ module Google
|
|
|
7595
7789
|
class OrdersShipLineItemsResponse
|
|
7596
7790
|
include Google::Apis::Core::Hashable
|
|
7597
7791
|
|
|
7598
|
-
# The status of the execution.
|
|
7599
|
-
#
|
|
7600
|
-
# - "`duplicate`"
|
|
7601
|
-
# - "`executed`"
|
|
7792
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7793
|
+
# executed`"
|
|
7602
7794
|
# Corresponds to the JSON property `executionStatus`
|
|
7603
7795
|
# @return [String]
|
|
7604
7796
|
attr_accessor :execution_status
|
|
@@ -7625,9 +7817,8 @@ module Google
|
|
|
7625
7817
|
include Google::Apis::Core::Hashable
|
|
7626
7818
|
|
|
7627
7819
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
|
7628
|
-
# date is updated.
|
|
7629
|
-
#
|
|
7630
|
-
# past.
|
|
7820
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7821
|
+
# be a date in the past.
|
|
7631
7822
|
# Corresponds to the JSON property `deliverByDate`
|
|
7632
7823
|
# @return [String]
|
|
7633
7824
|
attr_accessor :deliver_by_date
|
|
@@ -7650,9 +7841,8 @@ module Google
|
|
|
7650
7841
|
attr_accessor :product_id
|
|
7651
7842
|
|
|
7652
7843
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
|
7653
|
-
# date is updated.
|
|
7654
|
-
#
|
|
7655
|
-
# past.
|
|
7844
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7845
|
+
# be a date in the past.
|
|
7656
7846
|
# Corresponds to the JSON property `shipByDate`
|
|
7657
7847
|
# @return [String]
|
|
7658
7848
|
attr_accessor :ship_by_date
|
|
@@ -7675,10 +7865,8 @@ module Google
|
|
|
7675
7865
|
class OrdersUpdateLineItemShippingDetailsResponse
|
|
7676
7866
|
include Google::Apis::Core::Hashable
|
|
7677
7867
|
|
|
7678
|
-
# The status of the execution.
|
|
7679
|
-
#
|
|
7680
|
-
# - "`duplicate`"
|
|
7681
|
-
# - "`executed`"
|
|
7868
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7869
|
+
# executed`"
|
|
7682
7870
|
# Corresponds to the JSON property `executionStatus`
|
|
7683
7871
|
# @return [String]
|
|
7684
7872
|
attr_accessor :execution_status
|
|
@@ -7729,10 +7917,8 @@ module Google
|
|
|
7729
7917
|
class OrdersUpdateMerchantOrderIdResponse
|
|
7730
7918
|
include Google::Apis::Core::Hashable
|
|
7731
7919
|
|
|
7732
|
-
# The status of the execution.
|
|
7733
|
-
#
|
|
7734
|
-
# - "`duplicate`"
|
|
7735
|
-
# - "`executed`"
|
|
7920
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7921
|
+
# executed`"
|
|
7736
7922
|
# Corresponds to the JSON property `executionStatus`
|
|
7737
7923
|
# @return [String]
|
|
7738
7924
|
attr_accessor :execution_status
|
|
@@ -7759,8 +7945,7 @@ module Google
|
|
|
7759
7945
|
include Google::Apis::Core::Hashable
|
|
7760
7946
|
|
|
7761
7947
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
|
7762
|
-
# carrier` in the
|
|
7763
|
-
# values.
|
|
7948
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
|
7764
7949
|
# Corresponds to the JSON property `carrier`
|
|
7765
7950
|
# @return [String]
|
|
7766
7951
|
attr_accessor :carrier
|
|
@@ -7794,11 +7979,8 @@ module Google
|
|
|
7794
7979
|
# @return [String]
|
|
7795
7980
|
attr_accessor :shipment_id
|
|
7796
7981
|
|
|
7797
|
-
# New status for the shipment. Not updated if missing.
|
|
7798
|
-
#
|
|
7799
|
-
# - "`delivered`"
|
|
7800
|
-
# - "`undeliverable`"
|
|
7801
|
-
# - "`readyForPickup`"
|
|
7982
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
|
7983
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
|
7802
7984
|
# Corresponds to the JSON property `status`
|
|
7803
7985
|
# @return [String]
|
|
7804
7986
|
attr_accessor :status
|
|
@@ -7836,10 +8018,8 @@ module Google
|
|
|
7836
8018
|
class OrdersUpdateShipmentResponse
|
|
7837
8019
|
include Google::Apis::Core::Hashable
|
|
7838
8020
|
|
|
7839
|
-
# The status of the execution.
|
|
7840
|
-
#
|
|
7841
|
-
# - "`duplicate`"
|
|
7842
|
-
# - "`executed`"
|
|
8021
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
8022
|
+
# executed`"
|
|
7843
8023
|
# Corresponds to the JSON property `executionStatus`
|
|
7844
8024
|
# @return [String]
|
|
7845
8025
|
attr_accessor :execution_status
|
|
@@ -7955,13 +8135,8 @@ module Google
|
|
|
7955
8135
|
# @return [Fixnum]
|
|
7956
8136
|
attr_accessor :merchant_id
|
|
7957
8137
|
|
|
7958
|
-
# The method of the batch entry.
|
|
7959
|
-
#
|
|
7960
|
-
# - "`delete`"
|
|
7961
|
-
# - "`get`"
|
|
7962
|
-
# - "`insert`"
|
|
7963
|
-
# - "`inventory`"
|
|
7964
|
-
# - "`sale`"
|
|
8138
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
8139
|
+
# "`insert`" - "`inventory`" - "`sale`"
|
|
7965
8140
|
# Corresponds to the JSON property `method`
|
|
7966
8141
|
# @return [String]
|
|
7967
8142
|
attr_accessor :method_prop
|
|
@@ -7976,7 +8151,7 @@ module Google
|
|
|
7976
8151
|
# @return [Google::Apis::ContentV2_1::PosStore]
|
|
7977
8152
|
attr_accessor :store
|
|
7978
8153
|
|
|
7979
|
-
# The store code.
|
|
8154
|
+
# The store code. This should be set only if the method is `delete` or `get`.
|
|
7980
8155
|
# Corresponds to the JSON property `storeCode`
|
|
7981
8156
|
# @return [String]
|
|
7982
8157
|
attr_accessor :store_code
|
|
@@ -8704,13 +8879,37 @@ module Google
|
|
|
8704
8879
|
end
|
|
8705
8880
|
end
|
|
8706
8881
|
|
|
8882
|
+
# The price represented as a number and currency.
|
|
8883
|
+
class PriceAmount
|
|
8884
|
+
include Google::Apis::Core::Hashable
|
|
8885
|
+
|
|
8886
|
+
# The currency of the price.
|
|
8887
|
+
# Corresponds to the JSON property `currency`
|
|
8888
|
+
# @return [String]
|
|
8889
|
+
attr_accessor :currency
|
|
8890
|
+
|
|
8891
|
+
# The price represented as a number.
|
|
8892
|
+
# Corresponds to the JSON property `value`
|
|
8893
|
+
# @return [String]
|
|
8894
|
+
attr_accessor :value
|
|
8895
|
+
|
|
8896
|
+
def initialize(**args)
|
|
8897
|
+
update!(**args)
|
|
8898
|
+
end
|
|
8899
|
+
|
|
8900
|
+
# Update properties of this object
|
|
8901
|
+
def update!(**args)
|
|
8902
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
8903
|
+
@value = args[:value] if args.key?(:value)
|
|
8904
|
+
end
|
|
8905
|
+
end
|
|
8906
|
+
|
|
8707
8907
|
# Required product attributes are primarily defined by the products data
|
|
8708
|
-
# specification. See the
|
|
8709
|
-
# information.
|
|
8710
|
-
#
|
|
8711
|
-
#
|
|
8712
|
-
#
|
|
8713
|
-
# several minutes before changes take effect.
|
|
8908
|
+
# specification. See the Products Data Specification Help Center article for
|
|
8909
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
8910
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
8911
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
8912
|
+
# minutes before changes take effect.
|
|
8714
8913
|
class Product
|
|
8715
8914
|
include Google::Apis::Core::Hashable
|
|
8716
8915
|
|
|
@@ -8735,7 +8934,7 @@ module Google
|
|
|
8735
8934
|
# @return [String]
|
|
8736
8935
|
attr_accessor :ads_redirect
|
|
8737
8936
|
|
|
8738
|
-
#
|
|
8937
|
+
# Should be set to true if the item is targeted towards adults.
|
|
8739
8938
|
# Corresponds to the JSON property `adult`
|
|
8740
8939
|
# @return [Boolean]
|
|
8741
8940
|
attr_accessor :adult
|
|
@@ -8767,10 +8966,8 @@ module Google
|
|
|
8767
8966
|
# @return [String]
|
|
8768
8967
|
attr_accessor :canonical_link
|
|
8769
8968
|
|
|
8770
|
-
# Required. The item's channel (online or local).
|
|
8771
|
-
#
|
|
8772
|
-
# - "`local`"
|
|
8773
|
-
# - "`online`"
|
|
8969
|
+
# Required. The item's channel (online or local). Acceptable values are: - "`
|
|
8970
|
+
# local`" - "`online`"
|
|
8774
8971
|
# Corresponds to the JSON property `channel`
|
|
8775
8972
|
# @return [String]
|
|
8776
8973
|
attr_accessor :channel
|
|
@@ -8894,9 +9091,8 @@ module Google
|
|
|
8894
9091
|
attr_accessor :gtin
|
|
8895
9092
|
|
|
8896
9093
|
# The REST ID of the product. Content API methods that operate on products take
|
|
8897
|
-
# this as their `productId` parameter.
|
|
8898
|
-
#
|
|
8899
|
-
# offerId.
|
|
9094
|
+
# this as their `productId` parameter. The REST ID for a product is of the form
|
|
9095
|
+
# channel:contentLanguage: targetCountry: offerId.
|
|
8900
9096
|
# Corresponds to the JSON property `id`
|
|
8901
9097
|
# @return [String]
|
|
8902
9098
|
attr_accessor :id
|
|
@@ -8997,9 +9193,8 @@ module Google
|
|
|
8997
9193
|
# Required. A unique identifier for the item. Leading and trailing whitespaces
|
|
8998
9194
|
# are stripped and multiple whitespaces are replaced by a single whitespace upon
|
|
8999
9195
|
# submission. Only valid unicode characters are accepted. See the products feed
|
|
9000
|
-
# specification for details.
|
|
9001
|
-
#
|
|
9002
|
-
# product, not this identifier.
|
|
9196
|
+
# specification for details. *Note:* Content API methods that operate on
|
|
9197
|
+
# products take the REST ID of the product, *not* this identifier.
|
|
9003
9198
|
# Corresponds to the JSON property `offerId`
|
|
9004
9199
|
# @return [String]
|
|
9005
9200
|
attr_accessor :offer_id
|
|
@@ -9039,7 +9234,7 @@ module Google
|
|
|
9039
9234
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
9040
9235
|
attr_accessor :sale_price
|
|
9041
9236
|
|
|
9042
|
-
# Date range during which the item is on sale (see products data specification).
|
|
9237
|
+
# Date range during which the item is on sale (see products data specification ).
|
|
9043
9238
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
|
9044
9239
|
# @return [String]
|
|
9045
9240
|
attr_accessor :sale_price_effective_date
|
|
@@ -9105,11 +9300,8 @@ module Google
|
|
|
9105
9300
|
# @return [Array<String>]
|
|
9106
9301
|
attr_accessor :sizes
|
|
9107
9302
|
|
|
9108
|
-
# The source of the offer, i.e., how the offer was created.
|
|
9109
|
-
#
|
|
9110
|
-
# - "`api`"
|
|
9111
|
-
# - "`crawl`"
|
|
9112
|
-
# - "`feed`"
|
|
9303
|
+
# The source of the offer, i.e., how the offer was created. Acceptable values
|
|
9304
|
+
# are: - "`api`" - "`crawl`" - "`feed`"
|
|
9113
9305
|
# Corresponds to the JSON property `source`
|
|
9114
9306
|
# @return [String]
|
|
9115
9307
|
attr_accessor :source
|
|
@@ -9659,7 +9851,7 @@ module Google
|
|
|
9659
9851
|
# @return [String]
|
|
9660
9852
|
attr_accessor :region
|
|
9661
9853
|
|
|
9662
|
-
#
|
|
9854
|
+
# Should be set to true if tax is charged on shipping.
|
|
9663
9855
|
# Corresponds to the JSON property `taxShip`
|
|
9664
9856
|
# @return [Boolean]
|
|
9665
9857
|
attr_accessor :tax_ship
|
|
@@ -9768,22 +9960,18 @@ module Google
|
|
|
9768
9960
|
# @return [Fixnum]
|
|
9769
9961
|
attr_accessor :merchant_id
|
|
9770
9962
|
|
|
9771
|
-
# The method of the batch entry.
|
|
9772
|
-
#
|
|
9773
|
-
# - "`delete`"
|
|
9774
|
-
# - "`get`"
|
|
9775
|
-
# - "`insert`"
|
|
9963
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
9964
|
+
# "`insert`"
|
|
9776
9965
|
# Corresponds to the JSON property `method`
|
|
9777
9966
|
# @return [String]
|
|
9778
9967
|
attr_accessor :method_prop
|
|
9779
9968
|
|
|
9780
9969
|
# Required product attributes are primarily defined by the products data
|
|
9781
|
-
# specification. See the
|
|
9782
|
-
# information.
|
|
9783
|
-
#
|
|
9784
|
-
#
|
|
9785
|
-
#
|
|
9786
|
-
# several minutes before changes take effect.
|
|
9970
|
+
# specification. See the Products Data Specification Help Center article for
|
|
9971
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
9972
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
9973
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
9974
|
+
# minutes before changes take effect.
|
|
9787
9975
|
# Corresponds to the JSON property `product`
|
|
9788
9976
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9789
9977
|
attr_accessor :product
|
|
@@ -9856,12 +10044,11 @@ module Google
|
|
|
9856
10044
|
attr_accessor :kind
|
|
9857
10045
|
|
|
9858
10046
|
# Required product attributes are primarily defined by the products data
|
|
9859
|
-
# specification. See the
|
|
9860
|
-
# information.
|
|
9861
|
-
#
|
|
9862
|
-
#
|
|
9863
|
-
#
|
|
9864
|
-
# several minutes before changes take effect.
|
|
10047
|
+
# specification. See the Products Data Specification Help Center article for
|
|
10048
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
10049
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
10050
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
10051
|
+
# minutes before changes take effect.
|
|
9865
10052
|
# Corresponds to the JSON property `product`
|
|
9866
10053
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9867
10054
|
attr_accessor :product
|
|
@@ -9956,9 +10143,7 @@ module Google
|
|
|
9956
10143
|
# @return [Fixnum]
|
|
9957
10144
|
attr_accessor :merchant_id
|
|
9958
10145
|
|
|
9959
|
-
# The method of the batch entry.
|
|
9960
|
-
# Acceptable values are:
|
|
9961
|
-
# - "`get`"
|
|
10146
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
9962
10147
|
# Corresponds to the JSON property `method`
|
|
9963
10148
|
# @return [String]
|
|
9964
10149
|
attr_accessor :method_prop
|
|
@@ -10081,8 +10266,7 @@ module Google
|
|
|
10081
10266
|
end
|
|
10082
10267
|
|
|
10083
10268
|
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
|
10084
|
-
# direct user of the merchant center account.
|
|
10085
|
-
# pubsubnotificationsettings ==)
|
|
10269
|
+
# direct user of the merchant center account.
|
|
10086
10270
|
class PubsubNotificationSettings
|
|
10087
10271
|
include Google::Apis::Core::Hashable
|
|
10088
10272
|
|
|
@@ -10097,9 +10281,7 @@ module Google
|
|
|
10097
10281
|
# @return [String]
|
|
10098
10282
|
attr_accessor :kind
|
|
10099
10283
|
|
|
10100
|
-
# List of event types.
|
|
10101
|
-
# Acceptable values are:
|
|
10102
|
-
# - "`orderPendingShipment`"
|
|
10284
|
+
# List of event types. Acceptable values are: - "`orderPendingShipment`"
|
|
10103
10285
|
# Corresponds to the JSON property `registeredEvents`
|
|
10104
10286
|
# @return [Array<String>]
|
|
10105
10287
|
attr_accessor :registered_events
|
|
@@ -10183,52 +10365,23 @@ module Google
|
|
|
10183
10365
|
# @return [String]
|
|
10184
10366
|
attr_accessor :description
|
|
10185
10367
|
|
|
10186
|
-
# Code of the refund reason.
|
|
10187
|
-
#
|
|
10188
|
-
# - "`
|
|
10189
|
-
# - "`
|
|
10190
|
-
# - "`
|
|
10191
|
-
# - "`
|
|
10192
|
-
# - "`
|
|
10193
|
-
# - "`
|
|
10194
|
-
# - "`
|
|
10195
|
-
# - "`
|
|
10196
|
-
# - "`
|
|
10197
|
-
# - "`
|
|
10198
|
-
# - "`
|
|
10199
|
-
# - "`
|
|
10200
|
-
# - "`
|
|
10201
|
-
# - "`
|
|
10202
|
-
# - "`
|
|
10203
|
-
# - "`failToPushOrderGoogleError`"
|
|
10204
|
-
# - "`failToPushOrderMerchantError`"
|
|
10205
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
10206
|
-
# - "`failToPushOrderToMerchant`"
|
|
10207
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
10208
|
-
# - "`feeAdjustment`"
|
|
10209
|
-
# - "`invalidCoupon`"
|
|
10210
|
-
# - "`lateShipmentCredit`"
|
|
10211
|
-
# - "`malformedShippingAddress`"
|
|
10212
|
-
# - "`merchantDidNotShipOnTime`"
|
|
10213
|
-
# - "`noInventory`"
|
|
10214
|
-
# - "`orderTimeout`"
|
|
10215
|
-
# - "`other`"
|
|
10216
|
-
# - "`paymentAbuse`"
|
|
10217
|
-
# - "`paymentDeclined`"
|
|
10218
|
-
# - "`priceAdjustment`"
|
|
10219
|
-
# - "`priceError`"
|
|
10220
|
-
# - "`productArrivedDamaged`"
|
|
10221
|
-
# - "`productNotAsDescribed`"
|
|
10222
|
-
# - "`promoReallocation`"
|
|
10223
|
-
# - "`qualityNotAsExpected`"
|
|
10224
|
-
# - "`returnRefundAbuse`"
|
|
10225
|
-
# - "`shippingCostAdjustment`"
|
|
10226
|
-
# - "`shippingPriceError`"
|
|
10227
|
-
# - "`taxAdjustment`"
|
|
10228
|
-
# - "`taxError`"
|
|
10229
|
-
# - "`undeliverableShippingAddress`"
|
|
10230
|
-
# - "`unsupportedPoBoxAddress`"
|
|
10231
|
-
# - "`wrongProductShipped`"
|
|
10368
|
+
# Code of the refund reason. Acceptable values are: - "`adjustment`" - "`
|
|
10369
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
10370
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
10371
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
10372
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
10373
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
10374
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
10375
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
10376
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
10377
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
10378
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
10379
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
10380
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
10381
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
10382
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
10383
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
10384
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
10232
10385
|
# Corresponds to the JSON property `reasonCode`
|
|
10233
10386
|
# @return [String]
|
|
10234
10387
|
attr_accessor :reason_code
|
|
@@ -10337,9 +10490,7 @@ module Google
|
|
|
10337
10490
|
# @return [Fixnum]
|
|
10338
10491
|
attr_accessor :merchant_id
|
|
10339
10492
|
|
|
10340
|
-
# Method of the batch request entry.
|
|
10341
|
-
# Acceptable values are:
|
|
10342
|
-
# - "`insert`"
|
|
10493
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
10343
10494
|
# Corresponds to the JSON property `method`
|
|
10344
10495
|
# @return [String]
|
|
10345
10496
|
attr_accessor :method_prop
|
|
@@ -10434,6 +10585,276 @@ module Google
|
|
|
10434
10585
|
end
|
|
10435
10586
|
end
|
|
10436
10587
|
|
|
10588
|
+
# Represents a repricing rule. A repricing rule is used by shopping serving to
|
|
10589
|
+
# adjust transactable offer prices if conditions are met. Next ID: 24
|
|
10590
|
+
class RepricingRule
|
|
10591
|
+
include Google::Apis::Core::Hashable
|
|
10592
|
+
|
|
10593
|
+
# Required. Immutable. CLDR country code (e.g. "US").
|
|
10594
|
+
# Corresponds to the JSON property `countryCode`
|
|
10595
|
+
# @return [String]
|
|
10596
|
+
attr_accessor :country_code
|
|
10597
|
+
|
|
10598
|
+
# Required. Time period when the rule should take effect.
|
|
10599
|
+
# Corresponds to the JSON property `effectiveTimePeriod`
|
|
10600
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEffectiveTime]
|
|
10601
|
+
attr_accessor :effective_time_period
|
|
10602
|
+
|
|
10603
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10604
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10605
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10606
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10607
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10608
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10609
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10610
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10611
|
+
# Corresponds to the JSON property `eligibleOfferMatcher`
|
|
10612
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher]
|
|
10613
|
+
attr_accessor :eligible_offer_matcher
|
|
10614
|
+
|
|
10615
|
+
# Required. Immutable. The two-letter ISO 639-1 language code associated with
|
|
10616
|
+
# the repricing rule.
|
|
10617
|
+
# Corresponds to the JSON property `languageCode`
|
|
10618
|
+
# @return [String]
|
|
10619
|
+
attr_accessor :language_code
|
|
10620
|
+
|
|
10621
|
+
# Output only. Immutable. Merchant that owns the repricing rule.
|
|
10622
|
+
# Corresponds to the JSON property `merchantId`
|
|
10623
|
+
# @return [Fixnum]
|
|
10624
|
+
attr_accessor :merchant_id
|
|
10625
|
+
|
|
10626
|
+
# Represents whether a rule is paused. A paused rule will behave like a non-
|
|
10627
|
+
# paused rule within CRUD operations, with the major difference that a paused
|
|
10628
|
+
# rule will not be evaluated and will have no effect on offers.
|
|
10629
|
+
# Corresponds to the JSON property `paused`
|
|
10630
|
+
# @return [Boolean]
|
|
10631
|
+
attr_accessor :paused
|
|
10632
|
+
alias_method :paused?, :paused
|
|
10633
|
+
|
|
10634
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10635
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10636
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10637
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10638
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10639
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10640
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10641
|
+
# Corresponds to the JSON property `restriction`
|
|
10642
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestriction]
|
|
10643
|
+
attr_accessor :restriction
|
|
10644
|
+
|
|
10645
|
+
# Output only. Immutable. The ID to uniquely identify each repricing rule.
|
|
10646
|
+
# Corresponds to the JSON property `ruleId`
|
|
10647
|
+
# @return [String]
|
|
10648
|
+
attr_accessor :rule_id
|
|
10649
|
+
|
|
10650
|
+
# The title for the rule.
|
|
10651
|
+
# Corresponds to the JSON property `title`
|
|
10652
|
+
# @return [String]
|
|
10653
|
+
attr_accessor :title
|
|
10654
|
+
|
|
10655
|
+
# Required. Immutable. The type of the rule.
|
|
10656
|
+
# Corresponds to the JSON property `type`
|
|
10657
|
+
# @return [String]
|
|
10658
|
+
attr_accessor :type
|
|
10659
|
+
|
|
10660
|
+
def initialize(**args)
|
|
10661
|
+
update!(**args)
|
|
10662
|
+
end
|
|
10663
|
+
|
|
10664
|
+
# Update properties of this object
|
|
10665
|
+
def update!(**args)
|
|
10666
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
|
10667
|
+
@effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
|
|
10668
|
+
@eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
|
|
10669
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
10670
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
10671
|
+
@paused = args[:paused] if args.key?(:paused)
|
|
10672
|
+
@restriction = args[:restriction] if args.key?(:restriction)
|
|
10673
|
+
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
|
10674
|
+
@title = args[:title] if args.key?(:title)
|
|
10675
|
+
@type = args[:type] if args.key?(:type)
|
|
10676
|
+
end
|
|
10677
|
+
end
|
|
10678
|
+
|
|
10679
|
+
#
|
|
10680
|
+
class RepricingRuleEffectiveTime
|
|
10681
|
+
include Google::Apis::Core::Hashable
|
|
10682
|
+
|
|
10683
|
+
# A list of fixed time periods combined with OR. The maximum number of entries
|
|
10684
|
+
# is limited to 5.
|
|
10685
|
+
# Corresponds to the JSON property `fixedTimePeriods`
|
|
10686
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>]
|
|
10687
|
+
attr_accessor :fixed_time_periods
|
|
10688
|
+
|
|
10689
|
+
def initialize(**args)
|
|
10690
|
+
update!(**args)
|
|
10691
|
+
end
|
|
10692
|
+
|
|
10693
|
+
# Update properties of this object
|
|
10694
|
+
def update!(**args)
|
|
10695
|
+
@fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods)
|
|
10696
|
+
end
|
|
10697
|
+
end
|
|
10698
|
+
|
|
10699
|
+
# Definition of a fixed time period.
|
|
10700
|
+
class RepricingRuleEffectiveTimeFixedTimePeriod
|
|
10701
|
+
include Google::Apis::Core::Hashable
|
|
10702
|
+
|
|
10703
|
+
# The end time (exclusive) of the period. It can only be hour granularity.
|
|
10704
|
+
# Corresponds to the JSON property `endTime`
|
|
10705
|
+
# @return [String]
|
|
10706
|
+
attr_accessor :end_time
|
|
10707
|
+
|
|
10708
|
+
# The start time (inclusive) of the period. It can only be hour granularity.
|
|
10709
|
+
# Corresponds to the JSON property `startTime`
|
|
10710
|
+
# @return [String]
|
|
10711
|
+
attr_accessor :start_time
|
|
10712
|
+
|
|
10713
|
+
def initialize(**args)
|
|
10714
|
+
update!(**args)
|
|
10715
|
+
end
|
|
10716
|
+
|
|
10717
|
+
# Update properties of this object
|
|
10718
|
+
def update!(**args)
|
|
10719
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
10720
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10721
|
+
end
|
|
10722
|
+
end
|
|
10723
|
+
|
|
10724
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10725
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10726
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10727
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10728
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10729
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10730
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10731
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10732
|
+
class RepricingRuleEligibleOfferMatcher
|
|
10733
|
+
include Google::Apis::Core::Hashable
|
|
10734
|
+
|
|
10735
|
+
# Matcher by string attributes.
|
|
10736
|
+
# Corresponds to the JSON property `brandMatcher`
|
|
10737
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10738
|
+
attr_accessor :brand_matcher
|
|
10739
|
+
|
|
10740
|
+
# Matcher by string attributes.
|
|
10741
|
+
# Corresponds to the JSON property `itemGroupIdMatcher`
|
|
10742
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10743
|
+
attr_accessor :item_group_id_matcher
|
|
10744
|
+
|
|
10745
|
+
# Determines whether to use the custom matchers or the product feed attribute "
|
|
10746
|
+
# repricing_rule_id" to specify offer-rule mapping.
|
|
10747
|
+
# Corresponds to the JSON property `matcherOption`
|
|
10748
|
+
# @return [String]
|
|
10749
|
+
attr_accessor :matcher_option
|
|
10750
|
+
|
|
10751
|
+
# Matcher by string attributes.
|
|
10752
|
+
# Corresponds to the JSON property `offerIdMatcher`
|
|
10753
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10754
|
+
attr_accessor :offer_id_matcher
|
|
10755
|
+
|
|
10756
|
+
def initialize(**args)
|
|
10757
|
+
update!(**args)
|
|
10758
|
+
end
|
|
10759
|
+
|
|
10760
|
+
# Update properties of this object
|
|
10761
|
+
def update!(**args)
|
|
10762
|
+
@brand_matcher = args[:brand_matcher] if args.key?(:brand_matcher)
|
|
10763
|
+
@item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
|
|
10764
|
+
@matcher_option = args[:matcher_option] if args.key?(:matcher_option)
|
|
10765
|
+
@offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
|
|
10766
|
+
end
|
|
10767
|
+
end
|
|
10768
|
+
|
|
10769
|
+
# Matcher by string attributes.
|
|
10770
|
+
class RepricingRuleEligibleOfferMatcherStringMatcher
|
|
10771
|
+
include Google::Apis::Core::Hashable
|
|
10772
|
+
|
|
10773
|
+
# String attributes, as long as such attribute of an offer is one of the string
|
|
10774
|
+
# attribute values, the offer is considered as passing the matcher. The string
|
|
10775
|
+
# matcher checks an offer for inclusivity in the string attributes, not equality.
|
|
10776
|
+
# Only literal string matching is supported, no regex.
|
|
10777
|
+
# Corresponds to the JSON property `strAttributes`
|
|
10778
|
+
# @return [Array<String>]
|
|
10779
|
+
attr_accessor :str_attributes
|
|
10780
|
+
|
|
10781
|
+
def initialize(**args)
|
|
10782
|
+
update!(**args)
|
|
10783
|
+
end
|
|
10784
|
+
|
|
10785
|
+
# Update properties of this object
|
|
10786
|
+
def update!(**args)
|
|
10787
|
+
@str_attributes = args[:str_attributes] if args.key?(:str_attributes)
|
|
10788
|
+
end
|
|
10789
|
+
end
|
|
10790
|
+
|
|
10791
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10792
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10793
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10794
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10795
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10796
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10797
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10798
|
+
class RepricingRuleRestriction
|
|
10799
|
+
include Google::Apis::Core::Hashable
|
|
10800
|
+
|
|
10801
|
+
# Definition of a boundary.
|
|
10802
|
+
# Corresponds to the JSON property `floor`
|
|
10803
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary]
|
|
10804
|
+
attr_accessor :floor
|
|
10805
|
+
|
|
10806
|
+
# If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of
|
|
10807
|
+
# the rule. If use_auto_pricing_min_price is true, then only offers with `
|
|
10808
|
+
# AUTO_PRICING_MIN_PRICE` existing on the offer will get Repricer treatment,
|
|
10809
|
+
# even if a floor value is set on the rule. Also, if use_auto_pricing_min_price
|
|
10810
|
+
# is true, the floor restriction will be ignored.
|
|
10811
|
+
# Corresponds to the JSON property `useAutoPricingMinPrice`
|
|
10812
|
+
# @return [Boolean]
|
|
10813
|
+
attr_accessor :use_auto_pricing_min_price
|
|
10814
|
+
alias_method :use_auto_pricing_min_price?, :use_auto_pricing_min_price
|
|
10815
|
+
|
|
10816
|
+
def initialize(**args)
|
|
10817
|
+
update!(**args)
|
|
10818
|
+
end
|
|
10819
|
+
|
|
10820
|
+
# Update properties of this object
|
|
10821
|
+
def update!(**args)
|
|
10822
|
+
@floor = args[:floor] if args.key?(:floor)
|
|
10823
|
+
@use_auto_pricing_min_price = args[:use_auto_pricing_min_price] if args.key?(:use_auto_pricing_min_price)
|
|
10824
|
+
end
|
|
10825
|
+
end
|
|
10826
|
+
|
|
10827
|
+
# Definition of a boundary.
|
|
10828
|
+
class RepricingRuleRestrictionBoundary
|
|
10829
|
+
include Google::Apis::Core::Hashable
|
|
10830
|
+
|
|
10831
|
+
# The percentage delta relative to the offer selling price. This field is signed.
|
|
10832
|
+
# It must be negative in floor. When it is used in floor, it should be > -100.
|
|
10833
|
+
# For example, if an offer is selling at $10 and this field is -30 in floor, the
|
|
10834
|
+
# repricing rule only applies if the calculated new price is >= $7.
|
|
10835
|
+
# Corresponds to the JSON property `percentageDelta`
|
|
10836
|
+
# @return [Fixnum]
|
|
10837
|
+
attr_accessor :percentage_delta
|
|
10838
|
+
|
|
10839
|
+
# The price micros relative to the offer selling price. This field is signed. It
|
|
10840
|
+
# must be negative in floor. For example, if an offer is selling at $10 and this
|
|
10841
|
+
# field is -$2 in floor, the repricing rule only applies if the calculated new
|
|
10842
|
+
# price is >= $8.
|
|
10843
|
+
# Corresponds to the JSON property `priceDelta`
|
|
10844
|
+
# @return [String]
|
|
10845
|
+
attr_accessor :price_delta
|
|
10846
|
+
|
|
10847
|
+
def initialize(**args)
|
|
10848
|
+
update!(**args)
|
|
10849
|
+
end
|
|
10850
|
+
|
|
10851
|
+
# Update properties of this object
|
|
10852
|
+
def update!(**args)
|
|
10853
|
+
@percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
|
|
10854
|
+
@price_delta = args[:price_delta] if args.key?(:price_delta)
|
|
10855
|
+
end
|
|
10856
|
+
end
|
|
10857
|
+
|
|
10437
10858
|
# Return address resource.
|
|
10438
10859
|
class ReturnAddress
|
|
10439
10860
|
include Google::Apis::Core::Hashable
|
|
@@ -10627,12 +11048,8 @@ module Google
|
|
|
10627
11048
|
# most items a minimum of 30 days is required for returns. Exceptions may be
|
|
10628
11049
|
# made for electronics or non-returnable items such as food, perishables, and
|
|
10629
11050
|
# living things. A policy of less than 30 days can only be applied to those
|
|
10630
|
-
# items.
|
|
10631
|
-
#
|
|
10632
|
-
# - "`lastReturnDate`"
|
|
10633
|
-
# - "`lifetimeReturns`"
|
|
10634
|
-
# - "`noReturns`"
|
|
10635
|
-
# - "`numberOfDaysAfterDelivery`"
|
|
11051
|
+
# items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
|
|
11052
|
+
# noReturns`" - "`numberOfDaysAfterDelivery`"
|
|
10636
11053
|
# Corresponds to the JSON property `type`
|
|
10637
11054
|
# @return [String]
|
|
10638
11055
|
attr_accessor :type
|
|
@@ -10751,11 +11168,8 @@ module Google
|
|
|
10751
11168
|
# @return [String]
|
|
10752
11169
|
attr_accessor :delivery_date
|
|
10753
11170
|
|
|
10754
|
-
# Type of the return method.
|
|
10755
|
-
#
|
|
10756
|
-
# - "`byMail`"
|
|
10757
|
-
# - "`contactCustomerSupport`"
|
|
10758
|
-
# - "`returnless`"
|
|
11171
|
+
# Type of the return method. Acceptable values are: - "`byMail`" - "`
|
|
11172
|
+
# contactCustomerSupport`" - "`returnless`"
|
|
10759
11173
|
# Corresponds to the JSON property `returnMethodType`
|
|
10760
11174
|
# @return [String]
|
|
10761
11175
|
attr_accessor :return_method_type
|
|
@@ -10776,13 +11190,8 @@ module Google
|
|
|
10776
11190
|
# @return [String]
|
|
10777
11191
|
attr_accessor :shipping_date
|
|
10778
11192
|
|
|
10779
|
-
# State of the shipment.
|
|
10780
|
-
#
|
|
10781
|
-
# - "`completed`"
|
|
10782
|
-
# - "`new`"
|
|
10783
|
-
# - "`shipped`"
|
|
10784
|
-
# - "`undeliverable`"
|
|
10785
|
-
# - "`pending`"
|
|
11193
|
+
# State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
|
|
11194
|
+
# shipped`" - "`undeliverable`" - "`pending`"
|
|
10786
11195
|
# Corresponds to the JSON property `state`
|
|
10787
11196
|
# @return [String]
|
|
10788
11197
|
attr_accessor :state
|
|
@@ -10836,11 +11245,8 @@ module Google
|
|
|
10836
11245
|
# @return [Fixnum]
|
|
10837
11246
|
attr_accessor :merchant_id
|
|
10838
11247
|
|
|
10839
|
-
# Method of the batch request entry.
|
|
10840
|
-
#
|
|
10841
|
-
# - "`delete`"
|
|
10842
|
-
# - "`get`"
|
|
10843
|
-
# - "`insert`"
|
|
11248
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
11249
|
+
# " - "`insert`"
|
|
10844
11250
|
# Corresponds to the JSON property `method`
|
|
10845
11251
|
# @return [String]
|
|
10846
11252
|
attr_accessor :method_prop
|
|
@@ -10850,7 +11256,8 @@ module Google
|
|
|
10850
11256
|
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
10851
11257
|
attr_accessor :return_address
|
|
10852
11258
|
|
|
10853
|
-
# The return address ID.
|
|
11259
|
+
# The return address ID. This should be set only if the method is `delete` or `
|
|
11260
|
+
# get`.
|
|
10854
11261
|
# Corresponds to the JSON property `returnAddressId`
|
|
10855
11262
|
# @return [String]
|
|
10856
11263
|
attr_accessor :return_address_id
|
|
@@ -10998,11 +11405,8 @@ module Google
|
|
|
10998
11405
|
# @return [Fixnum]
|
|
10999
11406
|
attr_accessor :merchant_id
|
|
11000
11407
|
|
|
11001
|
-
# Method of the batch request entry.
|
|
11002
|
-
#
|
|
11003
|
-
# - "`delete`"
|
|
11004
|
-
# - "`get`"
|
|
11005
|
-
# - "`insert`"
|
|
11408
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
11409
|
+
# " - "`insert`"
|
|
11006
11410
|
# Corresponds to the JSON property `method`
|
|
11007
11411
|
# @return [String]
|
|
11008
11412
|
attr_accessor :method_prop
|
|
@@ -11012,7 +11416,8 @@ module Google
|
|
|
11012
11416
|
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
11013
11417
|
attr_accessor :return_policy
|
|
11014
11418
|
|
|
11015
|
-
# The return policy ID.
|
|
11419
|
+
# The return policy ID. This should be set only if the method is `delete` or `
|
|
11420
|
+
# get`.
|
|
11016
11421
|
# Corresponds to the JSON property `returnPolicyId`
|
|
11017
11422
|
# @return [String]
|
|
11018
11423
|
attr_accessor :return_policy_id
|
|
@@ -11169,11 +11574,8 @@ module Google
|
|
|
11169
11574
|
# @return [Google::Apis::ContentV2_1::DeliveryTime]
|
|
11170
11575
|
attr_accessor :delivery_time
|
|
11171
11576
|
|
|
11172
|
-
# Eligibility for this service.
|
|
11173
|
-
#
|
|
11174
|
-
# - "`All scenarios`"
|
|
11175
|
-
# - "`All scenarios except Shopping Actions`"
|
|
11176
|
-
# - "`Shopping Actions`"
|
|
11577
|
+
# Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
|
|
11578
|
+
# All scenarios except Shopping Actions`" - "`Shopping Actions`"
|
|
11177
11579
|
# Corresponds to the JSON property `eligibility`
|
|
11178
11580
|
# @return [String]
|
|
11179
11581
|
attr_accessor :eligibility
|
|
@@ -11210,10 +11612,8 @@ module Google
|
|
|
11210
11612
|
# @return [Array<Google::Apis::ContentV2_1::RateGroup>]
|
|
11211
11613
|
attr_accessor :rate_groups
|
|
11212
11614
|
|
|
11213
|
-
# Type of locations this service ships orders to.
|
|
11214
|
-
#
|
|
11215
|
-
# - "`delivery`"
|
|
11216
|
-
# - "`pickup`"
|
|
11615
|
+
# Type of locations this service ships orders to. Acceptable values are: - "`
|
|
11616
|
+
# delivery`" - "`pickup`"
|
|
11217
11617
|
# Corresponds to the JSON property `shipmentType`
|
|
11218
11618
|
# @return [String]
|
|
11219
11619
|
attr_accessor :shipment_type
|
|
@@ -11306,8 +11706,7 @@ module Google
|
|
|
11306
11706
|
end
|
|
11307
11707
|
end
|
|
11308
11708
|
|
|
11309
|
-
# Settlement transactions give a detailed breakdown of the
|
|
11310
|
-
# = resource_for v2.1.settlementtransactions ==)
|
|
11709
|
+
# Settlement transactions give a detailed breakdown of the settlement report.
|
|
11311
11710
|
class SettlementTransaction
|
|
11312
11711
|
include Google::Apis::Core::Hashable
|
|
11313
11712
|
|
|
@@ -11354,49 +11753,21 @@ module Google
|
|
|
11354
11753
|
# @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
|
|
11355
11754
|
attr_accessor :commission
|
|
11356
11755
|
|
|
11357
|
-
# The description of the event.
|
|
11358
|
-
#
|
|
11359
|
-
# - "`
|
|
11360
|
-
# - "`
|
|
11361
|
-
# - "`
|
|
11362
|
-
# - "`
|
|
11363
|
-
# - "`
|
|
11364
|
-
# - "`
|
|
11365
|
-
# - "`
|
|
11366
|
-
# - "`
|
|
11367
|
-
# - "`
|
|
11368
|
-
# - "`
|
|
11369
|
-
# - "`
|
|
11370
|
-
# - "`
|
|
11371
|
-
# - "`
|
|
11372
|
-
# - "`furnitureEcoFee`"
|
|
11373
|
-
# - "`copyPrivateFee`"
|
|
11374
|
-
# - "`eeeEcoFeeCommission`"
|
|
11375
|
-
# - "`furnitureEcoFeeCommission`"
|
|
11376
|
-
# - "`copyPrivateFeeCommission`"
|
|
11377
|
-
# - "`principalRefund`"
|
|
11378
|
-
# - "`principalRefundTax`"
|
|
11379
|
-
# - "`itemCommission`"
|
|
11380
|
-
# - "`adjustmentCommission`"
|
|
11381
|
-
# - "`shippingFeeCommission`"
|
|
11382
|
-
# - "`commissionRefund`"
|
|
11383
|
-
# - "`damaged`"
|
|
11384
|
-
# - "`damagedOrDefectiveItem`"
|
|
11385
|
-
# - "`expiredItem`"
|
|
11386
|
-
# - "`faultyItem`"
|
|
11387
|
-
# - "`incorrectItemReceived`"
|
|
11388
|
-
# - "`itemMissing`"
|
|
11389
|
-
# - "`qualityNotExpected`"
|
|
11390
|
-
# - "`receivedTooLate`"
|
|
11391
|
-
# - "`storePackageMissing`"
|
|
11392
|
-
# - "`transitPackageMissing`"
|
|
11393
|
-
# - "`unsuccessfulDeliveryUndeliverable`"
|
|
11394
|
-
# - "`wrongChargeInStore`"
|
|
11395
|
-
# - "`wrongItem`"
|
|
11396
|
-
# - "`returns`"
|
|
11397
|
-
# - "`undeliverable`"
|
|
11398
|
-
# - "`refundFromMerchant`"
|
|
11399
|
-
# - "`returnLabelShippingFee`"
|
|
11756
|
+
# The description of the event. Acceptable values are: - "`taxWithhold`" - "`
|
|
11757
|
+
# principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
|
|
11758
|
+
# merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
|
|
11759
|
+
# "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
|
|
11760
|
+
# googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
|
|
11761
|
+
# googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
|
|
11762
|
+
# copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
|
|
11763
|
+
# copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
|
|
11764
|
+
# itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
|
|
11765
|
+
# commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
|
|
11766
|
+
# - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
|
|
11767
|
+
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
|
11768
|
+
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
|
11769
|
+
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
|
11770
|
+
# refundFromMerchant`" - "`returnLabelShippingFee`"
|
|
11400
11771
|
# Corresponds to the JSON property `description`
|
|
11401
11772
|
# @return [String]
|
|
11402
11773
|
attr_accessor :description
|
|
@@ -11406,15 +11777,9 @@ module Google
|
|
|
11406
11777
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
11407
11778
|
attr_accessor :transaction_amount
|
|
11408
11779
|
|
|
11409
|
-
# The type of the amount.
|
|
11410
|
-
#
|
|
11411
|
-
#
|
|
11412
|
-
# - "`orderPrice`"
|
|
11413
|
-
# - "`refund`"
|
|
11414
|
-
# - "`earlyRefund`"
|
|
11415
|
-
# - "`courtesyRefund`"
|
|
11416
|
-
# - "`returnRefund`"
|
|
11417
|
-
# - "`returnLabelShippingFeeAmount`"
|
|
11780
|
+
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
|
11781
|
+
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
|
11782
|
+
# returnLabelShippingFeeAmount`"
|
|
11418
11783
|
# Corresponds to the JSON property `type`
|
|
11419
11784
|
# @return [String]
|
|
11420
11785
|
attr_accessor :type
|
|
@@ -11436,52 +11801,21 @@ module Google
|
|
|
11436
11801
|
class SettlementTransactionAmountCommission
|
|
11437
11802
|
include Google::Apis::Core::Hashable
|
|
11438
11803
|
|
|
11439
|
-
# The category of the commission.
|
|
11440
|
-
#
|
|
11441
|
-
# - "`
|
|
11442
|
-
# - "`
|
|
11443
|
-
# - "`
|
|
11444
|
-
# - "`
|
|
11445
|
-
# - "`
|
|
11446
|
-
# - "`
|
|
11447
|
-
# - "`
|
|
11448
|
-
# - "`
|
|
11449
|
-
# - "`
|
|
11450
|
-
# - "`
|
|
11451
|
-
# - "`
|
|
11452
|
-
# - "`
|
|
11453
|
-
#
|
|
11454
|
-
# - "`toysAndGames`"
|
|
11455
|
-
# - "`musicalInstruments`"
|
|
11456
|
-
# - "`giftCards`"
|
|
11457
|
-
# - "`babyAndToddler`"
|
|
11458
|
-
# - "`babyFoodWipesAndDiapers`"
|
|
11459
|
-
# - "`businessAndIndustrial`"
|
|
11460
|
-
# - "`camerasOpticsAndPhotography`"
|
|
11461
|
-
# - "`consumerElectronics`"
|
|
11462
|
-
# - "`electronicsAccessories`"
|
|
11463
|
-
# - "`personalComputers`"
|
|
11464
|
-
# - "`videoGameConsoles`"
|
|
11465
|
-
# - "`foodAndGrocery`"
|
|
11466
|
-
# - "`beverages`"
|
|
11467
|
-
# - "`tobaccoProducts`"
|
|
11468
|
-
# - "`furniture`"
|
|
11469
|
-
# - "`hardware`"
|
|
11470
|
-
# - "`buildingMaterials`"
|
|
11471
|
-
# - "`tools`"
|
|
11472
|
-
# - "`healthAndPersonalCare`"
|
|
11473
|
-
# - "`beauty`"
|
|
11474
|
-
# - "`householdSupplies`"
|
|
11475
|
-
# - "`kitchenAndDining`"
|
|
11476
|
-
# - "`majorAppliances`"
|
|
11477
|
-
# - "`luggageAndBags`"
|
|
11478
|
-
# - "`media`"
|
|
11479
|
-
# - "`officeSupplies`"
|
|
11480
|
-
# - "`softwareAndVideoGames`"
|
|
11481
|
-
# - "`vehiclePartsAndAccessories`"
|
|
11482
|
-
# - "`vehicleTiresAndWheels`"
|
|
11483
|
-
# - "`vehicles`"
|
|
11484
|
-
# - "`everythingElse`"
|
|
11804
|
+
# The category of the commission. Acceptable values are: - "`
|
|
11805
|
+
# animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
|
|
11806
|
+
# " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
|
|
11807
|
+
# "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
|
|
11808
|
+
# entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
|
|
11809
|
+
# `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
|
|
11810
|
+
# "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
|
|
11811
|
+
# "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
|
|
11812
|
+
# electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
|
|
11813
|
+
# foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
|
|
11814
|
+
# hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
|
|
11815
|
+
# beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
|
|
11816
|
+
# "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
|
|
11817
|
+
# " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
|
|
11818
|
+
# "`everythingElse`"
|
|
11485
11819
|
# Corresponds to the JSON property `category`
|
|
11486
11820
|
# @return [String]
|
|
11487
11821
|
attr_accessor :category
|
|
@@ -11560,16 +11894,11 @@ module Google
|
|
|
11560
11894
|
# @return [String]
|
|
11561
11895
|
attr_accessor :post_date
|
|
11562
11896
|
|
|
11563
|
-
# The type of the transaction that occurred.
|
|
11564
|
-
#
|
|
11565
|
-
# - "`
|
|
11566
|
-
# - "`
|
|
11567
|
-
#
|
|
11568
|
-
# - "`reversalRefund`"
|
|
11569
|
-
# - "`issueRelatedRefundAndReplacement`"
|
|
11570
|
-
# - "`returnLabelShippingFeeTransaction`"
|
|
11571
|
-
# - "`reversalIssueRelatedRefundAndReplacement`"
|
|
11572
|
-
# - "`reversalReturnLabelShippingFeeTransaction`"
|
|
11897
|
+
# The type of the transaction that occurred. Acceptable values are: - "`order`" -
|
|
11898
|
+
# "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
|
|
11899
|
+
# issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
|
|
11900
|
+
# reversalIssueRelatedRefundAndReplacement`" - "`
|
|
11901
|
+
# reversalReturnLabelShippingFeeTransaction`"
|
|
11573
11902
|
# Corresponds to the JSON property `type`
|
|
11574
11903
|
# @return [String]
|
|
11575
11904
|
attr_accessor :type
|
|
@@ -11727,38 +12056,13 @@ module Google
|
|
|
11727
12056
|
class ShipmentTrackingInfo
|
|
11728
12057
|
include Google::Apis::Core::Hashable
|
|
11729
12058
|
|
|
11730
|
-
# The shipping carrier that handles the package.
|
|
11731
|
-
#
|
|
11732
|
-
# - "`
|
|
11733
|
-
# - "`
|
|
11734
|
-
# - "`
|
|
11735
|
-
# - "`
|
|
11736
|
-
#
|
|
11737
|
-
# - "`cxt`"
|
|
11738
|
-
# - "`deliv`"
|
|
11739
|
-
# - "`dhl`"
|
|
11740
|
-
# - "`dpd`"
|
|
11741
|
-
# - "`dynamex`"
|
|
11742
|
-
# - "`eCourier`"
|
|
11743
|
-
# - "`easypost`"
|
|
11744
|
-
# - "`efw`"
|
|
11745
|
-
# - "`fedex`"
|
|
11746
|
-
# - "`fedexSmartpost`"
|
|
11747
|
-
# - "`geodis`"
|
|
11748
|
-
# - "`gls`"
|
|
11749
|
-
# - "`googleCourier`"
|
|
11750
|
-
# - "`gsx`"
|
|
11751
|
-
# - "`jdLogistics`"
|
|
11752
|
-
# - "`laPoste`"
|
|
11753
|
-
# - "`lasership`"
|
|
11754
|
-
# - "`manual`"
|
|
11755
|
-
# - "`mpx`"
|
|
11756
|
-
# - "`onTrac`"
|
|
11757
|
-
# - "`other`"
|
|
11758
|
-
# - "`tnt`"
|
|
11759
|
-
# - "`uds`"
|
|
11760
|
-
# - "`ups`"
|
|
11761
|
-
# - "`usps`"
|
|
12059
|
+
# The shipping carrier that handles the package. Acceptable values are: - "`
|
|
12060
|
+
# boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
|
|
12061
|
+
# " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
|
|
12062
|
+
# "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
|
|
12063
|
+
# googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
|
|
12064
|
+
# manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
|
|
12065
|
+
# usps`"
|
|
11762
12066
|
# Corresponds to the JSON property `carrier`
|
|
11763
12067
|
# @return [String]
|
|
11764
12068
|
attr_accessor :carrier
|
|
@@ -11850,10 +12154,7 @@ module Google
|
|
|
11850
12154
|
# @return [Fixnum]
|
|
11851
12155
|
attr_accessor :merchant_id
|
|
11852
12156
|
|
|
11853
|
-
# The method of the batch entry.
|
|
11854
|
-
# Acceptable values are:
|
|
11855
|
-
# - "`get`"
|
|
11856
|
-
# - "`update`"
|
|
12157
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
11857
12158
|
# Corresponds to the JSON property `method`
|
|
11858
12159
|
# @return [String]
|
|
11859
12160
|
attr_accessor :method_prop
|
|
@@ -12129,40 +12430,28 @@ module Google
|
|
|
12129
12430
|
# @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
|
|
12130
12431
|
attr_accessor :pickup_details
|
|
12131
12432
|
|
|
12132
|
-
# Required. The billing address.
|
|
12133
|
-
#
|
|
12134
|
-
# - "`dwight`"
|
|
12135
|
-
# - "`jim`"
|
|
12136
|
-
# - "`pam`"
|
|
12433
|
+
# Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" -
|
|
12434
|
+
# "`pam`"
|
|
12137
12435
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
|
12138
12436
|
# @return [String]
|
|
12139
12437
|
attr_accessor :predefined_billing_address
|
|
12140
12438
|
|
|
12141
12439
|
# Required. Identifier of one of the predefined delivery addresses for the
|
|
12142
|
-
# delivery.
|
|
12143
|
-
# Acceptable values are:
|
|
12144
|
-
# - "`dwight`"
|
|
12145
|
-
# - "`jim`"
|
|
12146
|
-
# - "`pam`"
|
|
12440
|
+
# delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
|
12147
12441
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
|
12148
12442
|
# @return [String]
|
|
12149
12443
|
attr_accessor :predefined_delivery_address
|
|
12150
12444
|
|
|
12151
|
-
# Required. Email address of the customer.
|
|
12152
|
-
#
|
|
12153
|
-
#
|
|
12154
|
-
# - "`pog.jim.halpert@gmail.com`"
|
|
12155
|
-
# - "`penpog.pam.beesly@gmail.comding`"
|
|
12445
|
+
# Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
|
|
12446
|
+
# schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
|
|
12447
|
+
# gmail.comding`"
|
|
12156
12448
|
# Corresponds to the JSON property `predefinedEmail`
|
|
12157
12449
|
# @return [String]
|
|
12158
12450
|
attr_accessor :predefined_email
|
|
12159
12451
|
|
|
12160
12452
|
# Identifier of one of the predefined pickup details. Required for orders
|
|
12161
|
-
# containing line items with shipping type `pickup`.
|
|
12162
|
-
#
|
|
12163
|
-
# - "`dwight`"
|
|
12164
|
-
# - "`jim`"
|
|
12165
|
-
# - "`pam`"
|
|
12453
|
+
# containing line items with shipping type `pickup`. Acceptable values are: - "`
|
|
12454
|
+
# dwight`" - "`jim`" - "`pam`"
|
|
12166
12455
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
|
12167
12456
|
# @return [String]
|
|
12168
12457
|
attr_accessor :predefined_pickup_details
|
|
@@ -12180,14 +12469,8 @@ module Google
|
|
|
12180
12469
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12181
12470
|
attr_accessor :shipping_cost
|
|
12182
12471
|
|
|
12183
|
-
# Required. The requested shipping option.
|
|
12184
|
-
#
|
|
12185
|
-
# - "`economy`"
|
|
12186
|
-
# - "`expedited`"
|
|
12187
|
-
# - "`oneDay`"
|
|
12188
|
-
# - "`sameDay`"
|
|
12189
|
-
# - "`standard`"
|
|
12190
|
-
# - "`twoDay`"
|
|
12472
|
+
# Required. The requested shipping option. Acceptable values are: - "`economy`" -
|
|
12473
|
+
# "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
|
|
12191
12474
|
# Corresponds to the JSON property `shippingOption`
|
|
12192
12475
|
# @return [String]
|
|
12193
12476
|
attr_accessor :shipping_option
|
|
@@ -12224,11 +12507,8 @@ module Google
|
|
|
12224
12507
|
attr_accessor :country
|
|
12225
12508
|
|
|
12226
12509
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
12227
|
-
# example:
|
|
12228
|
-
#
|
|
12229
|
-
# 1600 Amphitheatre Parkway
|
|
12230
|
-
# Mountain View, CA, 94043
|
|
12231
|
-
# United States
|
|
12510
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
12511
|
+
# States
|
|
12232
12512
|
# Corresponds to the JSON property `fullAddress`
|
|
12233
12513
|
# @return [Array<String>]
|
|
12234
12514
|
attr_accessor :full_address
|
|
@@ -12354,17 +12634,13 @@ module Google
|
|
|
12354
12634
|
# @return [String]
|
|
12355
12635
|
attr_accessor :brand
|
|
12356
12636
|
|
|
12357
|
-
# Required. Condition or state of the item.
|
|
12358
|
-
# Acceptable values are:
|
|
12359
|
-
# - "`new`"
|
|
12637
|
+
# Required. Condition or state of the item. Acceptable values are: - "`new`"
|
|
12360
12638
|
# Corresponds to the JSON property `condition`
|
|
12361
12639
|
# @return [String]
|
|
12362
12640
|
attr_accessor :condition
|
|
12363
12641
|
|
|
12364
|
-
# Required. The two-letter ISO 639-1 language code for the item.
|
|
12365
|
-
#
|
|
12366
|
-
# - "`en`"
|
|
12367
|
-
# - "`fr`"
|
|
12642
|
+
# Required. The two-letter ISO 639-1 language code for the item. Acceptable
|
|
12643
|
+
# values are: - "`en`" - "`fr`"
|
|
12368
12644
|
# Corresponds to the JSON property `contentLanguage`
|
|
12369
12645
|
# @return [String]
|
|
12370
12646
|
attr_accessor :content_language
|
|
@@ -12406,7 +12682,7 @@ module Google
|
|
|
12406
12682
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12407
12683
|
attr_accessor :price
|
|
12408
12684
|
|
|
12409
|
-
# Required. The CLDR territory code of the target country of the product.
|
|
12685
|
+
# Required. The CLDR territory // code of the target country of the product.
|
|
12410
12686
|
# Corresponds to the JSON property `targetCountry`
|
|
12411
12687
|
# @return [String]
|
|
12412
12688
|
attr_accessor :target_country
|
|
@@ -12457,11 +12733,8 @@ module Google
|
|
|
12457
12733
|
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
|
12458
12734
|
attr_accessor :pickup_location_address
|
|
12459
12735
|
|
|
12460
|
-
# Pickup location type.
|
|
12461
|
-
#
|
|
12462
|
-
# - "`locker`"
|
|
12463
|
-
# - "`store`"
|
|
12464
|
-
# - "`curbside`"
|
|
12736
|
+
# Pickup location type. Acceptable values are: - "`locker`" - "`store`" - "`
|
|
12737
|
+
# curbside`"
|
|
12465
12738
|
# Corresponds to the JSON property `pickupLocationType`
|
|
12466
12739
|
# @return [String]
|
|
12467
12740
|
attr_accessor :pickup_location_type
|
|
@@ -12509,6 +12782,32 @@ module Google
|
|
|
12509
12782
|
end
|
|
12510
12783
|
end
|
|
12511
12784
|
|
|
12785
|
+
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
|
12786
|
+
# time-zones).
|
|
12787
|
+
class TimeZone
|
|
12788
|
+
include Google::Apis::Core::Hashable
|
|
12789
|
+
|
|
12790
|
+
# IANA Time Zone Database time zone, e.g. "America/New_York".
|
|
12791
|
+
# Corresponds to the JSON property `id`
|
|
12792
|
+
# @return [String]
|
|
12793
|
+
attr_accessor :id
|
|
12794
|
+
|
|
12795
|
+
# Optional. IANA Time Zone Database version number, e.g. "2019a".
|
|
12796
|
+
# Corresponds to the JSON property `version`
|
|
12797
|
+
# @return [String]
|
|
12798
|
+
attr_accessor :version
|
|
12799
|
+
|
|
12800
|
+
def initialize(**args)
|
|
12801
|
+
update!(**args)
|
|
12802
|
+
end
|
|
12803
|
+
|
|
12804
|
+
# Update properties of this object
|
|
12805
|
+
def update!(**args)
|
|
12806
|
+
@id = args[:id] if args.key?(:id)
|
|
12807
|
+
@version = args[:version] if args.key?(:version)
|
|
12808
|
+
end
|
|
12809
|
+
end
|
|
12810
|
+
|
|
12512
12811
|
#
|
|
12513
12812
|
class TransitTable
|
|
12514
12813
|
include Google::Apis::Core::Hashable
|
|
@@ -12629,9 +12928,8 @@ module Google
|
|
|
12629
12928
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
12630
12929
|
attr_accessor :additional_charge_amount
|
|
12631
12930
|
|
|
12632
|
-
# [required] Type of the additional charge.
|
|
12633
|
-
#
|
|
12634
|
-
# - "`shipping`"
|
|
12931
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
12932
|
+
#
|
|
12635
12933
|
# Corresponds to the JSON property `type`
|
|
12636
12934
|
# @return [String]
|
|
12637
12935
|
attr_accessor :type
|
|
@@ -12662,11 +12960,8 @@ module Google
|
|
|
12662
12960
|
# @return [String]
|
|
12663
12961
|
attr_accessor :tax_name
|
|
12664
12962
|
|
|
12665
|
-
# [required] Type of the tax.
|
|
12666
|
-
#
|
|
12667
|
-
# - "`otherFee`"
|
|
12668
|
-
# - "`otherFeeTax`"
|
|
12669
|
-
# - "`sales`"
|
|
12963
|
+
# [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
|
|
12964
|
+
# otherFeeTax`" - "`sales`"
|
|
12670
12965
|
# Corresponds to the JSON property `taxType`
|
|
12671
12966
|
# @return [String]
|
|
12672
12967
|
attr_accessor :tax_type
|
|
@@ -12737,10 +13032,7 @@ module Google
|
|
|
12737
13032
|
class Weight
|
|
12738
13033
|
include Google::Apis::Core::Hashable
|
|
12739
13034
|
|
|
12740
|
-
# Required. The weight unit.
|
|
12741
|
-
# Acceptable values are:
|
|
12742
|
-
# - "`kg`"
|
|
12743
|
-
# - "`lb`"
|
|
13035
|
+
# Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
|
|
12744
13036
|
# Corresponds to the JSON property `unit`
|
|
12745
13037
|
# @return [String]
|
|
12746
13038
|
attr_accessor :unit
|