google-api-client 0.19.3 → 0.19.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/generated/google/apis/analytics_v3.rb +1 -1
  4. data/generated/google/apis/analytics_v3/classes.rb +212 -0
  5. data/generated/google/apis/analytics_v3/representations.rb +77 -0
  6. data/generated/google/apis/analytics_v3/service.rb +35 -0
  7. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  8. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +2 -2
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -98
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -46
  12. data/generated/google/apis/androidenterprise_v1/service.rb +0 -229
  13. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  14. data/generated/google/apis/androidmanagement_v1/classes.rb +28 -49
  15. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  16. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/service.rb +12 -3
  18. data/generated/google/apis/appengine_v1beta.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +12 -14
  21. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  22. data/generated/google/apis/cloudbilling_v1/classes.rb +10 -3
  23. data/generated/google/apis/cloudkms_v1.rb +1 -1
  24. data/generated/google/apis/cloudkms_v1/classes.rb +0 -69
  25. data/generated/google/apis/cloudkms_v1/representations.rb +0 -20
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +37 -20
  28. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  29. data/generated/google/apis/compute_alpha.rb +1 -1
  30. data/generated/google/apis/compute_alpha/classes.rb +161 -13
  31. data/generated/google/apis/compute_alpha/representations.rb +55 -1
  32. data/generated/google/apis/compute_alpha/service.rb +3 -4
  33. data/generated/google/apis/compute_beta.rb +1 -1
  34. data/generated/google/apis/compute_beta/classes.rb +102 -12
  35. data/generated/google/apis/compute_beta/representations.rb +14 -1
  36. data/generated/google/apis/compute_beta/service.rb +102 -4
  37. data/generated/google/apis/compute_v1.rb +1 -1
  38. data/generated/google/apis/compute_v1/classes.rb +12 -5
  39. data/generated/google/apis/compute_v1/representations.rb +1 -0
  40. data/generated/google/apis/compute_v1/service.rb +3 -4
  41. data/generated/google/apis/container_v1.rb +1 -1
  42. data/generated/google/apis/container_v1/classes.rb +10 -2
  43. data/generated/google/apis/container_v1beta1.rb +1 -1
  44. data/generated/google/apis/container_v1beta1/classes.rb +10 -2
  45. data/generated/google/apis/content_v2.rb +1 -1
  46. data/generated/google/apis/content_v2/classes.rb +428 -0
  47. data/generated/google/apis/content_v2/representations.rb +169 -0
  48. data/generated/google/apis/content_v2/service.rb +128 -1
  49. data/generated/google/apis/content_v2sandbox.rb +1 -1
  50. data/generated/google/apis/content_v2sandbox/classes.rb +428 -0
  51. data/generated/google/apis/content_v2sandbox/representations.rb +169 -0
  52. data/generated/google/apis/content_v2sandbox/service.rb +127 -0
  53. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  54. data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -2
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -3
  57. data/generated/google/apis/genomics_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/classes.rb +3 -3
  59. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  60. data/generated/google/apis/logging_v2.rb +1 -1
  61. data/generated/google/apis/logging_v2/classes.rb +9 -0
  62. data/generated/google/apis/logging_v2/representations.rb +1 -0
  63. data/generated/google/apis/logging_v2beta1.rb +1 -1
  64. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  65. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  66. data/generated/google/apis/ml_v1.rb +1 -1
  67. data/generated/google/apis/ml_v1/classes.rb +0 -136
  68. data/generated/google/apis/ml_v1/representations.rb +0 -33
  69. data/generated/google/apis/monitoring_v3.rb +1 -1
  70. data/generated/google/apis/monitoring_v3/classes.rb +6 -6
  71. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  72. data/generated/google/apis/oslogin_v1.rb +1 -1
  73. data/generated/google/apis/oslogin_v1/classes.rb +1 -9
  74. data/generated/google/apis/oslogin_v1/representations.rb +0 -1
  75. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  76. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -9
  77. data/generated/google/apis/oslogin_v1alpha/representations.rb +0 -1
  78. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  79. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -9
  80. data/generated/google/apis/oslogin_v1beta/representations.rb +0 -1
  81. data/generated/google/apis/people_v1.rb +1 -1
  82. data/generated/google/apis/people_v1/service.rb +5 -2
  83. data/generated/google/apis/script_v1.rb +2 -2
  84. data/generated/google/apis/script_v1/service.rb +1 -1
  85. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  86. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  87. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -0
  88. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  89. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -146
  90. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -34
  91. data/generated/google/apis/serviceuser_v1.rb +1 -1
  92. data/generated/google/apis/serviceuser_v1/classes.rb +0 -10
  93. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
  94. data/generated/google/apis/speech_v1.rb +1 -1
  95. data/generated/google/apis/speech_v1/classes.rb +0 -65
  96. data/generated/google/apis/speech_v1/representations.rb +0 -40
  97. data/generated/google/apis/speech_v1/service.rb +0 -122
  98. data/generated/google/apis/speech_v1beta1.rb +1 -1
  99. data/generated/google/apis/speech_v1beta1/classes.rb +0 -44
  100. data/generated/google/apis/speech_v1beta1/representations.rb +0 -27
  101. data/generated/google/apis/speech_v1beta1/service.rb +0 -119
  102. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  103. data/lib/google/apis/version.rb +1 -1
  104. metadata +2 -2
@@ -226,18 +226,36 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class OrdersCustomBatchRequestEntryInStoreRefundLineItem
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class OrdersCustomBatchRequestEntryRefund
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class OrdersCustomBatchRequestEntryRejectReturnLineItem
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class OrdersCustomBatchRequestEntryReturnLineItem
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class OrdersCustomBatchRequestEntryReturnRefundLineItem
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
241
259
  class OrdersCustomBatchRequestEntrySetLineItemMetadata
242
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
261
 
@@ -292,6 +310,18 @@ module Google
292
310
  include Google::Apis::Core::JsonObjectSupport
293
311
  end
294
312
 
313
+ class OrdersInStoreRefundLineItemRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class OrdersInStoreRefundLineItemResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
295
325
  class OrdersListResponse
296
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
327
 
@@ -310,6 +340,18 @@ module Google
310
340
  include Google::Apis::Core::JsonObjectSupport
311
341
  end
312
342
 
343
+ class OrdersRejectReturnLineItemRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class OrdersRejectReturnLineItemResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
313
355
  class OrdersReturnLineItemRequest
314
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
357
 
@@ -322,6 +364,18 @@ module Google
322
364
  include Google::Apis::Core::JsonObjectSupport
323
365
  end
324
366
 
367
+ class OrdersReturnRefundLineItemRequest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class OrdersReturnRefundLineItemResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
325
379
  class OrdersSetLineItemMetadataRequest
326
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
381
 
@@ -797,6 +851,8 @@ module Google
797
851
 
798
852
  property :cancel_line_item, as: 'cancelLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancelLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryCancelLineItem::Representation
799
853
 
854
+ property :in_store_refund_line_item, as: 'inStoreRefundLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryInStoreRefundLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryInStoreRefundLineItem::Representation
855
+
800
856
  property :merchant_id, :numeric_string => true, as: 'merchantId'
801
857
  property :merchant_order_id, as: 'merchantOrderId'
802
858
  property :method_prop, as: 'method'
@@ -804,8 +860,12 @@ module Google
804
860
  property :order_id, as: 'orderId'
805
861
  property :refund, as: 'refund', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRefund, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRefund::Representation
806
862
 
863
+ property :reject_return_line_item, as: 'rejectReturnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRejectReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryRejectReturnLineItem::Representation
864
+
807
865
  property :return_line_item, as: 'returnLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnLineItem::Representation
808
866
 
867
+ property :return_refund_line_item, as: 'returnRefundLineItem', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnRefundLineItem, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryReturnRefundLineItem::Representation
868
+
809
869
  property :set_line_item_metadata, as: 'setLineItemMetadata', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntrySetLineItemMetadata::Representation
810
870
 
811
871
  property :ship_line_items, as: 'shipLineItems', class: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems, decorator: Google::Apis::ContentV2sandbox::OrdersCustomBatchRequestEntryShipLineItems::Representation
@@ -842,6 +902,21 @@ module Google
842
902
  end
843
903
  end
844
904
 
905
+ class OrdersCustomBatchRequestEntryInStoreRefundLineItem
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
909
+
910
+ property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
911
+
912
+ property :line_item_id, as: 'lineItemId'
913
+ property :product_id, as: 'productId'
914
+ property :quantity, as: 'quantity'
915
+ property :reason, as: 'reason'
916
+ property :reason_text, as: 'reasonText'
917
+ end
918
+ end
919
+
845
920
  class OrdersCustomBatchRequestEntryRefund
846
921
  # @private
847
922
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -856,6 +931,17 @@ module Google
856
931
  end
857
932
  end
858
933
 
934
+ class OrdersCustomBatchRequestEntryRejectReturnLineItem
935
+ # @private
936
+ class Representation < Google::Apis::Core::JsonRepresentation
937
+ property :line_item_id, as: 'lineItemId'
938
+ property :product_id, as: 'productId'
939
+ property :quantity, as: 'quantity'
940
+ property :reason, as: 'reason'
941
+ property :reason_text, as: 'reasonText'
942
+ end
943
+ end
944
+
859
945
  class OrdersCustomBatchRequestEntryReturnLineItem
860
946
  # @private
861
947
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -867,6 +953,21 @@ module Google
867
953
  end
868
954
  end
869
955
 
956
+ class OrdersCustomBatchRequestEntryReturnRefundLineItem
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
960
+
961
+ property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
962
+
963
+ property :line_item_id, as: 'lineItemId'
964
+ property :product_id, as: 'productId'
965
+ property :quantity, as: 'quantity'
966
+ property :reason, as: 'reason'
967
+ property :reason_text, as: 'reasonText'
968
+ end
969
+ end
970
+
870
971
  class OrdersCustomBatchRequestEntrySetLineItemMetadata
871
972
  # @private
872
973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -959,6 +1060,30 @@ module Google
959
1060
  end
960
1061
  end
961
1062
 
1063
+ class OrdersInStoreRefundLineItemRequest
1064
+ # @private
1065
+ class Representation < Google::Apis::Core::JsonRepresentation
1066
+ property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1067
+
1068
+ property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1069
+
1070
+ property :line_item_id, as: 'lineItemId'
1071
+ property :operation_id, as: 'operationId'
1072
+ property :product_id, as: 'productId'
1073
+ property :quantity, as: 'quantity'
1074
+ property :reason, as: 'reason'
1075
+ property :reason_text, as: 'reasonText'
1076
+ end
1077
+ end
1078
+
1079
+ class OrdersInStoreRefundLineItemResponse
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ property :execution_status, as: 'executionStatus'
1083
+ property :kind, as: 'kind'
1084
+ end
1085
+ end
1086
+
962
1087
  class OrdersListResponse
963
1088
  # @private
964
1089
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -992,6 +1117,26 @@ module Google
992
1117
  end
993
1118
  end
994
1119
 
1120
+ class OrdersRejectReturnLineItemRequest
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :line_item_id, as: 'lineItemId'
1124
+ property :operation_id, as: 'operationId'
1125
+ property :product_id, as: 'productId'
1126
+ property :quantity, as: 'quantity'
1127
+ property :reason, as: 'reason'
1128
+ property :reason_text, as: 'reasonText'
1129
+ end
1130
+ end
1131
+
1132
+ class OrdersRejectReturnLineItemResponse
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ property :execution_status, as: 'executionStatus'
1136
+ property :kind, as: 'kind'
1137
+ end
1138
+ end
1139
+
995
1140
  class OrdersReturnLineItemRequest
996
1141
  # @private
997
1142
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1012,6 +1157,30 @@ module Google
1012
1157
  end
1013
1158
  end
1014
1159
 
1160
+ class OrdersReturnRefundLineItemRequest
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ property :amount_pretax, as: 'amountPretax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1164
+
1165
+ property :amount_tax, as: 'amountTax', class: Google::Apis::ContentV2sandbox::Price, decorator: Google::Apis::ContentV2sandbox::Price::Representation
1166
+
1167
+ property :line_item_id, as: 'lineItemId'
1168
+ property :operation_id, as: 'operationId'
1169
+ property :product_id, as: 'productId'
1170
+ property :quantity, as: 'quantity'
1171
+ property :reason, as: 'reason'
1172
+ property :reason_text, as: 'reasonText'
1173
+ end
1174
+ end
1175
+
1176
+ class OrdersReturnRefundLineItemResponse
1177
+ # @private
1178
+ class Representation < Google::Apis::Core::JsonRepresentation
1179
+ property :execution_status, as: 'executionStatus'
1180
+ property :kind, as: 'kind'
1181
+ end
1182
+ end
1183
+
1015
1184
  class OrdersSetLineItemMetadataRequest
1016
1185
  # @private
1017
1186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -412,6 +412,48 @@ module Google
412
412
  execute_or_queue_command(command, &block)
413
413
  end
414
414
 
415
+ # Notifies that item return and refund was handled directly in store.
416
+ # @param [Fixnum] merchant_id
417
+ # The ID of the account that manages the order. This cannot be a multi-client
418
+ # account.
419
+ # @param [String] order_id
420
+ # The ID of the order.
421
+ # @param [Google::Apis::ContentV2sandbox::OrdersInStoreRefundLineItemRequest] orders_in_store_refund_line_item_request_object
422
+ # @param [String] fields
423
+ # Selector specifying which fields to include in a partial response.
424
+ # @param [String] quota_user
425
+ # Available to use for quota purposes for server-side applications. Can be any
426
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
427
+ # Overrides userIp if both are provided.
428
+ # @param [String] user_ip
429
+ # IP address of the site where the request originates. Use this if you want to
430
+ # enforce per-user limits.
431
+ # @param [Google::Apis::RequestOptions] options
432
+ # Request-specific options
433
+ #
434
+ # @yield [result, err] Result & error if block supplied
435
+ # @yieldparam result [Google::Apis::ContentV2sandbox::OrdersInStoreRefundLineItemResponse] parsed result object
436
+ # @yieldparam err [StandardError] error object if request failed
437
+ #
438
+ # @return [Google::Apis::ContentV2sandbox::OrdersInStoreRefundLineItemResponse]
439
+ #
440
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
441
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
442
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
443
+ def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
444
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
445
+ command.request_representation = Google::Apis::ContentV2sandbox::OrdersInStoreRefundLineItemRequest::Representation
446
+ command.request_object = orders_in_store_refund_line_item_request_object
447
+ command.response_representation = Google::Apis::ContentV2sandbox::OrdersInStoreRefundLineItemResponse::Representation
448
+ command.response_class = Google::Apis::ContentV2sandbox::OrdersInStoreRefundLineItemResponse
449
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
450
+ command.params['orderId'] = order_id unless order_id.nil?
451
+ command.query['fields'] = fields unless fields.nil?
452
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
453
+ command.query['userIp'] = user_ip unless user_ip.nil?
454
+ execute_or_queue_command(command, &block)
455
+ end
456
+
415
457
  # Lists the orders in your Merchant Center account.
416
458
  # @param [Fixnum] merchant_id
417
459
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -528,6 +570,48 @@ module Google
528
570
  execute_or_queue_command(command, &block)
529
571
  end
530
572
 
573
+ # Rejects return on an line item.
574
+ # @param [Fixnum] merchant_id
575
+ # The ID of the account that manages the order. This cannot be a multi-client
576
+ # account.
577
+ # @param [String] order_id
578
+ # The ID of the order.
579
+ # @param [Google::Apis::ContentV2sandbox::OrdersRejectReturnLineItemRequest] orders_reject_return_line_item_request_object
580
+ # @param [String] fields
581
+ # Selector specifying which fields to include in a partial response.
582
+ # @param [String] quota_user
583
+ # Available to use for quota purposes for server-side applications. Can be any
584
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
585
+ # Overrides userIp if both are provided.
586
+ # @param [String] user_ip
587
+ # IP address of the site where the request originates. Use this if you want to
588
+ # enforce per-user limits.
589
+ # @param [Google::Apis::RequestOptions] options
590
+ # Request-specific options
591
+ #
592
+ # @yield [result, err] Result & error if block supplied
593
+ # @yieldparam result [Google::Apis::ContentV2sandbox::OrdersRejectReturnLineItemResponse] parsed result object
594
+ # @yieldparam err [StandardError] error object if request failed
595
+ #
596
+ # @return [Google::Apis::ContentV2sandbox::OrdersRejectReturnLineItemResponse]
597
+ #
598
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
599
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
600
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
601
+ def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
602
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
603
+ command.request_representation = Google::Apis::ContentV2sandbox::OrdersRejectReturnLineItemRequest::Representation
604
+ command.request_object = orders_reject_return_line_item_request_object
605
+ command.response_representation = Google::Apis::ContentV2sandbox::OrdersRejectReturnLineItemResponse::Representation
606
+ command.response_class = Google::Apis::ContentV2sandbox::OrdersRejectReturnLineItemResponse
607
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
608
+ command.params['orderId'] = order_id unless order_id.nil?
609
+ command.query['fields'] = fields unless fields.nil?
610
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
611
+ command.query['userIp'] = user_ip unless user_ip.nil?
612
+ execute_or_queue_command(command, &block)
613
+ end
614
+
531
615
  # Returns a line item.
532
616
  # @param [Fixnum] merchant_id
533
617
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -570,6 +654,49 @@ module Google
570
654
  execute_or_queue_command(command, &block)
571
655
  end
572
656
 
657
+ # Returns and refunds a line item. Note that this method can only be called on
658
+ # fully shipped orders.
659
+ # @param [Fixnum] merchant_id
660
+ # The ID of the account that manages the order. This cannot be a multi-client
661
+ # account.
662
+ # @param [String] order_id
663
+ # The ID of the order.
664
+ # @param [Google::Apis::ContentV2sandbox::OrdersReturnRefundLineItemRequest] orders_return_refund_line_item_request_object
665
+ # @param [String] fields
666
+ # Selector specifying which fields to include in a partial response.
667
+ # @param [String] quota_user
668
+ # Available to use for quota purposes for server-side applications. Can be any
669
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
670
+ # Overrides userIp if both are provided.
671
+ # @param [String] user_ip
672
+ # IP address of the site where the request originates. Use this if you want to
673
+ # enforce per-user limits.
674
+ # @param [Google::Apis::RequestOptions] options
675
+ # Request-specific options
676
+ #
677
+ # @yield [result, err] Result & error if block supplied
678
+ # @yieldparam result [Google::Apis::ContentV2sandbox::OrdersReturnRefundLineItemResponse] parsed result object
679
+ # @yieldparam err [StandardError] error object if request failed
680
+ #
681
+ # @return [Google::Apis::ContentV2sandbox::OrdersReturnRefundLineItemResponse]
682
+ #
683
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
684
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
686
+ def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
687
+ command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
688
+ command.request_representation = Google::Apis::ContentV2sandbox::OrdersReturnRefundLineItemRequest::Representation
689
+ command.request_object = orders_return_refund_line_item_request_object
690
+ command.response_representation = Google::Apis::ContentV2sandbox::OrdersReturnRefundLineItemResponse::Representation
691
+ command.response_class = Google::Apis::ContentV2sandbox::OrdersReturnRefundLineItemResponse
692
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
693
+ command.params['orderId'] = order_id unless order_id.nil?
694
+ command.query['fields'] = fields unless fields.nil?
695
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
696
+ command.query['userIp'] = user_ip unless user_ip.nil?
697
+ execute_or_queue_command(command, &block)
698
+ end
699
+
573
700
  # Sets (overrides) merchant provided annotations on the line item.
574
701
  # @param [Fixnum] merchant_id
575
702
  # The ID of the account that manages the order. This cannot be a multi-client
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180109'
28
+ REVISION = '20180116'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -519,8 +519,9 @@ module Google
519
519
  # @return [Fixnum]
520
520
  attr_accessor :boot_disk_size_gb
521
521
 
522
- # Optional. Type of the boot disk (default is 'pd-standard'). Valid values: 'pd-
523
- # ssd', 'pd-standard'
522
+ # Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-
523
+ # ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk
524
+ # Hard Disk Drive).
524
525
  # Corresponds to the JSON property `bootDiskType`
525
526
  # @return [String]
526
527
  attr_accessor :boot_disk_type
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow-enterprise/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20180108'
29
+ REVISION = '20180116'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2213,11 +2213,14 @@ module Google
2213
2213
  # @return [String]
2214
2214
  attr_accessor :query_text
2215
2215
 
2216
- # The confidence estimate between 0.0 and 1.0. A higher number
2216
+ # The Speech recognition confidence between 0.0 and 1.0. A higher number
2217
2217
  # indicates an estimated greater likelihood that the recognized words are
2218
2218
  # correct. The default of 0.0 is a sentinel value indicating that confidence
2219
- # was not set. This field is populated if natural speech audio was provided
2220
- # as input.
2219
+ # was not set.
2220
+ # You should not rely on this field as it isn't guaranteed to be accurate, or
2221
+ # even set. In particular this field isn't set in Webhook calls and for
2222
+ # StreamingDetectIntent since the streaming endpoint has separate confidence
2223
+ # estimates per portion of the audio in StreamingRecognitionResult.
2221
2224
  # Corresponds to the JSON property `speechRecognitionConfidence`
2222
2225
  # @return [Float]
2223
2226
  attr_accessor :speech_recognition_confidence