google-api-client 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +68 -0
- data/README.md +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +5 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +90 -87
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +17 -15
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +155 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +82 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +31 -0
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +835 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +394 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +302 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +37 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +8 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -1
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +12 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +52 -18
- data/generated/google/apis/cloudasset_v1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +798 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +313 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +42 -5
- data/generated/google/apis/cloudbuild_v1/representations.rb +6 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +59 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +28 -0
- data/generated/google/apis/cloudiot_v1/service.rb +94 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +34 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +227 -48
- data/generated/google/apis/compute_alpha/representations.rb +84 -1
- data/generated/google/apis/compute_alpha/service.rb +50 -10
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +593 -77
- data/generated/google/apis/compute_beta/representations.rb +224 -18
- data/generated/google/apis/compute_beta/service.rb +174 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +41 -18
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +372 -119
- data/generated/google/apis/content_v2/representations.rb +157 -39
- data/generated/google/apis/content_v2/service.rb +101 -11
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +372 -119
- data/generated/google/apis/content_v2sandbox/representations.rb +157 -39
- data/generated/google/apis/content_v2sandbox/service.rb +90 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +7 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +21 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +110 -5
- data/generated/google/apis/dlp_v2/representations.rb +17 -0
- data/generated/google/apis/dlp_v2/service.rb +41 -3
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +0 -234
- data/generated/google/apis/file_v1beta1/representations.rb +0 -79
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +19 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +3 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +43 -0
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +767 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +337 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +502 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +8 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/service.rb +80 -80
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -10
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +339 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +45 -37
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +21 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +45 -20
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +2 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +12 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -17
- data/generated/google/apis/monitoring_v3/representations.rb +1 -2
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +18 -15
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +18 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -150
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -42
- data/generated/google/apis/servicenetworking_v1beta.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3440 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +992 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +227 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2 -150
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +308 -30
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +306 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +306 -0
- data/generated/google/apis/{videointelligence_v1beta1.rb → videointelligence_v1p1beta1.rb} +6 -6
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/classes.rb +885 -489
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/representations.rb +357 -194
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/service.rb +12 -12
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
@@ -268,6 +268,12 @@ module Google
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
269
269
|
end
|
270
270
|
|
271
|
+
class CustomerReturnReason
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
271
277
|
class CutoffTime
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
279
|
|
@@ -610,6 +616,18 @@ module Google
|
|
610
616
|
include Google::Apis::Core::JsonObjectSupport
|
611
617
|
end
|
612
618
|
|
619
|
+
class MerchantOrderReturn
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class MerchantOrderReturnItem
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
613
631
|
class Order
|
614
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
633
|
|
@@ -646,61 +664,61 @@ module Google
|
|
646
664
|
include Google::Apis::Core::JsonObjectSupport
|
647
665
|
end
|
648
666
|
|
649
|
-
class
|
667
|
+
class OrderLegacyPromotion
|
650
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
669
|
|
652
670
|
include Google::Apis::Core::JsonObjectSupport
|
653
671
|
end
|
654
672
|
|
655
|
-
class
|
673
|
+
class OrderLegacyPromotionBenefit
|
656
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
675
|
|
658
676
|
include Google::Apis::Core::JsonObjectSupport
|
659
677
|
end
|
660
678
|
|
661
|
-
class
|
679
|
+
class OrderLineItem
|
662
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
681
|
|
664
682
|
include Google::Apis::Core::JsonObjectSupport
|
665
683
|
end
|
666
684
|
|
667
|
-
class
|
685
|
+
class OrderLineItemProduct
|
668
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
687
|
|
670
688
|
include Google::Apis::Core::JsonObjectSupport
|
671
689
|
end
|
672
690
|
|
673
|
-
class
|
691
|
+
class OrderLineItemProductVariantAttribute
|
674
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
693
|
|
676
694
|
include Google::Apis::Core::JsonObjectSupport
|
677
695
|
end
|
678
696
|
|
679
|
-
class
|
697
|
+
class OrderLineItemReturnInfo
|
680
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
699
|
|
682
700
|
include Google::Apis::Core::JsonObjectSupport
|
683
701
|
end
|
684
702
|
|
685
|
-
class
|
703
|
+
class OrderLineItemShippingDetails
|
686
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
705
|
|
688
706
|
include Google::Apis::Core::JsonObjectSupport
|
689
707
|
end
|
690
708
|
|
691
|
-
class
|
709
|
+
class OrderLineItemShippingDetailsMethod
|
692
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
711
|
|
694
712
|
include Google::Apis::Core::JsonObjectSupport
|
695
713
|
end
|
696
714
|
|
697
|
-
class
|
715
|
+
class OrderMerchantProvidedAnnotation
|
698
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
717
|
|
700
718
|
include Google::Apis::Core::JsonObjectSupport
|
701
719
|
end
|
702
720
|
|
703
|
-
class
|
721
|
+
class OrderPaymentMethod
|
704
722
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
723
|
|
706
724
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -838,6 +856,12 @@ module Google
|
|
838
856
|
include Google::Apis::Core::JsonObjectSupport
|
839
857
|
end
|
840
858
|
|
859
|
+
class OrderreturnsListResponse
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
841
865
|
class OrdersAcknowledgeRequest
|
842
866
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
867
|
|
@@ -1420,6 +1444,18 @@ module Google
|
|
1420
1444
|
include Google::Apis::Core::JsonObjectSupport
|
1421
1445
|
end
|
1422
1446
|
|
1447
|
+
class RefundReason
|
1448
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
|
+
|
1450
|
+
include Google::Apis::Core::JsonObjectSupport
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
class ReturnShipment
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1455
|
+
|
1456
|
+
include Google::Apis::Core::JsonObjectSupport
|
1457
|
+
end
|
1458
|
+
|
1423
1459
|
class Row
|
1424
1460
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1425
1461
|
|
@@ -1444,6 +1480,12 @@ module Google
|
|
1444
1480
|
include Google::Apis::Core::JsonObjectSupport
|
1445
1481
|
end
|
1446
1482
|
|
1483
|
+
class ShipmentTrackingInfo
|
1484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
|
+
|
1486
|
+
include Google::Apis::Core::JsonObjectSupport
|
1487
|
+
end
|
1488
|
+
|
1447
1489
|
class ShippingSettings
|
1448
1490
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
1491
|
|
@@ -2001,6 +2043,14 @@ module Google
|
|
2001
2043
|
end
|
2002
2044
|
end
|
2003
2045
|
|
2046
|
+
class CustomerReturnReason
|
2047
|
+
# @private
|
2048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2049
|
+
property :description, as: 'description'
|
2050
|
+
property :reason_code, as: 'reasonCode'
|
2051
|
+
end
|
2052
|
+
end
|
2053
|
+
|
2004
2054
|
class CutoffTime
|
2005
2055
|
# @private
|
2006
2056
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2615,6 +2665,35 @@ module Google
|
|
2615
2665
|
end
|
2616
2666
|
end
|
2617
2667
|
|
2668
|
+
class MerchantOrderReturn
|
2669
|
+
# @private
|
2670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2671
|
+
property :creation_date, as: 'creationDate'
|
2672
|
+
property :merchant_order_id, as: 'merchantOrderId'
|
2673
|
+
property :order_id, as: 'orderId'
|
2674
|
+
property :order_return_id, as: 'orderReturnId'
|
2675
|
+
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2::MerchantOrderReturnItem::Representation
|
2676
|
+
|
2677
|
+
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2::ReturnShipment, decorator: Google::Apis::ContentV2::ReturnShipment::Representation
|
2678
|
+
|
2679
|
+
end
|
2680
|
+
end
|
2681
|
+
|
2682
|
+
class MerchantOrderReturnItem
|
2683
|
+
# @private
|
2684
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2685
|
+
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2::CustomerReturnReason, decorator: Google::Apis::ContentV2::CustomerReturnReason::Representation
|
2686
|
+
|
2687
|
+
property :item_id, as: 'itemId'
|
2688
|
+
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2::RefundReason, decorator: Google::Apis::ContentV2::RefundReason::Representation
|
2689
|
+
|
2690
|
+
property :product, as: 'product', class: Google::Apis::ContentV2::OrderLineItemProduct, decorator: Google::Apis::ContentV2::OrderLineItemProduct::Representation
|
2691
|
+
|
2692
|
+
collection :return_shipment_ids, as: 'returnShipmentIds'
|
2693
|
+
property :state, as: 'state'
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
|
2618
2697
|
class Order
|
2619
2698
|
# @private
|
2620
2699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2636,7 +2715,7 @@ module Google
|
|
2636
2715
|
|
2637
2716
|
property :payment_status, as: 'paymentStatus'
|
2638
2717
|
property :placed_date, as: 'placedDate'
|
2639
|
-
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::
|
2718
|
+
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation
|
2640
2719
|
|
2641
2720
|
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2::OrderRefund, decorator: Google::Apis::ContentV2::OrderRefund::Representation
|
2642
2721
|
|
@@ -2705,6 +2784,33 @@ module Google
|
|
2705
2784
|
end
|
2706
2785
|
end
|
2707
2786
|
|
2787
|
+
class OrderLegacyPromotion
|
2788
|
+
# @private
|
2789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2790
|
+
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderLegacyPromotionBenefit, decorator: Google::Apis::ContentV2::OrderLegacyPromotionBenefit::Representation
|
2791
|
+
|
2792
|
+
property :effective_dates, as: 'effectiveDates'
|
2793
|
+
property :generic_redemption_code, as: 'genericRedemptionCode'
|
2794
|
+
property :id, as: 'id'
|
2795
|
+
property :long_title, as: 'longTitle'
|
2796
|
+
property :product_applicability, as: 'productApplicability'
|
2797
|
+
property :redemption_channel, as: 'redemptionChannel'
|
2798
|
+
end
|
2799
|
+
end
|
2800
|
+
|
2801
|
+
class OrderLegacyPromotionBenefit
|
2802
|
+
# @private
|
2803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2804
|
+
property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2805
|
+
|
2806
|
+
collection :offer_ids, as: 'offerIds'
|
2807
|
+
property :sub_type, as: 'subType'
|
2808
|
+
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2809
|
+
|
2810
|
+
property :type, as: 'type'
|
2811
|
+
end
|
2812
|
+
end
|
2813
|
+
|
2708
2814
|
class OrderLineItem
|
2709
2815
|
# @private
|
2710
2816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2815,33 +2921,6 @@ module Google
|
|
2815
2921
|
end
|
2816
2922
|
end
|
2817
2923
|
|
2818
|
-
class OrderPromotion
|
2819
|
-
# @private
|
2820
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2821
|
-
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2::OrderPromotionBenefit, decorator: Google::Apis::ContentV2::OrderPromotionBenefit::Representation
|
2822
|
-
|
2823
|
-
property :effective_dates, as: 'effectiveDates'
|
2824
|
-
property :generic_redemption_code, as: 'genericRedemptionCode'
|
2825
|
-
property :id, as: 'id'
|
2826
|
-
property :long_title, as: 'longTitle'
|
2827
|
-
property :product_applicability, as: 'productApplicability'
|
2828
|
-
property :redemption_channel, as: 'redemptionChannel'
|
2829
|
-
end
|
2830
|
-
end
|
2831
|
-
|
2832
|
-
class OrderPromotionBenefit
|
2833
|
-
# @private
|
2834
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2835
|
-
property :discount, as: 'discount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2836
|
-
|
2837
|
-
collection :offer_ids, as: 'offerIds'
|
2838
|
-
property :sub_type, as: 'subType'
|
2839
|
-
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
2840
|
-
|
2841
|
-
property :type, as: 'type'
|
2842
|
-
end
|
2843
|
-
end
|
2844
|
-
|
2845
2924
|
class OrderRefund
|
2846
2925
|
# @private
|
2847
2926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3014,6 +3093,7 @@ module Google
|
|
3014
3093
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3015
3094
|
property :charge_state, as: 'chargeState'
|
3016
3095
|
property :invoice_id, as: 'invoiceId'
|
3096
|
+
collection :invoice_ids, as: 'invoiceIds'
|
3017
3097
|
end
|
3018
3098
|
end
|
3019
3099
|
|
@@ -3029,6 +3109,7 @@ module Google
|
|
3029
3109
|
# @private
|
3030
3110
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3031
3111
|
property :invoice_id, as: 'invoiceId'
|
3112
|
+
collection :invoice_ids, as: 'invoiceIds'
|
3032
3113
|
property :refund_state, as: 'refundState'
|
3033
3114
|
end
|
3034
3115
|
end
|
@@ -3061,6 +3142,16 @@ module Google
|
|
3061
3142
|
end
|
3062
3143
|
end
|
3063
3144
|
|
3145
|
+
class OrderreturnsListResponse
|
3146
|
+
# @private
|
3147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3148
|
+
property :kind, as: 'kind'
|
3149
|
+
property :next_page_token, as: 'nextPageToken'
|
3150
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2::MerchantOrderReturn, decorator: Google::Apis::ContentV2::MerchantOrderReturn::Representation
|
3151
|
+
|
3152
|
+
end
|
3153
|
+
end
|
3154
|
+
|
3064
3155
|
class OrdersAcknowledgeRequest
|
3065
3156
|
# @private
|
3066
3157
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4219,6 +4310,25 @@ module Google
|
|
4219
4310
|
end
|
4220
4311
|
end
|
4221
4312
|
|
4313
|
+
class RefundReason
|
4314
|
+
# @private
|
4315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4316
|
+
property :description, as: 'description'
|
4317
|
+
property :reason_code, as: 'reasonCode'
|
4318
|
+
end
|
4319
|
+
end
|
4320
|
+
|
4321
|
+
class ReturnShipment
|
4322
|
+
# @private
|
4323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4324
|
+
property :creation_date, as: 'creationDate'
|
4325
|
+
property :return_method_type, as: 'returnMethodType'
|
4326
|
+
property :shipment_id, as: 'shipmentId'
|
4327
|
+
collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2::ShipmentTrackingInfo::Representation
|
4328
|
+
|
4329
|
+
end
|
4330
|
+
end
|
4331
|
+
|
4222
4332
|
class Row
|
4223
4333
|
# @private
|
4224
4334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4266,6 +4376,14 @@ module Google
|
|
4266
4376
|
end
|
4267
4377
|
end
|
4268
4378
|
|
4379
|
+
class ShipmentTrackingInfo
|
4380
|
+
# @private
|
4381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4382
|
+
property :carrier, as: 'carrier'
|
4383
|
+
property :tracking_number, as: 'trackingNumber'
|
4384
|
+
end
|
4385
|
+
end
|
4386
|
+
|
4269
4387
|
class ShippingSettings
|
4270
4388
|
# @private
|
4271
4389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4372,7 +4490,7 @@ module Google
|
|
4372
4490
|
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2::TestOrderPaymentMethod::Representation
|
4373
4491
|
|
4374
4492
|
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
4375
|
-
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::
|
4493
|
+
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2::OrderLegacyPromotion, decorator: Google::Apis::ContentV2::OrderLegacyPromotion::Representation
|
4376
4494
|
|
4377
4495
|
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
4378
4496
|
|
@@ -1996,11 +1996,11 @@ module Google
|
|
1996
1996
|
# @param [Fixnum] merchant_id
|
1997
1997
|
# The ID of the account that manages the order. This cannot be a multi-client
|
1998
1998
|
# account.
|
1999
|
+
# @param [String] disbursement_start_date
|
2000
|
+
# The first date which disbursements occurred. In ISO 8601 format.
|
1999
2001
|
# @param [String] disbursement_end_date
|
2000
2002
|
# The last date which disbursements occurred. In ISO 8601 format. Default:
|
2001
2003
|
# current date.
|
2002
|
-
# @param [String] disbursement_start_date
|
2003
|
-
# The first date which disbursements occurred. In ISO 8601 format.
|
2004
2004
|
# @param [Fixnum] max_results
|
2005
2005
|
# The maximum number of disbursements to return in the response, used for paging.
|
2006
2006
|
# @param [String] page_token
|
@@ -2024,7 +2024,7 @@ module Google
|
|
2024
2024
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2025
2025
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2026
2026
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2027
|
-
def listdisbursements_orderreport(merchant_id,
|
2027
|
+
def listdisbursements_orderreport(merchant_id, disbursement_start_date, disbursement_end_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2028
2028
|
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
2029
2029
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse::Representation
|
2030
2030
|
command.response_class = Google::Apis::ContentV2::OrderreportsListDisbursementsResponse
|
@@ -2046,15 +2046,15 @@ module Google
|
|
2046
2046
|
# account.
|
2047
2047
|
# @param [String] disbursement_id
|
2048
2048
|
# The Google-provided ID of the disbursement (found in Wallet).
|
2049
|
-
# @param [String]
|
2050
|
-
# The
|
2051
|
-
# current date.
|
2052
|
-
# @param [String] disbursement_start_date
|
2053
|
-
# The first date in which disbursements occurred. In ISO 8601 format.
|
2049
|
+
# @param [String] transaction_start_date
|
2050
|
+
# The first date in which transaction occurred. In ISO 8601 format.
|
2054
2051
|
# @param [Fixnum] max_results
|
2055
2052
|
# The maximum number of disbursements to return in the response, used for paging.
|
2056
2053
|
# @param [String] page_token
|
2057
2054
|
# The token returned by the previous request.
|
2055
|
+
# @param [String] transaction_end_date
|
2056
|
+
# The last date in which transaction occurred. In ISO 8601 format. Default:
|
2057
|
+
# current date.
|
2058
2058
|
# @param [String] fields
|
2059
2059
|
# Selector specifying which fields to include in a partial response.
|
2060
2060
|
# @param [String] quota_user
|
@@ -2074,16 +2074,106 @@ module Google
|
|
2074
2074
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2075
2075
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2076
2076
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2077
|
-
def listtransactions_orderreport(merchant_id, disbursement_id,
|
2077
|
+
def listtransactions_orderreport(merchant_id, disbursement_id, transaction_start_date, max_results: nil, page_token: nil, transaction_end_date: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2078
2078
|
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
2079
2079
|
command.response_representation = Google::Apis::ContentV2::OrderreportsListTransactionsResponse::Representation
|
2080
2080
|
command.response_class = Google::Apis::ContentV2::OrderreportsListTransactionsResponse
|
2081
2081
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2082
2082
|
command.params['disbursementId'] = disbursement_id unless disbursement_id.nil?
|
2083
|
-
command.query['disbursementEndDate'] = disbursement_end_date unless disbursement_end_date.nil?
|
2084
|
-
command.query['disbursementStartDate'] = disbursement_start_date unless disbursement_start_date.nil?
|
2085
2083
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2086
2084
|
command.query['pageToken'] = page_token unless page_token.nil?
|
2085
|
+
command.query['transactionEndDate'] = transaction_end_date unless transaction_end_date.nil?
|
2086
|
+
command.query['transactionStartDate'] = transaction_start_date unless transaction_start_date.nil?
|
2087
|
+
command.query['fields'] = fields unless fields.nil?
|
2088
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2089
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2090
|
+
execute_or_queue_command(command, &block)
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
# Retrieves an order return from your Merchant Center account.
|
2094
|
+
# @param [Fixnum] merchant_id
|
2095
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
2096
|
+
# account.
|
2097
|
+
# @param [String] return_id
|
2098
|
+
# Merchant order return ID generated by Google.
|
2099
|
+
# @param [String] fields
|
2100
|
+
# Selector specifying which fields to include in a partial response.
|
2101
|
+
# @param [String] quota_user
|
2102
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2103
|
+
# characters.
|
2104
|
+
# @param [String] user_ip
|
2105
|
+
# Deprecated. Please use quotaUser instead.
|
2106
|
+
# @param [Google::Apis::RequestOptions] options
|
2107
|
+
# Request-specific options
|
2108
|
+
#
|
2109
|
+
# @yield [result, err] Result & error if block supplied
|
2110
|
+
# @yieldparam result [Google::Apis::ContentV2::MerchantOrderReturn] parsed result object
|
2111
|
+
# @yieldparam err [StandardError] error object if request failed
|
2112
|
+
#
|
2113
|
+
# @return [Google::Apis::ContentV2::MerchantOrderReturn]
|
2114
|
+
#
|
2115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2118
|
+
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2119
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
2120
|
+
command.response_representation = Google::Apis::ContentV2::MerchantOrderReturn::Representation
|
2121
|
+
command.response_class = Google::Apis::ContentV2::MerchantOrderReturn
|
2122
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2123
|
+
command.params['returnId'] = return_id unless return_id.nil?
|
2124
|
+
command.query['fields'] = fields unless fields.nil?
|
2125
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2126
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2127
|
+
execute_or_queue_command(command, &block)
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
# Lists order returns in your Merchant Center account.
|
2131
|
+
# @param [Fixnum] merchant_id
|
2132
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
2133
|
+
# account.
|
2134
|
+
# @param [String] created_end_date
|
2135
|
+
# Obtains order returns created before this date (inclusively), in ISO 8601
|
2136
|
+
# format.
|
2137
|
+
# @param [String] created_start_date
|
2138
|
+
# Obtains order returns created after this date (inclusively), in ISO 8601
|
2139
|
+
# format.
|
2140
|
+
# @param [Fixnum] max_results
|
2141
|
+
# The maximum number of order returns to return in the response, used for paging.
|
2142
|
+
# The default value is 25 returns per page, and the maximum allowed value is
|
2143
|
+
# 250 returns per page.
|
2144
|
+
# @param [String] order_by
|
2145
|
+
# Return the results in the specified order.
|
2146
|
+
# @param [String] page_token
|
2147
|
+
# The token returned by the previous request.
|
2148
|
+
# @param [String] fields
|
2149
|
+
# Selector specifying which fields to include in a partial response.
|
2150
|
+
# @param [String] quota_user
|
2151
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2152
|
+
# characters.
|
2153
|
+
# @param [String] user_ip
|
2154
|
+
# Deprecated. Please use quotaUser instead.
|
2155
|
+
# @param [Google::Apis::RequestOptions] options
|
2156
|
+
# Request-specific options
|
2157
|
+
#
|
2158
|
+
# @yield [result, err] Result & error if block supplied
|
2159
|
+
# @yieldparam result [Google::Apis::ContentV2::OrderreturnsListResponse] parsed result object
|
2160
|
+
# @yieldparam err [StandardError] error object if request failed
|
2161
|
+
#
|
2162
|
+
# @return [Google::Apis::ContentV2::OrderreturnsListResponse]
|
2163
|
+
#
|
2164
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2165
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2166
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2167
|
+
def list_orderreturns(merchant_id, created_end_date: nil, created_start_date: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2168
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
2169
|
+
command.response_representation = Google::Apis::ContentV2::OrderreturnsListResponse::Representation
|
2170
|
+
command.response_class = Google::Apis::ContentV2::OrderreturnsListResponse
|
2171
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2172
|
+
command.query['createdEndDate'] = created_end_date unless created_end_date.nil?
|
2173
|
+
command.query['createdStartDate'] = created_start_date unless created_start_date.nil?
|
2174
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
2175
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2176
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2087
2177
|
command.query['fields'] = fields unless fields.nil?
|
2088
2178
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2089
2179
|
command.query['userIp'] = user_ip unless user_ip.nil?
|