google-api-client 0.9.11 → 0.9.12

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.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +1 -1
  5. data/api_names.yaml +55 -117
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  11. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  12. data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
  13. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  14. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  17. data/generated/google/apis/admin_reports_v1.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4.rb +1 -1
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/analytics_v3/classes.rb +371 -1
  21. data/generated/google/apis/analytics_v3/representations.rb +135 -0
  22. data/generated/google/apis/analytics_v3/service.rb +218 -0
  23. data/generated/google/apis/analytics_v3.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
  27. data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
  28. data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
  31. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
  33. data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
  34. data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appsactivity_v1.rb +1 -1
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +50 -2
  39. data/generated/google/apis/bigquery_v2/representations.rb +6 -0
  40. data/generated/google/apis/bigquery_v2/service.rb +8 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
  44. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  45. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  46. data/generated/google/apis/civicinfo_v2.rb +3 -2
  47. data/generated/google/apis/classroom_v1/classes.rb +176 -37
  48. data/generated/google/apis/classroom_v1/representations.rb +73 -9
  49. data/generated/google/apis/classroom_v1/service.rb +392 -37
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
  52. data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
  53. data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
  54. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
  56. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  57. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +599 -77
  59. data/generated/google/apis/compute_beta/representations.rb +240 -0
  60. data/generated/google/apis/compute_beta/service.rb +1999 -710
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +140 -58
  63. data/generated/google/apis/compute_v1/representations.rb +17 -0
  64. data/generated/google/apis/compute_v1/service.rb +462 -521
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +689 -1
  67. data/generated/google/apis/content_v2/representations.rb +316 -0
  68. data/generated/google/apis/content_v2/service.rb +244 -0
  69. data/generated/google/apis/content_v2.rb +1 -1
  70. data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
  71. data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
  72. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  73. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
  75. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  76. data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
  77. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  78. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2/classes.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v3.rb +1 -1
  83. data/generated/google/apis/fitness_v1/classes.rb +8 -0
  84. data/generated/google/apis/fitness_v1/representations.rb +1 -0
  85. data/generated/google/apis/fitness_v1/service.rb +2 -2
  86. data/generated/google/apis/fitness_v1.rb +7 -1
  87. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  88. data/generated/google/apis/games_management_v1management.rb +1 -1
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/genomics_v1/classes.rb +13 -2
  91. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  92. data/generated/google/apis/genomics_v1/service.rb +2 -3
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/gmail_v1/classes.rb +8 -11
  95. data/generated/google/apis/gmail_v1/service.rb +5 -5
  96. data/generated/google/apis/gmail_v1.rb +1 -1
  97. data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
  98. data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
  99. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  100. data/generated/google/apis/monitoring_v3/classes.rb +340 -421
  101. data/generated/google/apis/monitoring_v3/representations.rb +0 -17
  102. data/generated/google/apis/monitoring_v3/service.rb +136 -168
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/oauth2_v2.rb +1 -1
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +1 -1
  107. data/generated/google/apis/plus_v1.rb +1 -1
  108. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  109. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  110. data/generated/google/apis/qpx_express_v1.rb +1 -1
  111. data/generated/google/apis/script_v1/classes.rb +6 -0
  112. data/generated/google/apis/script_v1/representations.rb +1 -0
  113. data/generated/google/apis/script_v1.rb +1 -1
  114. data/generated/google/apis/sheets_v4/classes.rb +35 -0
  115. data/generated/google/apis/sheets_v4/representations.rb +16 -0
  116. data/generated/google/apis/sheets_v4/service.rb +55 -0
  117. data/generated/google/apis/sheets_v4.rb +1 -1
  118. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  119. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  120. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  121. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  122. data/generated/google/apis/storage_v1/classes.rb +36 -1
  123. data/generated/google/apis/storage_v1/representations.rb +16 -0
  124. data/generated/google/apis/storage_v1/service.rb +18 -3
  125. data/generated/google/apis/storage_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1.rb +1 -1
  127. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  128. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  129. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  130. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  131. data/generated/google/apis/youtube_v3.rb +1 -1
  132. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  133. data/lib/google/apis/generator/annotator.rb +6 -0
  134. data/lib/google/apis/version.rb +1 -1
  135. metadata +6 -3
@@ -262,6 +262,18 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class CarrierRate
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class CarriersCarrier
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class Datafeed
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -358,6 +370,12 @@ module Google
358
370
  include Google::Apis::Core::JsonObjectSupport
359
371
  end
360
372
 
373
+ class DeliveryTime
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
361
379
  class Error
362
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
381
 
@@ -370,6 +388,12 @@ module Google
370
388
  include Google::Apis::Core::JsonObjectSupport
371
389
  end
372
390
 
391
+ class Headers
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
373
397
  class Installment
374
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
399
 
@@ -418,6 +442,12 @@ module Google
418
442
  include Google::Apis::Core::JsonObjectSupport
419
443
  end
420
444
 
445
+ class LocationIdSet
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
421
451
  class LoyaltyPoints
422
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
453
 
@@ -724,6 +754,18 @@ module Google
724
754
  include Google::Apis::Core::JsonObjectSupport
725
755
  end
726
756
 
757
+ class PostalCodeGroup
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class PostalCodeRange
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
727
769
  class Price
728
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
729
771
 
@@ -874,6 +916,72 @@ module Google
874
916
  include Google::Apis::Core::JsonObjectSupport
875
917
  end
876
918
 
919
+ class RateGroup
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class Row
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class Service
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class ShippingSettings
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class ShippingsettingsCustomBatchRequest
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class ShippingsettingsCustomBatchRequestEntry
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class ShippingsettingsCustomBatchResponse
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class ShippingsettingsCustomBatchResponseEntry
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class ShippingsettingsGetSupportedCarriersResponse
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
973
+ class ShippingsettingsListResponse
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
979
+ class Table
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
877
985
  class TestOrder
878
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
987
 
@@ -904,6 +1012,12 @@ module Google
904
1012
  include Google::Apis::Core::JsonObjectSupport
905
1013
  end
906
1014
 
1015
+ class Value
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
907
1021
  class Weight
908
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
1023
 
@@ -1343,6 +1457,28 @@ module Google
1343
1457
  end
1344
1458
  end
1345
1459
 
1460
+ class CarrierRate
1461
+ # @private
1462
+ class Representation < Google::Apis::Core::JsonRepresentation
1463
+ property :carrier_name, as: 'carrierName'
1464
+ property :carrier_service, as: 'carrierService'
1465
+ property :flat_adjustment, as: 'flatAdjustment', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1466
+
1467
+ property :name, as: 'name'
1468
+ property :origin_postal_code, as: 'originPostalCode'
1469
+ property :percentage_adjustment, as: 'percentageAdjustment'
1470
+ end
1471
+ end
1472
+
1473
+ class CarriersCarrier
1474
+ # @private
1475
+ class Representation < Google::Apis::Core::JsonRepresentation
1476
+ property :country, as: 'country'
1477
+ property :name, as: 'name'
1478
+ collection :services, as: 'services'
1479
+ end
1480
+ end
1481
+
1346
1482
  class Datafeed
1347
1483
  # @private
1348
1484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1519,6 +1655,14 @@ module Google
1519
1655
  end
1520
1656
  end
1521
1657
 
1658
+ class DeliveryTime
1659
+ # @private
1660
+ class Representation < Google::Apis::Core::JsonRepresentation
1661
+ property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
1662
+ property :min_transit_time_in_days, as: 'minTransitTimeInDays'
1663
+ end
1664
+ end
1665
+
1522
1666
  class Error
1523
1667
  # @private
1524
1668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1538,6 +1682,20 @@ module Google
1538
1682
  end
1539
1683
  end
1540
1684
 
1685
+ class Headers
1686
+ # @private
1687
+ class Representation < Google::Apis::Core::JsonRepresentation
1688
+ collection :locations, as: 'locations', class: Google::Apis::ContentV2::LocationIdSet, decorator: Google::Apis::ContentV2::LocationIdSet::Representation
1689
+
1690
+ collection :number_of_items, as: 'numberOfItems'
1691
+ collection :postal_code_group_names, as: 'postalCodeGroupNames'
1692
+ collection :prices, as: 'prices', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1693
+
1694
+ collection :weights, as: 'weights', class: Google::Apis::ContentV2::Weight, decorator: Google::Apis::ContentV2::Weight::Representation
1695
+
1696
+ end
1697
+ end
1698
+
1541
1699
  class Installment
1542
1700
  # @private
1543
1701
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1630,6 +1788,13 @@ module Google
1630
1788
  end
1631
1789
  end
1632
1790
 
1791
+ class LocationIdSet
1792
+ # @private
1793
+ class Representation < Google::Apis::Core::JsonRepresentation
1794
+ collection :location_ids, as: 'locationIds'
1795
+ end
1796
+ end
1797
+
1633
1798
  class LoyaltyPoints
1634
1799
  # @private
1635
1800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2202,6 +2367,24 @@ module Google
2202
2367
  end
2203
2368
  end
2204
2369
 
2370
+ class PostalCodeGroup
2371
+ # @private
2372
+ class Representation < Google::Apis::Core::JsonRepresentation
2373
+ property :country, as: 'country'
2374
+ property :name, as: 'name'
2375
+ collection :postal_code_ranges, as: 'postalCodeRanges', class: Google::Apis::ContentV2::PostalCodeRange, decorator: Google::Apis::ContentV2::PostalCodeRange::Representation
2376
+
2377
+ end
2378
+ end
2379
+
2380
+ class PostalCodeRange
2381
+ # @private
2382
+ class Representation < Google::Apis::Core::JsonRepresentation
2383
+ property :postal_code_range_begin, as: 'postalCodeRangeBegin'
2384
+ property :postal_code_range_end, as: 'postalCodeRangeEnd'
2385
+ end
2386
+ end
2387
+
2205
2388
  class Price
2206
2389
  # @private
2207
2390
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2539,6 +2722,127 @@ module Google
2539
2722
  end
2540
2723
  end
2541
2724
 
2725
+ class RateGroup
2726
+ # @private
2727
+ class Representation < Google::Apis::Core::JsonRepresentation
2728
+ collection :applicable_shipping_labels, as: 'applicableShippingLabels'
2729
+ collection :carrier_rates, as: 'carrierRates', class: Google::Apis::ContentV2::CarrierRate, decorator: Google::Apis::ContentV2::CarrierRate::Representation
2730
+
2731
+ property :main_table, as: 'mainTable', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation
2732
+
2733
+ property :single_value, as: 'singleValue', class: Google::Apis::ContentV2::Value, decorator: Google::Apis::ContentV2::Value::Representation
2734
+
2735
+ collection :subtables, as: 'subtables', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation
2736
+
2737
+ end
2738
+ end
2739
+
2740
+ class Row
2741
+ # @private
2742
+ class Representation < Google::Apis::Core::JsonRepresentation
2743
+ collection :cells, as: 'cells', class: Google::Apis::ContentV2::Value, decorator: Google::Apis::ContentV2::Value::Representation
2744
+
2745
+ end
2746
+ end
2747
+
2748
+ class Service
2749
+ # @private
2750
+ class Representation < Google::Apis::Core::JsonRepresentation
2751
+ property :active, as: 'active'
2752
+ property :currency, as: 'currency'
2753
+ property :delivery_country, as: 'deliveryCountry'
2754
+ property :delivery_time, as: 'deliveryTime', class: Google::Apis::ContentV2::DeliveryTime, decorator: Google::Apis::ContentV2::DeliveryTime::Representation
2755
+
2756
+ property :name, as: 'name'
2757
+ collection :rate_groups, as: 'rateGroups', class: Google::Apis::ContentV2::RateGroup, decorator: Google::Apis::ContentV2::RateGroup::Representation
2758
+
2759
+ end
2760
+ end
2761
+
2762
+ class ShippingSettings
2763
+ # @private
2764
+ class Representation < Google::Apis::Core::JsonRepresentation
2765
+ property :account_id, as: 'accountId'
2766
+ collection :postal_code_groups, as: 'postalCodeGroups', class: Google::Apis::ContentV2::PostalCodeGroup, decorator: Google::Apis::ContentV2::PostalCodeGroup::Representation
2767
+
2768
+ collection :services, as: 'services', class: Google::Apis::ContentV2::Service, decorator: Google::Apis::ContentV2::Service::Representation
2769
+
2770
+ end
2771
+ end
2772
+
2773
+ class ShippingsettingsCustomBatchRequest
2774
+ # @private
2775
+ class Representation < Google::Apis::Core::JsonRepresentation
2776
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::ShippingsettingsCustomBatchRequestEntry, decorator: Google::Apis::ContentV2::ShippingsettingsCustomBatchRequestEntry::Representation
2777
+
2778
+ end
2779
+ end
2780
+
2781
+ class ShippingsettingsCustomBatchRequestEntry
2782
+ # @private
2783
+ class Representation < Google::Apis::Core::JsonRepresentation
2784
+ property :account_id, as: 'accountId'
2785
+ property :batch_id, as: 'batchId'
2786
+ property :merchant_id, as: 'merchantId'
2787
+ property :method_prop, as: 'method'
2788
+ property :shipping_settings, as: 'shippingSettings', class: Google::Apis::ContentV2::ShippingSettings, decorator: Google::Apis::ContentV2::ShippingSettings::Representation
2789
+
2790
+ end
2791
+ end
2792
+
2793
+ class ShippingsettingsCustomBatchResponse
2794
+ # @private
2795
+ class Representation < Google::Apis::Core::JsonRepresentation
2796
+ collection :entries, as: 'entries', class: Google::Apis::ContentV2::ShippingsettingsCustomBatchResponseEntry, decorator: Google::Apis::ContentV2::ShippingsettingsCustomBatchResponseEntry::Representation
2797
+
2798
+ property :kind, as: 'kind'
2799
+ end
2800
+ end
2801
+
2802
+ class ShippingsettingsCustomBatchResponseEntry
2803
+ # @private
2804
+ class Representation < Google::Apis::Core::JsonRepresentation
2805
+ property :batch_id, as: 'batchId'
2806
+ property :errors, as: 'errors', class: Google::Apis::ContentV2::Errors, decorator: Google::Apis::ContentV2::Errors::Representation
2807
+
2808
+ property :kind, as: 'kind'
2809
+ property :shipping_settings, as: 'shippingSettings', class: Google::Apis::ContentV2::ShippingSettings, decorator: Google::Apis::ContentV2::ShippingSettings::Representation
2810
+
2811
+ end
2812
+ end
2813
+
2814
+ class ShippingsettingsGetSupportedCarriersResponse
2815
+ # @private
2816
+ class Representation < Google::Apis::Core::JsonRepresentation
2817
+ collection :carriers, as: 'carriers', class: Google::Apis::ContentV2::CarriersCarrier, decorator: Google::Apis::ContentV2::CarriersCarrier::Representation
2818
+
2819
+ property :kind, as: 'kind'
2820
+ end
2821
+ end
2822
+
2823
+ class ShippingsettingsListResponse
2824
+ # @private
2825
+ class Representation < Google::Apis::Core::JsonRepresentation
2826
+ property :kind, as: 'kind'
2827
+ property :next_page_token, as: 'nextPageToken'
2828
+ collection :resources, as: 'resources', class: Google::Apis::ContentV2::ShippingSettings, decorator: Google::Apis::ContentV2::ShippingSettings::Representation
2829
+
2830
+ end
2831
+ end
2832
+
2833
+ class Table
2834
+ # @private
2835
+ class Representation < Google::Apis::Core::JsonRepresentation
2836
+ property :column_headers, as: 'columnHeaders', class: Google::Apis::ContentV2::Headers, decorator: Google::Apis::ContentV2::Headers::Representation
2837
+
2838
+ property :name, as: 'name'
2839
+ property :row_headers, as: 'rowHeaders', class: Google::Apis::ContentV2::Headers, decorator: Google::Apis::ContentV2::Headers::Representation
2840
+
2841
+ collection :rows, as: 'rows', class: Google::Apis::ContentV2::Row, decorator: Google::Apis::ContentV2::Row::Representation
2842
+
2843
+ end
2844
+ end
2845
+
2542
2846
  class TestOrder
2543
2847
  # @private
2544
2848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2616,6 +2920,18 @@ module Google
2616
2920
  end
2617
2921
  end
2618
2922
 
2923
+ class Value
2924
+ # @private
2925
+ class Representation < Google::Apis::Core::JsonRepresentation
2926
+ property :carrier_rate_name, as: 'carrierRateName'
2927
+ property :flat_rate, as: 'flatRate', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2928
+
2929
+ property :no_shipping, as: 'noShipping'
2930
+ property :price_percentage, as: 'pricePercentage'
2931
+ property :subtable_name, as: 'subtableName'
2932
+ end
2933
+ end
2934
+
2619
2935
  class Weight
2620
2936
  # @private
2621
2937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2324,6 +2324,250 @@ module Google
2324
2324
  command.query['userIp'] = user_ip unless user_ip.nil?
2325
2325
  execute_or_queue_command(command, &block)
2326
2326
  end
2327
+
2328
+ # Retrieves and updates the shipping settings of multiple accounts in a single
2329
+ # request.
2330
+ # @param [Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest] shippingsettings_custom_batch_request_object
2331
+ # @param [Boolean] dry_run
2332
+ # Flag to run the request in dry-run mode.
2333
+ # @param [String] fields
2334
+ # Selector specifying which fields to include in a partial response.
2335
+ # @param [String] quota_user
2336
+ # Available to use for quota purposes for server-side applications. Can be any
2337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2338
+ # Overrides userIp if both are provided.
2339
+ # @param [String] user_ip
2340
+ # IP address of the site where the request originates. Use this if you want to
2341
+ # enforce per-user limits.
2342
+ # @param [Google::Apis::RequestOptions] options
2343
+ # Request-specific options
2344
+ #
2345
+ # @yield [result, err] Result & error if block supplied
2346
+ # @yieldparam result [Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse] parsed result object
2347
+ # @yieldparam err [StandardError] error object if request failed
2348
+ #
2349
+ # @return [Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse]
2350
+ #
2351
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2352
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2353
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2354
+ def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2355
+ command = make_simple_command(:post, 'shippingsettings/batch', options)
2356
+ command.request_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchRequest::Representation
2357
+ command.request_object = shippingsettings_custom_batch_request_object
2358
+ command.response_representation = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse::Representation
2359
+ command.response_class = Google::Apis::ContentV2::ShippingsettingsCustomBatchResponse
2360
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2361
+ command.query['fields'] = fields unless fields.nil?
2362
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2363
+ command.query['userIp'] = user_ip unless user_ip.nil?
2364
+ execute_or_queue_command(command, &block)
2365
+ end
2366
+
2367
+ # Retrieves the shipping settings of the account.
2368
+ # @param [String] merchant_id
2369
+ # The ID of the managing account.
2370
+ # @param [String] account_id
2371
+ # The ID of the account for which to get/update shipping settings.
2372
+ # @param [String] fields
2373
+ # Selector specifying which fields to include in a partial response.
2374
+ # @param [String] quota_user
2375
+ # Available to use for quota purposes for server-side applications. Can be any
2376
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2377
+ # Overrides userIp if both are provided.
2378
+ # @param [String] user_ip
2379
+ # IP address of the site where the request originates. Use this if you want to
2380
+ # enforce per-user limits.
2381
+ # @param [Google::Apis::RequestOptions] options
2382
+ # Request-specific options
2383
+ #
2384
+ # @yield [result, err] Result & error if block supplied
2385
+ # @yieldparam result [Google::Apis::ContentV2::ShippingSettings] parsed result object
2386
+ # @yieldparam err [StandardError] error object if request failed
2387
+ #
2388
+ # @return [Google::Apis::ContentV2::ShippingSettings]
2389
+ #
2390
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2391
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2392
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2393
+ def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2394
+ command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
2395
+ command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
2396
+ command.response_class = Google::Apis::ContentV2::ShippingSettings
2397
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2398
+ command.params['accountId'] = account_id unless account_id.nil?
2399
+ command.query['fields'] = fields unless fields.nil?
2400
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2401
+ command.query['userIp'] = user_ip unless user_ip.nil?
2402
+ execute_or_queue_command(command, &block)
2403
+ end
2404
+
2405
+ # Retrieves supported carriers and carrier services for an account.
2406
+ # @param [String] merchant_id
2407
+ # The ID of the account for which to retrieve the supported carriers.
2408
+ # @param [String] fields
2409
+ # Selector specifying which fields to include in a partial response.
2410
+ # @param [String] quota_user
2411
+ # Available to use for quota purposes for server-side applications. Can be any
2412
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2413
+ # Overrides userIp if both are provided.
2414
+ # @param [String] user_ip
2415
+ # IP address of the site where the request originates. Use this if you want to
2416
+ # enforce per-user limits.
2417
+ # @param [Google::Apis::RequestOptions] options
2418
+ # Request-specific options
2419
+ #
2420
+ # @yield [result, err] Result & error if block supplied
2421
+ # @yieldparam result [Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse] parsed result object
2422
+ # @yieldparam err [StandardError] error object if request failed
2423
+ #
2424
+ # @return [Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse]
2425
+ #
2426
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2427
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2428
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2429
+ def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2430
+ command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
2431
+ command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse::Representation
2432
+ command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
2433
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2434
+ command.query['fields'] = fields unless fields.nil?
2435
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2436
+ command.query['userIp'] = user_ip unless user_ip.nil?
2437
+ execute_or_queue_command(command, &block)
2438
+ end
2439
+
2440
+ # Lists the shipping settings of the sub-accounts in your Merchant Center
2441
+ # account.
2442
+ # @param [String] merchant_id
2443
+ # The ID of the managing account.
2444
+ # @param [Fixnum] max_results
2445
+ # The maximum number of shipping settings to return in the response, used for
2446
+ # paging.
2447
+ # @param [String] page_token
2448
+ # The token returned by the previous request.
2449
+ # @param [String] fields
2450
+ # Selector specifying which fields to include in a partial response.
2451
+ # @param [String] quota_user
2452
+ # Available to use for quota purposes for server-side applications. Can be any
2453
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2454
+ # Overrides userIp if both are provided.
2455
+ # @param [String] user_ip
2456
+ # IP address of the site where the request originates. Use this if you want to
2457
+ # enforce per-user limits.
2458
+ # @param [Google::Apis::RequestOptions] options
2459
+ # Request-specific options
2460
+ #
2461
+ # @yield [result, err] Result & error if block supplied
2462
+ # @yieldparam result [Google::Apis::ContentV2::ShippingsettingsListResponse] parsed result object
2463
+ # @yieldparam err [StandardError] error object if request failed
2464
+ #
2465
+ # @return [Google::Apis::ContentV2::ShippingsettingsListResponse]
2466
+ #
2467
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2468
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2469
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2470
+ def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2471
+ command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
2472
+ command.response_representation = Google::Apis::ContentV2::ShippingsettingsListResponse::Representation
2473
+ command.response_class = Google::Apis::ContentV2::ShippingsettingsListResponse
2474
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2475
+ command.query['maxResults'] = max_results unless max_results.nil?
2476
+ command.query['pageToken'] = page_token unless page_token.nil?
2477
+ command.query['fields'] = fields unless fields.nil?
2478
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2479
+ command.query['userIp'] = user_ip unless user_ip.nil?
2480
+ execute_or_queue_command(command, &block)
2481
+ end
2482
+
2483
+ # Updates the shipping settings of the account. This method supports patch
2484
+ # semantics.
2485
+ # @param [String] merchant_id
2486
+ # The ID of the managing account.
2487
+ # @param [String] account_id
2488
+ # The ID of the account for which to get/update shipping settings.
2489
+ # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
2490
+ # @param [Boolean] dry_run
2491
+ # Flag to run the request in dry-run mode.
2492
+ # @param [String] fields
2493
+ # Selector specifying which fields to include in a partial response.
2494
+ # @param [String] quota_user
2495
+ # Available to use for quota purposes for server-side applications. Can be any
2496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2497
+ # Overrides userIp if both are provided.
2498
+ # @param [String] user_ip
2499
+ # IP address of the site where the request originates. Use this if you want to
2500
+ # enforce per-user limits.
2501
+ # @param [Google::Apis::RequestOptions] options
2502
+ # Request-specific options
2503
+ #
2504
+ # @yield [result, err] Result & error if block supplied
2505
+ # @yieldparam result [Google::Apis::ContentV2::ShippingSettings] parsed result object
2506
+ # @yieldparam err [StandardError] error object if request failed
2507
+ #
2508
+ # @return [Google::Apis::ContentV2::ShippingSettings]
2509
+ #
2510
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2511
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2512
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2513
+ def patch_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2514
+ command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
2515
+ command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
2516
+ command.request_object = shipping_settings_object
2517
+ command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
2518
+ command.response_class = Google::Apis::ContentV2::ShippingSettings
2519
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2520
+ command.params['accountId'] = account_id unless account_id.nil?
2521
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2522
+ command.query['fields'] = fields unless fields.nil?
2523
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2524
+ command.query['userIp'] = user_ip unless user_ip.nil?
2525
+ execute_or_queue_command(command, &block)
2526
+ end
2527
+
2528
+ # Updates the shipping settings of the account.
2529
+ # @param [String] merchant_id
2530
+ # The ID of the managing account.
2531
+ # @param [String] account_id
2532
+ # The ID of the account for which to get/update shipping settings.
2533
+ # @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
2534
+ # @param [Boolean] dry_run
2535
+ # Flag to run the request in dry-run mode.
2536
+ # @param [String] fields
2537
+ # Selector specifying which fields to include in a partial response.
2538
+ # @param [String] quota_user
2539
+ # Available to use for quota purposes for server-side applications. Can be any
2540
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2541
+ # Overrides userIp if both are provided.
2542
+ # @param [String] user_ip
2543
+ # IP address of the site where the request originates. Use this if you want to
2544
+ # enforce per-user limits.
2545
+ # @param [Google::Apis::RequestOptions] options
2546
+ # Request-specific options
2547
+ #
2548
+ # @yield [result, err] Result & error if block supplied
2549
+ # @yieldparam result [Google::Apis::ContentV2::ShippingSettings] parsed result object
2550
+ # @yieldparam err [StandardError] error object if request failed
2551
+ #
2552
+ # @return [Google::Apis::ContentV2::ShippingSettings]
2553
+ #
2554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2557
+ def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2558
+ command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
2559
+ command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
2560
+ command.request_object = shipping_settings_object
2561
+ command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
2562
+ command.response_class = Google::Apis::ContentV2::ShippingSettings
2563
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
2564
+ command.params['accountId'] = account_id unless account_id.nil?
2565
+ command.query['dryRun'] = dry_run unless dry_run.nil?
2566
+ command.query['fields'] = fields unless fields.nil?
2567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2568
+ command.query['userIp'] = user_ip unless user_ip.nil?
2569
+ execute_or_queue_command(command, &block)
2570
+ end
2327
2571
 
2328
2572
  protected
2329
2573