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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +212 -0
- data/generated/google/apis/analytics_v3/representations.rb +77 -0
- data/generated/google/apis/analytics_v3/service.rb +35 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -98
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -46
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -229
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +28 -49
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +10 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -69
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -20
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +37 -20
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +161 -13
- data/generated/google/apis/compute_alpha/representations.rb +55 -1
- data/generated/google/apis/compute_alpha/service.rb +3 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +102 -12
- data/generated/google/apis/compute_beta/representations.rb +14 -1
- data/generated/google/apis/compute_beta/service.rb +102 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +12 -5
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +3 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +10 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +10 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +428 -0
- data/generated/google/apis/content_v2/representations.rb +169 -0
- data/generated/google/apis/content_v2/service.rb +128 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +428 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +169 -0
- data/generated/google/apis/content_v2sandbox/service.rb +127 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +9 -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 +9 -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 +0 -136
- data/generated/google/apis/ml_v1/representations.rb +0 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -6
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -9
- data/generated/google/apis/oslogin_v1/representations.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -9
- data/generated/google/apis/oslogin_v1alpha/representations.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -9
- data/generated/google/apis/oslogin_v1beta/representations.rb +0 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +5 -2
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -146
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -34
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -10
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +0 -65
- data/generated/google/apis/speech_v1/representations.rb +0 -40
- data/generated/google/apis/speech_v1/service.rb +0 -122
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -44
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -27
- data/generated/google/apis/speech_v1beta1/service.rb +0 -119
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -2873,6 +2873,7 @@ module Google
|
|
2873
2873
|
property :disk_name, as: 'diskName'
|
2874
2874
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
2875
2875
|
property :disk_type, as: 'diskType'
|
2876
|
+
hash :labels, as: 'labels'
|
2876
2877
|
property :source_image, as: 'sourceImage'
|
2877
2878
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
2878
2879
|
|
@@ -6478,10 +6478,9 @@ module Google
|
|
6478
6478
|
execute_or_queue_command(command, &block)
|
6479
6479
|
end
|
6480
6480
|
|
6481
|
-
# Deletes the specified instance template.
|
6482
|
-
#
|
6483
|
-
#
|
6484
|
-
# instance template is permanent and cannot be undone.
|
6481
|
+
# Deletes the specified instance template. Deleting an instance template is
|
6482
|
+
# permanent and cannot be undone. It's not possible to delete templates which
|
6483
|
+
# are in use by an instance group.
|
6485
6484
|
# @param [String] project
|
6486
6485
|
# Project ID for this request.
|
6487
6486
|
# @param [String] instance_template
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180108'
|
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'
|
@@ -1185,8 +1185,16 @@ module Google
|
|
1185
1185
|
# Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
|
1186
1186
|
# in length. These are reflected as part of a URL in the metadata server.
|
1187
1187
|
# Additionally, to avoid ambiguity, keys must not conflict with any other
|
1188
|
-
# metadata keys for the project or be one of the
|
1189
|
-
# "
|
1188
|
+
# metadata keys for the project or be one of the reserved keys:
|
1189
|
+
# "cluster-name"
|
1190
|
+
# "cluster-uid"
|
1191
|
+
# "configure-sh"
|
1192
|
+
# "gci-update-strategy"
|
1193
|
+
# "gci-ensure-gke-docker"
|
1194
|
+
# "instance-template"
|
1195
|
+
# "kube-env"
|
1196
|
+
# "startup-script"
|
1197
|
+
# "user-data"
|
1190
1198
|
# Values are free-form strings, and only have meaning as interpreted by
|
1191
1199
|
# the image running in the instance. The only restriction placed on them is
|
1192
1200
|
# that each value's size must be less than or equal to 32 KB.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180108'
|
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'
|
@@ -1291,8 +1291,16 @@ module Google
|
|
1291
1291
|
# Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
|
1292
1292
|
# in length. These are reflected as part of a URL in the metadata server.
|
1293
1293
|
# Additionally, to avoid ambiguity, keys must not conflict with any other
|
1294
|
-
# metadata keys for the project or be one of the
|
1295
|
-
# "
|
1294
|
+
# metadata keys for the project or be one of the reserved keys:
|
1295
|
+
# "cluster-name"
|
1296
|
+
# "cluster-uid"
|
1297
|
+
# "configure-sh"
|
1298
|
+
# "gci-update-strategy"
|
1299
|
+
# "gci-ensure-gke-docker"
|
1300
|
+
# "instance-template"
|
1301
|
+
# "kube-env"
|
1302
|
+
# "startup-script"
|
1303
|
+
# "user-data"
|
1296
1304
|
# Values are free-form strings, and only have meaning as interpreted by
|
1297
1305
|
# the image running in the instance. The only restriction placed on them is
|
1298
1306
|
# that each value's size must be less than or equal to 32 KB.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180111'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -3756,6 +3756,11 @@ module Google
|
|
3756
3756
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCancelLineItem]
|
3757
3757
|
attr_accessor :cancel_line_item
|
3758
3758
|
|
3759
|
+
# Required for inStoreReturnLineItem method.
|
3760
|
+
# Corresponds to the JSON property `inStoreRefundLineItem`
|
3761
|
+
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryInStoreRefundLineItem]
|
3762
|
+
attr_accessor :in_store_refund_line_item
|
3763
|
+
|
3759
3764
|
# The ID of the managing account.
|
3760
3765
|
# Corresponds to the JSON property `merchantId`
|
3761
3766
|
# @return [Fixnum]
|
@@ -3788,11 +3793,21 @@ module Google
|
|
3788
3793
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRefund]
|
3789
3794
|
attr_accessor :refund
|
3790
3795
|
|
3796
|
+
# Required for rejectReturnLineItem method.
|
3797
|
+
# Corresponds to the JSON property `rejectReturnLineItem`
|
3798
|
+
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryRejectReturnLineItem]
|
3799
|
+
attr_accessor :reject_return_line_item
|
3800
|
+
|
3791
3801
|
# Required for returnLineItem method.
|
3792
3802
|
# Corresponds to the JSON property `returnLineItem`
|
3793
3803
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnLineItem]
|
3794
3804
|
attr_accessor :return_line_item
|
3795
3805
|
|
3806
|
+
# Required for returnRefundLineItem method.
|
3807
|
+
# Corresponds to the JSON property `returnRefundLineItem`
|
3808
|
+
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntryReturnRefundLineItem]
|
3809
|
+
attr_accessor :return_refund_line_item
|
3810
|
+
|
3796
3811
|
# Required for setLineItemMetadata method.
|
3797
3812
|
# Corresponds to the JSON property `setLineItemMetadata`
|
3798
3813
|
# @return [Google::Apis::ContentV2::OrdersCustomBatchRequestEntrySetLineItemMetadata]
|
@@ -3822,13 +3837,16 @@ module Google
|
|
3822
3837
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
3823
3838
|
@cancel = args[:cancel] if args.key?(:cancel)
|
3824
3839
|
@cancel_line_item = args[:cancel_line_item] if args.key?(:cancel_line_item)
|
3840
|
+
@in_store_refund_line_item = args[:in_store_refund_line_item] if args.key?(:in_store_refund_line_item)
|
3825
3841
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
3826
3842
|
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
|
3827
3843
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
3828
3844
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
3829
3845
|
@order_id = args[:order_id] if args.key?(:order_id)
|
3830
3846
|
@refund = args[:refund] if args.key?(:refund)
|
3847
|
+
@reject_return_line_item = args[:reject_return_line_item] if args.key?(:reject_return_line_item)
|
3831
3848
|
@return_line_item = args[:return_line_item] if args.key?(:return_line_item)
|
3849
|
+
@return_refund_line_item = args[:return_refund_line_item] if args.key?(:return_refund_line_item)
|
3832
3850
|
@set_line_item_metadata = args[:set_line_item_metadata] if args.key?(:set_line_item_metadata)
|
3833
3851
|
@ship_line_items = args[:ship_line_items] if args.key?(:ship_line_items)
|
3834
3852
|
@update_line_item_shipping_details = args[:update_line_item_shipping_details] if args.key?(:update_line_item_shipping_details)
|
@@ -3927,6 +3945,62 @@ module Google
|
|
3927
3945
|
end
|
3928
3946
|
end
|
3929
3947
|
|
3948
|
+
#
|
3949
|
+
class OrdersCustomBatchRequestEntryInStoreRefundLineItem
|
3950
|
+
include Google::Apis::Core::Hashable
|
3951
|
+
|
3952
|
+
# The amount that is refunded. Required.
|
3953
|
+
# Corresponds to the JSON property `amountPretax`
|
3954
|
+
# @return [Google::Apis::ContentV2::Price]
|
3955
|
+
attr_accessor :amount_pretax
|
3956
|
+
|
3957
|
+
# Tax amount that correspond to refund amount in amountPretax. Required.
|
3958
|
+
# Corresponds to the JSON property `amountTax`
|
3959
|
+
# @return [Google::Apis::ContentV2::Price]
|
3960
|
+
attr_accessor :amount_tax
|
3961
|
+
|
3962
|
+
# The ID of the line item to return. Either lineItemId or productId is required.
|
3963
|
+
# Corresponds to the JSON property `lineItemId`
|
3964
|
+
# @return [String]
|
3965
|
+
attr_accessor :line_item_id
|
3966
|
+
|
3967
|
+
# The ID of the product to return. This is the REST ID used in the products
|
3968
|
+
# service. Either lineItemId or productId is required.
|
3969
|
+
# Corresponds to the JSON property `productId`
|
3970
|
+
# @return [String]
|
3971
|
+
attr_accessor :product_id
|
3972
|
+
|
3973
|
+
# The quantity to return and refund.
|
3974
|
+
# Corresponds to the JSON property `quantity`
|
3975
|
+
# @return [Fixnum]
|
3976
|
+
attr_accessor :quantity
|
3977
|
+
|
3978
|
+
# The reason for the return.
|
3979
|
+
# Corresponds to the JSON property `reason`
|
3980
|
+
# @return [String]
|
3981
|
+
attr_accessor :reason
|
3982
|
+
|
3983
|
+
# The explanation of the reason.
|
3984
|
+
# Corresponds to the JSON property `reasonText`
|
3985
|
+
# @return [String]
|
3986
|
+
attr_accessor :reason_text
|
3987
|
+
|
3988
|
+
def initialize(**args)
|
3989
|
+
update!(**args)
|
3990
|
+
end
|
3991
|
+
|
3992
|
+
# Update properties of this object
|
3993
|
+
def update!(**args)
|
3994
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
3995
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
3996
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
3997
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
3998
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
3999
|
+
@reason = args[:reason] if args.key?(:reason)
|
4000
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
4001
|
+
end
|
4002
|
+
end
|
4003
|
+
|
3930
4004
|
#
|
3931
4005
|
class OrdersCustomBatchRequestEntryRefund
|
3932
4006
|
include Google::Apis::Core::Hashable
|
@@ -3971,6 +4045,50 @@ module Google
|
|
3971
4045
|
end
|
3972
4046
|
end
|
3973
4047
|
|
4048
|
+
#
|
4049
|
+
class OrdersCustomBatchRequestEntryRejectReturnLineItem
|
4050
|
+
include Google::Apis::Core::Hashable
|
4051
|
+
|
4052
|
+
# The ID of the line item to return. Either lineItemId or productId is required.
|
4053
|
+
# Corresponds to the JSON property `lineItemId`
|
4054
|
+
# @return [String]
|
4055
|
+
attr_accessor :line_item_id
|
4056
|
+
|
4057
|
+
# The ID of the product to return. This is the REST ID used in the products
|
4058
|
+
# service. Either lineItemId or productId is required.
|
4059
|
+
# Corresponds to the JSON property `productId`
|
4060
|
+
# @return [String]
|
4061
|
+
attr_accessor :product_id
|
4062
|
+
|
4063
|
+
# The quantity to return and refund.
|
4064
|
+
# Corresponds to the JSON property `quantity`
|
4065
|
+
# @return [Fixnum]
|
4066
|
+
attr_accessor :quantity
|
4067
|
+
|
4068
|
+
# The reason for the return.
|
4069
|
+
# Corresponds to the JSON property `reason`
|
4070
|
+
# @return [String]
|
4071
|
+
attr_accessor :reason
|
4072
|
+
|
4073
|
+
# The explanation of the reason.
|
4074
|
+
# Corresponds to the JSON property `reasonText`
|
4075
|
+
# @return [String]
|
4076
|
+
attr_accessor :reason_text
|
4077
|
+
|
4078
|
+
def initialize(**args)
|
4079
|
+
update!(**args)
|
4080
|
+
end
|
4081
|
+
|
4082
|
+
# Update properties of this object
|
4083
|
+
def update!(**args)
|
4084
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
4085
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4086
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4087
|
+
@reason = args[:reason] if args.key?(:reason)
|
4088
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
4089
|
+
end
|
4090
|
+
end
|
4091
|
+
|
3974
4092
|
#
|
3975
4093
|
class OrdersCustomBatchRequestEntryReturnLineItem
|
3976
4094
|
include Google::Apis::Core::Hashable
|
@@ -4015,6 +4133,63 @@ module Google
|
|
4015
4133
|
end
|
4016
4134
|
end
|
4017
4135
|
|
4136
|
+
#
|
4137
|
+
class OrdersCustomBatchRequestEntryReturnRefundLineItem
|
4138
|
+
include Google::Apis::Core::Hashable
|
4139
|
+
|
4140
|
+
# The amount that is refunded. Optional, but if filled then both amountPretax
|
4141
|
+
# and amountTax must be set.
|
4142
|
+
# Corresponds to the JSON property `amountPretax`
|
4143
|
+
# @return [Google::Apis::ContentV2::Price]
|
4144
|
+
attr_accessor :amount_pretax
|
4145
|
+
|
4146
|
+
# Tax amount that correspond to refund amount in amountPretax.
|
4147
|
+
# Corresponds to the JSON property `amountTax`
|
4148
|
+
# @return [Google::Apis::ContentV2::Price]
|
4149
|
+
attr_accessor :amount_tax
|
4150
|
+
|
4151
|
+
# The ID of the line item to return. Either lineItemId or productId is required.
|
4152
|
+
# Corresponds to the JSON property `lineItemId`
|
4153
|
+
# @return [String]
|
4154
|
+
attr_accessor :line_item_id
|
4155
|
+
|
4156
|
+
# The ID of the product to return. This is the REST ID used in the products
|
4157
|
+
# service. Either lineItemId or productId is required.
|
4158
|
+
# Corresponds to the JSON property `productId`
|
4159
|
+
# @return [String]
|
4160
|
+
attr_accessor :product_id
|
4161
|
+
|
4162
|
+
# The quantity to return and refund.
|
4163
|
+
# Corresponds to the JSON property `quantity`
|
4164
|
+
# @return [Fixnum]
|
4165
|
+
attr_accessor :quantity
|
4166
|
+
|
4167
|
+
# The reason for the return.
|
4168
|
+
# Corresponds to the JSON property `reason`
|
4169
|
+
# @return [String]
|
4170
|
+
attr_accessor :reason
|
4171
|
+
|
4172
|
+
# The explanation of the reason.
|
4173
|
+
# Corresponds to the JSON property `reasonText`
|
4174
|
+
# @return [String]
|
4175
|
+
attr_accessor :reason_text
|
4176
|
+
|
4177
|
+
def initialize(**args)
|
4178
|
+
update!(**args)
|
4179
|
+
end
|
4180
|
+
|
4181
|
+
# Update properties of this object
|
4182
|
+
def update!(**args)
|
4183
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
4184
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
4185
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
4186
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4187
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4188
|
+
@reason = args[:reason] if args.key?(:reason)
|
4189
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
4190
|
+
end
|
4191
|
+
end
|
4192
|
+
|
4018
4193
|
#
|
4019
4194
|
class OrdersCustomBatchRequestEntrySetLineItemMetadata
|
4020
4195
|
include Google::Apis::Core::Hashable
|
@@ -4329,6 +4504,94 @@ module Google
|
|
4329
4504
|
end
|
4330
4505
|
end
|
4331
4506
|
|
4507
|
+
#
|
4508
|
+
class OrdersInStoreRefundLineItemRequest
|
4509
|
+
include Google::Apis::Core::Hashable
|
4510
|
+
|
4511
|
+
# The amount that is refunded. Required.
|
4512
|
+
# Corresponds to the JSON property `amountPretax`
|
4513
|
+
# @return [Google::Apis::ContentV2::Price]
|
4514
|
+
attr_accessor :amount_pretax
|
4515
|
+
|
4516
|
+
# Tax amount that correspond to refund amount in amountPretax. Required.
|
4517
|
+
# Corresponds to the JSON property `amountTax`
|
4518
|
+
# @return [Google::Apis::ContentV2::Price]
|
4519
|
+
attr_accessor :amount_tax
|
4520
|
+
|
4521
|
+
# The ID of the line item to return. Either lineItemId or productId is required.
|
4522
|
+
# Corresponds to the JSON property `lineItemId`
|
4523
|
+
# @return [String]
|
4524
|
+
attr_accessor :line_item_id
|
4525
|
+
|
4526
|
+
# The ID of the operation. Unique across all operations for a given order.
|
4527
|
+
# Corresponds to the JSON property `operationId`
|
4528
|
+
# @return [String]
|
4529
|
+
attr_accessor :operation_id
|
4530
|
+
|
4531
|
+
# The ID of the product to return. This is the REST ID used in the products
|
4532
|
+
# service. Either lineItemId or productId is required.
|
4533
|
+
# Corresponds to the JSON property `productId`
|
4534
|
+
# @return [String]
|
4535
|
+
attr_accessor :product_id
|
4536
|
+
|
4537
|
+
# The quantity to return and refund.
|
4538
|
+
# Corresponds to the JSON property `quantity`
|
4539
|
+
# @return [Fixnum]
|
4540
|
+
attr_accessor :quantity
|
4541
|
+
|
4542
|
+
# The reason for the return.
|
4543
|
+
# Corresponds to the JSON property `reason`
|
4544
|
+
# @return [String]
|
4545
|
+
attr_accessor :reason
|
4546
|
+
|
4547
|
+
# The explanation of the reason.
|
4548
|
+
# Corresponds to the JSON property `reasonText`
|
4549
|
+
# @return [String]
|
4550
|
+
attr_accessor :reason_text
|
4551
|
+
|
4552
|
+
def initialize(**args)
|
4553
|
+
update!(**args)
|
4554
|
+
end
|
4555
|
+
|
4556
|
+
# Update properties of this object
|
4557
|
+
def update!(**args)
|
4558
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
4559
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
4560
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
4561
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
4562
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4563
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4564
|
+
@reason = args[:reason] if args.key?(:reason)
|
4565
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
4566
|
+
end
|
4567
|
+
end
|
4568
|
+
|
4569
|
+
#
|
4570
|
+
class OrdersInStoreRefundLineItemResponse
|
4571
|
+
include Google::Apis::Core::Hashable
|
4572
|
+
|
4573
|
+
# The status of the execution.
|
4574
|
+
# Corresponds to the JSON property `executionStatus`
|
4575
|
+
# @return [String]
|
4576
|
+
attr_accessor :execution_status
|
4577
|
+
|
4578
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4579
|
+
# ordersInStoreRefundLineItemResponse".
|
4580
|
+
# Corresponds to the JSON property `kind`
|
4581
|
+
# @return [String]
|
4582
|
+
attr_accessor :kind
|
4583
|
+
|
4584
|
+
def initialize(**args)
|
4585
|
+
update!(**args)
|
4586
|
+
end
|
4587
|
+
|
4588
|
+
# Update properties of this object
|
4589
|
+
def update!(**args)
|
4590
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
4591
|
+
@kind = args[:kind] if args.key?(:kind)
|
4592
|
+
end
|
4593
|
+
end
|
4594
|
+
|
4332
4595
|
#
|
4333
4596
|
class OrdersListResponse
|
4334
4597
|
include Google::Apis::Core::Hashable
|
@@ -4437,6 +4700,82 @@ module Google
|
|
4437
4700
|
end
|
4438
4701
|
end
|
4439
4702
|
|
4703
|
+
#
|
4704
|
+
class OrdersRejectReturnLineItemRequest
|
4705
|
+
include Google::Apis::Core::Hashable
|
4706
|
+
|
4707
|
+
# The ID of the line item to return. Either lineItemId or productId is required.
|
4708
|
+
# Corresponds to the JSON property `lineItemId`
|
4709
|
+
# @return [String]
|
4710
|
+
attr_accessor :line_item_id
|
4711
|
+
|
4712
|
+
# The ID of the operation. Unique across all operations for a given order.
|
4713
|
+
# Corresponds to the JSON property `operationId`
|
4714
|
+
# @return [String]
|
4715
|
+
attr_accessor :operation_id
|
4716
|
+
|
4717
|
+
# The ID of the product to return. This is the REST ID used in the products
|
4718
|
+
# service. Either lineItemId or productId is required.
|
4719
|
+
# Corresponds to the JSON property `productId`
|
4720
|
+
# @return [String]
|
4721
|
+
attr_accessor :product_id
|
4722
|
+
|
4723
|
+
# The quantity to return and refund.
|
4724
|
+
# Corresponds to the JSON property `quantity`
|
4725
|
+
# @return [Fixnum]
|
4726
|
+
attr_accessor :quantity
|
4727
|
+
|
4728
|
+
# The reason for the return.
|
4729
|
+
# Corresponds to the JSON property `reason`
|
4730
|
+
# @return [String]
|
4731
|
+
attr_accessor :reason
|
4732
|
+
|
4733
|
+
# The explanation of the reason.
|
4734
|
+
# Corresponds to the JSON property `reasonText`
|
4735
|
+
# @return [String]
|
4736
|
+
attr_accessor :reason_text
|
4737
|
+
|
4738
|
+
def initialize(**args)
|
4739
|
+
update!(**args)
|
4740
|
+
end
|
4741
|
+
|
4742
|
+
# Update properties of this object
|
4743
|
+
def update!(**args)
|
4744
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
4745
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
4746
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4747
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4748
|
+
@reason = args[:reason] if args.key?(:reason)
|
4749
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
4750
|
+
end
|
4751
|
+
end
|
4752
|
+
|
4753
|
+
#
|
4754
|
+
class OrdersRejectReturnLineItemResponse
|
4755
|
+
include Google::Apis::Core::Hashable
|
4756
|
+
|
4757
|
+
# The status of the execution.
|
4758
|
+
# Corresponds to the JSON property `executionStatus`
|
4759
|
+
# @return [String]
|
4760
|
+
attr_accessor :execution_status
|
4761
|
+
|
4762
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4763
|
+
# ordersRejectReturnLineItemResponse".
|
4764
|
+
# Corresponds to the JSON property `kind`
|
4765
|
+
# @return [String]
|
4766
|
+
attr_accessor :kind
|
4767
|
+
|
4768
|
+
def initialize(**args)
|
4769
|
+
update!(**args)
|
4770
|
+
end
|
4771
|
+
|
4772
|
+
# Update properties of this object
|
4773
|
+
def update!(**args)
|
4774
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
4775
|
+
@kind = args[:kind] if args.key?(:kind)
|
4776
|
+
end
|
4777
|
+
end
|
4778
|
+
|
4440
4779
|
#
|
4441
4780
|
class OrdersReturnLineItemRequest
|
4442
4781
|
include Google::Apis::Core::Hashable
|
@@ -4513,6 +4852,95 @@ module Google
|
|
4513
4852
|
end
|
4514
4853
|
end
|
4515
4854
|
|
4855
|
+
#
|
4856
|
+
class OrdersReturnRefundLineItemRequest
|
4857
|
+
include Google::Apis::Core::Hashable
|
4858
|
+
|
4859
|
+
# The amount that is refunded. Optional, but if filled then both amountPretax
|
4860
|
+
# and amountTax must be set.
|
4861
|
+
# Corresponds to the JSON property `amountPretax`
|
4862
|
+
# @return [Google::Apis::ContentV2::Price]
|
4863
|
+
attr_accessor :amount_pretax
|
4864
|
+
|
4865
|
+
# Tax amount that correspond to refund amount in amountPretax.
|
4866
|
+
# Corresponds to the JSON property `amountTax`
|
4867
|
+
# @return [Google::Apis::ContentV2::Price]
|
4868
|
+
attr_accessor :amount_tax
|
4869
|
+
|
4870
|
+
# The ID of the line item to return. Either lineItemId or productId is required.
|
4871
|
+
# Corresponds to the JSON property `lineItemId`
|
4872
|
+
# @return [String]
|
4873
|
+
attr_accessor :line_item_id
|
4874
|
+
|
4875
|
+
# The ID of the operation. Unique across all operations for a given order.
|
4876
|
+
# Corresponds to the JSON property `operationId`
|
4877
|
+
# @return [String]
|
4878
|
+
attr_accessor :operation_id
|
4879
|
+
|
4880
|
+
# The ID of the product to return. This is the REST ID used in the products
|
4881
|
+
# service. Either lineItemId or productId is required.
|
4882
|
+
# Corresponds to the JSON property `productId`
|
4883
|
+
# @return [String]
|
4884
|
+
attr_accessor :product_id
|
4885
|
+
|
4886
|
+
# The quantity to return and refund.
|
4887
|
+
# Corresponds to the JSON property `quantity`
|
4888
|
+
# @return [Fixnum]
|
4889
|
+
attr_accessor :quantity
|
4890
|
+
|
4891
|
+
# The reason for the return.
|
4892
|
+
# Corresponds to the JSON property `reason`
|
4893
|
+
# @return [String]
|
4894
|
+
attr_accessor :reason
|
4895
|
+
|
4896
|
+
# The explanation of the reason.
|
4897
|
+
# Corresponds to the JSON property `reasonText`
|
4898
|
+
# @return [String]
|
4899
|
+
attr_accessor :reason_text
|
4900
|
+
|
4901
|
+
def initialize(**args)
|
4902
|
+
update!(**args)
|
4903
|
+
end
|
4904
|
+
|
4905
|
+
# Update properties of this object
|
4906
|
+
def update!(**args)
|
4907
|
+
@amount_pretax = args[:amount_pretax] if args.key?(:amount_pretax)
|
4908
|
+
@amount_tax = args[:amount_tax] if args.key?(:amount_tax)
|
4909
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
4910
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
4911
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4912
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4913
|
+
@reason = args[:reason] if args.key?(:reason)
|
4914
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
4915
|
+
end
|
4916
|
+
end
|
4917
|
+
|
4918
|
+
#
|
4919
|
+
class OrdersReturnRefundLineItemResponse
|
4920
|
+
include Google::Apis::Core::Hashable
|
4921
|
+
|
4922
|
+
# The status of the execution.
|
4923
|
+
# Corresponds to the JSON property `executionStatus`
|
4924
|
+
# @return [String]
|
4925
|
+
attr_accessor :execution_status
|
4926
|
+
|
4927
|
+
# Identifies what kind of resource this is. Value: the fixed string "content#
|
4928
|
+
# ordersReturnRefundLineItemResponse".
|
4929
|
+
# Corresponds to the JSON property `kind`
|
4930
|
+
# @return [String]
|
4931
|
+
attr_accessor :kind
|
4932
|
+
|
4933
|
+
def initialize(**args)
|
4934
|
+
update!(**args)
|
4935
|
+
end
|
4936
|
+
|
4937
|
+
# Update properties of this object
|
4938
|
+
def update!(**args)
|
4939
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
4940
|
+
@kind = args[:kind] if args.key?(:kind)
|
4941
|
+
end
|
4942
|
+
end
|
4943
|
+
|
4516
4944
|
#
|
4517
4945
|
class OrdersSetLineItemMetadataRequest
|
4518
4946
|
include Google::Apis::Core::Hashable
|