google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -22,153 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ManufacturersV1
|
24
24
|
|
25
|
-
# The number of products in a single package. For more information, see
|
26
|
-
# https://support.google.com/manufacturers/answer/6124116#count.
|
27
|
-
class Count
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# The numeric value of the number of products in a package.
|
31
|
-
# Corresponds to the JSON property `value`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :value
|
34
|
-
|
35
|
-
# The unit in which these products are counted.
|
36
|
-
# Corresponds to the JSON property `unit`
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :unit
|
39
|
-
|
40
|
-
def initialize(**args)
|
41
|
-
update!(**args)
|
42
|
-
end
|
43
|
-
|
44
|
-
# Update properties of this object
|
45
|
-
def update!(**args)
|
46
|
-
@value = args[:value] if args.key?(:value)
|
47
|
-
@unit = args[:unit] if args.key?(:unit)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
# Product data.
|
52
|
-
class Product
|
53
|
-
include Google::Apis::Core::Hashable
|
54
|
-
|
55
|
-
# Names of the attributes of the product deleted manually via the
|
56
|
-
# Manufacturer Center UI.
|
57
|
-
# @OutputOnly
|
58
|
-
# Corresponds to the JSON property `manuallyDeletedAttributes`
|
59
|
-
# @return [Array<String>]
|
60
|
-
attr_accessor :manually_deleted_attributes
|
61
|
-
|
62
|
-
# A server-generated list of issues associated with the product.
|
63
|
-
# @OutputOnly
|
64
|
-
# Corresponds to the JSON property `issues`
|
65
|
-
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
66
|
-
attr_accessor :issues
|
67
|
-
|
68
|
-
# Attributes of the product. For more information, see
|
69
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
70
|
-
# Corresponds to the JSON property `finalAttributes`
|
71
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
72
|
-
attr_accessor :final_attributes
|
73
|
-
|
74
|
-
# The ID of the product. For more information, see
|
75
|
-
# https://support.google.com/manufacturers/answer/6124116#id.
|
76
|
-
# @OutputOnly
|
77
|
-
# Corresponds to the JSON property `productId`
|
78
|
-
# @return [String]
|
79
|
-
attr_accessor :product_id
|
80
|
-
|
81
|
-
# Attributes of the product. For more information, see
|
82
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
83
|
-
# Corresponds to the JSON property `uploadedAttributes`
|
84
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
85
|
-
attr_accessor :uploaded_attributes
|
86
|
-
|
87
|
-
# Parent ID in the format `accounts/`account_id``.
|
88
|
-
# `account_id` - The ID of the Manufacturer Center account.
|
89
|
-
# @OutputOnly
|
90
|
-
# Corresponds to the JSON property `parent`
|
91
|
-
# @return [String]
|
92
|
-
attr_accessor :parent
|
93
|
-
|
94
|
-
# Attributes of the product. For more information, see
|
95
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
96
|
-
# Corresponds to the JSON property `manuallyProvidedAttributes`
|
97
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
98
|
-
attr_accessor :manually_provided_attributes
|
99
|
-
|
100
|
-
# The content language of the product as a two-letter ISO 639-1 language code
|
101
|
-
# (for example, en).
|
102
|
-
# @OutputOnly
|
103
|
-
# Corresponds to the JSON property `contentLanguage`
|
104
|
-
# @return [String]
|
105
|
-
attr_accessor :content_language
|
106
|
-
|
107
|
-
# The target country of the product as a CLDR territory code (for example,
|
108
|
-
# US).
|
109
|
-
# @OutputOnly
|
110
|
-
# Corresponds to the JSON property `targetCountry`
|
111
|
-
# @return [String]
|
112
|
-
attr_accessor :target_country
|
113
|
-
|
114
|
-
# Name in the format ``target_country`:`content_language`:`product_id``.
|
115
|
-
# `target_country` - The target country of the product as a CLDR territory
|
116
|
-
# code (for example, US).
|
117
|
-
# `content_language` - The content language of the product as a two-letter
|
118
|
-
# ISO 639-1 language code (for example, en).
|
119
|
-
# `product_id` - The ID of the product. For more information, see
|
120
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
121
|
-
# id.
|
122
|
-
# @OutputOnly
|
123
|
-
# Corresponds to the JSON property `name`
|
124
|
-
# @return [String]
|
125
|
-
attr_accessor :name
|
126
|
-
|
127
|
-
def initialize(**args)
|
128
|
-
update!(**args)
|
129
|
-
end
|
130
|
-
|
131
|
-
# Update properties of this object
|
132
|
-
def update!(**args)
|
133
|
-
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
134
|
-
@issues = args[:issues] if args.key?(:issues)
|
135
|
-
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
136
|
-
@product_id = args[:product_id] if args.key?(:product_id)
|
137
|
-
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
138
|
-
@parent = args[:parent] if args.key?(:parent)
|
139
|
-
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
140
|
-
@content_language = args[:content_language] if args.key?(:content_language)
|
141
|
-
@target_country = args[:target_country] if args.key?(:target_country)
|
142
|
-
@name = args[:name] if args.key?(:name)
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
# The capacity of a product. For more information, see
|
147
|
-
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
148
|
-
class Capacity
|
149
|
-
include Google::Apis::Core::Hashable
|
150
|
-
|
151
|
-
# The numeric value of the capacity.
|
152
|
-
# Corresponds to the JSON property `value`
|
153
|
-
# @return [String]
|
154
|
-
attr_accessor :value
|
155
|
-
|
156
|
-
# The unit of the capacity, i.e., MB, GB, or TB.
|
157
|
-
# Corresponds to the JSON property `unit`
|
158
|
-
# @return [String]
|
159
|
-
attr_accessor :unit
|
160
|
-
|
161
|
-
def initialize(**args)
|
162
|
-
update!(**args)
|
163
|
-
end
|
164
|
-
|
165
|
-
# Update properties of this object
|
166
|
-
def update!(**args)
|
167
|
-
@value = args[:value] if args.key?(:value)
|
168
|
-
@unit = args[:unit] if args.key?(:unit)
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
25
|
#
|
173
26
|
class ListProductsResponse
|
174
27
|
include Google::Apis::Core::Hashable
|
@@ -277,11 +130,6 @@ module Google
|
|
277
130
|
class FeatureDescription
|
278
131
|
include Google::Apis::Core::Hashable
|
279
132
|
|
280
|
-
# A short description of the feature.
|
281
|
-
# Corresponds to the JSON property `headline`
|
282
|
-
# @return [String]
|
283
|
-
attr_accessor :headline
|
284
|
-
|
285
133
|
# A detailed description of the feature.
|
286
134
|
# Corresponds to the JSON property `text`
|
287
135
|
# @return [String]
|
@@ -292,15 +140,20 @@ module Google
|
|
292
140
|
# @return [Google::Apis::ManufacturersV1::Image]
|
293
141
|
attr_accessor :image
|
294
142
|
|
143
|
+
# A short description of the feature.
|
144
|
+
# Corresponds to the JSON property `headline`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :headline
|
147
|
+
|
295
148
|
def initialize(**args)
|
296
149
|
update!(**args)
|
297
150
|
end
|
298
151
|
|
299
152
|
# Update properties of this object
|
300
153
|
def update!(**args)
|
301
|
-
@headline = args[:headline] if args.key?(:headline)
|
302
154
|
@text = args[:text] if args.key?(:text)
|
303
155
|
@image = args[:image] if args.key?(:image)
|
156
|
+
@headline = args[:headline] if args.key?(:headline)
|
304
157
|
end
|
305
158
|
end
|
306
159
|
|
@@ -308,24 +161,24 @@ module Google
|
|
308
161
|
class Price
|
309
162
|
include Google::Apis::Core::Hashable
|
310
163
|
|
311
|
-
# The numeric value of the price.
|
312
|
-
# Corresponds to the JSON property `amount`
|
313
|
-
# @return [String]
|
314
|
-
attr_accessor :amount
|
315
|
-
|
316
164
|
# The currency in which the price is denoted.
|
317
165
|
# Corresponds to the JSON property `currency`
|
318
166
|
# @return [String]
|
319
167
|
attr_accessor :currency
|
320
168
|
|
169
|
+
# The numeric value of the price.
|
170
|
+
# Corresponds to the JSON property `amount`
|
171
|
+
# @return [String]
|
172
|
+
attr_accessor :amount
|
173
|
+
|
321
174
|
def initialize(**args)
|
322
175
|
update!(**args)
|
323
176
|
end
|
324
177
|
|
325
178
|
# Update properties of this object
|
326
179
|
def update!(**args)
|
327
|
-
@amount = args[:amount] if args.key?(:amount)
|
328
180
|
@currency = args[:currency] if args.key?(:currency)
|
181
|
+
@amount = args[:amount] if args.key?(:amount)
|
329
182
|
end
|
330
183
|
end
|
331
184
|
|
@@ -333,6 +186,12 @@ module Google
|
|
333
186
|
class Image
|
334
187
|
include Google::Apis::Core::Hashable
|
335
188
|
|
189
|
+
# The status of the image.
|
190
|
+
# @OutputOnly
|
191
|
+
# Corresponds to the JSON property `status`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :status
|
194
|
+
|
336
195
|
# The type of the image, i.e., crawled or uploaded.
|
337
196
|
# @OutputOnly
|
338
197
|
# Corresponds to the JSON property `type`
|
@@ -346,21 +205,15 @@ module Google
|
|
346
205
|
# @return [String]
|
347
206
|
attr_accessor :image_url
|
348
207
|
|
349
|
-
# The status of the image.
|
350
|
-
# @OutputOnly
|
351
|
-
# Corresponds to the JSON property `status`
|
352
|
-
# @return [String]
|
353
|
-
attr_accessor :status
|
354
|
-
|
355
208
|
def initialize(**args)
|
356
209
|
update!(**args)
|
357
210
|
end
|
358
211
|
|
359
212
|
# Update properties of this object
|
360
213
|
def update!(**args)
|
214
|
+
@status = args[:status] if args.key?(:status)
|
361
215
|
@type = args[:type] if args.key?(:type)
|
362
216
|
@image_url = args[:image_url] if args.key?(:image_url)
|
363
|
-
@status = args[:status] if args.key?(:status)
|
364
217
|
end
|
365
218
|
end
|
366
219
|
|
@@ -369,47 +222,147 @@ module Google
|
|
369
222
|
class Attributes
|
370
223
|
include Google::Apis::Core::Hashable
|
371
224
|
|
372
|
-
# The
|
373
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
374
|
-
# Corresponds to the JSON property `
|
225
|
+
# The pattern of the product. For more information, see
|
226
|
+
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
227
|
+
# Corresponds to the JSON property `pattern`
|
375
228
|
# @return [String]
|
376
|
-
attr_accessor :
|
229
|
+
attr_accessor :pattern
|
377
230
|
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
|
382
|
-
attr_accessor :product_detail
|
231
|
+
# An image.
|
232
|
+
# Corresponds to the JSON property `imageLink`
|
233
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
234
|
+
attr_accessor :image_link
|
383
235
|
|
384
|
-
# The
|
385
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
386
|
-
# Corresponds to the JSON property `
|
387
|
-
# @return [String]
|
388
|
-
attr_accessor :
|
236
|
+
# The category of the product. For more information, see
|
237
|
+
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
238
|
+
# Corresponds to the JSON property `productType`
|
239
|
+
# @return [Array<String>]
|
240
|
+
attr_accessor :product_type
|
389
241
|
|
390
|
-
# The
|
391
|
-
#
|
392
|
-
# Corresponds to the JSON property `
|
242
|
+
# The format of the product. For more information, see
|
243
|
+
# https://support.google.com/manufacturers/answer/6124116#format.
|
244
|
+
# Corresponds to the JSON property `format`
|
393
245
|
# @return [String]
|
394
|
-
attr_accessor :
|
246
|
+
attr_accessor :format
|
395
247
|
|
396
|
-
# The
|
397
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
398
|
-
# Corresponds to the JSON property `
|
248
|
+
# The additional images of the product. For more information, see
|
249
|
+
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
250
|
+
# Corresponds to the JSON property `additionalImageLink`
|
251
|
+
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
252
|
+
attr_accessor :additional_image_link
|
253
|
+
|
254
|
+
# The videos of the product. For more information, see
|
255
|
+
# https://support.google.com/manufacturers/answer/6124116#video.
|
256
|
+
# Corresponds to the JSON property `videoLink`
|
257
|
+
# @return [Array<String>]
|
258
|
+
attr_accessor :video_link
|
259
|
+
|
260
|
+
# The color of the product. For more information, see
|
261
|
+
# https://support.google.com/manufacturers/answer/6124116#color.
|
262
|
+
# Corresponds to the JSON property `color`
|
399
263
|
# @return [String]
|
400
|
-
attr_accessor :
|
264
|
+
attr_accessor :color
|
401
265
|
|
402
|
-
# The
|
403
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
404
|
-
# Corresponds to the JSON property `
|
266
|
+
# The canonical name of the product. For more information, see
|
267
|
+
# https://support.google.com/manufacturers/answer/6124116#productname.
|
268
|
+
# Corresponds to the JSON property `productName`
|
405
269
|
# @return [String]
|
406
|
-
attr_accessor :
|
270
|
+
attr_accessor :product_name
|
407
271
|
|
408
|
-
# The
|
409
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
410
|
-
# Corresponds to the JSON property `
|
272
|
+
# The size type of the product. For more information, see
|
273
|
+
# https://support.google.com/manufacturers/answer/6124116#sizetype.
|
274
|
+
# Corresponds to the JSON property `sizeType`
|
411
275
|
# @return [String]
|
412
|
-
attr_accessor :
|
276
|
+
attr_accessor :size_type
|
277
|
+
|
278
|
+
# A price.
|
279
|
+
# Corresponds to the JSON property `suggestedRetailPrice`
|
280
|
+
# @return [Google::Apis::ManufacturersV1::Price]
|
281
|
+
attr_accessor :suggested_retail_price
|
282
|
+
|
283
|
+
# The rich format description of the product. For more information, see
|
284
|
+
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
285
|
+
# Corresponds to the JSON property `featureDescription`
|
286
|
+
# @return [Array<Google::Apis::ManufacturersV1::FeatureDescription>]
|
287
|
+
attr_accessor :feature_description
|
288
|
+
|
289
|
+
# The size of the product. For more information, see
|
290
|
+
# https://support.google.com/manufacturers/answer/6124116#size.
|
291
|
+
# Corresponds to the JSON property `size`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :size
|
294
|
+
|
295
|
+
# The title of the product. For more information, see
|
296
|
+
# https://support.google.com/manufacturers/answer/6124116#title.
|
297
|
+
# Corresponds to the JSON property `title`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :title
|
300
|
+
|
301
|
+
# The number of products in a single package. For more information, see
|
302
|
+
# https://support.google.com/manufacturers/answer/6124116#count.
|
303
|
+
# Corresponds to the JSON property `count`
|
304
|
+
# @return [Google::Apis::ManufacturersV1::Count]
|
305
|
+
attr_accessor :count
|
306
|
+
|
307
|
+
# The brand name of the product. For more information, see
|
308
|
+
# https://support.google.com/manufacturers/answer/6124116#brand.
|
309
|
+
# Corresponds to the JSON property `brand`
|
310
|
+
# @return [String]
|
311
|
+
attr_accessor :brand
|
312
|
+
|
313
|
+
# The material of the product. For more information, see
|
314
|
+
# https://support.google.com/manufacturers/answer/6124116#material.
|
315
|
+
# Corresponds to the JSON property `material`
|
316
|
+
# @return [String]
|
317
|
+
attr_accessor :material
|
318
|
+
|
319
|
+
# The disclosure date of the product. For more information, see
|
320
|
+
# https://support.google.com/manufacturers/answer/6124116#disclosure.
|
321
|
+
# Corresponds to the JSON property `disclosureDate`
|
322
|
+
# @return [String]
|
323
|
+
attr_accessor :disclosure_date
|
324
|
+
|
325
|
+
# The scent of the product. For more information, see
|
326
|
+
# https://support.google.com/manufacturers/answer/6124116#scent.
|
327
|
+
# Corresponds to the JSON property `scent`
|
328
|
+
# @return [String]
|
329
|
+
attr_accessor :scent
|
330
|
+
|
331
|
+
# The target age group of the product. For more information, see
|
332
|
+
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
333
|
+
# Corresponds to the JSON property `ageGroup`
|
334
|
+
# @return [String]
|
335
|
+
attr_accessor :age_group
|
336
|
+
|
337
|
+
# The flavor of the product. For more information, see
|
338
|
+
# https://support.google.com/manufacturers/answer/6124116#flavor.
|
339
|
+
# Corresponds to the JSON property `flavor`
|
340
|
+
# @return [String]
|
341
|
+
attr_accessor :flavor
|
342
|
+
|
343
|
+
# The details of the product. For more information, see
|
344
|
+
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
345
|
+
# Corresponds to the JSON property `productDetail`
|
346
|
+
# @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
|
347
|
+
attr_accessor :product_detail
|
348
|
+
|
349
|
+
# The Manufacturer Part Number (MPN) of the product. For more information,
|
350
|
+
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
351
|
+
# Corresponds to the JSON property `mpn`
|
352
|
+
# @return [String]
|
353
|
+
attr_accessor :mpn
|
354
|
+
|
355
|
+
# The URL of the detail page of the product. For more information, see
|
356
|
+
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
357
|
+
# Corresponds to the JSON property `productPageUrl`
|
358
|
+
# @return [String]
|
359
|
+
attr_accessor :product_page_url
|
360
|
+
|
361
|
+
# The release date of the product. For more information, see
|
362
|
+
# https://support.google.com/manufacturers/answer/6124116#release.
|
363
|
+
# Corresponds to the JSON property `releaseDate`
|
364
|
+
# @return [String]
|
365
|
+
attr_accessor :release_date
|
413
366
|
|
414
367
|
# The Global Trade Item Number (GTIN) of the product. For more information,
|
415
368
|
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
@@ -417,6 +370,12 @@ module Google
|
|
417
370
|
# @return [Array<String>]
|
418
371
|
attr_accessor :gtin
|
419
372
|
|
373
|
+
# The item group id of the product. For more information, see
|
374
|
+
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
|
375
|
+
# Corresponds to the JSON property `itemGroupId`
|
376
|
+
# @return [String]
|
377
|
+
attr_accessor :item_group_id
|
378
|
+
|
420
379
|
# The name of the group of products related to the product. For more
|
421
380
|
# information, see
|
422
381
|
# https://support.google.com/manufacturers/answer/6124116#productline.
|
@@ -454,111 +413,182 @@ module Google
|
|
454
413
|
# @return [String]
|
455
414
|
attr_accessor :theme
|
456
415
|
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
# @return [String]
|
461
|
-
attr_accessor :pattern
|
416
|
+
def initialize(**args)
|
417
|
+
update!(**args)
|
418
|
+
end
|
462
419
|
|
463
|
-
#
|
464
|
-
|
465
|
-
|
466
|
-
|
420
|
+
# Update properties of this object
|
421
|
+
def update!(**args)
|
422
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
423
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
424
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
425
|
+
@format = args[:format] if args.key?(:format)
|
426
|
+
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
427
|
+
@video_link = args[:video_link] if args.key?(:video_link)
|
428
|
+
@color = args[:color] if args.key?(:color)
|
429
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
430
|
+
@size_type = args[:size_type] if args.key?(:size_type)
|
431
|
+
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
432
|
+
@feature_description = args[:feature_description] if args.key?(:feature_description)
|
433
|
+
@size = args[:size] if args.key?(:size)
|
434
|
+
@title = args[:title] if args.key?(:title)
|
435
|
+
@count = args[:count] if args.key?(:count)
|
436
|
+
@brand = args[:brand] if args.key?(:brand)
|
437
|
+
@material = args[:material] if args.key?(:material)
|
438
|
+
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
439
|
+
@scent = args[:scent] if args.key?(:scent)
|
440
|
+
@age_group = args[:age_group] if args.key?(:age_group)
|
441
|
+
@flavor = args[:flavor] if args.key?(:flavor)
|
442
|
+
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
443
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
444
|
+
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
445
|
+
@release_date = args[:release_date] if args.key?(:release_date)
|
446
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
447
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
448
|
+
@product_line = args[:product_line] if args.key?(:product_line)
|
449
|
+
@capacity = args[:capacity] if args.key?(:capacity)
|
450
|
+
@description = args[:description] if args.key?(:description)
|
451
|
+
@gender = args[:gender] if args.key?(:gender)
|
452
|
+
@size_system = args[:size_system] if args.key?(:size_system)
|
453
|
+
@theme = args[:theme] if args.key?(:theme)
|
454
|
+
end
|
455
|
+
end
|
467
456
|
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
attr_accessor :product_type
|
457
|
+
# The number of products in a single package. For more information, see
|
458
|
+
# https://support.google.com/manufacturers/answer/6124116#count.
|
459
|
+
class Count
|
460
|
+
include Google::Apis::Core::Hashable
|
473
461
|
|
474
|
-
# The
|
475
|
-
#
|
476
|
-
#
|
462
|
+
# The numeric value of the number of products in a package.
|
463
|
+
# Corresponds to the JSON property `value`
|
464
|
+
# @return [Fixnum]
|
465
|
+
attr_accessor :value
|
466
|
+
|
467
|
+
# The unit in which these products are counted.
|
468
|
+
# Corresponds to the JSON property `unit`
|
477
469
|
# @return [String]
|
478
|
-
attr_accessor :
|
470
|
+
attr_accessor :unit
|
479
471
|
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
484
|
-
attr_accessor :additional_image_link
|
472
|
+
def initialize(**args)
|
473
|
+
update!(**args)
|
474
|
+
end
|
485
475
|
|
486
|
-
#
|
487
|
-
|
488
|
-
|
476
|
+
# Update properties of this object
|
477
|
+
def update!(**args)
|
478
|
+
@value = args[:value] if args.key?(:value)
|
479
|
+
@unit = args[:unit] if args.key?(:unit)
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
483
|
+
# Product data.
|
484
|
+
class Product
|
485
|
+
include Google::Apis::Core::Hashable
|
486
|
+
|
487
|
+
# A server-generated list of issues associated with the product.
|
488
|
+
# @OutputOnly
|
489
|
+
# Corresponds to the JSON property `issues`
|
490
|
+
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
491
|
+
attr_accessor :issues
|
492
|
+
|
493
|
+
# Names of the attributes of the product deleted manually via the
|
494
|
+
# Manufacturer Center UI.
|
495
|
+
# @OutputOnly
|
496
|
+
# Corresponds to the JSON property `manuallyDeletedAttributes`
|
489
497
|
# @return [Array<String>]
|
490
|
-
attr_accessor :
|
498
|
+
attr_accessor :manually_deleted_attributes
|
491
499
|
|
492
|
-
#
|
493
|
-
# https://support.google.com/manufacturers/answer/6124116
|
494
|
-
# Corresponds to the JSON property `
|
495
|
-
# @return [
|
496
|
-
attr_accessor :
|
500
|
+
# Attributes of the product. For more information, see
|
501
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
502
|
+
# Corresponds to the JSON property `finalAttributes`
|
503
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
504
|
+
attr_accessor :final_attributes
|
497
505
|
|
498
|
-
# The
|
499
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
500
|
-
#
|
506
|
+
# The ID of the product. For more information, see
|
507
|
+
# https://support.google.com/manufacturers/answer/6124116#id.
|
508
|
+
# @OutputOnly
|
509
|
+
# Corresponds to the JSON property `productId`
|
501
510
|
# @return [String]
|
502
|
-
attr_accessor :
|
511
|
+
attr_accessor :product_id
|
503
512
|
|
504
|
-
#
|
505
|
-
# https://support.google.com/manufacturers/answer/6124116
|
506
|
-
# Corresponds to the JSON property `
|
513
|
+
# Attributes of the product. For more information, see
|
514
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
515
|
+
# Corresponds to the JSON property `uploadedAttributes`
|
516
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
517
|
+
attr_accessor :uploaded_attributes
|
518
|
+
|
519
|
+
# Parent ID in the format `accounts/`account_id``.
|
520
|
+
# `account_id` - The ID of the Manufacturer Center account.
|
521
|
+
# @OutputOnly
|
522
|
+
# Corresponds to the JSON property `parent`
|
507
523
|
# @return [String]
|
508
|
-
attr_accessor :
|
524
|
+
attr_accessor :parent
|
509
525
|
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
|
526
|
+
# Attributes of the product. For more information, see
|
527
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
528
|
+
# Corresponds to the JSON property `manuallyProvidedAttributes`
|
529
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
530
|
+
attr_accessor :manually_provided_attributes
|
514
531
|
|
515
|
-
# The
|
516
|
-
#
|
517
|
-
#
|
518
|
-
#
|
519
|
-
|
532
|
+
# The content language of the product as a two-letter ISO 639-1 language code
|
533
|
+
# (for example, en).
|
534
|
+
# @OutputOnly
|
535
|
+
# Corresponds to the JSON property `contentLanguage`
|
536
|
+
# @return [String]
|
537
|
+
attr_accessor :content_language
|
520
538
|
|
521
|
-
# The
|
522
|
-
#
|
523
|
-
#
|
539
|
+
# The target country of the product as a CLDR territory code (for example,
|
540
|
+
# US).
|
541
|
+
# @OutputOnly
|
542
|
+
# Corresponds to the JSON property `targetCountry`
|
524
543
|
# @return [String]
|
525
|
-
attr_accessor :
|
544
|
+
attr_accessor :target_country
|
526
545
|
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
546
|
+
# Name in the format ``target_country`:`content_language`:`product_id``.
|
547
|
+
# `target_country` - The target country of the product as a CLDR territory
|
548
|
+
# code (for example, US).
|
549
|
+
# `content_language` - The content language of the product as a two-letter
|
550
|
+
# ISO 639-1 language code (for example, en).
|
551
|
+
# `product_id` - The ID of the product. For more information, see
|
552
|
+
# https://support.google.com/manufacturers/answer/6124116#
|
553
|
+
# id.
|
554
|
+
# @OutputOnly
|
555
|
+
# Corresponds to the JSON property `name`
|
530
556
|
# @return [String]
|
531
|
-
attr_accessor :
|
557
|
+
attr_accessor :name
|
532
558
|
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
# @return [Google::Apis::ManufacturersV1::Count]
|
537
|
-
attr_accessor :count
|
559
|
+
def initialize(**args)
|
560
|
+
update!(**args)
|
561
|
+
end
|
538
562
|
|
539
|
-
#
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
563
|
+
# Update properties of this object
|
564
|
+
def update!(**args)
|
565
|
+
@issues = args[:issues] if args.key?(:issues)
|
566
|
+
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
567
|
+
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
568
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
569
|
+
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
570
|
+
@parent = args[:parent] if args.key?(:parent)
|
571
|
+
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
572
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
573
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
574
|
+
@name = args[:name] if args.key?(:name)
|
575
|
+
end
|
576
|
+
end
|
544
577
|
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
attr_accessor :disclosure_date
|
578
|
+
# The capacity of a product. For more information, see
|
579
|
+
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
580
|
+
class Capacity
|
581
|
+
include Google::Apis::Core::Hashable
|
550
582
|
|
551
|
-
# The
|
552
|
-
#
|
553
|
-
#
|
554
|
-
|
555
|
-
attr_accessor :material
|
583
|
+
# The numeric value of the capacity.
|
584
|
+
# Corresponds to the JSON property `value`
|
585
|
+
# @return [Fixnum]
|
586
|
+
attr_accessor :value
|
556
587
|
|
557
|
-
# The
|
558
|
-
#
|
559
|
-
# Corresponds to the JSON property `scent`
|
588
|
+
# The unit of the capacity, i.e., MB, GB, or TB.
|
589
|
+
# Corresponds to the JSON property `unit`
|
560
590
|
# @return [String]
|
561
|
-
attr_accessor :
|
591
|
+
attr_accessor :unit
|
562
592
|
|
563
593
|
def initialize(**args)
|
564
594
|
update!(**args)
|
@@ -566,38 +596,8 @@ module Google
|
|
566
596
|
|
567
597
|
# Update properties of this object
|
568
598
|
def update!(**args)
|
569
|
-
@
|
570
|
-
@
|
571
|
-
@age_group = args[:age_group] if args.key?(:age_group)
|
572
|
-
@mpn = args[:mpn] if args.key?(:mpn)
|
573
|
-
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
574
|
-
@release_date = args[:release_date] if args.key?(:release_date)
|
575
|
-
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
576
|
-
@gtin = args[:gtin] if args.key?(:gtin)
|
577
|
-
@product_line = args[:product_line] if args.key?(:product_line)
|
578
|
-
@capacity = args[:capacity] if args.key?(:capacity)
|
579
|
-
@description = args[:description] if args.key?(:description)
|
580
|
-
@gender = args[:gender] if args.key?(:gender)
|
581
|
-
@size_system = args[:size_system] if args.key?(:size_system)
|
582
|
-
@theme = args[:theme] if args.key?(:theme)
|
583
|
-
@pattern = args[:pattern] if args.key?(:pattern)
|
584
|
-
@image_link = args[:image_link] if args.key?(:image_link)
|
585
|
-
@product_type = args[:product_type] if args.key?(:product_type)
|
586
|
-
@format = args[:format] if args.key?(:format)
|
587
|
-
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
588
|
-
@video_link = args[:video_link] if args.key?(:video_link)
|
589
|
-
@color = args[:color] if args.key?(:color)
|
590
|
-
@product_name = args[:product_name] if args.key?(:product_name)
|
591
|
-
@size_type = args[:size_type] if args.key?(:size_type)
|
592
|
-
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
593
|
-
@feature_description = args[:feature_description] if args.key?(:feature_description)
|
594
|
-
@size = args[:size] if args.key?(:size)
|
595
|
-
@title = args[:title] if args.key?(:title)
|
596
|
-
@count = args[:count] if args.key?(:count)
|
597
|
-
@brand = args[:brand] if args.key?(:brand)
|
598
|
-
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
599
|
-
@material = args[:material] if args.key?(:material)
|
600
|
-
@scent = args[:scent] if args.key?(:scent)
|
599
|
+
@value = args[:value] if args.key?(:value)
|
600
|
+
@unit = args[:unit] if args.key?(:unit)
|
601
601
|
end
|
602
602
|
end
|
603
603
|
end
|