google-api-client 0.45.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +664 -188
- 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/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accessapproval_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/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer2_v2beta1.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/adexchangebuyer_v1_4.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_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -66
- data/generated/google/apis/apigee_v1/representations.rb +88 -19
- data/generated/google/apis/apigee_v1/service.rb +244 -38
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +212 -23
- data/generated/google/apis/bigquery_v2/representations.rb +69 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- 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_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +84 -2
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1.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/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_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/cloudshell_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +943 -802
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- 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/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
- data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +59 -32
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dlp_v2.rb +1 -1
- 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_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- 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/documentai_v1beta3.rb +36 -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_v1alpha2.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/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/fitness_v1.rb +13 -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/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
- data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/licensing_v1.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/lifesciences_v2beta.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/localservices_v1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -60
- data/generated/google/apis/logging_v2/representations.rb +64 -0
- data/generated/google/apis/logging_v2/service.rb +1422 -127
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +24 -22
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.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/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/redis_v1beta1.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_v1.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_v1alpha.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/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -132
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_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/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/sts_v1beta.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/tagmanager_v2.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/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.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/toolresults_v1beta3.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_v1.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/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.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/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- 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 +51 -12
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -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
|
@@ -390,7 +423,8 @@ module Google
|
|
390
423
|
# @return [String]
|
391
424
|
attr_accessor :country
|
392
425
|
|
393
|
-
# The destination the issue applies to.
|
426
|
+
# The destination the issue applies to. If this field is empty then the issue
|
427
|
+
# applies to all available destinations.
|
394
428
|
# Corresponds to the JSON property `destination`
|
395
429
|
# @return [String]
|
396
430
|
attr_accessor :destination
|
@@ -410,11 +444,8 @@ module Google
|
|
410
444
|
# @return [String]
|
411
445
|
attr_accessor :id
|
412
446
|
|
413
|
-
# Severity of the issue.
|
414
|
-
#
|
415
|
-
# - "`critical`"
|
416
|
-
# - "`error`"
|
417
|
-
# - "`suggestion`"
|
447
|
+
# Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`
|
448
|
+
# suggestion`"
|
418
449
|
# Corresponds to the JSON property `severity`
|
419
450
|
# @return [String]
|
420
451
|
attr_accessor :severity
|
@@ -505,10 +536,8 @@ module Google
|
|
505
536
|
class AccountStatusProducts
|
506
537
|
include Google::Apis::Core::Hashable
|
507
538
|
|
508
|
-
# The channel the data applies to.
|
509
|
-
#
|
510
|
-
# - "`local`"
|
511
|
-
# - "`online`"
|
539
|
+
# The channel the data applies to. Acceptable values are: - "`local`" - "`online`
|
540
|
+
# "
|
512
541
|
# Corresponds to the JSON property `channel`
|
513
542
|
# @return [String]
|
514
543
|
attr_accessor :channel
|
@@ -723,7 +752,7 @@ module Google
|
|
723
752
|
# Status of the link between this Merchant Center account and the YouTube
|
724
753
|
# channel. Upon retrieval, it represents the actual status of the link and can
|
725
754
|
# be either `active` if it was approved in YT Creator Studio or `pending` if it'
|
726
|
-
# 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
|
727
756
|
# link. Re-uploading a link with status `active` when it's still pending or with
|
728
757
|
# status `pending` when it's already active will have no effect: the status will
|
729
758
|
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
@@ -748,11 +777,10 @@ module Google
|
|
748
777
|
class AccountsAuthInfoResponse
|
749
778
|
include Google::Apis::Core::Hashable
|
750
779
|
|
751
|
-
# The account identifiers corresponding to the authenticated user.
|
752
|
-
#
|
753
|
-
# - For an
|
754
|
-
#
|
755
|
-
# 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.
|
756
784
|
# Corresponds to the JSON property `accountIdentifiers`
|
757
785
|
# @return [Array<Google::Apis::ContentV2_1::AccountIdentifier>]
|
758
786
|
attr_accessor :account_identifiers
|
@@ -856,14 +884,8 @@ module Google
|
|
856
884
|
# @return [Fixnum]
|
857
885
|
attr_accessor :merchant_id
|
858
886
|
|
859
|
-
# The method of the batch entry.
|
860
|
-
#
|
861
|
-
# - "`claimWebsite`"
|
862
|
-
# - "`delete`"
|
863
|
-
# - "`get`"
|
864
|
-
# - "`insert`"
|
865
|
-
# - "`link`"
|
866
|
-
# - "`update`"
|
887
|
+
# The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "`
|
888
|
+
# delete`" - "`get`" - "`insert`" - "`link`" - "`update`"
|
867
889
|
# Corresponds to the JSON property `method`
|
868
890
|
# @return [String]
|
869
891
|
attr_accessor :method_prop
|
@@ -904,19 +926,14 @@ module Google
|
|
904
926
|
include Google::Apis::Core::Hashable
|
905
927
|
|
906
928
|
# Action to perform for this link. The `"request"` action is only available to
|
907
|
-
# select merchants.
|
908
|
-
#
|
909
|
-
# - "`approve`"
|
910
|
-
# - "`remove`"
|
911
|
-
# - "`request`"
|
929
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
930
|
+
# request`"
|
912
931
|
# Corresponds to the JSON property `action`
|
913
932
|
# @return [String]
|
914
933
|
attr_accessor :action
|
915
934
|
|
916
|
-
# Type of the link between the two accounts.
|
917
|
-
#
|
918
|
-
# - "`channelPartner`"
|
919
|
-
# - "`eCommercePlatform`"
|
935
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
936
|
+
# channelPartner`" - "`eCommercePlatform`"
|
920
937
|
# Corresponds to the JSON property `linkType`
|
921
938
|
# @return [String]
|
922
939
|
attr_accessor :link_type
|
@@ -1015,19 +1032,14 @@ module Google
|
|
1015
1032
|
include Google::Apis::Core::Hashable
|
1016
1033
|
|
1017
1034
|
# Action to perform for this link. The `"request"` action is only available to
|
1018
|
-
# select merchants.
|
1019
|
-
#
|
1020
|
-
# - "`approve`"
|
1021
|
-
# - "`remove`"
|
1022
|
-
# - "`request`"
|
1035
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
1036
|
+
# request`"
|
1023
1037
|
# Corresponds to the JSON property `action`
|
1024
1038
|
# @return [String]
|
1025
1039
|
attr_accessor :action
|
1026
1040
|
|
1027
|
-
# Type of the link between the two accounts.
|
1028
|
-
#
|
1029
|
-
# - "`channelPartner`"
|
1030
|
-
# - "`eCommercePlatform`"
|
1041
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
1042
|
+
# channelPartner`" - "`eCommercePlatform`"
|
1031
1043
|
# Corresponds to the JSON property `linkType`
|
1032
1044
|
# @return [String]
|
1033
1045
|
attr_accessor :link_type
|
@@ -1222,9 +1234,7 @@ module Google
|
|
1222
1234
|
# @return [Fixnum]
|
1223
1235
|
attr_accessor :merchant_id
|
1224
1236
|
|
1225
|
-
# The method of the batch entry.
|
1226
|
-
# Acceptable values are:
|
1227
|
-
# - "`get`"
|
1237
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
1228
1238
|
# Corresponds to the JSON property `method`
|
1229
1239
|
# @return [String]
|
1230
1240
|
attr_accessor :method_prop
|
@@ -1376,10 +1386,7 @@ module Google
|
|
1376
1386
|
# @return [Fixnum]
|
1377
1387
|
attr_accessor :merchant_id
|
1378
1388
|
|
1379
|
-
# The method of the batch entry.
|
1380
|
-
# Acceptable values are:
|
1381
|
-
# - "`get`"
|
1382
|
-
# - "`update`"
|
1389
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
1383
1390
|
# Corresponds to the JSON property `method`
|
1384
1391
|
# @return [String]
|
1385
1392
|
attr_accessor :method_prop
|
@@ -1627,6 +1634,58 @@ module Google
|
|
1627
1634
|
end
|
1628
1635
|
end
|
1629
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
|
+
|
1630
1689
|
#
|
1631
1690
|
class CustomAttribute
|
1632
1691
|
include Google::Apis::Core::Hashable
|
@@ -1669,22 +1728,11 @@ module Google
|
|
1669
1728
|
# @return [String]
|
1670
1729
|
attr_accessor :description
|
1671
1730
|
|
1672
|
-
# Code of the return reason.
|
1673
|
-
#
|
1674
|
-
# - "`
|
1675
|
-
# - "`
|
1676
|
-
# - "`
|
1677
|
-
# - "`didNotMatchDescription`"
|
1678
|
-
# - "`doesNotFit`"
|
1679
|
-
# - "`expiredItem`"
|
1680
|
-
# - "`incorrectItemReceived`"
|
1681
|
-
# - "`noLongerNeeded`"
|
1682
|
-
# - "`notSpecified`"
|
1683
|
-
# - "`orderedWrongItem`"
|
1684
|
-
# - "`other`"
|
1685
|
-
# - "`qualityNotExpected`"
|
1686
|
-
# - "`receivedTooLate`"
|
1687
|
-
# - "`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`"
|
1688
1736
|
# Corresponds to the JSON property `reasonCode`
|
1689
1737
|
# @return [String]
|
1690
1738
|
attr_accessor :reason_code
|
@@ -1745,11 +1793,8 @@ module Google
|
|
1745
1793
|
attr_accessor :attribute_language
|
1746
1794
|
|
1747
1795
|
# Required. The type of data feed. For product inventory feeds, only feeds for
|
1748
|
-
# local stores, not online stores, are supported.
|
1749
|
-
#
|
1750
|
-
# - "`local products`"
|
1751
|
-
# - "`product inventory`"
|
1752
|
-
# - "`products`"
|
1796
|
+
# local stores, not online stores, are supported. Acceptable values are: - "`
|
1797
|
+
# local products`" - "`product inventory`" - "`products`"
|
1753
1798
|
# Corresponds to the JSON property `contentType`
|
1754
1799
|
# @return [String]
|
1755
1800
|
attr_accessor :content_type
|
@@ -1862,15 +1907,9 @@ module Google
|
|
1862
1907
|
# @return [String]
|
1863
1908
|
attr_accessor :username
|
1864
1909
|
|
1865
|
-
# The day of the week the feed file should be fetched.
|
1866
|
-
#
|
1867
|
-
# - "`
|
1868
|
-
# - "`tuesday`"
|
1869
|
-
# - "`wednesday`"
|
1870
|
-
# - "`thursday`"
|
1871
|
-
# - "`friday`"
|
1872
|
-
# - "`saturday`"
|
1873
|
-
# - "`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`"
|
1874
1913
|
# Corresponds to the JSON property `weekday`
|
1875
1914
|
# @return [String]
|
1876
1915
|
attr_accessor :weekday
|
@@ -1899,32 +1938,21 @@ module Google
|
|
1899
1938
|
|
1900
1939
|
# Delimiter for the separation of values in a delimiter-separated values feed.
|
1901
1940
|
# If not specified, the delimiter will be auto-detected. Ignored for non-DSV
|
1902
|
-
# data feeds.
|
1903
|
-
# Acceptable values are:
|
1904
|
-
# - "`pipe`"
|
1905
|
-
# - "`tab`"
|
1906
|
-
# - "`tilde`"
|
1941
|
+
# data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`"
|
1907
1942
|
# Corresponds to the JSON property `columnDelimiter`
|
1908
1943
|
# @return [String]
|
1909
1944
|
attr_accessor :column_delimiter
|
1910
1945
|
|
1911
1946
|
# Character encoding scheme of the data feed. If not specified, the encoding
|
1912
|
-
# will be auto-detected.
|
1913
|
-
#
|
1914
|
-
# - "`latin-1`"
|
1915
|
-
# - "`utf-16be`"
|
1916
|
-
# - "`utf-16le`"
|
1917
|
-
# - "`utf-8`"
|
1918
|
-
# - "`windows-1252`"
|
1947
|
+
# will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "`
|
1948
|
+
# utf-16le`" - "`utf-8`" - "`windows-1252`"
|
1919
1949
|
# Corresponds to the JSON property `fileEncoding`
|
1920
1950
|
# @return [String]
|
1921
1951
|
attr_accessor :file_encoding
|
1922
1952
|
|
1923
1953
|
# Specifies how double quotes are interpreted. If not specified, the mode will
|
1924
|
-
# be auto-detected. Ignored for non-DSV data feeds.
|
1925
|
-
#
|
1926
|
-
# - "`normal character`"
|
1927
|
-
# - "`value quoting`"
|
1954
|
+
# be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "`
|
1955
|
+
# normal character`" - "`value quoting`"
|
1928
1956
|
# Corresponds to the JSON property `quotingMode`
|
1929
1957
|
# @return [String]
|
1930
1958
|
attr_accessor :quoting_mode
|
@@ -1946,7 +1974,7 @@ module Google
|
|
1946
1974
|
class DatafeedStatus
|
1947
1975
|
include Google::Apis::Core::Hashable
|
1948
1976
|
|
1949
|
-
# 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
|
1950
1978
|
# code.
|
1951
1979
|
# Corresponds to the JSON property `country`
|
1952
1980
|
# @return [String]
|
@@ -1988,12 +2016,10 @@ module Google
|
|
1988
2016
|
# @return [String]
|
1989
2017
|
attr_accessor :last_upload_date
|
1990
2018
|
|
1991
|
-
# The processing status of the feed.
|
1992
|
-
#
|
1993
|
-
# - "`
|
1994
|
-
#
|
1995
|
-
# - "`none`": The feed has not yet been processed. For example, a feed that has
|
1996
|
-
# 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.
|
1997
2023
|
# - "`success`": The feed was processed successfully, though some items might
|
1998
2024
|
# have had errors.
|
1999
2025
|
# Corresponds to the JSON property `processingStatus`
|
@@ -2097,7 +2123,7 @@ module Google
|
|
2097
2123
|
include Google::Apis::Core::Hashable
|
2098
2124
|
|
2099
2125
|
# The country where the items in the feed will be included in the search index,
|
2100
|
-
# represented as a
|
2126
|
+
# represented as a CLDR territory code.
|
2101
2127
|
# Corresponds to the JSON property `country`
|
2102
2128
|
# @return [String]
|
2103
2129
|
attr_accessor :country
|
@@ -2110,12 +2136,9 @@ module Google
|
|
2110
2136
|
|
2111
2137
|
# The list of destinations to include for this target (corresponds to checked
|
2112
2138
|
# check boxes in Merchant Center). Default destinations are always included
|
2113
|
-
# unless provided in `excludedDestinations`.
|
2114
|
-
#
|
2115
|
-
#
|
2116
|
-
# - Shopping
|
2117
|
-
# - ShoppingActions
|
2118
|
-
# - SurfacesAcrossGoogle
|
2139
|
+
# unless provided in `excludedDestinations`. List of supported destinations (if
|
2140
|
+
# available to the account): - DisplayAds - Shopping - ShoppingActions -
|
2141
|
+
# SurfacesAcrossGoogle
|
2119
2142
|
# Corresponds to the JSON property `includedDestinations`
|
2120
2143
|
# @return [Array<String>]
|
2121
2144
|
attr_accessor :included_destinations
|
@@ -2182,13 +2205,8 @@ module Google
|
|
2182
2205
|
# @return [Fixnum]
|
2183
2206
|
attr_accessor :merchant_id
|
2184
2207
|
|
2185
|
-
# The method of the batch entry.
|
2186
|
-
#
|
2187
|
-
# - "`delete`"
|
2188
|
-
# - "`fetchNow`"
|
2189
|
-
# - "`get`"
|
2190
|
-
# - "`insert`"
|
2191
|
-
# - "`update`"
|
2208
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`
|
2209
|
+
# fetchNow`" - "`get`" - "`insert`" - "`update`"
|
2192
2210
|
# Corresponds to the JSON property `method`
|
2193
2211
|
# @return [String]
|
2194
2212
|
attr_accessor :method_prop
|
@@ -2368,9 +2386,7 @@ module Google
|
|
2368
2386
|
# @return [Fixnum]
|
2369
2387
|
attr_accessor :merchant_id
|
2370
2388
|
|
2371
|
-
# The method of the batch entry.
|
2372
|
-
# Acceptable values are:
|
2373
|
-
# - "`get`"
|
2389
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
2374
2390
|
# Corresponds to the JSON property `method`
|
2375
2391
|
# @return [String]
|
2376
2392
|
attr_accessor :method_prop
|
@@ -2697,8 +2713,8 @@ module Google
|
|
2697
2713
|
|
2698
2714
|
# A list of inclusive number of items upper bounds. The last value can be `"
|
2699
2715
|
# infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
|
2700
|
-
# 10 items", " 50 items". Must be non-empty. Can only be set
|
2701
|
-
# 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.
|
2702
2718
|
# Corresponds to the JSON property `numberOfItems`
|
2703
2719
|
# @return [Array<String>]
|
2704
2720
|
attr_accessor :number_of_items
|
@@ -2714,8 +2730,9 @@ module Google
|
|
2714
2730
|
# A list of inclusive order price upper bounds. The last price's value can be `"
|
2715
2731
|
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
2716
2732
|
# "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
|
2717
|
-
# headers "<= $10", " $500". All prices within a service must
|
2718
|
-
# 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.
|
2719
2736
|
# Corresponds to the JSON property `prices`
|
2720
2737
|
# @return [Array<Google::Apis::ContentV2_1::Price>]
|
2721
2738
|
attr_accessor :prices
|
@@ -2723,8 +2740,8 @@ module Google
|
|
2723
2740
|
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
2724
2741
|
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
2725
2742
|
# unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
|
2726
|
-
# 10kg", " 50kg". All weights within a service must have the
|
2727
|
-
# 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.
|
2728
2745
|
# Corresponds to the JSON property `weights`
|
2729
2746
|
# @return [Array<Google::Apis::ContentV2_1::Weight>]
|
2730
2747
|
attr_accessor :weights
|
@@ -2761,7 +2778,7 @@ module Google
|
|
2761
2778
|
attr_accessor :deadline_hour
|
2762
2779
|
|
2763
2780
|
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
2764
|
-
# in
|
2781
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
2765
2782
|
# Corresponds to the JSON property `deadlineTimezone`
|
2766
2783
|
# @return [String]
|
2767
2784
|
attr_accessor :deadline_timezone
|
@@ -2827,16 +2844,9 @@ module Google
|
|
2827
2844
|
# @return [String]
|
2828
2845
|
attr_accessor :id
|
2829
2846
|
|
2830
|
-
# The holiday type. Always present.
|
2831
|
-
#
|
2832
|
-
# - "`
|
2833
|
-
# - "`Easter`"
|
2834
|
-
# - "`Father's Day`"
|
2835
|
-
# - "`Halloween`"
|
2836
|
-
# - "`Independence Day (USA)`"
|
2837
|
-
# - "`Mother's Day`"
|
2838
|
-
# - "`Thanksgiving`"
|
2839
|
-
# - "`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`"
|
2840
2850
|
# Corresponds to the JSON property `type`
|
2841
2851
|
# @return [String]
|
2842
2852
|
attr_accessor :type
|
@@ -2915,9 +2925,8 @@ module Google
|
|
2915
2925
|
# @return [Google::Apis::ContentV2_1::Amount]
|
2916
2926
|
attr_accessor :total_amount
|
2917
2927
|
|
2918
|
-
# [required] Type of the additional charge.
|
2919
|
-
#
|
2920
|
-
# - "`shipping`"
|
2928
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
2929
|
+
#
|
2921
2930
|
# Corresponds to the JSON property `type`
|
2922
2931
|
# @return [String]
|
2923
2932
|
attr_accessor :type
|
@@ -2933,15 +2942,31 @@ module Google
|
|
2933
2942
|
end
|
2934
2943
|
end
|
2935
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
|
+
|
2936
2964
|
#
|
2937
2965
|
class LiaAboutPageSettings
|
2938
2966
|
include Google::Apis::Core::Hashable
|
2939
2967
|
|
2940
|
-
# The status of the verification process for the About page.
|
2941
|
-
#
|
2942
|
-
# - "`active`"
|
2943
|
-
# - "`inactive`"
|
2944
|
-
# - "`pending`"
|
2968
|
+
# The status of the verification process for the About page. Acceptable values
|
2969
|
+
# are: - "`active`" - "`inactive`" - "`pending`"
|
2945
2970
|
# Corresponds to the JSON property `status`
|
2946
2971
|
# @return [String]
|
2947
2972
|
attr_accessor :status
|
@@ -3033,20 +3058,14 @@ module Google
|
|
3033
3058
|
# @return [String]
|
3034
3059
|
attr_accessor :inventory_verification_contact_name
|
3035
3060
|
|
3036
|
-
# The status of the verification contact.
|
3037
|
-
#
|
3038
|
-
# - "`active`"
|
3039
|
-
# - "`inactive`"
|
3040
|
-
# - "`pending`"
|
3061
|
+
# The status of the verification contact. Acceptable values are: - "`active`" - "
|
3062
|
+
# `inactive`" - "`pending`"
|
3041
3063
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
3042
3064
|
# @return [String]
|
3043
3065
|
attr_accessor :inventory_verification_contact_status
|
3044
3066
|
|
3045
|
-
# The status of the inventory verification process.
|
3046
|
-
#
|
3047
|
-
# - "`active`"
|
3048
|
-
# - "`inactive`"
|
3049
|
-
# - "`pending`"
|
3067
|
+
# The status of the inventory verification process. Acceptable values are: - "`
|
3068
|
+
# active`" - "`inactive`" - "`pending`"
|
3050
3069
|
# Corresponds to the JSON property `status`
|
3051
3070
|
# @return [String]
|
3052
3071
|
attr_accessor :status
|
@@ -3073,11 +3092,8 @@ module Google
|
|
3073
3092
|
# @return [String]
|
3074
3093
|
attr_accessor :shipping_cost_policy_url
|
3075
3094
|
|
3076
|
-
# The status of the ?On display to order? feature.
|
3077
|
-
#
|
3078
|
-
# - "`active`"
|
3079
|
-
# - "`inactive`"
|
3080
|
-
# - "`pending`"
|
3095
|
+
# The status of the ?On display to order? feature. Acceptable values are: - "`
|
3096
|
+
# active`" - "`inactive`" - "`pending`"
|
3081
3097
|
# Corresponds to the JSON property `status`
|
3082
3098
|
# @return [String]
|
3083
3099
|
attr_accessor :status
|
@@ -3218,14 +3234,10 @@ module Google
|
|
3218
3234
|
# @return [Fixnum]
|
3219
3235
|
attr_accessor :merchant_id
|
3220
3236
|
|
3221
|
-
# The method of the batch entry.
|
3222
|
-
#
|
3223
|
-
# - "`
|
3224
|
-
#
|
3225
|
-
# - "`requestGmbAccess`"
|
3226
|
-
# - "`requestInventoryVerification`"
|
3227
|
-
# - "`setInventoryVerificationContact`"
|
3228
|
-
# - "`update`"
|
3237
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`
|
3238
|
+
# getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
|
3239
|
+
# requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
|
3240
|
+
# update`"
|
3229
3241
|
# Corresponds to the JSON property `method`
|
3230
3242
|
# @return [String]
|
3231
3243
|
attr_accessor :method_prop
|
@@ -3511,20 +3523,15 @@ module Google
|
|
3511
3523
|
class LinkService
|
3512
3524
|
include Google::Apis::Core::Hashable
|
3513
3525
|
|
3514
|
-
# Service provided to or by the linked account.
|
3515
|
-
#
|
3516
|
-
#
|
3517
|
-
# - "`shoppingActionsProductManagement`"
|
3518
|
-
# - "`shoppingAdsProductManagement`"
|
3526
|
+
# Service provided to or by the linked account. Acceptable values are: - "`
|
3527
|
+
# shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
|
3528
|
+
# shoppingAdsProductManagement`"
|
3519
3529
|
# Corresponds to the JSON property `service`
|
3520
3530
|
# @return [String]
|
3521
3531
|
attr_accessor :service
|
3522
3532
|
|
3523
|
-
# Status of the link
|
3524
|
-
#
|
3525
|
-
# - "`active`"
|
3526
|
-
# - "`inactive`"
|
3527
|
-
# - "`pending`"
|
3533
|
+
# Status of the link Acceptable values are: - "`active`" - "`inactive`" - "`
|
3534
|
+
# pending`"
|
3528
3535
|
# Corresponds to the JSON property `status`
|
3529
3536
|
# @return [String]
|
3530
3537
|
attr_accessor :status
|
@@ -3565,12 +3572,91 @@ module Google
|
|
3565
3572
|
end
|
3566
3573
|
end
|
3567
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
|
+
|
3568
3653
|
# Local inventory resource. For accepted attribute values, see the local product
|
3569
3654
|
# inventory feed specification.
|
3570
3655
|
class LocalInventory
|
3571
3656
|
include Google::Apis::Core::Hashable
|
3572
3657
|
|
3573
|
-
# Availability of the product.
|
3658
|
+
# Availability of the product. For accepted attribute values, see the local
|
3659
|
+
# product inventory feed specification.
|
3574
3660
|
# Corresponds to the JSON property `availability`
|
3575
3661
|
# @return [String]
|
3576
3662
|
attr_accessor :availability
|
@@ -3587,13 +3673,15 @@ module Google
|
|
3587
3673
|
attr_accessor :kind
|
3588
3674
|
|
3589
3675
|
# Supported pickup method for this offer. Unless the value is "not supported",
|
3590
|
-
# 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.
|
3591
3678
|
# Corresponds to the JSON property `pickupMethod`
|
3592
3679
|
# @return [String]
|
3593
3680
|
attr_accessor :pickup_method
|
3594
3681
|
|
3595
3682
|
# Expected date that an order will be ready for pickup relative to the order
|
3596
|
-
# 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.
|
3597
3685
|
# Corresponds to the JSON property `pickupSla`
|
3598
3686
|
# @return [String]
|
3599
3687
|
attr_accessor :pickup_sla
|
@@ -3682,9 +3770,7 @@ module Google
|
|
3682
3770
|
# @return [Fixnum]
|
3683
3771
|
attr_accessor :merchant_id
|
3684
3772
|
|
3685
|
-
# Method of the batch request entry.
|
3686
|
-
# Acceptable values are:
|
3687
|
-
# - "`insert`"
|
3773
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
3688
3774
|
# Corresponds to the JSON property `method`
|
3689
3775
|
# @return [String]
|
3690
3776
|
attr_accessor :method_prop
|
@@ -3932,13 +4018,8 @@ module Google
|
|
3932
4018
|
# @return [String]
|
3933
4019
|
attr_accessor :shipment_unit_id
|
3934
4020
|
|
3935
|
-
# State of the item.
|
3936
|
-
#
|
3937
|
-
# - "`canceled`"
|
3938
|
-
# - "`new`"
|
3939
|
-
# - "`received`"
|
3940
|
-
# - "`refunded`"
|
3941
|
-
# - "`rejected`"
|
4021
|
+
# State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
|
4022
|
+
# received`" - "`refunded`" - "`rejected`"
|
3942
4023
|
# Corresponds to the JSON property `state`
|
3943
4024
|
# @return [String]
|
3944
4025
|
attr_accessor :state
|
@@ -4065,8 +4146,7 @@ module Google
|
|
4065
4146
|
end
|
4066
4147
|
|
4067
4148
|
# Order. Production access (all methods) requires the order manager role.
|
4068
|
-
# Sandbox access does not.
|
4069
|
-
# orders ==)
|
4149
|
+
# Sandbox access does not.
|
4070
4150
|
class Order
|
4071
4151
|
include Google::Apis::Core::Hashable
|
4072
4152
|
|
@@ -4136,12 +4216,8 @@ module Google
|
|
4136
4216
|
# @return [Google::Apis::ContentV2_1::Price]
|
4137
4217
|
attr_accessor :net_tax_amount
|
4138
4218
|
|
4139
|
-
# The status of the payment.
|
4140
|
-
#
|
4141
|
-
# - "`paymentCaptured`"
|
4142
|
-
# - "`paymentRejected`"
|
4143
|
-
# - "`paymentSecured`"
|
4144
|
-
# - "`pendingAuthorization`"
|
4219
|
+
# The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
|
4220
|
+
# paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
|
4145
4221
|
# Corresponds to the JSON property `paymentStatus`
|
4146
4222
|
# @return [String]
|
4147
4223
|
attr_accessor :payment_status
|
@@ -4156,25 +4232,22 @@ module Google
|
|
4156
4232
|
# @return [String]
|
4157
4233
|
attr_accessor :placed_date
|
4158
4234
|
|
4159
|
-
# Promotions associated with the order.
|
4160
|
-
#
|
4161
|
-
#
|
4162
|
-
#
|
4163
|
-
#
|
4164
|
-
#
|
4165
|
-
#
|
4166
|
-
#
|
4167
|
-
#
|
4168
|
-
#
|
4169
|
-
# - To calculate price paid by the customer for a single line item including the
|
4170
|
-
# 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 `
|
4171
4245
|
# LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
|
4172
4246
|
# then subtract the resulting value from the `LineItems[].Product.Price.value`
|
4173
|
-
# for each quantity item.
|
4174
|
-
#
|
4175
|
-
#
|
4176
|
-
#
|
4177
|
-
# 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.
|
4178
4251
|
# Corresponds to the JSON property `promotions`
|
4179
4252
|
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
|
4180
4253
|
attr_accessor :promotions
|
@@ -4199,25 +4272,15 @@ module Google
|
|
4199
4272
|
# @return [Google::Apis::ContentV2_1::Price]
|
4200
4273
|
attr_accessor :shipping_cost_tax
|
4201
4274
|
|
4202
|
-
# The status of the order.
|
4203
|
-
#
|
4204
|
-
# - "`
|
4205
|
-
# - "`delivered`"
|
4206
|
-
# - "`inProgress`"
|
4207
|
-
# - "`partiallyDelivered`"
|
4208
|
-
# - "`partiallyReturned`"
|
4209
|
-
# - "`partiallyShipped`"
|
4210
|
-
# - "`pendingShipment`"
|
4211
|
-
# - "`returned`"
|
4212
|
-
# - "`shipped`"
|
4275
|
+
# The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
|
4276
|
+
# - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
|
4277
|
+
# partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
|
4213
4278
|
# Corresponds to the JSON property `status`
|
4214
4279
|
# @return [String]
|
4215
4280
|
attr_accessor :status
|
4216
4281
|
|
4217
|
-
# The party responsible for collecting and remitting taxes.
|
4218
|
-
#
|
4219
|
-
# - "`marketplaceFacilitator`"
|
4220
|
-
# - "`merchant`"
|
4282
|
+
# The party responsible for collecting and remitting taxes. Acceptable values
|
4283
|
+
# are: - "`marketplaceFacilitator`" - "`merchant`"
|
4221
4284
|
# Corresponds to the JSON property `taxCollector`
|
4222
4285
|
# @return [String]
|
4223
4286
|
attr_accessor :tax_collector
|
@@ -4263,11 +4326,8 @@ module Google
|
|
4263
4326
|
attr_accessor :country
|
4264
4327
|
|
4265
4328
|
# Strings representing the lines of the printed label for mailing the order, for
|
4266
|
-
# example:
|
4267
|
-
#
|
4268
|
-
# 1600 Amphitheatre Parkway
|
4269
|
-
# Mountain View, CA, 94043
|
4270
|
-
# United States
|
4329
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
4330
|
+
# States
|
4271
4331
|
# Corresponds to the JSON property `fullAddress`
|
4272
4332
|
# @return [Array<String>]
|
4273
4333
|
attr_accessor :full_address
|
@@ -4326,14 +4386,9 @@ module Google
|
|
4326
4386
|
class OrderCancellation
|
4327
4387
|
include Google::Apis::Core::Hashable
|
4328
4388
|
|
4329
|
-
# The actor that created the cancellation.
|
4330
|
-
#
|
4331
|
-
# - "`
|
4332
|
-
# - "`googleBot`"
|
4333
|
-
# - "`googleCustomerService`"
|
4334
|
-
# - "`googlePayments`"
|
4335
|
-
# - "`googleSabre`"
|
4336
|
-
# - "`merchant`"
|
4389
|
+
# The actor that created the cancellation. Acceptable values are: - "`customer`"
|
4390
|
+
# - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
|
4391
|
+
# googleSabre`" - "`merchant`"
|
4337
4392
|
# Corresponds to the JSON property `actor`
|
4338
4393
|
# @return [String]
|
4339
4394
|
attr_accessor :actor
|
@@ -4351,35 +4406,18 @@ module Google
|
|
4351
4406
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
4352
4407
|
# reason will lead to the removal of the product from Shopping Actions until you
|
4353
4408
|
# make an update to that product. This will not affect your Shopping ads.
|
4354
|
-
# Acceptable values are:
|
4355
|
-
# - "`
|
4356
|
-
# - "`
|
4357
|
-
# - "`
|
4358
|
-
# - "`
|
4359
|
-
# - "`
|
4360
|
-
# - "`
|
4361
|
-
# - "`
|
4362
|
-
# - "`
|
4363
|
-
# - "`
|
4364
|
-
# - "`
|
4365
|
-
#
|
4366
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
4367
|
-
# - "`failToPushOrderToMerchant`"
|
4368
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
4369
|
-
# - "`invalidCoupon`"
|
4370
|
-
# - "`malformedShippingAddress`"
|
4371
|
-
# - "`merchantDidNotShipOnTime`"
|
4372
|
-
# - "`noInventory`"
|
4373
|
-
# - "`orderTimeout`"
|
4374
|
-
# - "`other`"
|
4375
|
-
# - "`paymentAbuse`"
|
4376
|
-
# - "`paymentDeclined`"
|
4377
|
-
# - "`priceError`"
|
4378
|
-
# - "`returnRefundAbuse`"
|
4379
|
-
# - "`shippingPriceError`"
|
4380
|
-
# - "`taxError`"
|
4381
|
-
# - "`undeliverableShippingAddress`"
|
4382
|
-
# - "`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`"
|
4383
4421
|
# Corresponds to the JSON property `reason`
|
4384
4422
|
# @return [String]
|
4385
4423
|
attr_accessor :reason
|
@@ -4414,7 +4452,7 @@ module Google
|
|
4414
4452
|
|
4415
4453
|
# Email address for the merchant to send value-added tax or invoice
|
4416
4454
|
# documentation of the order. Only the last document sent is made available to
|
4417
|
-
# the customer. For more information, see
|
4455
|
+
# the customer. For more information, see About automated VAT invoicing for
|
4418
4456
|
# Shopping Actions.
|
4419
4457
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
4420
4458
|
# @return [String]
|
@@ -4479,10 +4517,8 @@ module Google
|
|
4479
4517
|
# cases this selection might not be known, so this field would be empty. If a
|
4480
4518
|
# customer selected `granted` in their most recent order, they can be subscribed
|
4481
4519
|
# to marketing emails. Customers who have chosen `denied` must not be subscribed,
|
4482
|
-
# or must be unsubscribed if already opted-in.
|
4483
|
-
#
|
4484
|
-
# - "`denied`"
|
4485
|
-
# - "`granted`"
|
4520
|
+
# or must be unsubscribed if already opted-in. Acceptable values are: - "`
|
4521
|
+
# denied`" - "`granted`"
|
4486
4522
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
4487
4523
|
# @return [String]
|
4488
4524
|
attr_accessor :explicit_marketing_preference
|
@@ -4676,9 +4712,7 @@ module Google
|
|
4676
4712
|
# @return [Google::Apis::ContentV2_1::Price]
|
4677
4713
|
attr_accessor :tax_adjustment
|
4678
4714
|
|
4679
|
-
# Type of this adjustment.
|
4680
|
-
# Acceptable values are:
|
4681
|
-
# - "`promotion`"
|
4715
|
+
# Type of this adjustment. Acceptable values are: - "`promotion`"
|
4682
4716
|
# Corresponds to the JSON property `type`
|
4683
4717
|
# @return [String]
|
4684
4718
|
attr_accessor :type
|
@@ -4704,11 +4738,8 @@ module Google
|
|
4704
4738
|
# @return [String]
|
4705
4739
|
attr_accessor :brand
|
4706
4740
|
|
4707
|
-
# Condition or state of the item.
|
4708
|
-
#
|
4709
|
-
# - "`new`"
|
4710
|
-
# - "`refurbished`"
|
4711
|
-
# - "`used`"
|
4741
|
+
# Condition or state of the item. Acceptable values are: - "`new`" - "`
|
4742
|
+
# refurbished`" - "`used`"
|
4712
4743
|
# Corresponds to the JSON property `condition`
|
4713
4744
|
# @return [String]
|
4714
4745
|
attr_accessor :condition
|
@@ -4763,7 +4794,7 @@ module Google
|
|
4763
4794
|
# @return [String]
|
4764
4795
|
attr_accessor :shown_image
|
4765
4796
|
|
4766
|
-
# The CLDR territory code of the target country of the product.
|
4797
|
+
# The CLDR territory // code of the target country of the product.
|
4767
4798
|
# Corresponds to the JSON property `targetCountry`
|
4768
4799
|
# @return [String]
|
4769
4800
|
attr_accessor :target_country
|
@@ -4912,10 +4943,8 @@ module Google
|
|
4912
4943
|
attr_accessor :ship_by_date
|
4913
4944
|
|
4914
4945
|
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
4915
|
-
# applicable for this shipment.
|
4916
|
-
#
|
4917
|
-
# - "`delivery`"
|
4918
|
-
# - "`pickup`"
|
4946
|
+
# applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
|
4947
|
+
# "
|
4919
4948
|
# Corresponds to the JSON property `type`
|
4920
4949
|
# @return [String]
|
4921
4950
|
attr_accessor :type
|
@@ -5045,13 +5074,9 @@ module Google
|
|
5045
5074
|
# @return [String]
|
5046
5075
|
attr_accessor :location_id
|
5047
5076
|
|
5048
|
-
# The pickup type of this order.
|
5049
|
-
#
|
5050
|
-
#
|
5051
|
-
# - "`merchantStoreCurbside`"
|
5052
|
-
# - "`merchantStoreLocker`"
|
5053
|
-
# - "`thirdPartyPickupPoint`"
|
5054
|
-
# - "`thirdPartyLocker`"
|
5077
|
+
# The pickup type of this order. Acceptable values are: - "`merchantStore`" - "`
|
5078
|
+
# merchantStoreCurbside`" - "`merchantStoreLocker`" - "`thirdPartyPickupPoint`" -
|
5079
|
+
# "`thirdPartyLocker`"
|
5055
5080
|
# Corresponds to the JSON property `pickupType`
|
5056
5081
|
# @return [String]
|
5057
5082
|
attr_accessor :pickup_type
|
@@ -5119,10 +5144,7 @@ module Google
|
|
5119
5144
|
attr_accessor :end_time
|
5120
5145
|
|
5121
5146
|
# Required. The party funding the promotion. Only `merchant` is supported for `
|
5122
|
-
# orders.createtestorder`.
|
5123
|
-
# Acceptable values are:
|
5124
|
-
# - "`google`"
|
5125
|
-
# - "`merchant`"
|
5147
|
+
# orders.createtestorder`. Acceptable values are: - "`google`" - "`merchant`"
|
5126
5148
|
# Corresponds to the JSON property `funder`
|
5127
5149
|
# @return [String]
|
5128
5150
|
attr_accessor :funder
|
@@ -5152,22 +5174,11 @@ module Google
|
|
5152
5174
|
attr_accessor :start_time
|
5153
5175
|
|
5154
5176
|
# Required. The category of the promotion. Only `moneyOff` is supported for `
|
5155
|
-
# orders.createtestorder`.
|
5156
|
-
#
|
5157
|
-
# - "`
|
5158
|
-
# - "`
|
5159
|
-
# - "`
|
5160
|
-
# - "`buyMGetPercentOff`"
|
5161
|
-
# - "`freeGift`"
|
5162
|
-
# - "`freeGiftWithItemId`"
|
5163
|
-
# - "`freeGiftWithValue`"
|
5164
|
-
# - "`freeShippingOvernight`"
|
5165
|
-
# - "`freeShippingStandard`"
|
5166
|
-
# - "`freeShippingTwoDay`"
|
5167
|
-
# - "`moneyOff`"
|
5168
|
-
# - "`percentOff`"
|
5169
|
-
# - "`rewardPoints`"
|
5170
|
-
# - "`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`"
|
5171
5182
|
# Corresponds to the JSON property `subtype`
|
5172
5183
|
# @return [String]
|
5173
5184
|
attr_accessor :subtype
|
@@ -5184,10 +5195,7 @@ module Google
|
|
5184
5195
|
attr_accessor :title
|
5185
5196
|
|
5186
5197
|
# Required. The scope of the promotion. Only `product` is supported for `orders.
|
5187
|
-
# createtestorder`.
|
5188
|
-
# Acceptable values are:
|
5189
|
-
# - "`product`"
|
5190
|
-
# - "`shipping`"
|
5198
|
+
# createtestorder`. Acceptable values are: - "`product`" - "`shipping`"
|
5191
5199
|
# Corresponds to the JSON property `type`
|
5192
5200
|
# @return [String]
|
5193
5201
|
attr_accessor :type
|
@@ -5255,13 +5263,8 @@ module Google
|
|
5255
5263
|
class OrderRefund
|
5256
5264
|
include Google::Apis::Core::Hashable
|
5257
5265
|
|
5258
|
-
# The actor that created the refund.
|
5259
|
-
#
|
5260
|
-
# - "`customer`"
|
5261
|
-
# - "`googleBot`"
|
5262
|
-
# - "`googleCustomerService`"
|
5263
|
-
# - "`googlePayments`"
|
5264
|
-
# - "`googleSabre`"
|
5266
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
5267
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
5265
5268
|
# - "`merchant`"
|
5266
5269
|
# Corresponds to the JSON property `actor`
|
5267
5270
|
# @return [String]
|
@@ -5277,52 +5280,23 @@ module Google
|
|
5277
5280
|
# @return [String]
|
5278
5281
|
attr_accessor :creation_date
|
5279
5282
|
|
5280
|
-
# The reason for the refund.
|
5281
|
-
#
|
5282
|
-
# - "`
|
5283
|
-
# - "`
|
5284
|
-
# - "`
|
5285
|
-
# - "`
|
5286
|
-
# - "`
|
5287
|
-
# - "`
|
5288
|
-
# - "`
|
5289
|
-
# - "`
|
5290
|
-
# - "`
|
5291
|
-
# - "`
|
5292
|
-
# - "`
|
5293
|
-
# - "`
|
5294
|
-
# - "`
|
5295
|
-
# - "`
|
5296
|
-
# - "`
|
5297
|
-
# - "`failToPushOrderGoogleError`"
|
5298
|
-
# - "`failToPushOrderMerchantError`"
|
5299
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
5300
|
-
# - "`failToPushOrderToMerchant`"
|
5301
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
5302
|
-
# - "`feeAdjustment`"
|
5303
|
-
# - "`invalidCoupon`"
|
5304
|
-
# - "`lateShipmentCredit`"
|
5305
|
-
# - "`malformedShippingAddress`"
|
5306
|
-
# - "`merchantDidNotShipOnTime`"
|
5307
|
-
# - "`noInventory`"
|
5308
|
-
# - "`orderTimeout`"
|
5309
|
-
# - "`other`"
|
5310
|
-
# - "`paymentAbuse`"
|
5311
|
-
# - "`paymentDeclined`"
|
5312
|
-
# - "`priceAdjustment`"
|
5313
|
-
# - "`priceError`"
|
5314
|
-
# - "`productArrivedDamaged`"
|
5315
|
-
# - "`productNotAsDescribed`"
|
5316
|
-
# - "`promoReallocation`"
|
5317
|
-
# - "`qualityNotAsExpected`"
|
5318
|
-
# - "`returnRefundAbuse`"
|
5319
|
-
# - "`shippingCostAdjustment`"
|
5320
|
-
# - "`shippingPriceError`"
|
5321
|
-
# - "`taxAdjustment`"
|
5322
|
-
# - "`taxError`"
|
5323
|
-
# - "`undeliverableShippingAddress`"
|
5324
|
-
# - "`unsupportedPoBoxAddress`"
|
5325
|
-
# - "`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`"
|
5326
5300
|
# Corresponds to the JSON property `reason`
|
5327
5301
|
# @return [String]
|
5328
5302
|
attr_accessor :reason
|
@@ -5346,8 +5320,7 @@ module Google
|
|
5346
5320
|
end
|
5347
5321
|
end
|
5348
5322
|
|
5349
|
-
# Order disbursement. All methods require the payment analyst role.
|
5350
|
-
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
5323
|
+
# Order disbursement. All methods require the payment analyst role.
|
5351
5324
|
class OrderReportDisbursement
|
5352
5325
|
include Google::Apis::Core::Hashable
|
5353
5326
|
|
@@ -5461,13 +5434,8 @@ module Google
|
|
5461
5434
|
class OrderReturn
|
5462
5435
|
include Google::Apis::Core::Hashable
|
5463
5436
|
|
5464
|
-
# The actor that created the refund.
|
5465
|
-
#
|
5466
|
-
# - "`customer`"
|
5467
|
-
# - "`googleBot`"
|
5468
|
-
# - "`googleCustomerService`"
|
5469
|
-
# - "`googlePayments`"
|
5470
|
-
# - "`googleSabre`"
|
5437
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
5438
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
5471
5439
|
# - "`merchant`"
|
5472
5440
|
# Corresponds to the JSON property `actor`
|
5473
5441
|
# @return [String]
|
@@ -5483,21 +5451,13 @@ module Google
|
|
5483
5451
|
# @return [Fixnum]
|
5484
5452
|
attr_accessor :quantity
|
5485
5453
|
|
5486
|
-
# The reason for the return.
|
5487
|
-
#
|
5488
|
-
# - "`
|
5489
|
-
# - "`
|
5490
|
-
# - "`
|
5491
|
-
# - "`
|
5492
|
-
#
|
5493
|
-
# - "`malformedShippingAddress`"
|
5494
|
-
# - "`other`"
|
5495
|
-
# - "`productArrivedDamaged`"
|
5496
|
-
# - "`productNotAsDescribed`"
|
5497
|
-
# - "`qualityNotAsExpected`"
|
5498
|
-
# - "`undeliverableShippingAddress`"
|
5499
|
-
# - "`unsupportedPoBoxAddress`"
|
5500
|
-
# - "`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`"
|
5501
5461
|
# Corresponds to the JSON property `reason`
|
5502
5462
|
# @return [String]
|
5503
5463
|
attr_accessor :reason
|
@@ -5525,59 +5485,33 @@ module Google
|
|
5525
5485
|
class OrderShipment
|
5526
5486
|
include Google::Apis::Core::Hashable
|
5527
5487
|
|
5528
|
-
# The carrier handling the shipment.
|
5529
|
-
#
|
5530
|
-
#
|
5531
|
-
#
|
5532
|
-
#
|
5533
|
-
#
|
5534
|
-
# updates
|
5535
|
-
#
|
5536
|
-
# - "`
|
5537
|
-
# - "`
|
5538
|
-
# - "`
|
5539
|
-
# - "`
|
5540
|
-
# - "`
|
5541
|
-
# - "`
|
5542
|
-
# - "`
|
5543
|
-
# - "`
|
5544
|
-
# - "`
|
5545
|
-
# - "`
|
5546
|
-
# - "`
|
5547
|
-
# - "`
|
5548
|
-
# - "`
|
5549
|
-
# - "`
|
5550
|
-
# - "`
|
5551
|
-
# - "`
|
5552
|
-
# - "`
|
5553
|
-
# - "`
|
5554
|
-
# - "`
|
5555
|
-
# - "`ptt`" (PTT Turkish Post)
|
5556
|
-
# - "`eub`" (ePacket)
|
5557
|
-
# - "`chukou1`" (Chukou1 Logistics)
|
5558
|
-
# - "`bestex`" (Best Express)
|
5559
|
-
# - "`canada post`" (Canada Post)
|
5560
|
-
# - "`purolator`" (Purolator)
|
5561
|
-
# - "`canpar`" (Canpar)
|
5562
|
-
# - "`india post`" (India Post)
|
5563
|
-
# - "`blue dart`" (Blue Dart)
|
5564
|
-
# - "`delhivery`" (Delhivery)
|
5565
|
-
# - "`dtdc`" (DTDC)
|
5566
|
-
# - "`tpc india`" (TPC India)
|
5567
|
-
# Supported carriers for FR are:
|
5568
|
-
# - "`la poste`" (La Poste) automatic status updates
|
5569
|
-
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
5570
|
-
# - "`ups`" (United Parcel Service) automatic status updates
|
5571
|
-
# - "`chronopost`" (Chronopost by La Poste)
|
5572
|
-
# - "`gls`" (General Logistics Systems France)
|
5573
|
-
# - "`dpd`" (DPD Group by GeoPost)
|
5574
|
-
# - "`bpost`" (Belgian Post Group)
|
5575
|
-
# - "`colis prive`" (Colis Privé)
|
5576
|
-
# - "`boxtal`" (Boxtal)
|
5577
|
-
# - "`geodis`" (GEODIS)
|
5578
|
-
# - "`tnt`" (TNT)
|
5579
|
-
# - "`db schenker`" (DB Schenker)
|
5580
|
-
# - "`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)
|
5581
5515
|
# Corresponds to the JSON property `carrier`
|
5582
5516
|
# @return [String]
|
5583
5517
|
attr_accessor :carrier
|
@@ -5613,12 +5547,8 @@ module Google
|
|
5613
5547
|
# @return [String]
|
5614
5548
|
attr_accessor :shipment_group_id
|
5615
5549
|
|
5616
|
-
# The status of the shipment.
|
5617
|
-
#
|
5618
|
-
# - "`delivered`"
|
5619
|
-
# - "`readyForPickup`"
|
5620
|
-
# - "`shipped`"
|
5621
|
-
# - "`undeliverable`"
|
5550
|
+
# The status of the shipment. Acceptable values are: - "`delivered`" - "`
|
5551
|
+
# readyForPickup`" - "`shipped`" - "`undeliverable`"
|
5622
5552
|
# Corresponds to the JSON property `status`
|
5623
5553
|
# @return [String]
|
5624
5554
|
attr_accessor :status
|
@@ -5756,10 +5686,8 @@ module Google
|
|
5756
5686
|
class OrderinvoicesCreateChargeInvoiceResponse
|
5757
5687
|
include Google::Apis::Core::Hashable
|
5758
5688
|
|
5759
|
-
# The status of the execution.
|
5760
|
-
#
|
5761
|
-
# - "`duplicate`"
|
5762
|
-
# - "`executed`"
|
5689
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
5690
|
+
# executed`"
|
5763
5691
|
# Corresponds to the JSON property `executionStatus`
|
5764
5692
|
# @return [String]
|
5765
5693
|
attr_accessor :execution_status
|
@@ -5832,10 +5760,8 @@ module Google
|
|
5832
5760
|
class OrderinvoicesCreateRefundInvoiceResponse
|
5833
5761
|
include Google::Apis::Core::Hashable
|
5834
5762
|
|
5835
|
-
# The status of the execution.
|
5836
|
-
#
|
5837
|
-
# - "`duplicate`"
|
5838
|
-
# - "`executed`"
|
5763
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
5764
|
+
# executed`"
|
5839
5765
|
# Corresponds to the JSON property `executionStatus`
|
5840
5766
|
# @return [String]
|
5841
5767
|
attr_accessor :execution_status
|
@@ -5866,52 +5792,23 @@ module Google
|
|
5866
5792
|
# @return [String]
|
5867
5793
|
attr_accessor :description
|
5868
5794
|
|
5869
|
-
# [required] Reason for the refund.
|
5870
|
-
#
|
5871
|
-
# - "`
|
5872
|
-
# - "`
|
5873
|
-
# - "`
|
5874
|
-
# - "`
|
5875
|
-
# - "`
|
5876
|
-
# - "`
|
5877
|
-
# - "`
|
5878
|
-
# - "`
|
5879
|
-
# - "`
|
5880
|
-
# - "`
|
5881
|
-
# - "`
|
5882
|
-
# - "`
|
5883
|
-
# - "`
|
5884
|
-
# - "`
|
5885
|
-
# - "`
|
5886
|
-
# - "`failToPushOrderGoogleError`"
|
5887
|
-
# - "`failToPushOrderMerchantError`"
|
5888
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
5889
|
-
# - "`failToPushOrderToMerchant`"
|
5890
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
5891
|
-
# - "`feeAdjustment`"
|
5892
|
-
# - "`invalidCoupon`"
|
5893
|
-
# - "`lateShipmentCredit`"
|
5894
|
-
# - "`malformedShippingAddress`"
|
5895
|
-
# - "`merchantDidNotShipOnTime`"
|
5896
|
-
# - "`noInventory`"
|
5897
|
-
# - "`orderTimeout`"
|
5898
|
-
# - "`other`"
|
5899
|
-
# - "`paymentAbuse`"
|
5900
|
-
# - "`paymentDeclined`"
|
5901
|
-
# - "`priceAdjustment`"
|
5902
|
-
# - "`priceError`"
|
5903
|
-
# - "`productArrivedDamaged`"
|
5904
|
-
# - "`productNotAsDescribed`"
|
5905
|
-
# - "`promoReallocation`"
|
5906
|
-
# - "`qualityNotAsExpected`"
|
5907
|
-
# - "`returnRefundAbuse`"
|
5908
|
-
# - "`shippingCostAdjustment`"
|
5909
|
-
# - "`shippingPriceError`"
|
5910
|
-
# - "`taxAdjustment`"
|
5911
|
-
# - "`taxError`"
|
5912
|
-
# - "`undeliverableShippingAddress`"
|
5913
|
-
# - "`unsupportedPoBoxAddress`"
|
5914
|
-
# - "`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`"
|
5915
5812
|
# Corresponds to the JSON property `reason`
|
5916
5813
|
# @return [String]
|
5917
5814
|
attr_accessor :reason
|
@@ -5936,21 +5833,13 @@ module Google
|
|
5936
5833
|
# @return [String]
|
5937
5834
|
attr_accessor :description
|
5938
5835
|
|
5939
|
-
# [required] Reason for the return.
|
5940
|
-
#
|
5941
|
-
# - "`
|
5942
|
-
# - "`
|
5943
|
-
# - "`
|
5944
|
-
# - "`
|
5945
|
-
#
|
5946
|
-
# - "`malformedShippingAddress`"
|
5947
|
-
# - "`other`"
|
5948
|
-
# - "`productArrivedDamaged`"
|
5949
|
-
# - "`productNotAsDescribed`"
|
5950
|
-
# - "`qualityNotAsExpected`"
|
5951
|
-
# - "`undeliverableShippingAddress`"
|
5952
|
-
# - "`unsupportedPoBoxAddress`"
|
5953
|
-
# - "`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`"
|
5954
5843
|
# Corresponds to the JSON property `reason`
|
5955
5844
|
# @return [String]
|
5956
5845
|
attr_accessor :reason
|
@@ -6054,10 +5943,8 @@ module Google
|
|
6054
5943
|
class OrderreturnsAcknowledgeResponse
|
6055
5944
|
include Google::Apis::Core::Hashable
|
6056
5945
|
|
6057
|
-
# The status of the execution.
|
6058
|
-
#
|
6059
|
-
# - "`duplicate`"
|
6060
|
-
# - "`executed`"
|
5946
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
5947
|
+
# executed`"
|
6061
5948
|
# Corresponds to the JSON property `executionStatus`
|
6062
5949
|
# @return [String]
|
6063
5950
|
attr_accessor :execution_status
|
@@ -6079,6 +5966,103 @@ module Google
|
|
6079
5966
|
end
|
6080
5967
|
end
|
6081
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
|
+
|
6082
6066
|
#
|
6083
6067
|
class OrderreturnsListResponse
|
6084
6068
|
include Google::Apis::Core::Hashable
|
@@ -6181,10 +6165,8 @@ module Google
|
|
6181
6165
|
class OrderreturnsProcessResponse
|
6182
6166
|
include Google::Apis::Core::Hashable
|
6183
6167
|
|
6184
|
-
# The status of the execution.
|
6185
|
-
#
|
6186
|
-
# - "`duplicate`"
|
6187
|
-
# - "`executed`"
|
6168
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6169
|
+
# executed`"
|
6188
6170
|
# Corresponds to the JSON property `executionStatus`
|
6189
6171
|
# @return [String]
|
6190
6172
|
attr_accessor :execution_status
|
@@ -6334,10 +6316,8 @@ module Google
|
|
6334
6316
|
class OrdersAcknowledgeResponse
|
6335
6317
|
include Google::Apis::Core::Hashable
|
6336
6318
|
|
6337
|
-
# The status of the execution.
|
6338
|
-
#
|
6339
|
-
# - "`duplicate`"
|
6340
|
-
# - "`executed`"
|
6319
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6320
|
+
# executed`"
|
6341
6321
|
# Corresponds to the JSON property `executionStatus`
|
6342
6322
|
# @return [String]
|
6343
6323
|
attr_accessor :execution_status
|
@@ -6404,18 +6384,10 @@ module Google
|
|
6404
6384
|
# @return [Fixnum]
|
6405
6385
|
attr_accessor :quantity
|
6406
6386
|
|
6407
|
-
# The reason for the cancellation.
|
6408
|
-
#
|
6409
|
-
# - "`
|
6410
|
-
# - "`
|
6411
|
-
# - "`malformedShippingAddress`"
|
6412
|
-
# - "`noInventory`"
|
6413
|
-
# - "`other`"
|
6414
|
-
# - "`priceError`"
|
6415
|
-
# - "`shippingPriceError`"
|
6416
|
-
# - "`taxError`"
|
6417
|
-
# - "`undeliverableShippingAddress`"
|
6418
|
-
# - "`unsupportedPoBoxAddress`"
|
6387
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
6388
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
6389
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
6390
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
6419
6391
|
# Corresponds to the JSON property `reason`
|
6420
6392
|
# @return [String]
|
6421
6393
|
attr_accessor :reason
|
@@ -6444,10 +6416,8 @@ module Google
|
|
6444
6416
|
class OrdersCancelLineItemResponse
|
6445
6417
|
include Google::Apis::Core::Hashable
|
6446
6418
|
|
6447
|
-
# The status of the execution.
|
6448
|
-
#
|
6449
|
-
# - "`duplicate`"
|
6450
|
-
# - "`executed`"
|
6419
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6420
|
+
# executed`"
|
6451
6421
|
# Corresponds to the JSON property `executionStatus`
|
6452
6422
|
# @return [String]
|
6453
6423
|
attr_accessor :execution_status
|
@@ -6478,18 +6448,10 @@ module Google
|
|
6478
6448
|
# @return [String]
|
6479
6449
|
attr_accessor :operation_id
|
6480
6450
|
|
6481
|
-
# The reason for the cancellation.
|
6482
|
-
#
|
6483
|
-
# - "`
|
6484
|
-
# - "`
|
6485
|
-
# - "`malformedShippingAddress`"
|
6486
|
-
# - "`noInventory`"
|
6487
|
-
# - "`other`"
|
6488
|
-
# - "`priceError`"
|
6489
|
-
# - "`shippingPriceError`"
|
6490
|
-
# - "`taxError`"
|
6491
|
-
# - "`undeliverableShippingAddress`"
|
6492
|
-
# - "`unsupportedPoBoxAddress`"
|
6451
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
6452
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
6453
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
6454
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
6493
6455
|
# Corresponds to the JSON property `reason`
|
6494
6456
|
# @return [String]
|
6495
6457
|
attr_accessor :reason
|
@@ -6515,10 +6477,8 @@ module Google
|
|
6515
6477
|
class OrdersCancelResponse
|
6516
6478
|
include Google::Apis::Core::Hashable
|
6517
6479
|
|
6518
|
-
# The status of the execution.
|
6519
|
-
#
|
6520
|
-
# - "`duplicate`"
|
6521
|
-
# - "`executed`"
|
6480
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6481
|
+
# executed`"
|
6522
6482
|
# Corresponds to the JSON property `executionStatus`
|
6523
6483
|
# @return [String]
|
6524
6484
|
attr_accessor :execution_status
|
@@ -6544,11 +6504,8 @@ module Google
|
|
6544
6504
|
class OrdersCancelTestOrderByCustomerRequest
|
6545
6505
|
include Google::Apis::Core::Hashable
|
6546
6506
|
|
6547
|
-
# The reason for the cancellation.
|
6548
|
-
#
|
6549
|
-
# - "`changedMind`"
|
6550
|
-
# - "`orderedWrongItem`"
|
6551
|
-
# - "`other`"
|
6507
|
+
# The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
|
6508
|
+
# orderedWrongItem`" - "`other`"
|
6552
6509
|
# Corresponds to the JSON property `reason`
|
6553
6510
|
# @return [String]
|
6554
6511
|
attr_accessor :reason
|
@@ -6587,25 +6544,18 @@ module Google
|
|
6587
6544
|
class OrdersCreateTestOrderRequest
|
6588
6545
|
include Google::Apis::Core::Hashable
|
6589
6546
|
|
6590
|
-
# The
|
6547
|
+
# The CLDR territory code of the country of the test order to create. Affects
|
6591
6548
|
# the currency and addresses of orders created via `template_name`, or the
|
6592
|
-
# addresses of orders created via `test_order`.
|
6593
|
-
#
|
6594
|
-
# - "`US`"
|
6595
|
-
# - "`FR`" Defaults to `US`.
|
6549
|
+
# addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
|
6550
|
+
# "`FR`" Defaults to `US`.
|
6596
6551
|
# Corresponds to the JSON property `country`
|
6597
6552
|
# @return [String]
|
6598
6553
|
attr_accessor :country
|
6599
6554
|
|
6600
6555
|
# The test order template to use. Specify as an alternative to `testOrder` as a
|
6601
6556
|
# shortcut for retrieving a template and then creating an order using that
|
6602
|
-
# template.
|
6603
|
-
#
|
6604
|
-
# - "`template1`"
|
6605
|
-
# - "`template1a`"
|
6606
|
-
# - "`template1b`"
|
6607
|
-
# - "`template2`"
|
6608
|
-
# - "`template3`"
|
6557
|
+
# template. Acceptable values are: - "`template1`" - "`template1a`" - "`
|
6558
|
+
# template1b`" - "`template2`" - "`template3`"
|
6609
6559
|
# Corresponds to the JSON property `templateName`
|
6610
6560
|
# @return [String]
|
6611
6561
|
attr_accessor :template_name
|
@@ -6804,7 +6754,7 @@ module Google
|
|
6804
6754
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
6805
6755
|
include Google::Apis::Core::Hashable
|
6806
6756
|
|
6807
|
-
# The carrier handling the shipment. See `shipments[].carrier` in the
|
6757
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
6808
6758
|
# resource representation for a list of acceptable values.
|
6809
6759
|
# Corresponds to the JSON property `carrier`
|
6810
6760
|
# @return [String]
|
@@ -6844,8 +6794,7 @@ module Google
|
|
6844
6794
|
attr_accessor :kind
|
6845
6795
|
|
6846
6796
|
# Order. Production access (all methods) requires the order manager role.
|
6847
|
-
# Sandbox access does not.
|
6848
|
-
# orders ==)
|
6797
|
+
# Sandbox access does not.
|
6849
6798
|
# Corresponds to the JSON property `order`
|
6850
6799
|
# @return [Google::Apis::ContentV2_1::Order]
|
6851
6800
|
attr_accessor :order
|
@@ -6918,21 +6867,13 @@ module Google
|
|
6918
6867
|
# @return [Fixnum]
|
6919
6868
|
attr_accessor :quantity
|
6920
6869
|
|
6921
|
-
# The reason for the return.
|
6922
|
-
#
|
6923
|
-
# - "`
|
6924
|
-
# - "`
|
6925
|
-
# - "`
|
6926
|
-
# - "`
|
6927
|
-
#
|
6928
|
-
# - "`malformedShippingAddress`"
|
6929
|
-
# - "`other`"
|
6930
|
-
# - "`productArrivedDamaged`"
|
6931
|
-
# - "`productNotAsDescribed`"
|
6932
|
-
# - "`qualityNotAsExpected`"
|
6933
|
-
# - "`undeliverableShippingAddress`"
|
6934
|
-
# - "`unsupportedPoBoxAddress`"
|
6935
|
-
# - "`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`"
|
6936
6877
|
# Corresponds to the JSON property `reason`
|
6937
6878
|
# @return [String]
|
6938
6879
|
attr_accessor :reason
|
@@ -6968,10 +6909,8 @@ module Google
|
|
6968
6909
|
class OrdersInStoreRefundLineItemResponse
|
6969
6910
|
include Google::Apis::Core::Hashable
|
6970
6911
|
|
6971
|
-
# The status of the execution.
|
6972
|
-
#
|
6973
|
-
# - "`duplicate`"
|
6974
|
-
# - "`executed`"
|
6912
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6913
|
+
# executed`"
|
6975
6914
|
# Corresponds to the JSON property `executionStatus`
|
6976
6915
|
# @return [String]
|
6977
6916
|
attr_accessor :execution_status
|
@@ -7040,22 +6979,12 @@ module Google
|
|
7040
6979
|
# @return [String]
|
7041
6980
|
attr_accessor :operation_id
|
7042
6981
|
|
7043
|
-
# The reason for the refund.
|
7044
|
-
#
|
7045
|
-
# - "`
|
7046
|
-
# - "`
|
7047
|
-
# - "`
|
7048
|
-
#
|
7049
|
-
# - "`courtesyAdjustment`"
|
7050
|
-
# - "`adjustment`"
|
7051
|
-
# - "`customerCancelled`"
|
7052
|
-
# - "`noInventory`"
|
7053
|
-
# - "`productNotAsDescribed`"
|
7054
|
-
# - "`undeliverableShippingAddress`"
|
7055
|
-
# - "`wrongProductShipped`"
|
7056
|
-
# - "`lateShipmentCredit`"
|
7057
|
-
# - "`deliveredLateByCarrier`"
|
7058
|
-
# - "`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`"
|
7059
6988
|
# Corresponds to the JSON property `reason`
|
7060
6989
|
# @return [String]
|
7061
6990
|
attr_accessor :reason
|
@@ -7089,10 +7018,8 @@ module Google
|
|
7089
7018
|
class OrdersRefundItemResponse
|
7090
7019
|
include Google::Apis::Core::Hashable
|
7091
7020
|
|
7092
|
-
# The status of the execution.
|
7093
|
-
#
|
7094
|
-
# - "`duplicate`"
|
7095
|
-
# - "`executed`"
|
7021
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7022
|
+
# executed`"
|
7096
7023
|
# Corresponds to the JSON property `executionStatus`
|
7097
7024
|
# @return [String]
|
7098
7025
|
attr_accessor :execution_status
|
@@ -7136,10 +7063,8 @@ module Google
|
|
7136
7063
|
# @return [String]
|
7137
7064
|
attr_accessor :operation_id
|
7138
7065
|
|
7139
|
-
# The reason for the refund.
|
7140
|
-
#
|
7141
|
-
# - "`courtesyAdjustment`"
|
7142
|
-
# - "`other`"
|
7066
|
+
# The reason for the refund. Acceptable values are: - "`courtesyAdjustment`" - "`
|
7067
|
+
# other`"
|
7143
7068
|
# Corresponds to the JSON property `reason`
|
7144
7069
|
# @return [String]
|
7145
7070
|
attr_accessor :reason
|
@@ -7167,10 +7092,8 @@ module Google
|
|
7167
7092
|
class OrdersRefundOrderResponse
|
7168
7093
|
include Google::Apis::Core::Hashable
|
7169
7094
|
|
7170
|
-
# The status of the execution.
|
7171
|
-
#
|
7172
|
-
# - "`duplicate`"
|
7173
|
-
# - "`executed`"
|
7095
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7096
|
+
# executed`"
|
7174
7097
|
# Corresponds to the JSON property `executionStatus`
|
7175
7098
|
# @return [String]
|
7176
7099
|
attr_accessor :execution_status
|
@@ -7217,13 +7140,8 @@ module Google
|
|
7217
7140
|
# @return [Fixnum]
|
7218
7141
|
attr_accessor :quantity
|
7219
7142
|
|
7220
|
-
# The reason for the return.
|
7221
|
-
#
|
7222
|
-
# - "`damagedOrUsed`"
|
7223
|
-
# - "`missingComponent`"
|
7224
|
-
# - "`notEligible`"
|
7225
|
-
# - "`other`"
|
7226
|
-
# - "`outOfReturnWindow`"
|
7143
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
7144
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
7227
7145
|
# Corresponds to the JSON property `reason`
|
7228
7146
|
# @return [String]
|
7229
7147
|
attr_accessor :reason
|
@@ -7252,10 +7170,8 @@ module Google
|
|
7252
7170
|
class OrdersRejectReturnLineItemResponse
|
7253
7171
|
include Google::Apis::Core::Hashable
|
7254
7172
|
|
7255
|
-
# The status of the execution.
|
7256
|
-
#
|
7257
|
-
# - "`duplicate`"
|
7258
|
-
# - "`executed`"
|
7173
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7174
|
+
# executed`"
|
7259
7175
|
# Corresponds to the JSON property `executionStatus`
|
7260
7176
|
# @return [String]
|
7261
7177
|
attr_accessor :execution_status
|
@@ -7308,21 +7224,13 @@ module Google
|
|
7308
7224
|
# @return [Fixnum]
|
7309
7225
|
attr_accessor :quantity
|
7310
7226
|
|
7311
|
-
# The reason for the return.
|
7312
|
-
#
|
7313
|
-
# - "`
|
7314
|
-
# - "`
|
7315
|
-
# - "`
|
7316
|
-
# - "`
|
7317
|
-
#
|
7318
|
-
# - "`malformedShippingAddress`"
|
7319
|
-
# - "`other`"
|
7320
|
-
# - "`productArrivedDamaged`"
|
7321
|
-
# - "`productNotAsDescribed`"
|
7322
|
-
# - "`qualityNotAsExpected`"
|
7323
|
-
# - "`undeliverableShippingAddress`"
|
7324
|
-
# - "`unsupportedPoBoxAddress`"
|
7325
|
-
# - "`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`"
|
7326
7234
|
# Corresponds to the JSON property `reason`
|
7327
7235
|
# @return [String]
|
7328
7236
|
attr_accessor :reason
|
@@ -7359,10 +7267,8 @@ module Google
|
|
7359
7267
|
class OrdersReturnRefundLineItemResponse
|
7360
7268
|
include Google::Apis::Core::Hashable
|
7361
7269
|
|
7362
|
-
# The status of the execution.
|
7363
|
-
#
|
7364
|
-
# - "`duplicate`"
|
7365
|
-
# - "`executed`"
|
7270
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7271
|
+
# executed`"
|
7366
7272
|
# Corresponds to the JSON property `executionStatus`
|
7367
7273
|
# @return [String]
|
7368
7274
|
attr_accessor :execution_status
|
@@ -7427,10 +7333,8 @@ module Google
|
|
7427
7333
|
class OrdersSetLineItemMetadataResponse
|
7428
7334
|
include Google::Apis::Core::Hashable
|
7429
7335
|
|
7430
|
-
# The status of the execution.
|
7431
|
-
#
|
7432
|
-
# - "`duplicate`"
|
7433
|
-
# - "`executed`"
|
7336
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7337
|
+
# executed`"
|
7434
7338
|
# Corresponds to the JSON property `executionStatus`
|
7435
7339
|
# @return [String]
|
7436
7340
|
attr_accessor :execution_status
|
@@ -7495,10 +7399,8 @@ module Google
|
|
7495
7399
|
class OrdersShipLineItemsResponse
|
7496
7400
|
include Google::Apis::Core::Hashable
|
7497
7401
|
|
7498
|
-
# The status of the execution.
|
7499
|
-
#
|
7500
|
-
# - "`duplicate`"
|
7501
|
-
# - "`executed`"
|
7402
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7403
|
+
# executed`"
|
7502
7404
|
# Corresponds to the JSON property `executionStatus`
|
7503
7405
|
# @return [String]
|
7504
7406
|
attr_accessor :execution_status
|
@@ -7525,9 +7427,8 @@ module Google
|
|
7525
7427
|
include Google::Apis::Core::Hashable
|
7526
7428
|
|
7527
7429
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
7528
|
-
# date is updated.
|
7529
|
-
#
|
7530
|
-
# past.
|
7430
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
7431
|
+
# be a date in the past.
|
7531
7432
|
# Corresponds to the JSON property `deliverByDate`
|
7532
7433
|
# @return [String]
|
7533
7434
|
attr_accessor :deliver_by_date
|
@@ -7550,9 +7451,8 @@ module Google
|
|
7550
7451
|
attr_accessor :product_id
|
7551
7452
|
|
7552
7453
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
7553
|
-
# date is updated.
|
7554
|
-
#
|
7555
|
-
# past.
|
7454
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
7455
|
+
# be a date in the past.
|
7556
7456
|
# Corresponds to the JSON property `shipByDate`
|
7557
7457
|
# @return [String]
|
7558
7458
|
attr_accessor :ship_by_date
|
@@ -7575,10 +7475,8 @@ module Google
|
|
7575
7475
|
class OrdersUpdateLineItemShippingDetailsResponse
|
7576
7476
|
include Google::Apis::Core::Hashable
|
7577
7477
|
|
7578
|
-
# The status of the execution.
|
7579
|
-
#
|
7580
|
-
# - "`duplicate`"
|
7581
|
-
# - "`executed`"
|
7478
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7479
|
+
# executed`"
|
7582
7480
|
# Corresponds to the JSON property `executionStatus`
|
7583
7481
|
# @return [String]
|
7584
7482
|
attr_accessor :execution_status
|
@@ -7629,10 +7527,8 @@ module Google
|
|
7629
7527
|
class OrdersUpdateMerchantOrderIdResponse
|
7630
7528
|
include Google::Apis::Core::Hashable
|
7631
7529
|
|
7632
|
-
# The status of the execution.
|
7633
|
-
#
|
7634
|
-
# - "`duplicate`"
|
7635
|
-
# - "`executed`"
|
7530
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7531
|
+
# executed`"
|
7636
7532
|
# Corresponds to the JSON property `executionStatus`
|
7637
7533
|
# @return [String]
|
7638
7534
|
attr_accessor :execution_status
|
@@ -7659,8 +7555,7 @@ module Google
|
|
7659
7555
|
include Google::Apis::Core::Hashable
|
7660
7556
|
|
7661
7557
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
7662
|
-
# carrier` in the
|
7663
|
-
# values.
|
7558
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
7664
7559
|
# Corresponds to the JSON property `carrier`
|
7665
7560
|
# @return [String]
|
7666
7561
|
attr_accessor :carrier
|
@@ -7694,11 +7589,8 @@ module Google
|
|
7694
7589
|
# @return [String]
|
7695
7590
|
attr_accessor :shipment_id
|
7696
7591
|
|
7697
|
-
# New status for the shipment. Not updated if missing.
|
7698
|
-
#
|
7699
|
-
# - "`delivered`"
|
7700
|
-
# - "`undeliverable`"
|
7701
|
-
# - "`readyForPickup`"
|
7592
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
7593
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
7702
7594
|
# Corresponds to the JSON property `status`
|
7703
7595
|
# @return [String]
|
7704
7596
|
attr_accessor :status
|
@@ -7736,10 +7628,8 @@ module Google
|
|
7736
7628
|
class OrdersUpdateShipmentResponse
|
7737
7629
|
include Google::Apis::Core::Hashable
|
7738
7630
|
|
7739
|
-
# The status of the execution.
|
7740
|
-
#
|
7741
|
-
# - "`duplicate`"
|
7742
|
-
# - "`executed`"
|
7631
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7632
|
+
# executed`"
|
7743
7633
|
# Corresponds to the JSON property `executionStatus`
|
7744
7634
|
# @return [String]
|
7745
7635
|
attr_accessor :execution_status
|
@@ -7855,13 +7745,8 @@ module Google
|
|
7855
7745
|
# @return [Fixnum]
|
7856
7746
|
attr_accessor :merchant_id
|
7857
7747
|
|
7858
|
-
# The method of the batch entry.
|
7859
|
-
#
|
7860
|
-
# - "`delete`"
|
7861
|
-
# - "`get`"
|
7862
|
-
# - "`insert`"
|
7863
|
-
# - "`inventory`"
|
7864
|
-
# - "`sale`"
|
7748
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
7749
|
+
# "`insert`" - "`inventory`" - "`sale`"
|
7865
7750
|
# Corresponds to the JSON property `method`
|
7866
7751
|
# @return [String]
|
7867
7752
|
attr_accessor :method_prop
|
@@ -8605,12 +8490,11 @@ module Google
|
|
8605
8490
|
end
|
8606
8491
|
|
8607
8492
|
# Required product attributes are primarily defined by the products data
|
8608
|
-
# specification. See the
|
8609
|
-
# information.
|
8610
|
-
#
|
8611
|
-
#
|
8612
|
-
#
|
8613
|
-
# 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.
|
8614
8498
|
class Product
|
8615
8499
|
include Google::Apis::Core::Hashable
|
8616
8500
|
|
@@ -8667,10 +8551,8 @@ module Google
|
|
8667
8551
|
# @return [String]
|
8668
8552
|
attr_accessor :canonical_link
|
8669
8553
|
|
8670
|
-
# Required. The item's channel (online or local).
|
8671
|
-
#
|
8672
|
-
# - "`local`"
|
8673
|
-
# - "`online`"
|
8554
|
+
# Required. The item's channel (online or local). Acceptable values are: - "`
|
8555
|
+
# local`" - "`online`"
|
8674
8556
|
# Corresponds to the JSON property `channel`
|
8675
8557
|
# @return [String]
|
8676
8558
|
attr_accessor :channel
|
@@ -8794,9 +8676,8 @@ module Google
|
|
8794
8676
|
attr_accessor :gtin
|
8795
8677
|
|
8796
8678
|
# The REST ID of the product. Content API methods that operate on products take
|
8797
|
-
# this as their `productId` parameter.
|
8798
|
-
#
|
8799
|
-
# offerId.
|
8679
|
+
# this as their `productId` parameter. The REST ID for a product is of the form
|
8680
|
+
# channel:contentLanguage: targetCountry: offerId.
|
8800
8681
|
# Corresponds to the JSON property `id`
|
8801
8682
|
# @return [String]
|
8802
8683
|
attr_accessor :id
|
@@ -8897,9 +8778,8 @@ module Google
|
|
8897
8778
|
# Required. A unique identifier for the item. Leading and trailing whitespaces
|
8898
8779
|
# are stripped and multiple whitespaces are replaced by a single whitespace upon
|
8899
8780
|
# submission. Only valid unicode characters are accepted. See the products feed
|
8900
|
-
# specification for details.
|
8901
|
-
#
|
8902
|
-
# 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.
|
8903
8783
|
# Corresponds to the JSON property `offerId`
|
8904
8784
|
# @return [String]
|
8905
8785
|
attr_accessor :offer_id
|
@@ -8939,7 +8819,7 @@ module Google
|
|
8939
8819
|
# @return [Google::Apis::ContentV2_1::Price]
|
8940
8820
|
attr_accessor :sale_price
|
8941
8821
|
|
8942
|
-
# 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 ).
|
8943
8823
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
8944
8824
|
# @return [String]
|
8945
8825
|
attr_accessor :sale_price_effective_date
|
@@ -9005,11 +8885,8 @@ module Google
|
|
9005
8885
|
# @return [Array<String>]
|
9006
8886
|
attr_accessor :sizes
|
9007
8887
|
|
9008
|
-
# The source of the offer, i.e., how the offer was created.
|
9009
|
-
#
|
9010
|
-
# - "`api`"
|
9011
|
-
# - "`crawl`"
|
9012
|
-
# - "`feed`"
|
8888
|
+
# The source of the offer, i.e., how the offer was created. Acceptable values
|
8889
|
+
# are: - "`api`" - "`crawl`" - "`feed`"
|
9013
8890
|
# Corresponds to the JSON property `source`
|
9014
8891
|
# @return [String]
|
9015
8892
|
attr_accessor :source
|
@@ -9668,22 +9545,18 @@ module Google
|
|
9668
9545
|
# @return [Fixnum]
|
9669
9546
|
attr_accessor :merchant_id
|
9670
9547
|
|
9671
|
-
# The method of the batch entry.
|
9672
|
-
#
|
9673
|
-
# - "`delete`"
|
9674
|
-
# - "`get`"
|
9675
|
-
# - "`insert`"
|
9548
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
9549
|
+
# "`insert`"
|
9676
9550
|
# Corresponds to the JSON property `method`
|
9677
9551
|
# @return [String]
|
9678
9552
|
attr_accessor :method_prop
|
9679
9553
|
|
9680
9554
|
# Required product attributes are primarily defined by the products data
|
9681
|
-
# specification. See the
|
9682
|
-
# information.
|
9683
|
-
#
|
9684
|
-
#
|
9685
|
-
#
|
9686
|
-
# 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.
|
9687
9560
|
# Corresponds to the JSON property `product`
|
9688
9561
|
# @return [Google::Apis::ContentV2_1::Product]
|
9689
9562
|
attr_accessor :product
|
@@ -9756,12 +9629,11 @@ module Google
|
|
9756
9629
|
attr_accessor :kind
|
9757
9630
|
|
9758
9631
|
# Required product attributes are primarily defined by the products data
|
9759
|
-
# specification. See the
|
9760
|
-
# information.
|
9761
|
-
#
|
9762
|
-
#
|
9763
|
-
#
|
9764
|
-
# 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.
|
9765
9637
|
# Corresponds to the JSON property `product`
|
9766
9638
|
# @return [Google::Apis::ContentV2_1::Product]
|
9767
9639
|
attr_accessor :product
|
@@ -9856,9 +9728,7 @@ module Google
|
|
9856
9728
|
# @return [Fixnum]
|
9857
9729
|
attr_accessor :merchant_id
|
9858
9730
|
|
9859
|
-
# The method of the batch entry.
|
9860
|
-
# Acceptable values are:
|
9861
|
-
# - "`get`"
|
9731
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
9862
9732
|
# Corresponds to the JSON property `method`
|
9863
9733
|
# @return [String]
|
9864
9734
|
attr_accessor :method_prop
|
@@ -9981,8 +9851,7 @@ module Google
|
|
9981
9851
|
end
|
9982
9852
|
|
9983
9853
|
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
9984
|
-
# direct user of the merchant center account.
|
9985
|
-
# pubsubnotificationsettings ==)
|
9854
|
+
# direct user of the merchant center account.
|
9986
9855
|
class PubsubNotificationSettings
|
9987
9856
|
include Google::Apis::Core::Hashable
|
9988
9857
|
|
@@ -9997,9 +9866,7 @@ module Google
|
|
9997
9866
|
# @return [String]
|
9998
9867
|
attr_accessor :kind
|
9999
9868
|
|
10000
|
-
# List of event types.
|
10001
|
-
# Acceptable values are:
|
10002
|
-
# - "`orderPendingShipment`"
|
9869
|
+
# List of event types. Acceptable values are: - "`orderPendingShipment`"
|
10003
9870
|
# Corresponds to the JSON property `registeredEvents`
|
10004
9871
|
# @return [Array<String>]
|
10005
9872
|
attr_accessor :registered_events
|
@@ -10083,52 +9950,23 @@ module Google
|
|
10083
9950
|
# @return [String]
|
10084
9951
|
attr_accessor :description
|
10085
9952
|
|
10086
|
-
# Code of the refund reason.
|
10087
|
-
#
|
10088
|
-
# - "`
|
10089
|
-
# - "`
|
10090
|
-
# - "`
|
10091
|
-
# - "`
|
10092
|
-
# - "`
|
10093
|
-
# - "`
|
10094
|
-
# - "`
|
10095
|
-
# - "`
|
10096
|
-
# - "`
|
10097
|
-
# - "`
|
10098
|
-
# - "`
|
10099
|
-
# - "`
|
10100
|
-
# - "`
|
10101
|
-
# - "`
|
10102
|
-
# - "`
|
10103
|
-
# - "`failToPushOrderGoogleError`"
|
10104
|
-
# - "`failToPushOrderMerchantError`"
|
10105
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
10106
|
-
# - "`failToPushOrderToMerchant`"
|
10107
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
10108
|
-
# - "`feeAdjustment`"
|
10109
|
-
# - "`invalidCoupon`"
|
10110
|
-
# - "`lateShipmentCredit`"
|
10111
|
-
# - "`malformedShippingAddress`"
|
10112
|
-
# - "`merchantDidNotShipOnTime`"
|
10113
|
-
# - "`noInventory`"
|
10114
|
-
# - "`orderTimeout`"
|
10115
|
-
# - "`other`"
|
10116
|
-
# - "`paymentAbuse`"
|
10117
|
-
# - "`paymentDeclined`"
|
10118
|
-
# - "`priceAdjustment`"
|
10119
|
-
# - "`priceError`"
|
10120
|
-
# - "`productArrivedDamaged`"
|
10121
|
-
# - "`productNotAsDescribed`"
|
10122
|
-
# - "`promoReallocation`"
|
10123
|
-
# - "`qualityNotAsExpected`"
|
10124
|
-
# - "`returnRefundAbuse`"
|
10125
|
-
# - "`shippingCostAdjustment`"
|
10126
|
-
# - "`shippingPriceError`"
|
10127
|
-
# - "`taxAdjustment`"
|
10128
|
-
# - "`taxError`"
|
10129
|
-
# - "`undeliverableShippingAddress`"
|
10130
|
-
# - "`unsupportedPoBoxAddress`"
|
10131
|
-
# - "`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`"
|
10132
9970
|
# Corresponds to the JSON property `reasonCode`
|
10133
9971
|
# @return [String]
|
10134
9972
|
attr_accessor :reason_code
|
@@ -10237,9 +10075,7 @@ module Google
|
|
10237
10075
|
# @return [Fixnum]
|
10238
10076
|
attr_accessor :merchant_id
|
10239
10077
|
|
10240
|
-
# Method of the batch request entry.
|
10241
|
-
# Acceptable values are:
|
10242
|
-
# - "`insert`"
|
10078
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
10243
10079
|
# Corresponds to the JSON property `method`
|
10244
10080
|
# @return [String]
|
10245
10081
|
attr_accessor :method_prop
|
@@ -10334,6 +10170,275 @@ module Google
|
|
10334
10170
|
end
|
10335
10171
|
end
|
10336
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
|
+
|
10337
10442
|
# Return address resource.
|
10338
10443
|
class ReturnAddress
|
10339
10444
|
include Google::Apis::Core::Hashable
|
@@ -10527,12 +10632,8 @@ module Google
|
|
10527
10632
|
# most items a minimum of 30 days is required for returns. Exceptions may be
|
10528
10633
|
# made for electronics or non-returnable items such as food, perishables, and
|
10529
10634
|
# living things. A policy of less than 30 days can only be applied to those
|
10530
|
-
# items.
|
10531
|
-
#
|
10532
|
-
# - "`lastReturnDate`"
|
10533
|
-
# - "`lifetimeReturns`"
|
10534
|
-
# - "`noReturns`"
|
10535
|
-
# - "`numberOfDaysAfterDelivery`"
|
10635
|
+
# items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
|
10636
|
+
# noReturns`" - "`numberOfDaysAfterDelivery`"
|
10536
10637
|
# Corresponds to the JSON property `type`
|
10537
10638
|
# @return [String]
|
10538
10639
|
attr_accessor :type
|
@@ -10651,11 +10752,8 @@ module Google
|
|
10651
10752
|
# @return [String]
|
10652
10753
|
attr_accessor :delivery_date
|
10653
10754
|
|
10654
|
-
# Type of the return method.
|
10655
|
-
#
|
10656
|
-
# - "`byMail`"
|
10657
|
-
# - "`contactCustomerSupport`"
|
10658
|
-
# - "`returnless`"
|
10755
|
+
# Type of the return method. Acceptable values are: - "`byMail`" - "`
|
10756
|
+
# contactCustomerSupport`" - "`returnless`"
|
10659
10757
|
# Corresponds to the JSON property `returnMethodType`
|
10660
10758
|
# @return [String]
|
10661
10759
|
attr_accessor :return_method_type
|
@@ -10676,13 +10774,8 @@ module Google
|
|
10676
10774
|
# @return [String]
|
10677
10775
|
attr_accessor :shipping_date
|
10678
10776
|
|
10679
|
-
# State of the shipment.
|
10680
|
-
#
|
10681
|
-
# - "`completed`"
|
10682
|
-
# - "`new`"
|
10683
|
-
# - "`shipped`"
|
10684
|
-
# - "`undeliverable`"
|
10685
|
-
# - "`pending`"
|
10777
|
+
# State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
|
10778
|
+
# shipped`" - "`undeliverable`" - "`pending`"
|
10686
10779
|
# Corresponds to the JSON property `state`
|
10687
10780
|
# @return [String]
|
10688
10781
|
attr_accessor :state
|
@@ -10736,11 +10829,8 @@ module Google
|
|
10736
10829
|
# @return [Fixnum]
|
10737
10830
|
attr_accessor :merchant_id
|
10738
10831
|
|
10739
|
-
# Method of the batch request entry.
|
10740
|
-
#
|
10741
|
-
# - "`delete`"
|
10742
|
-
# - "`get`"
|
10743
|
-
# - "`insert`"
|
10832
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
10833
|
+
# " - "`insert`"
|
10744
10834
|
# Corresponds to the JSON property `method`
|
10745
10835
|
# @return [String]
|
10746
10836
|
attr_accessor :method_prop
|
@@ -10898,11 +10988,8 @@ module Google
|
|
10898
10988
|
# @return [Fixnum]
|
10899
10989
|
attr_accessor :merchant_id
|
10900
10990
|
|
10901
|
-
# Method of the batch request entry.
|
10902
|
-
#
|
10903
|
-
# - "`delete`"
|
10904
|
-
# - "`get`"
|
10905
|
-
# - "`insert`"
|
10991
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
10992
|
+
# " - "`insert`"
|
10906
10993
|
# Corresponds to the JSON property `method`
|
10907
10994
|
# @return [String]
|
10908
10995
|
attr_accessor :method_prop
|
@@ -11069,11 +11156,8 @@ module Google
|
|
11069
11156
|
# @return [Google::Apis::ContentV2_1::DeliveryTime]
|
11070
11157
|
attr_accessor :delivery_time
|
11071
11158
|
|
11072
|
-
# Eligibility for this service.
|
11073
|
-
#
|
11074
|
-
# - "`All scenarios`"
|
11075
|
-
# - "`All scenarios except Shopping Actions`"
|
11076
|
-
# - "`Shopping Actions`"
|
11159
|
+
# Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
|
11160
|
+
# All scenarios except Shopping Actions`" - "`Shopping Actions`"
|
11077
11161
|
# Corresponds to the JSON property `eligibility`
|
11078
11162
|
# @return [String]
|
11079
11163
|
attr_accessor :eligibility
|
@@ -11110,10 +11194,8 @@ module Google
|
|
11110
11194
|
# @return [Array<Google::Apis::ContentV2_1::RateGroup>]
|
11111
11195
|
attr_accessor :rate_groups
|
11112
11196
|
|
11113
|
-
# Type of locations this service ships orders to.
|
11114
|
-
#
|
11115
|
-
# - "`delivery`"
|
11116
|
-
# - "`pickup`"
|
11197
|
+
# Type of locations this service ships orders to. Acceptable values are: - "`
|
11198
|
+
# delivery`" - "`pickup`"
|
11117
11199
|
# Corresponds to the JSON property `shipmentType`
|
11118
11200
|
# @return [String]
|
11119
11201
|
attr_accessor :shipment_type
|
@@ -11206,8 +11288,7 @@ module Google
|
|
11206
11288
|
end
|
11207
11289
|
end
|
11208
11290
|
|
11209
|
-
# Settlement transactions give a detailed breakdown of the
|
11210
|
-
# = resource_for v2.1.settlementtransactions ==)
|
11291
|
+
# Settlement transactions give a detailed breakdown of the settlement report.
|
11211
11292
|
class SettlementTransaction
|
11212
11293
|
include Google::Apis::Core::Hashable
|
11213
11294
|
|
@@ -11254,49 +11335,21 @@ module Google
|
|
11254
11335
|
# @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
|
11255
11336
|
attr_accessor :commission
|
11256
11337
|
|
11257
|
-
# The description of the event.
|
11258
|
-
#
|
11259
|
-
# - "`
|
11260
|
-
# - "`
|
11261
|
-
# - "`
|
11262
|
-
# - "`
|
11263
|
-
# - "`
|
11264
|
-
# - "`
|
11265
|
-
# - "`
|
11266
|
-
# - "`
|
11267
|
-
# - "`
|
11268
|
-
# - "`
|
11269
|
-
# - "`
|
11270
|
-
# - "`
|
11271
|
-
# - "`
|
11272
|
-
# - "`furnitureEcoFee`"
|
11273
|
-
# - "`copyPrivateFee`"
|
11274
|
-
# - "`eeeEcoFeeCommission`"
|
11275
|
-
# - "`furnitureEcoFeeCommission`"
|
11276
|
-
# - "`copyPrivateFeeCommission`"
|
11277
|
-
# - "`principalRefund`"
|
11278
|
-
# - "`principalRefundTax`"
|
11279
|
-
# - "`itemCommission`"
|
11280
|
-
# - "`adjustmentCommission`"
|
11281
|
-
# - "`shippingFeeCommission`"
|
11282
|
-
# - "`commissionRefund`"
|
11283
|
-
# - "`damaged`"
|
11284
|
-
# - "`damagedOrDefectiveItem`"
|
11285
|
-
# - "`expiredItem`"
|
11286
|
-
# - "`faultyItem`"
|
11287
|
-
# - "`incorrectItemReceived`"
|
11288
|
-
# - "`itemMissing`"
|
11289
|
-
# - "`qualityNotExpected`"
|
11290
|
-
# - "`receivedTooLate`"
|
11291
|
-
# - "`storePackageMissing`"
|
11292
|
-
# - "`transitPackageMissing`"
|
11293
|
-
# - "`unsuccessfulDeliveryUndeliverable`"
|
11294
|
-
# - "`wrongChargeInStore`"
|
11295
|
-
# - "`wrongItem`"
|
11296
|
-
# - "`returns`"
|
11297
|
-
# - "`undeliverable`"
|
11298
|
-
# - "`refundFromMerchant`"
|
11299
|
-
# - "`returnLabelShippingFee`"
|
11338
|
+
# The description of the event. Acceptable values are: - "`taxWithhold`" - "`
|
11339
|
+
# principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
|
11340
|
+
# merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
|
11341
|
+
# "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
|
11342
|
+
# googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
|
11343
|
+
# googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
|
11344
|
+
# copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
|
11345
|
+
# copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
|
11346
|
+
# itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
|
11347
|
+
# commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
|
11348
|
+
# - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
|
11349
|
+
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
11350
|
+
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
11351
|
+
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
11352
|
+
# refundFromMerchant`" - "`returnLabelShippingFee`"
|
11300
11353
|
# Corresponds to the JSON property `description`
|
11301
11354
|
# @return [String]
|
11302
11355
|
attr_accessor :description
|
@@ -11306,15 +11359,9 @@ module Google
|
|
11306
11359
|
# @return [Google::Apis::ContentV2_1::Price]
|
11307
11360
|
attr_accessor :transaction_amount
|
11308
11361
|
|
11309
|
-
# The type of the amount.
|
11310
|
-
#
|
11311
|
-
#
|
11312
|
-
# - "`orderPrice`"
|
11313
|
-
# - "`refund`"
|
11314
|
-
# - "`earlyRefund`"
|
11315
|
-
# - "`courtesyRefund`"
|
11316
|
-
# - "`returnRefund`"
|
11317
|
-
# - "`returnLabelShippingFeeAmount`"
|
11362
|
+
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
11363
|
+
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
11364
|
+
# returnLabelShippingFeeAmount`"
|
11318
11365
|
# Corresponds to the JSON property `type`
|
11319
11366
|
# @return [String]
|
11320
11367
|
attr_accessor :type
|
@@ -11336,52 +11383,21 @@ module Google
|
|
11336
11383
|
class SettlementTransactionAmountCommission
|
11337
11384
|
include Google::Apis::Core::Hashable
|
11338
11385
|
|
11339
|
-
# The category of the commission.
|
11340
|
-
#
|
11341
|
-
# - "`
|
11342
|
-
# - "`
|
11343
|
-
# - "`
|
11344
|
-
# - "`
|
11345
|
-
# - "`
|
11346
|
-
# - "`
|
11347
|
-
# - "`
|
11348
|
-
# - "`
|
11349
|
-
# - "`
|
11350
|
-
# - "`
|
11351
|
-
# - "`
|
11352
|
-
# - "`
|
11353
|
-
#
|
11354
|
-
# - "`toysAndGames`"
|
11355
|
-
# - "`musicalInstruments`"
|
11356
|
-
# - "`giftCards`"
|
11357
|
-
# - "`babyAndToddler`"
|
11358
|
-
# - "`babyFoodWipesAndDiapers`"
|
11359
|
-
# - "`businessAndIndustrial`"
|
11360
|
-
# - "`camerasOpticsAndPhotography`"
|
11361
|
-
# - "`consumerElectronics`"
|
11362
|
-
# - "`electronicsAccessories`"
|
11363
|
-
# - "`personalComputers`"
|
11364
|
-
# - "`videoGameConsoles`"
|
11365
|
-
# - "`foodAndGrocery`"
|
11366
|
-
# - "`beverages`"
|
11367
|
-
# - "`tobaccoProducts`"
|
11368
|
-
# - "`furniture`"
|
11369
|
-
# - "`hardware`"
|
11370
|
-
# - "`buildingMaterials`"
|
11371
|
-
# - "`tools`"
|
11372
|
-
# - "`healthAndPersonalCare`"
|
11373
|
-
# - "`beauty`"
|
11374
|
-
# - "`householdSupplies`"
|
11375
|
-
# - "`kitchenAndDining`"
|
11376
|
-
# - "`majorAppliances`"
|
11377
|
-
# - "`luggageAndBags`"
|
11378
|
-
# - "`media`"
|
11379
|
-
# - "`officeSupplies`"
|
11380
|
-
# - "`softwareAndVideoGames`"
|
11381
|
-
# - "`vehiclePartsAndAccessories`"
|
11382
|
-
# - "`vehicleTiresAndWheels`"
|
11383
|
-
# - "`vehicles`"
|
11384
|
-
# - "`everythingElse`"
|
11386
|
+
# The category of the commission. Acceptable values are: - "`
|
11387
|
+
# animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
|
11388
|
+
# " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
|
11389
|
+
# "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
|
11390
|
+
# entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
|
11391
|
+
# `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
|
11392
|
+
# "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
|
11393
|
+
# "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
|
11394
|
+
# electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
|
11395
|
+
# foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
|
11396
|
+
# hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
|
11397
|
+
# beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
|
11398
|
+
# "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
|
11399
|
+
# " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
|
11400
|
+
# "`everythingElse`"
|
11385
11401
|
# Corresponds to the JSON property `category`
|
11386
11402
|
# @return [String]
|
11387
11403
|
attr_accessor :category
|
@@ -11460,16 +11476,11 @@ module Google
|
|
11460
11476
|
# @return [String]
|
11461
11477
|
attr_accessor :post_date
|
11462
11478
|
|
11463
|
-
# The type of the transaction that occurred.
|
11464
|
-
#
|
11465
|
-
# - "`
|
11466
|
-
# - "`
|
11467
|
-
#
|
11468
|
-
# - "`reversalRefund`"
|
11469
|
-
# - "`issueRelatedRefundAndReplacement`"
|
11470
|
-
# - "`returnLabelShippingFeeTransaction`"
|
11471
|
-
# - "`reversalIssueRelatedRefundAndReplacement`"
|
11472
|
-
# - "`reversalReturnLabelShippingFeeTransaction`"
|
11479
|
+
# The type of the transaction that occurred. Acceptable values are: - "`order`" -
|
11480
|
+
# "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
|
11481
|
+
# issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
|
11482
|
+
# reversalIssueRelatedRefundAndReplacement`" - "`
|
11483
|
+
# reversalReturnLabelShippingFeeTransaction`"
|
11473
11484
|
# Corresponds to the JSON property `type`
|
11474
11485
|
# @return [String]
|
11475
11486
|
attr_accessor :type
|
@@ -11627,38 +11638,13 @@ module Google
|
|
11627
11638
|
class ShipmentTrackingInfo
|
11628
11639
|
include Google::Apis::Core::Hashable
|
11629
11640
|
|
11630
|
-
# The shipping carrier that handles the package.
|
11631
|
-
#
|
11632
|
-
# - "`
|
11633
|
-
# - "`
|
11634
|
-
# - "`
|
11635
|
-
# - "`
|
11636
|
-
#
|
11637
|
-
# - "`cxt`"
|
11638
|
-
# - "`deliv`"
|
11639
|
-
# - "`dhl`"
|
11640
|
-
# - "`dpd`"
|
11641
|
-
# - "`dynamex`"
|
11642
|
-
# - "`eCourier`"
|
11643
|
-
# - "`easypost`"
|
11644
|
-
# - "`efw`"
|
11645
|
-
# - "`fedex`"
|
11646
|
-
# - "`fedexSmartpost`"
|
11647
|
-
# - "`geodis`"
|
11648
|
-
# - "`gls`"
|
11649
|
-
# - "`googleCourier`"
|
11650
|
-
# - "`gsx`"
|
11651
|
-
# - "`jdLogistics`"
|
11652
|
-
# - "`laPoste`"
|
11653
|
-
# - "`lasership`"
|
11654
|
-
# - "`manual`"
|
11655
|
-
# - "`mpx`"
|
11656
|
-
# - "`onTrac`"
|
11657
|
-
# - "`other`"
|
11658
|
-
# - "`tnt`"
|
11659
|
-
# - "`uds`"
|
11660
|
-
# - "`ups`"
|
11661
|
-
# - "`usps`"
|
11641
|
+
# The shipping carrier that handles the package. Acceptable values are: - "`
|
11642
|
+
# boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
|
11643
|
+
# " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
|
11644
|
+
# "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
|
11645
|
+
# googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
|
11646
|
+
# manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
|
11647
|
+
# usps`"
|
11662
11648
|
# Corresponds to the JSON property `carrier`
|
11663
11649
|
# @return [String]
|
11664
11650
|
attr_accessor :carrier
|
@@ -11750,10 +11736,7 @@ module Google
|
|
11750
11736
|
# @return [Fixnum]
|
11751
11737
|
attr_accessor :merchant_id
|
11752
11738
|
|
11753
|
-
# The method of the batch entry.
|
11754
|
-
# Acceptable values are:
|
11755
|
-
# - "`get`"
|
11756
|
-
# - "`update`"
|
11739
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
11757
11740
|
# Corresponds to the JSON property `method`
|
11758
11741
|
# @return [String]
|
11759
11742
|
attr_accessor :method_prop
|
@@ -12029,40 +12012,28 @@ module Google
|
|
12029
12012
|
# @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
|
12030
12013
|
attr_accessor :pickup_details
|
12031
12014
|
|
12032
|
-
# Required. The billing address.
|
12033
|
-
#
|
12034
|
-
# - "`dwight`"
|
12035
|
-
# - "`jim`"
|
12036
|
-
# - "`pam`"
|
12015
|
+
# Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" -
|
12016
|
+
# "`pam`"
|
12037
12017
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
12038
12018
|
# @return [String]
|
12039
12019
|
attr_accessor :predefined_billing_address
|
12040
12020
|
|
12041
12021
|
# Required. Identifier of one of the predefined delivery addresses for the
|
12042
|
-
# delivery.
|
12043
|
-
# Acceptable values are:
|
12044
|
-
# - "`dwight`"
|
12045
|
-
# - "`jim`"
|
12046
|
-
# - "`pam`"
|
12022
|
+
# delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
12047
12023
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
12048
12024
|
# @return [String]
|
12049
12025
|
attr_accessor :predefined_delivery_address
|
12050
12026
|
|
12051
|
-
# Required. Email address of the customer.
|
12052
|
-
#
|
12053
|
-
#
|
12054
|
-
# - "`pog.jim.halpert@gmail.com`"
|
12055
|
-
# - "`penpog.pam.beesly@gmail.comding`"
|
12027
|
+
# Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
|
12028
|
+
# schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
|
12029
|
+
# gmail.comding`"
|
12056
12030
|
# Corresponds to the JSON property `predefinedEmail`
|
12057
12031
|
# @return [String]
|
12058
12032
|
attr_accessor :predefined_email
|
12059
12033
|
|
12060
12034
|
# Identifier of one of the predefined pickup details. Required for orders
|
12061
|
-
# containing line items with shipping type `pickup`.
|
12062
|
-
#
|
12063
|
-
# - "`dwight`"
|
12064
|
-
# - "`jim`"
|
12065
|
-
# - "`pam`"
|
12035
|
+
# containing line items with shipping type `pickup`. Acceptable values are: - "`
|
12036
|
+
# dwight`" - "`jim`" - "`pam`"
|
12066
12037
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
12067
12038
|
# @return [String]
|
12068
12039
|
attr_accessor :predefined_pickup_details
|
@@ -12080,14 +12051,8 @@ module Google
|
|
12080
12051
|
# @return [Google::Apis::ContentV2_1::Price]
|
12081
12052
|
attr_accessor :shipping_cost
|
12082
12053
|
|
12083
|
-
# Required. The requested shipping option.
|
12084
|
-
#
|
12085
|
-
# - "`economy`"
|
12086
|
-
# - "`expedited`"
|
12087
|
-
# - "`oneDay`"
|
12088
|
-
# - "`sameDay`"
|
12089
|
-
# - "`standard`"
|
12090
|
-
# - "`twoDay`"
|
12054
|
+
# Required. The requested shipping option. Acceptable values are: - "`economy`" -
|
12055
|
+
# "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
|
12091
12056
|
# Corresponds to the JSON property `shippingOption`
|
12092
12057
|
# @return [String]
|
12093
12058
|
attr_accessor :shipping_option
|
@@ -12124,11 +12089,8 @@ module Google
|
|
12124
12089
|
attr_accessor :country
|
12125
12090
|
|
12126
12091
|
# Strings representing the lines of the printed label for mailing the order, for
|
12127
|
-
# example:
|
12128
|
-
#
|
12129
|
-
# 1600 Amphitheatre Parkway
|
12130
|
-
# Mountain View, CA, 94043
|
12131
|
-
# United States
|
12092
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
12093
|
+
# States
|
12132
12094
|
# Corresponds to the JSON property `fullAddress`
|
12133
12095
|
# @return [Array<String>]
|
12134
12096
|
attr_accessor :full_address
|
@@ -12254,17 +12216,13 @@ module Google
|
|
12254
12216
|
# @return [String]
|
12255
12217
|
attr_accessor :brand
|
12256
12218
|
|
12257
|
-
# Required. Condition or state of the item.
|
12258
|
-
# Acceptable values are:
|
12259
|
-
# - "`new`"
|
12219
|
+
# Required. Condition or state of the item. Acceptable values are: - "`new`"
|
12260
12220
|
# Corresponds to the JSON property `condition`
|
12261
12221
|
# @return [String]
|
12262
12222
|
attr_accessor :condition
|
12263
12223
|
|
12264
|
-
# Required. The two-letter ISO 639-1 language code for the item.
|
12265
|
-
#
|
12266
|
-
# - "`en`"
|
12267
|
-
# - "`fr`"
|
12224
|
+
# Required. The two-letter ISO 639-1 language code for the item. Acceptable
|
12225
|
+
# values are: - "`en`" - "`fr`"
|
12268
12226
|
# Corresponds to the JSON property `contentLanguage`
|
12269
12227
|
# @return [String]
|
12270
12228
|
attr_accessor :content_language
|
@@ -12306,7 +12264,7 @@ module Google
|
|
12306
12264
|
# @return [Google::Apis::ContentV2_1::Price]
|
12307
12265
|
attr_accessor :price
|
12308
12266
|
|
12309
|
-
# Required. The CLDR territory code of the target country of the product.
|
12267
|
+
# Required. The CLDR territory // code of the target country of the product.
|
12310
12268
|
# Corresponds to the JSON property `targetCountry`
|
12311
12269
|
# @return [String]
|
12312
12270
|
attr_accessor :target_country
|
@@ -12357,11 +12315,8 @@ module Google
|
|
12357
12315
|
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
12358
12316
|
attr_accessor :pickup_location_address
|
12359
12317
|
|
12360
|
-
# Pickup location type.
|
12361
|
-
#
|
12362
|
-
# - "`locker`"
|
12363
|
-
# - "`store`"
|
12364
|
-
# - "`curbside`"
|
12318
|
+
# Pickup location type. Acceptable values are: - "`locker`" - "`store`" - "`
|
12319
|
+
# curbside`"
|
12365
12320
|
# Corresponds to the JSON property `pickupLocationType`
|
12366
12321
|
# @return [String]
|
12367
12322
|
attr_accessor :pickup_location_type
|
@@ -12529,9 +12484,8 @@ module Google
|
|
12529
12484
|
# @return [Google::Apis::ContentV2_1::Amount]
|
12530
12485
|
attr_accessor :additional_charge_amount
|
12531
12486
|
|
12532
|
-
# [required] Type of the additional charge.
|
12533
|
-
#
|
12534
|
-
# - "`shipping`"
|
12487
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
12488
|
+
#
|
12535
12489
|
# Corresponds to the JSON property `type`
|
12536
12490
|
# @return [String]
|
12537
12491
|
attr_accessor :type
|
@@ -12562,11 +12516,8 @@ module Google
|
|
12562
12516
|
# @return [String]
|
12563
12517
|
attr_accessor :tax_name
|
12564
12518
|
|
12565
|
-
# [required] Type of the tax.
|
12566
|
-
#
|
12567
|
-
# - "`otherFee`"
|
12568
|
-
# - "`otherFeeTax`"
|
12569
|
-
# - "`sales`"
|
12519
|
+
# [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
|
12520
|
+
# otherFeeTax`" - "`sales`"
|
12570
12521
|
# Corresponds to the JSON property `taxType`
|
12571
12522
|
# @return [String]
|
12572
12523
|
attr_accessor :tax_type
|
@@ -12637,10 +12588,7 @@ module Google
|
|
12637
12588
|
class Weight
|
12638
12589
|
include Google::Apis::Core::Hashable
|
12639
12590
|
|
12640
|
-
# Required. The weight unit.
|
12641
|
-
# Acceptable values are:
|
12642
|
-
# - "`kg`"
|
12643
|
-
# - "`lb`"
|
12591
|
+
# Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
|
12644
12592
|
# Corresponds to the JSON property `unit`
|
12645
12593
|
# @return [String]
|
12646
12594
|
attr_accessor :unit
|