google-api-client 0.10.3 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -1508,7 +1508,7 @@ module Google
|
|
1508
1508
|
property :address, as: 'address'
|
1509
1509
|
property :creation_timestamp, as: 'creationTimestamp'
|
1510
1510
|
property :description, as: 'description'
|
1511
|
-
property :id, as: 'id'
|
1511
|
+
property :id, :numeric_string => true, as: 'id'
|
1512
1512
|
property :kind, as: 'kind'
|
1513
1513
|
property :name, as: 'name'
|
1514
1514
|
property :region, as: 'region'
|
@@ -1594,7 +1594,7 @@ module Google
|
|
1594
1594
|
# @private
|
1595
1595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1596
1596
|
property :disk_name, as: 'diskName'
|
1597
|
-
property :disk_size_gb, as: 'diskSizeGb'
|
1597
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
1598
1598
|
property :disk_type, as: 'diskType'
|
1599
1599
|
property :source_image, as: 'sourceImage'
|
1600
1600
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
@@ -1609,7 +1609,7 @@ module Google
|
|
1609
1609
|
|
1610
1610
|
property :creation_timestamp, as: 'creationTimestamp'
|
1611
1611
|
property :description, as: 'description'
|
1612
|
-
property :id, as: 'id'
|
1612
|
+
property :id, :numeric_string => true, as: 'id'
|
1613
1613
|
property :kind, as: 'kind'
|
1614
1614
|
property :name, as: 'name'
|
1615
1615
|
property :region, as: 'region'
|
@@ -1731,7 +1731,7 @@ module Google
|
|
1731
1731
|
property :creation_timestamp, as: 'creationTimestamp'
|
1732
1732
|
property :description, as: 'description'
|
1733
1733
|
property :enable_cdn, as: 'enableCdn'
|
1734
|
-
property :id, as: 'id'
|
1734
|
+
property :id, :numeric_string => true, as: 'id'
|
1735
1735
|
property :kind, as: 'kind'
|
1736
1736
|
property :name, as: 'name'
|
1737
1737
|
property :self_link, as: 'selfLink'
|
@@ -1765,7 +1765,7 @@ module Google
|
|
1765
1765
|
property :enable_cdn, as: 'enableCDN'
|
1766
1766
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
1767
1767
|
collection :health_checks, as: 'healthChecks'
|
1768
|
-
property :id, as: 'id'
|
1768
|
+
property :id, :numeric_string => true, as: 'id'
|
1769
1769
|
property :kind, as: 'kind'
|
1770
1770
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
1771
1771
|
property :name, as: 'name'
|
@@ -1909,7 +1909,7 @@ module Google
|
|
1909
1909
|
property :description, as: 'description'
|
1910
1910
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
1911
1911
|
|
1912
|
-
property :id, as: 'id'
|
1912
|
+
property :id, :numeric_string => true, as: 'id'
|
1913
1913
|
property :kind, as: 'kind'
|
1914
1914
|
property :last_attach_timestamp, as: 'lastAttachTimestamp'
|
1915
1915
|
property :last_detach_timestamp, as: 'lastDetachTimestamp'
|
@@ -1917,7 +1917,7 @@ module Google
|
|
1917
1917
|
property :name, as: 'name'
|
1918
1918
|
property :options, as: 'options'
|
1919
1919
|
property :self_link, as: 'selfLink'
|
1920
|
-
property :size_gb, as: 'sizeGb'
|
1920
|
+
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
1921
1921
|
property :source_image, as: 'sourceImage'
|
1922
1922
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
1923
1923
|
|
@@ -1969,11 +1969,11 @@ module Google
|
|
1969
1969
|
# @private
|
1970
1970
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1971
1971
|
property :creation_timestamp, as: 'creationTimestamp'
|
1972
|
-
property :default_disk_size_gb, as: 'defaultDiskSizeGb'
|
1972
|
+
property :default_disk_size_gb, :numeric_string => true, as: 'defaultDiskSizeGb'
|
1973
1973
|
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
|
1974
1974
|
|
1975
1975
|
property :description, as: 'description'
|
1976
|
-
property :id, as: 'id'
|
1976
|
+
property :id, :numeric_string => true, as: 'id'
|
1977
1977
|
property :kind, as: 'kind'
|
1978
1978
|
property :name, as: 'name'
|
1979
1979
|
property :self_link, as: 'selfLink'
|
@@ -2037,7 +2037,7 @@ module Google
|
|
2037
2037
|
class DisksResizeRequest
|
2038
2038
|
# @private
|
2039
2039
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2040
|
-
property :size_gb, as: 'sizeGb'
|
2040
|
+
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
2041
2041
|
end
|
2042
2042
|
end
|
2043
2043
|
|
@@ -2076,7 +2076,7 @@ module Google
|
|
2076
2076
|
|
2077
2077
|
property :creation_timestamp, as: 'creationTimestamp'
|
2078
2078
|
property :description, as: 'description'
|
2079
|
-
property :id, as: 'id'
|
2079
|
+
property :id, :numeric_string => true, as: 'id'
|
2080
2080
|
property :kind, as: 'kind'
|
2081
2081
|
property :name, as: 'name'
|
2082
2082
|
property :network, as: 'network'
|
@@ -2115,7 +2115,7 @@ module Google
|
|
2115
2115
|
property :backend_service, as: 'backendService'
|
2116
2116
|
property :creation_timestamp, as: 'creationTimestamp'
|
2117
2117
|
property :description, as: 'description'
|
2118
|
-
property :id, as: 'id'
|
2118
|
+
property :id, :numeric_string => true, as: 'id'
|
2119
2119
|
property :kind, as: 'kind'
|
2120
2120
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
2121
2121
|
property :name, as: 'name'
|
@@ -2221,7 +2221,7 @@ module Google
|
|
2221
2221
|
|
2222
2222
|
property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeV1::HttpsHealthCheck, decorator: Google::Apis::ComputeV1::HttpsHealthCheck::Representation
|
2223
2223
|
|
2224
|
-
property :id, as: 'id'
|
2224
|
+
property :id, :numeric_string => true, as: 'id'
|
2225
2225
|
property :kind, as: 'kind'
|
2226
2226
|
property :name, as: 'name'
|
2227
2227
|
property :self_link, as: 'selfLink'
|
@@ -2281,7 +2281,7 @@ module Google
|
|
2281
2281
|
property :description, as: 'description'
|
2282
2282
|
property :healthy_threshold, as: 'healthyThreshold'
|
2283
2283
|
property :host, as: 'host'
|
2284
|
-
property :id, as: 'id'
|
2284
|
+
property :id, :numeric_string => true, as: 'id'
|
2285
2285
|
property :kind, as: 'kind'
|
2286
2286
|
property :name, as: 'name'
|
2287
2287
|
property :port, as: 'port'
|
@@ -2312,7 +2312,7 @@ module Google
|
|
2312
2312
|
property :description, as: 'description'
|
2313
2313
|
property :healthy_threshold, as: 'healthyThreshold'
|
2314
2314
|
property :host, as: 'host'
|
2315
|
-
property :id, as: 'id'
|
2315
|
+
property :id, :numeric_string => true, as: 'id'
|
2316
2316
|
property :kind, as: 'kind'
|
2317
2317
|
property :name, as: 'name'
|
2318
2318
|
property :port, as: 'port'
|
@@ -2338,16 +2338,16 @@ module Google
|
|
2338
2338
|
class Image
|
2339
2339
|
# @private
|
2340
2340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2341
|
-
property :archive_size_bytes, as: 'archiveSizeBytes'
|
2341
|
+
property :archive_size_bytes, :numeric_string => true, as: 'archiveSizeBytes'
|
2342
2342
|
property :creation_timestamp, as: 'creationTimestamp'
|
2343
2343
|
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
|
2344
2344
|
|
2345
2345
|
property :description, as: 'description'
|
2346
|
-
property :disk_size_gb, as: 'diskSizeGb'
|
2346
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
2347
2347
|
property :family, as: 'family'
|
2348
2348
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
2349
2349
|
|
2350
|
-
property :id, as: 'id'
|
2350
|
+
property :id, :numeric_string => true, as: 'id'
|
2351
2351
|
property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
2352
2352
|
|
2353
2353
|
property :kind, as: 'kind'
|
@@ -2395,7 +2395,7 @@ module Google
|
|
2395
2395
|
property :description, as: 'description'
|
2396
2396
|
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation
|
2397
2397
|
|
2398
|
-
property :id, as: 'id'
|
2398
|
+
property :id, :numeric_string => true, as: 'id'
|
2399
2399
|
property :kind, as: 'kind'
|
2400
2400
|
property :machine_type, as: 'machineType'
|
2401
2401
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
|
@@ -2434,7 +2434,7 @@ module Google
|
|
2434
2434
|
property :creation_timestamp, as: 'creationTimestamp'
|
2435
2435
|
property :description, as: 'description'
|
2436
2436
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
2437
|
-
property :id, as: 'id'
|
2437
|
+
property :id, :numeric_string => true, as: 'id'
|
2438
2438
|
property :kind, as: 'kind'
|
2439
2439
|
property :name, as: 'name'
|
2440
2440
|
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
|
@@ -2481,7 +2481,7 @@ module Google
|
|
2481
2481
|
|
2482
2482
|
property :description, as: 'description'
|
2483
2483
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
2484
|
-
property :id, as: 'id'
|
2484
|
+
property :id, :numeric_string => true, as: 'id'
|
2485
2485
|
property :instance_group, as: 'instanceGroup'
|
2486
2486
|
property :instance_template, as: 'instanceTemplate'
|
2487
2487
|
property :kind, as: 'kind'
|
@@ -2731,7 +2731,7 @@ module Google
|
|
2731
2731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2732
2732
|
property :creation_timestamp, as: 'creationTimestamp'
|
2733
2733
|
property :description, as: 'description'
|
2734
|
-
property :id, as: 'id'
|
2734
|
+
property :id, :numeric_string => true, as: 'id'
|
2735
2735
|
property :kind, as: 'kind'
|
2736
2736
|
property :name, as: 'name'
|
2737
2737
|
property :properties, as: 'properties', class: Google::Apis::ComputeV1::InstanceProperties, decorator: Google::Apis::ComputeV1::InstanceProperties::Representation
|
@@ -2831,12 +2831,12 @@ module Google
|
|
2831
2831
|
|
2832
2832
|
property :description, as: 'description'
|
2833
2833
|
property :guest_cpus, as: 'guestCpus'
|
2834
|
-
property :id, as: 'id'
|
2834
|
+
property :id, :numeric_string => true, as: 'id'
|
2835
2835
|
property :image_space_gb, as: 'imageSpaceGb'
|
2836
2836
|
property :is_shared_cpu, as: 'isSharedCpu'
|
2837
2837
|
property :kind, as: 'kind'
|
2838
2838
|
property :maximum_persistent_disks, as: 'maximumPersistentDisks'
|
2839
|
-
property :maximum_persistent_disks_size_gb, as: 'maximumPersistentDisksSizeGb'
|
2839
|
+
property :maximum_persistent_disks_size_gb, :numeric_string => true, as: 'maximumPersistentDisksSizeGb'
|
2840
2840
|
property :memory_mb, as: 'memoryMb'
|
2841
2841
|
property :name, as: 'name'
|
2842
2842
|
collection :scratch_disks, as: 'scratchDisks', class: Google::Apis::ComputeV1::MachineType::ScratchDisk, decorator: Google::Apis::ComputeV1::MachineType::ScratchDisk::Representation
|
@@ -2909,7 +2909,7 @@ module Google
|
|
2909
2909
|
# @private
|
2910
2910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2911
2911
|
property :current_action, as: 'currentAction'
|
2912
|
-
property :id, as: 'id'
|
2912
|
+
property :id, :numeric_string => true, as: 'id'
|
2913
2913
|
property :instance, as: 'instance'
|
2914
2914
|
property :instance_status, as: 'instanceStatus'
|
2915
2915
|
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation
|
@@ -2976,7 +2976,7 @@ module Google
|
|
2976
2976
|
property :creation_timestamp, as: 'creationTimestamp'
|
2977
2977
|
property :description, as: 'description'
|
2978
2978
|
property :gateway_i_pv4, as: 'gatewayIPv4'
|
2979
|
-
property :id, as: 'id'
|
2979
|
+
property :id, :numeric_string => true, as: 'id'
|
2980
2980
|
property :kind, as: 'kind'
|
2981
2981
|
property :name, as: 'name'
|
2982
2982
|
property :self_link, as: 'selfLink'
|
@@ -3020,7 +3020,7 @@ module Google
|
|
3020
3020
|
|
3021
3021
|
property :http_error_message, as: 'httpErrorMessage'
|
3022
3022
|
property :http_error_status_code, as: 'httpErrorStatusCode'
|
3023
|
-
property :id, as: 'id'
|
3023
|
+
property :id, :numeric_string => true, as: 'id'
|
3024
3024
|
property :insert_time, as: 'insertTime'
|
3025
3025
|
property :kind, as: 'kind'
|
3026
3026
|
property :name, as: 'name'
|
@@ -3031,7 +3031,7 @@ module Google
|
|
3031
3031
|
property :start_time, as: 'startTime'
|
3032
3032
|
property :status, as: 'status'
|
3033
3033
|
property :status_message, as: 'statusMessage'
|
3034
|
-
property :target_id, as: 'targetId'
|
3034
|
+
property :target_id, :numeric_string => true, as: 'targetId'
|
3035
3035
|
property :target_link, as: 'targetLink'
|
3036
3036
|
property :user, as: 'user'
|
3037
3037
|
collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::Operation::Warning, decorator: Google::Apis::ComputeV1::Operation::Warning::Representation
|
@@ -3155,7 +3155,7 @@ module Google
|
|
3155
3155
|
property :default_service_account, as: 'defaultServiceAccount'
|
3156
3156
|
property :description, as: 'description'
|
3157
3157
|
collection :enabled_features, as: 'enabledFeatures'
|
3158
|
-
property :id, as: 'id'
|
3158
|
+
property :id, :numeric_string => true, as: 'id'
|
3159
3159
|
property :kind, as: 'kind'
|
3160
3160
|
property :name, as: 'name'
|
3161
3161
|
collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation
|
@@ -3182,7 +3182,7 @@ module Google
|
|
3182
3182
|
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
|
3183
3183
|
|
3184
3184
|
property :description, as: 'description'
|
3185
|
-
property :id, as: 'id'
|
3185
|
+
property :id, :numeric_string => true, as: 'id'
|
3186
3186
|
property :kind, as: 'kind'
|
3187
3187
|
property :name, as: 'name'
|
3188
3188
|
collection :quotas, as: 'quotas', class: Google::Apis::ComputeV1::Quota, decorator: Google::Apis::ComputeV1::Quota::Representation
|
@@ -3327,7 +3327,7 @@ module Google
|
|
3327
3327
|
property :creation_timestamp, as: 'creationTimestamp'
|
3328
3328
|
property :description, as: 'description'
|
3329
3329
|
property :dest_range, as: 'destRange'
|
3330
|
-
property :id, as: 'id'
|
3330
|
+
property :id, :numeric_string => true, as: 'id'
|
3331
3331
|
property :kind, as: 'kind'
|
3332
3332
|
property :name, as: 'name'
|
3333
3333
|
property :network, as: 'network'
|
@@ -3383,7 +3383,7 @@ module Google
|
|
3383
3383
|
|
3384
3384
|
property :creation_timestamp, as: 'creationTimestamp'
|
3385
3385
|
property :description, as: 'description'
|
3386
|
-
property :id, as: 'id'
|
3386
|
+
property :id, :numeric_string => true, as: 'id'
|
3387
3387
|
collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeV1::RouterInterface, decorator: Google::Apis::ComputeV1::RouterInterface::Representation
|
3388
3388
|
|
3389
3389
|
property :kind, as: 'kind'
|
@@ -3544,9 +3544,9 @@ module Google
|
|
3544
3544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3545
3545
|
property :contents, as: 'contents'
|
3546
3546
|
property :kind, as: 'kind'
|
3547
|
-
property :next, as: 'next'
|
3547
|
+
property :next, :numeric_string => true, as: 'next'
|
3548
3548
|
property :self_link, as: 'selfLink'
|
3549
|
-
property :start, as: 'start'
|
3549
|
+
property :start, :numeric_string => true, as: 'start'
|
3550
3550
|
end
|
3551
3551
|
end
|
3552
3552
|
|
@@ -3563,8 +3563,8 @@ module Google
|
|
3563
3563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3564
3564
|
property :creation_timestamp, as: 'creationTimestamp'
|
3565
3565
|
property :description, as: 'description'
|
3566
|
-
property :disk_size_gb, as: 'diskSizeGb'
|
3567
|
-
property :id, as: 'id'
|
3566
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
3567
|
+
property :id, :numeric_string => true, as: 'id'
|
3568
3568
|
property :kind, as: 'kind'
|
3569
3569
|
collection :licenses, as: 'licenses'
|
3570
3570
|
property :name, as: 'name'
|
@@ -3576,7 +3576,7 @@ module Google
|
|
3576
3576
|
|
3577
3577
|
property :source_disk_id, as: 'sourceDiskId'
|
3578
3578
|
property :status, as: 'status'
|
3579
|
-
property :storage_bytes, as: 'storageBytes'
|
3579
|
+
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
3580
3580
|
property :storage_bytes_status, as: 'storageBytesStatus'
|
3581
3581
|
end
|
3582
3582
|
end
|
@@ -3599,7 +3599,7 @@ module Google
|
|
3599
3599
|
property :certificate, as: 'certificate'
|
3600
3600
|
property :creation_timestamp, as: 'creationTimestamp'
|
3601
3601
|
property :description, as: 'description'
|
3602
|
-
property :id, as: 'id'
|
3602
|
+
property :id, :numeric_string => true, as: 'id'
|
3603
3603
|
property :kind, as: 'kind'
|
3604
3604
|
property :name, as: 'name'
|
3605
3605
|
property :private_key, as: 'privateKey'
|
@@ -3625,7 +3625,7 @@ module Google
|
|
3625
3625
|
property :creation_timestamp, as: 'creationTimestamp'
|
3626
3626
|
property :description, as: 'description'
|
3627
3627
|
property :gateway_address, as: 'gatewayAddress'
|
3628
|
-
property :id, as: 'id'
|
3628
|
+
property :id, :numeric_string => true, as: 'id'
|
3629
3629
|
property :ip_cidr_range, as: 'ipCidrRange'
|
3630
3630
|
property :kind, as: 'kind'
|
3631
3631
|
property :name, as: 'name'
|
@@ -3718,7 +3718,7 @@ module Google
|
|
3718
3718
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3719
3719
|
property :creation_timestamp, as: 'creationTimestamp'
|
3720
3720
|
property :description, as: 'description'
|
3721
|
-
property :id, as: 'id'
|
3721
|
+
property :id, :numeric_string => true, as: 'id'
|
3722
3722
|
property :kind, as: 'kind'
|
3723
3723
|
property :name, as: 'name'
|
3724
3724
|
property :self_link, as: 'selfLink'
|
@@ -3750,7 +3750,7 @@ module Google
|
|
3750
3750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3751
3751
|
property :creation_timestamp, as: 'creationTimestamp'
|
3752
3752
|
property :description, as: 'description'
|
3753
|
-
property :id, as: 'id'
|
3753
|
+
property :id, :numeric_string => true, as: 'id'
|
3754
3754
|
property :kind, as: 'kind'
|
3755
3755
|
property :name, as: 'name'
|
3756
3756
|
property :self_link, as: 'selfLink'
|
@@ -3776,7 +3776,7 @@ module Google
|
|
3776
3776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3777
3777
|
property :creation_timestamp, as: 'creationTimestamp'
|
3778
3778
|
property :description, as: 'description'
|
3779
|
-
property :id, as: 'id'
|
3779
|
+
property :id, :numeric_string => true, as: 'id'
|
3780
3780
|
property :instance, as: 'instance'
|
3781
3781
|
property :kind, as: 'kind'
|
3782
3782
|
property :name, as: 'name'
|
@@ -3846,7 +3846,7 @@ module Google
|
|
3846
3846
|
property :description, as: 'description'
|
3847
3847
|
property :failover_ratio, as: 'failoverRatio'
|
3848
3848
|
collection :health_checks, as: 'healthChecks'
|
3849
|
-
property :id, as: 'id'
|
3849
|
+
property :id, :numeric_string => true, as: 'id'
|
3850
3850
|
collection :instances, as: 'instances'
|
3851
3851
|
property :kind, as: 'kind'
|
3852
3852
|
property :name, as: 'name'
|
@@ -3982,7 +3982,7 @@ module Google
|
|
3982
3982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3983
3983
|
property :creation_timestamp, as: 'creationTimestamp'
|
3984
3984
|
property :description, as: 'description'
|
3985
|
-
property :id, as: 'id'
|
3985
|
+
property :id, :numeric_string => true, as: 'id'
|
3986
3986
|
property :kind, as: 'kind'
|
3987
3987
|
property :name, as: 'name'
|
3988
3988
|
property :proxy_header, as: 'proxyHeader'
|
@@ -4010,7 +4010,7 @@ module Google
|
|
4010
4010
|
property :creation_timestamp, as: 'creationTimestamp'
|
4011
4011
|
property :description, as: 'description'
|
4012
4012
|
collection :forwarding_rules, as: 'forwardingRules'
|
4013
|
-
property :id, as: 'id'
|
4013
|
+
property :id, :numeric_string => true, as: 'id'
|
4014
4014
|
property :kind, as: 'kind'
|
4015
4015
|
property :name, as: 'name'
|
4016
4016
|
property :network, as: 'network'
|
@@ -4092,7 +4092,7 @@ module Google
|
|
4092
4092
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
4093
4093
|
collection :host_rules, as: 'hostRules', class: Google::Apis::ComputeV1::HostRule, decorator: Google::Apis::ComputeV1::HostRule::Representation
|
4094
4094
|
|
4095
|
-
property :id, as: 'id'
|
4095
|
+
property :id, :numeric_string => true, as: 'id'
|
4096
4096
|
property :kind, as: 'kind'
|
4097
4097
|
property :name, as: 'name'
|
4098
4098
|
collection :path_matchers, as: 'pathMatchers', class: Google::Apis::ComputeV1::PathMatcher, decorator: Google::Apis::ComputeV1::PathMatcher::Representation
|
@@ -4173,7 +4173,7 @@ module Google
|
|
4173
4173
|
property :creation_timestamp, as: 'creationTimestamp'
|
4174
4174
|
property :description, as: 'description'
|
4175
4175
|
property :detailed_status, as: 'detailedStatus'
|
4176
|
-
property :id, as: 'id'
|
4176
|
+
property :id, :numeric_string => true, as: 'id'
|
4177
4177
|
property :ike_version, as: 'ikeVersion'
|
4178
4178
|
property :kind, as: 'kind'
|
4179
4179
|
collection :local_traffic_selector, as: 'localTrafficSelector'
|
@@ -4249,7 +4249,7 @@ module Google
|
|
4249
4249
|
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
|
4250
4250
|
|
4251
4251
|
property :description, as: 'description'
|
4252
|
-
property :id, as: 'id'
|
4252
|
+
property :id, :numeric_string => true, as: 'id'
|
4253
4253
|
property :kind, as: 'kind'
|
4254
4254
|
property :name, as: 'name'
|
4255
4255
|
property :region, as: 'region'
|
@@ -50,6 +50,7 @@ module Google
|
|
50
50
|
|
51
51
|
def initialize
|
52
52
|
super('https://www.googleapis.com/', 'compute/v1/projects/')
|
53
|
+
@batch_path = 'batch'
|
53
54
|
end
|
54
55
|
|
55
56
|
# Retrieves an aggregated list of addresses.
|
@@ -6030,7 +6031,7 @@ module Google
|
|
6030
6031
|
# Name of the instance scoping this request.
|
6031
6032
|
# @param [Fixnum] port
|
6032
6033
|
# Specifies which COM or serial port to retrieve data from.
|
6033
|
-
# @param [
|
6034
|
+
# @param [Fixnum] start
|
6034
6035
|
# Returns output starting from a specific byte position. Use this to page
|
6035
6036
|
# through output when the output is too large to return in a single request. For
|
6036
6037
|
# the initial request, leave this field unspecified. For subsequent calls, this
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170324'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -43,7 +43,7 @@ module Google
|
|
43
43
|
|
44
44
|
# Merchant Center account ID.
|
45
45
|
# Corresponds to the JSON property `id`
|
46
|
-
# @return [
|
46
|
+
# @return [Fixnum]
|
47
47
|
attr_accessor :id
|
48
48
|
|
49
49
|
# Identifies what kind of resource this is. Value: the fixed string "content#
|
@@ -102,7 +102,7 @@ module Google
|
|
102
102
|
|
103
103
|
# Customer ID of the AdWords account.
|
104
104
|
# Corresponds to the JSON property `adwordsId`
|
105
|
-
# @return [
|
105
|
+
# @return [Fixnum]
|
106
106
|
attr_accessor :adwords_id
|
107
107
|
|
108
108
|
# Status of the link between this Merchant Center account and the AdWords
|
@@ -136,12 +136,12 @@ module Google
|
|
136
136
|
# The aggregator ID, set for aggregators and subaccounts (in that case, it
|
137
137
|
# represents the aggregator of the subaccount).
|
138
138
|
# Corresponds to the JSON property `aggregatorId`
|
139
|
-
# @return [
|
139
|
+
# @return [Fixnum]
|
140
140
|
attr_accessor :aggregator_id
|
141
141
|
|
142
142
|
# The merchant account ID, set for individual accounts and subaccounts.
|
143
143
|
# Corresponds to the JSON property `merchantId`
|
144
|
-
# @return [
|
144
|
+
# @return [Fixnum]
|
145
145
|
attr_accessor :merchant_id
|
146
146
|
|
147
147
|
def initialize(**args)
|
@@ -155,470 +155,6 @@ module Google
|
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
158
|
-
# The shipping settings of a merchant account.
|
159
|
-
class AccountShipping
|
160
|
-
include Google::Apis::Core::Hashable
|
161
|
-
|
162
|
-
# The ID of the account to which these account shipping settings belong.
|
163
|
-
# Corresponds to the JSON property `accountId`
|
164
|
-
# @return [String]
|
165
|
-
attr_accessor :account_id
|
166
|
-
|
167
|
-
# Carrier-based shipping calculations.
|
168
|
-
# Corresponds to the JSON property `carrierRates`
|
169
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingCarrierRate>]
|
170
|
-
attr_accessor :carrier_rates
|
171
|
-
|
172
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
173
|
-
# accountShipping".
|
174
|
-
# Corresponds to the JSON property `kind`
|
175
|
-
# @return [String]
|
176
|
-
attr_accessor :kind
|
177
|
-
|
178
|
-
# Location groups for shipping.
|
179
|
-
# Corresponds to the JSON property `locationGroups`
|
180
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingLocationGroup>]
|
181
|
-
attr_accessor :location_groups
|
182
|
-
|
183
|
-
# Rate tables definitions.
|
184
|
-
# Corresponds to the JSON property `rateTables`
|
185
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingRateTable>]
|
186
|
-
attr_accessor :rate_tables
|
187
|
-
|
188
|
-
# Shipping services describing shipping fees calculation.
|
189
|
-
# Corresponds to the JSON property `services`
|
190
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingShippingService>]
|
191
|
-
attr_accessor :services
|
192
|
-
|
193
|
-
def initialize(**args)
|
194
|
-
update!(**args)
|
195
|
-
end
|
196
|
-
|
197
|
-
# Update properties of this object
|
198
|
-
def update!(**args)
|
199
|
-
@account_id = args[:account_id] if args.key?(:account_id)
|
200
|
-
@carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates)
|
201
|
-
@kind = args[:kind] if args.key?(:kind)
|
202
|
-
@location_groups = args[:location_groups] if args.key?(:location_groups)
|
203
|
-
@rate_tables = args[:rate_tables] if args.key?(:rate_tables)
|
204
|
-
@services = args[:services] if args.key?(:services)
|
205
|
-
end
|
206
|
-
end
|
207
|
-
|
208
|
-
# A carrier-calculated shipping rate.
|
209
|
-
class AccountShippingCarrierRate
|
210
|
-
include Google::Apis::Core::Hashable
|
211
|
-
|
212
|
-
# The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "
|
213
|
-
# USPS".
|
214
|
-
# Corresponds to the JSON property `carrier`
|
215
|
-
# @return [String]
|
216
|
-
attr_accessor :carrier
|
217
|
-
|
218
|
-
# The carrier service, such as "Ground" or "2Day".
|
219
|
-
# Corresponds to the JSON property `carrierService`
|
220
|
-
# @return [String]
|
221
|
-
attr_accessor :carrier_service
|
222
|
-
|
223
|
-
# Additive shipping rate modifier.
|
224
|
-
# Corresponds to the JSON property `modifierFlatRate`
|
225
|
-
# @return [Google::Apis::ContentV2::Price]
|
226
|
-
attr_accessor :modifier_flat_rate
|
227
|
-
|
228
|
-
# Multiplicative shipping rate modifier in percent. Represented as a floating
|
229
|
-
# point number without the percentage character.
|
230
|
-
# Corresponds to the JSON property `modifierPercent`
|
231
|
-
# @return [String]
|
232
|
-
attr_accessor :modifier_percent
|
233
|
-
|
234
|
-
# The name of the carrier rate.
|
235
|
-
# Corresponds to the JSON property `name`
|
236
|
-
# @return [String]
|
237
|
-
attr_accessor :name
|
238
|
-
|
239
|
-
# The sale country for which this carrier rate is valid, represented as a CLDR
|
240
|
-
# territory code.
|
241
|
-
# Corresponds to the JSON property `saleCountry`
|
242
|
-
# @return [String]
|
243
|
-
attr_accessor :sale_country
|
244
|
-
|
245
|
-
# Shipping origin represented as a postal code.
|
246
|
-
# Corresponds to the JSON property `shippingOrigin`
|
247
|
-
# @return [String]
|
248
|
-
attr_accessor :shipping_origin
|
249
|
-
|
250
|
-
def initialize(**args)
|
251
|
-
update!(**args)
|
252
|
-
end
|
253
|
-
|
254
|
-
# Update properties of this object
|
255
|
-
def update!(**args)
|
256
|
-
@carrier = args[:carrier] if args.key?(:carrier)
|
257
|
-
@carrier_service = args[:carrier_service] if args.key?(:carrier_service)
|
258
|
-
@modifier_flat_rate = args[:modifier_flat_rate] if args.key?(:modifier_flat_rate)
|
259
|
-
@modifier_percent = args[:modifier_percent] if args.key?(:modifier_percent)
|
260
|
-
@name = args[:name] if args.key?(:name)
|
261
|
-
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
262
|
-
@shipping_origin = args[:shipping_origin] if args.key?(:shipping_origin)
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
|
-
#
|
267
|
-
class AccountShippingCondition
|
268
|
-
include Google::Apis::Core::Hashable
|
269
|
-
|
270
|
-
# Delivery location in terms of a location group name. A location group with
|
271
|
-
# this name must be specified among location groups.
|
272
|
-
# Corresponds to the JSON property `deliveryLocationGroup`
|
273
|
-
# @return [String]
|
274
|
-
attr_accessor :delivery_location_group
|
275
|
-
|
276
|
-
# Delivery location in terms of a location ID. Can be used to represent
|
277
|
-
# administrative areas, smaller country subdivisions, or cities.
|
278
|
-
# Corresponds to the JSON property `deliveryLocationId`
|
279
|
-
# @return [String]
|
280
|
-
attr_accessor :delivery_location_id
|
281
|
-
|
282
|
-
# Delivery location in terms of a postal code.
|
283
|
-
# Corresponds to the JSON property `deliveryPostalCode`
|
284
|
-
# @return [String]
|
285
|
-
attr_accessor :delivery_postal_code
|
286
|
-
|
287
|
-
# A postal code range, that can be either:
|
288
|
-
# - A range of postal codes (e.g., start=12340, end=12359)
|
289
|
-
# - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes
|
290
|
-
# must be of the same length (e.g., start=12* end=2* is invalid).
|
291
|
-
# Corresponds to the JSON property `deliveryPostalCodeRange`
|
292
|
-
# @return [Google::Apis::ContentV2::AccountShippingPostalCodeRange]
|
293
|
-
attr_accessor :delivery_postal_code_range
|
294
|
-
|
295
|
-
# Maximum shipping price. Forms an interval between the maximum of smaller
|
296
|
-
# prices (exclusive) and this price (inclusive).
|
297
|
-
# Corresponds to the JSON property `priceMax`
|
298
|
-
# @return [Google::Apis::ContentV2::Price]
|
299
|
-
attr_accessor :price_max
|
300
|
-
|
301
|
-
# Shipping label of the product. The products with the label are matched.
|
302
|
-
# Corresponds to the JSON property `shippingLabel`
|
303
|
-
# @return [String]
|
304
|
-
attr_accessor :shipping_label
|
305
|
-
|
306
|
-
# Maximum shipping weight. Forms an interval between the maximum of smaller
|
307
|
-
# weight (exclusive) and this weight (inclusive).
|
308
|
-
# Corresponds to the JSON property `weightMax`
|
309
|
-
# @return [Google::Apis::ContentV2::Weight]
|
310
|
-
attr_accessor :weight_max
|
311
|
-
|
312
|
-
def initialize(**args)
|
313
|
-
update!(**args)
|
314
|
-
end
|
315
|
-
|
316
|
-
# Update properties of this object
|
317
|
-
def update!(**args)
|
318
|
-
@delivery_location_group = args[:delivery_location_group] if args.key?(:delivery_location_group)
|
319
|
-
@delivery_location_id = args[:delivery_location_id] if args.key?(:delivery_location_id)
|
320
|
-
@delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
|
321
|
-
@delivery_postal_code_range = args[:delivery_postal_code_range] if args.key?(:delivery_postal_code_range)
|
322
|
-
@price_max = args[:price_max] if args.key?(:price_max)
|
323
|
-
@shipping_label = args[:shipping_label] if args.key?(:shipping_label)
|
324
|
-
@weight_max = args[:weight_max] if args.key?(:weight_max)
|
325
|
-
end
|
326
|
-
end
|
327
|
-
|
328
|
-
# A user-defined locations group in a given country. All the locations of the
|
329
|
-
# group must be of the same type.
|
330
|
-
class AccountShippingLocationGroup
|
331
|
-
include Google::Apis::Core::Hashable
|
332
|
-
|
333
|
-
# The CLDR territory code of the country in which this location group is.
|
334
|
-
# Corresponds to the JSON property `country`
|
335
|
-
# @return [String]
|
336
|
-
attr_accessor :country
|
337
|
-
|
338
|
-
# A location ID (also called criteria ID) representing administrative areas,
|
339
|
-
# smaller country subdivisions (counties), or cities.
|
340
|
-
# Corresponds to the JSON property `locationIds`
|
341
|
-
# @return [Array<String>]
|
342
|
-
attr_accessor :location_ids
|
343
|
-
|
344
|
-
# The name of the location group.
|
345
|
-
# Corresponds to the JSON property `name`
|
346
|
-
# @return [String]
|
347
|
-
attr_accessor :name
|
348
|
-
|
349
|
-
# A postal code range representing a city or a set of cities.
|
350
|
-
# Corresponds to the JSON property `postalCodeRanges`
|
351
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingPostalCodeRange>]
|
352
|
-
attr_accessor :postal_code_ranges
|
353
|
-
|
354
|
-
# A postal code representing a city or a set of cities.
|
355
|
-
# - A single postal code (e.g., 12345)
|
356
|
-
# - A postal code prefix followed by a star (e.g., 1234*)
|
357
|
-
# Corresponds to the JSON property `postalCodes`
|
358
|
-
# @return [Array<String>]
|
359
|
-
attr_accessor :postal_codes
|
360
|
-
|
361
|
-
def initialize(**args)
|
362
|
-
update!(**args)
|
363
|
-
end
|
364
|
-
|
365
|
-
# Update properties of this object
|
366
|
-
def update!(**args)
|
367
|
-
@country = args[:country] if args.key?(:country)
|
368
|
-
@location_ids = args[:location_ids] if args.key?(:location_ids)
|
369
|
-
@name = args[:name] if args.key?(:name)
|
370
|
-
@postal_code_ranges = args[:postal_code_ranges] if args.key?(:postal_code_ranges)
|
371
|
-
@postal_codes = args[:postal_codes] if args.key?(:postal_codes)
|
372
|
-
end
|
373
|
-
end
|
374
|
-
|
375
|
-
# A postal code range, that can be either:
|
376
|
-
# - A range of postal codes (e.g., start=12340, end=12359)
|
377
|
-
# - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes
|
378
|
-
# must be of the same length (e.g., start=12* end=2* is invalid).
|
379
|
-
class AccountShippingPostalCodeRange
|
380
|
-
include Google::Apis::Core::Hashable
|
381
|
-
|
382
|
-
# The last (inclusive) postal code or prefix of the range.
|
383
|
-
# Corresponds to the JSON property `end`
|
384
|
-
# @return [String]
|
385
|
-
attr_accessor :end
|
386
|
-
|
387
|
-
# The first (inclusive) postal code or prefix of the range.
|
388
|
-
# Corresponds to the JSON property `start`
|
389
|
-
# @return [String]
|
390
|
-
attr_accessor :start
|
391
|
-
|
392
|
-
def initialize(**args)
|
393
|
-
update!(**args)
|
394
|
-
end
|
395
|
-
|
396
|
-
# Update properties of this object
|
397
|
-
def update!(**args)
|
398
|
-
@end = args[:end] if args.key?(:end)
|
399
|
-
@start = args[:start] if args.key?(:start)
|
400
|
-
end
|
401
|
-
end
|
402
|
-
|
403
|
-
# A single or bi-dimensional table of shipping rates. Each dimension is defined
|
404
|
-
# in terms of consecutive price/weight ranges, delivery locations, or shipping
|
405
|
-
# labels.
|
406
|
-
class AccountShippingRateTable
|
407
|
-
include Google::Apis::Core::Hashable
|
408
|
-
|
409
|
-
# One-dimensional table cells define one condition along the same dimension. Bi-
|
410
|
-
# dimensional table cells use two dimensions with respectively M and N distinct
|
411
|
-
# values and must contain exactly M * N cells with distinct conditions (for each
|
412
|
-
# possible value pairs).
|
413
|
-
# Corresponds to the JSON property `content`
|
414
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingRateTableCell>]
|
415
|
-
attr_accessor :content
|
416
|
-
|
417
|
-
# The name of the rate table.
|
418
|
-
# Corresponds to the JSON property `name`
|
419
|
-
# @return [String]
|
420
|
-
attr_accessor :name
|
421
|
-
|
422
|
-
# The sale country for which this table is valid, represented as a CLDR
|
423
|
-
# territory code.
|
424
|
-
# Corresponds to the JSON property `saleCountry`
|
425
|
-
# @return [String]
|
426
|
-
attr_accessor :sale_country
|
427
|
-
|
428
|
-
def initialize(**args)
|
429
|
-
update!(**args)
|
430
|
-
end
|
431
|
-
|
432
|
-
# Update properties of this object
|
433
|
-
def update!(**args)
|
434
|
-
@content = args[:content] if args.key?(:content)
|
435
|
-
@name = args[:name] if args.key?(:name)
|
436
|
-
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
437
|
-
end
|
438
|
-
end
|
439
|
-
|
440
|
-
#
|
441
|
-
class AccountShippingRateTableCell
|
442
|
-
include Google::Apis::Core::Hashable
|
443
|
-
|
444
|
-
# Conditions for which the cell is valid. All cells in a table must use the same
|
445
|
-
# dimension or pair of dimensions among price, weight, shipping label or
|
446
|
-
# delivery location. If no condition is specified, the cell acts as a catch-all
|
447
|
-
# and matches all the elements that are not matched by other cells in this
|
448
|
-
# dimension.
|
449
|
-
# Corresponds to the JSON property `condition`
|
450
|
-
# @return [Google::Apis::ContentV2::AccountShippingCondition]
|
451
|
-
attr_accessor :condition
|
452
|
-
|
453
|
-
# The rate applicable if the cell conditions are matched.
|
454
|
-
# Corresponds to the JSON property `rate`
|
455
|
-
# @return [Google::Apis::ContentV2::Price]
|
456
|
-
attr_accessor :rate
|
457
|
-
|
458
|
-
def initialize(**args)
|
459
|
-
update!(**args)
|
460
|
-
end
|
461
|
-
|
462
|
-
# Update properties of this object
|
463
|
-
def update!(**args)
|
464
|
-
@condition = args[:condition] if args.key?(:condition)
|
465
|
-
@rate = args[:rate] if args.key?(:rate)
|
466
|
-
end
|
467
|
-
end
|
468
|
-
|
469
|
-
# Shipping services provided in a country.
|
470
|
-
class AccountShippingShippingService
|
471
|
-
include Google::Apis::Core::Hashable
|
472
|
-
|
473
|
-
# Whether the shipping service is available.
|
474
|
-
# Corresponds to the JSON property `active`
|
475
|
-
# @return [Boolean]
|
476
|
-
attr_accessor :active
|
477
|
-
alias_method :active?, :active
|
478
|
-
|
479
|
-
# Shipping cost calculation method. Exactly one of the field is set.
|
480
|
-
# Corresponds to the JSON property `calculationMethod`
|
481
|
-
# @return [Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod]
|
482
|
-
attr_accessor :calculation_method
|
483
|
-
|
484
|
-
# Building block of the cost calculation decision tree.
|
485
|
-
# - The tree root should have no condition and no calculation method.
|
486
|
-
# - All the children must have a condition on the same dimension. The first
|
487
|
-
# child matching a condition is entered, therefore, price and weight conditions
|
488
|
-
# form contiguous intervals.
|
489
|
-
# - The last child of an element must have no condition and matches all elements
|
490
|
-
# not previously matched.
|
491
|
-
# - Children and calculation method are mutually exclusive, and exactly one of
|
492
|
-
# them must be defined; the root must only have children.
|
493
|
-
# Corresponds to the JSON property `costRuleTree`
|
494
|
-
# @return [Google::Apis::ContentV2::AccountShippingShippingServiceCostRule]
|
495
|
-
attr_accessor :cost_rule_tree
|
496
|
-
|
497
|
-
# The maximum number of days in transit. Must be a value between 0 and 250
|
498
|
-
# included. A value of 0 means same day delivery.
|
499
|
-
# Corresponds to the JSON property `maxDaysInTransit`
|
500
|
-
# @return [String]
|
501
|
-
attr_accessor :max_days_in_transit
|
502
|
-
|
503
|
-
# The minimum number of days in transit. Must be a value between 0 and
|
504
|
-
# maxDaysIntransit included. A value of 0 means same day delivery.
|
505
|
-
# Corresponds to the JSON property `minDaysInTransit`
|
506
|
-
# @return [String]
|
507
|
-
attr_accessor :min_days_in_transit
|
508
|
-
|
509
|
-
# The name of this shipping service.
|
510
|
-
# Corresponds to the JSON property `name`
|
511
|
-
# @return [String]
|
512
|
-
attr_accessor :name
|
513
|
-
|
514
|
-
# The CLDR territory code of the sale country for which this service can be used.
|
515
|
-
# Corresponds to the JSON property `saleCountry`
|
516
|
-
# @return [String]
|
517
|
-
attr_accessor :sale_country
|
518
|
-
|
519
|
-
def initialize(**args)
|
520
|
-
update!(**args)
|
521
|
-
end
|
522
|
-
|
523
|
-
# Update properties of this object
|
524
|
-
def update!(**args)
|
525
|
-
@active = args[:active] if args.key?(:active)
|
526
|
-
@calculation_method = args[:calculation_method] if args.key?(:calculation_method)
|
527
|
-
@cost_rule_tree = args[:cost_rule_tree] if args.key?(:cost_rule_tree)
|
528
|
-
@max_days_in_transit = args[:max_days_in_transit] if args.key?(:max_days_in_transit)
|
529
|
-
@min_days_in_transit = args[:min_days_in_transit] if args.key?(:min_days_in_transit)
|
530
|
-
@name = args[:name] if args.key?(:name)
|
531
|
-
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
532
|
-
end
|
533
|
-
end
|
534
|
-
|
535
|
-
# Shipping cost calculation method. Exactly one of the field is set.
|
536
|
-
class AccountShippingShippingServiceCalculationMethod
|
537
|
-
include Google::Apis::Core::Hashable
|
538
|
-
|
539
|
-
# Name of the carrier rate to use for the calculation.
|
540
|
-
# Corresponds to the JSON property `carrierRate`
|
541
|
-
# @return [String]
|
542
|
-
attr_accessor :carrier_rate
|
543
|
-
|
544
|
-
# Delivery is excluded. Valid only within cost rules tree.
|
545
|
-
# Corresponds to the JSON property `excluded`
|
546
|
-
# @return [Boolean]
|
547
|
-
attr_accessor :excluded
|
548
|
-
alias_method :excluded?, :excluded
|
549
|
-
|
550
|
-
# Fixed price shipping, represented as a floating point number associated with a
|
551
|
-
# currency.
|
552
|
-
# Corresponds to the JSON property `flatRate`
|
553
|
-
# @return [Google::Apis::ContentV2::Price]
|
554
|
-
attr_accessor :flat_rate
|
555
|
-
|
556
|
-
# Percentage of the price, represented as a floating point number without the
|
557
|
-
# percentage character.
|
558
|
-
# Corresponds to the JSON property `percentageRate`
|
559
|
-
# @return [String]
|
560
|
-
attr_accessor :percentage_rate
|
561
|
-
|
562
|
-
# Name of the rate table to use for the calculation.
|
563
|
-
# Corresponds to the JSON property `rateTable`
|
564
|
-
# @return [String]
|
565
|
-
attr_accessor :rate_table
|
566
|
-
|
567
|
-
def initialize(**args)
|
568
|
-
update!(**args)
|
569
|
-
end
|
570
|
-
|
571
|
-
# Update properties of this object
|
572
|
-
def update!(**args)
|
573
|
-
@carrier_rate = args[:carrier_rate] if args.key?(:carrier_rate)
|
574
|
-
@excluded = args[:excluded] if args.key?(:excluded)
|
575
|
-
@flat_rate = args[:flat_rate] if args.key?(:flat_rate)
|
576
|
-
@percentage_rate = args[:percentage_rate] if args.key?(:percentage_rate)
|
577
|
-
@rate_table = args[:rate_table] if args.key?(:rate_table)
|
578
|
-
end
|
579
|
-
end
|
580
|
-
|
581
|
-
# Building block of the cost calculation decision tree.
|
582
|
-
# - The tree root should have no condition and no calculation method.
|
583
|
-
# - All the children must have a condition on the same dimension. The first
|
584
|
-
# child matching a condition is entered, therefore, price and weight conditions
|
585
|
-
# form contiguous intervals.
|
586
|
-
# - The last child of an element must have no condition and matches all elements
|
587
|
-
# not previously matched.
|
588
|
-
# - Children and calculation method are mutually exclusive, and exactly one of
|
589
|
-
# them must be defined; the root must only have children.
|
590
|
-
class AccountShippingShippingServiceCostRule
|
591
|
-
include Google::Apis::Core::Hashable
|
592
|
-
|
593
|
-
# Shipping cost calculation method. Exactly one of the field is set.
|
594
|
-
# Corresponds to the JSON property `calculationMethod`
|
595
|
-
# @return [Google::Apis::ContentV2::AccountShippingShippingServiceCalculationMethod]
|
596
|
-
attr_accessor :calculation_method
|
597
|
-
|
598
|
-
# Subsequent rules to be applied, only for inner nodes. The last child must not
|
599
|
-
# specify a condition and acts as a catch-all.
|
600
|
-
# Corresponds to the JSON property `children`
|
601
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingShippingServiceCostRule>]
|
602
|
-
attr_accessor :children
|
603
|
-
|
604
|
-
# Condition for this rule to be applicable. If no condition is specified, the
|
605
|
-
# rule acts as a catch-all.
|
606
|
-
# Corresponds to the JSON property `condition`
|
607
|
-
# @return [Google::Apis::ContentV2::AccountShippingCondition]
|
608
|
-
attr_accessor :condition
|
609
|
-
|
610
|
-
def initialize(**args)
|
611
|
-
update!(**args)
|
612
|
-
end
|
613
|
-
|
614
|
-
# Update properties of this object
|
615
|
-
def update!(**args)
|
616
|
-
@calculation_method = args[:calculation_method] if args.key?(:calculation_method)
|
617
|
-
@children = args[:children] if args.key?(:children)
|
618
|
-
@condition = args[:condition] if args.key?(:condition)
|
619
|
-
end
|
620
|
-
end
|
621
|
-
|
622
158
|
# The status of an account, i.e., information about its products, which is
|
623
159
|
# computed offline and not returned immediately at insertion time.
|
624
160
|
class AccountStatus
|
@@ -775,7 +311,7 @@ module Google
|
|
775
311
|
|
776
312
|
# The ID of the account to which these account tax settings belong.
|
777
313
|
# Corresponds to the JSON property `accountId`
|
778
|
-
# @return [
|
314
|
+
# @return [Fixnum]
|
779
315
|
attr_accessor :account_id
|
780
316
|
|
781
317
|
# Identifies what kind of resource this is. Value: the fixed string "content#
|
@@ -814,7 +350,7 @@ module Google
|
|
814
350
|
# State (or province) is which the tax is applicable, described by its location
|
815
351
|
# id (also called criteria id).
|
816
352
|
# Corresponds to the JSON property `locationId`
|
817
|
-
# @return [
|
353
|
+
# @return [Fixnum]
|
818
354
|
attr_accessor :location_id
|
819
355
|
|
820
356
|
# Explicit tax rate in percent, represented as a floating point number without
|
@@ -936,7 +472,7 @@ module Google
|
|
936
472
|
# The ID of the account to get or delete. Only defined if the method is get or
|
937
473
|
# delete.
|
938
474
|
# Corresponds to the JSON property `accountId`
|
939
|
-
# @return [
|
475
|
+
# @return [Fixnum]
|
940
476
|
attr_accessor :account_id
|
941
477
|
|
942
478
|
# An entry ID, unique within the batch request.
|
@@ -946,7 +482,7 @@ module Google
|
|
946
482
|
|
947
483
|
# The ID of the managing account.
|
948
484
|
# Corresponds to the JSON property `merchantId`
|
949
|
-
# @return [
|
485
|
+
# @return [Fixnum]
|
950
486
|
attr_accessor :merchant_id
|
951
487
|
|
952
488
|
#
|
@@ -1064,164 +600,6 @@ module Google
|
|
1064
600
|
end
|
1065
601
|
end
|
1066
602
|
|
1067
|
-
#
|
1068
|
-
class BatchAccountShippingRequest
|
1069
|
-
include Google::Apis::Core::Hashable
|
1070
|
-
|
1071
|
-
# The request entries to be processed in the batch.
|
1072
|
-
# Corresponds to the JSON property `entries`
|
1073
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingBatchRequestEntry>]
|
1074
|
-
attr_accessor :entries
|
1075
|
-
|
1076
|
-
def initialize(**args)
|
1077
|
-
update!(**args)
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
# Update properties of this object
|
1081
|
-
def update!(**args)
|
1082
|
-
@entries = args[:entries] if args.key?(:entries)
|
1083
|
-
end
|
1084
|
-
end
|
1085
|
-
|
1086
|
-
# A batch entry encoding a single non-batch accountshipping request.
|
1087
|
-
class AccountShippingBatchRequestEntry
|
1088
|
-
include Google::Apis::Core::Hashable
|
1089
|
-
|
1090
|
-
# The ID of the account for which to get/update account shipping settings.
|
1091
|
-
# Corresponds to the JSON property `accountId`
|
1092
|
-
# @return [String]
|
1093
|
-
attr_accessor :account_id
|
1094
|
-
|
1095
|
-
# The shipping settings of a merchant account.
|
1096
|
-
# Corresponds to the JSON property `accountShipping`
|
1097
|
-
# @return [Google::Apis::ContentV2::AccountShipping]
|
1098
|
-
attr_accessor :account_shipping
|
1099
|
-
|
1100
|
-
# An entry ID, unique within the batch request.
|
1101
|
-
# Corresponds to the JSON property `batchId`
|
1102
|
-
# @return [Fixnum]
|
1103
|
-
attr_accessor :batch_id
|
1104
|
-
|
1105
|
-
# The ID of the managing account.
|
1106
|
-
# Corresponds to the JSON property `merchantId`
|
1107
|
-
# @return [String]
|
1108
|
-
attr_accessor :merchant_id
|
1109
|
-
|
1110
|
-
#
|
1111
|
-
# Corresponds to the JSON property `method`
|
1112
|
-
# @return [String]
|
1113
|
-
attr_accessor :request_method
|
1114
|
-
|
1115
|
-
def initialize(**args)
|
1116
|
-
update!(**args)
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
# Update properties of this object
|
1120
|
-
def update!(**args)
|
1121
|
-
@account_id = args[:account_id] if args.key?(:account_id)
|
1122
|
-
@account_shipping = args[:account_shipping] if args.key?(:account_shipping)
|
1123
|
-
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
1124
|
-
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
1125
|
-
@request_method = args[:request_method] if args.key?(:request_method)
|
1126
|
-
end
|
1127
|
-
end
|
1128
|
-
|
1129
|
-
#
|
1130
|
-
class BatchAccountShippingResponse
|
1131
|
-
include Google::Apis::Core::Hashable
|
1132
|
-
|
1133
|
-
# The result of the execution of the batch requests.
|
1134
|
-
# Corresponds to the JSON property `entries`
|
1135
|
-
# @return [Array<Google::Apis::ContentV2::AccountShippingBatchResponseEntry>]
|
1136
|
-
attr_accessor :entries
|
1137
|
-
|
1138
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1139
|
-
# accountshippingCustomBatchResponse".
|
1140
|
-
# Corresponds to the JSON property `kind`
|
1141
|
-
# @return [String]
|
1142
|
-
attr_accessor :kind
|
1143
|
-
|
1144
|
-
def initialize(**args)
|
1145
|
-
update!(**args)
|
1146
|
-
end
|
1147
|
-
|
1148
|
-
# Update properties of this object
|
1149
|
-
def update!(**args)
|
1150
|
-
@entries = args[:entries] if args.key?(:entries)
|
1151
|
-
@kind = args[:kind] if args.key?(:kind)
|
1152
|
-
end
|
1153
|
-
end
|
1154
|
-
|
1155
|
-
# A batch entry encoding a single non-batch accountshipping response.
|
1156
|
-
class AccountShippingBatchResponseEntry
|
1157
|
-
include Google::Apis::Core::Hashable
|
1158
|
-
|
1159
|
-
# The shipping settings of a merchant account.
|
1160
|
-
# Corresponds to the JSON property `accountShipping`
|
1161
|
-
# @return [Google::Apis::ContentV2::AccountShipping]
|
1162
|
-
attr_accessor :account_shipping
|
1163
|
-
|
1164
|
-
# The ID of the request entry this entry responds to.
|
1165
|
-
# Corresponds to the JSON property `batchId`
|
1166
|
-
# @return [Fixnum]
|
1167
|
-
attr_accessor :batch_id
|
1168
|
-
|
1169
|
-
# A list of errors returned by a failed batch entry.
|
1170
|
-
# Corresponds to the JSON property `errors`
|
1171
|
-
# @return [Google::Apis::ContentV2::Errors]
|
1172
|
-
attr_accessor :errors
|
1173
|
-
|
1174
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1175
|
-
# accountshippingCustomBatchResponseEntry".
|
1176
|
-
# Corresponds to the JSON property `kind`
|
1177
|
-
# @return [String]
|
1178
|
-
attr_accessor :kind
|
1179
|
-
|
1180
|
-
def initialize(**args)
|
1181
|
-
update!(**args)
|
1182
|
-
end
|
1183
|
-
|
1184
|
-
# Update properties of this object
|
1185
|
-
def update!(**args)
|
1186
|
-
@account_shipping = args[:account_shipping] if args.key?(:account_shipping)
|
1187
|
-
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
1188
|
-
@errors = args[:errors] if args.key?(:errors)
|
1189
|
-
@kind = args[:kind] if args.key?(:kind)
|
1190
|
-
end
|
1191
|
-
end
|
1192
|
-
|
1193
|
-
#
|
1194
|
-
class ListAccountShippingResponse
|
1195
|
-
include Google::Apis::Core::Hashable
|
1196
|
-
|
1197
|
-
# Identifies what kind of resource this is. Value: the fixed string "content#
|
1198
|
-
# accountshippingListResponse".
|
1199
|
-
# Corresponds to the JSON property `kind`
|
1200
|
-
# @return [String]
|
1201
|
-
attr_accessor :kind
|
1202
|
-
|
1203
|
-
# The token for the retrieval of the next page of account shipping settings.
|
1204
|
-
# Corresponds to the JSON property `nextPageToken`
|
1205
|
-
# @return [String]
|
1206
|
-
attr_accessor :next_page_token
|
1207
|
-
|
1208
|
-
#
|
1209
|
-
# Corresponds to the JSON property `resources`
|
1210
|
-
# @return [Array<Google::Apis::ContentV2::AccountShipping>]
|
1211
|
-
attr_accessor :resources
|
1212
|
-
|
1213
|
-
def initialize(**args)
|
1214
|
-
update!(**args)
|
1215
|
-
end
|
1216
|
-
|
1217
|
-
# Update properties of this object
|
1218
|
-
def update!(**args)
|
1219
|
-
@kind = args[:kind] if args.key?(:kind)
|
1220
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1221
|
-
@resources = args[:resources] if args.key?(:resources)
|
1222
|
-
end
|
1223
|
-
end
|
1224
|
-
|
1225
603
|
#
|
1226
604
|
class BatchAccountStatusesRequest
|
1227
605
|
include Google::Apis::Core::Hashable
|
@@ -1247,7 +625,7 @@ module Google
|
|
1247
625
|
|
1248
626
|
# The ID of the (sub-)account whose status to get.
|
1249
627
|
# Corresponds to the JSON property `accountId`
|
1250
|
-
# @return [
|
628
|
+
# @return [Fixnum]
|
1251
629
|
attr_accessor :account_id
|
1252
630
|
|
1253
631
|
# An entry ID, unique within the batch request.
|
@@ -1257,7 +635,7 @@ module Google
|
|
1257
635
|
|
1258
636
|
# The ID of the managing account.
|
1259
637
|
# Corresponds to the JSON property `merchantId`
|
1260
|
-
# @return [
|
638
|
+
# @return [Fixnum]
|
1261
639
|
attr_accessor :merchant_id
|
1262
640
|
|
1263
641
|
# The method (get).
|
@@ -1393,7 +771,7 @@ module Google
|
|
1393
771
|
|
1394
772
|
# The ID of the account for which to get/update account tax settings.
|
1395
773
|
# Corresponds to the JSON property `accountId`
|
1396
|
-
# @return [
|
774
|
+
# @return [Fixnum]
|
1397
775
|
attr_accessor :account_id
|
1398
776
|
|
1399
777
|
# The tax settings of a merchant account.
|
@@ -1408,7 +786,7 @@ module Google
|
|
1408
786
|
|
1409
787
|
# The ID of the managing account.
|
1410
788
|
# Corresponds to the JSON property `merchantId`
|
1411
|
-
# @return [
|
789
|
+
# @return [Fixnum]
|
1412
790
|
attr_accessor :merchant_id
|
1413
791
|
|
1414
792
|
#
|
@@ -1655,7 +1033,7 @@ module Google
|
|
1655
1033
|
|
1656
1034
|
# The ID of the data feed.
|
1657
1035
|
# Corresponds to the JSON property `id`
|
1658
|
-
# @return [
|
1036
|
+
# @return [Fixnum]
|
1659
1037
|
attr_accessor :id
|
1660
1038
|
|
1661
1039
|
# The list of intended destinations (corresponds to checked check boxes in
|
@@ -1810,7 +1188,7 @@ module Google
|
|
1810
1188
|
|
1811
1189
|
# The ID of the feed for which the status is reported.
|
1812
1190
|
# Corresponds to the JSON property `datafeedId`
|
1813
|
-
# @return [
|
1191
|
+
# @return [Fixnum]
|
1814
1192
|
attr_accessor :datafeed_id
|
1815
1193
|
|
1816
1194
|
# The list of errors occurring in the feed.
|
@@ -1820,12 +1198,12 @@ module Google
|
|
1820
1198
|
|
1821
1199
|
# The number of items in the feed that were processed.
|
1822
1200
|
# Corresponds to the JSON property `itemsTotal`
|
1823
|
-
# @return [
|
1201
|
+
# @return [Fixnum]
|
1824
1202
|
attr_accessor :items_total
|
1825
1203
|
|
1826
1204
|
# The number of items in the feed that were valid.
|
1827
1205
|
# Corresponds to the JSON property `itemsValid`
|
1828
|
-
# @return [
|
1206
|
+
# @return [Fixnum]
|
1829
1207
|
attr_accessor :items_valid
|
1830
1208
|
|
1831
1209
|
# Identifies what kind of resource this is. Value: the fixed string "content#
|
@@ -1877,7 +1255,7 @@ module Google
|
|
1877
1255
|
|
1878
1256
|
# The number of occurrences of the error in the feed.
|
1879
1257
|
# Corresponds to the JSON property `count`
|
1880
|
-
# @return [
|
1258
|
+
# @return [Fixnum]
|
1881
1259
|
attr_accessor :count
|
1882
1260
|
|
1883
1261
|
# A list of example occurrences of the error, grouped by product.
|
@@ -1914,7 +1292,7 @@ module Google
|
|
1914
1292
|
|
1915
1293
|
# Line number in the data feed where the example is found.
|
1916
1294
|
# Corresponds to the JSON property `lineNumber`
|
1917
|
-
# @return [
|
1295
|
+
# @return [Fixnum]
|
1918
1296
|
attr_accessor :line_number
|
1919
1297
|
|
1920
1298
|
# The problematic value.
|
@@ -1969,12 +1347,12 @@ module Google
|
|
1969
1347
|
|
1970
1348
|
# The ID of the data feed to get or delete.
|
1971
1349
|
# Corresponds to the JSON property `datafeedId`
|
1972
|
-
# @return [
|
1350
|
+
# @return [Fixnum]
|
1973
1351
|
attr_accessor :datafeed_id
|
1974
1352
|
|
1975
1353
|
# The ID of the managing account.
|
1976
1354
|
# Corresponds to the JSON property `merchantId`
|
1977
|
-
# @return [
|
1355
|
+
# @return [Fixnum]
|
1978
1356
|
attr_accessor :merchant_id
|
1979
1357
|
|
1980
1358
|
#
|
@@ -2115,12 +1493,12 @@ module Google
|
|
2115
1493
|
|
2116
1494
|
# The ID of the data feed to get or delete.
|
2117
1495
|
# Corresponds to the JSON property `datafeedId`
|
2118
|
-
# @return [
|
1496
|
+
# @return [Fixnum]
|
2119
1497
|
attr_accessor :datafeed_id
|
2120
1498
|
|
2121
1499
|
# The ID of the managing account.
|
2122
1500
|
# Corresponds to the JSON property `merchantId`
|
2123
|
-
# @return [
|
1501
|
+
# @return [Fixnum]
|
2124
1502
|
attr_accessor :merchant_id
|
2125
1503
|
|
2126
1504
|
#
|
@@ -2389,7 +1767,7 @@ module Google
|
|
2389
1767
|
|
2390
1768
|
# The number of installments the buyer has to pay.
|
2391
1769
|
# Corresponds to the JSON property `months`
|
2392
|
-
# @return [
|
1770
|
+
# @return [Fixnum]
|
2393
1771
|
attr_accessor :months
|
2394
1772
|
|
2395
1773
|
def initialize(**args)
|
@@ -2519,7 +1897,7 @@ module Google
|
|
2519
1897
|
|
2520
1898
|
# The ID of the managing account.
|
2521
1899
|
# Corresponds to the JSON property `merchantId`
|
2522
|
-
# @return [
|
1900
|
+
# @return [Fixnum]
|
2523
1901
|
attr_accessor :merchant_id
|
2524
1902
|
|
2525
1903
|
# The ID of the product for which to update price and availability.
|
@@ -2761,7 +2139,7 @@ module Google
|
|
2761
2139
|
|
2762
2140
|
# The retailer's loyalty points in absolute value.
|
2763
2141
|
# Corresponds to the JSON property `pointsValue`
|
2764
|
-
# @return [
|
2142
|
+
# @return [Fixnum]
|
2765
2143
|
attr_accessor :points_value
|
2766
2144
|
|
2767
2145
|
# The ratio of a point when converted to currency. Google assumes currency based
|
@@ -2825,7 +2203,7 @@ module Google
|
|
2825
2203
|
|
2826
2204
|
#
|
2827
2205
|
# Corresponds to the JSON property `merchantId`
|
2828
|
-
# @return [
|
2206
|
+
# @return [Fixnum]
|
2829
2207
|
attr_accessor :merchant_id
|
2830
2208
|
|
2831
2209
|
# Merchant-provided id of the order.
|
@@ -4038,7 +3416,7 @@ module Google
|
|
4038
3416
|
|
4039
3417
|
# The ID of the managing account.
|
4040
3418
|
# Corresponds to the JSON property `merchantId`
|
4041
|
-
# @return [
|
3419
|
+
# @return [Fixnum]
|
4042
3420
|
attr_accessor :merchant_id
|
4043
3421
|
|
4044
3422
|
# The merchant order id. Required for updateMerchantOrderId and
|
@@ -5135,7 +4513,7 @@ module Google
|
|
5135
4513
|
|
5136
4514
|
# The number of identical products in a merchant-defined multipack.
|
5137
4515
|
# Corresponds to the JSON property `multipack`
|
5138
|
-
# @return [
|
4516
|
+
# @return [Fixnum]
|
5139
4517
|
attr_accessor :multipack
|
5140
4518
|
|
5141
4519
|
# An identifier of the item. Leading and trailing whitespaces are stripped and
|
@@ -5184,7 +4562,7 @@ module Google
|
|
5184
4562
|
|
5185
4563
|
# The quantity of the product that is reserved for sell-on-google ads.
|
5186
4564
|
# Corresponds to the JSON property `sellOnGoogleQuantity`
|
5187
|
-
# @return [
|
4565
|
+
# @return [Fixnum]
|
5188
4566
|
attr_accessor :sell_on_google_quantity
|
5189
4567
|
|
5190
4568
|
# Shipping rules.
|
@@ -5487,7 +4865,7 @@ module Google
|
|
5487
4865
|
# The numeric id of a location that the shipping rate applies to as defined in
|
5488
4866
|
# the AdWords API.
|
5489
4867
|
# Corresponds to the JSON property `locationId`
|
5490
|
-
# @return [
|
4868
|
+
# @return [Fixnum]
|
5491
4869
|
attr_accessor :location_id
|
5492
4870
|
|
5493
4871
|
# The postal code range that the shipping rate applies to, represented by a
|
@@ -5755,7 +5133,7 @@ module Google
|
|
5755
5133
|
# The numeric id of a location that the tax rate applies to as defined in the
|
5756
5134
|
# AdWords API.
|
5757
5135
|
# Corresponds to the JSON property `locationId`
|
5758
|
-
# @return [
|
5136
|
+
# @return [Fixnum]
|
5759
5137
|
attr_accessor :location_id
|
5760
5138
|
|
5761
5139
|
# The postal code range that the tax rate applies to, represented by a ZIP code,
|
@@ -5807,7 +5185,7 @@ module Google
|
|
5807
5185
|
|
5808
5186
|
# The denominator of the unit price.
|
5809
5187
|
# Corresponds to the JSON property `value`
|
5810
|
-
# @return [
|
5188
|
+
# @return [Fixnum]
|
5811
5189
|
attr_accessor :value
|
5812
5190
|
|
5813
5191
|
def initialize(**args)
|
@@ -5876,7 +5254,7 @@ module Google
|
|
5876
5254
|
|
5877
5255
|
# The ID of the managing account.
|
5878
5256
|
# Corresponds to the JSON property `merchantId`
|
5879
|
-
# @return [
|
5257
|
+
# @return [Fixnum]
|
5880
5258
|
attr_accessor :merchant_id
|
5881
5259
|
|
5882
5260
|
#
|
@@ -6035,7 +5413,7 @@ module Google
|
|
6035
5413
|
|
6036
5414
|
# The ID of the managing account.
|
6037
5415
|
# Corresponds to the JSON property `merchantId`
|
6038
|
-
# @return [
|
5416
|
+
# @return [Fixnum]
|
6039
5417
|
attr_accessor :merchant_id
|
6040
5418
|
|
6041
5419
|
#
|
@@ -6290,7 +5668,7 @@ module Google
|
|
6290
5668
|
# The ID of the account to which these account shipping settings belong. Ignored
|
6291
5669
|
# upon update, always present in get request responses.
|
6292
5670
|
# Corresponds to the JSON property `accountId`
|
6293
|
-
# @return [
|
5671
|
+
# @return [Fixnum]
|
6294
5672
|
attr_accessor :account_id
|
6295
5673
|
|
6296
5674
|
# A list of postal code groups that can be referred to in services. Optional.
|
@@ -6334,13 +5712,13 @@ module Google
|
|
6334
5712
|
end
|
6335
5713
|
end
|
6336
5714
|
|
6337
|
-
# A batch entry encoding a single non-batch
|
5715
|
+
# A batch entry encoding a single non-batch shippingsettings request.
|
6338
5716
|
class ShippingsettingsCustomBatchRequestEntry
|
6339
5717
|
include Google::Apis::Core::Hashable
|
6340
5718
|
|
6341
5719
|
# The ID of the account for which to get/update account shipping settings.
|
6342
5720
|
# Corresponds to the JSON property `accountId`
|
6343
|
-
# @return [
|
5721
|
+
# @return [Fixnum]
|
6344
5722
|
attr_accessor :account_id
|
6345
5723
|
|
6346
5724
|
# An entry ID, unique within the batch request.
|
@@ -6350,7 +5728,7 @@ module Google
|
|
6350
5728
|
|
6351
5729
|
# The ID of the managing account.
|
6352
5730
|
# Corresponds to the JSON property `merchantId`
|
6353
|
-
# @return [
|
5731
|
+
# @return [Fixnum]
|
6354
5732
|
attr_accessor :merchant_id
|
6355
5733
|
|
6356
5734
|
#
|