google-api-client 0.46.0 → 0.49.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 +643 -190
- 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/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- 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 +3 -2
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- 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 +201 -17
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +69 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +79 -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/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 +500 -133
- data/generated/google/apis/apigee_v1/representations.rb +158 -18
- data/generated/google/apis/apigee_v1/service.rb +504 -55
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- 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 +8 -2
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +10 -2
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +5 -1
- 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 +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -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 +703 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +305 -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_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +9 -3
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +6 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +1 -0
- 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/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +22 -14
- 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 +79 -2
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +32 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +79 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +32 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +83 -6
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +32 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +83 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +32 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- 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/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +278 -27
- data/generated/google/apis/compute_v1/representations.rb +44 -0
- data/generated/google/apis/compute_v1/service.rb +5 -3
- 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 +377 -650
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1006 -1057
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +942 -801
- 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 +677 -364
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -167
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +677 -364
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -171
- data/generated/google/apis/dialogflow_v2beta1/service.rb +56 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +754 -371
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +307 -170
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- 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 +261 -18
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +33 -32
- 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 +11 -11
- 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 +187 -11
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -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 +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -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 +4 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +23 -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 +10 -7
- 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 +13 -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 +4 -4
- 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 +468 -295
- data/generated/google/apis/healthcare_v1beta1/representations.rb +202 -80
- data/generated/google/apis/healthcare_v1beta1/service.rb +156 -74
- 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/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- 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 +182 -8
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +426 -5
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +2 -3
- 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 +81 -11
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -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 +82 -11
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -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 +1 -1
- 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 +64 -10
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- 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/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/{displayvideo_v1dev → oauth2_v2}/representations.rb +22 -26
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +16 -16
- 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_v1/classes.rb +6 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +1 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +1 -0
- 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 +2472 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +997 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1489 -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 +88 -127
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -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 +28 -0
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +18 -8
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- 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 +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +6 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +6 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- 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 +1 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -63
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -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 +44 -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 +4 -44
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -17
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +4 -12
- 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 +77 -9
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +20 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- 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 +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -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/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/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- 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 +2 -2
- 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/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 = '20201029'
|
|
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
|
|
@@ -2698,8 +2713,8 @@ module Google
|
|
|
2698
2713
|
|
|
2699
2714
|
# A list of inclusive number of items upper bounds. The last value can be `"
|
|
2700
2715
|
# 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.
|
|
2716
|
+
# 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set
|
|
2717
|
+
# if all other fields are not set.
|
|
2703
2718
|
# Corresponds to the JSON property `numberOfItems`
|
|
2704
2719
|
# @return [Array<String>]
|
|
2705
2720
|
attr_accessor :number_of_items
|
|
@@ -2715,8 +2730,9 @@ module Google
|
|
|
2715
2730
|
# A list of inclusive order price upper bounds. The last price's value can be `"
|
|
2716
2731
|
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
|
2717
2732
|
# "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
|
|
2733
|
+
# headers "<= $10", "<= $500", and "> $500". All prices within a service must
|
|
2734
|
+
# have the same currency. Must be non-empty. Can only be set if all other fields
|
|
2735
|
+
# are not set.
|
|
2720
2736
|
# Corresponds to the JSON property `prices`
|
|
2721
2737
|
# @return [Array<Google::Apis::ContentV2_1::Price>]
|
|
2722
2738
|
attr_accessor :prices
|
|
@@ -2724,8 +2740,8 @@ module Google
|
|
|
2724
2740
|
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
|
2725
2741
|
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
|
2726
2742
|
# 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.
|
|
2743
|
+
# 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the
|
|
2744
|
+
# same unit. Must be non-empty. Can only be set if all other fields are not set.
|
|
2729
2745
|
# Corresponds to the JSON property `weights`
|
|
2730
2746
|
# @return [Array<Google::Apis::ContentV2_1::Weight>]
|
|
2731
2747
|
attr_accessor :weights
|
|
@@ -2762,7 +2778,7 @@ module Google
|
|
|
2762
2778
|
attr_accessor :deadline_hour
|
|
2763
2779
|
|
|
2764
2780
|
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
|
2765
|
-
# in
|
|
2781
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
|
2766
2782
|
# Corresponds to the JSON property `deadlineTimezone`
|
|
2767
2783
|
# @return [String]
|
|
2768
2784
|
attr_accessor :deadline_timezone
|
|
@@ -2828,16 +2844,9 @@ module Google
|
|
|
2828
2844
|
# @return [String]
|
|
2829
2845
|
attr_accessor :id
|
|
2830
2846
|
|
|
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`"
|
|
2847
|
+
# The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`
|
|
2848
|
+
# Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`
|
|
2849
|
+
# Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
|
|
2841
2850
|
# Corresponds to the JSON property `type`
|
|
2842
2851
|
# @return [String]
|
|
2843
2852
|
attr_accessor :type
|
|
@@ -2916,9 +2925,8 @@ module Google
|
|
|
2916
2925
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
2917
2926
|
attr_accessor :total_amount
|
|
2918
2927
|
|
|
2919
|
-
# [required] Type of the additional charge.
|
|
2920
|
-
#
|
|
2921
|
-
# - "`shipping`"
|
|
2928
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
2929
|
+
#
|
|
2922
2930
|
# Corresponds to the JSON property `type`
|
|
2923
2931
|
# @return [String]
|
|
2924
2932
|
attr_accessor :type
|
|
@@ -2934,15 +2942,31 @@ module Google
|
|
|
2934
2942
|
end
|
|
2935
2943
|
end
|
|
2936
2944
|
|
|
2945
|
+
# The IDs of labels that should be assigned to the CSS domain.
|
|
2946
|
+
class LabelIds
|
|
2947
|
+
include Google::Apis::Core::Hashable
|
|
2948
|
+
|
|
2949
|
+
# The list of label IDs.
|
|
2950
|
+
# Corresponds to the JSON property `labelIds`
|
|
2951
|
+
# @return [Array<Fixnum>]
|
|
2952
|
+
attr_accessor :label_ids
|
|
2953
|
+
|
|
2954
|
+
def initialize(**args)
|
|
2955
|
+
update!(**args)
|
|
2956
|
+
end
|
|
2957
|
+
|
|
2958
|
+
# Update properties of this object
|
|
2959
|
+
def update!(**args)
|
|
2960
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
2961
|
+
end
|
|
2962
|
+
end
|
|
2963
|
+
|
|
2937
2964
|
#
|
|
2938
2965
|
class LiaAboutPageSettings
|
|
2939
2966
|
include Google::Apis::Core::Hashable
|
|
2940
2967
|
|
|
2941
|
-
# The status of the verification process for the About page.
|
|
2942
|
-
#
|
|
2943
|
-
# - "`active`"
|
|
2944
|
-
# - "`inactive`"
|
|
2945
|
-
# - "`pending`"
|
|
2968
|
+
# The status of the verification process for the About page. Acceptable values
|
|
2969
|
+
# are: - "`active`" - "`inactive`" - "`pending`"
|
|
2946
2970
|
# Corresponds to the JSON property `status`
|
|
2947
2971
|
# @return [String]
|
|
2948
2972
|
attr_accessor :status
|
|
@@ -3034,20 +3058,14 @@ module Google
|
|
|
3034
3058
|
# @return [String]
|
|
3035
3059
|
attr_accessor :inventory_verification_contact_name
|
|
3036
3060
|
|
|
3037
|
-
# The status of the verification contact.
|
|
3038
|
-
#
|
|
3039
|
-
# - "`active`"
|
|
3040
|
-
# - "`inactive`"
|
|
3041
|
-
# - "`pending`"
|
|
3061
|
+
# The status of the verification contact. Acceptable values are: - "`active`" - "
|
|
3062
|
+
# `inactive`" - "`pending`"
|
|
3042
3063
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
|
3043
3064
|
# @return [String]
|
|
3044
3065
|
attr_accessor :inventory_verification_contact_status
|
|
3045
3066
|
|
|
3046
|
-
# The status of the inventory verification process.
|
|
3047
|
-
#
|
|
3048
|
-
# - "`active`"
|
|
3049
|
-
# - "`inactive`"
|
|
3050
|
-
# - "`pending`"
|
|
3067
|
+
# The status of the inventory verification process. Acceptable values are: - "`
|
|
3068
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3051
3069
|
# Corresponds to the JSON property `status`
|
|
3052
3070
|
# @return [String]
|
|
3053
3071
|
attr_accessor :status
|
|
@@ -3074,11 +3092,8 @@ module Google
|
|
|
3074
3092
|
# @return [String]
|
|
3075
3093
|
attr_accessor :shipping_cost_policy_url
|
|
3076
3094
|
|
|
3077
|
-
# The status of the ?On display to order? feature.
|
|
3078
|
-
#
|
|
3079
|
-
# - "`active`"
|
|
3080
|
-
# - "`inactive`"
|
|
3081
|
-
# - "`pending`"
|
|
3095
|
+
# The status of the ?On display to order? feature. Acceptable values are: - "`
|
|
3096
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3082
3097
|
# Corresponds to the JSON property `status`
|
|
3083
3098
|
# @return [String]
|
|
3084
3099
|
attr_accessor :status
|
|
@@ -3219,14 +3234,10 @@ module Google
|
|
|
3219
3234
|
# @return [Fixnum]
|
|
3220
3235
|
attr_accessor :merchant_id
|
|
3221
3236
|
|
|
3222
|
-
# The method of the batch entry.
|
|
3223
|
-
#
|
|
3224
|
-
# - "`
|
|
3225
|
-
#
|
|
3226
|
-
# - "`requestGmbAccess`"
|
|
3227
|
-
# - "`requestInventoryVerification`"
|
|
3228
|
-
# - "`setInventoryVerificationContact`"
|
|
3229
|
-
# - "`update`"
|
|
3237
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`
|
|
3238
|
+
# getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
|
|
3239
|
+
# requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
|
|
3240
|
+
# update`"
|
|
3230
3241
|
# Corresponds to the JSON property `method`
|
|
3231
3242
|
# @return [String]
|
|
3232
3243
|
attr_accessor :method_prop
|
|
@@ -3512,20 +3523,15 @@ module Google
|
|
|
3512
3523
|
class LinkService
|
|
3513
3524
|
include Google::Apis::Core::Hashable
|
|
3514
3525
|
|
|
3515
|
-
# Service provided to or by the linked account.
|
|
3516
|
-
#
|
|
3517
|
-
#
|
|
3518
|
-
# - "`shoppingActionsProductManagement`"
|
|
3519
|
-
# - "`shoppingAdsProductManagement`"
|
|
3526
|
+
# Service provided to or by the linked account. Acceptable values are: - "`
|
|
3527
|
+
# shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
|
|
3528
|
+
# shoppingAdsProductManagement`"
|
|
3520
3529
|
# Corresponds to the JSON property `service`
|
|
3521
3530
|
# @return [String]
|
|
3522
3531
|
attr_accessor :service
|
|
3523
3532
|
|
|
3524
|
-
# Status of the link
|
|
3525
|
-
#
|
|
3526
|
-
# - "`active`"
|
|
3527
|
-
# - "`inactive`"
|
|
3528
|
-
# - "`pending`"
|
|
3533
|
+
# Status of the link Acceptable values are: - "`active`" - "`inactive`" - "`
|
|
3534
|
+
# pending`"
|
|
3529
3535
|
# Corresponds to the JSON property `status`
|
|
3530
3536
|
# @return [String]
|
|
3531
3537
|
attr_accessor :status
|
|
@@ -3566,12 +3572,91 @@ module Google
|
|
|
3566
3572
|
end
|
|
3567
3573
|
end
|
|
3568
3574
|
|
|
3575
|
+
# Response message for the `ListAccountLabels` method.
|
|
3576
|
+
class ListAccountLabelsResponse
|
|
3577
|
+
include Google::Apis::Core::Hashable
|
|
3578
|
+
|
|
3579
|
+
# The labels from the specified account.
|
|
3580
|
+
# Corresponds to the JSON property `accountLabels`
|
|
3581
|
+
# @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
|
|
3582
|
+
attr_accessor :account_labels
|
|
3583
|
+
|
|
3584
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3585
|
+
# field is omitted, there are no subsequent pages.
|
|
3586
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3587
|
+
# @return [String]
|
|
3588
|
+
attr_accessor :next_page_token
|
|
3589
|
+
|
|
3590
|
+
def initialize(**args)
|
|
3591
|
+
update!(**args)
|
|
3592
|
+
end
|
|
3593
|
+
|
|
3594
|
+
# Update properties of this object
|
|
3595
|
+
def update!(**args)
|
|
3596
|
+
@account_labels = args[:account_labels] if args.key?(:account_labels)
|
|
3597
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3598
|
+
end
|
|
3599
|
+
end
|
|
3600
|
+
|
|
3601
|
+
# The response message for the `ListCsses` method
|
|
3602
|
+
class ListCssesResponse
|
|
3603
|
+
include Google::Apis::Core::Hashable
|
|
3604
|
+
|
|
3605
|
+
# The CSS domains affiliated with the specified CSS group.
|
|
3606
|
+
# Corresponds to the JSON property `csses`
|
|
3607
|
+
# @return [Array<Google::Apis::ContentV2_1::Css>]
|
|
3608
|
+
attr_accessor :csses
|
|
3609
|
+
|
|
3610
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3611
|
+
# field is omitted, there are no subsequent pages.
|
|
3612
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3613
|
+
# @return [String]
|
|
3614
|
+
attr_accessor :next_page_token
|
|
3615
|
+
|
|
3616
|
+
def initialize(**args)
|
|
3617
|
+
update!(**args)
|
|
3618
|
+
end
|
|
3619
|
+
|
|
3620
|
+
# Update properties of this object
|
|
3621
|
+
def update!(**args)
|
|
3622
|
+
@csses = args[:csses] if args.key?(:csses)
|
|
3623
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3624
|
+
end
|
|
3625
|
+
end
|
|
3626
|
+
|
|
3627
|
+
# Response message for the `ListRepricingRules` method.
|
|
3628
|
+
class ListRepricingRulesResponse
|
|
3629
|
+
include Google::Apis::Core::Hashable
|
|
3630
|
+
|
|
3631
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3632
|
+
# field is omitted, there are no subsequent pages.
|
|
3633
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3634
|
+
# @return [String]
|
|
3635
|
+
attr_accessor :next_page_token
|
|
3636
|
+
|
|
3637
|
+
# The rules from the specified merchant.
|
|
3638
|
+
# Corresponds to the JSON property `repricingRules`
|
|
3639
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRule>]
|
|
3640
|
+
attr_accessor :repricing_rules
|
|
3641
|
+
|
|
3642
|
+
def initialize(**args)
|
|
3643
|
+
update!(**args)
|
|
3644
|
+
end
|
|
3645
|
+
|
|
3646
|
+
# Update properties of this object
|
|
3647
|
+
def update!(**args)
|
|
3648
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3649
|
+
@repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules)
|
|
3650
|
+
end
|
|
3651
|
+
end
|
|
3652
|
+
|
|
3569
3653
|
# Local inventory resource. For accepted attribute values, see the local product
|
|
3570
3654
|
# inventory feed specification.
|
|
3571
3655
|
class LocalInventory
|
|
3572
3656
|
include Google::Apis::Core::Hashable
|
|
3573
3657
|
|
|
3574
|
-
# Availability of the product.
|
|
3658
|
+
# Availability of the product. For accepted attribute values, see the local
|
|
3659
|
+
# product inventory feed specification.
|
|
3575
3660
|
# Corresponds to the JSON property `availability`
|
|
3576
3661
|
# @return [String]
|
|
3577
3662
|
attr_accessor :availability
|
|
@@ -3588,13 +3673,15 @@ module Google
|
|
|
3588
3673
|
attr_accessor :kind
|
|
3589
3674
|
|
|
3590
3675
|
# Supported pickup method for this offer. Unless the value is "not supported",
|
|
3591
|
-
# this field must be submitted together with `pickupSla`.
|
|
3676
|
+
# this field must be submitted together with `pickupSla`. For accepted attribute
|
|
3677
|
+
# values, see the local product inventory feed // specification.
|
|
3592
3678
|
# Corresponds to the JSON property `pickupMethod`
|
|
3593
3679
|
# @return [String]
|
|
3594
3680
|
attr_accessor :pickup_method
|
|
3595
3681
|
|
|
3596
3682
|
# Expected date that an order will be ready for pickup relative to the order
|
|
3597
|
-
# date. Must be submitted together with `pickupMethod`.
|
|
3683
|
+
# date. Must be submitted together with `pickupMethod`. For accepted attribute
|
|
3684
|
+
# values, see the local product inventory feed specification.
|
|
3598
3685
|
# Corresponds to the JSON property `pickupSla`
|
|
3599
3686
|
# @return [String]
|
|
3600
3687
|
attr_accessor :pickup_sla
|
|
@@ -3683,9 +3770,7 @@ module Google
|
|
|
3683
3770
|
# @return [Fixnum]
|
|
3684
3771
|
attr_accessor :merchant_id
|
|
3685
3772
|
|
|
3686
|
-
# Method of the batch request entry.
|
|
3687
|
-
# Acceptable values are:
|
|
3688
|
-
# - "`insert`"
|
|
3773
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
3689
3774
|
# Corresponds to the JSON property `method`
|
|
3690
3775
|
# @return [String]
|
|
3691
3776
|
attr_accessor :method_prop
|
|
@@ -3933,13 +4018,8 @@ module Google
|
|
|
3933
4018
|
# @return [String]
|
|
3934
4019
|
attr_accessor :shipment_unit_id
|
|
3935
4020
|
|
|
3936
|
-
# State of the item.
|
|
3937
|
-
#
|
|
3938
|
-
# - "`canceled`"
|
|
3939
|
-
# - "`new`"
|
|
3940
|
-
# - "`received`"
|
|
3941
|
-
# - "`refunded`"
|
|
3942
|
-
# - "`rejected`"
|
|
4021
|
+
# State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
|
|
4022
|
+
# received`" - "`refunded`" - "`rejected`"
|
|
3943
4023
|
# Corresponds to the JSON property `state`
|
|
3944
4024
|
# @return [String]
|
|
3945
4025
|
attr_accessor :state
|
|
@@ -4066,8 +4146,7 @@ module Google
|
|
|
4066
4146
|
end
|
|
4067
4147
|
|
|
4068
4148
|
# Order. Production access (all methods) requires the order manager role.
|
|
4069
|
-
# Sandbox access does not.
|
|
4070
|
-
# orders ==)
|
|
4149
|
+
# Sandbox access does not.
|
|
4071
4150
|
class Order
|
|
4072
4151
|
include Google::Apis::Core::Hashable
|
|
4073
4152
|
|
|
@@ -4137,12 +4216,8 @@ module Google
|
|
|
4137
4216
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4138
4217
|
attr_accessor :net_tax_amount
|
|
4139
4218
|
|
|
4140
|
-
# The status of the payment.
|
|
4141
|
-
#
|
|
4142
|
-
# - "`paymentCaptured`"
|
|
4143
|
-
# - "`paymentRejected`"
|
|
4144
|
-
# - "`paymentSecured`"
|
|
4145
|
-
# - "`pendingAuthorization`"
|
|
4219
|
+
# The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
|
|
4220
|
+
# paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
|
|
4146
4221
|
# Corresponds to the JSON property `paymentStatus`
|
|
4147
4222
|
# @return [String]
|
|
4148
4223
|
attr_accessor :payment_status
|
|
@@ -4157,25 +4232,22 @@ module Google
|
|
|
4157
4232
|
# @return [String]
|
|
4158
4233
|
attr_accessor :placed_date
|
|
4159
4234
|
|
|
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 `
|
|
4235
|
+
# Promotions associated with the order. To determine which promotions apply to
|
|
4236
|
+
# which products, check the `Promotions[].appliedItems[].lineItemId` field
|
|
4237
|
+
# against the `LineItems[].id` field for each promotion. If a promotion is
|
|
4238
|
+
# applied to more than 1 offerId, divide the discount value by the number of
|
|
4239
|
+
# affected offers to determine how much discount to apply to each offerId.
|
|
4240
|
+
# Examples: 1. To calculate price paid by the customer for a single line item
|
|
4241
|
+
# including the discount: For each promotion, subtract the `LineItems[].
|
|
4242
|
+
# adjustments[].priceAdjustment.value` amount from the `LineItems[].Price.value`.
|
|
4243
|
+
# 2. To calculate price paid by the customer for a single line item including
|
|
4244
|
+
# the discount in case of multiple quantity: For each promotion, divide the `
|
|
4172
4245
|
# LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
|
|
4173
4246
|
# 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.
|
|
4247
|
+
# for each quantity item. Only 1 promotion can be applied to an offerId in a
|
|
4248
|
+
# given order. To refund an item which had a promotion applied to it, make sure
|
|
4249
|
+
# to refund the amount after first subtracting the promotion discount from the
|
|
4250
|
+
# item price. More details about the program are here.
|
|
4179
4251
|
# Corresponds to the JSON property `promotions`
|
|
4180
4252
|
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
|
|
4181
4253
|
attr_accessor :promotions
|
|
@@ -4200,25 +4272,15 @@ module Google
|
|
|
4200
4272
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4201
4273
|
attr_accessor :shipping_cost_tax
|
|
4202
4274
|
|
|
4203
|
-
# The status of the order.
|
|
4204
|
-
#
|
|
4205
|
-
# - "`
|
|
4206
|
-
# - "`delivered`"
|
|
4207
|
-
# - "`inProgress`"
|
|
4208
|
-
# - "`partiallyDelivered`"
|
|
4209
|
-
# - "`partiallyReturned`"
|
|
4210
|
-
# - "`partiallyShipped`"
|
|
4211
|
-
# - "`pendingShipment`"
|
|
4212
|
-
# - "`returned`"
|
|
4213
|
-
# - "`shipped`"
|
|
4275
|
+
# The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
|
|
4276
|
+
# - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
|
|
4277
|
+
# partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
|
|
4214
4278
|
# Corresponds to the JSON property `status`
|
|
4215
4279
|
# @return [String]
|
|
4216
4280
|
attr_accessor :status
|
|
4217
4281
|
|
|
4218
|
-
# The party responsible for collecting and remitting taxes.
|
|
4219
|
-
#
|
|
4220
|
-
# - "`marketplaceFacilitator`"
|
|
4221
|
-
# - "`merchant`"
|
|
4282
|
+
# The party responsible for collecting and remitting taxes. Acceptable values
|
|
4283
|
+
# are: - "`marketplaceFacilitator`" - "`merchant`"
|
|
4222
4284
|
# Corresponds to the JSON property `taxCollector`
|
|
4223
4285
|
# @return [String]
|
|
4224
4286
|
attr_accessor :tax_collector
|
|
@@ -4264,11 +4326,8 @@ module Google
|
|
|
4264
4326
|
attr_accessor :country
|
|
4265
4327
|
|
|
4266
4328
|
# 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
|
|
4329
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
4330
|
+
# States
|
|
4272
4331
|
# Corresponds to the JSON property `fullAddress`
|
|
4273
4332
|
# @return [Array<String>]
|
|
4274
4333
|
attr_accessor :full_address
|
|
@@ -4327,14 +4386,9 @@ module Google
|
|
|
4327
4386
|
class OrderCancellation
|
|
4328
4387
|
include Google::Apis::Core::Hashable
|
|
4329
4388
|
|
|
4330
|
-
# The actor that created the cancellation.
|
|
4331
|
-
#
|
|
4332
|
-
# - "`
|
|
4333
|
-
# - "`googleBot`"
|
|
4334
|
-
# - "`googleCustomerService`"
|
|
4335
|
-
# - "`googlePayments`"
|
|
4336
|
-
# - "`googleSabre`"
|
|
4337
|
-
# - "`merchant`"
|
|
4389
|
+
# The actor that created the cancellation. Acceptable values are: - "`customer`"
|
|
4390
|
+
# - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
|
|
4391
|
+
# googleSabre`" - "`merchant`"
|
|
4338
4392
|
# Corresponds to the JSON property `actor`
|
|
4339
4393
|
# @return [String]
|
|
4340
4394
|
attr_accessor :actor
|
|
@@ -4352,35 +4406,18 @@ module Google
|
|
|
4352
4406
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
|
4353
4407
|
# reason will lead to the removal of the product from Shopping Actions until you
|
|
4354
4408
|
# 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`"
|
|
4409
|
+
# Acceptable values are: - "`autoPostInternal`" - "`
|
|
4410
|
+
# autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
|
|
4411
|
+
# autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
4412
|
+
# couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "`
|
|
4413
|
+
# customerSupportRequested`" - "`failToPushOrderGoogleError`" - "`
|
|
4414
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
4415
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
4416
|
+
# invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" -
|
|
4417
|
+
# "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
|
|
4418
|
+
# paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
|
|
4419
|
+
# shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
4420
|
+
# unsupportedPoBoxAddress`"
|
|
4384
4421
|
# Corresponds to the JSON property `reason`
|
|
4385
4422
|
# @return [String]
|
|
4386
4423
|
attr_accessor :reason
|
|
@@ -4415,7 +4452,7 @@ module Google
|
|
|
4415
4452
|
|
|
4416
4453
|
# Email address for the merchant to send value-added tax or invoice
|
|
4417
4454
|
# documentation of the order. Only the last document sent is made available to
|
|
4418
|
-
# the customer. For more information, see
|
|
4455
|
+
# the customer. For more information, see About automated VAT invoicing for
|
|
4419
4456
|
# Shopping Actions.
|
|
4420
4457
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
|
4421
4458
|
# @return [String]
|
|
@@ -4480,10 +4517,8 @@ module Google
|
|
|
4480
4517
|
# cases this selection might not be known, so this field would be empty. If a
|
|
4481
4518
|
# customer selected `granted` in their most recent order, they can be subscribed
|
|
4482
4519
|
# 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`"
|
|
4520
|
+
# or must be unsubscribed if already opted-in. Acceptable values are: - "`
|
|
4521
|
+
# denied`" - "`granted`"
|
|
4487
4522
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
|
4488
4523
|
# @return [String]
|
|
4489
4524
|
attr_accessor :explicit_marketing_preference
|
|
@@ -4677,9 +4712,7 @@ module Google
|
|
|
4677
4712
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4678
4713
|
attr_accessor :tax_adjustment
|
|
4679
4714
|
|
|
4680
|
-
# Type of this adjustment.
|
|
4681
|
-
# Acceptable values are:
|
|
4682
|
-
# - "`promotion`"
|
|
4715
|
+
# Type of this adjustment. Acceptable values are: - "`promotion`"
|
|
4683
4716
|
# Corresponds to the JSON property `type`
|
|
4684
4717
|
# @return [String]
|
|
4685
4718
|
attr_accessor :type
|
|
@@ -4705,11 +4738,8 @@ module Google
|
|
|
4705
4738
|
# @return [String]
|
|
4706
4739
|
attr_accessor :brand
|
|
4707
4740
|
|
|
4708
|
-
# Condition or state of the item.
|
|
4709
|
-
#
|
|
4710
|
-
# - "`new`"
|
|
4711
|
-
# - "`refurbished`"
|
|
4712
|
-
# - "`used`"
|
|
4741
|
+
# Condition or state of the item. Acceptable values are: - "`new`" - "`
|
|
4742
|
+
# refurbished`" - "`used`"
|
|
4713
4743
|
# Corresponds to the JSON property `condition`
|
|
4714
4744
|
# @return [String]
|
|
4715
4745
|
attr_accessor :condition
|
|
@@ -4764,7 +4794,7 @@ module Google
|
|
|
4764
4794
|
# @return [String]
|
|
4765
4795
|
attr_accessor :shown_image
|
|
4766
4796
|
|
|
4767
|
-
# The CLDR territory code of the target country of the product.
|
|
4797
|
+
# The CLDR territory // code of the target country of the product.
|
|
4768
4798
|
# Corresponds to the JSON property `targetCountry`
|
|
4769
4799
|
# @return [String]
|
|
4770
4800
|
attr_accessor :target_country
|
|
@@ -4913,10 +4943,8 @@ module Google
|
|
|
4913
4943
|
attr_accessor :ship_by_date
|
|
4914
4944
|
|
|
4915
4945
|
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
|
4916
|
-
# applicable for this shipment.
|
|
4917
|
-
#
|
|
4918
|
-
# - "`delivery`"
|
|
4919
|
-
# - "`pickup`"
|
|
4946
|
+
# applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
|
|
4947
|
+
# "
|
|
4920
4948
|
# Corresponds to the JSON property `type`
|
|
4921
4949
|
# @return [String]
|
|
4922
4950
|
attr_accessor :type
|
|
@@ -5046,13 +5074,9 @@ module Google
|
|
|
5046
5074
|
# @return [String]
|
|
5047
5075
|
attr_accessor :location_id
|
|
5048
5076
|
|
|
5049
|
-
# The pickup type of this order.
|
|
5050
|
-
#
|
|
5051
|
-
#
|
|
5052
|
-
# - "`merchantStoreCurbside`"
|
|
5053
|
-
# - "`merchantStoreLocker`"
|
|
5054
|
-
# - "`thirdPartyPickupPoint`"
|
|
5055
|
-
# - "`thirdPartyLocker`"
|
|
5077
|
+
# The pickup type of this order. Acceptable values are: - "`merchantStore`" - "`
|
|
5078
|
+
# merchantStoreCurbside`" - "`merchantStoreLocker`" - "`thirdPartyPickupPoint`" -
|
|
5079
|
+
# "`thirdPartyLocker`"
|
|
5056
5080
|
# Corresponds to the JSON property `pickupType`
|
|
5057
5081
|
# @return [String]
|
|
5058
5082
|
attr_accessor :pickup_type
|
|
@@ -5120,10 +5144,7 @@ module Google
|
|
|
5120
5144
|
attr_accessor :end_time
|
|
5121
5145
|
|
|
5122
5146
|
# Required. The party funding the promotion. Only `merchant` is supported for `
|
|
5123
|
-
# orders.createtestorder`.
|
|
5124
|
-
# Acceptable values are:
|
|
5125
|
-
# - "`google`"
|
|
5126
|
-
# - "`merchant`"
|
|
5147
|
+
# orders.createtestorder`. Acceptable values are: - "`google`" - "`merchant`"
|
|
5127
5148
|
# Corresponds to the JSON property `funder`
|
|
5128
5149
|
# @return [String]
|
|
5129
5150
|
attr_accessor :funder
|
|
@@ -5153,22 +5174,11 @@ module Google
|
|
|
5153
5174
|
attr_accessor :start_time
|
|
5154
5175
|
|
|
5155
5176
|
# 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`"
|
|
5177
|
+
# orders.createtestorder`. Acceptable values are: - "`buyMGetMoneyOff`" - "`
|
|
5178
|
+
# buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "`buyMGetPercentOff`" - "`
|
|
5179
|
+
# freeGift`" - "`freeGiftWithItemId`" - "`freeGiftWithValue`" - "`
|
|
5180
|
+
# freeShippingOvernight`" - "`freeShippingStandard`" - "`freeShippingTwoDay`" - "
|
|
5181
|
+
# `moneyOff`" - "`percentOff`" - "`rewardPoints`" - "`salePrice`"
|
|
5172
5182
|
# Corresponds to the JSON property `subtype`
|
|
5173
5183
|
# @return [String]
|
|
5174
5184
|
attr_accessor :subtype
|
|
@@ -5185,10 +5195,7 @@ module Google
|
|
|
5185
5195
|
attr_accessor :title
|
|
5186
5196
|
|
|
5187
5197
|
# Required. The scope of the promotion. Only `product` is supported for `orders.
|
|
5188
|
-
# createtestorder`.
|
|
5189
|
-
# Acceptable values are:
|
|
5190
|
-
# - "`product`"
|
|
5191
|
-
# - "`shipping`"
|
|
5198
|
+
# createtestorder`. Acceptable values are: - "`product`" - "`shipping`"
|
|
5192
5199
|
# Corresponds to the JSON property `type`
|
|
5193
5200
|
# @return [String]
|
|
5194
5201
|
attr_accessor :type
|
|
@@ -5256,13 +5263,8 @@ module Google
|
|
|
5256
5263
|
class OrderRefund
|
|
5257
5264
|
include Google::Apis::Core::Hashable
|
|
5258
5265
|
|
|
5259
|
-
# The actor that created the refund.
|
|
5260
|
-
#
|
|
5261
|
-
# - "`customer`"
|
|
5262
|
-
# - "`googleBot`"
|
|
5263
|
-
# - "`googleCustomerService`"
|
|
5264
|
-
# - "`googlePayments`"
|
|
5265
|
-
# - "`googleSabre`"
|
|
5266
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5267
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5266
5268
|
# - "`merchant`"
|
|
5267
5269
|
# Corresponds to the JSON property `actor`
|
|
5268
5270
|
# @return [String]
|
|
@@ -5278,52 +5280,23 @@ module Google
|
|
|
5278
5280
|
# @return [String]
|
|
5279
5281
|
attr_accessor :creation_date
|
|
5280
5282
|
|
|
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`"
|
|
5283
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
5284
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
5285
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
5286
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
5287
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5288
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
5289
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
5290
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
5291
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
5292
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
5293
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
5294
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
5295
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
5296
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
5297
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
5298
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
5299
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5327
5300
|
# Corresponds to the JSON property `reason`
|
|
5328
5301
|
# @return [String]
|
|
5329
5302
|
attr_accessor :reason
|
|
@@ -5347,8 +5320,7 @@ module Google
|
|
|
5347
5320
|
end
|
|
5348
5321
|
end
|
|
5349
5322
|
|
|
5350
|
-
# Order disbursement. All methods require the payment analyst role.
|
|
5351
|
-
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
|
5323
|
+
# Order disbursement. All methods require the payment analyst role.
|
|
5352
5324
|
class OrderReportDisbursement
|
|
5353
5325
|
include Google::Apis::Core::Hashable
|
|
5354
5326
|
|
|
@@ -5462,13 +5434,8 @@ module Google
|
|
|
5462
5434
|
class OrderReturn
|
|
5463
5435
|
include Google::Apis::Core::Hashable
|
|
5464
5436
|
|
|
5465
|
-
# The actor that created the refund.
|
|
5466
|
-
#
|
|
5467
|
-
# - "`customer`"
|
|
5468
|
-
# - "`googleBot`"
|
|
5469
|
-
# - "`googleCustomerService`"
|
|
5470
|
-
# - "`googlePayments`"
|
|
5471
|
-
# - "`googleSabre`"
|
|
5437
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5438
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5472
5439
|
# - "`merchant`"
|
|
5473
5440
|
# Corresponds to the JSON property `actor`
|
|
5474
5441
|
# @return [String]
|
|
@@ -5484,21 +5451,13 @@ module Google
|
|
|
5484
5451
|
# @return [Fixnum]
|
|
5485
5452
|
attr_accessor :quantity
|
|
5486
5453
|
|
|
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`"
|
|
5454
|
+
# The reason for the return. Acceptable values are: - "`
|
|
5455
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5456
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
5457
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
5458
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
5459
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
5460
|
+
# wrongProductShipped`"
|
|
5502
5461
|
# Corresponds to the JSON property `reason`
|
|
5503
5462
|
# @return [String]
|
|
5504
5463
|
attr_accessor :reason
|
|
@@ -5526,59 +5485,33 @@ module Google
|
|
|
5526
5485
|
class OrderShipment
|
|
5527
5486
|
include Google::Apis::Core::Hashable
|
|
5528
5487
|
|
|
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)
|
|
5488
|
+
# The carrier handling the shipment. For supported carriers, Google includes the
|
|
5489
|
+
# carrier name and tracking URL in emails to customers. For select supported
|
|
5490
|
+
# carriers, Google also automatically updates the shipment status based on the
|
|
5491
|
+
# provided shipment ID. *Note:* You can also use unsupported carriers, but
|
|
5492
|
+
# emails to customers will not include the carrier name or tracking URL, and
|
|
5493
|
+
# there will be no automatic order status updates. Supported carriers for US are:
|
|
5494
|
+
# - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" (
|
|
5495
|
+
# United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) *
|
|
5496
|
+
# automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates*
|
|
5497
|
+
# (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`"
|
|
5498
|
+
# (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" (
|
|
5499
|
+
# LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery
|
|
5500
|
+
# Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD
|
|
5501
|
+
# Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "`
|
|
5502
|
+
# china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore
|
|
5503
|
+
# Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT
|
|
5504
|
+
# Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
|
|
5505
|
+
# " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
|
|
5506
|
+
# "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
|
|
5507
|
+
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
|
|
5508
|
+
# Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
|
|
5509
|
+
# updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
|
|
5510
|
+
# "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
|
|
5511
|
+
# Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
|
|
5512
|
+
# (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
|
|
5513
|
+
# Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
|
|
5514
|
+
# db schenker`" (DB Schenker) - "`aramex`" (Aramex)
|
|
5582
5515
|
# Corresponds to the JSON property `carrier`
|
|
5583
5516
|
# @return [String]
|
|
5584
5517
|
attr_accessor :carrier
|
|
@@ -5614,12 +5547,8 @@ module Google
|
|
|
5614
5547
|
# @return [String]
|
|
5615
5548
|
attr_accessor :shipment_group_id
|
|
5616
5549
|
|
|
5617
|
-
# The status of the shipment.
|
|
5618
|
-
#
|
|
5619
|
-
# - "`delivered`"
|
|
5620
|
-
# - "`readyForPickup`"
|
|
5621
|
-
# - "`shipped`"
|
|
5622
|
-
# - "`undeliverable`"
|
|
5550
|
+
# The status of the shipment. Acceptable values are: - "`delivered`" - "`
|
|
5551
|
+
# readyForPickup`" - "`shipped`" - "`undeliverable`"
|
|
5623
5552
|
# Corresponds to the JSON property `status`
|
|
5624
5553
|
# @return [String]
|
|
5625
5554
|
attr_accessor :status
|
|
@@ -5757,10 +5686,8 @@ module Google
|
|
|
5757
5686
|
class OrderinvoicesCreateChargeInvoiceResponse
|
|
5758
5687
|
include Google::Apis::Core::Hashable
|
|
5759
5688
|
|
|
5760
|
-
# The status of the execution.
|
|
5761
|
-
#
|
|
5762
|
-
# - "`duplicate`"
|
|
5763
|
-
# - "`executed`"
|
|
5689
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
5690
|
+
# executed`"
|
|
5764
5691
|
# Corresponds to the JSON property `executionStatus`
|
|
5765
5692
|
# @return [String]
|
|
5766
5693
|
attr_accessor :execution_status
|
|
@@ -5833,10 +5760,8 @@ module Google
|
|
|
5833
5760
|
class OrderinvoicesCreateRefundInvoiceResponse
|
|
5834
5761
|
include Google::Apis::Core::Hashable
|
|
5835
5762
|
|
|
5836
|
-
# The status of the execution.
|
|
5837
|
-
#
|
|
5838
|
-
# - "`duplicate`"
|
|
5839
|
-
# - "`executed`"
|
|
5763
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
5764
|
+
# executed`"
|
|
5840
5765
|
# Corresponds to the JSON property `executionStatus`
|
|
5841
5766
|
# @return [String]
|
|
5842
5767
|
attr_accessor :execution_status
|
|
@@ -5867,52 +5792,23 @@ module Google
|
|
|
5867
5792
|
# @return [String]
|
|
5868
5793
|
attr_accessor :description
|
|
5869
5794
|
|
|
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`"
|
|
5795
|
+
# [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
5796
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
5797
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
5798
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
5799
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5800
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
5801
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
5802
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
5803
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
5804
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
5805
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
5806
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
5807
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
5808
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
5809
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
5810
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
5811
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5916
5812
|
# Corresponds to the JSON property `reason`
|
|
5917
5813
|
# @return [String]
|
|
5918
5814
|
attr_accessor :reason
|
|
@@ -5937,21 +5833,13 @@ module Google
|
|
|
5937
5833
|
# @return [String]
|
|
5938
5834
|
attr_accessor :description
|
|
5939
5835
|
|
|
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`"
|
|
5836
|
+
# [required] Reason for the return. Acceptable values are: - "`
|
|
5837
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5838
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
5839
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
5840
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
5841
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
5842
|
+
# wrongProductShipped`"
|
|
5955
5843
|
# Corresponds to the JSON property `reason`
|
|
5956
5844
|
# @return [String]
|
|
5957
5845
|
attr_accessor :reason
|
|
@@ -6055,10 +5943,8 @@ module Google
|
|
|
6055
5943
|
class OrderreturnsAcknowledgeResponse
|
|
6056
5944
|
include Google::Apis::Core::Hashable
|
|
6057
5945
|
|
|
6058
|
-
# The status of the execution.
|
|
6059
|
-
#
|
|
6060
|
-
# - "`duplicate`"
|
|
6061
|
-
# - "`executed`"
|
|
5946
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
5947
|
+
# executed`"
|
|
6062
5948
|
# Corresponds to the JSON property `executionStatus`
|
|
6063
5949
|
# @return [String]
|
|
6064
5950
|
attr_accessor :execution_status
|
|
@@ -6080,6 +5966,103 @@ module Google
|
|
|
6080
5966
|
end
|
|
6081
5967
|
end
|
|
6082
5968
|
|
|
5969
|
+
#
|
|
5970
|
+
class OrderreturnsCreateOrderReturnRequest
|
|
5971
|
+
include Google::Apis::Core::Hashable
|
|
5972
|
+
|
|
5973
|
+
# The list of line items to return.
|
|
5974
|
+
# Corresponds to the JSON property `lineItems`
|
|
5975
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderreturnsLineItem>]
|
|
5976
|
+
attr_accessor :line_items
|
|
5977
|
+
|
|
5978
|
+
# The ID of the operation. Unique across all operations for a given order.
|
|
5979
|
+
# Corresponds to the JSON property `operationId`
|
|
5980
|
+
# @return [String]
|
|
5981
|
+
attr_accessor :operation_id
|
|
5982
|
+
|
|
5983
|
+
# The ID of the order.
|
|
5984
|
+
# Corresponds to the JSON property `orderId`
|
|
5985
|
+
# @return [String]
|
|
5986
|
+
attr_accessor :order_id
|
|
5987
|
+
|
|
5988
|
+
# The way of the package being returned.
|
|
5989
|
+
# Corresponds to the JSON property `returnMethodType`
|
|
5990
|
+
# @return [String]
|
|
5991
|
+
attr_accessor :return_method_type
|
|
5992
|
+
|
|
5993
|
+
def initialize(**args)
|
|
5994
|
+
update!(**args)
|
|
5995
|
+
end
|
|
5996
|
+
|
|
5997
|
+
# Update properties of this object
|
|
5998
|
+
def update!(**args)
|
|
5999
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
6000
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
6001
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
|
6002
|
+
@return_method_type = args[:return_method_type] if args.key?(:return_method_type)
|
|
6003
|
+
end
|
|
6004
|
+
end
|
|
6005
|
+
|
|
6006
|
+
#
|
|
6007
|
+
class OrderreturnsCreateOrderReturnResponse
|
|
6008
|
+
include Google::Apis::Core::Hashable
|
|
6009
|
+
|
|
6010
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6011
|
+
# executed`"
|
|
6012
|
+
# Corresponds to the JSON property `executionStatus`
|
|
6013
|
+
# @return [String]
|
|
6014
|
+
attr_accessor :execution_status
|
|
6015
|
+
|
|
6016
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
|
6017
|
+
# orderreturnsCreateOrderReturnResponse".
|
|
6018
|
+
# Corresponds to the JSON property `kind`
|
|
6019
|
+
# @return [String]
|
|
6020
|
+
attr_accessor :kind
|
|
6021
|
+
|
|
6022
|
+
# Order return. Production access (all methods) requires the order manager role.
|
|
6023
|
+
# Sandbox access does not.
|
|
6024
|
+
# Corresponds to the JSON property `orderReturn`
|
|
6025
|
+
# @return [Google::Apis::ContentV2_1::MerchantOrderReturn]
|
|
6026
|
+
attr_accessor :order_return
|
|
6027
|
+
|
|
6028
|
+
def initialize(**args)
|
|
6029
|
+
update!(**args)
|
|
6030
|
+
end
|
|
6031
|
+
|
|
6032
|
+
# Update properties of this object
|
|
6033
|
+
def update!(**args)
|
|
6034
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
6035
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
6036
|
+
@order_return = args[:order_return] if args.key?(:order_return)
|
|
6037
|
+
end
|
|
6038
|
+
end
|
|
6039
|
+
|
|
6040
|
+
#
|
|
6041
|
+
class OrderreturnsLineItem
|
|
6042
|
+
include Google::Apis::Core::Hashable
|
|
6043
|
+
|
|
6044
|
+
# The ID of the line item. This value is assigned by Google when an order is
|
|
6045
|
+
# created.
|
|
6046
|
+
# Corresponds to the JSON property `lineItemId`
|
|
6047
|
+
# @return [String]
|
|
6048
|
+
attr_accessor :line_item_id
|
|
6049
|
+
|
|
6050
|
+
# The quantity of this line item.
|
|
6051
|
+
# Corresponds to the JSON property `quantity`
|
|
6052
|
+
# @return [Fixnum]
|
|
6053
|
+
attr_accessor :quantity
|
|
6054
|
+
|
|
6055
|
+
def initialize(**args)
|
|
6056
|
+
update!(**args)
|
|
6057
|
+
end
|
|
6058
|
+
|
|
6059
|
+
# Update properties of this object
|
|
6060
|
+
def update!(**args)
|
|
6061
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
6062
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
6063
|
+
end
|
|
6064
|
+
end
|
|
6065
|
+
|
|
6083
6066
|
#
|
|
6084
6067
|
class OrderreturnsListResponse
|
|
6085
6068
|
include Google::Apis::Core::Hashable
|
|
@@ -6182,10 +6165,8 @@ module Google
|
|
|
6182
6165
|
class OrderreturnsProcessResponse
|
|
6183
6166
|
include Google::Apis::Core::Hashable
|
|
6184
6167
|
|
|
6185
|
-
# The status of the execution.
|
|
6186
|
-
#
|
|
6187
|
-
# - "`duplicate`"
|
|
6188
|
-
# - "`executed`"
|
|
6168
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6169
|
+
# executed`"
|
|
6189
6170
|
# Corresponds to the JSON property `executionStatus`
|
|
6190
6171
|
# @return [String]
|
|
6191
6172
|
attr_accessor :execution_status
|
|
@@ -6335,10 +6316,8 @@ module Google
|
|
|
6335
6316
|
class OrdersAcknowledgeResponse
|
|
6336
6317
|
include Google::Apis::Core::Hashable
|
|
6337
6318
|
|
|
6338
|
-
# The status of the execution.
|
|
6339
|
-
#
|
|
6340
|
-
# - "`duplicate`"
|
|
6341
|
-
# - "`executed`"
|
|
6319
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6320
|
+
# executed`"
|
|
6342
6321
|
# Corresponds to the JSON property `executionStatus`
|
|
6343
6322
|
# @return [String]
|
|
6344
6323
|
attr_accessor :execution_status
|
|
@@ -6405,18 +6384,10 @@ module Google
|
|
|
6405
6384
|
# @return [Fixnum]
|
|
6406
6385
|
attr_accessor :quantity
|
|
6407
6386
|
|
|
6408
|
-
# The reason for the cancellation.
|
|
6409
|
-
#
|
|
6410
|
-
# - "`
|
|
6411
|
-
# - "`
|
|
6412
|
-
# - "`malformedShippingAddress`"
|
|
6413
|
-
# - "`noInventory`"
|
|
6414
|
-
# - "`other`"
|
|
6415
|
-
# - "`priceError`"
|
|
6416
|
-
# - "`shippingPriceError`"
|
|
6417
|
-
# - "`taxError`"
|
|
6418
|
-
# - "`undeliverableShippingAddress`"
|
|
6419
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6387
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6388
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6389
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6390
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6420
6391
|
# Corresponds to the JSON property `reason`
|
|
6421
6392
|
# @return [String]
|
|
6422
6393
|
attr_accessor :reason
|
|
@@ -6445,10 +6416,8 @@ module Google
|
|
|
6445
6416
|
class OrdersCancelLineItemResponse
|
|
6446
6417
|
include Google::Apis::Core::Hashable
|
|
6447
6418
|
|
|
6448
|
-
# The status of the execution.
|
|
6449
|
-
#
|
|
6450
|
-
# - "`duplicate`"
|
|
6451
|
-
# - "`executed`"
|
|
6419
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6420
|
+
# executed`"
|
|
6452
6421
|
# Corresponds to the JSON property `executionStatus`
|
|
6453
6422
|
# @return [String]
|
|
6454
6423
|
attr_accessor :execution_status
|
|
@@ -6479,18 +6448,10 @@ module Google
|
|
|
6479
6448
|
# @return [String]
|
|
6480
6449
|
attr_accessor :operation_id
|
|
6481
6450
|
|
|
6482
|
-
# The reason for the cancellation.
|
|
6483
|
-
#
|
|
6484
|
-
# - "`
|
|
6485
|
-
# - "`
|
|
6486
|
-
# - "`malformedShippingAddress`"
|
|
6487
|
-
# - "`noInventory`"
|
|
6488
|
-
# - "`other`"
|
|
6489
|
-
# - "`priceError`"
|
|
6490
|
-
# - "`shippingPriceError`"
|
|
6491
|
-
# - "`taxError`"
|
|
6492
|
-
# - "`undeliverableShippingAddress`"
|
|
6493
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6451
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6452
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6453
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6454
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6494
6455
|
# Corresponds to the JSON property `reason`
|
|
6495
6456
|
# @return [String]
|
|
6496
6457
|
attr_accessor :reason
|
|
@@ -6516,10 +6477,8 @@ module Google
|
|
|
6516
6477
|
class OrdersCancelResponse
|
|
6517
6478
|
include Google::Apis::Core::Hashable
|
|
6518
6479
|
|
|
6519
|
-
# The status of the execution.
|
|
6520
|
-
#
|
|
6521
|
-
# - "`duplicate`"
|
|
6522
|
-
# - "`executed`"
|
|
6480
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6481
|
+
# executed`"
|
|
6523
6482
|
# Corresponds to the JSON property `executionStatus`
|
|
6524
6483
|
# @return [String]
|
|
6525
6484
|
attr_accessor :execution_status
|
|
@@ -6545,11 +6504,8 @@ module Google
|
|
|
6545
6504
|
class OrdersCancelTestOrderByCustomerRequest
|
|
6546
6505
|
include Google::Apis::Core::Hashable
|
|
6547
6506
|
|
|
6548
|
-
# The reason for the cancellation.
|
|
6549
|
-
#
|
|
6550
|
-
# - "`changedMind`"
|
|
6551
|
-
# - "`orderedWrongItem`"
|
|
6552
|
-
# - "`other`"
|
|
6507
|
+
# The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
|
|
6508
|
+
# orderedWrongItem`" - "`other`"
|
|
6553
6509
|
# Corresponds to the JSON property `reason`
|
|
6554
6510
|
# @return [String]
|
|
6555
6511
|
attr_accessor :reason
|
|
@@ -6588,25 +6544,18 @@ module Google
|
|
|
6588
6544
|
class OrdersCreateTestOrderRequest
|
|
6589
6545
|
include Google::Apis::Core::Hashable
|
|
6590
6546
|
|
|
6591
|
-
# The
|
|
6547
|
+
# The CLDR territory code of the country of the test order to create. Affects
|
|
6592
6548
|
# the currency and addresses of orders created via `template_name`, or the
|
|
6593
|
-
# addresses of orders created via `test_order`.
|
|
6594
|
-
#
|
|
6595
|
-
# - "`US`"
|
|
6596
|
-
# - "`FR`" Defaults to `US`.
|
|
6549
|
+
# addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
|
|
6550
|
+
# "`FR`" Defaults to `US`.
|
|
6597
6551
|
# Corresponds to the JSON property `country`
|
|
6598
6552
|
# @return [String]
|
|
6599
6553
|
attr_accessor :country
|
|
6600
6554
|
|
|
6601
6555
|
# The test order template to use. Specify as an alternative to `testOrder` as a
|
|
6602
6556
|
# shortcut for retrieving a template and then creating an order using that
|
|
6603
|
-
# template.
|
|
6604
|
-
#
|
|
6605
|
-
# - "`template1`"
|
|
6606
|
-
# - "`template1a`"
|
|
6607
|
-
# - "`template1b`"
|
|
6608
|
-
# - "`template2`"
|
|
6609
|
-
# - "`template3`"
|
|
6557
|
+
# template. Acceptable values are: - "`template1`" - "`template1a`" - "`
|
|
6558
|
+
# template1b`" - "`template2`" - "`template3`"
|
|
6610
6559
|
# Corresponds to the JSON property `templateName`
|
|
6611
6560
|
# @return [String]
|
|
6612
6561
|
attr_accessor :template_name
|
|
@@ -6805,7 +6754,7 @@ module Google
|
|
|
6805
6754
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
6806
6755
|
include Google::Apis::Core::Hashable
|
|
6807
6756
|
|
|
6808
|
-
# The carrier handling the shipment. See `shipments[].carrier` in the
|
|
6757
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
|
6809
6758
|
# resource representation for a list of acceptable values.
|
|
6810
6759
|
# Corresponds to the JSON property `carrier`
|
|
6811
6760
|
# @return [String]
|
|
@@ -6845,8 +6794,7 @@ module Google
|
|
|
6845
6794
|
attr_accessor :kind
|
|
6846
6795
|
|
|
6847
6796
|
# Order. Production access (all methods) requires the order manager role.
|
|
6848
|
-
# Sandbox access does not.
|
|
6849
|
-
# orders ==)
|
|
6797
|
+
# Sandbox access does not.
|
|
6850
6798
|
# Corresponds to the JSON property `order`
|
|
6851
6799
|
# @return [Google::Apis::ContentV2_1::Order]
|
|
6852
6800
|
attr_accessor :order
|
|
@@ -6919,21 +6867,13 @@ module Google
|
|
|
6919
6867
|
# @return [Fixnum]
|
|
6920
6868
|
attr_accessor :quantity
|
|
6921
6869
|
|
|
6922
|
-
# The reason for the return.
|
|
6923
|
-
#
|
|
6924
|
-
# - "`
|
|
6925
|
-
# - "`
|
|
6926
|
-
# - "`
|
|
6927
|
-
# - "`
|
|
6928
|
-
#
|
|
6929
|
-
# - "`malformedShippingAddress`"
|
|
6930
|
-
# - "`other`"
|
|
6931
|
-
# - "`productArrivedDamaged`"
|
|
6932
|
-
# - "`productNotAsDescribed`"
|
|
6933
|
-
# - "`qualityNotAsExpected`"
|
|
6934
|
-
# - "`undeliverableShippingAddress`"
|
|
6935
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6936
|
-
# - "`wrongProductShipped`"
|
|
6870
|
+
# The reason for the return. Acceptable values are: - "`
|
|
6871
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
6872
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
6873
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
6874
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
6875
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
6876
|
+
# wrongProductShipped`"
|
|
6937
6877
|
# Corresponds to the JSON property `reason`
|
|
6938
6878
|
# @return [String]
|
|
6939
6879
|
attr_accessor :reason
|
|
@@ -6969,10 +6909,8 @@ module Google
|
|
|
6969
6909
|
class OrdersInStoreRefundLineItemResponse
|
|
6970
6910
|
include Google::Apis::Core::Hashable
|
|
6971
6911
|
|
|
6972
|
-
# The status of the execution.
|
|
6973
|
-
#
|
|
6974
|
-
# - "`duplicate`"
|
|
6975
|
-
# - "`executed`"
|
|
6912
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6913
|
+
# executed`"
|
|
6976
6914
|
# Corresponds to the JSON property `executionStatus`
|
|
6977
6915
|
# @return [String]
|
|
6978
6916
|
attr_accessor :execution_status
|
|
@@ -7041,22 +6979,12 @@ module Google
|
|
|
7041
6979
|
# @return [String]
|
|
7042
6980
|
attr_accessor :operation_id
|
|
7043
6981
|
|
|
7044
|
-
# The reason for the refund.
|
|
7045
|
-
#
|
|
7046
|
-
# - "`
|
|
7047
|
-
# - "`
|
|
7048
|
-
# - "`
|
|
7049
|
-
#
|
|
7050
|
-
# - "`courtesyAdjustment`"
|
|
7051
|
-
# - "`adjustment`"
|
|
7052
|
-
# - "`customerCancelled`"
|
|
7053
|
-
# - "`noInventory`"
|
|
7054
|
-
# - "`productNotAsDescribed`"
|
|
7055
|
-
# - "`undeliverableShippingAddress`"
|
|
7056
|
-
# - "`wrongProductShipped`"
|
|
7057
|
-
# - "`lateShipmentCredit`"
|
|
7058
|
-
# - "`deliveredLateByCarrier`"
|
|
7059
|
-
# - "`productArrivedDamaged`"
|
|
6982
|
+
# The reason for the refund. Acceptable values are: - "`shippingCostAdjustment`"
|
|
6983
|
+
# - "`priceAdjustment`" - "`taxAdjustment`" - "`feeAdjustment`" - "`
|
|
6984
|
+
# courtesyAdjustment`" - "`adjustment`" - "`customerCancelled`" - "`noInventory`"
|
|
6985
|
+
# - "`productNotAsDescribed`" - "`undeliverableShippingAddress`" - "`
|
|
6986
|
+
# wrongProductShipped`" - "`lateShipmentCredit`" - "`deliveredLateByCarrier`" - "
|
|
6987
|
+
# `productArrivedDamaged`"
|
|
7060
6988
|
# Corresponds to the JSON property `reason`
|
|
7061
6989
|
# @return [String]
|
|
7062
6990
|
attr_accessor :reason
|
|
@@ -7090,10 +7018,8 @@ module Google
|
|
|
7090
7018
|
class OrdersRefundItemResponse
|
|
7091
7019
|
include Google::Apis::Core::Hashable
|
|
7092
7020
|
|
|
7093
|
-
# The status of the execution.
|
|
7094
|
-
#
|
|
7095
|
-
# - "`duplicate`"
|
|
7096
|
-
# - "`executed`"
|
|
7021
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7022
|
+
# executed`"
|
|
7097
7023
|
# Corresponds to the JSON property `executionStatus`
|
|
7098
7024
|
# @return [String]
|
|
7099
7025
|
attr_accessor :execution_status
|
|
@@ -7137,10 +7063,8 @@ module Google
|
|
|
7137
7063
|
# @return [String]
|
|
7138
7064
|
attr_accessor :operation_id
|
|
7139
7065
|
|
|
7140
|
-
# The reason for the refund.
|
|
7141
|
-
#
|
|
7142
|
-
# - "`courtesyAdjustment`"
|
|
7143
|
-
# - "`other`"
|
|
7066
|
+
# The reason for the refund. Acceptable values are: - "`courtesyAdjustment`" - "`
|
|
7067
|
+
# other`"
|
|
7144
7068
|
# Corresponds to the JSON property `reason`
|
|
7145
7069
|
# @return [String]
|
|
7146
7070
|
attr_accessor :reason
|
|
@@ -7168,10 +7092,8 @@ module Google
|
|
|
7168
7092
|
class OrdersRefundOrderResponse
|
|
7169
7093
|
include Google::Apis::Core::Hashable
|
|
7170
7094
|
|
|
7171
|
-
# The status of the execution.
|
|
7172
|
-
#
|
|
7173
|
-
# - "`duplicate`"
|
|
7174
|
-
# - "`executed`"
|
|
7095
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7096
|
+
# executed`"
|
|
7175
7097
|
# Corresponds to the JSON property `executionStatus`
|
|
7176
7098
|
# @return [String]
|
|
7177
7099
|
attr_accessor :execution_status
|
|
@@ -7218,13 +7140,8 @@ module Google
|
|
|
7218
7140
|
# @return [Fixnum]
|
|
7219
7141
|
attr_accessor :quantity
|
|
7220
7142
|
|
|
7221
|
-
# The reason for the return.
|
|
7222
|
-
#
|
|
7223
|
-
# - "`damagedOrUsed`"
|
|
7224
|
-
# - "`missingComponent`"
|
|
7225
|
-
# - "`notEligible`"
|
|
7226
|
-
# - "`other`"
|
|
7227
|
-
# - "`outOfReturnWindow`"
|
|
7143
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
|
7144
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
|
7228
7145
|
# Corresponds to the JSON property `reason`
|
|
7229
7146
|
# @return [String]
|
|
7230
7147
|
attr_accessor :reason
|
|
@@ -7253,10 +7170,8 @@ module Google
|
|
|
7253
7170
|
class OrdersRejectReturnLineItemResponse
|
|
7254
7171
|
include Google::Apis::Core::Hashable
|
|
7255
7172
|
|
|
7256
|
-
# The status of the execution.
|
|
7257
|
-
#
|
|
7258
|
-
# - "`duplicate`"
|
|
7259
|
-
# - "`executed`"
|
|
7173
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7174
|
+
# executed`"
|
|
7260
7175
|
# Corresponds to the JSON property `executionStatus`
|
|
7261
7176
|
# @return [String]
|
|
7262
7177
|
attr_accessor :execution_status
|
|
@@ -7309,21 +7224,13 @@ module Google
|
|
|
7309
7224
|
# @return [Fixnum]
|
|
7310
7225
|
attr_accessor :quantity
|
|
7311
7226
|
|
|
7312
|
-
# The reason for the return.
|
|
7313
|
-
#
|
|
7314
|
-
# - "`
|
|
7315
|
-
# - "`
|
|
7316
|
-
# - "`
|
|
7317
|
-
# - "`
|
|
7318
|
-
#
|
|
7319
|
-
# - "`malformedShippingAddress`"
|
|
7320
|
-
# - "`other`"
|
|
7321
|
-
# - "`productArrivedDamaged`"
|
|
7322
|
-
# - "`productNotAsDescribed`"
|
|
7323
|
-
# - "`qualityNotAsExpected`"
|
|
7324
|
-
# - "`undeliverableShippingAddress`"
|
|
7325
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7326
|
-
# - "`wrongProductShipped`"
|
|
7227
|
+
# The reason for the return. Acceptable values are: - "`
|
|
7228
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
7229
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
7230
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
7231
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
7232
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
7233
|
+
# wrongProductShipped`"
|
|
7327
7234
|
# Corresponds to the JSON property `reason`
|
|
7328
7235
|
# @return [String]
|
|
7329
7236
|
attr_accessor :reason
|
|
@@ -7360,10 +7267,8 @@ module Google
|
|
|
7360
7267
|
class OrdersReturnRefundLineItemResponse
|
|
7361
7268
|
include Google::Apis::Core::Hashable
|
|
7362
7269
|
|
|
7363
|
-
# The status of the execution.
|
|
7364
|
-
#
|
|
7365
|
-
# - "`duplicate`"
|
|
7366
|
-
# - "`executed`"
|
|
7270
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7271
|
+
# executed`"
|
|
7367
7272
|
# Corresponds to the JSON property `executionStatus`
|
|
7368
7273
|
# @return [String]
|
|
7369
7274
|
attr_accessor :execution_status
|
|
@@ -7428,10 +7333,8 @@ module Google
|
|
|
7428
7333
|
class OrdersSetLineItemMetadataResponse
|
|
7429
7334
|
include Google::Apis::Core::Hashable
|
|
7430
7335
|
|
|
7431
|
-
# The status of the execution.
|
|
7432
|
-
#
|
|
7433
|
-
# - "`duplicate`"
|
|
7434
|
-
# - "`executed`"
|
|
7336
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7337
|
+
# executed`"
|
|
7435
7338
|
# Corresponds to the JSON property `executionStatus`
|
|
7436
7339
|
# @return [String]
|
|
7437
7340
|
attr_accessor :execution_status
|
|
@@ -7496,10 +7399,8 @@ module Google
|
|
|
7496
7399
|
class OrdersShipLineItemsResponse
|
|
7497
7400
|
include Google::Apis::Core::Hashable
|
|
7498
7401
|
|
|
7499
|
-
# The status of the execution.
|
|
7500
|
-
#
|
|
7501
|
-
# - "`duplicate`"
|
|
7502
|
-
# - "`executed`"
|
|
7402
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7403
|
+
# executed`"
|
|
7503
7404
|
# Corresponds to the JSON property `executionStatus`
|
|
7504
7405
|
# @return [String]
|
|
7505
7406
|
attr_accessor :execution_status
|
|
@@ -7526,9 +7427,8 @@ module Google
|
|
|
7526
7427
|
include Google::Apis::Core::Hashable
|
|
7527
7428
|
|
|
7528
7429
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
|
7529
|
-
# date is updated.
|
|
7530
|
-
#
|
|
7531
|
-
# past.
|
|
7430
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7431
|
+
# be a date in the past.
|
|
7532
7432
|
# Corresponds to the JSON property `deliverByDate`
|
|
7533
7433
|
# @return [String]
|
|
7534
7434
|
attr_accessor :deliver_by_date
|
|
@@ -7551,9 +7451,8 @@ module Google
|
|
|
7551
7451
|
attr_accessor :product_id
|
|
7552
7452
|
|
|
7553
7453
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
|
7554
|
-
# date is updated.
|
|
7555
|
-
#
|
|
7556
|
-
# past.
|
|
7454
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7455
|
+
# be a date in the past.
|
|
7557
7456
|
# Corresponds to the JSON property `shipByDate`
|
|
7558
7457
|
# @return [String]
|
|
7559
7458
|
attr_accessor :ship_by_date
|
|
@@ -7576,10 +7475,8 @@ module Google
|
|
|
7576
7475
|
class OrdersUpdateLineItemShippingDetailsResponse
|
|
7577
7476
|
include Google::Apis::Core::Hashable
|
|
7578
7477
|
|
|
7579
|
-
# The status of the execution.
|
|
7580
|
-
#
|
|
7581
|
-
# - "`duplicate`"
|
|
7582
|
-
# - "`executed`"
|
|
7478
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7479
|
+
# executed`"
|
|
7583
7480
|
# Corresponds to the JSON property `executionStatus`
|
|
7584
7481
|
# @return [String]
|
|
7585
7482
|
attr_accessor :execution_status
|
|
@@ -7630,10 +7527,8 @@ module Google
|
|
|
7630
7527
|
class OrdersUpdateMerchantOrderIdResponse
|
|
7631
7528
|
include Google::Apis::Core::Hashable
|
|
7632
7529
|
|
|
7633
|
-
# The status of the execution.
|
|
7634
|
-
#
|
|
7635
|
-
# - "`duplicate`"
|
|
7636
|
-
# - "`executed`"
|
|
7530
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7531
|
+
# executed`"
|
|
7637
7532
|
# Corresponds to the JSON property `executionStatus`
|
|
7638
7533
|
# @return [String]
|
|
7639
7534
|
attr_accessor :execution_status
|
|
@@ -7660,8 +7555,7 @@ module Google
|
|
|
7660
7555
|
include Google::Apis::Core::Hashable
|
|
7661
7556
|
|
|
7662
7557
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
|
7663
|
-
# carrier` in the
|
|
7664
|
-
# values.
|
|
7558
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
|
7665
7559
|
# Corresponds to the JSON property `carrier`
|
|
7666
7560
|
# @return [String]
|
|
7667
7561
|
attr_accessor :carrier
|
|
@@ -7695,11 +7589,8 @@ module Google
|
|
|
7695
7589
|
# @return [String]
|
|
7696
7590
|
attr_accessor :shipment_id
|
|
7697
7591
|
|
|
7698
|
-
# New status for the shipment. Not updated if missing.
|
|
7699
|
-
#
|
|
7700
|
-
# - "`delivered`"
|
|
7701
|
-
# - "`undeliverable`"
|
|
7702
|
-
# - "`readyForPickup`"
|
|
7592
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
|
7593
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
|
7703
7594
|
# Corresponds to the JSON property `status`
|
|
7704
7595
|
# @return [String]
|
|
7705
7596
|
attr_accessor :status
|
|
@@ -7737,10 +7628,8 @@ module Google
|
|
|
7737
7628
|
class OrdersUpdateShipmentResponse
|
|
7738
7629
|
include Google::Apis::Core::Hashable
|
|
7739
7630
|
|
|
7740
|
-
# The status of the execution.
|
|
7741
|
-
#
|
|
7742
|
-
# - "`duplicate`"
|
|
7743
|
-
# - "`executed`"
|
|
7631
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7632
|
+
# executed`"
|
|
7744
7633
|
# Corresponds to the JSON property `executionStatus`
|
|
7745
7634
|
# @return [String]
|
|
7746
7635
|
attr_accessor :execution_status
|
|
@@ -7856,13 +7745,8 @@ module Google
|
|
|
7856
7745
|
# @return [Fixnum]
|
|
7857
7746
|
attr_accessor :merchant_id
|
|
7858
7747
|
|
|
7859
|
-
# The method of the batch entry.
|
|
7860
|
-
#
|
|
7861
|
-
# - "`delete`"
|
|
7862
|
-
# - "`get`"
|
|
7863
|
-
# - "`insert`"
|
|
7864
|
-
# - "`inventory`"
|
|
7865
|
-
# - "`sale`"
|
|
7748
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
7749
|
+
# "`insert`" - "`inventory`" - "`sale`"
|
|
7866
7750
|
# Corresponds to the JSON property `method`
|
|
7867
7751
|
# @return [String]
|
|
7868
7752
|
attr_accessor :method_prop
|
|
@@ -7877,7 +7761,7 @@ module Google
|
|
|
7877
7761
|
# @return [Google::Apis::ContentV2_1::PosStore]
|
|
7878
7762
|
attr_accessor :store
|
|
7879
7763
|
|
|
7880
|
-
# The store code.
|
|
7764
|
+
# The store code. This should be set only if the method is `delete` or `get`.
|
|
7881
7765
|
# Corresponds to the JSON property `storeCode`
|
|
7882
7766
|
# @return [String]
|
|
7883
7767
|
attr_accessor :store_code
|
|
@@ -8606,12 +8490,11 @@ module Google
|
|
|
8606
8490
|
end
|
|
8607
8491
|
|
|
8608
8492
|
# Required product attributes are primarily defined by the products data
|
|
8609
|
-
# specification. See the
|
|
8610
|
-
# information.
|
|
8611
|
-
#
|
|
8612
|
-
#
|
|
8613
|
-
#
|
|
8614
|
-
# several minutes before changes take effect.
|
|
8493
|
+
# specification. See the Products Data Specification Help Center article for
|
|
8494
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
8495
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
8496
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
8497
|
+
# minutes before changes take effect.
|
|
8615
8498
|
class Product
|
|
8616
8499
|
include Google::Apis::Core::Hashable
|
|
8617
8500
|
|
|
@@ -8636,7 +8519,7 @@ module Google
|
|
|
8636
8519
|
# @return [String]
|
|
8637
8520
|
attr_accessor :ads_redirect
|
|
8638
8521
|
|
|
8639
|
-
#
|
|
8522
|
+
# Should be set to true if the item is targeted towards adults.
|
|
8640
8523
|
# Corresponds to the JSON property `adult`
|
|
8641
8524
|
# @return [Boolean]
|
|
8642
8525
|
attr_accessor :adult
|
|
@@ -8668,10 +8551,8 @@ module Google
|
|
|
8668
8551
|
# @return [String]
|
|
8669
8552
|
attr_accessor :canonical_link
|
|
8670
8553
|
|
|
8671
|
-
# Required. The item's channel (online or local).
|
|
8672
|
-
#
|
|
8673
|
-
# - "`local`"
|
|
8674
|
-
# - "`online`"
|
|
8554
|
+
# Required. The item's channel (online or local). Acceptable values are: - "`
|
|
8555
|
+
# local`" - "`online`"
|
|
8675
8556
|
# Corresponds to the JSON property `channel`
|
|
8676
8557
|
# @return [String]
|
|
8677
8558
|
attr_accessor :channel
|
|
@@ -8795,9 +8676,8 @@ module Google
|
|
|
8795
8676
|
attr_accessor :gtin
|
|
8796
8677
|
|
|
8797
8678
|
# The REST ID of the product. Content API methods that operate on products take
|
|
8798
|
-
# this as their `productId` parameter.
|
|
8799
|
-
#
|
|
8800
|
-
# offerId.
|
|
8679
|
+
# this as their `productId` parameter. The REST ID for a product is of the form
|
|
8680
|
+
# channel:contentLanguage: targetCountry: offerId.
|
|
8801
8681
|
# Corresponds to the JSON property `id`
|
|
8802
8682
|
# @return [String]
|
|
8803
8683
|
attr_accessor :id
|
|
@@ -8898,9 +8778,8 @@ module Google
|
|
|
8898
8778
|
# Required. A unique identifier for the item. Leading and trailing whitespaces
|
|
8899
8779
|
# are stripped and multiple whitespaces are replaced by a single whitespace upon
|
|
8900
8780
|
# submission. Only valid unicode characters are accepted. See the products feed
|
|
8901
|
-
# specification for details.
|
|
8902
|
-
#
|
|
8903
|
-
# product, not this identifier.
|
|
8781
|
+
# specification for details. *Note:* Content API methods that operate on
|
|
8782
|
+
# products take the REST ID of the product, *not* this identifier.
|
|
8904
8783
|
# Corresponds to the JSON property `offerId`
|
|
8905
8784
|
# @return [String]
|
|
8906
8785
|
attr_accessor :offer_id
|
|
@@ -8940,7 +8819,7 @@ module Google
|
|
|
8940
8819
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
8941
8820
|
attr_accessor :sale_price
|
|
8942
8821
|
|
|
8943
|
-
# Date range during which the item is on sale (see products data specification).
|
|
8822
|
+
# Date range during which the item is on sale (see products data specification ).
|
|
8944
8823
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
|
8945
8824
|
# @return [String]
|
|
8946
8825
|
attr_accessor :sale_price_effective_date
|
|
@@ -9006,11 +8885,8 @@ module Google
|
|
|
9006
8885
|
# @return [Array<String>]
|
|
9007
8886
|
attr_accessor :sizes
|
|
9008
8887
|
|
|
9009
|
-
# The source of the offer, i.e., how the offer was created.
|
|
9010
|
-
#
|
|
9011
|
-
# - "`api`"
|
|
9012
|
-
# - "`crawl`"
|
|
9013
|
-
# - "`feed`"
|
|
8888
|
+
# The source of the offer, i.e., how the offer was created. Acceptable values
|
|
8889
|
+
# are: - "`api`" - "`crawl`" - "`feed`"
|
|
9014
8890
|
# Corresponds to the JSON property `source`
|
|
9015
8891
|
# @return [String]
|
|
9016
8892
|
attr_accessor :source
|
|
@@ -9560,7 +9436,7 @@ module Google
|
|
|
9560
9436
|
# @return [String]
|
|
9561
9437
|
attr_accessor :region
|
|
9562
9438
|
|
|
9563
|
-
#
|
|
9439
|
+
# Should be set to true if tax is charged on shipping.
|
|
9564
9440
|
# Corresponds to the JSON property `taxShip`
|
|
9565
9441
|
# @return [Boolean]
|
|
9566
9442
|
attr_accessor :tax_ship
|
|
@@ -9669,22 +9545,18 @@ module Google
|
|
|
9669
9545
|
# @return [Fixnum]
|
|
9670
9546
|
attr_accessor :merchant_id
|
|
9671
9547
|
|
|
9672
|
-
# The method of the batch entry.
|
|
9673
|
-
#
|
|
9674
|
-
# - "`delete`"
|
|
9675
|
-
# - "`get`"
|
|
9676
|
-
# - "`insert`"
|
|
9548
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
9549
|
+
# "`insert`"
|
|
9677
9550
|
# Corresponds to the JSON property `method`
|
|
9678
9551
|
# @return [String]
|
|
9679
9552
|
attr_accessor :method_prop
|
|
9680
9553
|
|
|
9681
9554
|
# Required product attributes are primarily defined by the products data
|
|
9682
|
-
# specification. See the
|
|
9683
|
-
# information.
|
|
9684
|
-
#
|
|
9685
|
-
#
|
|
9686
|
-
#
|
|
9687
|
-
# several minutes before changes take effect.
|
|
9555
|
+
# specification. See the Products Data Specification Help Center article for
|
|
9556
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
9557
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
9558
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
9559
|
+
# minutes before changes take effect.
|
|
9688
9560
|
# Corresponds to the JSON property `product`
|
|
9689
9561
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9690
9562
|
attr_accessor :product
|
|
@@ -9757,12 +9629,11 @@ module Google
|
|
|
9757
9629
|
attr_accessor :kind
|
|
9758
9630
|
|
|
9759
9631
|
# Required product attributes are primarily defined by the products data
|
|
9760
|
-
# specification. See the
|
|
9761
|
-
# information.
|
|
9762
|
-
#
|
|
9763
|
-
#
|
|
9764
|
-
#
|
|
9765
|
-
# several minutes before changes take effect.
|
|
9632
|
+
# specification. See the Products Data Specification Help Center article for
|
|
9633
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
9634
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
9635
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
9636
|
+
# minutes before changes take effect.
|
|
9766
9637
|
# Corresponds to the JSON property `product`
|
|
9767
9638
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9768
9639
|
attr_accessor :product
|
|
@@ -9857,9 +9728,7 @@ module Google
|
|
|
9857
9728
|
# @return [Fixnum]
|
|
9858
9729
|
attr_accessor :merchant_id
|
|
9859
9730
|
|
|
9860
|
-
# The method of the batch entry.
|
|
9861
|
-
# Acceptable values are:
|
|
9862
|
-
# - "`get`"
|
|
9731
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
9863
9732
|
# Corresponds to the JSON property `method`
|
|
9864
9733
|
# @return [String]
|
|
9865
9734
|
attr_accessor :method_prop
|
|
@@ -9982,8 +9851,7 @@ module Google
|
|
|
9982
9851
|
end
|
|
9983
9852
|
|
|
9984
9853
|
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
|
9985
|
-
# direct user of the merchant center account.
|
|
9986
|
-
# pubsubnotificationsettings ==)
|
|
9854
|
+
# direct user of the merchant center account.
|
|
9987
9855
|
class PubsubNotificationSettings
|
|
9988
9856
|
include Google::Apis::Core::Hashable
|
|
9989
9857
|
|
|
@@ -9998,9 +9866,7 @@ module Google
|
|
|
9998
9866
|
# @return [String]
|
|
9999
9867
|
attr_accessor :kind
|
|
10000
9868
|
|
|
10001
|
-
# List of event types.
|
|
10002
|
-
# Acceptable values are:
|
|
10003
|
-
# - "`orderPendingShipment`"
|
|
9869
|
+
# List of event types. Acceptable values are: - "`orderPendingShipment`"
|
|
10004
9870
|
# Corresponds to the JSON property `registeredEvents`
|
|
10005
9871
|
# @return [Array<String>]
|
|
10006
9872
|
attr_accessor :registered_events
|
|
@@ -10084,52 +9950,23 @@ module Google
|
|
|
10084
9950
|
# @return [String]
|
|
10085
9951
|
attr_accessor :description
|
|
10086
9952
|
|
|
10087
|
-
# Code of the refund reason.
|
|
10088
|
-
#
|
|
10089
|
-
# - "`
|
|
10090
|
-
# - "`
|
|
10091
|
-
# - "`
|
|
10092
|
-
# - "`
|
|
10093
|
-
# - "`
|
|
10094
|
-
# - "`
|
|
10095
|
-
# - "`
|
|
10096
|
-
# - "`
|
|
10097
|
-
# - "`
|
|
10098
|
-
# - "`
|
|
10099
|
-
# - "`
|
|
10100
|
-
# - "`
|
|
10101
|
-
# - "`
|
|
10102
|
-
# - "`
|
|
10103
|
-
# - "`
|
|
10104
|
-
# - "`failToPushOrderGoogleError`"
|
|
10105
|
-
# - "`failToPushOrderMerchantError`"
|
|
10106
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
10107
|
-
# - "`failToPushOrderToMerchant`"
|
|
10108
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
10109
|
-
# - "`feeAdjustment`"
|
|
10110
|
-
# - "`invalidCoupon`"
|
|
10111
|
-
# - "`lateShipmentCredit`"
|
|
10112
|
-
# - "`malformedShippingAddress`"
|
|
10113
|
-
# - "`merchantDidNotShipOnTime`"
|
|
10114
|
-
# - "`noInventory`"
|
|
10115
|
-
# - "`orderTimeout`"
|
|
10116
|
-
# - "`other`"
|
|
10117
|
-
# - "`paymentAbuse`"
|
|
10118
|
-
# - "`paymentDeclined`"
|
|
10119
|
-
# - "`priceAdjustment`"
|
|
10120
|
-
# - "`priceError`"
|
|
10121
|
-
# - "`productArrivedDamaged`"
|
|
10122
|
-
# - "`productNotAsDescribed`"
|
|
10123
|
-
# - "`promoReallocation`"
|
|
10124
|
-
# - "`qualityNotAsExpected`"
|
|
10125
|
-
# - "`returnRefundAbuse`"
|
|
10126
|
-
# - "`shippingCostAdjustment`"
|
|
10127
|
-
# - "`shippingPriceError`"
|
|
10128
|
-
# - "`taxAdjustment`"
|
|
10129
|
-
# - "`taxError`"
|
|
10130
|
-
# - "`undeliverableShippingAddress`"
|
|
10131
|
-
# - "`unsupportedPoBoxAddress`"
|
|
10132
|
-
# - "`wrongProductShipped`"
|
|
9953
|
+
# Code of the refund reason. Acceptable values are: - "`adjustment`" - "`
|
|
9954
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
9955
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
9956
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
9957
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
9958
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
9959
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
9960
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
9961
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
9962
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
9963
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
9964
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
9965
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
9966
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
9967
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
9968
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
9969
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
10133
9970
|
# Corresponds to the JSON property `reasonCode`
|
|
10134
9971
|
# @return [String]
|
|
10135
9972
|
attr_accessor :reason_code
|
|
@@ -10238,9 +10075,7 @@ module Google
|
|
|
10238
10075
|
# @return [Fixnum]
|
|
10239
10076
|
attr_accessor :merchant_id
|
|
10240
10077
|
|
|
10241
|
-
# Method of the batch request entry.
|
|
10242
|
-
# Acceptable values are:
|
|
10243
|
-
# - "`insert`"
|
|
10078
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
10244
10079
|
# Corresponds to the JSON property `method`
|
|
10245
10080
|
# @return [String]
|
|
10246
10081
|
attr_accessor :method_prop
|
|
@@ -10335,6 +10170,275 @@ module Google
|
|
|
10335
10170
|
end
|
|
10336
10171
|
end
|
|
10337
10172
|
|
|
10173
|
+
# Represents a repricing rule. A repricing rule is used by shopping serving to
|
|
10174
|
+
# adjust transactable offer prices if conditions are met. Next ID: 24
|
|
10175
|
+
class RepricingRule
|
|
10176
|
+
include Google::Apis::Core::Hashable
|
|
10177
|
+
|
|
10178
|
+
# Required. Immutable. CLDR country code (e.g. "US").
|
|
10179
|
+
# Corresponds to the JSON property `countryCode`
|
|
10180
|
+
# @return [String]
|
|
10181
|
+
attr_accessor :country_code
|
|
10182
|
+
|
|
10183
|
+
# Required. Time period when the rule should take effect.
|
|
10184
|
+
# Corresponds to the JSON property `effectiveTimePeriod`
|
|
10185
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEffectiveTime]
|
|
10186
|
+
attr_accessor :effective_time_period
|
|
10187
|
+
|
|
10188
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10189
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10190
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10191
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10192
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10193
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10194
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10195
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10196
|
+
# Corresponds to the JSON property `eligibleOfferMatcher`
|
|
10197
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher]
|
|
10198
|
+
attr_accessor :eligible_offer_matcher
|
|
10199
|
+
|
|
10200
|
+
# Required. Immutable. The two-letter ISO 639-1 language code associated with
|
|
10201
|
+
# the repricing rule.
|
|
10202
|
+
# Corresponds to the JSON property `languageCode`
|
|
10203
|
+
# @return [String]
|
|
10204
|
+
attr_accessor :language_code
|
|
10205
|
+
|
|
10206
|
+
# Output only. Immutable. Merchant that owns the repricing rule.
|
|
10207
|
+
# Corresponds to the JSON property `merchantId`
|
|
10208
|
+
# @return [Fixnum]
|
|
10209
|
+
attr_accessor :merchant_id
|
|
10210
|
+
|
|
10211
|
+
# Represents whether a rule is paused. A paused rule will behave like a non-
|
|
10212
|
+
# paused rule within CRUD operations, with the major difference that a paused
|
|
10213
|
+
# rule will not be evaluated and will have no effect on offers.
|
|
10214
|
+
# Corresponds to the JSON property `paused`
|
|
10215
|
+
# @return [Boolean]
|
|
10216
|
+
attr_accessor :paused
|
|
10217
|
+
alias_method :paused?, :paused
|
|
10218
|
+
|
|
10219
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10220
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10221
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10222
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10223
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10224
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10225
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10226
|
+
# Corresponds to the JSON property `restriction`
|
|
10227
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestriction]
|
|
10228
|
+
attr_accessor :restriction
|
|
10229
|
+
|
|
10230
|
+
# Output only. Immutable. The ID to uniquely identify each repricing rule.
|
|
10231
|
+
# Corresponds to the JSON property `ruleId`
|
|
10232
|
+
# @return [String]
|
|
10233
|
+
attr_accessor :rule_id
|
|
10234
|
+
|
|
10235
|
+
# The title for the rule.
|
|
10236
|
+
# Corresponds to the JSON property `title`
|
|
10237
|
+
# @return [String]
|
|
10238
|
+
attr_accessor :title
|
|
10239
|
+
|
|
10240
|
+
# Required. Immutable. The type of the rule.
|
|
10241
|
+
# Corresponds to the JSON property `type`
|
|
10242
|
+
# @return [String]
|
|
10243
|
+
attr_accessor :type
|
|
10244
|
+
|
|
10245
|
+
def initialize(**args)
|
|
10246
|
+
update!(**args)
|
|
10247
|
+
end
|
|
10248
|
+
|
|
10249
|
+
# Update properties of this object
|
|
10250
|
+
def update!(**args)
|
|
10251
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
|
10252
|
+
@effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
|
|
10253
|
+
@eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
|
|
10254
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
10255
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
10256
|
+
@paused = args[:paused] if args.key?(:paused)
|
|
10257
|
+
@restriction = args[:restriction] if args.key?(:restriction)
|
|
10258
|
+
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
|
10259
|
+
@title = args[:title] if args.key?(:title)
|
|
10260
|
+
@type = args[:type] if args.key?(:type)
|
|
10261
|
+
end
|
|
10262
|
+
end
|
|
10263
|
+
|
|
10264
|
+
#
|
|
10265
|
+
class RepricingRuleEffectiveTime
|
|
10266
|
+
include Google::Apis::Core::Hashable
|
|
10267
|
+
|
|
10268
|
+
# A list of fixed time periods combined with OR. The maximum number of entries
|
|
10269
|
+
# is limited to 5.
|
|
10270
|
+
# Corresponds to the JSON property `fixedTimePeriods`
|
|
10271
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>]
|
|
10272
|
+
attr_accessor :fixed_time_periods
|
|
10273
|
+
|
|
10274
|
+
def initialize(**args)
|
|
10275
|
+
update!(**args)
|
|
10276
|
+
end
|
|
10277
|
+
|
|
10278
|
+
# Update properties of this object
|
|
10279
|
+
def update!(**args)
|
|
10280
|
+
@fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods)
|
|
10281
|
+
end
|
|
10282
|
+
end
|
|
10283
|
+
|
|
10284
|
+
# Definition of a fixed time period.
|
|
10285
|
+
class RepricingRuleEffectiveTimeFixedTimePeriod
|
|
10286
|
+
include Google::Apis::Core::Hashable
|
|
10287
|
+
|
|
10288
|
+
# The end time (exclusive) of the period. It can only be hour granularity.
|
|
10289
|
+
# Corresponds to the JSON property `endTime`
|
|
10290
|
+
# @return [String]
|
|
10291
|
+
attr_accessor :end_time
|
|
10292
|
+
|
|
10293
|
+
# The start time (inclusive) of the period. It can only be hour granularity.
|
|
10294
|
+
# Corresponds to the JSON property `startTime`
|
|
10295
|
+
# @return [String]
|
|
10296
|
+
attr_accessor :start_time
|
|
10297
|
+
|
|
10298
|
+
def initialize(**args)
|
|
10299
|
+
update!(**args)
|
|
10300
|
+
end
|
|
10301
|
+
|
|
10302
|
+
# Update properties of this object
|
|
10303
|
+
def update!(**args)
|
|
10304
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
10305
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10306
|
+
end
|
|
10307
|
+
end
|
|
10308
|
+
|
|
10309
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10310
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10311
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10312
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10313
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10314
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10315
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10316
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10317
|
+
class RepricingRuleEligibleOfferMatcher
|
|
10318
|
+
include Google::Apis::Core::Hashable
|
|
10319
|
+
|
|
10320
|
+
# Matcher by string attributes.
|
|
10321
|
+
# Corresponds to the JSON property `brandMatcher`
|
|
10322
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10323
|
+
attr_accessor :brand_matcher
|
|
10324
|
+
|
|
10325
|
+
# Matcher by string attributes.
|
|
10326
|
+
# Corresponds to the JSON property `itemGroupIdMatcher`
|
|
10327
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10328
|
+
attr_accessor :item_group_id_matcher
|
|
10329
|
+
|
|
10330
|
+
# Determines whether to use the custom matchers or the product feed attribute "
|
|
10331
|
+
# repricing_rule_id" to specify offer-rule mapping.
|
|
10332
|
+
# Corresponds to the JSON property `matcherOption`
|
|
10333
|
+
# @return [String]
|
|
10334
|
+
attr_accessor :matcher_option
|
|
10335
|
+
|
|
10336
|
+
# Matcher by string attributes.
|
|
10337
|
+
# Corresponds to the JSON property `offerIdMatcher`
|
|
10338
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10339
|
+
attr_accessor :offer_id_matcher
|
|
10340
|
+
|
|
10341
|
+
def initialize(**args)
|
|
10342
|
+
update!(**args)
|
|
10343
|
+
end
|
|
10344
|
+
|
|
10345
|
+
# Update properties of this object
|
|
10346
|
+
def update!(**args)
|
|
10347
|
+
@brand_matcher = args[:brand_matcher] if args.key?(:brand_matcher)
|
|
10348
|
+
@item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
|
|
10349
|
+
@matcher_option = args[:matcher_option] if args.key?(:matcher_option)
|
|
10350
|
+
@offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
|
|
10351
|
+
end
|
|
10352
|
+
end
|
|
10353
|
+
|
|
10354
|
+
# Matcher by string attributes.
|
|
10355
|
+
class RepricingRuleEligibleOfferMatcherStringMatcher
|
|
10356
|
+
include Google::Apis::Core::Hashable
|
|
10357
|
+
|
|
10358
|
+
# String attributes, as long as such attribute of an offer is one of the string
|
|
10359
|
+
# attribute values, the offer is considered as passing the matcher. The string
|
|
10360
|
+
# matcher checks an offer for inclusivity in the string attributes, not equality.
|
|
10361
|
+
# Only literal string matching is supported, no regex.
|
|
10362
|
+
# Corresponds to the JSON property `strAttributes`
|
|
10363
|
+
# @return [Array<String>]
|
|
10364
|
+
attr_accessor :str_attributes
|
|
10365
|
+
|
|
10366
|
+
def initialize(**args)
|
|
10367
|
+
update!(**args)
|
|
10368
|
+
end
|
|
10369
|
+
|
|
10370
|
+
# Update properties of this object
|
|
10371
|
+
def update!(**args)
|
|
10372
|
+
@str_attributes = args[:str_attributes] if args.key?(:str_attributes)
|
|
10373
|
+
end
|
|
10374
|
+
end
|
|
10375
|
+
|
|
10376
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10377
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10378
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10379
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10380
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10381
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10382
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10383
|
+
class RepricingRuleRestriction
|
|
10384
|
+
include Google::Apis::Core::Hashable
|
|
10385
|
+
|
|
10386
|
+
# Definition of a boundary.
|
|
10387
|
+
# Corresponds to the JSON property `floor`
|
|
10388
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary]
|
|
10389
|
+
attr_accessor :floor
|
|
10390
|
+
|
|
10391
|
+
# If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of
|
|
10392
|
+
# the rule. If use_auto_pricing_min_price is true, then only offers with `
|
|
10393
|
+
# AUTO_PRICING_MIN_PRICE` existing on the offer will get Repricer treatment,
|
|
10394
|
+
# even if a floor value is set on the rule. Also, if use_auto_pricing_min_price
|
|
10395
|
+
# is true, the floor restriction will be ignored.
|
|
10396
|
+
# Corresponds to the JSON property `useAutoPricingMinPrice`
|
|
10397
|
+
# @return [Boolean]
|
|
10398
|
+
attr_accessor :use_auto_pricing_min_price
|
|
10399
|
+
alias_method :use_auto_pricing_min_price?, :use_auto_pricing_min_price
|
|
10400
|
+
|
|
10401
|
+
def initialize(**args)
|
|
10402
|
+
update!(**args)
|
|
10403
|
+
end
|
|
10404
|
+
|
|
10405
|
+
# Update properties of this object
|
|
10406
|
+
def update!(**args)
|
|
10407
|
+
@floor = args[:floor] if args.key?(:floor)
|
|
10408
|
+
@use_auto_pricing_min_price = args[:use_auto_pricing_min_price] if args.key?(:use_auto_pricing_min_price)
|
|
10409
|
+
end
|
|
10410
|
+
end
|
|
10411
|
+
|
|
10412
|
+
# Definition of a boundary.
|
|
10413
|
+
class RepricingRuleRestrictionBoundary
|
|
10414
|
+
include Google::Apis::Core::Hashable
|
|
10415
|
+
|
|
10416
|
+
# The percentage delta relative to the offer selling price. This field is signed.
|
|
10417
|
+
# It must be negative in floor. When it is used in floor, it should be > -100.
|
|
10418
|
+
# If an offer is selling at $10 and this field is -30 in floor, the repricing
|
|
10419
|
+
# rule only applies if the calculated new price is >= $7.
|
|
10420
|
+
# Corresponds to the JSON property `percentageDelta`
|
|
10421
|
+
# @return [Fixnum]
|
|
10422
|
+
attr_accessor :percentage_delta
|
|
10423
|
+
|
|
10424
|
+
# The price micros relative to the offer selling price. This field is signed. It
|
|
10425
|
+
# must be negative in floor. If an offer is selling at $10 and this field is -$2
|
|
10426
|
+
# in floor, the repricing rule only applies if the calculated new price is >= $8.
|
|
10427
|
+
# Corresponds to the JSON property `priceDelta`
|
|
10428
|
+
# @return [String]
|
|
10429
|
+
attr_accessor :price_delta
|
|
10430
|
+
|
|
10431
|
+
def initialize(**args)
|
|
10432
|
+
update!(**args)
|
|
10433
|
+
end
|
|
10434
|
+
|
|
10435
|
+
# Update properties of this object
|
|
10436
|
+
def update!(**args)
|
|
10437
|
+
@percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
|
|
10438
|
+
@price_delta = args[:price_delta] if args.key?(:price_delta)
|
|
10439
|
+
end
|
|
10440
|
+
end
|
|
10441
|
+
|
|
10338
10442
|
# Return address resource.
|
|
10339
10443
|
class ReturnAddress
|
|
10340
10444
|
include Google::Apis::Core::Hashable
|
|
@@ -10528,12 +10632,8 @@ module Google
|
|
|
10528
10632
|
# most items a minimum of 30 days is required for returns. Exceptions may be
|
|
10529
10633
|
# made for electronics or non-returnable items such as food, perishables, and
|
|
10530
10634
|
# living things. A policy of less than 30 days can only be applied to those
|
|
10531
|
-
# items.
|
|
10532
|
-
#
|
|
10533
|
-
# - "`lastReturnDate`"
|
|
10534
|
-
# - "`lifetimeReturns`"
|
|
10535
|
-
# - "`noReturns`"
|
|
10536
|
-
# - "`numberOfDaysAfterDelivery`"
|
|
10635
|
+
# items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
|
|
10636
|
+
# noReturns`" - "`numberOfDaysAfterDelivery`"
|
|
10537
10637
|
# Corresponds to the JSON property `type`
|
|
10538
10638
|
# @return [String]
|
|
10539
10639
|
attr_accessor :type
|
|
@@ -10652,11 +10752,8 @@ module Google
|
|
|
10652
10752
|
# @return [String]
|
|
10653
10753
|
attr_accessor :delivery_date
|
|
10654
10754
|
|
|
10655
|
-
# Type of the return method.
|
|
10656
|
-
#
|
|
10657
|
-
# - "`byMail`"
|
|
10658
|
-
# - "`contactCustomerSupport`"
|
|
10659
|
-
# - "`returnless`"
|
|
10755
|
+
# Type of the return method. Acceptable values are: - "`byMail`" - "`
|
|
10756
|
+
# contactCustomerSupport`" - "`returnless`"
|
|
10660
10757
|
# Corresponds to the JSON property `returnMethodType`
|
|
10661
10758
|
# @return [String]
|
|
10662
10759
|
attr_accessor :return_method_type
|
|
@@ -10677,13 +10774,8 @@ module Google
|
|
|
10677
10774
|
# @return [String]
|
|
10678
10775
|
attr_accessor :shipping_date
|
|
10679
10776
|
|
|
10680
|
-
# State of the shipment.
|
|
10681
|
-
#
|
|
10682
|
-
# - "`completed`"
|
|
10683
|
-
# - "`new`"
|
|
10684
|
-
# - "`shipped`"
|
|
10685
|
-
# - "`undeliverable`"
|
|
10686
|
-
# - "`pending`"
|
|
10777
|
+
# State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
|
|
10778
|
+
# shipped`" - "`undeliverable`" - "`pending`"
|
|
10687
10779
|
# Corresponds to the JSON property `state`
|
|
10688
10780
|
# @return [String]
|
|
10689
10781
|
attr_accessor :state
|
|
@@ -10737,11 +10829,8 @@ module Google
|
|
|
10737
10829
|
# @return [Fixnum]
|
|
10738
10830
|
attr_accessor :merchant_id
|
|
10739
10831
|
|
|
10740
|
-
# Method of the batch request entry.
|
|
10741
|
-
#
|
|
10742
|
-
# - "`delete`"
|
|
10743
|
-
# - "`get`"
|
|
10744
|
-
# - "`insert`"
|
|
10832
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
10833
|
+
# " - "`insert`"
|
|
10745
10834
|
# Corresponds to the JSON property `method`
|
|
10746
10835
|
# @return [String]
|
|
10747
10836
|
attr_accessor :method_prop
|
|
@@ -10751,7 +10840,8 @@ module Google
|
|
|
10751
10840
|
# @return [Google::Apis::ContentV2_1::ReturnAddress]
|
|
10752
10841
|
attr_accessor :return_address
|
|
10753
10842
|
|
|
10754
|
-
# The return address ID.
|
|
10843
|
+
# The return address ID. This should be set only if the method is `delete` or `
|
|
10844
|
+
# get`.
|
|
10755
10845
|
# Corresponds to the JSON property `returnAddressId`
|
|
10756
10846
|
# @return [String]
|
|
10757
10847
|
attr_accessor :return_address_id
|
|
@@ -10899,11 +10989,8 @@ module Google
|
|
|
10899
10989
|
# @return [Fixnum]
|
|
10900
10990
|
attr_accessor :merchant_id
|
|
10901
10991
|
|
|
10902
|
-
# Method of the batch request entry.
|
|
10903
|
-
#
|
|
10904
|
-
# - "`delete`"
|
|
10905
|
-
# - "`get`"
|
|
10906
|
-
# - "`insert`"
|
|
10992
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
10993
|
+
# " - "`insert`"
|
|
10907
10994
|
# Corresponds to the JSON property `method`
|
|
10908
10995
|
# @return [String]
|
|
10909
10996
|
attr_accessor :method_prop
|
|
@@ -10913,7 +11000,8 @@ module Google
|
|
|
10913
11000
|
# @return [Google::Apis::ContentV2_1::ReturnPolicy]
|
|
10914
11001
|
attr_accessor :return_policy
|
|
10915
11002
|
|
|
10916
|
-
# The return policy ID.
|
|
11003
|
+
# The return policy ID. This should be set only if the method is `delete` or `
|
|
11004
|
+
# get`.
|
|
10917
11005
|
# Corresponds to the JSON property `returnPolicyId`
|
|
10918
11006
|
# @return [String]
|
|
10919
11007
|
attr_accessor :return_policy_id
|
|
@@ -11070,11 +11158,8 @@ module Google
|
|
|
11070
11158
|
# @return [Google::Apis::ContentV2_1::DeliveryTime]
|
|
11071
11159
|
attr_accessor :delivery_time
|
|
11072
11160
|
|
|
11073
|
-
# Eligibility for this service.
|
|
11074
|
-
#
|
|
11075
|
-
# - "`All scenarios`"
|
|
11076
|
-
# - "`All scenarios except Shopping Actions`"
|
|
11077
|
-
# - "`Shopping Actions`"
|
|
11161
|
+
# Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
|
|
11162
|
+
# All scenarios except Shopping Actions`" - "`Shopping Actions`"
|
|
11078
11163
|
# Corresponds to the JSON property `eligibility`
|
|
11079
11164
|
# @return [String]
|
|
11080
11165
|
attr_accessor :eligibility
|
|
@@ -11111,10 +11196,8 @@ module Google
|
|
|
11111
11196
|
# @return [Array<Google::Apis::ContentV2_1::RateGroup>]
|
|
11112
11197
|
attr_accessor :rate_groups
|
|
11113
11198
|
|
|
11114
|
-
# Type of locations this service ships orders to.
|
|
11115
|
-
#
|
|
11116
|
-
# - "`delivery`"
|
|
11117
|
-
# - "`pickup`"
|
|
11199
|
+
# Type of locations this service ships orders to. Acceptable values are: - "`
|
|
11200
|
+
# delivery`" - "`pickup`"
|
|
11118
11201
|
# Corresponds to the JSON property `shipmentType`
|
|
11119
11202
|
# @return [String]
|
|
11120
11203
|
attr_accessor :shipment_type
|
|
@@ -11207,8 +11290,7 @@ module Google
|
|
|
11207
11290
|
end
|
|
11208
11291
|
end
|
|
11209
11292
|
|
|
11210
|
-
# Settlement transactions give a detailed breakdown of the
|
|
11211
|
-
# = resource_for v2.1.settlementtransactions ==)
|
|
11293
|
+
# Settlement transactions give a detailed breakdown of the settlement report.
|
|
11212
11294
|
class SettlementTransaction
|
|
11213
11295
|
include Google::Apis::Core::Hashable
|
|
11214
11296
|
|
|
@@ -11255,49 +11337,21 @@ module Google
|
|
|
11255
11337
|
# @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
|
|
11256
11338
|
attr_accessor :commission
|
|
11257
11339
|
|
|
11258
|
-
# The description of the event.
|
|
11259
|
-
#
|
|
11260
|
-
# - "`
|
|
11261
|
-
# - "`
|
|
11262
|
-
# - "`
|
|
11263
|
-
# - "`
|
|
11264
|
-
# - "`
|
|
11265
|
-
# - "`
|
|
11266
|
-
# - "`
|
|
11267
|
-
# - "`
|
|
11268
|
-
# - "`
|
|
11269
|
-
# - "`
|
|
11270
|
-
# - "`
|
|
11271
|
-
# - "`
|
|
11272
|
-
# - "`
|
|
11273
|
-
# - "`furnitureEcoFee`"
|
|
11274
|
-
# - "`copyPrivateFee`"
|
|
11275
|
-
# - "`eeeEcoFeeCommission`"
|
|
11276
|
-
# - "`furnitureEcoFeeCommission`"
|
|
11277
|
-
# - "`copyPrivateFeeCommission`"
|
|
11278
|
-
# - "`principalRefund`"
|
|
11279
|
-
# - "`principalRefundTax`"
|
|
11280
|
-
# - "`itemCommission`"
|
|
11281
|
-
# - "`adjustmentCommission`"
|
|
11282
|
-
# - "`shippingFeeCommission`"
|
|
11283
|
-
# - "`commissionRefund`"
|
|
11284
|
-
# - "`damaged`"
|
|
11285
|
-
# - "`damagedOrDefectiveItem`"
|
|
11286
|
-
# - "`expiredItem`"
|
|
11287
|
-
# - "`faultyItem`"
|
|
11288
|
-
# - "`incorrectItemReceived`"
|
|
11289
|
-
# - "`itemMissing`"
|
|
11290
|
-
# - "`qualityNotExpected`"
|
|
11291
|
-
# - "`receivedTooLate`"
|
|
11292
|
-
# - "`storePackageMissing`"
|
|
11293
|
-
# - "`transitPackageMissing`"
|
|
11294
|
-
# - "`unsuccessfulDeliveryUndeliverable`"
|
|
11295
|
-
# - "`wrongChargeInStore`"
|
|
11296
|
-
# - "`wrongItem`"
|
|
11297
|
-
# - "`returns`"
|
|
11298
|
-
# - "`undeliverable`"
|
|
11299
|
-
# - "`refundFromMerchant`"
|
|
11300
|
-
# - "`returnLabelShippingFee`"
|
|
11340
|
+
# The description of the event. Acceptable values are: - "`taxWithhold`" - "`
|
|
11341
|
+
# principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
|
|
11342
|
+
# merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
|
|
11343
|
+
# "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
|
|
11344
|
+
# googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
|
|
11345
|
+
# googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
|
|
11346
|
+
# copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
|
|
11347
|
+
# copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
|
|
11348
|
+
# itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
|
|
11349
|
+
# commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
|
|
11350
|
+
# - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
|
|
11351
|
+
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
|
11352
|
+
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
|
11353
|
+
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
|
11354
|
+
# refundFromMerchant`" - "`returnLabelShippingFee`"
|
|
11301
11355
|
# Corresponds to the JSON property `description`
|
|
11302
11356
|
# @return [String]
|
|
11303
11357
|
attr_accessor :description
|
|
@@ -11307,15 +11361,9 @@ module Google
|
|
|
11307
11361
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
11308
11362
|
attr_accessor :transaction_amount
|
|
11309
11363
|
|
|
11310
|
-
# The type of the amount.
|
|
11311
|
-
#
|
|
11312
|
-
#
|
|
11313
|
-
# - "`orderPrice`"
|
|
11314
|
-
# - "`refund`"
|
|
11315
|
-
# - "`earlyRefund`"
|
|
11316
|
-
# - "`courtesyRefund`"
|
|
11317
|
-
# - "`returnRefund`"
|
|
11318
|
-
# - "`returnLabelShippingFeeAmount`"
|
|
11364
|
+
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
|
11365
|
+
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
|
11366
|
+
# returnLabelShippingFeeAmount`"
|
|
11319
11367
|
# Corresponds to the JSON property `type`
|
|
11320
11368
|
# @return [String]
|
|
11321
11369
|
attr_accessor :type
|
|
@@ -11337,52 +11385,21 @@ module Google
|
|
|
11337
11385
|
class SettlementTransactionAmountCommission
|
|
11338
11386
|
include Google::Apis::Core::Hashable
|
|
11339
11387
|
|
|
11340
|
-
# The category of the commission.
|
|
11341
|
-
#
|
|
11342
|
-
# - "`
|
|
11343
|
-
# - "`
|
|
11344
|
-
# - "`
|
|
11345
|
-
# - "`
|
|
11346
|
-
# - "`
|
|
11347
|
-
# - "`
|
|
11348
|
-
# - "`
|
|
11349
|
-
# - "`
|
|
11350
|
-
# - "`
|
|
11351
|
-
# - "`
|
|
11352
|
-
# - "`
|
|
11353
|
-
# - "`
|
|
11354
|
-
#
|
|
11355
|
-
# - "`toysAndGames`"
|
|
11356
|
-
# - "`musicalInstruments`"
|
|
11357
|
-
# - "`giftCards`"
|
|
11358
|
-
# - "`babyAndToddler`"
|
|
11359
|
-
# - "`babyFoodWipesAndDiapers`"
|
|
11360
|
-
# - "`businessAndIndustrial`"
|
|
11361
|
-
# - "`camerasOpticsAndPhotography`"
|
|
11362
|
-
# - "`consumerElectronics`"
|
|
11363
|
-
# - "`electronicsAccessories`"
|
|
11364
|
-
# - "`personalComputers`"
|
|
11365
|
-
# - "`videoGameConsoles`"
|
|
11366
|
-
# - "`foodAndGrocery`"
|
|
11367
|
-
# - "`beverages`"
|
|
11368
|
-
# - "`tobaccoProducts`"
|
|
11369
|
-
# - "`furniture`"
|
|
11370
|
-
# - "`hardware`"
|
|
11371
|
-
# - "`buildingMaterials`"
|
|
11372
|
-
# - "`tools`"
|
|
11373
|
-
# - "`healthAndPersonalCare`"
|
|
11374
|
-
# - "`beauty`"
|
|
11375
|
-
# - "`householdSupplies`"
|
|
11376
|
-
# - "`kitchenAndDining`"
|
|
11377
|
-
# - "`majorAppliances`"
|
|
11378
|
-
# - "`luggageAndBags`"
|
|
11379
|
-
# - "`media`"
|
|
11380
|
-
# - "`officeSupplies`"
|
|
11381
|
-
# - "`softwareAndVideoGames`"
|
|
11382
|
-
# - "`vehiclePartsAndAccessories`"
|
|
11383
|
-
# - "`vehicleTiresAndWheels`"
|
|
11384
|
-
# - "`vehicles`"
|
|
11385
|
-
# - "`everythingElse`"
|
|
11388
|
+
# The category of the commission. Acceptable values are: - "`
|
|
11389
|
+
# animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
|
|
11390
|
+
# " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
|
|
11391
|
+
# "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
|
|
11392
|
+
# entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
|
|
11393
|
+
# `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
|
|
11394
|
+
# "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
|
|
11395
|
+
# "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
|
|
11396
|
+
# electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
|
|
11397
|
+
# foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
|
|
11398
|
+
# hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
|
|
11399
|
+
# beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
|
|
11400
|
+
# "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
|
|
11401
|
+
# " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
|
|
11402
|
+
# "`everythingElse`"
|
|
11386
11403
|
# Corresponds to the JSON property `category`
|
|
11387
11404
|
# @return [String]
|
|
11388
11405
|
attr_accessor :category
|
|
@@ -11461,16 +11478,11 @@ module Google
|
|
|
11461
11478
|
# @return [String]
|
|
11462
11479
|
attr_accessor :post_date
|
|
11463
11480
|
|
|
11464
|
-
# The type of the transaction that occurred.
|
|
11465
|
-
#
|
|
11466
|
-
# - "`
|
|
11467
|
-
# - "`
|
|
11468
|
-
#
|
|
11469
|
-
# - "`reversalRefund`"
|
|
11470
|
-
# - "`issueRelatedRefundAndReplacement`"
|
|
11471
|
-
# - "`returnLabelShippingFeeTransaction`"
|
|
11472
|
-
# - "`reversalIssueRelatedRefundAndReplacement`"
|
|
11473
|
-
# - "`reversalReturnLabelShippingFeeTransaction`"
|
|
11481
|
+
# The type of the transaction that occurred. Acceptable values are: - "`order`" -
|
|
11482
|
+
# "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
|
|
11483
|
+
# issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
|
|
11484
|
+
# reversalIssueRelatedRefundAndReplacement`" - "`
|
|
11485
|
+
# reversalReturnLabelShippingFeeTransaction`"
|
|
11474
11486
|
# Corresponds to the JSON property `type`
|
|
11475
11487
|
# @return [String]
|
|
11476
11488
|
attr_accessor :type
|
|
@@ -11628,38 +11640,13 @@ module Google
|
|
|
11628
11640
|
class ShipmentTrackingInfo
|
|
11629
11641
|
include Google::Apis::Core::Hashable
|
|
11630
11642
|
|
|
11631
|
-
# The shipping carrier that handles the package.
|
|
11632
|
-
#
|
|
11633
|
-
# - "`
|
|
11634
|
-
# - "`
|
|
11635
|
-
# - "`
|
|
11636
|
-
# - "`
|
|
11637
|
-
#
|
|
11638
|
-
# - "`cxt`"
|
|
11639
|
-
# - "`deliv`"
|
|
11640
|
-
# - "`dhl`"
|
|
11641
|
-
# - "`dpd`"
|
|
11642
|
-
# - "`dynamex`"
|
|
11643
|
-
# - "`eCourier`"
|
|
11644
|
-
# - "`easypost`"
|
|
11645
|
-
# - "`efw`"
|
|
11646
|
-
# - "`fedex`"
|
|
11647
|
-
# - "`fedexSmartpost`"
|
|
11648
|
-
# - "`geodis`"
|
|
11649
|
-
# - "`gls`"
|
|
11650
|
-
# - "`googleCourier`"
|
|
11651
|
-
# - "`gsx`"
|
|
11652
|
-
# - "`jdLogistics`"
|
|
11653
|
-
# - "`laPoste`"
|
|
11654
|
-
# - "`lasership`"
|
|
11655
|
-
# - "`manual`"
|
|
11656
|
-
# - "`mpx`"
|
|
11657
|
-
# - "`onTrac`"
|
|
11658
|
-
# - "`other`"
|
|
11659
|
-
# - "`tnt`"
|
|
11660
|
-
# - "`uds`"
|
|
11661
|
-
# - "`ups`"
|
|
11662
|
-
# - "`usps`"
|
|
11643
|
+
# The shipping carrier that handles the package. Acceptable values are: - "`
|
|
11644
|
+
# boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
|
|
11645
|
+
# " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
|
|
11646
|
+
# "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
|
|
11647
|
+
# googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
|
|
11648
|
+
# manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
|
|
11649
|
+
# usps`"
|
|
11663
11650
|
# Corresponds to the JSON property `carrier`
|
|
11664
11651
|
# @return [String]
|
|
11665
11652
|
attr_accessor :carrier
|
|
@@ -11751,10 +11738,7 @@ module Google
|
|
|
11751
11738
|
# @return [Fixnum]
|
|
11752
11739
|
attr_accessor :merchant_id
|
|
11753
11740
|
|
|
11754
|
-
# The method of the batch entry.
|
|
11755
|
-
# Acceptable values are:
|
|
11756
|
-
# - "`get`"
|
|
11757
|
-
# - "`update`"
|
|
11741
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
11758
11742
|
# Corresponds to the JSON property `method`
|
|
11759
11743
|
# @return [String]
|
|
11760
11744
|
attr_accessor :method_prop
|
|
@@ -12030,40 +12014,28 @@ module Google
|
|
|
12030
12014
|
# @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
|
|
12031
12015
|
attr_accessor :pickup_details
|
|
12032
12016
|
|
|
12033
|
-
# Required. The billing address.
|
|
12034
|
-
#
|
|
12035
|
-
# - "`dwight`"
|
|
12036
|
-
# - "`jim`"
|
|
12037
|
-
# - "`pam`"
|
|
12017
|
+
# Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" -
|
|
12018
|
+
# "`pam`"
|
|
12038
12019
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
|
12039
12020
|
# @return [String]
|
|
12040
12021
|
attr_accessor :predefined_billing_address
|
|
12041
12022
|
|
|
12042
12023
|
# Required. Identifier of one of the predefined delivery addresses for the
|
|
12043
|
-
# delivery.
|
|
12044
|
-
# Acceptable values are:
|
|
12045
|
-
# - "`dwight`"
|
|
12046
|
-
# - "`jim`"
|
|
12047
|
-
# - "`pam`"
|
|
12024
|
+
# delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
|
12048
12025
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
|
12049
12026
|
# @return [String]
|
|
12050
12027
|
attr_accessor :predefined_delivery_address
|
|
12051
12028
|
|
|
12052
|
-
# Required. Email address of the customer.
|
|
12053
|
-
#
|
|
12054
|
-
#
|
|
12055
|
-
# - "`pog.jim.halpert@gmail.com`"
|
|
12056
|
-
# - "`penpog.pam.beesly@gmail.comding`"
|
|
12029
|
+
# Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
|
|
12030
|
+
# schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
|
|
12031
|
+
# gmail.comding`"
|
|
12057
12032
|
# Corresponds to the JSON property `predefinedEmail`
|
|
12058
12033
|
# @return [String]
|
|
12059
12034
|
attr_accessor :predefined_email
|
|
12060
12035
|
|
|
12061
12036
|
# Identifier of one of the predefined pickup details. Required for orders
|
|
12062
|
-
# containing line items with shipping type `pickup`.
|
|
12063
|
-
#
|
|
12064
|
-
# - "`dwight`"
|
|
12065
|
-
# - "`jim`"
|
|
12066
|
-
# - "`pam`"
|
|
12037
|
+
# containing line items with shipping type `pickup`. Acceptable values are: - "`
|
|
12038
|
+
# dwight`" - "`jim`" - "`pam`"
|
|
12067
12039
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
|
12068
12040
|
# @return [String]
|
|
12069
12041
|
attr_accessor :predefined_pickup_details
|
|
@@ -12081,14 +12053,8 @@ module Google
|
|
|
12081
12053
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12082
12054
|
attr_accessor :shipping_cost
|
|
12083
12055
|
|
|
12084
|
-
# Required. The requested shipping option.
|
|
12085
|
-
#
|
|
12086
|
-
# - "`economy`"
|
|
12087
|
-
# - "`expedited`"
|
|
12088
|
-
# - "`oneDay`"
|
|
12089
|
-
# - "`sameDay`"
|
|
12090
|
-
# - "`standard`"
|
|
12091
|
-
# - "`twoDay`"
|
|
12056
|
+
# Required. The requested shipping option. Acceptable values are: - "`economy`" -
|
|
12057
|
+
# "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
|
|
12092
12058
|
# Corresponds to the JSON property `shippingOption`
|
|
12093
12059
|
# @return [String]
|
|
12094
12060
|
attr_accessor :shipping_option
|
|
@@ -12125,11 +12091,8 @@ module Google
|
|
|
12125
12091
|
attr_accessor :country
|
|
12126
12092
|
|
|
12127
12093
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
12128
|
-
# example:
|
|
12129
|
-
#
|
|
12130
|
-
# 1600 Amphitheatre Parkway
|
|
12131
|
-
# Mountain View, CA, 94043
|
|
12132
|
-
# United States
|
|
12094
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
12095
|
+
# States
|
|
12133
12096
|
# Corresponds to the JSON property `fullAddress`
|
|
12134
12097
|
# @return [Array<String>]
|
|
12135
12098
|
attr_accessor :full_address
|
|
@@ -12255,17 +12218,13 @@ module Google
|
|
|
12255
12218
|
# @return [String]
|
|
12256
12219
|
attr_accessor :brand
|
|
12257
12220
|
|
|
12258
|
-
# Required. Condition or state of the item.
|
|
12259
|
-
# Acceptable values are:
|
|
12260
|
-
# - "`new`"
|
|
12221
|
+
# Required. Condition or state of the item. Acceptable values are: - "`new`"
|
|
12261
12222
|
# Corresponds to the JSON property `condition`
|
|
12262
12223
|
# @return [String]
|
|
12263
12224
|
attr_accessor :condition
|
|
12264
12225
|
|
|
12265
|
-
# Required. The two-letter ISO 639-1 language code for the item.
|
|
12266
|
-
#
|
|
12267
|
-
# - "`en`"
|
|
12268
|
-
# - "`fr`"
|
|
12226
|
+
# Required. The two-letter ISO 639-1 language code for the item. Acceptable
|
|
12227
|
+
# values are: - "`en`" - "`fr`"
|
|
12269
12228
|
# Corresponds to the JSON property `contentLanguage`
|
|
12270
12229
|
# @return [String]
|
|
12271
12230
|
attr_accessor :content_language
|
|
@@ -12307,7 +12266,7 @@ module Google
|
|
|
12307
12266
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12308
12267
|
attr_accessor :price
|
|
12309
12268
|
|
|
12310
|
-
# Required. The CLDR territory code of the target country of the product.
|
|
12269
|
+
# Required. The CLDR territory // code of the target country of the product.
|
|
12311
12270
|
# Corresponds to the JSON property `targetCountry`
|
|
12312
12271
|
# @return [String]
|
|
12313
12272
|
attr_accessor :target_country
|
|
@@ -12358,11 +12317,8 @@ module Google
|
|
|
12358
12317
|
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
|
12359
12318
|
attr_accessor :pickup_location_address
|
|
12360
12319
|
|
|
12361
|
-
# Pickup location type.
|
|
12362
|
-
#
|
|
12363
|
-
# - "`locker`"
|
|
12364
|
-
# - "`store`"
|
|
12365
|
-
# - "`curbside`"
|
|
12320
|
+
# Pickup location type. Acceptable values are: - "`locker`" - "`store`" - "`
|
|
12321
|
+
# curbside`"
|
|
12366
12322
|
# Corresponds to the JSON property `pickupLocationType`
|
|
12367
12323
|
# @return [String]
|
|
12368
12324
|
attr_accessor :pickup_location_type
|
|
@@ -12530,9 +12486,8 @@ module Google
|
|
|
12530
12486
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
12531
12487
|
attr_accessor :additional_charge_amount
|
|
12532
12488
|
|
|
12533
|
-
# [required] Type of the additional charge.
|
|
12534
|
-
#
|
|
12535
|
-
# - "`shipping`"
|
|
12489
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
12490
|
+
#
|
|
12536
12491
|
# Corresponds to the JSON property `type`
|
|
12537
12492
|
# @return [String]
|
|
12538
12493
|
attr_accessor :type
|
|
@@ -12563,11 +12518,8 @@ module Google
|
|
|
12563
12518
|
# @return [String]
|
|
12564
12519
|
attr_accessor :tax_name
|
|
12565
12520
|
|
|
12566
|
-
# [required] Type of the tax.
|
|
12567
|
-
#
|
|
12568
|
-
# - "`otherFee`"
|
|
12569
|
-
# - "`otherFeeTax`"
|
|
12570
|
-
# - "`sales`"
|
|
12521
|
+
# [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
|
|
12522
|
+
# otherFeeTax`" - "`sales`"
|
|
12571
12523
|
# Corresponds to the JSON property `taxType`
|
|
12572
12524
|
# @return [String]
|
|
12573
12525
|
attr_accessor :tax_type
|
|
@@ -12638,10 +12590,7 @@ module Google
|
|
|
12638
12590
|
class Weight
|
|
12639
12591
|
include Google::Apis::Core::Hashable
|
|
12640
12592
|
|
|
12641
|
-
# Required. The weight unit.
|
|
12642
|
-
# Acceptable values are:
|
|
12643
|
-
# - "`kg`"
|
|
12644
|
-
# - "`lb`"
|
|
12593
|
+
# Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
|
|
12645
12594
|
# Corresponds to the JSON property `unit`
|
|
12646
12595
|
# @return [String]
|
|
12647
12596
|
attr_accessor :unit
|