google-api-client 0.40.0 → 0.40.1
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 +53 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +63 -99
- data/generated/google/apis/compute_alpha/representations.rb +14 -32
- data/generated/google/apis/compute_alpha/service.rb +37 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +51 -26
- data/generated/google/apis/compute_beta/representations.rb +3 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +5 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +357 -5
- data/generated/google/apis/content_v2_1/representations.rb +135 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +23 -23
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +463 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1718 -376
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +3 -3
- data/generated/google/apis/healthcare_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
- data/generated/google/apis/healthcare_v1beta1/service.rb +3 -3
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +36 -5
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +100 -0
- data/generated/google/apis/people_v1/representations.rb +31 -0
- data/generated/google/apis/people_v1/service.rb +95 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +15 -1
- data/generated/google/apis/pubsub_v1/representations.rb +12 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{dialogflow_v3alpha1.rb → recommender_v1.rb} +9 -13
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +89 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1 -2
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +0 -296
|
@@ -748,6 +748,12 @@ module Google
|
|
|
748
748
|
include Google::Apis::Core::JsonObjectSupport
|
|
749
749
|
end
|
|
750
750
|
|
|
751
|
+
class OrderOrderAnnotation
|
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
|
+
|
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
755
|
+
end
|
|
756
|
+
|
|
751
757
|
class OrderPickupDetails
|
|
752
758
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
753
759
|
|
|
@@ -808,6 +814,12 @@ module Google
|
|
|
808
814
|
include Google::Apis::Core::JsonObjectSupport
|
|
809
815
|
end
|
|
810
816
|
|
|
817
|
+
class OrderShipmentScheduledDeliveryDetails
|
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
819
|
+
|
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
821
|
+
end
|
|
822
|
+
|
|
811
823
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
812
824
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
813
825
|
|
|
@@ -994,6 +1006,18 @@ module Google
|
|
|
994
1006
|
include Google::Apis::Core::JsonObjectSupport
|
|
995
1007
|
end
|
|
996
1008
|
|
|
1009
|
+
class OrdersCustomBatchRequestEntryRefundItemItem
|
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1011
|
+
|
|
1012
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1015
|
+
class OrdersCustomBatchRequestEntryRefundItemShipping
|
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1017
|
+
|
|
1018
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1019
|
+
end
|
|
1020
|
+
|
|
997
1021
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
998
1022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
999
1023
|
|
|
@@ -1030,6 +1054,30 @@ module Google
|
|
|
1030
1054
|
include Google::Apis::Core::JsonObjectSupport
|
|
1031
1055
|
end
|
|
1032
1056
|
|
|
1057
|
+
class OrdersRefundItemRequest
|
|
1058
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1059
|
+
|
|
1060
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1061
|
+
end
|
|
1062
|
+
|
|
1063
|
+
class OrdersRefundItemResponse
|
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1065
|
+
|
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
class OrdersRefundOrderRequest
|
|
1070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1071
|
+
|
|
1072
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1073
|
+
end
|
|
1074
|
+
|
|
1075
|
+
class OrdersRefundOrderResponse
|
|
1076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1077
|
+
|
|
1078
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1033
1081
|
class OrdersRejectReturnLineItemRequest
|
|
1034
1082
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1035
1083
|
|
|
@@ -2819,6 +2867,8 @@ module Google
|
|
|
2819
2867
|
# @private
|
|
2820
2868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2821
2869
|
property :acknowledged, as: 'acknowledged'
|
|
2870
|
+
collection :annotations, as: 'annotations', class: Google::Apis::ContentV2_1::OrderOrderAnnotation, decorator: Google::Apis::ContentV2_1::OrderOrderAnnotation::Representation
|
|
2871
|
+
|
|
2822
2872
|
property :billing_address, as: 'billingAddress', class: Google::Apis::ContentV2_1::OrderAddress, decorator: Google::Apis::ContentV2_1::OrderAddress::Representation
|
|
2823
2873
|
|
|
2824
2874
|
property :customer, as: 'customer', class: Google::Apis::ContentV2_1::OrderCustomer, decorator: Google::Apis::ContentV2_1::OrderCustomer::Representation
|
|
@@ -3017,6 +3067,7 @@ module Google
|
|
|
3017
3067
|
property :deliver_by_date, as: 'deliverByDate'
|
|
3018
3068
|
property :method_prop, as: 'method', class: Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod, decorator: Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod::Representation
|
|
3019
3069
|
|
|
3070
|
+
property :pickup_promise_in_minutes, as: 'pickupPromiseInMinutes'
|
|
3020
3071
|
property :ship_by_date, as: 'shipByDate'
|
|
3021
3072
|
property :type, as: 'type'
|
|
3022
3073
|
end
|
|
@@ -3040,6 +3091,14 @@ module Google
|
|
|
3040
3091
|
end
|
|
3041
3092
|
end
|
|
3042
3093
|
|
|
3094
|
+
class OrderOrderAnnotation
|
|
3095
|
+
# @private
|
|
3096
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3097
|
+
property :key, as: 'key'
|
|
3098
|
+
property :value, as: 'value'
|
|
3099
|
+
end
|
|
3100
|
+
end
|
|
3101
|
+
|
|
3043
3102
|
class OrderPickupDetails
|
|
3044
3103
|
# @private
|
|
3045
3104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3048,6 +3107,7 @@ module Google
|
|
|
3048
3107
|
collection :collectors, as: 'collectors', class: Google::Apis::ContentV2_1::OrderPickupDetailsCollector, decorator: Google::Apis::ContentV2_1::OrderPickupDetailsCollector::Representation
|
|
3049
3108
|
|
|
3050
3109
|
property :location_id, as: 'locationId'
|
|
3110
|
+
property :pickup_type, as: 'pickupType'
|
|
3051
3111
|
end
|
|
3052
3112
|
end
|
|
3053
3113
|
|
|
@@ -3152,6 +3212,8 @@ module Google
|
|
|
3152
3212
|
property :id, as: 'id'
|
|
3153
3213
|
collection :line_items, as: 'lineItems', class: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment, decorator: Google::Apis::ContentV2_1::OrderShipmentLineItemShipment::Representation
|
|
3154
3214
|
|
|
3215
|
+
property :scheduled_delivery_details, as: 'scheduledDeliveryDetails', class: Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails, decorator: Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails::Representation
|
|
3216
|
+
|
|
3155
3217
|
property :shipment_group_id, as: 'shipmentGroupId'
|
|
3156
3218
|
property :status, as: 'status'
|
|
3157
3219
|
property :tracking_id, as: 'trackingId'
|
|
@@ -3167,6 +3229,14 @@ module Google
|
|
|
3167
3229
|
end
|
|
3168
3230
|
end
|
|
3169
3231
|
|
|
3232
|
+
class OrderShipmentScheduledDeliveryDetails
|
|
3233
|
+
# @private
|
|
3234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3235
|
+
property :carrier_phone_number, as: 'carrierPhoneNumber'
|
|
3236
|
+
property :scheduled_date, as: 'scheduledDate'
|
|
3237
|
+
end
|
|
3238
|
+
end
|
|
3239
|
+
|
|
3170
3240
|
class OrderinvoicesCreateChargeInvoiceRequest
|
|
3171
3241
|
# @private
|
|
3172
3242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3446,6 +3516,27 @@ module Google
|
|
|
3446
3516
|
end
|
|
3447
3517
|
end
|
|
3448
3518
|
|
|
3519
|
+
class OrdersCustomBatchRequestEntryRefundItemItem
|
|
3520
|
+
# @private
|
|
3521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3522
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
3523
|
+
|
|
3524
|
+
property :full_refund, as: 'fullRefund'
|
|
3525
|
+
property :line_item_id, as: 'lineItemId'
|
|
3526
|
+
property :product_id, as: 'productId'
|
|
3527
|
+
property :quantity, as: 'quantity'
|
|
3528
|
+
end
|
|
3529
|
+
end
|
|
3530
|
+
|
|
3531
|
+
class OrdersCustomBatchRequestEntryRefundItemShipping
|
|
3532
|
+
# @private
|
|
3533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3534
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
|
3535
|
+
|
|
3536
|
+
property :full_refund, as: 'fullRefund'
|
|
3537
|
+
end
|
|
3538
|
+
end
|
|
3539
|
+
|
|
3449
3540
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
3450
3541
|
# @private
|
|
3451
3542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3507,6 +3598,47 @@ module Google
|
|
|
3507
3598
|
end
|
|
3508
3599
|
end
|
|
3509
3600
|
|
|
3601
|
+
class OrdersRefundItemRequest
|
|
3602
|
+
# @private
|
|
3603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3604
|
+
collection :items, as: 'items', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemItem, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemItem::Representation
|
|
3605
|
+
|
|
3606
|
+
property :operation_id, as: 'operationId'
|
|
3607
|
+
property :reason, as: 'reason'
|
|
3608
|
+
property :reason_text, as: 'reasonText'
|
|
3609
|
+
property :shipping, as: 'shipping', class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemShipping, decorator: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryRefundItemShipping::Representation
|
|
3610
|
+
|
|
3611
|
+
end
|
|
3612
|
+
end
|
|
3613
|
+
|
|
3614
|
+
class OrdersRefundItemResponse
|
|
3615
|
+
# @private
|
|
3616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3617
|
+
property :execution_status, as: 'executionStatus'
|
|
3618
|
+
property :kind, as: 'kind'
|
|
3619
|
+
end
|
|
3620
|
+
end
|
|
3621
|
+
|
|
3622
|
+
class OrdersRefundOrderRequest
|
|
3623
|
+
# @private
|
|
3624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3625
|
+
property :amount, as: 'amount', class: Google::Apis::ContentV2_1::MonetaryAmount, decorator: Google::Apis::ContentV2_1::MonetaryAmount::Representation
|
|
3626
|
+
|
|
3627
|
+
property :full_refund, as: 'fullRefund'
|
|
3628
|
+
property :operation_id, as: 'operationId'
|
|
3629
|
+
property :reason, as: 'reason'
|
|
3630
|
+
property :reason_text, as: 'reasonText'
|
|
3631
|
+
end
|
|
3632
|
+
end
|
|
3633
|
+
|
|
3634
|
+
class OrdersRefundOrderResponse
|
|
3635
|
+
# @private
|
|
3636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3637
|
+
property :execution_status, as: 'executionStatus'
|
|
3638
|
+
property :kind, as: 'kind'
|
|
3639
|
+
end
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3510
3642
|
class OrdersRejectReturnLineItemRequest
|
|
3511
3643
|
# @private
|
|
3512
3644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3630,10 +3762,13 @@ module Google
|
|
|
3630
3762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3631
3763
|
property :carrier, as: 'carrier'
|
|
3632
3764
|
property :delivery_date, as: 'deliveryDate'
|
|
3765
|
+
property :last_pickup_date, as: 'lastPickupDate'
|
|
3633
3766
|
property :operation_id, as: 'operationId'
|
|
3767
|
+
property :ready_pickup_date, as: 'readyPickupDate'
|
|
3634
3768
|
property :shipment_id, as: 'shipmentId'
|
|
3635
3769
|
property :status, as: 'status'
|
|
3636
3770
|
property :tracking_id, as: 'trackingId'
|
|
3771
|
+
property :undelivered_date, as: 'undeliveredDate'
|
|
3637
3772
|
end
|
|
3638
3773
|
end
|
|
3639
3774
|
|
|
@@ -2463,6 +2463,86 @@ module Google
|
|
|
2463
2463
|
execute_or_queue_command(command, &block)
|
|
2464
2464
|
end
|
|
2465
2465
|
|
|
2466
|
+
# Issues a partial or total refund for items and shipment.
|
|
2467
|
+
# @param [Fixnum] merchant_id
|
|
2468
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2469
|
+
# account.
|
|
2470
|
+
# @param [String] order_id
|
|
2471
|
+
# The ID of the order to refund.
|
|
2472
|
+
# @param [Google::Apis::ContentV2_1::OrdersRefundItemRequest] orders_refund_item_request_object
|
|
2473
|
+
# @param [String] fields
|
|
2474
|
+
# Selector specifying which fields to include in a partial response.
|
|
2475
|
+
# @param [String] quota_user
|
|
2476
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
2477
|
+
# characters.
|
|
2478
|
+
# @param [String] user_ip
|
|
2479
|
+
# Deprecated. Please use quotaUser instead.
|
|
2480
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2481
|
+
# Request-specific options
|
|
2482
|
+
#
|
|
2483
|
+
# @yield [result, err] Result & error if block supplied
|
|
2484
|
+
# @yieldparam result [Google::Apis::ContentV2_1::OrdersRefundItemResponse] parsed result object
|
|
2485
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2486
|
+
#
|
|
2487
|
+
# @return [Google::Apis::ContentV2_1::OrdersRefundItemResponse]
|
|
2488
|
+
#
|
|
2489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2492
|
+
def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2493
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refunditem', options)
|
|
2494
|
+
command.request_representation = Google::Apis::ContentV2_1::OrdersRefundItemRequest::Representation
|
|
2495
|
+
command.request_object = orders_refund_item_request_object
|
|
2496
|
+
command.response_representation = Google::Apis::ContentV2_1::OrdersRefundItemResponse::Representation
|
|
2497
|
+
command.response_class = Google::Apis::ContentV2_1::OrdersRefundItemResponse
|
|
2498
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2499
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
|
2500
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2501
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2502
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2503
|
+
execute_or_queue_command(command, &block)
|
|
2504
|
+
end
|
|
2505
|
+
|
|
2506
|
+
# Issues a partial or total refund for an order.
|
|
2507
|
+
# @param [Fixnum] merchant_id
|
|
2508
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2509
|
+
# account.
|
|
2510
|
+
# @param [String] order_id
|
|
2511
|
+
# The ID of the order to refund.
|
|
2512
|
+
# @param [Google::Apis::ContentV2_1::OrdersRefundOrderRequest] orders_refund_order_request_object
|
|
2513
|
+
# @param [String] fields
|
|
2514
|
+
# Selector specifying which fields to include in a partial response.
|
|
2515
|
+
# @param [String] quota_user
|
|
2516
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
2517
|
+
# characters.
|
|
2518
|
+
# @param [String] user_ip
|
|
2519
|
+
# Deprecated. Please use quotaUser instead.
|
|
2520
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2521
|
+
# Request-specific options
|
|
2522
|
+
#
|
|
2523
|
+
# @yield [result, err] Result & error if block supplied
|
|
2524
|
+
# @yieldparam result [Google::Apis::ContentV2_1::OrdersRefundOrderResponse] parsed result object
|
|
2525
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2526
|
+
#
|
|
2527
|
+
# @return [Google::Apis::ContentV2_1::OrdersRefundOrderResponse]
|
|
2528
|
+
#
|
|
2529
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2530
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2531
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2532
|
+
def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2533
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refundorder', options)
|
|
2534
|
+
command.request_representation = Google::Apis::ContentV2_1::OrdersRefundOrderRequest::Representation
|
|
2535
|
+
command.request_object = orders_refund_order_request_object
|
|
2536
|
+
command.response_representation = Google::Apis::ContentV2_1::OrdersRefundOrderResponse::Representation
|
|
2537
|
+
command.response_class = Google::Apis::ContentV2_1::OrdersRefundOrderResponse
|
|
2538
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2539
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
|
2540
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2542
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
2543
|
+
execute_or_queue_command(command, &block)
|
|
2544
|
+
end
|
|
2545
|
+
|
|
2466
2546
|
# Rejects return on an line item.
|
|
2467
2547
|
# @param [Fixnum] merchant_id
|
|
2468
2548
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
@@ -2504,7 +2584,11 @@ module Google
|
|
|
2504
2584
|
end
|
|
2505
2585
|
|
|
2506
2586
|
# Returns and refunds a line item. Note that this method can only be called on
|
|
2507
|
-
# fully shipped orders.
|
|
2587
|
+
# fully shipped orders. Please also note that the Orderreturns API is the
|
|
2588
|
+
# preferred way to handle returns after you receive a return from a customer.
|
|
2589
|
+
# You can use Orderreturns.list or Orderreturns.get to search for the return,
|
|
2590
|
+
# and then use Orderreturns.processreturn to issue the refund. If the return
|
|
2591
|
+
# cannot be found, then we recommend using this API to issue a refund.
|
|
2508
2592
|
# @param [Fixnum] merchant_id
|
|
2509
2593
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
2510
2594
|
# account.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200528'
|
|
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'
|
|
@@ -175,11 +175,12 @@ module Google
|
|
|
175
175
|
# @return [String]
|
|
176
176
|
attr_accessor :graceful_decommission_timeout
|
|
177
177
|
|
|
178
|
-
# Required. Fraction of average pending memory in the last cooldown period
|
|
179
|
-
# which to remove workers. A scale-down factor of 1 will result in scaling
|
|
180
|
-
# so that there is no available memory remaining after the update (more
|
|
178
|
+
# Required. Fraction of average YARN pending memory in the last cooldown period
|
|
179
|
+
# for which to remove workers. A scale-down factor of 1 will result in scaling
|
|
180
|
+
# down so that there is no available memory remaining after the update (more
|
|
181
181
|
# aggressive scaling). A scale-down factor of 0 disables removing workers, which
|
|
182
|
-
# can be beneficial for autoscaling a single job.
|
|
182
|
+
# can be beneficial for autoscaling a single job. See How autoscaling works for
|
|
183
|
+
# more information.Bounds: 0.0, 1.0.
|
|
183
184
|
# Corresponds to the JSON property `scaleDownFactor`
|
|
184
185
|
# @return [Float]
|
|
185
186
|
attr_accessor :scale_down_factor
|
|
@@ -193,11 +194,12 @@ module Google
|
|
|
193
194
|
# @return [Float]
|
|
194
195
|
attr_accessor :scale_down_min_worker_fraction
|
|
195
196
|
|
|
196
|
-
# Required. Fraction of average pending memory in the last cooldown period
|
|
197
|
-
# which to add workers. A scale-up factor of 1.0 will result in scaling up
|
|
198
|
-
# that there is no pending memory remaining after the update (more aggressive
|
|
197
|
+
# Required. Fraction of average YARN pending memory in the last cooldown period
|
|
198
|
+
# for which to add workers. A scale-up factor of 1.0 will result in scaling up
|
|
199
|
+
# so that there is no pending memory remaining after the update (more aggressive
|
|
199
200
|
# scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
|
|
200
|
-
# scaling up (less aggressive scaling).
|
|
201
|
+
# scaling up (less aggressive scaling). See How autoscaling works for more
|
|
202
|
+
# information.Bounds: 0.0, 1.0.
|
|
201
203
|
# Corresponds to the JSON property `scaleUpFactor`
|
|
202
204
|
# @return [Float]
|
|
203
205
|
attr_accessor :scale_up_factor
|
|
@@ -2528,8 +2530,8 @@ module Google
|
|
|
2528
2530
|
class PySparkJob
|
|
2529
2531
|
include Google::Apis::Core::Hashable
|
|
2530
2532
|
|
|
2531
|
-
# Optional. HCFS URIs of archives to be extracted
|
|
2532
|
-
# jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2533
|
+
# Optional. HCFS URIs of archives to be extracted into the working directory of
|
|
2534
|
+
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2533
2535
|
# Corresponds to the JSON property `archiveUris`
|
|
2534
2536
|
# @return [Array<String>]
|
|
2535
2537
|
attr_accessor :archive_uris
|
|
@@ -2541,8 +2543,8 @@ module Google
|
|
|
2541
2543
|
# @return [Array<String>]
|
|
2542
2544
|
attr_accessor :args
|
|
2543
2545
|
|
|
2544
|
-
# Optional. HCFS URIs of files to be
|
|
2545
|
-
#
|
|
2546
|
+
# Optional. HCFS URIs of files to be placed in the working directory of each
|
|
2547
|
+
# executor. Useful for naively parallel tasks.
|
|
2546
2548
|
# Corresponds to the JSON property `fileUris`
|
|
2547
2549
|
# @return [Array<String>]
|
|
2548
2550
|
attr_accessor :file_uris
|
|
@@ -2825,9 +2827,8 @@ module Google
|
|
|
2825
2827
|
class SparkJob
|
|
2826
2828
|
include Google::Apis::Core::Hashable
|
|
2827
2829
|
|
|
2828
|
-
# Optional. HCFS URIs of archives to be extracted
|
|
2829
|
-
#
|
|
2830
|
-
# zip.
|
|
2830
|
+
# Optional. HCFS URIs of archives to be extracted into the working directory of
|
|
2831
|
+
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2831
2832
|
# Corresponds to the JSON property `archiveUris`
|
|
2832
2833
|
# @return [Array<String>]
|
|
2833
2834
|
attr_accessor :archive_uris
|
|
@@ -2839,8 +2840,8 @@ module Google
|
|
|
2839
2840
|
# @return [Array<String>]
|
|
2840
2841
|
attr_accessor :args
|
|
2841
2842
|
|
|
2842
|
-
# Optional. HCFS URIs of files to be
|
|
2843
|
-
#
|
|
2843
|
+
# Optional. HCFS URIs of files to be placed in the working directory of each
|
|
2844
|
+
# executor. Useful for naively parallel tasks.
|
|
2844
2845
|
# Corresponds to the JSON property `fileUris`
|
|
2845
2846
|
# @return [Array<String>]
|
|
2846
2847
|
attr_accessor :file_uris
|
|
@@ -2897,9 +2898,8 @@ module Google
|
|
|
2897
2898
|
class SparkRJob
|
|
2898
2899
|
include Google::Apis::Core::Hashable
|
|
2899
2900
|
|
|
2900
|
-
# Optional. HCFS URIs of archives to be extracted
|
|
2901
|
-
#
|
|
2902
|
-
# zip.
|
|
2901
|
+
# Optional. HCFS URIs of archives to be extracted into the working directory of
|
|
2902
|
+
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2903
2903
|
# Corresponds to the JSON property `archiveUris`
|
|
2904
2904
|
# @return [Array<String>]
|
|
2905
2905
|
attr_accessor :archive_uris
|
|
@@ -2911,8 +2911,8 @@ module Google
|
|
|
2911
2911
|
# @return [Array<String>]
|
|
2912
2912
|
attr_accessor :args
|
|
2913
2913
|
|
|
2914
|
-
# Optional. HCFS URIs of files to be
|
|
2915
|
-
#
|
|
2914
|
+
# Optional. HCFS URIs of files to be placed in the working directory of each
|
|
2915
|
+
# executor. Useful for naively parallel tasks.
|
|
2916
2916
|
# Corresponds to the JSON property `fileUris`
|
|
2917
2917
|
# @return [Array<String>]
|
|
2918
2918
|
attr_accessor :file_uris
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200528'
|
|
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'
|
|
@@ -175,11 +175,12 @@ module Google
|
|
|
175
175
|
# @return [String]
|
|
176
176
|
attr_accessor :graceful_decommission_timeout
|
|
177
177
|
|
|
178
|
-
# Required. Fraction of average pending memory in the last cooldown period
|
|
179
|
-
# which to remove workers. A scale-down factor of 1 will result in scaling
|
|
180
|
-
# so that there is no available memory remaining after the update (more
|
|
178
|
+
# Required. Fraction of average YARN pending memory in the last cooldown period
|
|
179
|
+
# for which to remove workers. A scale-down factor of 1 will result in scaling
|
|
180
|
+
# down so that there is no available memory remaining after the update (more
|
|
181
181
|
# aggressive scaling). A scale-down factor of 0 disables removing workers, which
|
|
182
|
-
# can be beneficial for autoscaling a single job.
|
|
182
|
+
# can be beneficial for autoscaling a single job. See How autoscaling works for
|
|
183
|
+
# more information.Bounds: 0.0, 1.0.
|
|
183
184
|
# Corresponds to the JSON property `scaleDownFactor`
|
|
184
185
|
# @return [Float]
|
|
185
186
|
attr_accessor :scale_down_factor
|
|
@@ -193,11 +194,12 @@ module Google
|
|
|
193
194
|
# @return [Float]
|
|
194
195
|
attr_accessor :scale_down_min_worker_fraction
|
|
195
196
|
|
|
196
|
-
# Required. Fraction of average pending memory in the last cooldown period
|
|
197
|
-
# which to add workers. A scale-up factor of 1.0 will result in scaling up
|
|
198
|
-
# that there is no pending memory remaining after the update (more aggressive
|
|
197
|
+
# Required. Fraction of average YARN pending memory in the last cooldown period
|
|
198
|
+
# for which to add workers. A scale-up factor of 1.0 will result in scaling up
|
|
199
|
+
# so that there is no pending memory remaining after the update (more aggressive
|
|
199
200
|
# scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
|
|
200
|
-
# scaling up (less aggressive scaling).
|
|
201
|
+
# scaling up (less aggressive scaling). See How autoscaling works for more
|
|
202
|
+
# information.Bounds: 0.0, 1.0.
|
|
201
203
|
# Corresponds to the JSON property `scaleUpFactor`
|
|
202
204
|
# @return [Float]
|
|
203
205
|
attr_accessor :scale_up_factor
|
|
@@ -2632,8 +2634,8 @@ module Google
|
|
|
2632
2634
|
class PySparkJob
|
|
2633
2635
|
include Google::Apis::Core::Hashable
|
|
2634
2636
|
|
|
2635
|
-
# Optional. HCFS URIs of archives to be extracted
|
|
2636
|
-
# jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2637
|
+
# Optional. HCFS URIs of archives to be extracted into the working directory of
|
|
2638
|
+
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2637
2639
|
# Corresponds to the JSON property `archiveUris`
|
|
2638
2640
|
# @return [Array<String>]
|
|
2639
2641
|
attr_accessor :archive_uris
|
|
@@ -2645,8 +2647,8 @@ module Google
|
|
|
2645
2647
|
# @return [Array<String>]
|
|
2646
2648
|
attr_accessor :args
|
|
2647
2649
|
|
|
2648
|
-
# Optional. HCFS URIs of files to be
|
|
2649
|
-
#
|
|
2650
|
+
# Optional. HCFS URIs of files to be placed in the working directory of each
|
|
2651
|
+
# executor. Useful for naively parallel tasks.
|
|
2650
2652
|
# Corresponds to the JSON property `fileUris`
|
|
2651
2653
|
# @return [Array<String>]
|
|
2652
2654
|
attr_accessor :file_uris
|
|
@@ -2932,9 +2934,8 @@ module Google
|
|
|
2932
2934
|
class SparkJob
|
|
2933
2935
|
include Google::Apis::Core::Hashable
|
|
2934
2936
|
|
|
2935
|
-
# Optional. HCFS URIs of archives to be extracted
|
|
2936
|
-
#
|
|
2937
|
-
# zip.
|
|
2937
|
+
# Optional. HCFS URIs of archives to be extracted into the working directory of
|
|
2938
|
+
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
|
|
2938
2939
|
# Corresponds to the JSON property `archiveUris`
|
|
2939
2940
|
# @return [Array<String>]
|
|
2940
2941
|
attr_accessor :archive_uris
|
|
@@ -2946,8 +2947,8 @@ module Google
|
|
|
2946
2947
|
# @return [Array<String>]
|
|
2947
2948
|
attr_accessor :args
|
|
2948
2949
|
|
|
2949
|
-
# Optional. HCFS URIs of files to be
|
|
2950
|
-
#
|
|
2950
|
+
# Optional. HCFS URIs of files to be placed in the working directory of each
|
|
2951
|
+
# executor. Useful for naively parallel tasks.
|
|
2951
2952
|
# Corresponds to the JSON property `fileUris`
|
|
2952
2953
|
# @return [Array<String>]
|
|
2953
2954
|
attr_accessor :file_uris
|
|
@@ -3004,9 +3005,8 @@ module Google
|
|
|
3004
3005
|
class SparkRJob
|
|
3005
3006
|
include Google::Apis::Core::Hashable
|
|
3006
3007
|
|
|
3007
|
-
# Optional. HCFS URIs of archives to be extracted
|
|
3008
|
-
#
|
|
3009
|
-
# zip.
|
|
3008
|
+
# Optional. HCFS URIs of archives to be extracted into the working directory of
|
|
3009
|
+
# each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
|
|
3010
3010
|
# Corresponds to the JSON property `archiveUris`
|
|
3011
3011
|
# @return [Array<String>]
|
|
3012
3012
|
attr_accessor :archive_uris
|
|
@@ -3018,8 +3018,8 @@ module Google
|
|
|
3018
3018
|
# @return [Array<String>]
|
|
3019
3019
|
attr_accessor :args
|
|
3020
3020
|
|
|
3021
|
-
# Optional. HCFS URIs of files to be
|
|
3022
|
-
#
|
|
3021
|
+
# Optional. HCFS URIs of files to be placed in the working directory of each
|
|
3022
|
+
# executor. Useful for naively parallel tasks.
|
|
3023
3023
|
# Corresponds to the JSON property `fileUris`
|
|
3024
3024
|
# @return [Array<String>]
|
|
3025
3025
|
attr_accessor :file_uris
|
|
@@ -3528,7 +3528,7 @@ module Google
|
|
|
3528
3528
|
end
|
|
3529
3529
|
end
|
|
3530
3530
|
|
|
3531
|
-
# A Dataproc workflow template resource.
|
|
3531
|
+
# A Dataproc workflow template resource. Next ID: 11
|
|
3532
3532
|
class WorkflowTemplate
|
|
3533
3533
|
include Google::Apis::Core::Hashable
|
|
3534
3534
|
|