google-api-client 0.24.2 → 0.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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
|
@@ -28,6 +28,12 @@ module Google
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
+
class CustomerReturnReason
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
31
37
|
class Error
|
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
39
|
|
|
@@ -52,6 +58,18 @@ module Google
|
|
|
52
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
59
|
end
|
|
54
60
|
|
|
61
|
+
class MerchantOrderReturn
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class MerchantOrderReturnItem
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
55
73
|
class Order
|
|
56
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
75
|
|
|
@@ -88,61 +106,61 @@ module Google
|
|
|
88
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
107
|
end
|
|
90
108
|
|
|
91
|
-
class
|
|
109
|
+
class OrderLegacyPromotion
|
|
92
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
111
|
|
|
94
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
113
|
end
|
|
96
114
|
|
|
97
|
-
class
|
|
115
|
+
class OrderLegacyPromotionBenefit
|
|
98
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
117
|
|
|
100
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
119
|
end
|
|
102
120
|
|
|
103
|
-
class
|
|
121
|
+
class OrderLineItem
|
|
104
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
123
|
|
|
106
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
125
|
end
|
|
108
126
|
|
|
109
|
-
class
|
|
127
|
+
class OrderLineItemProduct
|
|
110
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
129
|
|
|
112
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
131
|
end
|
|
114
132
|
|
|
115
|
-
class
|
|
133
|
+
class OrderLineItemProductVariantAttribute
|
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
135
|
|
|
118
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
137
|
end
|
|
120
138
|
|
|
121
|
-
class
|
|
139
|
+
class OrderLineItemReturnInfo
|
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
141
|
|
|
124
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
143
|
end
|
|
126
144
|
|
|
127
|
-
class
|
|
145
|
+
class OrderLineItemShippingDetails
|
|
128
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
147
|
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
149
|
end
|
|
132
150
|
|
|
133
|
-
class
|
|
151
|
+
class OrderLineItemShippingDetailsMethod
|
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
153
|
|
|
136
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
155
|
end
|
|
138
156
|
|
|
139
|
-
class
|
|
157
|
+
class OrderMerchantProvidedAnnotation
|
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
159
|
|
|
142
160
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
161
|
end
|
|
144
162
|
|
|
145
|
-
class
|
|
163
|
+
class OrderPaymentMethod
|
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
165
|
|
|
148
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -256,6 +274,12 @@ module Google
|
|
|
256
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
275
|
end
|
|
258
276
|
|
|
277
|
+
class OrderreturnsListResponse
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
259
283
|
class OrdersAcknowledgeRequest
|
|
260
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
285
|
|
|
@@ -586,6 +610,18 @@ module Google
|
|
|
586
610
|
include Google::Apis::Core::JsonObjectSupport
|
|
587
611
|
end
|
|
588
612
|
|
|
613
|
+
class RefundReason
|
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
615
|
+
|
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
class ReturnShipment
|
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
621
|
+
|
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
623
|
+
end
|
|
624
|
+
|
|
589
625
|
class ShipmentInvoice
|
|
590
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
627
|
|
|
@@ -598,6 +634,12 @@ module Google
|
|
|
598
634
|
include Google::Apis::Core::JsonObjectSupport
|
|
599
635
|
end
|
|
600
636
|
|
|
637
|
+
class ShipmentTrackingInfo
|
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
639
|
+
|
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
641
|
+
end
|
|
642
|
+
|
|
601
643
|
class TestOrder
|
|
602
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
645
|
|
|
@@ -662,6 +704,14 @@ module Google
|
|
|
662
704
|
end
|
|
663
705
|
end
|
|
664
706
|
|
|
707
|
+
class CustomerReturnReason
|
|
708
|
+
# @private
|
|
709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
710
|
+
property :description, as: 'description'
|
|
711
|
+
property :reason_code, as: 'reasonCode'
|
|
712
|
+
end
|
|
713
|
+
end
|
|
714
|
+
|
|
665
715
|
class Error
|
|
666
716
|
# @private
|
|
667
717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -708,6 +758,35 @@ module Google
|
|
|
708
758
|
end
|
|
709
759
|
end
|
|
710
760
|
|
|
761
|
+
class MerchantOrderReturn
|
|
762
|
+
# @private
|
|
763
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
764
|
+
property :creation_date, as: 'creationDate'
|
|
765
|
+
property :merchant_order_id, as: 'merchantOrderId'
|
|
766
|
+
property :order_id, as: 'orderId'
|
|
767
|
+
property :order_return_id, as: 'orderReturnId'
|
|
768
|
+
collection :return_items, as: 'returnItems', class: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturnItem::Representation
|
|
769
|
+
|
|
770
|
+
collection :return_shipments, as: 'returnShipments', class: Google::Apis::ContentV2sandbox::ReturnShipment, decorator: Google::Apis::ContentV2sandbox::ReturnShipment::Representation
|
|
771
|
+
|
|
772
|
+
end
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class MerchantOrderReturnItem
|
|
776
|
+
# @private
|
|
777
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
778
|
+
property :customer_return_reason, as: 'customerReturnReason', class: Google::Apis::ContentV2sandbox::CustomerReturnReason, decorator: Google::Apis::ContentV2sandbox::CustomerReturnReason::Representation
|
|
779
|
+
|
|
780
|
+
property :item_id, as: 'itemId'
|
|
781
|
+
property :merchant_return_reason, as: 'merchantReturnReason', class: Google::Apis::ContentV2sandbox::RefundReason, decorator: Google::Apis::ContentV2sandbox::RefundReason::Representation
|
|
782
|
+
|
|
783
|
+
property :product, as: 'product', class: Google::Apis::ContentV2sandbox::OrderLineItemProduct, decorator: Google::Apis::ContentV2sandbox::OrderLineItemProduct::Representation
|
|
784
|
+
|
|
785
|
+
collection :return_shipment_ids, as: 'returnShipmentIds'
|
|
786
|
+
property :state, as: 'state'
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
|
|
711
790
|
class Order
|
|
712
791
|
# @private
|
|
713
792
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -729,7 +808,7 @@ module Google
|
|
|
729
808
|
|
|
730
809
|
property :payment_status, as: 'paymentStatus'
|
|
731
810
|
property :placed_date, as: 'placedDate'
|
|
732
|
-
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::
|
|
811
|
+
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::Representation
|
|
733
812
|
|
|
734
813
|
collection :refunds, as: 'refunds', class: Google::Apis::ContentV2sandbox::OrderRefund, decorator: Google::Apis::ContentV2sandbox::OrderRefund::Representation
|
|
735
814
|
|
|
@@ -798,6 +877,33 @@ module Google
|
|
|
798
877
|
end
|
|
799
878
|
end
|
|
800
879
|
|
|
880
|
+
class OrderLegacyPromotion
|
|
881
|
+
# @private
|
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
883
|
+
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotionBenefit::Representation
|
|
884
|
+
|
|
885
|
+
property :effective_dates, as: 'effectiveDates'
|
|
886
|
+
property :generic_redemption_code, as: 'genericRedemptionCode'
|
|
887
|
+
property :id, as: 'id'
|
|
888
|
+
property :long_title, as: 'longTitle'
|
|
889
|
+
property :product_applicability, as: 'productApplicability'
|
|
890
|
+
property :redemption_channel, as: 'redemptionChannel'
|
|
891
|
+
end
|
|
892
|
+
end
|
|
893
|
+
|
|
894
|
+
class OrderLegacyPromotionBenefit
|
|
895
|
+
# @private
|
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
897
|
+
property :discount, as: 'discount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
|
898
|
+
|
|
899
|
+
collection :offer_ids, as: 'offerIds'
|
|
900
|
+
property :sub_type, as: 'subType'
|
|
901
|
+
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
|
902
|
+
|
|
903
|
+
property :type, as: 'type'
|
|
904
|
+
end
|
|
905
|
+
end
|
|
906
|
+
|
|
801
907
|
class OrderLineItem
|
|
802
908
|
# @private
|
|
803
909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -908,33 +1014,6 @@ module Google
|
|
|
908
1014
|
end
|
|
909
1015
|
end
|
|
910
1016
|
|
|
911
|
-
class OrderPromotion
|
|
912
|
-
# @private
|
|
913
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
914
|
-
collection :benefits, as: 'benefits', class: Google::Apis::ContentV2sandbox::OrderPromotionBenefit, decorator: Google::Apis::ContentV2sandbox::OrderPromotionBenefit::Representation
|
|
915
|
-
|
|
916
|
-
property :effective_dates, as: 'effectiveDates'
|
|
917
|
-
property :generic_redemption_code, as: 'genericRedemptionCode'
|
|
918
|
-
property :id, as: 'id'
|
|
919
|
-
property :long_title, as: 'longTitle'
|
|
920
|
-
property :product_applicability, as: 'productApplicability'
|
|
921
|
-
property :redemption_channel, as: 'redemptionChannel'
|
|
922
|
-
end
|
|
923
|
-
end
|
|
924
|
-
|
|
925
|
-
class OrderPromotionBenefit
|
|
926
|
-
# @private
|
|
927
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
928
|
-
property :discount, as: 'discount', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
|
929
|
-
|
|
930
|
-
collection :offer_ids, as: 'offerIds'
|
|
931
|
-
property :sub_type, as: 'subType'
|
|
932
|
-
property :tax_impact, as: 'taxImpact', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
|
933
|
-
|
|
934
|
-
property :type, as: 'type'
|
|
935
|
-
end
|
|
936
|
-
end
|
|
937
|
-
|
|
938
1017
|
class OrderRefund
|
|
939
1018
|
# @private
|
|
940
1019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1078,6 +1157,7 @@ module Google
|
|
|
1078
1157
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1079
1158
|
property :charge_state, as: 'chargeState'
|
|
1080
1159
|
property :invoice_id, as: 'invoiceId'
|
|
1160
|
+
collection :invoice_ids, as: 'invoiceIds'
|
|
1081
1161
|
end
|
|
1082
1162
|
end
|
|
1083
1163
|
|
|
@@ -1093,6 +1173,7 @@ module Google
|
|
|
1093
1173
|
# @private
|
|
1094
1174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1095
1175
|
property :invoice_id, as: 'invoiceId'
|
|
1176
|
+
collection :invoice_ids, as: 'invoiceIds'
|
|
1096
1177
|
property :refund_state, as: 'refundState'
|
|
1097
1178
|
end
|
|
1098
1179
|
end
|
|
@@ -1105,6 +1186,16 @@ module Google
|
|
|
1105
1186
|
end
|
|
1106
1187
|
end
|
|
1107
1188
|
|
|
1189
|
+
class OrderreturnsListResponse
|
|
1190
|
+
# @private
|
|
1191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1192
|
+
property :kind, as: 'kind'
|
|
1193
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1194
|
+
collection :resources, as: 'resources', class: Google::Apis::ContentV2sandbox::MerchantOrderReturn, decorator: Google::Apis::ContentV2sandbox::MerchantOrderReturn::Representation
|
|
1195
|
+
|
|
1196
|
+
end
|
|
1197
|
+
end
|
|
1198
|
+
|
|
1108
1199
|
class OrdersAcknowledgeRequest
|
|
1109
1200
|
# @private
|
|
1110
1201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1688,6 +1779,25 @@ module Google
|
|
|
1688
1779
|
end
|
|
1689
1780
|
end
|
|
1690
1781
|
|
|
1782
|
+
class RefundReason
|
|
1783
|
+
# @private
|
|
1784
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1785
|
+
property :description, as: 'description'
|
|
1786
|
+
property :reason_code, as: 'reasonCode'
|
|
1787
|
+
end
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
class ReturnShipment
|
|
1791
|
+
# @private
|
|
1792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1793
|
+
property :creation_date, as: 'creationDate'
|
|
1794
|
+
property :return_method_type, as: 'returnMethodType'
|
|
1795
|
+
property :shipment_id, as: 'shipmentId'
|
|
1796
|
+
collection :shipment_tracking_infos, as: 'shipmentTrackingInfos', class: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo, decorator: Google::Apis::ContentV2sandbox::ShipmentTrackingInfo::Representation
|
|
1797
|
+
|
|
1798
|
+
end
|
|
1799
|
+
end
|
|
1800
|
+
|
|
1691
1801
|
class ShipmentInvoice
|
|
1692
1802
|
# @private
|
|
1693
1803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1710,6 +1820,14 @@ module Google
|
|
|
1710
1820
|
end
|
|
1711
1821
|
end
|
|
1712
1822
|
|
|
1823
|
+
class ShipmentTrackingInfo
|
|
1824
|
+
# @private
|
|
1825
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1826
|
+
property :carrier, as: 'carrier'
|
|
1827
|
+
property :tracking_number, as: 'trackingNumber'
|
|
1828
|
+
end
|
|
1829
|
+
end
|
|
1830
|
+
|
|
1713
1831
|
class TestOrder
|
|
1714
1832
|
# @private
|
|
1715
1833
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1723,7 +1841,7 @@ module Google
|
|
|
1723
1841
|
property :payment_method, as: 'paymentMethod', class: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod, decorator: Google::Apis::ContentV2sandbox::TestOrderPaymentMethod::Representation
|
|
1724
1842
|
|
|
1725
1843
|
property :predefined_delivery_address, as: 'predefinedDeliveryAddress'
|
|
1726
|
-
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::
|
|
1844
|
+
collection :promotions, as: 'promotions', class: Google::Apis::ContentV2sandbox::OrderLegacyPromotion, decorator: Google::Apis::ContentV2sandbox::OrderLegacyPromotion::Representation
|
|
1727
1845
|
|
|
1728
1846
|
property :shipping_cost, as: 'shippingCost', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
|
|
1729
1847
|
|
|
@@ -296,6 +296,96 @@ module Google
|
|
|
296
296
|
execute_or_queue_command(command, &block)
|
|
297
297
|
end
|
|
298
298
|
|
|
299
|
+
# Retrieves an order return from your Merchant Center account.
|
|
300
|
+
# @param [Fixnum] merchant_id
|
|
301
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
302
|
+
# account.
|
|
303
|
+
# @param [String] return_id
|
|
304
|
+
# Merchant order return ID generated by Google.
|
|
305
|
+
# @param [String] fields
|
|
306
|
+
# Selector specifying which fields to include in a partial response.
|
|
307
|
+
# @param [String] quota_user
|
|
308
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
309
|
+
# characters.
|
|
310
|
+
# @param [String] user_ip
|
|
311
|
+
# Deprecated. Please use quotaUser instead.
|
|
312
|
+
# @param [Google::Apis::RequestOptions] options
|
|
313
|
+
# Request-specific options
|
|
314
|
+
#
|
|
315
|
+
# @yield [result, err] Result & error if block supplied
|
|
316
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::MerchantOrderReturn] parsed result object
|
|
317
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
318
|
+
#
|
|
319
|
+
# @return [Google::Apis::ContentV2sandbox::MerchantOrderReturn]
|
|
320
|
+
#
|
|
321
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
322
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
323
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
324
|
+
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
325
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
|
326
|
+
command.response_representation = Google::Apis::ContentV2sandbox::MerchantOrderReturn::Representation
|
|
327
|
+
command.response_class = Google::Apis::ContentV2sandbox::MerchantOrderReturn
|
|
328
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
329
|
+
command.params['returnId'] = return_id unless return_id.nil?
|
|
330
|
+
command.query['fields'] = fields unless fields.nil?
|
|
331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
332
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
333
|
+
execute_or_queue_command(command, &block)
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Lists order returns in your Merchant Center account.
|
|
337
|
+
# @param [Fixnum] merchant_id
|
|
338
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
339
|
+
# account.
|
|
340
|
+
# @param [String] created_end_date
|
|
341
|
+
# Obtains order returns created before this date (inclusively), in ISO 8601
|
|
342
|
+
# format.
|
|
343
|
+
# @param [String] created_start_date
|
|
344
|
+
# Obtains order returns created after this date (inclusively), in ISO 8601
|
|
345
|
+
# format.
|
|
346
|
+
# @param [Fixnum] max_results
|
|
347
|
+
# The maximum number of order returns to return in the response, used for paging.
|
|
348
|
+
# The default value is 25 returns per page, and the maximum allowed value is
|
|
349
|
+
# 250 returns per page.
|
|
350
|
+
# @param [String] order_by
|
|
351
|
+
# Return the results in the specified order.
|
|
352
|
+
# @param [String] page_token
|
|
353
|
+
# The token returned by the previous request.
|
|
354
|
+
# @param [String] fields
|
|
355
|
+
# Selector specifying which fields to include in a partial response.
|
|
356
|
+
# @param [String] quota_user
|
|
357
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
358
|
+
# characters.
|
|
359
|
+
# @param [String] user_ip
|
|
360
|
+
# Deprecated. Please use quotaUser instead.
|
|
361
|
+
# @param [Google::Apis::RequestOptions] options
|
|
362
|
+
# Request-specific options
|
|
363
|
+
#
|
|
364
|
+
# @yield [result, err] Result & error if block supplied
|
|
365
|
+
# @yieldparam result [Google::Apis::ContentV2sandbox::OrderreturnsListResponse] parsed result object
|
|
366
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
367
|
+
#
|
|
368
|
+
# @return [Google::Apis::ContentV2sandbox::OrderreturnsListResponse]
|
|
369
|
+
#
|
|
370
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
371
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
372
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
373
|
+
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)
|
|
374
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
|
375
|
+
command.response_representation = Google::Apis::ContentV2sandbox::OrderreturnsListResponse::Representation
|
|
376
|
+
command.response_class = Google::Apis::ContentV2sandbox::OrderreturnsListResponse
|
|
377
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
378
|
+
command.query['createdEndDate'] = created_end_date unless created_end_date.nil?
|
|
379
|
+
command.query['createdStartDate'] = created_start_date unless created_start_date.nil?
|
|
380
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
381
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
382
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
383
|
+
command.query['fields'] = fields unless fields.nil?
|
|
384
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
385
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
386
|
+
execute_or_queue_command(command, &block)
|
|
387
|
+
end
|
|
388
|
+
|
|
299
389
|
# Marks an order as acknowledged.
|
|
300
390
|
# @param [Fixnum] merchant_id
|
|
301
391
|
# The ID of the account that manages the order. This cannot be a multi-client
|