google-api-client 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
  5. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  6. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +59 -1
  11. data/generated/google/apis/appengine_v1/representations.rb +18 -0
  12. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  13. data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
  14. data/generated/google/apis/compute_alpha.rb +1 -1
  15. data/generated/google/apis/compute_alpha/classes.rb +97 -12
  16. data/generated/google/apis/compute_alpha/representations.rb +23 -0
  17. data/generated/google/apis/compute_alpha/service.rb +41 -1
  18. data/generated/google/apis/compute_beta.rb +1 -1
  19. data/generated/google/apis/compute_beta/classes.rb +1616 -43
  20. data/generated/google/apis/compute_beta/representations.rb +685 -20
  21. data/generated/google/apis/compute_beta/service.rb +1286 -0
  22. data/generated/google/apis/compute_v1.rb +1 -1
  23. data/generated/google/apis/compute_v1/classes.rb +184 -3
  24. data/generated/google/apis/compute_v1/representations.rb +43 -0
  25. data/generated/google/apis/compute_v1/service.rb +108 -0
  26. data/generated/google/apis/content_v2.rb +1 -1
  27. data/generated/google/apis/content_v2/classes.rb +805 -102
  28. data/generated/google/apis/content_v2/representations.rb +393 -26
  29. data/generated/google/apis/content_v2/service.rb +242 -0
  30. data/generated/google/apis/content_v2sandbox.rb +1 -1
  31. data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
  32. data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
  33. data/generated/google/apis/content_v2sandbox/service.rb +242 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +280 -2
  36. data/generated/google/apis/dlp_v2/representations.rb +120 -0
  37. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  38. data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
  39. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  40. data/generated/google/apis/logging_v2.rb +1 -1
  41. data/generated/google/apis/logging_v2/classes.rb +2 -2
  42. data/generated/google/apis/monitoring_v3.rb +1 -1
  43. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  44. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  45. data/generated/google/apis/monitoring_v3/service.rb +5 -3
  46. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  47. data/generated/google/apis/pubsub_v1.rb +1 -1
  48. data/generated/google/apis/pubsub_v1/classes.rb +0 -8
  49. data/generated/google/apis/pubsub_v1/service.rb +4 -8
  50. data/generated/google/apis/script_v1.rb +1 -1
  51. data/generated/google/apis/script_v1/classes.rb +7 -8
  52. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  53. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
  54. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
  55. data/generated/google/apis/serviceuser_v1.rb +1 -1
  56. data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
  57. data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
  58. data/generated/google/apis/sheets_v4.rb +1 -1
  59. data/generated/google/apis/sheets_v4/service.rb +2 -1
  60. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  61. data/generated/google/apis/tpu_v1.rb +34 -0
  62. data/generated/google/apis/tpu_v1/classes.rb +736 -0
  63. data/generated/google/apis/tpu_v1/representations.rb +316 -0
  64. data/generated/google/apis/tpu_v1/service.rb +687 -0
  65. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  66. data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
  67. data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
  68. data/generated/google/apis/videointelligence_v1.rb +1 -1
  69. data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
  70. data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
  71. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  72. data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
  73. data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
  74. data/lib/google/apis/version.rb +1 -1
  75. metadata +6 -6
  76. data/generated/google/apis/photoslibrary_v1.rb +0 -49
  77. data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
  78. data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
  79. data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class Amount
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class CarrierRate
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -418,6 +424,18 @@ module Google
418
424
  include Google::Apis::Core::JsonObjectSupport
419
425
  end
420
426
 
427
+ class InvoiceSummary
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class InvoiceSummaryAdditionalChargeSummary
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
421
439
  class LiaAboutPageSettings
422
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
441
 
@@ -634,6 +652,90 @@ module Google
634
652
  include Google::Apis::Core::JsonObjectSupport
635
653
  end
636
654
 
655
+ class OrderinvoicesCreateChargeInvoiceRequest
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class OrderinvoicesCreateChargeInvoiceResponse
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class OrderinvoicesCreateRefundInvoiceRequest
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class OrderinvoicesCreateRefundInvoiceResponse
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class OrderpaymentsNotifyAuthApprovedRequest
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class OrderpaymentsNotifyAuthApprovedResponse
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class OrderpaymentsNotifyAuthDeclinedRequest
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class OrderpaymentsNotifyAuthDeclinedResponse
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
715
+ class OrderpaymentsNotifyChargeRequest
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class OrderpaymentsNotifyChargeResponse
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class OrderpaymentsNotifyRefundRequest
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class OrderpaymentsNotifyRefundResponse
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
637
739
  class OrdersAcknowledgeRequest
638
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
741
 
@@ -946,37 +1048,37 @@ module Google
946
1048
  include Google::Apis::Core::JsonObjectSupport
947
1049
  end
948
1050
 
949
- class PosInventory
1051
+ class PosDataProviders
950
1052
  class Representation < Google::Apis::Core::JsonRepresentation; end
951
1053
 
952
1054
  include Google::Apis::Core::JsonObjectSupport
953
1055
  end
954
1056
 
955
- class PosInventoryRequest
1057
+ class PosDataProvidersPosDataProvider
956
1058
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
1059
 
958
1060
  include Google::Apis::Core::JsonObjectSupport
959
1061
  end
960
1062
 
961
- class PosInventoryResponse
1063
+ class PosInventory
962
1064
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
1065
 
964
1066
  include Google::Apis::Core::JsonObjectSupport
965
1067
  end
966
1068
 
967
- class PosListResponse
1069
+ class PosInventoryRequest
968
1070
  class Representation < Google::Apis::Core::JsonRepresentation; end
969
1071
 
970
1072
  include Google::Apis::Core::JsonObjectSupport
971
1073
  end
972
1074
 
973
- class PosProviders
1075
+ class PosInventoryResponse
974
1076
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
1077
 
976
1078
  include Google::Apis::Core::JsonObjectSupport
977
1079
  end
978
1080
 
979
- class PosProvidersPosProvider
1081
+ class PosListResponse
980
1082
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
1083
 
982
1084
  include Google::Apis::Core::JsonObjectSupport
@@ -1174,6 +1276,12 @@ module Google
1174
1276
  include Google::Apis::Core::JsonObjectSupport
1175
1277
  end
1176
1278
 
1279
+ class Promotion
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1177
1285
  class RateGroup
1178
1286
  class Representation < Google::Apis::Core::JsonRepresentation; end
1179
1287
 
@@ -1192,6 +1300,18 @@ module Google
1192
1300
  include Google::Apis::Core::JsonObjectSupport
1193
1301
  end
1194
1302
 
1303
+ class ShipmentInvoice
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1309
+ class ShipmentInvoiceLineItemInvoice
1310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1311
+
1312
+ include Google::Apis::Core::JsonObjectSupport
1313
+ end
1314
+
1195
1315
  class ShippingSettings
1196
1316
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1317
 
@@ -1282,6 +1402,24 @@ module Google
1282
1402
  include Google::Apis::Core::JsonObjectSupport
1283
1403
  end
1284
1404
 
1405
+ class UnitInvoice
1406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1407
+
1408
+ include Google::Apis::Core::JsonObjectSupport
1409
+ end
1410
+
1411
+ class UnitInvoiceAdditionalCharge
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1417
+ class UnitInvoiceTaxLine
1418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1419
+
1420
+ include Google::Apis::Core::JsonObjectSupport
1421
+ end
1422
+
1285
1423
  class Value
1286
1424
  class Representation < Google::Apis::Core::JsonRepresentation; end
1287
1425
 
@@ -1599,6 +1737,16 @@ module Google
1599
1737
  end
1600
1738
  end
1601
1739
 
1740
+ class Amount
1741
+ # @private
1742
+ class Representation < Google::Apis::Core::JsonRepresentation
1743
+ property :pretax, as: 'pretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1744
+
1745
+ property :tax, as: 'tax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
1746
+
1747
+ end
1748
+ end
1749
+
1602
1750
  class CarrierRate
1603
1751
  # @private
1604
1752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2010,6 +2158,33 @@ module Google
2010
2158
  end
2011
2159
  end
2012
2160
 
2161
+ class InvoiceSummary
2162
+ # @private
2163
+ class Representation < Google::Apis::Core::JsonRepresentation
2164
+ collection :additional_charge_summaries, as: 'additionalChargeSummaries', class: Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary, decorator: Google::Apis::ContentV2::InvoiceSummaryAdditionalChargeSummary::Representation
2165
+
2166
+ property :customer_balance, as: 'customerBalance', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
2167
+
2168
+ property :google_balance, as: 'googleBalance', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
2169
+
2170
+ property :merchant_balance, as: 'merchantBalance', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
2171
+
2172
+ property :product_total, as: 'productTotal', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
2173
+
2174
+ collection :promotion_summaries, as: 'promotionSummaries', class: Google::Apis::ContentV2::Promotion, decorator: Google::Apis::ContentV2::Promotion::Representation
2175
+
2176
+ end
2177
+ end
2178
+
2179
+ class InvoiceSummaryAdditionalChargeSummary
2180
+ # @private
2181
+ class Representation < Google::Apis::Core::JsonRepresentation
2182
+ property :total_amount, as: 'totalAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
2183
+
2184
+ property :type, as: 'type'
2185
+ end
2186
+ end
2187
+
2013
2188
  class LiaAboutPageSettings
2014
2189
  # @private
2015
2190
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2082,8 +2257,8 @@ module Google
2082
2257
 
2083
2258
  property :merchant_id, :numeric_string => true, as: 'merchantId'
2084
2259
  property :method_prop, as: 'method'
2260
+ property :pos_data_provider_id, :numeric_string => true, as: 'posDataProviderId'
2085
2261
  property :pos_external_account_id, as: 'posExternalAccountId'
2086
- property :pos_provider_id, :numeric_string => true, as: 'posProviderId'
2087
2262
  end
2088
2263
  end
2089
2264
 
@@ -2107,7 +2282,7 @@ module Google
2107
2282
  property :kind, as: 'kind'
2108
2283
  property :lia_settings, as: 'liaSettings', class: Google::Apis::ContentV2::LiaSettings, decorator: Google::Apis::ContentV2::LiaSettings::Representation
2109
2284
 
2110
- collection :pos_providers, as: 'posProviders', class: Google::Apis::ContentV2::PosProviders, decorator: Google::Apis::ContentV2::PosProviders::Representation
2285
+ collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2::PosDataProviders, decorator: Google::Apis::ContentV2::PosDataProviders::Representation
2111
2286
 
2112
2287
  end
2113
2288
  end
@@ -2442,6 +2617,130 @@ module Google
2442
2617
  end
2443
2618
  end
2444
2619
 
2620
+ class OrderinvoicesCreateChargeInvoiceRequest
2621
+ # @private
2622
+ class Representation < Google::Apis::Core::JsonRepresentation
2623
+ property :invoice_id, as: 'invoiceId'
2624
+ property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2::InvoiceSummary, decorator: Google::Apis::ContentV2::InvoiceSummary::Representation
2625
+
2626
+ collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice::Representation
2627
+
2628
+ property :operation_id, as: 'operationId'
2629
+ property :shipment_group_id, as: 'shipmentGroupId'
2630
+ end
2631
+ end
2632
+
2633
+ class OrderinvoicesCreateChargeInvoiceResponse
2634
+ # @private
2635
+ class Representation < Google::Apis::Core::JsonRepresentation
2636
+ property :execution_status, as: 'executionStatus'
2637
+ property :kind, as: 'kind'
2638
+ end
2639
+ end
2640
+
2641
+ class OrderinvoicesCreateRefundInvoiceRequest
2642
+ # @private
2643
+ class Representation < Google::Apis::Core::JsonRepresentation
2644
+ property :invoice_id, as: 'invoiceId'
2645
+ property :operation_id, as: 'operationId'
2646
+ property :refund_only_option, as: 'refundOnlyOption', class: Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption, decorator: Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption::Representation
2647
+
2648
+ property :return_option, as: 'returnOption', class: Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption, decorator: Google::Apis::ContentV2::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption::Representation
2649
+
2650
+ collection :shipment_invoices, as: 'shipmentInvoices', class: Google::Apis::ContentV2::ShipmentInvoice, decorator: Google::Apis::ContentV2::ShipmentInvoice::Representation
2651
+
2652
+ end
2653
+ end
2654
+
2655
+ class OrderinvoicesCreateRefundInvoiceResponse
2656
+ # @private
2657
+ class Representation < Google::Apis::Core::JsonRepresentation
2658
+ property :execution_status, as: 'executionStatus'
2659
+ property :kind, as: 'kind'
2660
+ end
2661
+ end
2662
+
2663
+ class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption
2664
+ # @private
2665
+ class Representation < Google::Apis::Core::JsonRepresentation
2666
+ property :description, as: 'description'
2667
+ property :reason, as: 'reason'
2668
+ end
2669
+ end
2670
+
2671
+ class OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption
2672
+ # @private
2673
+ class Representation < Google::Apis::Core::JsonRepresentation
2674
+ property :description, as: 'description'
2675
+ property :reason, as: 'reason'
2676
+ end
2677
+ end
2678
+
2679
+ class OrderpaymentsNotifyAuthApprovedRequest
2680
+ # @private
2681
+ class Representation < Google::Apis::Core::JsonRepresentation
2682
+ property :auth_amount_pretax, as: 'authAmountPretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2683
+
2684
+ property :auth_amount_tax, as: 'authAmountTax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
2685
+
2686
+ end
2687
+ end
2688
+
2689
+ class OrderpaymentsNotifyAuthApprovedResponse
2690
+ # @private
2691
+ class Representation < Google::Apis::Core::JsonRepresentation
2692
+ property :execution_status, as: 'executionStatus'
2693
+ property :kind, as: 'kind'
2694
+ end
2695
+ end
2696
+
2697
+ class OrderpaymentsNotifyAuthDeclinedRequest
2698
+ # @private
2699
+ class Representation < Google::Apis::Core::JsonRepresentation
2700
+ property :decline_reason, as: 'declineReason'
2701
+ end
2702
+ end
2703
+
2704
+ class OrderpaymentsNotifyAuthDeclinedResponse
2705
+ # @private
2706
+ class Representation < Google::Apis::Core::JsonRepresentation
2707
+ property :execution_status, as: 'executionStatus'
2708
+ property :kind, as: 'kind'
2709
+ end
2710
+ end
2711
+
2712
+ class OrderpaymentsNotifyChargeRequest
2713
+ # @private
2714
+ class Representation < Google::Apis::Core::JsonRepresentation
2715
+ property :charge_state, as: 'chargeState'
2716
+ property :invoice_id, as: 'invoiceId'
2717
+ end
2718
+ end
2719
+
2720
+ class OrderpaymentsNotifyChargeResponse
2721
+ # @private
2722
+ class Representation < Google::Apis::Core::JsonRepresentation
2723
+ property :execution_status, as: 'executionStatus'
2724
+ property :kind, as: 'kind'
2725
+ end
2726
+ end
2727
+
2728
+ class OrderpaymentsNotifyRefundRequest
2729
+ # @private
2730
+ class Representation < Google::Apis::Core::JsonRepresentation
2731
+ property :invoice_id, as: 'invoiceId'
2732
+ property :refund_state, as: 'refundState'
2733
+ end
2734
+ end
2735
+
2736
+ class OrderpaymentsNotifyRefundResponse
2737
+ # @private
2738
+ class Representation < Google::Apis::Core::JsonRepresentation
2739
+ property :execution_status, as: 'executionStatus'
2740
+ property :kind, as: 'kind'
2741
+ end
2742
+ end
2743
+
2445
2744
  class OrdersAcknowledgeRequest
2446
2745
  # @private
2447
2746
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2673,6 +2972,7 @@ module Google
2673
2972
  property :carrier, as: 'carrier'
2674
2973
  collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
2675
2974
 
2975
+ property :shipment_group_id, as: 'shipmentGroupId'
2676
2976
  property :shipment_id, as: 'shipmentId'
2677
2977
  collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
2678
2978
 
@@ -2896,6 +3196,7 @@ module Google
2896
3196
  collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2::OrderShipmentLineItemShipment::Representation
2897
3197
 
2898
3198
  property :operation_id, as: 'operationId'
3199
+ property :shipment_group_id, as: 'shipmentGroupId'
2899
3200
  property :shipment_id, as: 'shipmentId'
2900
3201
  collection :shipment_infos, as: 'shipmentInfos', class: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo, decorator: Google::Apis::ContentV2::OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo::Representation
2901
3202
 
@@ -3015,6 +3316,24 @@ module Google
3015
3316
  end
3016
3317
  end
3017
3318
 
3319
+ class PosDataProviders
3320
+ # @private
3321
+ class Representation < Google::Apis::Core::JsonRepresentation
3322
+ property :country, as: 'country'
3323
+ collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2::PosDataProvidersPosDataProvider, decorator: Google::Apis::ContentV2::PosDataProvidersPosDataProvider::Representation
3324
+
3325
+ end
3326
+ end
3327
+
3328
+ class PosDataProvidersPosDataProvider
3329
+ # @private
3330
+ class Representation < Google::Apis::Core::JsonRepresentation
3331
+ property :display_name, as: 'displayName'
3332
+ property :full_name, as: 'fullName'
3333
+ property :provider_id, :numeric_string => true, as: 'providerId'
3334
+ end
3335
+ end
3336
+
3018
3337
  class PosInventory
3019
3338
  # @private
3020
3339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3071,24 +3390,6 @@ module Google
3071
3390
  end
3072
3391
  end
3073
3392
 
3074
- class PosProviders
3075
- # @private
3076
- class Representation < Google::Apis::Core::JsonRepresentation
3077
- property :country, as: 'country'
3078
- collection :pos_providers, as: 'posProviders', class: Google::Apis::ContentV2::PosProvidersPosProvider, decorator: Google::Apis::ContentV2::PosProvidersPosProvider::Representation
3079
-
3080
- end
3081
- end
3082
-
3083
- class PosProvidersPosProvider
3084
- # @private
3085
- class Representation < Google::Apis::Core::JsonRepresentation
3086
- property :display_name, as: 'displayName'
3087
- property :full_name, as: 'fullName'
3088
- property :provider_id, :numeric_string => true, as: 'providerId'
3089
- end
3090
- end
3091
-
3092
3393
  class PosSale
3093
3394
  # @private
3094
3395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3527,6 +3828,15 @@ module Google
3527
3828
  end
3528
3829
  end
3529
3830
 
3831
+ class Promotion
3832
+ # @private
3833
+ class Representation < Google::Apis::Core::JsonRepresentation
3834
+ property :promotion_amount, as: 'promotionAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
3835
+
3836
+ property :promotion_id, as: 'promotionId'
3837
+ end
3838
+ end
3839
+
3530
3840
  class RateGroup
3531
3841
  # @private
3532
3842
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3567,6 +3877,28 @@ module Google
3567
3877
  end
3568
3878
  end
3569
3879
 
3880
+ class ShipmentInvoice
3881
+ # @private
3882
+ class Representation < Google::Apis::Core::JsonRepresentation
3883
+ property :invoice_summary, as: 'invoiceSummary', class: Google::Apis::ContentV2::InvoiceSummary, decorator: Google::Apis::ContentV2::InvoiceSummary::Representation
3884
+
3885
+ collection :line_item_invoices, as: 'lineItemInvoices', class: Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice, decorator: Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice::Representation
3886
+
3887
+ property :shipment_group_id, as: 'shipmentGroupId'
3888
+ end
3889
+ end
3890
+
3891
+ class ShipmentInvoiceLineItemInvoice
3892
+ # @private
3893
+ class Representation < Google::Apis::Core::JsonRepresentation
3894
+ property :line_item_id, as: 'lineItemId'
3895
+ property :product_id, as: 'productId'
3896
+ collection :shipment_unit_ids, as: 'shipmentUnitIds'
3897
+ property :unit_invoice, as: 'unitInvoice', class: Google::Apis::ContentV2::UnitInvoice, decorator: Google::Apis::ContentV2::UnitInvoice::Representation
3898
+
3899
+ end
3900
+ end
3901
+
3570
3902
  class ShippingSettings
3571
3903
  # @private
3572
3904
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3748,6 +4080,41 @@ module Google
3748
4080
  end
3749
4081
  end
3750
4082
 
4083
+ class UnitInvoice
4084
+ # @private
4085
+ class Representation < Google::Apis::Core::JsonRepresentation
4086
+ collection :additional_charges, as: 'additionalCharges', class: Google::Apis::ContentV2::UnitInvoiceAdditionalCharge, decorator: Google::Apis::ContentV2::UnitInvoiceAdditionalCharge::Representation
4087
+
4088
+ collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::Promotion, decorator: Google::Apis::ContentV2::Promotion::Representation
4089
+
4090
+ property :unit_price_pretax, as: 'unitPricePretax', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
4091
+
4092
+ collection :unit_price_taxes, as: 'unitPriceTaxes', class: Google::Apis::ContentV2::UnitInvoiceTaxLine, decorator: Google::Apis::ContentV2::UnitInvoiceTaxLine::Representation
4093
+
4094
+ end
4095
+ end
4096
+
4097
+ class UnitInvoiceAdditionalCharge
4098
+ # @private
4099
+ class Representation < Google::Apis::Core::JsonRepresentation
4100
+ property :additional_charge_amount, as: 'additionalChargeAmount', class: Google::Apis::ContentV2::Amount, decorator: Google::Apis::ContentV2::Amount::Representation
4101
+
4102
+ collection :additional_charge_promotions, as: 'additionalChargePromotions', class: Google::Apis::ContentV2::Promotion, decorator: Google::Apis::ContentV2::Promotion::Representation
4103
+
4104
+ property :type, as: 'type'
4105
+ end
4106
+ end
4107
+
4108
+ class UnitInvoiceTaxLine
4109
+ # @private
4110
+ class Representation < Google::Apis::Core::JsonRepresentation
4111
+ property :tax_amount, as: 'taxAmount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
4112
+
4113
+ property :tax_name, as: 'taxName'
4114
+ property :tax_type, as: 'taxType'
4115
+ end
4116
+ end
4117
+
3751
4118
  class Value
3752
4119
  # @private
3753
4120
  class Representation < Google::Apis::Core::JsonRepresentation