google-api-client 0.8.7 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.rubocop.yml +7 -0
- data/.rubocop_todo.yml +63 -0
- data/.travis.yml +22 -0
- data/.yardopts +12 -0
- data/CHANGELOG.md +40 -4
- data/CONTRIBUTING.md +31 -0
- data/Gemfile +32 -2
- data/MIGRATING.md +171 -0
- data/README.md +181 -148
- data/Rakefile +1 -40
- data/api_names.yaml +1036 -0
- data/api_names_out.yaml +26053 -0
- data/bin/generate-api +95 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
- data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1029 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
- data/generated/google/apis/admin_directory_v1.rb +113 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
- data/generated/google/apis/admin_reports_v1/service.rb +336 -0
- data/generated/google/apis/admin_reports_v1.rb +38 -0
- data/generated/google/apis/adsense_v1_4/classes.rb +1285 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +494 -0
- data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
- data/generated/google/apis/adsense_v1_4.rb +38 -0
- data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
- data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
- data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
- data/generated/google/apis/adsensehost_v4_1.rb +35 -0
- data/generated/google/apis/analytics_v3/classes.rb +5118 -0
- data/generated/google/apis/analytics_v3/representations.rb +1662 -0
- data/generated/google/apis/analytics_v3/service.rb +3568 -0
- data/generated/google/apis/analytics_v3.rb +49 -0
- data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +538 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +2602 -0
- data/generated/google/apis/androidenterprise_v1.rb +35 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +646 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
- data/generated/google/apis/androidpublisher_v2.rb +34 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
- data/generated/google/apis/appsactivity_v1/service.rb +128 -0
- data/generated/google/apis/appsactivity_v1.rb +46 -0
- data/generated/google/apis/appstate_v1/classes.rb +154 -0
- data/generated/google/apis/appstate_v1/representations.rb +79 -0
- data/generated/google/apis/appstate_v1/service.rb +260 -0
- data/generated/google/apis/appstate_v1.rb +34 -0
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
- data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
- data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +2471 -0
- data/generated/google/apis/bigquery_v2/representations.rb +816 -0
- data/generated/google/apis/bigquery_v2/service.rb +982 -0
- data/generated/google/apis/bigquery_v2.rb +52 -0
- data/generated/google/apis/blogger_v3/classes.rb +1354 -0
- data/generated/google/apis/blogger_v3/representations.rb +562 -0
- data/generated/google/apis/blogger_v3/service.rb +1587 -0
- data/generated/google/apis/blogger_v3.rb +37 -0
- data/generated/google/apis/books_v1/classes.rb +3956 -0
- data/generated/google/apis/books_v1/representations.rb +1538 -0
- data/generated/google/apis/books_v1/service.rb +2290 -0
- data/generated/google/apis/books_v1.rb +34 -0
- data/generated/google/apis/calendar_v3/classes.rb +1742 -0
- data/generated/google/apis/calendar_v3/representations.rb +567 -0
- data/generated/google/apis/calendar_v3/service.rb +1968 -0
- data/generated/google/apis/calendar_v3.rb +37 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +383 -0
- data/generated/google/apis/civicinfo_v2/service.rb +279 -0
- data/{lib/google/api_client/service_account.rb → generated/google/apis/civicinfo_v2.rb} +18 -8
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
- data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
- data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
- data/generated/google/apis/classroom_v1beta1.rb +49 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +437 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +188 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +623 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_v1/classes.rb +8681 -0
- data/generated/google/apis/compute_v1/representations.rb +2895 -0
- data/generated/google/apis/compute_v1/service.rb +9252 -0
- data/generated/google/apis/compute_v1.rb +49 -0
- data/generated/google/apis/container_v1/classes.rb +463 -0
- data/generated/google/apis/container_v1/representations.rb +175 -0
- data/generated/google/apis/container_v1/service.rb +367 -0
- data/generated/google/apis/container_v1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +466 -0
- data/generated/google/apis/container_v1beta1/representations.rb +177 -0
- data/generated/google/apis/container_v1beta1/service.rb +394 -0
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/content_v2/classes.rb +5986 -0
- data/generated/google/apis/content_v2/representations.rb +2288 -0
- data/generated/google/apis/content_v2/service.rb +2338 -0
- data/generated/google/apis/content_v2.rb +35 -0
- data/generated/google/apis/coordinate_v1/classes.rb +669 -0
- data/generated/google/apis/coordinate_v1/representations.rb +285 -0
- data/generated/google/apis/coordinate_v1/service.rb +678 -0
- data/generated/google/apis/coordinate_v1.rb +37 -0
- data/generated/google/apis/customsearch_v1/classes.rb +771 -0
- data/generated/google/apis/customsearch_v1/representations.rb +276 -0
- data/generated/google/apis/customsearch_v1/service.rb +207 -0
- data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
- data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
- data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
- data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
- data/generated/google/apis/datastore_v1beta2.rb +40 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1091 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
- data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
- data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
- data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
- data/generated/google/apis/dfareporting_v2_1.rb +37 -0
- data/generated/google/apis/discovery_v1/classes.rb +961 -0
- data/generated/google/apis/discovery_v1/representations.rb +357 -0
- data/generated/google/apis/discovery_v1/service.rb +142 -0
- data/generated/google/apis/discovery_v1.rb +32 -0
- data/generated/google/apis/dns_v1/classes.rb +406 -0
- data/generated/google/apis/dns_v1/representations.rb +151 -0
- data/generated/google/apis/dns_v1/service.rb +454 -0
- data/generated/google/apis/dns_v1.rb +44 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +716 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +298 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +341 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +956 -0
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +316 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
- data/generated/google/apis/drive_v2/classes.rb +2562 -0
- data/generated/google/apis/drive_v2/representations.rb +795 -0
- data/generated/google/apis/drive_v2/service.rb +2696 -0
- data/generated/google/apis/drive_v2.rb +58 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/fitness_v1/classes.rb +885 -0
- data/generated/google/apis/fitness_v1/representations.rb +320 -0
- data/generated/google/apis/fitness_v1/service.rb +675 -0
- data/generated/google/apis/fitness_v1.rb +49 -0
- data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
- data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
- data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
- data/generated/google/apis/fusiontables_v2.rb +37 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
- data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_v1/classes.rb +4617 -0
- data/generated/google/apis/games_v1/representations.rb +1584 -0
- data/generated/google/apis/games_v1/service.rb +2290 -0
- data/generated/google/apis/games_v1.rb +40 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
- data/generated/google/apis/gan_v1beta1/service.rb +682 -0
- data/generated/google/apis/gan_v1beta1.rb +31 -0
- data/generated/google/apis/genomics_v1/classes.rb +2609 -0
- data/generated/google/apis/genomics_v1/representations.rb +909 -0
- data/generated/google/apis/genomics_v1/service.rb +1676 -0
- data/generated/google/apis/genomics_v1.rb +49 -0
- data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
- data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
- data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
- data/generated/google/apis/genomics_v1beta2.rb +46 -0
- data/generated/google/apis/gmail_v1/classes.rb +794 -0
- data/generated/google/apis/gmail_v1/representations.rb +339 -0
- data/generated/google/apis/gmail_v1/service.rb +1470 -0
- data/generated/google/apis/gmail_v1.rb +52 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
- data/generated/google/apis/groupsmigration_v1.rb +34 -0
- data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
- data/generated/google/apis/groupssettings_v1/service.rb +179 -0
- data/generated/google/apis/groupssettings_v1.rb +34 -0
- data/generated/google/apis/identitytoolkit_v3/classes.rb +1466 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +509 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +581 -0
- data/generated/google/apis/identitytoolkit_v3.rb +31 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
- data/generated/google/apis/licensing_v1/classes.rb +132 -0
- data/generated/google/apis/licensing_v1/representations.rb +68 -0
- data/generated/google/apis/licensing_v1/service.rb +369 -0
- data/generated/google/apis/licensing_v1.rb +34 -0
- data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
- data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
- data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
- data/generated/google/apis/logging_v1beta3.rb +47 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
- data/generated/google/apis/manager_v1beta2/service.rb +372 -0
- data/generated/google/apis/manager_v1beta2.rb +53 -0
- data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
- data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
- data/generated/google/apis/mapsengine_v1/service.rb +3388 -0
- data/generated/google/apis/mapsengine_v1.rb +38 -0
- data/generated/google/apis/mirror_v1/classes.rb +1072 -0
- data/generated/google/apis/mirror_v1/representations.rb +350 -0
- data/generated/google/apis/mirror_v1/service.rb +977 -0
- data/generated/google/apis/mirror_v1.rb +37 -0
- data/generated/google/apis/oauth2_v2/classes.rb +245 -0
- data/generated/google/apis/oauth2_v2/representations.rb +94 -0
- data/generated/google/apis/oauth2_v2/service.rb +199 -0
- data/generated/google/apis/oauth2_v2.rb +43 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
- data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
- data/generated/google/apis/pagespeedonline_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +987 -0
- data/generated/google/apis/plus_domains_v1/service.rb +904 -0
- data/generated/google/apis/plus_domains_v1.rb +61 -0
- data/generated/google/apis/plus_v1/classes.rb +2094 -0
- data/generated/google/apis/plus_v1/representations.rb +805 -0
- data/generated/google/apis/plus_v1/service.rb +470 -0
- data/generated/google/apis/plus_v1.rb +43 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
- data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
- data/generated/google/apis/prediction_v1_6/service.rb +380 -0
- data/generated/google/apis/prediction_v1_6.rb +44 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
- data/generated/google/apis/qpx_express_v1/service.rb +100 -0
- data/generated/google/apis/qpx_express_v1.rb +31 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +236 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
- data/generated/google/apis/replicapool_v1beta2.rb +44 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +264 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
- data/generated/google/apis/reseller_v1/classes.rb +520 -0
- data/generated/google/apis/reseller_v1/representations.rb +200 -0
- data/generated/google/apis/reseller_v1/service.rb +623 -0
- data/generated/google/apis/reseller_v1.rb +37 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
- data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/site_verification_v1/classes.rb +185 -0
- data/generated/google/apis/site_verification_v1/representations.rb +101 -0
- data/generated/google/apis/site_verification_v1/service.rb +315 -0
- data/generated/google/apis/site_verification_v1.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +2001 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +758 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
- data/generated/google/apis/storage_v1/classes.rb +1222 -0
- data/generated/google/apis/storage_v1/representations.rb +445 -0
- data/generated/google/apis/storage_v1/service.rb +1903 -0
- data/generated/google/apis/storage_v1.rb +46 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +1384 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +515 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1817 -0
- data/generated/google/apis/tagmanager_v1.rb +52 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
- data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
- data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
- data/generated/google/apis/tasks_v1/classes.rb +296 -0
- data/generated/google/apis/tasks_v1/representations.rb +115 -0
- data/generated/google/apis/tasks_v1/service.rb +643 -0
- data/generated/google/apis/tasks_v1.rb +37 -0
- data/generated/google/apis/translate_v2/classes.rb +168 -0
- data/generated/google/apis/translate_v2/representations.rb +109 -0
- data/generated/google/apis/translate_v2/service.rb +182 -0
- data/generated/google/apis/translate_v2.rb +31 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
- data/generated/google/apis/urlshortener_v1/service.rb +176 -0
- data/generated/google/apis/urlshortener_v1.rb +34 -0
- data/generated/google/apis/webmasters_v3/classes.rb +563 -0
- data/generated/google/apis/webmasters_v3/representations.rb +250 -0
- data/generated/google/apis/webmasters_v3/service.rb +573 -0
- data/generated/google/apis/webmasters_v3.rb +37 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +243 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
- data/generated/google/apis/youtube_analytics_v1.rb +46 -0
- data/generated/google/apis/youtube_v3/classes.rb +8136 -0
- data/generated/google/apis/youtube_v3/representations.rb +2838 -0
- data/generated/google/apis/youtube_v3/service.rb +4403 -0
- data/generated/google/apis/youtube_v3.rb +49 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/google-api-client.gemspec +27 -39
- data/lib/google/api_client/auth/installed_app.rb +7 -5
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +4 -2
- data/lib/google/api_client/auth/storages/file_store.rb +2 -3
- data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +135 -0
- data/lib/google/apis/core/base_service.rb +317 -0
- data/lib/google/apis/core/batch.rb +239 -0
- data/lib/google/apis/core/download.rb +94 -0
- data/lib/google/apis/core/hashable.rb +44 -0
- data/lib/google/apis/core/http_client_adapter.rb +82 -0
- data/lib/google/apis/core/http_command.rb +312 -0
- data/lib/google/apis/core/json_representation.rb +127 -0
- data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
- data/lib/google/apis/core/multipart.rb +187 -0
- data/lib/google/apis/core/upload.rb +288 -0
- data/lib/google/{api_client → apis}/errors.rb +39 -28
- data/lib/google/apis/generator/annotator.rb +295 -0
- data/lib/google/apis/generator/helpers.rb +74 -0
- data/lib/google/apis/generator/model.rb +143 -0
- data/lib/google/apis/generator/template.rb +124 -0
- data/lib/google/apis/generator/templates/_class.tmpl +40 -0
- data/lib/google/apis/generator/templates/_method.tmpl +92 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
- data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
- data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
- data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
- data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
- data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
- data/lib/google/apis/generator.rb +70 -0
- data/lib/google/apis/options.rb +85 -0
- data/lib/google/apis/version.rb +39 -0
- data/lib/google/apis.rb +48 -0
- data/rakelib/metrics.rake +22 -0
- data/rakelib/rubocop.rake +10 -0
- data/rakelib/spec.rake +11 -0
- data/rakelib/yard.rake +11 -0
- data/samples/Gemfile +7 -0
- data/samples/README.md +51 -0
- data/samples/google-api-samples +32 -0
- data/samples/lib/base_cli.rb +94 -0
- data/samples/lib/samples/analytics.rb +62 -0
- data/samples/lib/samples/calendar.rb +83 -0
- data/samples/lib/samples/drive.rb +82 -0
- data/samples/lib/samples/gmail.rb +50 -0
- data/samples/lib/samples/pubsub.rb +114 -0
- data/samples/lib/samples/translate.rb +44 -0
- data/samples/lib/samples/you_tube.rb +44 -0
- data/script/generate +95 -0
- data/script/package +8 -0
- data/script/release +15 -0
- data/spec/fixtures/files/api_names.yaml +3 -0
- data/spec/fixtures/files/auth_stored_credentials.json +8 -0
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/client_secrets.json +1 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/fixtures/files/test.blah +1 -0
- data/spec/fixtures/files/test.txt +1 -0
- data/spec/fixtures/files/test_api.json +440 -0
- data/spec/google/api_client/auth/storage_spec.rb +1 -3
- data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
- data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/api_command_spec.rb +209 -0
- data/spec/google/apis/core/batch_spec.rb +142 -0
- data/spec/google/apis/core/download_spec.rb +103 -0
- data/spec/google/apis/core/hashable_spec.rb +60 -0
- data/spec/google/apis/core/http_command_spec.rb +284 -0
- data/spec/google/apis/core/json_representation_spec.rb +192 -0
- data/spec/google/apis/core/service_spec.rb +247 -0
- data/spec/google/apis/core/upload_spec.rb +300 -0
- data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
- data/spec/google/apis/generator/generator_spec.rb +272 -0
- data/spec/google/apis/logging_spec.rb +45 -0
- data/spec/google/apis/options_spec.rb +40 -0
- data/spec/integration_tests/adsense_spec.rb +29 -0
- data/spec/integration_tests/drive_spec.rb +35 -0
- data/spec/integration_tests/pubsub_spec.rb +48 -0
- data/spec/integration_tests/url_shortener_spec.rb +45 -0
- data/spec/spec_helper/load_path_spec.rb +33 -0
- data/spec/spec_helper.rb +131 -44
- data/third_party/hurley_patches.rb +103 -0
- metadata +533 -175
- data/lib/compat/multi_json.rb +0 -19
- data/lib/google/api_client/auth/file_storage.rb +0 -59
- data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
- data/lib/google/api_client/auth/pkcs12.rb +0 -41
- data/lib/google/api_client/batch.rb +0 -326
- data/lib/google/api_client/charset.rb +0 -33
- data/lib/google/api_client/discovery/api.rb +0 -310
- data/lib/google/api_client/discovery/media.rb +0 -77
- data/lib/google/api_client/discovery/method.rb +0 -363
- data/lib/google/api_client/discovery/resource.rb +0 -156
- data/lib/google/api_client/discovery/schema.rb +0 -117
- data/lib/google/api_client/environment.rb +0 -42
- data/lib/google/api_client/gzip.rb +0 -28
- data/lib/google/api_client/logging.rb +0 -32
- data/lib/google/api_client/media.rb +0 -259
- data/lib/google/api_client/railtie.rb +0 -18
- data/lib/google/api_client/request.rb +0 -350
- data/lib/google/api_client/result.rb +0 -255
- data/lib/google/api_client/service/batch.rb +0 -110
- data/lib/google/api_client/service/request.rb +0 -144
- data/lib/google/api_client/service/resource.rb +0 -40
- data/lib/google/api_client/service/result.rb +0 -162
- data/lib/google/api_client/service/simple_file_store.rb +0 -151
- data/lib/google/api_client/service/stub_generator.rb +0 -61
- data/lib/google/api_client/service.rb +0 -233
- data/lib/google/api_client.rb +0 -750
- data/spec/google/api_client/batch_spec.rb +0 -248
- data/spec/google/api_client/discovery_spec.rb +0 -708
- data/spec/google/api_client/gzip_spec.rb +0 -98
- data/spec/google/api_client/media_spec.rb +0 -178
- data/spec/google/api_client/result_spec.rb +0 -207
- data/spec/google/api_client/service_account_spec.rb +0 -169
- data/spec/google/api_client/service_spec.rb +0 -618
- data/spec/google/api_client/simple_file_store_spec.rb +0 -133
- data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,2288 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ContentV2
|
24
|
+
|
25
|
+
class Account
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
end
|
28
|
+
|
29
|
+
class AccountAdwordsLink
|
30
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
31
|
+
end
|
32
|
+
|
33
|
+
class AccountIdentifier
|
34
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
35
|
+
end
|
36
|
+
|
37
|
+
class AccountShipping
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
end
|
40
|
+
|
41
|
+
class AccountShippingCarrierRate
|
42
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
43
|
+
end
|
44
|
+
|
45
|
+
class AccountShippingCondition
|
46
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
47
|
+
end
|
48
|
+
|
49
|
+
class AccountShippingLocationGroup
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
end
|
52
|
+
|
53
|
+
class AccountShippingPostalCodeRange
|
54
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
55
|
+
end
|
56
|
+
|
57
|
+
class AccountShippingRateTable
|
58
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
59
|
+
end
|
60
|
+
|
61
|
+
class AccountShippingRateTableCell
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
end
|
64
|
+
|
65
|
+
class AccountShippingShippingService
|
66
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
67
|
+
end
|
68
|
+
|
69
|
+
class AccountShippingShippingServiceCalculationMethod
|
70
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
71
|
+
end
|
72
|
+
|
73
|
+
class AccountShippingShippingServiceCostRule
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
end
|
76
|
+
|
77
|
+
class AccountStatus
|
78
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
79
|
+
end
|
80
|
+
|
81
|
+
class AccountStatusDataQualityIssue
|
82
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
83
|
+
end
|
84
|
+
|
85
|
+
class AccountStatusExampleItem
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
end
|
88
|
+
|
89
|
+
class AccountTax
|
90
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
91
|
+
end
|
92
|
+
|
93
|
+
class AccountTaxTaxRule
|
94
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
95
|
+
end
|
96
|
+
|
97
|
+
class AccountUser
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
end
|
100
|
+
|
101
|
+
class AccountsAuthInfoResponse
|
102
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
103
|
+
end
|
104
|
+
|
105
|
+
class BatchAccountsRequest
|
106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
107
|
+
end
|
108
|
+
|
109
|
+
class AccountsBatchRequestEntry
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
end
|
112
|
+
|
113
|
+
class BatchAccountsResponse
|
114
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
115
|
+
end
|
116
|
+
|
117
|
+
class AccountsBatchResponseEntry
|
118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
119
|
+
end
|
120
|
+
|
121
|
+
class ListAccountsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
end
|
124
|
+
|
125
|
+
class BatchAccountShippingRequest
|
126
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
127
|
+
end
|
128
|
+
|
129
|
+
class AccountShippingBatchRequestEntry
|
130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
131
|
+
end
|
132
|
+
|
133
|
+
class BatchAccountShippingResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
end
|
136
|
+
|
137
|
+
class AccountShippingBatchResponseEntry
|
138
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
139
|
+
end
|
140
|
+
|
141
|
+
class ListAccountShippingResponse
|
142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
143
|
+
end
|
144
|
+
|
145
|
+
class BatchAccountStatusesRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
end
|
148
|
+
|
149
|
+
class AccountStatusesBatchRequestEntry
|
150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
151
|
+
end
|
152
|
+
|
153
|
+
class BatchAccountStatusesResponse
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
155
|
+
end
|
156
|
+
|
157
|
+
class AccountStatusesBatchResponseEntry
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
end
|
160
|
+
|
161
|
+
class ListAccountStatusesResponse
|
162
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
163
|
+
end
|
164
|
+
|
165
|
+
class BatchAccountTaxRequest
|
166
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
167
|
+
end
|
168
|
+
|
169
|
+
class AccountTaxBatchRequestEntry
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
end
|
172
|
+
|
173
|
+
class BatchAccountTaxResponse
|
174
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
175
|
+
end
|
176
|
+
|
177
|
+
class AccountTaxBatchResponseEntry
|
178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
179
|
+
end
|
180
|
+
|
181
|
+
class ListAccountTaxResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
end
|
184
|
+
|
185
|
+
class Datafeed
|
186
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
187
|
+
end
|
188
|
+
|
189
|
+
class DatafeedFetchSchedule
|
190
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
191
|
+
end
|
192
|
+
|
193
|
+
class DatafeedFormat
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
end
|
196
|
+
|
197
|
+
class DatafeedStatus
|
198
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
199
|
+
end
|
200
|
+
|
201
|
+
class DatafeedStatusError
|
202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
203
|
+
end
|
204
|
+
|
205
|
+
class DatafeedStatusExample
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
end
|
208
|
+
|
209
|
+
class BatchDatafeedsRequest
|
210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
211
|
+
end
|
212
|
+
|
213
|
+
class DatafeedsBatchRequestEntry
|
214
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
215
|
+
end
|
216
|
+
|
217
|
+
class BatchDatafeedsResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
end
|
220
|
+
|
221
|
+
class DatafeedsBatchResponseEntry
|
222
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
223
|
+
end
|
224
|
+
|
225
|
+
class ListDatafeedsResponse
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
227
|
+
end
|
228
|
+
|
229
|
+
class BatchDatafeedStatusesRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
end
|
232
|
+
|
233
|
+
class DatafeedStatusesBatchRequestEntry
|
234
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
235
|
+
end
|
236
|
+
|
237
|
+
class BatchDatafeedStatusesResponse
|
238
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
239
|
+
end
|
240
|
+
|
241
|
+
class DatafeedStatusesBatchResponseEntry
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
end
|
244
|
+
|
245
|
+
class ListDatafeedStatusesResponse
|
246
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
247
|
+
end
|
248
|
+
|
249
|
+
class Error
|
250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
251
|
+
end
|
252
|
+
|
253
|
+
class Errors
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
end
|
256
|
+
|
257
|
+
class Installment
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
259
|
+
end
|
260
|
+
|
261
|
+
class Inventory
|
262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
263
|
+
end
|
264
|
+
|
265
|
+
class BatchInventoryRequest
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
end
|
268
|
+
|
269
|
+
class InventoryBatchRequestEntry
|
270
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
271
|
+
end
|
272
|
+
|
273
|
+
class BatchInventoryResponse
|
274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
275
|
+
end
|
276
|
+
|
277
|
+
class InventoryBatchResponseEntry
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
end
|
280
|
+
|
281
|
+
class SetInventoryRequest
|
282
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
283
|
+
end
|
284
|
+
|
285
|
+
class SetInventoryResponse
|
286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
287
|
+
end
|
288
|
+
|
289
|
+
class LoyaltyPoints
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
end
|
292
|
+
|
293
|
+
class Order
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
295
|
+
end
|
296
|
+
|
297
|
+
class OrderAddress
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
299
|
+
end
|
300
|
+
|
301
|
+
class OrderCancellation
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
end
|
304
|
+
|
305
|
+
class OrderCustomer
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
307
|
+
end
|
308
|
+
|
309
|
+
class OrderDeliveryDetails
|
310
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
311
|
+
end
|
312
|
+
|
313
|
+
class OrderLineItem
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
end
|
316
|
+
|
317
|
+
class OrderLineItemProduct
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
319
|
+
end
|
320
|
+
|
321
|
+
class OrderLineItemProductVariantAttribute
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
323
|
+
end
|
324
|
+
|
325
|
+
class OrderLineItemReturnInfo
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
end
|
328
|
+
|
329
|
+
class OrderLineItemShippingDetails
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
331
|
+
end
|
332
|
+
|
333
|
+
class OrderLineItemShippingDetailsMethod
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
335
|
+
end
|
336
|
+
|
337
|
+
class OrderPaymentMethod
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
end
|
340
|
+
|
341
|
+
class OrderRefund
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
343
|
+
end
|
344
|
+
|
345
|
+
class OrderReturn
|
346
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
347
|
+
end
|
348
|
+
|
349
|
+
class OrderShipment
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
end
|
352
|
+
|
353
|
+
class OrderShipmentLineItemShipment
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
355
|
+
end
|
356
|
+
|
357
|
+
class OrdersAcknowledgeRequest
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
359
|
+
end
|
360
|
+
|
361
|
+
class OrdersAcknowledgeResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
end
|
364
|
+
|
365
|
+
class OrdersAdvanceTestOrderResponse
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
367
|
+
end
|
368
|
+
|
369
|
+
class OrdersCancelLineItemRequest
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
371
|
+
end
|
372
|
+
|
373
|
+
class OrdersCancelLineItemResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
end
|
376
|
+
|
377
|
+
class OrdersCancelRequest
|
378
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
379
|
+
end
|
380
|
+
|
381
|
+
class OrdersCancelResponse
|
382
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
383
|
+
end
|
384
|
+
|
385
|
+
class OrdersCreateTestOrderRequest
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
end
|
388
|
+
|
389
|
+
class OrdersCreateTestOrderResponse
|
390
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
391
|
+
end
|
392
|
+
|
393
|
+
class OrdersCustomBatchRequest
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
395
|
+
end
|
396
|
+
|
397
|
+
class OrdersCustomBatchRequestEntry
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
end
|
400
|
+
|
401
|
+
class OrdersCustomBatchRequestEntryCancel
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
403
|
+
end
|
404
|
+
|
405
|
+
class OrdersCustomBatchRequestEntryCancelLineItem
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
407
|
+
end
|
408
|
+
|
409
|
+
class OrdersCustomBatchRequestEntryRefund
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
end
|
412
|
+
|
413
|
+
class OrdersCustomBatchRequestEntryReturnLineItem
|
414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
415
|
+
end
|
416
|
+
|
417
|
+
class OrdersCustomBatchRequestEntryShipLineItems
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
419
|
+
end
|
420
|
+
|
421
|
+
class OrdersCustomBatchRequestEntryUpdateShipment
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
end
|
424
|
+
|
425
|
+
class OrdersCustomBatchResponse
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
427
|
+
end
|
428
|
+
|
429
|
+
class OrdersCustomBatchResponseEntry
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
431
|
+
end
|
432
|
+
|
433
|
+
class OrdersGetByMerchantOrderIdResponse
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
end
|
436
|
+
|
437
|
+
class OrdersGetTestOrderTemplateResponse
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
439
|
+
end
|
440
|
+
|
441
|
+
class OrdersListResponse
|
442
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
443
|
+
end
|
444
|
+
|
445
|
+
class OrdersRefundRequest
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
end
|
448
|
+
|
449
|
+
class OrdersRefundResponse
|
450
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
451
|
+
end
|
452
|
+
|
453
|
+
class OrdersReturnLineItemRequest
|
454
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
455
|
+
end
|
456
|
+
|
457
|
+
class OrdersReturnLineItemResponse
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
end
|
460
|
+
|
461
|
+
class OrdersShipLineItemsRequest
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
463
|
+
end
|
464
|
+
|
465
|
+
class OrdersShipLineItemsResponse
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
467
|
+
end
|
468
|
+
|
469
|
+
class OrdersUpdateMerchantOrderIdRequest
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
end
|
472
|
+
|
473
|
+
class OrdersUpdateMerchantOrderIdResponse
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
475
|
+
end
|
476
|
+
|
477
|
+
class OrdersUpdateShipmentRequest
|
478
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
479
|
+
end
|
480
|
+
|
481
|
+
class OrdersUpdateShipmentResponse
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
end
|
484
|
+
|
485
|
+
class Price
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
487
|
+
end
|
488
|
+
|
489
|
+
class Product
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
491
|
+
end
|
492
|
+
|
493
|
+
class ProductAspect
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
end
|
496
|
+
|
497
|
+
class ProductCustomAttribute
|
498
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
499
|
+
end
|
500
|
+
|
501
|
+
class ProductCustomGroup
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
503
|
+
end
|
504
|
+
|
505
|
+
class ProductDestination
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
end
|
508
|
+
|
509
|
+
class ProductShipping
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
511
|
+
end
|
512
|
+
|
513
|
+
class ProductShippingDimension
|
514
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
515
|
+
end
|
516
|
+
|
517
|
+
class ProductShippingWeight
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
end
|
520
|
+
|
521
|
+
class ProductStatus
|
522
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
523
|
+
end
|
524
|
+
|
525
|
+
class ProductStatusDataQualityIssue
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
527
|
+
end
|
528
|
+
|
529
|
+
class ProductStatusDestinationStatus
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
end
|
532
|
+
|
533
|
+
class ProductTax
|
534
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
535
|
+
end
|
536
|
+
|
537
|
+
class ProductUnitPricingBaseMeasure
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
539
|
+
end
|
540
|
+
|
541
|
+
class ProductUnitPricingMeasure
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
end
|
544
|
+
|
545
|
+
class BatchProductsRequest
|
546
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
547
|
+
end
|
548
|
+
|
549
|
+
class ProductsBatchRequestEntry
|
550
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
551
|
+
end
|
552
|
+
|
553
|
+
class BatchProductsResponse
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
end
|
556
|
+
|
557
|
+
class ProductsBatchResponseEntry
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
559
|
+
end
|
560
|
+
|
561
|
+
class ListProductsResponse
|
562
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
563
|
+
end
|
564
|
+
|
565
|
+
class BatchProductStatusesRequest
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
end
|
568
|
+
|
569
|
+
class ProductStatusesBatchRequestEntry
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
571
|
+
end
|
572
|
+
|
573
|
+
class BatchProductStatusesResponse
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
575
|
+
end
|
576
|
+
|
577
|
+
class ProductStatusesBatchResponseEntry
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
end
|
580
|
+
|
581
|
+
class ListProductStatusesResponse
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
583
|
+
end
|
584
|
+
|
585
|
+
class TestOrder
|
586
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
587
|
+
end
|
588
|
+
|
589
|
+
class TestOrderCustomer
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
end
|
592
|
+
|
593
|
+
class TestOrderLineItem
|
594
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
595
|
+
end
|
596
|
+
|
597
|
+
class TestOrderLineItemProduct
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
599
|
+
end
|
600
|
+
|
601
|
+
class TestOrderPaymentMethod
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
end
|
604
|
+
|
605
|
+
class Weight
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
607
|
+
end
|
608
|
+
|
609
|
+
class Account
|
610
|
+
# @private
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
+
property :adult_content, as: 'adultContent'
|
613
|
+
collection :adwords_links, as: 'adwordsLinks', class: Google::Apis::ContentV2::AccountAdwordsLink, decorator: Google::Apis::ContentV2::AccountAdwordsLink::Representation
|
614
|
+
|
615
|
+
property :id, as: 'id'
|
616
|
+
property :kind, as: 'kind'
|
617
|
+
property :name, as: 'name'
|
618
|
+
property :reviews_url, as: 'reviewsUrl'
|
619
|
+
property :seller_id, as: 'sellerId'
|
620
|
+
collection :users, as: 'users', class: Google::Apis::ContentV2::AccountUser, decorator: Google::Apis::ContentV2::AccountUser::Representation
|
621
|
+
|
622
|
+
property :website_url, as: 'websiteUrl'
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
class AccountAdwordsLink
|
627
|
+
# @private
|
628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
629
|
+
property :adwords_id, as: 'adwordsId'
|
630
|
+
property :status, as: 'status'
|
631
|
+
end
|
632
|
+
end
|
633
|
+
|
634
|
+
class AccountIdentifier
|
635
|
+
# @private
|
636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
637
|
+
property :aggregator_id, as: 'aggregatorId'
|
638
|
+
property :merchant_id, as: 'merchantId'
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
642
|
+
class AccountShipping
|
643
|
+
# @private
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
645
|
+
property :account_id, as: 'accountId'
|
646
|
+
collection :carrier_rates, as: 'carrierRates', class: Google::Apis::ContentV2::AccountShippingCarrierRate, decorator: Google::Apis::ContentV2::AccountShippingCarrierRate::Representation
|
647
|
+
|
648
|
+
property :kind, as: 'kind'
|
649
|
+
collection :location_groups, as: 'locationGroups', class: Google::Apis::ContentV2::AccountShippingLocationGroup, decorator: Google::Apis::ContentV2::AccountShippingLocationGroup::Representation
|
650
|
+
|
651
|
+
collection :rate_tables, as: 'rateTables', class: Google::Apis::ContentV2::AccountShippingRateTable, decorator: Google::Apis::ContentV2::AccountShippingRateTable::Representation
|
652
|
+
|
653
|
+
collection :services, as: 'services', class: Google::Apis::ContentV2::AccountShippingShippingService, decorator: Google::Apis::ContentV2::AccountShippingShippingService::Representation
|
654
|
+
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class AccountShippingCarrierRate
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :carrier, as: 'carrier'
|
662
|
+
property :carrier_service, as: 'carrierService'
|
663
|
+
property :modifier_flat_rate, as: 'modifierFlatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
664
|
+
|
665
|
+
property :modifier_percent, as: 'modifierPercent'
|
666
|
+
property :name, as: 'name'
|
667
|
+
property :sale_country, as: 'saleCountry'
|
668
|
+
property :shipping_origin, as: 'shippingOrigin'
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
class AccountShippingCondition
|
673
|
+
# @private
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
+
property :delivery_location_group, as: 'deliveryLocationGroup'
|
676
|
+
property :delivery_location_id, as: 'deliveryLocationId'
|
677
|
+
property :delivery_postal_code, as: 'deliveryPostalCode'
|
678
|
+
property :delivery_postal_code_range, as: 'deliveryPostalCodeRange', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation
|
679
|
+
|
680
|
+
property :price_max, as: 'priceMax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
681
|
+
|
682
|
+
property :shipping_label, as: 'shippingLabel'
|
683
|
+
property :weight_max, as: 'weightMax', class: Google::Apis::ContentV2::Weight, decorator: Google::Apis::ContentV2::Weight::Representation
|
684
|
+
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class AccountShippingLocationGroup
|
689
|
+
# @private
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
property :country, as: 'country'
|
692
|
+
collection :location_ids, as: 'locationIds'
|
693
|
+
property :name, as: 'name'
|
694
|
+
collection :postal_code_ranges, as: 'postalCodeRanges', class: Google::Apis::ContentV2::AccountShippingPostalCodeRange, decorator: Google::Apis::ContentV2::AccountShippingPostalCodeRange::Representation
|
695
|
+
|
696
|
+
collection :postal_codes, as: 'postalCodes'
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
class AccountShippingPostalCodeRange
|
701
|
+
# @private
|
702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
703
|
+
property :end, as: 'end'
|
704
|
+
property :start, as: 'start'
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
class AccountShippingRateTable
|
709
|
+
# @private
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
711
|
+
collection :content, as: 'content', class: Google::Apis::ContentV2::AccountShippingRateTableCell, decorator: Google::Apis::ContentV2::AccountShippingRateTableCell::Representation
|
712
|
+
|
713
|
+
property :name, as: 'name'
|
714
|
+
property :sale_country, as: 'saleCountry'
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
class AccountShippingRateTableCell
|
719
|
+
# @private
|
720
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
721
|
+
property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation
|
722
|
+
|
723
|
+
property :rate, as: 'rate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
724
|
+
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
class AccountShippingShippingService
|
729
|
+
# @private
|
730
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
731
|
+
property :active, as: 'active'
|
732
|
+
property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation
|
733
|
+
|
734
|
+
property :cost_rule_tree, as: 'costRuleTree', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
|
735
|
+
|
736
|
+
property :name, as: 'name'
|
737
|
+
property :sale_country, as: 'saleCountry'
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
class AccountShippingShippingServiceCalculationMethod
|
742
|
+
# @private
|
743
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
744
|
+
property :carrier_rate, as: 'carrierRate'
|
745
|
+
property :excluded, as: 'excluded'
|
746
|
+
property :flat_rate, as: 'flatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
747
|
+
|
748
|
+
property :percentage_rate, as: 'percentageRate'
|
749
|
+
property :rate_table, as: 'rateTable'
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
class AccountShippingShippingServiceCostRule
|
754
|
+
# @private
|
755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
756
|
+
property :calculation_method, as: 'calculationMethod', class: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod::Representation
|
757
|
+
|
758
|
+
collection :children, as: 'children', class: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule, decorator: Google::Apis::ContentV2::AccountShippingShippingServiceCostRule::Representation
|
759
|
+
|
760
|
+
property :condition, as: 'condition', class: Google::Apis::ContentV2::AccountShippingCondition, decorator: Google::Apis::ContentV2::AccountShippingCondition::Representation
|
761
|
+
|
762
|
+
end
|
763
|
+
end
|
764
|
+
|
765
|
+
class AccountStatus
|
766
|
+
# @private
|
767
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
768
|
+
property :account_id, as: 'accountId'
|
769
|
+
collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::AccountStatusDataQualityIssue, decorator: Google::Apis::ContentV2::AccountStatusDataQualityIssue::Representation
|
770
|
+
|
771
|
+
property :kind, as: 'kind'
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
class AccountStatusDataQualityIssue
|
776
|
+
# @private
|
777
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
778
|
+
property :country, as: 'country'
|
779
|
+
property :displayed_value, as: 'displayedValue'
|
780
|
+
collection :example_items, as: 'exampleItems', class: Google::Apis::ContentV2::AccountStatusExampleItem, decorator: Google::Apis::ContentV2::AccountStatusExampleItem::Representation
|
781
|
+
|
782
|
+
property :id, as: 'id'
|
783
|
+
property :last_checked, as: 'lastChecked'
|
784
|
+
property :num_items, as: 'numItems'
|
785
|
+
property :severity, as: 'severity'
|
786
|
+
property :submitted_value, as: 'submittedValue'
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
class AccountStatusExampleItem
|
791
|
+
# @private
|
792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
793
|
+
property :item_id, as: 'itemId'
|
794
|
+
property :link, as: 'link'
|
795
|
+
property :submitted_value, as: 'submittedValue'
|
796
|
+
property :title, as: 'title'
|
797
|
+
property :value_on_landing_page, as: 'valueOnLandingPage'
|
798
|
+
end
|
799
|
+
end
|
800
|
+
|
801
|
+
class AccountTax
|
802
|
+
# @private
|
803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
804
|
+
property :account_id, as: 'accountId'
|
805
|
+
property :kind, as: 'kind'
|
806
|
+
collection :rules, as: 'rules', class: Google::Apis::ContentV2::AccountTaxTaxRule, decorator: Google::Apis::ContentV2::AccountTaxTaxRule::Representation
|
807
|
+
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
811
|
+
class AccountTaxTaxRule
|
812
|
+
# @private
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
property :country, as: 'country'
|
815
|
+
property :location_id, as: 'locationId'
|
816
|
+
property :rate_percent, as: 'ratePercent'
|
817
|
+
property :shipping_taxed, as: 'shippingTaxed'
|
818
|
+
property :use_global_rate, as: 'useGlobalRate'
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
class AccountUser
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
property :admin, as: 'admin'
|
826
|
+
property :email_address, as: 'emailAddress'
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
class AccountsAuthInfoResponse
|
831
|
+
# @private
|
832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
833
|
+
collection :account_identifiers, as: 'accountIdentifiers', class: Google::Apis::ContentV2::AccountIdentifier, decorator: Google::Apis::ContentV2::AccountIdentifier::Representation
|
834
|
+
|
835
|
+
property :kind, as: 'kind'
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
class BatchAccountsRequest
|
840
|
+
# @private
|
841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
842
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountsBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountsBatchRequestEntry::Representation
|
843
|
+
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
class AccountsBatchRequestEntry
|
848
|
+
# @private
|
849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
850
|
+
property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
|
851
|
+
|
852
|
+
property :account_id, as: 'accountId'
|
853
|
+
property :batch_id, as: 'batchId'
|
854
|
+
property :merchant_id, as: 'merchantId'
|
855
|
+
property :request_method, as: 'method'
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
class BatchAccountsResponse
|
860
|
+
# @private
|
861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
862
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountsBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountsBatchResponseEntry::Representation
|
863
|
+
|
864
|
+
property :kind, as: 'kind'
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
class AccountsBatchResponseEntry
|
869
|
+
# @private
|
870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
871
|
+
property :account, as: 'account', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
|
872
|
+
|
873
|
+
property :batch_id, as: 'batchId'
|
874
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
875
|
+
|
876
|
+
property :kind, as: 'kind'
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
class ListAccountsResponse
|
881
|
+
# @private
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
+
property :kind, as: 'kind'
|
884
|
+
property :next_page_token, as: 'nextPageToken'
|
885
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Account, decorator: Google::Apis::ContentV2::Account::Representation
|
886
|
+
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
class BatchAccountShippingRequest
|
891
|
+
# @private
|
892
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
893
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchRequestEntry::Representation
|
894
|
+
|
895
|
+
end
|
896
|
+
end
|
897
|
+
|
898
|
+
class AccountShippingBatchRequestEntry
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
property :account_id, as: 'accountId'
|
902
|
+
property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
|
903
|
+
|
904
|
+
property :batch_id, as: 'batchId'
|
905
|
+
property :merchant_id, as: 'merchantId'
|
906
|
+
property :request_method, as: 'method'
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
class BatchAccountShippingResponse
|
911
|
+
# @private
|
912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
913
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountShippingBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountShippingBatchResponseEntry::Representation
|
914
|
+
|
915
|
+
property :kind, as: 'kind'
|
916
|
+
end
|
917
|
+
end
|
918
|
+
|
919
|
+
class AccountShippingBatchResponseEntry
|
920
|
+
# @private
|
921
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
922
|
+
property :account_shipping, as: 'accountShipping', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
|
923
|
+
|
924
|
+
property :batch_id, as: 'batchId'
|
925
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
926
|
+
|
927
|
+
property :kind, as: 'kind'
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
931
|
+
class ListAccountShippingResponse
|
932
|
+
# @private
|
933
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
934
|
+
property :kind, as: 'kind'
|
935
|
+
property :next_page_token, as: 'nextPageToken'
|
936
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountShipping, decorator: Google::Apis::ContentV2::AccountShipping::Representation
|
937
|
+
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
class BatchAccountStatusesRequest
|
942
|
+
# @private
|
943
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
944
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountStatusesBatchRequestEntry::Representation
|
945
|
+
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
949
|
+
class AccountStatusesBatchRequestEntry
|
950
|
+
# @private
|
951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
952
|
+
property :account_id, as: 'accountId'
|
953
|
+
property :batch_id, as: 'batchId'
|
954
|
+
property :merchant_id, as: 'merchantId'
|
955
|
+
property :request_method, as: 'method'
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
class BatchAccountStatusesResponse
|
960
|
+
# @private
|
961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
962
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountStatusesBatchResponseEntry::Representation
|
963
|
+
|
964
|
+
property :kind, as: 'kind'
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
968
|
+
class AccountStatusesBatchResponseEntry
|
969
|
+
# @private
|
970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
971
|
+
property :account_status, as: 'accountStatus', class: Google::Apis::ContentV2::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
|
972
|
+
|
973
|
+
property :batch_id, as: 'batchId'
|
974
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
975
|
+
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
class ListAccountStatusesResponse
|
980
|
+
# @private
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
982
|
+
property :kind, as: 'kind'
|
983
|
+
property :next_page_token, as: 'nextPageToken'
|
984
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountStatus, decorator: Google::Apis::ContentV2::AccountStatus::Representation
|
985
|
+
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
class BatchAccountTaxRequest
|
990
|
+
# @private
|
991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
992
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountTaxBatchRequestEntry, decorator: Google::Apis::ContentV2::AccountTaxBatchRequestEntry::Representation
|
993
|
+
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
class AccountTaxBatchRequestEntry
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :account_id, as: 'accountId'
|
1001
|
+
property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
|
1002
|
+
|
1003
|
+
property :batch_id, as: 'batchId'
|
1004
|
+
property :merchant_id, as: 'merchantId'
|
1005
|
+
property :request_method, as: 'method'
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
class BatchAccountTaxResponse
|
1010
|
+
# @private
|
1011
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1012
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::AccountTaxBatchResponseEntry, decorator: Google::Apis::ContentV2::AccountTaxBatchResponseEntry::Representation
|
1013
|
+
|
1014
|
+
property :kind, as: 'kind'
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
class AccountTaxBatchResponseEntry
|
1019
|
+
# @private
|
1020
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1021
|
+
property :account_tax, as: 'accountTax', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
|
1022
|
+
|
1023
|
+
property :batch_id, as: 'batchId'
|
1024
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
1025
|
+
|
1026
|
+
property :kind, as: 'kind'
|
1027
|
+
end
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
class ListAccountTaxResponse
|
1031
|
+
# @private
|
1032
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1033
|
+
property :kind, as: 'kind'
|
1034
|
+
property :next_page_token, as: 'nextPageToken'
|
1035
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::AccountTax, decorator: Google::Apis::ContentV2::AccountTax::Representation
|
1036
|
+
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
class Datafeed
|
1041
|
+
# @private
|
1042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
property :attribute_language, as: 'attributeLanguage'
|
1044
|
+
property :content_language, as: 'contentLanguage'
|
1045
|
+
property :content_type, as: 'contentType'
|
1046
|
+
property :fetch_schedule, as: 'fetchSchedule', class: Google::Apis::ContentV2::DatafeedFetchSchedule, decorator: Google::Apis::ContentV2::DatafeedFetchSchedule::Representation
|
1047
|
+
|
1048
|
+
property :file_name, as: 'fileName'
|
1049
|
+
property :format, as: 'format', class: Google::Apis::ContentV2::DatafeedFormat, decorator: Google::Apis::ContentV2::DatafeedFormat::Representation
|
1050
|
+
|
1051
|
+
property :id, as: 'id'
|
1052
|
+
collection :intended_destinations, as: 'intendedDestinations'
|
1053
|
+
property :kind, as: 'kind'
|
1054
|
+
property :name, as: 'name'
|
1055
|
+
property :target_country, as: 'targetCountry'
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
class DatafeedFetchSchedule
|
1060
|
+
# @private
|
1061
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1062
|
+
property :day_of_month, as: 'dayOfMonth'
|
1063
|
+
property :fetch_url, as: 'fetchUrl'
|
1064
|
+
property :hour, as: 'hour'
|
1065
|
+
property :password, as: 'password'
|
1066
|
+
property :time_zone, as: 'timeZone'
|
1067
|
+
property :username, as: 'username'
|
1068
|
+
property :weekday, as: 'weekday'
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
class DatafeedFormat
|
1073
|
+
# @private
|
1074
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1075
|
+
property :column_delimiter, as: 'columnDelimiter'
|
1076
|
+
property :file_encoding, as: 'fileEncoding'
|
1077
|
+
property :quoting_mode, as: 'quotingMode'
|
1078
|
+
end
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
class DatafeedStatus
|
1082
|
+
# @private
|
1083
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1084
|
+
property :datafeed_id, as: 'datafeedId'
|
1085
|
+
collection :errors, as: 'errors', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation
|
1086
|
+
|
1087
|
+
property :items_total, as: 'itemsTotal'
|
1088
|
+
property :items_valid, as: 'itemsValid'
|
1089
|
+
property :kind, as: 'kind'
|
1090
|
+
property :last_upload_date, as: 'lastUploadDate'
|
1091
|
+
property :processing_status, as: 'processingStatus'
|
1092
|
+
collection :warnings, as: 'warnings', class: Google::Apis::ContentV2::DatafeedStatusError, decorator: Google::Apis::ContentV2::DatafeedStatusError::Representation
|
1093
|
+
|
1094
|
+
end
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
class DatafeedStatusError
|
1098
|
+
# @private
|
1099
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1100
|
+
property :code, as: 'code'
|
1101
|
+
property :count, as: 'count'
|
1102
|
+
collection :examples, as: 'examples', class: Google::Apis::ContentV2::DatafeedStatusExample, decorator: Google::Apis::ContentV2::DatafeedStatusExample::Representation
|
1103
|
+
|
1104
|
+
property :message, as: 'message'
|
1105
|
+
end
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
class DatafeedStatusExample
|
1109
|
+
# @private
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1111
|
+
property :item_id, as: 'itemId'
|
1112
|
+
property :line_number, as: 'lineNumber'
|
1113
|
+
property :value, as: 'value'
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class BatchDatafeedsRequest
|
1118
|
+
# @private
|
1119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1120
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedsBatchRequestEntry, decorator: Google::Apis::ContentV2::DatafeedsBatchRequestEntry::Representation
|
1121
|
+
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
class DatafeedsBatchRequestEntry
|
1126
|
+
# @private
|
1127
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1128
|
+
property :batch_id, as: 'batchId'
|
1129
|
+
property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
|
1130
|
+
|
1131
|
+
property :datafeed_id, as: 'datafeedId'
|
1132
|
+
property :merchant_id, as: 'merchantId'
|
1133
|
+
property :request_method, as: 'method'
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
class BatchDatafeedsResponse
|
1138
|
+
# @private
|
1139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1140
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedsBatchResponseEntry, decorator: Google::Apis::ContentV2::DatafeedsBatchResponseEntry::Representation
|
1141
|
+
|
1142
|
+
property :kind, as: 'kind'
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
class DatafeedsBatchResponseEntry
|
1147
|
+
# @private
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1149
|
+
property :batch_id, as: 'batchId'
|
1150
|
+
property :datafeed, as: 'datafeed', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
|
1151
|
+
|
1152
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
1153
|
+
|
1154
|
+
end
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
class ListDatafeedsResponse
|
1158
|
+
# @private
|
1159
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1160
|
+
property :kind, as: 'kind'
|
1161
|
+
property :next_page_token, as: 'nextPageToken'
|
1162
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Datafeed, decorator: Google::Apis::ContentV2::Datafeed::Representation
|
1163
|
+
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
class BatchDatafeedStatusesRequest
|
1168
|
+
# @private
|
1169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1170
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry::Representation
|
1171
|
+
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
class DatafeedStatusesBatchRequestEntry
|
1176
|
+
# @private
|
1177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1178
|
+
property :batch_id, as: 'batchId'
|
1179
|
+
property :datafeed_id, as: 'datafeedId'
|
1180
|
+
property :merchant_id, as: 'merchantId'
|
1181
|
+
property :request_method, as: 'method'
|
1182
|
+
end
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
class BatchDatafeedStatusesResponse
|
1186
|
+
# @private
|
1187
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1188
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry::Representation
|
1189
|
+
|
1190
|
+
property :kind, as: 'kind'
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
class DatafeedStatusesBatchResponseEntry
|
1195
|
+
# @private
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1197
|
+
property :batch_id, as: 'batchId'
|
1198
|
+
property :datafeed_status, as: 'datafeedStatus', class: Google::Apis::ContentV2::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
|
1199
|
+
|
1200
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
1201
|
+
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
class ListDatafeedStatusesResponse
|
1206
|
+
# @private
|
1207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1208
|
+
property :kind, as: 'kind'
|
1209
|
+
property :next_page_token, as: 'nextPageToken'
|
1210
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::DatafeedStatus, decorator: Google::Apis::ContentV2::DatafeedStatus::Representation
|
1211
|
+
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
class Error
|
1216
|
+
# @private
|
1217
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1218
|
+
property :domain, as: 'domain'
|
1219
|
+
property :message, as: 'message'
|
1220
|
+
property :reason, as: 'reason'
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
class Errors
|
1225
|
+
# @private
|
1226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1227
|
+
property :code, as: 'code'
|
1228
|
+
collection :errors, as: 'errors', class: Google::Apis::ContentV2::Error, decorator: Google::Apis::ContentV2::Error::Representation
|
1229
|
+
|
1230
|
+
property :message, as: 'message'
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
class Installment
|
1235
|
+
# @private
|
1236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1237
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1238
|
+
|
1239
|
+
property :months, as: 'months'
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class Inventory
|
1244
|
+
# @private
|
1245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
+
property :availability, as: 'availability'
|
1247
|
+
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
1248
|
+
|
1249
|
+
property :kind, as: 'kind'
|
1250
|
+
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
1251
|
+
|
1252
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1253
|
+
|
1254
|
+
property :quantity, as: 'quantity'
|
1255
|
+
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1256
|
+
|
1257
|
+
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
1258
|
+
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
class BatchInventoryRequest
|
1263
|
+
# @private
|
1264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1265
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::InventoryBatchRequestEntry, decorator: Google::Apis::ContentV2::InventoryBatchRequestEntry::Representation
|
1266
|
+
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
class InventoryBatchRequestEntry
|
1271
|
+
# @private
|
1272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1273
|
+
property :batch_id, as: 'batchId'
|
1274
|
+
property :inventory, as: 'inventory', class: Google::Apis::ContentV2::Inventory, decorator: Google::Apis::ContentV2::Inventory::Representation
|
1275
|
+
|
1276
|
+
property :merchant_id, as: 'merchantId'
|
1277
|
+
property :product_id, as: 'productId'
|
1278
|
+
property :store_code, as: 'storeCode'
|
1279
|
+
end
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
class BatchInventoryResponse
|
1283
|
+
# @private
|
1284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1285
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::InventoryBatchResponseEntry, decorator: Google::Apis::ContentV2::InventoryBatchResponseEntry::Representation
|
1286
|
+
|
1287
|
+
property :kind, as: 'kind'
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
class InventoryBatchResponseEntry
|
1292
|
+
# @private
|
1293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1294
|
+
property :batch_id, as: 'batchId'
|
1295
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
1296
|
+
|
1297
|
+
property :kind, as: 'kind'
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
class SetInventoryRequest
|
1302
|
+
# @private
|
1303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1304
|
+
property :availability, as: 'availability'
|
1305
|
+
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
1306
|
+
|
1307
|
+
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
1308
|
+
|
1309
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1310
|
+
|
1311
|
+
property :quantity, as: 'quantity'
|
1312
|
+
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1313
|
+
|
1314
|
+
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
1315
|
+
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
class SetInventoryResponse
|
1320
|
+
# @private
|
1321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1322
|
+
property :kind, as: 'kind'
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
class LoyaltyPoints
|
1327
|
+
# @private
|
1328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1329
|
+
property :name, as: 'name'
|
1330
|
+
property :points_value, as: 'pointsValue'
|
1331
|
+
property :ratio, as: 'ratio'
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
class Order
|
1336
|
+
# @private
|
1337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1338
|
+
property :acknowledged, as: 'acknowledged'
|
1339
|
+
property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation
|
1340
|
+
|
1341
|
+
property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation
|
1342
|
+
|
1343
|
+
property :id, as: 'id'
|
1344
|
+
property :kind, as: 'kind'
|
1345
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderLineItem, decorator: Google::Apis::ContentV2::OrderLineItem::Representation
|
1346
|
+
|
1347
|
+
property :merchant_id, as: 'merchantId'
|
1348
|
+
property :merchant_order_id, as: 'merchantOrderId'
|
1349
|
+
property :net_amount, as: 'netAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1350
|
+
|
1351
|
+
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::OrderPaymentMethod, decorator: Google::Apis::ContentV2::OrderPaymentMethod::Representation
|
1352
|
+
|
1353
|
+
property :payment_status, as: 'paymentStatus'
|
1354
|
+
property :placed_date, as: 'placedDate'
|
1355
|
+
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
|
1356
|
+
|
1357
|
+
collection :shipments, as: 'shipments', class: Google::Apis::ContentV2::OrderShipment, decorator: Google::Apis::ContentV2::OrderShipment::Representation
|
1358
|
+
|
1359
|
+
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1360
|
+
|
1361
|
+
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1362
|
+
|
1363
|
+
property :shipping_option, as: 'shippingOption'
|
1364
|
+
property :status, as: 'status'
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
class OrderAddress
|
1369
|
+
# @private
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1371
|
+
property :country, as: 'country'
|
1372
|
+
collection :full_address, as: 'fullAddress'
|
1373
|
+
property :is_post_office_box, as: 'isPostOfficeBox'
|
1374
|
+
property :locality, as: 'locality'
|
1375
|
+
property :postal_code, as: 'postalCode'
|
1376
|
+
property :recipient_name, as: 'recipientName'
|
1377
|
+
property :region, as: 'region'
|
1378
|
+
collection :street_address, as: 'streetAddress'
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
class OrderCancellation
|
1383
|
+
# @private
|
1384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1385
|
+
property :actor, as: 'actor'
|
1386
|
+
property :creation_date, as: 'creationDate'
|
1387
|
+
property :quantity, as: 'quantity'
|
1388
|
+
property :reason, as: 'reason'
|
1389
|
+
property :reason_text, as: 'reasonText'
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
class OrderCustomer
|
1394
|
+
# @private
|
1395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1396
|
+
property :email, as: 'email'
|
1397
|
+
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
|
1398
|
+
property :full_name, as: 'fullName'
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
class OrderDeliveryDetails
|
1403
|
+
# @private
|
1404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
+
property :address, as: 'address', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
|
1406
|
+
|
1407
|
+
property :phone_number, as: 'phoneNumber'
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
class OrderLineItem
|
1412
|
+
# @private
|
1413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1414
|
+
collection :cancellations, as: 'cancellations', class: Google::Apis::ContentV2::OrderCancellation, decorator: Google::Apis::ContentV2::OrderCancellation::Representation
|
1415
|
+
|
1416
|
+
property :id, as: 'id'
|
1417
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1418
|
+
|
1419
|
+
property :product, as: 'product', class: Google::Apis::ContentV2::OrderLineItemProduct, decorator: Google::Apis::ContentV2::OrderLineItemProduct::Representation
|
1420
|
+
|
1421
|
+
property :quantity_canceled, as: 'quantityCanceled'
|
1422
|
+
property :quantity_delivered, as: 'quantityDelivered'
|
1423
|
+
property :quantity_ordered, as: 'quantityOrdered'
|
1424
|
+
property :quantity_pending, as: 'quantityPending'
|
1425
|
+
property :quantity_returned, as: 'quantityReturned'
|
1426
|
+
property :quantity_shipped, as: 'quantityShipped'
|
1427
|
+
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
|
1428
|
+
|
1429
|
+
collection :returns, as: 'returns', class: Google::Apis::ContentV2::OrderReturn, decorator: Google::Apis::ContentV2::OrderReturn::Representation
|
1430
|
+
|
1431
|
+
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
|
1432
|
+
|
1433
|
+
property :tax, as: 'tax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1434
|
+
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
class OrderLineItemProduct
|
1439
|
+
# @private
|
1440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1441
|
+
property :brand, as: 'brand'
|
1442
|
+
property :channel, as: 'channel'
|
1443
|
+
property :condition, as: 'condition'
|
1444
|
+
property :content_language, as: 'contentLanguage'
|
1445
|
+
property :gtin, as: 'gtin'
|
1446
|
+
property :id, as: 'id'
|
1447
|
+
property :image_link, as: 'imageLink'
|
1448
|
+
property :item_group_id, as: 'itemGroupId'
|
1449
|
+
property :mpn, as: 'mpn'
|
1450
|
+
property :offer_id, as: 'offerId'
|
1451
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1452
|
+
|
1453
|
+
property :shown_image, as: 'shownImage'
|
1454
|
+
property :target_country, as: 'targetCountry'
|
1455
|
+
property :title, as: 'title'
|
1456
|
+
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
|
1457
|
+
|
1458
|
+
end
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
class OrderLineItemProductVariantAttribute
|
1462
|
+
# @private
|
1463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1464
|
+
property :dimension, as: 'dimension'
|
1465
|
+
property :value, as: 'value'
|
1466
|
+
end
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
class OrderLineItemReturnInfo
|
1470
|
+
# @private
|
1471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1472
|
+
property :days_to_return, as: 'daysToReturn'
|
1473
|
+
property :is_returnable, as: 'isReturnable'
|
1474
|
+
property :policy_url, as: 'policyUrl'
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
class OrderLineItemShippingDetails
|
1479
|
+
# @private
|
1480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1481
|
+
property :deliver_by_date, as: 'deliverByDate'
|
1482
|
+
property :method_prop, as: 'method', class: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod::Representation
|
1483
|
+
|
1484
|
+
property :ship_by_date, as: 'shipByDate'
|
1485
|
+
end
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
class OrderLineItemShippingDetailsMethod
|
1489
|
+
# @private
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1491
|
+
property :carrier, as: 'carrier'
|
1492
|
+
property :max_days_in_transit, as: 'maxDaysInTransit'
|
1493
|
+
property :method_name, as: 'methodName'
|
1494
|
+
property :min_days_in_transit, as: 'minDaysInTransit'
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
class OrderPaymentMethod
|
1499
|
+
# @private
|
1500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1501
|
+
property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2::OrderAddress, decorator: Google::Apis::ContentV2::OrderAddress::Representation
|
1502
|
+
|
1503
|
+
property :expiration_month, as: 'expirationMonth'
|
1504
|
+
property :expiration_year, as: 'expirationYear'
|
1505
|
+
property :last_four_digits, as: 'lastFourDigits'
|
1506
|
+
property :phone_number, as: 'phoneNumber'
|
1507
|
+
property :type, as: 'type'
|
1508
|
+
end
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
class OrderRefund
|
1512
|
+
# @private
|
1513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1514
|
+
property :actor, as: 'actor'
|
1515
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1516
|
+
|
1517
|
+
property :creation_date, as: 'creationDate'
|
1518
|
+
property :reason, as: 'reason'
|
1519
|
+
property :reason_text, as: 'reasonText'
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
class OrderReturn
|
1524
|
+
# @private
|
1525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1526
|
+
property :actor, as: 'actor'
|
1527
|
+
property :creation_date, as: 'creationDate'
|
1528
|
+
property :quantity, as: 'quantity'
|
1529
|
+
property :reason, as: 'reason'
|
1530
|
+
property :reason_text, as: 'reasonText'
|
1531
|
+
end
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
class OrderShipment
|
1535
|
+
# @private
|
1536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1537
|
+
property :carrier, as: 'carrier'
|
1538
|
+
property :creation_date, as: 'creationDate'
|
1539
|
+
property :delivery_date, as: 'deliveryDate'
|
1540
|
+
property :id, as: 'id'
|
1541
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
1542
|
+
|
1543
|
+
property :status, as: 'status'
|
1544
|
+
property :tracking_id, as: 'trackingId'
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
|
1548
|
+
class OrderShipmentLineItemShipment
|
1549
|
+
# @private
|
1550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1551
|
+
property :line_item_id, as: 'lineItemId'
|
1552
|
+
property :quantity, as: 'quantity'
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
class OrdersAcknowledgeRequest
|
1557
|
+
# @private
|
1558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1559
|
+
property :operation_id, as: 'operationId'
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
class OrdersAcknowledgeResponse
|
1564
|
+
# @private
|
1565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1566
|
+
property :execution_status, as: 'executionStatus'
|
1567
|
+
property :kind, as: 'kind'
|
1568
|
+
end
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
class OrdersAdvanceTestOrderResponse
|
1572
|
+
# @private
|
1573
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1574
|
+
property :kind, as: 'kind'
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
class OrdersCancelLineItemRequest
|
1579
|
+
# @private
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1581
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1582
|
+
|
1583
|
+
property :line_item_id, as: 'lineItemId'
|
1584
|
+
property :operation_id, as: 'operationId'
|
1585
|
+
property :quantity, as: 'quantity'
|
1586
|
+
property :reason, as: 'reason'
|
1587
|
+
property :reason_text, as: 'reasonText'
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
class OrdersCancelLineItemResponse
|
1592
|
+
# @private
|
1593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1594
|
+
property :execution_status, as: 'executionStatus'
|
1595
|
+
property :kind, as: 'kind'
|
1596
|
+
end
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
class OrdersCancelRequest
|
1600
|
+
# @private
|
1601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1602
|
+
property :operation_id, as: 'operationId'
|
1603
|
+
property :reason, as: 'reason'
|
1604
|
+
property :reason_text, as: 'reasonText'
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
class OrdersCancelResponse
|
1609
|
+
# @private
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1611
|
+
property :execution_status, as: 'executionStatus'
|
1612
|
+
property :kind, as: 'kind'
|
1613
|
+
end
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
class OrdersCreateTestOrderRequest
|
1617
|
+
# @private
|
1618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1619
|
+
property :template_name, as: 'templateName'
|
1620
|
+
property :test_order, as: 'testOrder', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
|
1621
|
+
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
class OrdersCreateTestOrderResponse
|
1626
|
+
# @private
|
1627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1628
|
+
property :kind, as: 'kind'
|
1629
|
+
property :order_id, as: 'orderId'
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
class OrdersCustomBatchRequest
|
1634
|
+
# @private
|
1635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1636
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntry::Representation
|
1637
|
+
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
class OrdersCustomBatchRequestEntry
|
1642
|
+
# @private
|
1643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1644
|
+
property :batch_id, as: 'batchId'
|
1645
|
+
property :cancel, as: 'cancel', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancel::Representation
|
1646
|
+
|
1647
|
+
property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem::Representation
|
1648
|
+
|
1649
|
+
property :merchant_id, as: 'merchantId'
|
1650
|
+
property :merchant_order_id, as: 'merchantOrderId'
|
1651
|
+
property :method_prop, as: 'method'
|
1652
|
+
property :operation_id, as: 'operationId'
|
1653
|
+
property :order_id, as: 'orderId'
|
1654
|
+
property :refund, as: 'refund', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund::Representation
|
1655
|
+
|
1656
|
+
property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem::Representation
|
1657
|
+
|
1658
|
+
property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItems::Representation
|
1659
|
+
|
1660
|
+
property :update_shipment, as: 'updateShipment', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryUpdateShipment::Representation
|
1661
|
+
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
class OrdersCustomBatchRequestEntryCancel
|
1666
|
+
# @private
|
1667
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1668
|
+
property :reason, as: 'reason'
|
1669
|
+
property :reason_text, as: 'reasonText'
|
1670
|
+
end
|
1671
|
+
end
|
1672
|
+
|
1673
|
+
class OrdersCustomBatchRequestEntryCancelLineItem
|
1674
|
+
# @private
|
1675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1676
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1677
|
+
|
1678
|
+
property :line_item_id, as: 'lineItemId'
|
1679
|
+
property :quantity, as: 'quantity'
|
1680
|
+
property :reason, as: 'reason'
|
1681
|
+
property :reason_text, as: 'reasonText'
|
1682
|
+
end
|
1683
|
+
end
|
1684
|
+
|
1685
|
+
class OrdersCustomBatchRequestEntryRefund
|
1686
|
+
# @private
|
1687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1688
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1689
|
+
|
1690
|
+
property :reason, as: 'reason'
|
1691
|
+
property :reason_text, as: 'reasonText'
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
class OrdersCustomBatchRequestEntryReturnLineItem
|
1696
|
+
# @private
|
1697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1698
|
+
property :line_item_id, as: 'lineItemId'
|
1699
|
+
property :quantity, as: 'quantity'
|
1700
|
+
property :reason, as: 'reason'
|
1701
|
+
property :reason_text, as: 'reasonText'
|
1702
|
+
end
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
class OrdersCustomBatchRequestEntryShipLineItems
|
1706
|
+
# @private
|
1707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1708
|
+
property :carrier, as: 'carrier'
|
1709
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
1710
|
+
|
1711
|
+
property :shipment_id, as: 'shipmentId'
|
1712
|
+
property :tracking_id, as: 'trackingId'
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
class OrdersCustomBatchRequestEntryUpdateShipment
|
1717
|
+
# @private
|
1718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1719
|
+
property :carrier, as: 'carrier'
|
1720
|
+
property :shipment_id, as: 'shipmentId'
|
1721
|
+
property :status, as: 'status'
|
1722
|
+
property :tracking_id, as: 'trackingId'
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
class OrdersCustomBatchResponse
|
1727
|
+
# @private
|
1728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1729
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry::Representation
|
1730
|
+
|
1731
|
+
property :kind, as: 'kind'
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
class OrdersCustomBatchResponseEntry
|
1736
|
+
# @private
|
1737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1738
|
+
property :batch_id, as: 'batchId'
|
1739
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
1740
|
+
|
1741
|
+
property :execution_status, as: 'executionStatus'
|
1742
|
+
property :kind, as: 'kind'
|
1743
|
+
property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
|
1744
|
+
|
1745
|
+
end
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
class OrdersGetByMerchantOrderIdResponse
|
1749
|
+
# @private
|
1750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1751
|
+
property :kind, as: 'kind'
|
1752
|
+
property :order, as: 'order', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
|
1753
|
+
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
class OrdersGetTestOrderTemplateResponse
|
1758
|
+
# @private
|
1759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1760
|
+
property :kind, as: 'kind'
|
1761
|
+
property :template, as: 'template', class: Google::Apis::ContentV2::TestOrder, decorator: Google::Apis::ContentV2::TestOrder::Representation
|
1762
|
+
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
class OrdersListResponse
|
1767
|
+
# @private
|
1768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1769
|
+
property :kind, as: 'kind'
|
1770
|
+
property :next_page_token, as: 'nextPageToken'
|
1771
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Order, decorator: Google::Apis::ContentV2::Order::Representation
|
1772
|
+
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
class OrdersRefundRequest
|
1777
|
+
# @private
|
1778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1779
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1780
|
+
|
1781
|
+
property :operation_id, as: 'operationId'
|
1782
|
+
property :reason, as: 'reason'
|
1783
|
+
property :reason_text, as: 'reasonText'
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
|
1787
|
+
class OrdersRefundResponse
|
1788
|
+
# @private
|
1789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1790
|
+
property :execution_status, as: 'executionStatus'
|
1791
|
+
property :kind, as: 'kind'
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
class OrdersReturnLineItemRequest
|
1796
|
+
# @private
|
1797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1798
|
+
property :line_item_id, as: 'lineItemId'
|
1799
|
+
property :operation_id, as: 'operationId'
|
1800
|
+
property :quantity, as: 'quantity'
|
1801
|
+
property :reason, as: 'reason'
|
1802
|
+
property :reason_text, as: 'reasonText'
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
class OrdersReturnLineItemResponse
|
1807
|
+
# @private
|
1808
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1809
|
+
property :execution_status, as: 'executionStatus'
|
1810
|
+
property :kind, as: 'kind'
|
1811
|
+
end
|
1812
|
+
end
|
1813
|
+
|
1814
|
+
class OrdersShipLineItemsRequest
|
1815
|
+
# @private
|
1816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1817
|
+
property :carrier, as: 'carrier'
|
1818
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
|
1819
|
+
|
1820
|
+
property :operation_id, as: 'operationId'
|
1821
|
+
property :shipment_id, as: 'shipmentId'
|
1822
|
+
property :tracking_id, as: 'trackingId'
|
1823
|
+
end
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
class OrdersShipLineItemsResponse
|
1827
|
+
# @private
|
1828
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1829
|
+
property :execution_status, as: 'executionStatus'
|
1830
|
+
property :kind, as: 'kind'
|
1831
|
+
end
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
class OrdersUpdateMerchantOrderIdRequest
|
1835
|
+
# @private
|
1836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1837
|
+
property :merchant_order_id, as: 'merchantOrderId'
|
1838
|
+
property :operation_id, as: 'operationId'
|
1839
|
+
end
|
1840
|
+
end
|
1841
|
+
|
1842
|
+
class OrdersUpdateMerchantOrderIdResponse
|
1843
|
+
# @private
|
1844
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1845
|
+
property :execution_status, as: 'executionStatus'
|
1846
|
+
property :kind, as: 'kind'
|
1847
|
+
end
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
class OrdersUpdateShipmentRequest
|
1851
|
+
# @private
|
1852
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1853
|
+
property :carrier, as: 'carrier'
|
1854
|
+
property :operation_id, as: 'operationId'
|
1855
|
+
property :shipment_id, as: 'shipmentId'
|
1856
|
+
property :status, as: 'status'
|
1857
|
+
property :tracking_id, as: 'trackingId'
|
1858
|
+
end
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
class OrdersUpdateShipmentResponse
|
1862
|
+
# @private
|
1863
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1864
|
+
property :execution_status, as: 'executionStatus'
|
1865
|
+
property :kind, as: 'kind'
|
1866
|
+
end
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
class Price
|
1870
|
+
# @private
|
1871
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1872
|
+
property :currency, as: 'currency'
|
1873
|
+
property :value, as: 'value'
|
1874
|
+
end
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
class Product
|
1878
|
+
# @private
|
1879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1880
|
+
collection :additional_image_links, as: 'additionalImageLinks'
|
1881
|
+
property :adult, as: 'adult'
|
1882
|
+
property :adwords_grouping, as: 'adwordsGrouping'
|
1883
|
+
collection :adwords_labels, as: 'adwordsLabels'
|
1884
|
+
property :adwords_redirect, as: 'adwordsRedirect'
|
1885
|
+
property :age_group, as: 'ageGroup'
|
1886
|
+
collection :aspects, as: 'aspects', class: Google::Apis::ContentV2::ProductAspect, decorator: Google::Apis::ContentV2::ProductAspect::Representation
|
1887
|
+
|
1888
|
+
property :availability, as: 'availability'
|
1889
|
+
property :availability_date, as: 'availabilityDate'
|
1890
|
+
property :brand, as: 'brand'
|
1891
|
+
property :channel, as: 'channel'
|
1892
|
+
property :color, as: 'color'
|
1893
|
+
property :condition, as: 'condition'
|
1894
|
+
property :content_language, as: 'contentLanguage'
|
1895
|
+
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
1896
|
+
|
1897
|
+
collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
|
1898
|
+
|
1899
|
+
property :custom_label0, as: 'customLabel0'
|
1900
|
+
property :custom_label1, as: 'customLabel1'
|
1901
|
+
property :custom_label2, as: 'customLabel2'
|
1902
|
+
property :custom_label3, as: 'customLabel3'
|
1903
|
+
property :custom_label4, as: 'customLabel4'
|
1904
|
+
property :description, as: 'description'
|
1905
|
+
collection :destinations, as: 'destinations', class: Google::Apis::ContentV2::ProductDestination, decorator: Google::Apis::ContentV2::ProductDestination::Representation
|
1906
|
+
|
1907
|
+
property :display_ads_id, as: 'displayAdsId'
|
1908
|
+
property :display_ads_link, as: 'displayAdsLink'
|
1909
|
+
collection :display_ads_similar_ids, as: 'displayAdsSimilarIds'
|
1910
|
+
property :display_ads_title, as: 'displayAdsTitle'
|
1911
|
+
property :display_ads_value, as: 'displayAdsValue'
|
1912
|
+
property :energy_efficiency_class, as: 'energyEfficiencyClass'
|
1913
|
+
property :expiration_date, as: 'expirationDate'
|
1914
|
+
property :gender, as: 'gender'
|
1915
|
+
property :google_product_category, as: 'googleProductCategory'
|
1916
|
+
property :gtin, as: 'gtin'
|
1917
|
+
property :id, as: 'id'
|
1918
|
+
property :identifier_exists, as: 'identifierExists'
|
1919
|
+
property :image_link, as: 'imageLink'
|
1920
|
+
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
1921
|
+
|
1922
|
+
property :is_bundle, as: 'isBundle'
|
1923
|
+
property :item_group_id, as: 'itemGroupId'
|
1924
|
+
property :kind, as: 'kind'
|
1925
|
+
property :link, as: 'link'
|
1926
|
+
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
1927
|
+
|
1928
|
+
property :material, as: 'material'
|
1929
|
+
property :mobile_link, as: 'mobileLink'
|
1930
|
+
property :mpn, as: 'mpn'
|
1931
|
+
property :multipack, as: 'multipack'
|
1932
|
+
property :offer_id, as: 'offerId'
|
1933
|
+
property :online_only, as: 'onlineOnly'
|
1934
|
+
property :pattern, as: 'pattern'
|
1935
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1936
|
+
|
1937
|
+
property :product_type, as: 'productType'
|
1938
|
+
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1939
|
+
|
1940
|
+
property :sale_price_effective_date, as: 'salePriceEffectiveDate'
|
1941
|
+
property :sell_on_google_quantity, as: 'sellOnGoogleQuantity'
|
1942
|
+
collection :shipping, as: 'shipping', class: Google::Apis::ContentV2::ProductShipping, decorator: Google::Apis::ContentV2::ProductShipping::Representation
|
1943
|
+
|
1944
|
+
property :shipping_height, as: 'shippingHeight', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
|
1945
|
+
|
1946
|
+
property :shipping_label, as: 'shippingLabel'
|
1947
|
+
property :shipping_length, as: 'shippingLength', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
|
1948
|
+
|
1949
|
+
property :shipping_weight, as: 'shippingWeight', class: Google::Apis::ContentV2::ProductShippingWeight, decorator: Google::Apis::ContentV2::ProductShippingWeight::Representation
|
1950
|
+
|
1951
|
+
property :shipping_width, as: 'shippingWidth', class: Google::Apis::ContentV2::ProductShippingDimension, decorator: Google::Apis::ContentV2::ProductShippingDimension::Representation
|
1952
|
+
|
1953
|
+
property :size_system, as: 'sizeSystem'
|
1954
|
+
property :size_type, as: 'sizeType'
|
1955
|
+
collection :sizes, as: 'sizes'
|
1956
|
+
property :target_country, as: 'targetCountry'
|
1957
|
+
collection :taxes, as: 'taxes', class: Google::Apis::ContentV2::ProductTax, decorator: Google::Apis::ContentV2::ProductTax::Representation
|
1958
|
+
|
1959
|
+
property :title, as: 'title'
|
1960
|
+
property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingBaseMeasure::Representation
|
1961
|
+
|
1962
|
+
property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::ContentV2::ProductUnitPricingMeasure, decorator: Google::Apis::ContentV2::ProductUnitPricingMeasure::Representation
|
1963
|
+
|
1964
|
+
collection :validated_destinations, as: 'validatedDestinations'
|
1965
|
+
collection :warnings, as: 'warnings', class: Google::Apis::ContentV2::Error, decorator: Google::Apis::ContentV2::Error::Representation
|
1966
|
+
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
|
1970
|
+
class ProductAspect
|
1971
|
+
# @private
|
1972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1973
|
+
property :aspect_name, as: 'aspectName'
|
1974
|
+
property :destination_name, as: 'destinationName'
|
1975
|
+
property :intention, as: 'intention'
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
class ProductCustomAttribute
|
1980
|
+
# @private
|
1981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1982
|
+
property :name, as: 'name'
|
1983
|
+
property :type, as: 'type'
|
1984
|
+
property :unit, as: 'unit'
|
1985
|
+
property :value, as: 'value'
|
1986
|
+
end
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
class ProductCustomGroup
|
1990
|
+
# @private
|
1991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1992
|
+
collection :attributes, as: 'attributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
1993
|
+
|
1994
|
+
property :name, as: 'name'
|
1995
|
+
end
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
class ProductDestination
|
1999
|
+
# @private
|
2000
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2001
|
+
property :destination_name, as: 'destinationName'
|
2002
|
+
property :intention, as: 'intention'
|
2003
|
+
end
|
2004
|
+
end
|
2005
|
+
|
2006
|
+
class ProductShipping
|
2007
|
+
# @private
|
2008
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2009
|
+
property :country, as: 'country'
|
2010
|
+
property :location_group_name, as: 'locationGroupName'
|
2011
|
+
property :location_id, as: 'locationId'
|
2012
|
+
property :postal_code, as: 'postalCode'
|
2013
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2014
|
+
|
2015
|
+
property :region, as: 'region'
|
2016
|
+
property :service, as: 'service'
|
2017
|
+
end
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
class ProductShippingDimension
|
2021
|
+
# @private
|
2022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2023
|
+
property :unit, as: 'unit'
|
2024
|
+
property :value, as: 'value'
|
2025
|
+
end
|
2026
|
+
end
|
2027
|
+
|
2028
|
+
class ProductShippingWeight
|
2029
|
+
# @private
|
2030
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2031
|
+
property :unit, as: 'unit'
|
2032
|
+
property :value, as: 'value'
|
2033
|
+
end
|
2034
|
+
end
|
2035
|
+
|
2036
|
+
class ProductStatus
|
2037
|
+
# @private
|
2038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2039
|
+
property :creation_date, as: 'creationDate'
|
2040
|
+
collection :data_quality_issues, as: 'dataQualityIssues', class: Google::Apis::ContentV2::ProductStatusDataQualityIssue, decorator: Google::Apis::ContentV2::ProductStatusDataQualityIssue::Representation
|
2041
|
+
|
2042
|
+
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2::ProductStatusDestinationStatus, decorator: Google::Apis::ContentV2::ProductStatusDestinationStatus::Representation
|
2043
|
+
|
2044
|
+
property :google_expiration_date, as: 'googleExpirationDate'
|
2045
|
+
property :kind, as: 'kind'
|
2046
|
+
property :last_update_date, as: 'lastUpdateDate'
|
2047
|
+
property :link, as: 'link'
|
2048
|
+
property :product_id, as: 'productId'
|
2049
|
+
property :title, as: 'title'
|
2050
|
+
end
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
class ProductStatusDataQualityIssue
|
2054
|
+
# @private
|
2055
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2056
|
+
property :detail, as: 'detail'
|
2057
|
+
property :fetch_status, as: 'fetchStatus'
|
2058
|
+
property :id, as: 'id'
|
2059
|
+
property :location, as: 'location'
|
2060
|
+
property :severity, as: 'severity'
|
2061
|
+
property :timestamp, as: 'timestamp'
|
2062
|
+
property :value_on_landing_page, as: 'valueOnLandingPage'
|
2063
|
+
property :value_provided, as: 'valueProvided'
|
2064
|
+
end
|
2065
|
+
end
|
2066
|
+
|
2067
|
+
class ProductStatusDestinationStatus
|
2068
|
+
# @private
|
2069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2070
|
+
property :approval_status, as: 'approvalStatus'
|
2071
|
+
property :destination, as: 'destination'
|
2072
|
+
property :intention, as: 'intention'
|
2073
|
+
end
|
2074
|
+
end
|
2075
|
+
|
2076
|
+
class ProductTax
|
2077
|
+
# @private
|
2078
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2079
|
+
property :country, as: 'country'
|
2080
|
+
property :location_id, as: 'locationId'
|
2081
|
+
property :postal_code, as: 'postalCode'
|
2082
|
+
property :rate, as: 'rate'
|
2083
|
+
property :region, as: 'region'
|
2084
|
+
property :tax_ship, as: 'taxShip'
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
class ProductUnitPricingBaseMeasure
|
2089
|
+
# @private
|
2090
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2091
|
+
property :unit, as: 'unit'
|
2092
|
+
property :value, as: 'value'
|
2093
|
+
end
|
2094
|
+
end
|
2095
|
+
|
2096
|
+
class ProductUnitPricingMeasure
|
2097
|
+
# @private
|
2098
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2099
|
+
property :unit, as: 'unit'
|
2100
|
+
property :value, as: 'value'
|
2101
|
+
end
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
class BatchProductsRequest
|
2105
|
+
# @private
|
2106
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2107
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductsBatchRequestEntry, decorator: Google::Apis::ContentV2::ProductsBatchRequestEntry::Representation
|
2108
|
+
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
class ProductsBatchRequestEntry
|
2113
|
+
# @private
|
2114
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2115
|
+
property :batch_id, as: 'batchId'
|
2116
|
+
property :merchant_id, as: 'merchantId'
|
2117
|
+
property :request_method, as: 'method'
|
2118
|
+
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
2119
|
+
|
2120
|
+
property :product_id, as: 'productId'
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
class BatchProductsResponse
|
2125
|
+
# @private
|
2126
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2127
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductsBatchResponseEntry, decorator: Google::Apis::ContentV2::ProductsBatchResponseEntry::Representation
|
2128
|
+
|
2129
|
+
property :kind, as: 'kind'
|
2130
|
+
end
|
2131
|
+
end
|
2132
|
+
|
2133
|
+
class ProductsBatchResponseEntry
|
2134
|
+
# @private
|
2135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2136
|
+
property :batch_id, as: 'batchId'
|
2137
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
2138
|
+
|
2139
|
+
property :kind, as: 'kind'
|
2140
|
+
property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
2141
|
+
|
2142
|
+
end
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
class ListProductsResponse
|
2146
|
+
# @private
|
2147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2148
|
+
property :kind, as: 'kind'
|
2149
|
+
property :next_page_token, as: 'nextPageToken'
|
2150
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
|
2151
|
+
|
2152
|
+
end
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
class BatchProductStatusesRequest
|
2156
|
+
# @private
|
2157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2158
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductStatusesBatchRequestEntry, decorator: Google::Apis::ContentV2::ProductStatusesBatchRequestEntry::Representation
|
2159
|
+
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
class ProductStatusesBatchRequestEntry
|
2164
|
+
# @private
|
2165
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2166
|
+
property :batch_id, as: 'batchId'
|
2167
|
+
property :merchant_id, as: 'merchantId'
|
2168
|
+
property :request_method, as: 'method'
|
2169
|
+
property :product_id, as: 'productId'
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
class BatchProductStatusesResponse
|
2174
|
+
# @private
|
2175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2176
|
+
collection :entries, as: 'entries', class: Google::Apis::ContentV2::ProductStatusesBatchResponseEntry, decorator: Google::Apis::ContentV2::ProductStatusesBatchResponseEntry::Representation
|
2177
|
+
|
2178
|
+
property :kind, as: 'kind'
|
2179
|
+
end
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
class ProductStatusesBatchResponseEntry
|
2183
|
+
# @private
|
2184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2185
|
+
property :batch_id, as: 'batchId'
|
2186
|
+
property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
|
2187
|
+
|
2188
|
+
property :kind, as: 'kind'
|
2189
|
+
property :product_status, as: 'productStatus', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
|
2190
|
+
|
2191
|
+
end
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
class ListProductStatusesResponse
|
2195
|
+
# @private
|
2196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2197
|
+
property :kind, as: 'kind'
|
2198
|
+
property :next_page_token, as: 'nextPageToken'
|
2199
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::ProductStatus, decorator: Google::Apis::ContentV2::ProductStatus::Representation
|
2200
|
+
|
2201
|
+
end
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
class TestOrder
|
2205
|
+
# @private
|
2206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2207
|
+
property :customer, as: 'customer', class: Google::Apis::ContentV2::TestOrderCustomer, decorator: Google::Apis::ContentV2::TestOrderCustomer::Representation
|
2208
|
+
|
2209
|
+
property :kind, as: 'kind'
|
2210
|
+
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::TestOrderLineItem, decorator: Google::Apis::ContentV2::TestOrderLineItem::Representation
|
2211
|
+
|
2212
|
+
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
|
2213
|
+
|
2214
|
+
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
2215
|
+
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2216
|
+
|
2217
|
+
property :shipping_cost_tax, as: 'shippingCostTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2218
|
+
|
2219
|
+
property :shipping_option, as: 'shippingOption'
|
2220
|
+
end
|
2221
|
+
end
|
2222
|
+
|
2223
|
+
class TestOrderCustomer
|
2224
|
+
# @private
|
2225
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2226
|
+
property :email, as: 'email'
|
2227
|
+
property :explicit_marketing_preference, as: 'explicitMarketingPreference'
|
2228
|
+
property :full_name, as: 'fullName'
|
2229
|
+
end
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
class TestOrderLineItem
|
2233
|
+
# @private
|
2234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2235
|
+
property :product, as: 'product', class: Google::Apis::ContentV2::TestOrderLineItemProduct, decorator: Google::Apis::ContentV2::TestOrderLineItemProduct::Representation
|
2236
|
+
|
2237
|
+
property :quantity_ordered, as: 'quantityOrdered'
|
2238
|
+
property :return_info, as: 'returnInfo', class: Google::Apis::ContentV2::OrderLineItemReturnInfo, decorator: Google::Apis::ContentV2::OrderLineItemReturnInfo::Representation
|
2239
|
+
|
2240
|
+
property :shipping_details, as: 'shippingDetails', class: Google::Apis::ContentV2::OrderLineItemShippingDetails, decorator: Google::Apis::ContentV2::OrderLineItemShippingDetails::Representation
|
2241
|
+
|
2242
|
+
property :unit_tax, as: 'unitTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2243
|
+
|
2244
|
+
end
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
class TestOrderLineItemProduct
|
2248
|
+
# @private
|
2249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2250
|
+
property :brand, as: 'brand'
|
2251
|
+
property :channel, as: 'channel'
|
2252
|
+
property :condition, as: 'condition'
|
2253
|
+
property :content_language, as: 'contentLanguage'
|
2254
|
+
property :gtin, as: 'gtin'
|
2255
|
+
property :image_link, as: 'imageLink'
|
2256
|
+
property :item_group_id, as: 'itemGroupId'
|
2257
|
+
property :mpn, as: 'mpn'
|
2258
|
+
property :offer_id, as: 'offerId'
|
2259
|
+
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2260
|
+
|
2261
|
+
property :target_country, as: 'targetCountry'
|
2262
|
+
property :title, as: 'title'
|
2263
|
+
collection :variant_attributes, as: 'variantAttributes', class: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute, decorator: Google::Apis::ContentV2::OrderLineItemProductVariantAttribute::Representation
|
2264
|
+
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
class TestOrderPaymentMethod
|
2269
|
+
# @private
|
2270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2271
|
+
property :expiration_month, as: 'expirationMonth'
|
2272
|
+
property :expiration_year, as: 'expirationYear'
|
2273
|
+
property :last_four_digits, as: 'lastFourDigits'
|
2274
|
+
property :predefined_billing_address, as: 'predefinedBillingAddress'
|
2275
|
+
property :type, as: 'type'
|
2276
|
+
end
|
2277
|
+
end
|
2278
|
+
|
2279
|
+
class Weight
|
2280
|
+
# @private
|
2281
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2282
|
+
property :unit, as: 'unit'
|
2283
|
+
property :value, as: 'value'
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
end
|
2287
|
+
end
|
2288
|
+
end
|