google-api-client 0.47.0 → 0.48.0
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/.github/workflows/release-please.yml +77 -0
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +238 -14
- data/generated/google/apis/compute_v1/representations.rb +41 -0
- data/generated/google/apis/compute_v1/service.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +7 -7
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +899 -1054
- data/generated/google/apis/content_v2_1/representations.rb +206 -0
- data/generated/google/apis/content_v2_1/service.rb +912 -808
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +40 -2
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +7 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +178 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +249 -9
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/domains_v1beta1/classes.rb +6 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +1 -0
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +1 -3
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +72 -0
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +345 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +12 -12
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -5
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +16 -3
|
@@ -1024,6 +1024,12 @@ module Google
|
|
|
1024
1024
|
include Google::Apis::Core::JsonObjectSupport
|
|
1025
1025
|
end
|
|
1026
1026
|
|
|
1027
|
+
class HealthCheckLogConfig
|
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1029
|
+
|
|
1030
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1031
|
+
end
|
|
1032
|
+
|
|
1027
1033
|
class HealthCheckReference
|
|
1028
1034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1029
1035
|
|
|
@@ -3604,6 +3610,12 @@ module Google
|
|
|
3604
3610
|
include Google::Apis::Core::JsonObjectSupport
|
|
3605
3611
|
end
|
|
3606
3612
|
|
|
3613
|
+
class SecuritySettings
|
|
3614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3615
|
+
|
|
3616
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3617
|
+
end
|
|
3618
|
+
|
|
3607
3619
|
class SerialPortOutput
|
|
3608
3620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3609
3621
|
|
|
@@ -5272,7 +5284,9 @@ module Google
|
|
|
5272
5284
|
class AutoscalingPolicyCustomMetricUtilization
|
|
5273
5285
|
# @private
|
|
5274
5286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5287
|
+
property :filter, as: 'filter'
|
|
5275
5288
|
property :metric, as: 'metric'
|
|
5289
|
+
property :single_instance_assignment, as: 'singleInstanceAssignment'
|
|
5276
5290
|
property :utilization_target, as: 'utilizationTarget'
|
|
5277
5291
|
property :utilization_target_type, as: 'utilizationTargetType'
|
|
5278
5292
|
end
|
|
@@ -5407,6 +5421,8 @@ module Google
|
|
|
5407
5421
|
property :protocol, as: 'protocol'
|
|
5408
5422
|
property :region, as: 'region'
|
|
5409
5423
|
property :security_policy, as: 'securityPolicy'
|
|
5424
|
+
property :security_settings, as: 'securitySettings', class: Google::Apis::ComputeV1::SecuritySettings, decorator: Google::Apis::ComputeV1::SecuritySettings::Representation
|
|
5425
|
+
|
|
5410
5426
|
property :self_link, as: 'selfLink'
|
|
5411
5427
|
property :session_affinity, as: 'sessionAffinity'
|
|
5412
5428
|
property :timeout_sec, as: 'timeoutSec'
|
|
@@ -6605,6 +6621,8 @@ module Google
|
|
|
6605
6621
|
|
|
6606
6622
|
property :id, :numeric_string => true, as: 'id'
|
|
6607
6623
|
property :kind, as: 'kind'
|
|
6624
|
+
property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::HealthCheckLogConfig, decorator: Google::Apis::ComputeV1::HealthCheckLogConfig::Representation
|
|
6625
|
+
|
|
6608
6626
|
property :name, as: 'name'
|
|
6609
6627
|
property :region, as: 'region'
|
|
6610
6628
|
property :self_link, as: 'selfLink'
|
|
@@ -6650,6 +6668,13 @@ module Google
|
|
|
6650
6668
|
end
|
|
6651
6669
|
end
|
|
6652
6670
|
|
|
6671
|
+
class HealthCheckLogConfig
|
|
6672
|
+
# @private
|
|
6673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6674
|
+
property :enable, as: 'enable'
|
|
6675
|
+
end
|
|
6676
|
+
end
|
|
6677
|
+
|
|
6653
6678
|
class HealthCheckReference
|
|
6654
6679
|
# @private
|
|
6655
6680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7524,6 +7549,7 @@ module Google
|
|
|
7524
7549
|
class InstanceGroupManagersApplyUpdatesRequest
|
|
7525
7550
|
# @private
|
|
7526
7551
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7552
|
+
property :all_instances, as: 'allInstances'
|
|
7527
7553
|
collection :instances, as: 'instances'
|
|
7528
7554
|
property :minimal_action, as: 'minimalAction'
|
|
7529
7555
|
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
|
@@ -10308,6 +10334,7 @@ module Google
|
|
|
10308
10334
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
|
10309
10335
|
# @private
|
|
10310
10336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10337
|
+
property :all_instances, as: 'allInstances'
|
|
10311
10338
|
collection :instances, as: 'instances'
|
|
10312
10339
|
property :minimal_action, as: 'minimalAction'
|
|
10313
10340
|
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
|
@@ -10838,6 +10865,7 @@ module Google
|
|
|
10838
10865
|
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
|
10839
10866
|
# @private
|
|
10840
10867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10868
|
+
property :chain_name, as: 'chainName'
|
|
10841
10869
|
property :guest_flush, as: 'guestFlush'
|
|
10842
10870
|
hash :labels, as: 'labels'
|
|
10843
10871
|
collection :storage_locations, as: 'storageLocations'
|
|
@@ -11354,6 +11382,14 @@ module Google
|
|
|
11354
11382
|
end
|
|
11355
11383
|
end
|
|
11356
11384
|
|
|
11385
|
+
class SecuritySettings
|
|
11386
|
+
# @private
|
|
11387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11388
|
+
property :client_tls_policy, as: 'clientTlsPolicy'
|
|
11389
|
+
collection :subject_alt_names, as: 'subjectAltNames'
|
|
11390
|
+
end
|
|
11391
|
+
end
|
|
11392
|
+
|
|
11357
11393
|
class SerialPortOutput
|
|
11358
11394
|
# @private
|
|
11359
11395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11427,6 +11463,7 @@ module Google
|
|
|
11427
11463
|
# @private
|
|
11428
11464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11429
11465
|
property :auto_created, as: 'autoCreated'
|
|
11466
|
+
property :chain_name, as: 'chainName'
|
|
11430
11467
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
11431
11468
|
property :description, as: 'description'
|
|
11432
11469
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
|
@@ -11990,6 +12027,7 @@ module Google
|
|
|
11990
12027
|
property :id, :numeric_string => true, as: 'id'
|
|
11991
12028
|
property :kind, as: 'kind'
|
|
11992
12029
|
property :name, as: 'name'
|
|
12030
|
+
property :proxy_bind, as: 'proxyBind'
|
|
11993
12031
|
property :region, as: 'region'
|
|
11994
12032
|
property :self_link, as: 'selfLink'
|
|
11995
12033
|
property :url_map, as: 'urlMap'
|
|
@@ -12086,14 +12124,17 @@ module Google
|
|
|
12086
12124
|
class TargetHttpsProxy
|
|
12087
12125
|
# @private
|
|
12088
12126
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12127
|
+
property :authorization_policy, as: 'authorizationPolicy'
|
|
12089
12128
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
12090
12129
|
property :description, as: 'description'
|
|
12091
12130
|
property :id, :numeric_string => true, as: 'id'
|
|
12092
12131
|
property :kind, as: 'kind'
|
|
12093
12132
|
property :name, as: 'name'
|
|
12133
|
+
property :proxy_bind, as: 'proxyBind'
|
|
12094
12134
|
property :quic_override, as: 'quicOverride'
|
|
12095
12135
|
property :region, as: 'region'
|
|
12096
12136
|
property :self_link, as: 'selfLink'
|
|
12137
|
+
property :server_tls_policy, as: 'serverTlsPolicy'
|
|
12097
12138
|
collection :ssl_certificates, as: 'sslCertificates'
|
|
12098
12139
|
property :ssl_policy, as: 'sslPolicy'
|
|
12099
12140
|
property :url_map, as: 'urlMap'
|
|
@@ -28791,6 +28791,8 @@ module Google
|
|
|
28791
28791
|
|
|
28792
28792
|
# Initiates a cache invalidation operation, invalidating the specified path,
|
|
28793
28793
|
# scoped to the specified UrlMap.
|
|
28794
|
+
# For more information, see [Invalidating cached content](/cdn/docs/invalidating-
|
|
28795
|
+
# cached-content).
|
|
28794
28796
|
# @param [String] project
|
|
28795
28797
|
# Project ID for this request.
|
|
28796
28798
|
# @param [String] url_map
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/shopping-content/v2/
|
|
26
26
|
module ContentV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201028'
|
|
29
29
|
|
|
30
30
|
# Manage your product listings and accounts for Google Shopping
|
|
31
31
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -1286,7 +1286,7 @@ module Google
|
|
|
1286
1286
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1287
1287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1288
1288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1289
|
-
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email
|
|
1289
|
+
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
|
|
1290
1290
|
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
|
1291
1291
|
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
|
|
1292
1292
|
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
|
|
@@ -1345,14 +1345,14 @@ module Google
|
|
|
1345
1345
|
# @param [Fixnum] account_id
|
|
1346
1346
|
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1347
1347
|
# account.
|
|
1348
|
-
# @param [String] contact_email
|
|
1349
|
-
# The email of the inventory verification contact.
|
|
1350
|
-
# @param [String] contact_name
|
|
1351
|
-
# The name of the inventory verification contact.
|
|
1352
1348
|
# @param [String] country
|
|
1353
1349
|
# The country for which inventory verification is requested.
|
|
1354
1350
|
# @param [String] language
|
|
1355
1351
|
# The language for which inventory verification is requested.
|
|
1352
|
+
# @param [String] contact_name
|
|
1353
|
+
# The name of the inventory verification contact.
|
|
1354
|
+
# @param [String] contact_email
|
|
1355
|
+
# The email of the inventory verification contact.
|
|
1356
1356
|
# @param [String] fields
|
|
1357
1357
|
# Selector specifying which fields to include in a partial response.
|
|
1358
1358
|
# @param [String] quota_user
|
|
@@ -1370,7 +1370,7 @@ module Google
|
|
|
1370
1370
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1371
1371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1372
1372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1373
|
-
def setinventoryverificationcontact_liasetting(merchant_id, account_id,
|
|
1373
|
+
def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
|
|
1374
1374
|
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
|
1375
1375
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
|
|
1376
1376
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
|
|
@@ -1416,7 +1416,7 @@ module Google
|
|
|
1416
1416
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1417
1417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1418
1418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1419
|
-
def setposdataprovider_liasetting(merchant_id, account_id, country
|
|
1419
|
+
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1420
1420
|
command = make_simple_command(:post, 'content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
|
1421
1421
|
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
|
|
1422
1422
|
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
|
|
@@ -20,13 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Content API for Shopping
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
|
-
# Shopping.
|
|
23
|
+
# Manage your product listings and accounts for Google Shopping
|
|
25
24
|
#
|
|
26
|
-
# @see https://developers.google.com/shopping-content
|
|
25
|
+
# @see https://developers.google.com/shopping-content/v2/
|
|
27
26
|
module ContentV2_1
|
|
28
27
|
VERSION = 'V2_1'
|
|
29
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201028'
|
|
30
29
|
|
|
31
30
|
# Manage your product listings and accounts for Google Shopping
|
|
32
31
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -185,15 +185,13 @@ module Google
|
|
|
185
185
|
# Status of the link between this Merchant Center account and the Ads account.
|
|
186
186
|
# Upon retrieval, it represents the actual status of the link and can be either `
|
|
187
187
|
# active` if it was approved in Google Ads or `pending` if it's pending approval.
|
|
188
|
-
# Upon insertion, it represents the intended status of the link. Re-uploading
|
|
189
|
-
# link with status `active` when it's still pending or with status `pending`
|
|
188
|
+
# Upon insertion, it represents the *intended* status of the link. Re-uploading
|
|
189
|
+
# a link with status `active` when it's still pending or with status `pending`
|
|
190
190
|
# when it's already active will have no effect: the status will remain unchanged.
|
|
191
191
|
# Re-uploading a link with deprecated status `inactive` is equivalent to not
|
|
192
192
|
# submitting the link at all and will delete the link if it was active or cancel
|
|
193
|
-
# the link request if it was pending.
|
|
194
|
-
#
|
|
195
|
-
# - "`active`"
|
|
196
|
-
# - "`pending`"
|
|
193
|
+
# the link request if it was pending. Acceptable values are: - "`active`" - "`
|
|
194
|
+
# pending`"
|
|
197
195
|
# Corresponds to the JSON property `status`
|
|
198
196
|
# @return [String]
|
|
199
197
|
attr_accessor :status
|
|
@@ -289,9 +287,7 @@ module Google
|
|
|
289
287
|
attr_accessor :gmb_email
|
|
290
288
|
|
|
291
289
|
# Status of the link between this Merchant Center account and the GMB account.
|
|
292
|
-
# Acceptable values are:
|
|
293
|
-
# - "`active`"
|
|
294
|
-
# - "`pending`"
|
|
290
|
+
# Acceptable values are: - "`active`" - "`pending`"
|
|
295
291
|
# Corresponds to the JSON property `status`
|
|
296
292
|
# @return [String]
|
|
297
293
|
attr_accessor :status
|
|
@@ -334,6 +330,43 @@ module Google
|
|
|
334
330
|
end
|
|
335
331
|
end
|
|
336
332
|
|
|
333
|
+
# Label assigned by CSS domain or CSS group to one of its sub-accounts.
|
|
334
|
+
class AccountLabel
|
|
335
|
+
include Google::Apis::Core::Hashable
|
|
336
|
+
|
|
337
|
+
# Output only. Immutable. The ID of account this label belongs to.
|
|
338
|
+
# Corresponds to the JSON property `accountId`
|
|
339
|
+
# @return [Fixnum]
|
|
340
|
+
attr_accessor :account_id
|
|
341
|
+
|
|
342
|
+
# Description for this label.
|
|
343
|
+
# Corresponds to the JSON property `description`
|
|
344
|
+
# @return [String]
|
|
345
|
+
attr_accessor :description
|
|
346
|
+
|
|
347
|
+
# Output only. Immutable. The ID of the label.
|
|
348
|
+
# Corresponds to the JSON property `labelId`
|
|
349
|
+
# @return [Fixnum]
|
|
350
|
+
attr_accessor :label_id
|
|
351
|
+
|
|
352
|
+
# The display name of this label.
|
|
353
|
+
# Corresponds to the JSON property `name`
|
|
354
|
+
# @return [String]
|
|
355
|
+
attr_accessor :name
|
|
356
|
+
|
|
357
|
+
def initialize(**args)
|
|
358
|
+
update!(**args)
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
# Update properties of this object
|
|
362
|
+
def update!(**args)
|
|
363
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
364
|
+
@description = args[:description] if args.key?(:description)
|
|
365
|
+
@label_id = args[:label_id] if args.key?(:label_id)
|
|
366
|
+
@name = args[:name] if args.key?(:name)
|
|
367
|
+
end
|
|
368
|
+
end
|
|
369
|
+
|
|
337
370
|
# The status of an account, i.e., information about its products, which is
|
|
338
371
|
# computed offline and not returned immediately at insertion time.
|
|
339
372
|
class AccountStatus
|
|
@@ -411,11 +444,8 @@ module Google
|
|
|
411
444
|
# @return [String]
|
|
412
445
|
attr_accessor :id
|
|
413
446
|
|
|
414
|
-
# Severity of the issue.
|
|
415
|
-
#
|
|
416
|
-
# - "`critical`"
|
|
417
|
-
# - "`error`"
|
|
418
|
-
# - "`suggestion`"
|
|
447
|
+
# Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`
|
|
448
|
+
# suggestion`"
|
|
419
449
|
# Corresponds to the JSON property `severity`
|
|
420
450
|
# @return [String]
|
|
421
451
|
attr_accessor :severity
|
|
@@ -506,10 +536,8 @@ module Google
|
|
|
506
536
|
class AccountStatusProducts
|
|
507
537
|
include Google::Apis::Core::Hashable
|
|
508
538
|
|
|
509
|
-
# The channel the data applies to.
|
|
510
|
-
#
|
|
511
|
-
# - "`local`"
|
|
512
|
-
# - "`online`"
|
|
539
|
+
# The channel the data applies to. Acceptable values are: - "`local`" - "`online`
|
|
540
|
+
# "
|
|
513
541
|
# Corresponds to the JSON property `channel`
|
|
514
542
|
# @return [String]
|
|
515
543
|
attr_accessor :channel
|
|
@@ -724,7 +752,7 @@ module Google
|
|
|
724
752
|
# Status of the link between this Merchant Center account and the YouTube
|
|
725
753
|
# channel. Upon retrieval, it represents the actual status of the link and can
|
|
726
754
|
# be either `active` if it was approved in YT Creator Studio or `pending` if it'
|
|
727
|
-
# s pending approval. Upon insertion, it represents the intended status of the
|
|
755
|
+
# s pending approval. Upon insertion, it represents the *intended* status of the
|
|
728
756
|
# link. Re-uploading a link with status `active` when it's still pending or with
|
|
729
757
|
# status `pending` when it's already active will have no effect: the status will
|
|
730
758
|
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
|
@@ -749,11 +777,10 @@ module Google
|
|
|
749
777
|
class AccountsAuthInfoResponse
|
|
750
778
|
include Google::Apis::Core::Hashable
|
|
751
779
|
|
|
752
|
-
# The account identifiers corresponding to the authenticated user.
|
|
753
|
-
#
|
|
754
|
-
# - For an
|
|
755
|
-
#
|
|
756
|
-
# defined.
|
|
780
|
+
# The account identifiers corresponding to the authenticated user. - For an
|
|
781
|
+
# individual account: only the merchant ID is defined - For an aggregator: only
|
|
782
|
+
# the aggregator ID is defined - For a subaccount of an MCA: both the merchant
|
|
783
|
+
# ID and the aggregator ID are defined.
|
|
757
784
|
# Corresponds to the JSON property `accountIdentifiers`
|
|
758
785
|
# @return [Array<Google::Apis::ContentV2_1::AccountIdentifier>]
|
|
759
786
|
attr_accessor :account_identifiers
|
|
@@ -857,14 +884,8 @@ module Google
|
|
|
857
884
|
# @return [Fixnum]
|
|
858
885
|
attr_accessor :merchant_id
|
|
859
886
|
|
|
860
|
-
# The method of the batch entry.
|
|
861
|
-
#
|
|
862
|
-
# - "`claimWebsite`"
|
|
863
|
-
# - "`delete`"
|
|
864
|
-
# - "`get`"
|
|
865
|
-
# - "`insert`"
|
|
866
|
-
# - "`link`"
|
|
867
|
-
# - "`update`"
|
|
887
|
+
# The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "`
|
|
888
|
+
# delete`" - "`get`" - "`insert`" - "`link`" - "`update`"
|
|
868
889
|
# Corresponds to the JSON property `method`
|
|
869
890
|
# @return [String]
|
|
870
891
|
attr_accessor :method_prop
|
|
@@ -905,19 +926,14 @@ module Google
|
|
|
905
926
|
include Google::Apis::Core::Hashable
|
|
906
927
|
|
|
907
928
|
# Action to perform for this link. The `"request"` action is only available to
|
|
908
|
-
# select merchants.
|
|
909
|
-
#
|
|
910
|
-
# - "`approve`"
|
|
911
|
-
# - "`remove`"
|
|
912
|
-
# - "`request`"
|
|
929
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
|
930
|
+
# request`"
|
|
913
931
|
# Corresponds to the JSON property `action`
|
|
914
932
|
# @return [String]
|
|
915
933
|
attr_accessor :action
|
|
916
934
|
|
|
917
|
-
# Type of the link between the two accounts.
|
|
918
|
-
#
|
|
919
|
-
# - "`channelPartner`"
|
|
920
|
-
# - "`eCommercePlatform`"
|
|
935
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
|
936
|
+
# channelPartner`" - "`eCommercePlatform`"
|
|
921
937
|
# Corresponds to the JSON property `linkType`
|
|
922
938
|
# @return [String]
|
|
923
939
|
attr_accessor :link_type
|
|
@@ -1016,19 +1032,14 @@ module Google
|
|
|
1016
1032
|
include Google::Apis::Core::Hashable
|
|
1017
1033
|
|
|
1018
1034
|
# Action to perform for this link. The `"request"` action is only available to
|
|
1019
|
-
# select merchants.
|
|
1020
|
-
#
|
|
1021
|
-
# - "`approve`"
|
|
1022
|
-
# - "`remove`"
|
|
1023
|
-
# - "`request`"
|
|
1035
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
|
1036
|
+
# request`"
|
|
1024
1037
|
# Corresponds to the JSON property `action`
|
|
1025
1038
|
# @return [String]
|
|
1026
1039
|
attr_accessor :action
|
|
1027
1040
|
|
|
1028
|
-
# Type of the link between the two accounts.
|
|
1029
|
-
#
|
|
1030
|
-
# - "`channelPartner`"
|
|
1031
|
-
# - "`eCommercePlatform`"
|
|
1041
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
|
1042
|
+
# channelPartner`" - "`eCommercePlatform`"
|
|
1032
1043
|
# Corresponds to the JSON property `linkType`
|
|
1033
1044
|
# @return [String]
|
|
1034
1045
|
attr_accessor :link_type
|
|
@@ -1223,9 +1234,7 @@ module Google
|
|
|
1223
1234
|
# @return [Fixnum]
|
|
1224
1235
|
attr_accessor :merchant_id
|
|
1225
1236
|
|
|
1226
|
-
# The method of the batch entry.
|
|
1227
|
-
# Acceptable values are:
|
|
1228
|
-
# - "`get`"
|
|
1237
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
1229
1238
|
# Corresponds to the JSON property `method`
|
|
1230
1239
|
# @return [String]
|
|
1231
1240
|
attr_accessor :method_prop
|
|
@@ -1377,10 +1386,7 @@ module Google
|
|
|
1377
1386
|
# @return [Fixnum]
|
|
1378
1387
|
attr_accessor :merchant_id
|
|
1379
1388
|
|
|
1380
|
-
# The method of the batch entry.
|
|
1381
|
-
# Acceptable values are:
|
|
1382
|
-
# - "`get`"
|
|
1383
|
-
# - "`update`"
|
|
1389
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
1384
1390
|
# Corresponds to the JSON property `method`
|
|
1385
1391
|
# @return [String]
|
|
1386
1392
|
attr_accessor :method_prop
|
|
@@ -1628,6 +1634,58 @@ module Google
|
|
|
1628
1634
|
end
|
|
1629
1635
|
end
|
|
1630
1636
|
|
|
1637
|
+
# Information about CSS domain.
|
|
1638
|
+
class Css
|
|
1639
|
+
include Google::Apis::Core::Hashable
|
|
1640
|
+
|
|
1641
|
+
# Output only. Immutable. The CSS domain ID.
|
|
1642
|
+
# Corresponds to the JSON property `cssDomainId`
|
|
1643
|
+
# @return [Fixnum]
|
|
1644
|
+
attr_accessor :css_domain_id
|
|
1645
|
+
|
|
1646
|
+
# Output only. Immutable. The ID of the CSS group this CSS domain is affiliated
|
|
1647
|
+
# with. Only populated for CSS group users.
|
|
1648
|
+
# Corresponds to the JSON property `cssGroupId`
|
|
1649
|
+
# @return [Fixnum]
|
|
1650
|
+
attr_accessor :css_group_id
|
|
1651
|
+
|
|
1652
|
+
# Output only. Immutable. The CSS domain's display name, used when space is
|
|
1653
|
+
# constrained.
|
|
1654
|
+
# Corresponds to the JSON property `displayName`
|
|
1655
|
+
# @return [String]
|
|
1656
|
+
attr_accessor :display_name
|
|
1657
|
+
|
|
1658
|
+
# Output only. Immutable. The CSS domain's full name.
|
|
1659
|
+
# Corresponds to the JSON property `fullName`
|
|
1660
|
+
# @return [String]
|
|
1661
|
+
attr_accessor :full_name
|
|
1662
|
+
|
|
1663
|
+
# Output only. Immutable. The CSS domain's homepage.
|
|
1664
|
+
# Corresponds to the JSON property `homepageUri`
|
|
1665
|
+
# @return [String]
|
|
1666
|
+
attr_accessor :homepage_uri
|
|
1667
|
+
|
|
1668
|
+
# A list of label IDs that are assigned to this CSS domain by its CSS group.
|
|
1669
|
+
# Only populated for CSS group users.
|
|
1670
|
+
# Corresponds to the JSON property `labelIds`
|
|
1671
|
+
# @return [Array<Fixnum>]
|
|
1672
|
+
attr_accessor :label_ids
|
|
1673
|
+
|
|
1674
|
+
def initialize(**args)
|
|
1675
|
+
update!(**args)
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
# Update properties of this object
|
|
1679
|
+
def update!(**args)
|
|
1680
|
+
@css_domain_id = args[:css_domain_id] if args.key?(:css_domain_id)
|
|
1681
|
+
@css_group_id = args[:css_group_id] if args.key?(:css_group_id)
|
|
1682
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1683
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
|
1684
|
+
@homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
|
|
1685
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
1686
|
+
end
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1631
1689
|
#
|
|
1632
1690
|
class CustomAttribute
|
|
1633
1691
|
include Google::Apis::Core::Hashable
|
|
@@ -1670,22 +1728,11 @@ module Google
|
|
|
1670
1728
|
# @return [String]
|
|
1671
1729
|
attr_accessor :description
|
|
1672
1730
|
|
|
1673
|
-
# Code of the return reason.
|
|
1674
|
-
#
|
|
1675
|
-
# - "`
|
|
1676
|
-
# - "`
|
|
1677
|
-
# - "`
|
|
1678
|
-
# - "`didNotMatchDescription`"
|
|
1679
|
-
# - "`doesNotFit`"
|
|
1680
|
-
# - "`expiredItem`"
|
|
1681
|
-
# - "`incorrectItemReceived`"
|
|
1682
|
-
# - "`noLongerNeeded`"
|
|
1683
|
-
# - "`notSpecified`"
|
|
1684
|
-
# - "`orderedWrongItem`"
|
|
1685
|
-
# - "`other`"
|
|
1686
|
-
# - "`qualityNotExpected`"
|
|
1687
|
-
# - "`receivedTooLate`"
|
|
1688
|
-
# - "`undeliverable`"
|
|
1731
|
+
# Code of the return reason. Acceptable values are: - "`betterPriceFound`" - "`
|
|
1732
|
+
# changedMind`" - "`damagedOrDefectiveItem`" - "`didNotMatchDescription`" - "`
|
|
1733
|
+
# doesNotFit`" - "`expiredItem`" - "`incorrectItemReceived`" - "`noLongerNeeded`"
|
|
1734
|
+
# - "`notSpecified`" - "`orderedWrongItem`" - "`other`" - "`qualityNotExpected`"
|
|
1735
|
+
# - "`receivedTooLate`" - "`undeliverable`"
|
|
1689
1736
|
# Corresponds to the JSON property `reasonCode`
|
|
1690
1737
|
# @return [String]
|
|
1691
1738
|
attr_accessor :reason_code
|
|
@@ -1746,11 +1793,8 @@ module Google
|
|
|
1746
1793
|
attr_accessor :attribute_language
|
|
1747
1794
|
|
|
1748
1795
|
# Required. The type of data feed. For product inventory feeds, only feeds for
|
|
1749
|
-
# local stores, not online stores, are supported.
|
|
1750
|
-
#
|
|
1751
|
-
# - "`local products`"
|
|
1752
|
-
# - "`product inventory`"
|
|
1753
|
-
# - "`products`"
|
|
1796
|
+
# local stores, not online stores, are supported. Acceptable values are: - "`
|
|
1797
|
+
# local products`" - "`product inventory`" - "`products`"
|
|
1754
1798
|
# Corresponds to the JSON property `contentType`
|
|
1755
1799
|
# @return [String]
|
|
1756
1800
|
attr_accessor :content_type
|
|
@@ -1863,15 +1907,9 @@ module Google
|
|
|
1863
1907
|
# @return [String]
|
|
1864
1908
|
attr_accessor :username
|
|
1865
1909
|
|
|
1866
|
-
# The day of the week the feed file should be fetched.
|
|
1867
|
-
#
|
|
1868
|
-
# - "`
|
|
1869
|
-
# - "`tuesday`"
|
|
1870
|
-
# - "`wednesday`"
|
|
1871
|
-
# - "`thursday`"
|
|
1872
|
-
# - "`friday`"
|
|
1873
|
-
# - "`saturday`"
|
|
1874
|
-
# - "`sunday`"
|
|
1910
|
+
# The day of the week the feed file should be fetched. Acceptable values are: - "
|
|
1911
|
+
# `monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`
|
|
1912
|
+
# saturday`" - "`sunday`"
|
|
1875
1913
|
# Corresponds to the JSON property `weekday`
|
|
1876
1914
|
# @return [String]
|
|
1877
1915
|
attr_accessor :weekday
|
|
@@ -1900,32 +1938,21 @@ module Google
|
|
|
1900
1938
|
|
|
1901
1939
|
# Delimiter for the separation of values in a delimiter-separated values feed.
|
|
1902
1940
|
# If not specified, the delimiter will be auto-detected. Ignored for non-DSV
|
|
1903
|
-
# data feeds.
|
|
1904
|
-
# Acceptable values are:
|
|
1905
|
-
# - "`pipe`"
|
|
1906
|
-
# - "`tab`"
|
|
1907
|
-
# - "`tilde`"
|
|
1941
|
+
# data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`"
|
|
1908
1942
|
# Corresponds to the JSON property `columnDelimiter`
|
|
1909
1943
|
# @return [String]
|
|
1910
1944
|
attr_accessor :column_delimiter
|
|
1911
1945
|
|
|
1912
1946
|
# Character encoding scheme of the data feed. If not specified, the encoding
|
|
1913
|
-
# will be auto-detected.
|
|
1914
|
-
#
|
|
1915
|
-
# - "`latin-1`"
|
|
1916
|
-
# - "`utf-16be`"
|
|
1917
|
-
# - "`utf-16le`"
|
|
1918
|
-
# - "`utf-8`"
|
|
1919
|
-
# - "`windows-1252`"
|
|
1947
|
+
# will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "`
|
|
1948
|
+
# utf-16le`" - "`utf-8`" - "`windows-1252`"
|
|
1920
1949
|
# Corresponds to the JSON property `fileEncoding`
|
|
1921
1950
|
# @return [String]
|
|
1922
1951
|
attr_accessor :file_encoding
|
|
1923
1952
|
|
|
1924
1953
|
# Specifies how double quotes are interpreted. If not specified, the mode will
|
|
1925
|
-
# be auto-detected. Ignored for non-DSV data feeds.
|
|
1926
|
-
#
|
|
1927
|
-
# - "`normal character`"
|
|
1928
|
-
# - "`value quoting`"
|
|
1954
|
+
# be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "`
|
|
1955
|
+
# normal character`" - "`value quoting`"
|
|
1929
1956
|
# Corresponds to the JSON property `quotingMode`
|
|
1930
1957
|
# @return [String]
|
|
1931
1958
|
attr_accessor :quoting_mode
|
|
@@ -1947,7 +1974,7 @@ module Google
|
|
|
1947
1974
|
class DatafeedStatus
|
|
1948
1975
|
include Google::Apis::Core::Hashable
|
|
1949
1976
|
|
|
1950
|
-
# The country for which the status is reported, represented as a
|
|
1977
|
+
# The country for which the status is reported, represented as a CLDR territory
|
|
1951
1978
|
# code.
|
|
1952
1979
|
# Corresponds to the JSON property `country`
|
|
1953
1980
|
# @return [String]
|
|
@@ -1989,12 +2016,10 @@ module Google
|
|
|
1989
2016
|
# @return [String]
|
|
1990
2017
|
attr_accessor :last_upload_date
|
|
1991
2018
|
|
|
1992
|
-
# The processing status of the feed.
|
|
1993
|
-
#
|
|
1994
|
-
# - "`
|
|
1995
|
-
#
|
|
1996
|
-
# - "`none`": The feed has not yet been processed. For example, a feed that has
|
|
1997
|
-
# never been uploaded will have this processing status.
|
|
2019
|
+
# The processing status of the feed. Acceptable values are: - "`"`failure`": The
|
|
2020
|
+
# feed could not be processed or all items had errors.`" - "`in progress`": The
|
|
2021
|
+
# feed is being processed. - "`none`": The feed has not yet been processed. For
|
|
2022
|
+
# example, a feed that has never been uploaded will have this processing status.
|
|
1998
2023
|
# - "`success`": The feed was processed successfully, though some items might
|
|
1999
2024
|
# have had errors.
|
|
2000
2025
|
# Corresponds to the JSON property `processingStatus`
|
|
@@ -2098,7 +2123,7 @@ module Google
|
|
|
2098
2123
|
include Google::Apis::Core::Hashable
|
|
2099
2124
|
|
|
2100
2125
|
# The country where the items in the feed will be included in the search index,
|
|
2101
|
-
# represented as a
|
|
2126
|
+
# represented as a CLDR territory code.
|
|
2102
2127
|
# Corresponds to the JSON property `country`
|
|
2103
2128
|
# @return [String]
|
|
2104
2129
|
attr_accessor :country
|
|
@@ -2111,12 +2136,9 @@ module Google
|
|
|
2111
2136
|
|
|
2112
2137
|
# The list of destinations to include for this target (corresponds to checked
|
|
2113
2138
|
# check boxes in Merchant Center). Default destinations are always included
|
|
2114
|
-
# unless provided in `excludedDestinations`.
|
|
2115
|
-
#
|
|
2116
|
-
#
|
|
2117
|
-
# - Shopping
|
|
2118
|
-
# - ShoppingActions
|
|
2119
|
-
# - SurfacesAcrossGoogle
|
|
2139
|
+
# unless provided in `excludedDestinations`. List of supported destinations (if
|
|
2140
|
+
# available to the account): - DisplayAds - Shopping - ShoppingActions -
|
|
2141
|
+
# SurfacesAcrossGoogle
|
|
2120
2142
|
# Corresponds to the JSON property `includedDestinations`
|
|
2121
2143
|
# @return [Array<String>]
|
|
2122
2144
|
attr_accessor :included_destinations
|
|
@@ -2183,13 +2205,8 @@ module Google
|
|
|
2183
2205
|
# @return [Fixnum]
|
|
2184
2206
|
attr_accessor :merchant_id
|
|
2185
2207
|
|
|
2186
|
-
# The method of the batch entry.
|
|
2187
|
-
#
|
|
2188
|
-
# - "`delete`"
|
|
2189
|
-
# - "`fetchNow`"
|
|
2190
|
-
# - "`get`"
|
|
2191
|
-
# - "`insert`"
|
|
2192
|
-
# - "`update`"
|
|
2208
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`
|
|
2209
|
+
# fetchNow`" - "`get`" - "`insert`" - "`update`"
|
|
2193
2210
|
# Corresponds to the JSON property `method`
|
|
2194
2211
|
# @return [String]
|
|
2195
2212
|
attr_accessor :method_prop
|
|
@@ -2369,9 +2386,7 @@ module Google
|
|
|
2369
2386
|
# @return [Fixnum]
|
|
2370
2387
|
attr_accessor :merchant_id
|
|
2371
2388
|
|
|
2372
|
-
# The method of the batch entry.
|
|
2373
|
-
# Acceptable values are:
|
|
2374
|
-
# - "`get`"
|
|
2389
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
2375
2390
|
# Corresponds to the JSON property `method`
|
|
2376
2391
|
# @return [String]
|
|
2377
2392
|
attr_accessor :method_prop
|
|
@@ -2698,8 +2713,8 @@ module Google
|
|
|
2698
2713
|
|
|
2699
2714
|
# A list of inclusive number of items upper bounds. The last value can be `"
|
|
2700
2715
|
# infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
|
|
2701
|
-
# 10 items", " 50 items". Must be non-empty. Can only be set
|
|
2702
|
-
# are not set.
|
|
2716
|
+
# 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set
|
|
2717
|
+
# if all other fields are not set.
|
|
2703
2718
|
# Corresponds to the JSON property `numberOfItems`
|
|
2704
2719
|
# @return [Array<String>]
|
|
2705
2720
|
attr_accessor :number_of_items
|
|
@@ -2715,8 +2730,9 @@ module Google
|
|
|
2715
2730
|
# A list of inclusive order price upper bounds. The last price's value can be `"
|
|
2716
2731
|
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
|
2717
2732
|
# "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
|
|
2718
|
-
# headers "<= $10", " $500". All prices within a service must
|
|
2719
|
-
# currency. Must be non-empty. Can only be set if all other fields
|
|
2733
|
+
# headers "<= $10", "<= $500", and "> $500". All prices within a service must
|
|
2734
|
+
# have the same currency. Must be non-empty. Can only be set if all other fields
|
|
2735
|
+
# are not set.
|
|
2720
2736
|
# Corresponds to the JSON property `prices`
|
|
2721
2737
|
# @return [Array<Google::Apis::ContentV2_1::Price>]
|
|
2722
2738
|
attr_accessor :prices
|
|
@@ -2724,8 +2740,8 @@ module Google
|
|
|
2724
2740
|
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
|
2725
2741
|
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
|
2726
2742
|
# unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
|
|
2727
|
-
# 10kg", " 50kg". All weights within a service must have the
|
|
2728
|
-
# non-empty. Can only be set if all other fields are not set.
|
|
2743
|
+
# 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the
|
|
2744
|
+
# same unit. Must be non-empty. Can only be set if all other fields are not set.
|
|
2729
2745
|
# Corresponds to the JSON property `weights`
|
|
2730
2746
|
# @return [Array<Google::Apis::ContentV2_1::Weight>]
|
|
2731
2747
|
attr_accessor :weights
|
|
@@ -2762,7 +2778,7 @@ module Google
|
|
|
2762
2778
|
attr_accessor :deadline_hour
|
|
2763
2779
|
|
|
2764
2780
|
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
|
2765
|
-
# in
|
|
2781
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
|
2766
2782
|
# Corresponds to the JSON property `deadlineTimezone`
|
|
2767
2783
|
# @return [String]
|
|
2768
2784
|
attr_accessor :deadline_timezone
|
|
@@ -2828,16 +2844,9 @@ module Google
|
|
|
2828
2844
|
# @return [String]
|
|
2829
2845
|
attr_accessor :id
|
|
2830
2846
|
|
|
2831
|
-
# The holiday type. Always present.
|
|
2832
|
-
#
|
|
2833
|
-
# - "`
|
|
2834
|
-
# - "`Easter`"
|
|
2835
|
-
# - "`Father's Day`"
|
|
2836
|
-
# - "`Halloween`"
|
|
2837
|
-
# - "`Independence Day (USA)`"
|
|
2838
|
-
# - "`Mother's Day`"
|
|
2839
|
-
# - "`Thanksgiving`"
|
|
2840
|
-
# - "`Valentine's Day`"
|
|
2847
|
+
# The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`
|
|
2848
|
+
# Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`
|
|
2849
|
+
# Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
|
|
2841
2850
|
# Corresponds to the JSON property `type`
|
|
2842
2851
|
# @return [String]
|
|
2843
2852
|
attr_accessor :type
|
|
@@ -2916,9 +2925,8 @@ module Google
|
|
|
2916
2925
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
2917
2926
|
attr_accessor :total_amount
|
|
2918
2927
|
|
|
2919
|
-
# [required] Type of the additional charge.
|
|
2920
|
-
#
|
|
2921
|
-
# - "`shipping`"
|
|
2928
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
2929
|
+
#
|
|
2922
2930
|
# Corresponds to the JSON property `type`
|
|
2923
2931
|
# @return [String]
|
|
2924
2932
|
attr_accessor :type
|
|
@@ -2934,15 +2942,31 @@ module Google
|
|
|
2934
2942
|
end
|
|
2935
2943
|
end
|
|
2936
2944
|
|
|
2945
|
+
# The IDs of labels that should be assigned to the CSS domain.
|
|
2946
|
+
class LabelIds
|
|
2947
|
+
include Google::Apis::Core::Hashable
|
|
2948
|
+
|
|
2949
|
+
# The list of label IDs.
|
|
2950
|
+
# Corresponds to the JSON property `labelIds`
|
|
2951
|
+
# @return [Array<Fixnum>]
|
|
2952
|
+
attr_accessor :label_ids
|
|
2953
|
+
|
|
2954
|
+
def initialize(**args)
|
|
2955
|
+
update!(**args)
|
|
2956
|
+
end
|
|
2957
|
+
|
|
2958
|
+
# Update properties of this object
|
|
2959
|
+
def update!(**args)
|
|
2960
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
|
2961
|
+
end
|
|
2962
|
+
end
|
|
2963
|
+
|
|
2937
2964
|
#
|
|
2938
2965
|
class LiaAboutPageSettings
|
|
2939
2966
|
include Google::Apis::Core::Hashable
|
|
2940
2967
|
|
|
2941
|
-
# The status of the verification process for the About page.
|
|
2942
|
-
#
|
|
2943
|
-
# - "`active`"
|
|
2944
|
-
# - "`inactive`"
|
|
2945
|
-
# - "`pending`"
|
|
2968
|
+
# The status of the verification process for the About page. Acceptable values
|
|
2969
|
+
# are: - "`active`" - "`inactive`" - "`pending`"
|
|
2946
2970
|
# Corresponds to the JSON property `status`
|
|
2947
2971
|
# @return [String]
|
|
2948
2972
|
attr_accessor :status
|
|
@@ -3034,20 +3058,14 @@ module Google
|
|
|
3034
3058
|
# @return [String]
|
|
3035
3059
|
attr_accessor :inventory_verification_contact_name
|
|
3036
3060
|
|
|
3037
|
-
# The status of the verification contact.
|
|
3038
|
-
#
|
|
3039
|
-
# - "`active`"
|
|
3040
|
-
# - "`inactive`"
|
|
3041
|
-
# - "`pending`"
|
|
3061
|
+
# The status of the verification contact. Acceptable values are: - "`active`" - "
|
|
3062
|
+
# `inactive`" - "`pending`"
|
|
3042
3063
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
|
3043
3064
|
# @return [String]
|
|
3044
3065
|
attr_accessor :inventory_verification_contact_status
|
|
3045
3066
|
|
|
3046
|
-
# The status of the inventory verification process.
|
|
3047
|
-
#
|
|
3048
|
-
# - "`active`"
|
|
3049
|
-
# - "`inactive`"
|
|
3050
|
-
# - "`pending`"
|
|
3067
|
+
# The status of the inventory verification process. Acceptable values are: - "`
|
|
3068
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3051
3069
|
# Corresponds to the JSON property `status`
|
|
3052
3070
|
# @return [String]
|
|
3053
3071
|
attr_accessor :status
|
|
@@ -3074,11 +3092,8 @@ module Google
|
|
|
3074
3092
|
# @return [String]
|
|
3075
3093
|
attr_accessor :shipping_cost_policy_url
|
|
3076
3094
|
|
|
3077
|
-
# The status of the ?On display to order? feature.
|
|
3078
|
-
#
|
|
3079
|
-
# - "`active`"
|
|
3080
|
-
# - "`inactive`"
|
|
3081
|
-
# - "`pending`"
|
|
3095
|
+
# The status of the ?On display to order? feature. Acceptable values are: - "`
|
|
3096
|
+
# active`" - "`inactive`" - "`pending`"
|
|
3082
3097
|
# Corresponds to the JSON property `status`
|
|
3083
3098
|
# @return [String]
|
|
3084
3099
|
attr_accessor :status
|
|
@@ -3219,14 +3234,10 @@ module Google
|
|
|
3219
3234
|
# @return [Fixnum]
|
|
3220
3235
|
attr_accessor :merchant_id
|
|
3221
3236
|
|
|
3222
|
-
# The method of the batch entry.
|
|
3223
|
-
#
|
|
3224
|
-
# - "`
|
|
3225
|
-
#
|
|
3226
|
-
# - "`requestGmbAccess`"
|
|
3227
|
-
# - "`requestInventoryVerification`"
|
|
3228
|
-
# - "`setInventoryVerificationContact`"
|
|
3229
|
-
# - "`update`"
|
|
3237
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`
|
|
3238
|
+
# getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
|
|
3239
|
+
# requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
|
|
3240
|
+
# update`"
|
|
3230
3241
|
# Corresponds to the JSON property `method`
|
|
3231
3242
|
# @return [String]
|
|
3232
3243
|
attr_accessor :method_prop
|
|
@@ -3512,20 +3523,15 @@ module Google
|
|
|
3512
3523
|
class LinkService
|
|
3513
3524
|
include Google::Apis::Core::Hashable
|
|
3514
3525
|
|
|
3515
|
-
# Service provided to or by the linked account.
|
|
3516
|
-
#
|
|
3517
|
-
#
|
|
3518
|
-
# - "`shoppingActionsProductManagement`"
|
|
3519
|
-
# - "`shoppingAdsProductManagement`"
|
|
3526
|
+
# Service provided to or by the linked account. Acceptable values are: - "`
|
|
3527
|
+
# shoppingActionsOrderManagement`" - "`shoppingActionsProductManagement`" - "`
|
|
3528
|
+
# shoppingAdsProductManagement`"
|
|
3520
3529
|
# Corresponds to the JSON property `service`
|
|
3521
3530
|
# @return [String]
|
|
3522
3531
|
attr_accessor :service
|
|
3523
3532
|
|
|
3524
|
-
# Status of the link
|
|
3525
|
-
#
|
|
3526
|
-
# - "`active`"
|
|
3527
|
-
# - "`inactive`"
|
|
3528
|
-
# - "`pending`"
|
|
3533
|
+
# Status of the link Acceptable values are: - "`active`" - "`inactive`" - "`
|
|
3534
|
+
# pending`"
|
|
3529
3535
|
# Corresponds to the JSON property `status`
|
|
3530
3536
|
# @return [String]
|
|
3531
3537
|
attr_accessor :status
|
|
@@ -3566,6 +3572,84 @@ module Google
|
|
|
3566
3572
|
end
|
|
3567
3573
|
end
|
|
3568
3574
|
|
|
3575
|
+
# Response message for the `ListAccountLabels` method.
|
|
3576
|
+
class ListAccountLabelsResponse
|
|
3577
|
+
include Google::Apis::Core::Hashable
|
|
3578
|
+
|
|
3579
|
+
# The labels from the specified account.
|
|
3580
|
+
# Corresponds to the JSON property `accountLabels`
|
|
3581
|
+
# @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
|
|
3582
|
+
attr_accessor :account_labels
|
|
3583
|
+
|
|
3584
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3585
|
+
# field is omitted, there are no subsequent pages.
|
|
3586
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3587
|
+
# @return [String]
|
|
3588
|
+
attr_accessor :next_page_token
|
|
3589
|
+
|
|
3590
|
+
def initialize(**args)
|
|
3591
|
+
update!(**args)
|
|
3592
|
+
end
|
|
3593
|
+
|
|
3594
|
+
# Update properties of this object
|
|
3595
|
+
def update!(**args)
|
|
3596
|
+
@account_labels = args[:account_labels] if args.key?(:account_labels)
|
|
3597
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3598
|
+
end
|
|
3599
|
+
end
|
|
3600
|
+
|
|
3601
|
+
# The response message for the `ListCsses` method
|
|
3602
|
+
class ListCssesResponse
|
|
3603
|
+
include Google::Apis::Core::Hashable
|
|
3604
|
+
|
|
3605
|
+
# The CSS domains affiliated with the specified CSS group.
|
|
3606
|
+
# Corresponds to the JSON property `csses`
|
|
3607
|
+
# @return [Array<Google::Apis::ContentV2_1::Css>]
|
|
3608
|
+
attr_accessor :csses
|
|
3609
|
+
|
|
3610
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3611
|
+
# field is omitted, there are no subsequent pages.
|
|
3612
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3613
|
+
# @return [String]
|
|
3614
|
+
attr_accessor :next_page_token
|
|
3615
|
+
|
|
3616
|
+
def initialize(**args)
|
|
3617
|
+
update!(**args)
|
|
3618
|
+
end
|
|
3619
|
+
|
|
3620
|
+
# Update properties of this object
|
|
3621
|
+
def update!(**args)
|
|
3622
|
+
@csses = args[:csses] if args.key?(:csses)
|
|
3623
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3624
|
+
end
|
|
3625
|
+
end
|
|
3626
|
+
|
|
3627
|
+
# Response message for the `ListRepricingRules` method.
|
|
3628
|
+
class ListRepricingRulesResponse
|
|
3629
|
+
include Google::Apis::Core::Hashable
|
|
3630
|
+
|
|
3631
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
3632
|
+
# field is omitted, there are no subsequent pages.
|
|
3633
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3634
|
+
# @return [String]
|
|
3635
|
+
attr_accessor :next_page_token
|
|
3636
|
+
|
|
3637
|
+
# The rules from the specified merchant.
|
|
3638
|
+
# Corresponds to the JSON property `repricingRules`
|
|
3639
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRule>]
|
|
3640
|
+
attr_accessor :repricing_rules
|
|
3641
|
+
|
|
3642
|
+
def initialize(**args)
|
|
3643
|
+
update!(**args)
|
|
3644
|
+
end
|
|
3645
|
+
|
|
3646
|
+
# Update properties of this object
|
|
3647
|
+
def update!(**args)
|
|
3648
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3649
|
+
@repricing_rules = args[:repricing_rules] if args.key?(:repricing_rules)
|
|
3650
|
+
end
|
|
3651
|
+
end
|
|
3652
|
+
|
|
3569
3653
|
# Local inventory resource. For accepted attribute values, see the local product
|
|
3570
3654
|
# inventory feed specification.
|
|
3571
3655
|
class LocalInventory
|
|
@@ -3590,7 +3674,7 @@ module Google
|
|
|
3590
3674
|
|
|
3591
3675
|
# Supported pickup method for this offer. Unless the value is "not supported",
|
|
3592
3676
|
# this field must be submitted together with `pickupSla`. For accepted attribute
|
|
3593
|
-
# values, see the local product inventory feed specification.
|
|
3677
|
+
# values, see the local product inventory feed // specification.
|
|
3594
3678
|
# Corresponds to the JSON property `pickupMethod`
|
|
3595
3679
|
# @return [String]
|
|
3596
3680
|
attr_accessor :pickup_method
|
|
@@ -3686,9 +3770,7 @@ module Google
|
|
|
3686
3770
|
# @return [Fixnum]
|
|
3687
3771
|
attr_accessor :merchant_id
|
|
3688
3772
|
|
|
3689
|
-
# Method of the batch request entry.
|
|
3690
|
-
# Acceptable values are:
|
|
3691
|
-
# - "`insert`"
|
|
3773
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
3692
3774
|
# Corresponds to the JSON property `method`
|
|
3693
3775
|
# @return [String]
|
|
3694
3776
|
attr_accessor :method_prop
|
|
@@ -3936,13 +4018,8 @@ module Google
|
|
|
3936
4018
|
# @return [String]
|
|
3937
4019
|
attr_accessor :shipment_unit_id
|
|
3938
4020
|
|
|
3939
|
-
# State of the item.
|
|
3940
|
-
#
|
|
3941
|
-
# - "`canceled`"
|
|
3942
|
-
# - "`new`"
|
|
3943
|
-
# - "`received`"
|
|
3944
|
-
# - "`refunded`"
|
|
3945
|
-
# - "`rejected`"
|
|
4021
|
+
# State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
|
|
4022
|
+
# received`" - "`refunded`" - "`rejected`"
|
|
3946
4023
|
# Corresponds to the JSON property `state`
|
|
3947
4024
|
# @return [String]
|
|
3948
4025
|
attr_accessor :state
|
|
@@ -4069,8 +4146,7 @@ module Google
|
|
|
4069
4146
|
end
|
|
4070
4147
|
|
|
4071
4148
|
# Order. Production access (all methods) requires the order manager role.
|
|
4072
|
-
# Sandbox access does not.
|
|
4073
|
-
# orders ==)
|
|
4149
|
+
# Sandbox access does not.
|
|
4074
4150
|
class Order
|
|
4075
4151
|
include Google::Apis::Core::Hashable
|
|
4076
4152
|
|
|
@@ -4140,12 +4216,8 @@ module Google
|
|
|
4140
4216
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4141
4217
|
attr_accessor :net_tax_amount
|
|
4142
4218
|
|
|
4143
|
-
# The status of the payment.
|
|
4144
|
-
#
|
|
4145
|
-
# - "`paymentCaptured`"
|
|
4146
|
-
# - "`paymentRejected`"
|
|
4147
|
-
# - "`paymentSecured`"
|
|
4148
|
-
# - "`pendingAuthorization`"
|
|
4219
|
+
# The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
|
|
4220
|
+
# paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
|
|
4149
4221
|
# Corresponds to the JSON property `paymentStatus`
|
|
4150
4222
|
# @return [String]
|
|
4151
4223
|
attr_accessor :payment_status
|
|
@@ -4160,25 +4232,22 @@ module Google
|
|
|
4160
4232
|
# @return [String]
|
|
4161
4233
|
attr_accessor :placed_date
|
|
4162
4234
|
|
|
4163
|
-
# Promotions associated with the order.
|
|
4164
|
-
#
|
|
4165
|
-
#
|
|
4166
|
-
#
|
|
4167
|
-
#
|
|
4168
|
-
#
|
|
4169
|
-
#
|
|
4170
|
-
#
|
|
4171
|
-
#
|
|
4172
|
-
#
|
|
4173
|
-
# - To calculate price paid by the customer for a single line item including the
|
|
4174
|
-
# discount in case of multiple quantity: For each promotion, divide the `
|
|
4235
|
+
# Promotions associated with the order. To determine which promotions apply to
|
|
4236
|
+
# which products, check the `Promotions[].appliedItems[].lineItemId` field
|
|
4237
|
+
# against the `LineItems[].id` field for each promotion. If a promotion is
|
|
4238
|
+
# applied to more than 1 offerId, divide the discount value by the number of
|
|
4239
|
+
# affected offers to determine how much discount to apply to each offerId.
|
|
4240
|
+
# Examples: 1. To calculate price paid by the customer for a single line item
|
|
4241
|
+
# including the discount: For each promotion, subtract the `LineItems[].
|
|
4242
|
+
# adjustments[].priceAdjustment.value` amount from the `LineItems[].Price.value`.
|
|
4243
|
+
# 2. To calculate price paid by the customer for a single line item including
|
|
4244
|
+
# the discount in case of multiple quantity: For each promotion, divide the `
|
|
4175
4245
|
# LineItems[].adjustments[].priceAdjustment.value` by the quantity of products
|
|
4176
4246
|
# then subtract the resulting value from the `LineItems[].Product.Price.value`
|
|
4177
|
-
# for each quantity item.
|
|
4178
|
-
#
|
|
4179
|
-
#
|
|
4180
|
-
#
|
|
4181
|
-
# More details about the program are here.
|
|
4247
|
+
# for each quantity item. Only 1 promotion can be applied to an offerId in a
|
|
4248
|
+
# given order. To refund an item which had a promotion applied to it, make sure
|
|
4249
|
+
# to refund the amount after first subtracting the promotion discount from the
|
|
4250
|
+
# item price. More details about the program are here.
|
|
4182
4251
|
# Corresponds to the JSON property `promotions`
|
|
4183
4252
|
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
|
|
4184
4253
|
attr_accessor :promotions
|
|
@@ -4203,25 +4272,15 @@ module Google
|
|
|
4203
4272
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4204
4273
|
attr_accessor :shipping_cost_tax
|
|
4205
4274
|
|
|
4206
|
-
# The status of the order.
|
|
4207
|
-
#
|
|
4208
|
-
# - "`
|
|
4209
|
-
# - "`delivered`"
|
|
4210
|
-
# - "`inProgress`"
|
|
4211
|
-
# - "`partiallyDelivered`"
|
|
4212
|
-
# - "`partiallyReturned`"
|
|
4213
|
-
# - "`partiallyShipped`"
|
|
4214
|
-
# - "`pendingShipment`"
|
|
4215
|
-
# - "`returned`"
|
|
4216
|
-
# - "`shipped`"
|
|
4275
|
+
# The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
|
|
4276
|
+
# - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
|
|
4277
|
+
# partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
|
|
4217
4278
|
# Corresponds to the JSON property `status`
|
|
4218
4279
|
# @return [String]
|
|
4219
4280
|
attr_accessor :status
|
|
4220
4281
|
|
|
4221
|
-
# The party responsible for collecting and remitting taxes.
|
|
4222
|
-
#
|
|
4223
|
-
# - "`marketplaceFacilitator`"
|
|
4224
|
-
# - "`merchant`"
|
|
4282
|
+
# The party responsible for collecting and remitting taxes. Acceptable values
|
|
4283
|
+
# are: - "`marketplaceFacilitator`" - "`merchant`"
|
|
4225
4284
|
# Corresponds to the JSON property `taxCollector`
|
|
4226
4285
|
# @return [String]
|
|
4227
4286
|
attr_accessor :tax_collector
|
|
@@ -4267,11 +4326,8 @@ module Google
|
|
|
4267
4326
|
attr_accessor :country
|
|
4268
4327
|
|
|
4269
4328
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
4270
|
-
# example:
|
|
4271
|
-
#
|
|
4272
|
-
# 1600 Amphitheatre Parkway
|
|
4273
|
-
# Mountain View, CA, 94043
|
|
4274
|
-
# United States
|
|
4329
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
4330
|
+
# States
|
|
4275
4331
|
# Corresponds to the JSON property `fullAddress`
|
|
4276
4332
|
# @return [Array<String>]
|
|
4277
4333
|
attr_accessor :full_address
|
|
@@ -4330,14 +4386,9 @@ module Google
|
|
|
4330
4386
|
class OrderCancellation
|
|
4331
4387
|
include Google::Apis::Core::Hashable
|
|
4332
4388
|
|
|
4333
|
-
# The actor that created the cancellation.
|
|
4334
|
-
#
|
|
4335
|
-
# - "`
|
|
4336
|
-
# - "`googleBot`"
|
|
4337
|
-
# - "`googleCustomerService`"
|
|
4338
|
-
# - "`googlePayments`"
|
|
4339
|
-
# - "`googleSabre`"
|
|
4340
|
-
# - "`merchant`"
|
|
4389
|
+
# The actor that created the cancellation. Acceptable values are: - "`customer`"
|
|
4390
|
+
# - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
|
|
4391
|
+
# googleSabre`" - "`merchant`"
|
|
4341
4392
|
# Corresponds to the JSON property `actor`
|
|
4342
4393
|
# @return [String]
|
|
4343
4394
|
attr_accessor :actor
|
|
@@ -4355,35 +4406,18 @@ module Google
|
|
|
4355
4406
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
|
4356
4407
|
# reason will lead to the removal of the product from Shopping Actions until you
|
|
4357
4408
|
# make an update to that product. This will not affect your Shopping ads.
|
|
4358
|
-
# Acceptable values are:
|
|
4359
|
-
# - "`
|
|
4360
|
-
# - "`
|
|
4361
|
-
# - "`
|
|
4362
|
-
# - "`
|
|
4363
|
-
# - "`
|
|
4364
|
-
# - "`
|
|
4365
|
-
# - "`
|
|
4366
|
-
# - "`
|
|
4367
|
-
# - "`
|
|
4368
|
-
# - "`
|
|
4369
|
-
#
|
|
4370
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
4371
|
-
# - "`failToPushOrderToMerchant`"
|
|
4372
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
4373
|
-
# - "`invalidCoupon`"
|
|
4374
|
-
# - "`malformedShippingAddress`"
|
|
4375
|
-
# - "`merchantDidNotShipOnTime`"
|
|
4376
|
-
# - "`noInventory`"
|
|
4377
|
-
# - "`orderTimeout`"
|
|
4378
|
-
# - "`other`"
|
|
4379
|
-
# - "`paymentAbuse`"
|
|
4380
|
-
# - "`paymentDeclined`"
|
|
4381
|
-
# - "`priceError`"
|
|
4382
|
-
# - "`returnRefundAbuse`"
|
|
4383
|
-
# - "`shippingPriceError`"
|
|
4384
|
-
# - "`taxError`"
|
|
4385
|
-
# - "`undeliverableShippingAddress`"
|
|
4386
|
-
# - "`unsupportedPoBoxAddress`"
|
|
4409
|
+
# Acceptable values are: - "`autoPostInternal`" - "`
|
|
4410
|
+
# autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
|
|
4411
|
+
# autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
4412
|
+
# couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "`
|
|
4413
|
+
# customerSupportRequested`" - "`failToPushOrderGoogleError`" - "`
|
|
4414
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
4415
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
4416
|
+
# invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" -
|
|
4417
|
+
# "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
|
|
4418
|
+
# paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
|
|
4419
|
+
# shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
4420
|
+
# unsupportedPoBoxAddress`"
|
|
4387
4421
|
# Corresponds to the JSON property `reason`
|
|
4388
4422
|
# @return [String]
|
|
4389
4423
|
attr_accessor :reason
|
|
@@ -4418,7 +4452,7 @@ module Google
|
|
|
4418
4452
|
|
|
4419
4453
|
# Email address for the merchant to send value-added tax or invoice
|
|
4420
4454
|
# documentation of the order. Only the last document sent is made available to
|
|
4421
|
-
# the customer. For more information, see
|
|
4455
|
+
# the customer. For more information, see About automated VAT invoicing for
|
|
4422
4456
|
# Shopping Actions.
|
|
4423
4457
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
|
4424
4458
|
# @return [String]
|
|
@@ -4483,10 +4517,8 @@ module Google
|
|
|
4483
4517
|
# cases this selection might not be known, so this field would be empty. If a
|
|
4484
4518
|
# customer selected `granted` in their most recent order, they can be subscribed
|
|
4485
4519
|
# to marketing emails. Customers who have chosen `denied` must not be subscribed,
|
|
4486
|
-
# or must be unsubscribed if already opted-in.
|
|
4487
|
-
#
|
|
4488
|
-
# - "`denied`"
|
|
4489
|
-
# - "`granted`"
|
|
4520
|
+
# or must be unsubscribed if already opted-in. Acceptable values are: - "`
|
|
4521
|
+
# denied`" - "`granted`"
|
|
4490
4522
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
|
4491
4523
|
# @return [String]
|
|
4492
4524
|
attr_accessor :explicit_marketing_preference
|
|
@@ -4680,9 +4712,7 @@ module Google
|
|
|
4680
4712
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
4681
4713
|
attr_accessor :tax_adjustment
|
|
4682
4714
|
|
|
4683
|
-
# Type of this adjustment.
|
|
4684
|
-
# Acceptable values are:
|
|
4685
|
-
# - "`promotion`"
|
|
4715
|
+
# Type of this adjustment. Acceptable values are: - "`promotion`"
|
|
4686
4716
|
# Corresponds to the JSON property `type`
|
|
4687
4717
|
# @return [String]
|
|
4688
4718
|
attr_accessor :type
|
|
@@ -4708,11 +4738,8 @@ module Google
|
|
|
4708
4738
|
# @return [String]
|
|
4709
4739
|
attr_accessor :brand
|
|
4710
4740
|
|
|
4711
|
-
# Condition or state of the item.
|
|
4712
|
-
#
|
|
4713
|
-
# - "`new`"
|
|
4714
|
-
# - "`refurbished`"
|
|
4715
|
-
# - "`used`"
|
|
4741
|
+
# Condition or state of the item. Acceptable values are: - "`new`" - "`
|
|
4742
|
+
# refurbished`" - "`used`"
|
|
4716
4743
|
# Corresponds to the JSON property `condition`
|
|
4717
4744
|
# @return [String]
|
|
4718
4745
|
attr_accessor :condition
|
|
@@ -4767,7 +4794,7 @@ module Google
|
|
|
4767
4794
|
# @return [String]
|
|
4768
4795
|
attr_accessor :shown_image
|
|
4769
4796
|
|
|
4770
|
-
# The CLDR territory code of the target country of the product.
|
|
4797
|
+
# The CLDR territory // code of the target country of the product.
|
|
4771
4798
|
# Corresponds to the JSON property `targetCountry`
|
|
4772
4799
|
# @return [String]
|
|
4773
4800
|
attr_accessor :target_country
|
|
@@ -4916,10 +4943,8 @@ module Google
|
|
|
4916
4943
|
attr_accessor :ship_by_date
|
|
4917
4944
|
|
|
4918
4945
|
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
|
4919
|
-
# applicable for this shipment.
|
|
4920
|
-
#
|
|
4921
|
-
# - "`delivery`"
|
|
4922
|
-
# - "`pickup`"
|
|
4946
|
+
# applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
|
|
4947
|
+
# "
|
|
4923
4948
|
# Corresponds to the JSON property `type`
|
|
4924
4949
|
# @return [String]
|
|
4925
4950
|
attr_accessor :type
|
|
@@ -5049,13 +5074,9 @@ module Google
|
|
|
5049
5074
|
# @return [String]
|
|
5050
5075
|
attr_accessor :location_id
|
|
5051
5076
|
|
|
5052
|
-
# The pickup type of this order.
|
|
5053
|
-
#
|
|
5054
|
-
#
|
|
5055
|
-
# - "`merchantStoreCurbside`"
|
|
5056
|
-
# - "`merchantStoreLocker`"
|
|
5057
|
-
# - "`thirdPartyPickupPoint`"
|
|
5058
|
-
# - "`thirdPartyLocker`"
|
|
5077
|
+
# The pickup type of this order. Acceptable values are: - "`merchantStore`" - "`
|
|
5078
|
+
# merchantStoreCurbside`" - "`merchantStoreLocker`" - "`thirdPartyPickupPoint`" -
|
|
5079
|
+
# "`thirdPartyLocker`"
|
|
5059
5080
|
# Corresponds to the JSON property `pickupType`
|
|
5060
5081
|
# @return [String]
|
|
5061
5082
|
attr_accessor :pickup_type
|
|
@@ -5123,10 +5144,7 @@ module Google
|
|
|
5123
5144
|
attr_accessor :end_time
|
|
5124
5145
|
|
|
5125
5146
|
# Required. The party funding the promotion. Only `merchant` is supported for `
|
|
5126
|
-
# orders.createtestorder`.
|
|
5127
|
-
# Acceptable values are:
|
|
5128
|
-
# - "`google`"
|
|
5129
|
-
# - "`merchant`"
|
|
5147
|
+
# orders.createtestorder`. Acceptable values are: - "`google`" - "`merchant`"
|
|
5130
5148
|
# Corresponds to the JSON property `funder`
|
|
5131
5149
|
# @return [String]
|
|
5132
5150
|
attr_accessor :funder
|
|
@@ -5156,22 +5174,11 @@ module Google
|
|
|
5156
5174
|
attr_accessor :start_time
|
|
5157
5175
|
|
|
5158
5176
|
# Required. The category of the promotion. Only `moneyOff` is supported for `
|
|
5159
|
-
# orders.createtestorder`.
|
|
5160
|
-
#
|
|
5161
|
-
# - "`
|
|
5162
|
-
# - "`
|
|
5163
|
-
# - "`
|
|
5164
|
-
# - "`buyMGetPercentOff`"
|
|
5165
|
-
# - "`freeGift`"
|
|
5166
|
-
# - "`freeGiftWithItemId`"
|
|
5167
|
-
# - "`freeGiftWithValue`"
|
|
5168
|
-
# - "`freeShippingOvernight`"
|
|
5169
|
-
# - "`freeShippingStandard`"
|
|
5170
|
-
# - "`freeShippingTwoDay`"
|
|
5171
|
-
# - "`moneyOff`"
|
|
5172
|
-
# - "`percentOff`"
|
|
5173
|
-
# - "`rewardPoints`"
|
|
5174
|
-
# - "`salePrice`"
|
|
5177
|
+
# orders.createtestorder`. Acceptable values are: - "`buyMGetMoneyOff`" - "`
|
|
5178
|
+
# buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "`buyMGetPercentOff`" - "`
|
|
5179
|
+
# freeGift`" - "`freeGiftWithItemId`" - "`freeGiftWithValue`" - "`
|
|
5180
|
+
# freeShippingOvernight`" - "`freeShippingStandard`" - "`freeShippingTwoDay`" - "
|
|
5181
|
+
# `moneyOff`" - "`percentOff`" - "`rewardPoints`" - "`salePrice`"
|
|
5175
5182
|
# Corresponds to the JSON property `subtype`
|
|
5176
5183
|
# @return [String]
|
|
5177
5184
|
attr_accessor :subtype
|
|
@@ -5188,10 +5195,7 @@ module Google
|
|
|
5188
5195
|
attr_accessor :title
|
|
5189
5196
|
|
|
5190
5197
|
# Required. The scope of the promotion. Only `product` is supported for `orders.
|
|
5191
|
-
# createtestorder`.
|
|
5192
|
-
# Acceptable values are:
|
|
5193
|
-
# - "`product`"
|
|
5194
|
-
# - "`shipping`"
|
|
5198
|
+
# createtestorder`. Acceptable values are: - "`product`" - "`shipping`"
|
|
5195
5199
|
# Corresponds to the JSON property `type`
|
|
5196
5200
|
# @return [String]
|
|
5197
5201
|
attr_accessor :type
|
|
@@ -5259,13 +5263,8 @@ module Google
|
|
|
5259
5263
|
class OrderRefund
|
|
5260
5264
|
include Google::Apis::Core::Hashable
|
|
5261
5265
|
|
|
5262
|
-
# The actor that created the refund.
|
|
5263
|
-
#
|
|
5264
|
-
# - "`customer`"
|
|
5265
|
-
# - "`googleBot`"
|
|
5266
|
-
# - "`googleCustomerService`"
|
|
5267
|
-
# - "`googlePayments`"
|
|
5268
|
-
# - "`googleSabre`"
|
|
5266
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5267
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5269
5268
|
# - "`merchant`"
|
|
5270
5269
|
# Corresponds to the JSON property `actor`
|
|
5271
5270
|
# @return [String]
|
|
@@ -5281,52 +5280,23 @@ module Google
|
|
|
5281
5280
|
# @return [String]
|
|
5282
5281
|
attr_accessor :creation_date
|
|
5283
5282
|
|
|
5284
|
-
# The reason for the refund.
|
|
5285
|
-
#
|
|
5286
|
-
# - "`
|
|
5287
|
-
# - "`
|
|
5288
|
-
# - "`
|
|
5289
|
-
# - "`
|
|
5290
|
-
# - "`
|
|
5291
|
-
# - "`
|
|
5292
|
-
# - "`
|
|
5293
|
-
# - "`
|
|
5294
|
-
# - "`
|
|
5295
|
-
# - "`
|
|
5296
|
-
# - "`
|
|
5297
|
-
# - "`
|
|
5298
|
-
# - "`
|
|
5299
|
-
# - "`
|
|
5300
|
-
# - "`
|
|
5301
|
-
# - "`failToPushOrderGoogleError`"
|
|
5302
|
-
# - "`failToPushOrderMerchantError`"
|
|
5303
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
5304
|
-
# - "`failToPushOrderToMerchant`"
|
|
5305
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
5306
|
-
# - "`feeAdjustment`"
|
|
5307
|
-
# - "`invalidCoupon`"
|
|
5308
|
-
# - "`lateShipmentCredit`"
|
|
5309
|
-
# - "`malformedShippingAddress`"
|
|
5310
|
-
# - "`merchantDidNotShipOnTime`"
|
|
5311
|
-
# - "`noInventory`"
|
|
5312
|
-
# - "`orderTimeout`"
|
|
5313
|
-
# - "`other`"
|
|
5314
|
-
# - "`paymentAbuse`"
|
|
5315
|
-
# - "`paymentDeclined`"
|
|
5316
|
-
# - "`priceAdjustment`"
|
|
5317
|
-
# - "`priceError`"
|
|
5318
|
-
# - "`productArrivedDamaged`"
|
|
5319
|
-
# - "`productNotAsDescribed`"
|
|
5320
|
-
# - "`promoReallocation`"
|
|
5321
|
-
# - "`qualityNotAsExpected`"
|
|
5322
|
-
# - "`returnRefundAbuse`"
|
|
5323
|
-
# - "`shippingCostAdjustment`"
|
|
5324
|
-
# - "`shippingPriceError`"
|
|
5325
|
-
# - "`taxAdjustment`"
|
|
5326
|
-
# - "`taxError`"
|
|
5327
|
-
# - "`undeliverableShippingAddress`"
|
|
5328
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5329
|
-
# - "`wrongProductShipped`"
|
|
5283
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
5284
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
5285
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
5286
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
5287
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5288
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
5289
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
5290
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
5291
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
5292
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
5293
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
5294
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
5295
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
5296
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
5297
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
5298
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
5299
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5330
5300
|
# Corresponds to the JSON property `reason`
|
|
5331
5301
|
# @return [String]
|
|
5332
5302
|
attr_accessor :reason
|
|
@@ -5350,8 +5320,7 @@ module Google
|
|
|
5350
5320
|
end
|
|
5351
5321
|
end
|
|
5352
5322
|
|
|
5353
|
-
# Order disbursement. All methods require the payment analyst role.
|
|
5354
|
-
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
|
5323
|
+
# Order disbursement. All methods require the payment analyst role.
|
|
5355
5324
|
class OrderReportDisbursement
|
|
5356
5325
|
include Google::Apis::Core::Hashable
|
|
5357
5326
|
|
|
@@ -5465,13 +5434,8 @@ module Google
|
|
|
5465
5434
|
class OrderReturn
|
|
5466
5435
|
include Google::Apis::Core::Hashable
|
|
5467
5436
|
|
|
5468
|
-
# The actor that created the refund.
|
|
5469
|
-
#
|
|
5470
|
-
# - "`customer`"
|
|
5471
|
-
# - "`googleBot`"
|
|
5472
|
-
# - "`googleCustomerService`"
|
|
5473
|
-
# - "`googlePayments`"
|
|
5474
|
-
# - "`googleSabre`"
|
|
5437
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
|
5438
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
|
5475
5439
|
# - "`merchant`"
|
|
5476
5440
|
# Corresponds to the JSON property `actor`
|
|
5477
5441
|
# @return [String]
|
|
@@ -5487,21 +5451,13 @@ module Google
|
|
|
5487
5451
|
# @return [Fixnum]
|
|
5488
5452
|
attr_accessor :quantity
|
|
5489
5453
|
|
|
5490
|
-
# The reason for the return.
|
|
5491
|
-
#
|
|
5492
|
-
# - "`
|
|
5493
|
-
# - "`
|
|
5494
|
-
# - "`
|
|
5495
|
-
# - "`
|
|
5496
|
-
#
|
|
5497
|
-
# - "`malformedShippingAddress`"
|
|
5498
|
-
# - "`other`"
|
|
5499
|
-
# - "`productArrivedDamaged`"
|
|
5500
|
-
# - "`productNotAsDescribed`"
|
|
5501
|
-
# - "`qualityNotAsExpected`"
|
|
5502
|
-
# - "`undeliverableShippingAddress`"
|
|
5503
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5504
|
-
# - "`wrongProductShipped`"
|
|
5454
|
+
# The reason for the return. Acceptable values are: - "`
|
|
5455
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5456
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
5457
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
5458
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
5459
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
5460
|
+
# wrongProductShipped`"
|
|
5505
5461
|
# Corresponds to the JSON property `reason`
|
|
5506
5462
|
# @return [String]
|
|
5507
5463
|
attr_accessor :reason
|
|
@@ -5529,59 +5485,33 @@ module Google
|
|
|
5529
5485
|
class OrderShipment
|
|
5530
5486
|
include Google::Apis::Core::Hashable
|
|
5531
5487
|
|
|
5532
|
-
# The carrier handling the shipment.
|
|
5533
|
-
#
|
|
5534
|
-
#
|
|
5535
|
-
#
|
|
5536
|
-
#
|
|
5537
|
-
#
|
|
5538
|
-
# updates
|
|
5539
|
-
#
|
|
5540
|
-
# - "`
|
|
5541
|
-
# - "`
|
|
5542
|
-
# - "`
|
|
5543
|
-
# - "`
|
|
5544
|
-
# - "`
|
|
5545
|
-
# - "`
|
|
5546
|
-
# - "`
|
|
5547
|
-
# - "`
|
|
5548
|
-
# - "`
|
|
5549
|
-
# - "`
|
|
5550
|
-
# - "`
|
|
5551
|
-
# - "`
|
|
5552
|
-
# - "`
|
|
5553
|
-
# - "`
|
|
5554
|
-
# - "`
|
|
5555
|
-
# - "`
|
|
5556
|
-
# - "`
|
|
5557
|
-
# - "`
|
|
5558
|
-
# - "`
|
|
5559
|
-
# - "`ptt`" (PTT Turkish Post)
|
|
5560
|
-
# - "`eub`" (ePacket)
|
|
5561
|
-
# - "`chukou1`" (Chukou1 Logistics)
|
|
5562
|
-
# - "`bestex`" (Best Express)
|
|
5563
|
-
# - "`canada post`" (Canada Post)
|
|
5564
|
-
# - "`purolator`" (Purolator)
|
|
5565
|
-
# - "`canpar`" (Canpar)
|
|
5566
|
-
# - "`india post`" (India Post)
|
|
5567
|
-
# - "`blue dart`" (Blue Dart)
|
|
5568
|
-
# - "`delhivery`" (Delhivery)
|
|
5569
|
-
# - "`dtdc`" (DTDC)
|
|
5570
|
-
# - "`tpc india`" (TPC India)
|
|
5571
|
-
# Supported carriers for FR are:
|
|
5572
|
-
# - "`la poste`" (La Poste) automatic status updates
|
|
5573
|
-
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
|
5574
|
-
# - "`ups`" (United Parcel Service) automatic status updates
|
|
5575
|
-
# - "`chronopost`" (Chronopost by La Poste)
|
|
5576
|
-
# - "`gls`" (General Logistics Systems France)
|
|
5577
|
-
# - "`dpd`" (DPD Group by GeoPost)
|
|
5578
|
-
# - "`bpost`" (Belgian Post Group)
|
|
5579
|
-
# - "`colis prive`" (Colis Privé)
|
|
5580
|
-
# - "`boxtal`" (Boxtal)
|
|
5581
|
-
# - "`geodis`" (GEODIS)
|
|
5582
|
-
# - "`tnt`" (TNT)
|
|
5583
|
-
# - "`db schenker`" (DB Schenker)
|
|
5584
|
-
# - "`aramex`" (Aramex)
|
|
5488
|
+
# The carrier handling the shipment. For supported carriers, Google includes the
|
|
5489
|
+
# carrier name and tracking URL in emails to customers. For select supported
|
|
5490
|
+
# carriers, Google also automatically updates the shipment status based on the
|
|
5491
|
+
# provided shipment ID. *Note:* You can also use unsupported carriers, but
|
|
5492
|
+
# emails to customers will not include the carrier name or tracking URL, and
|
|
5493
|
+
# there will be no automatic order status updates. Supported carriers for US are:
|
|
5494
|
+
# - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" (
|
|
5495
|
+
# United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) *
|
|
5496
|
+
# automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates*
|
|
5497
|
+
# (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`"
|
|
5498
|
+
# (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" (
|
|
5499
|
+
# LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery
|
|
5500
|
+
# Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD
|
|
5501
|
+
# Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "`
|
|
5502
|
+
# china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore
|
|
5503
|
+
# Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT
|
|
5504
|
+
# Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
|
|
5505
|
+
# " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
|
|
5506
|
+
# "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
|
|
5507
|
+
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
|
|
5508
|
+
# Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
|
|
5509
|
+
# updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
|
|
5510
|
+
# "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
|
|
5511
|
+
# Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
|
|
5512
|
+
# (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
|
|
5513
|
+
# Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
|
|
5514
|
+
# db schenker`" (DB Schenker) - "`aramex`" (Aramex)
|
|
5585
5515
|
# Corresponds to the JSON property `carrier`
|
|
5586
5516
|
# @return [String]
|
|
5587
5517
|
attr_accessor :carrier
|
|
@@ -5617,12 +5547,8 @@ module Google
|
|
|
5617
5547
|
# @return [String]
|
|
5618
5548
|
attr_accessor :shipment_group_id
|
|
5619
5549
|
|
|
5620
|
-
# The status of the shipment.
|
|
5621
|
-
#
|
|
5622
|
-
# - "`delivered`"
|
|
5623
|
-
# - "`readyForPickup`"
|
|
5624
|
-
# - "`shipped`"
|
|
5625
|
-
# - "`undeliverable`"
|
|
5550
|
+
# The status of the shipment. Acceptable values are: - "`delivered`" - "`
|
|
5551
|
+
# readyForPickup`" - "`shipped`" - "`undeliverable`"
|
|
5626
5552
|
# Corresponds to the JSON property `status`
|
|
5627
5553
|
# @return [String]
|
|
5628
5554
|
attr_accessor :status
|
|
@@ -5760,10 +5686,8 @@ module Google
|
|
|
5760
5686
|
class OrderinvoicesCreateChargeInvoiceResponse
|
|
5761
5687
|
include Google::Apis::Core::Hashable
|
|
5762
5688
|
|
|
5763
|
-
# The status of the execution.
|
|
5764
|
-
#
|
|
5765
|
-
# - "`duplicate`"
|
|
5766
|
-
# - "`executed`"
|
|
5689
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
5690
|
+
# executed`"
|
|
5767
5691
|
# Corresponds to the JSON property `executionStatus`
|
|
5768
5692
|
# @return [String]
|
|
5769
5693
|
attr_accessor :execution_status
|
|
@@ -5836,10 +5760,8 @@ module Google
|
|
|
5836
5760
|
class OrderinvoicesCreateRefundInvoiceResponse
|
|
5837
5761
|
include Google::Apis::Core::Hashable
|
|
5838
5762
|
|
|
5839
|
-
# The status of the execution.
|
|
5840
|
-
#
|
|
5841
|
-
# - "`duplicate`"
|
|
5842
|
-
# - "`executed`"
|
|
5763
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
5764
|
+
# executed`"
|
|
5843
5765
|
# Corresponds to the JSON property `executionStatus`
|
|
5844
5766
|
# @return [String]
|
|
5845
5767
|
attr_accessor :execution_status
|
|
@@ -5870,52 +5792,23 @@ module Google
|
|
|
5870
5792
|
# @return [String]
|
|
5871
5793
|
attr_accessor :description
|
|
5872
5794
|
|
|
5873
|
-
# [required] Reason for the refund.
|
|
5874
|
-
#
|
|
5875
|
-
# - "`
|
|
5876
|
-
# - "`
|
|
5877
|
-
# - "`
|
|
5878
|
-
# - "`
|
|
5879
|
-
# - "`
|
|
5880
|
-
# - "`
|
|
5881
|
-
# - "`
|
|
5882
|
-
# - "`
|
|
5883
|
-
# - "`
|
|
5884
|
-
# - "`
|
|
5885
|
-
# - "`
|
|
5886
|
-
# - "`
|
|
5887
|
-
# - "`
|
|
5888
|
-
# - "`
|
|
5889
|
-
# - "`
|
|
5890
|
-
# - "`failToPushOrderGoogleError`"
|
|
5891
|
-
# - "`failToPushOrderMerchantError`"
|
|
5892
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
5893
|
-
# - "`failToPushOrderToMerchant`"
|
|
5894
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
5895
|
-
# - "`feeAdjustment`"
|
|
5896
|
-
# - "`invalidCoupon`"
|
|
5897
|
-
# - "`lateShipmentCredit`"
|
|
5898
|
-
# - "`malformedShippingAddress`"
|
|
5899
|
-
# - "`merchantDidNotShipOnTime`"
|
|
5900
|
-
# - "`noInventory`"
|
|
5901
|
-
# - "`orderTimeout`"
|
|
5902
|
-
# - "`other`"
|
|
5903
|
-
# - "`paymentAbuse`"
|
|
5904
|
-
# - "`paymentDeclined`"
|
|
5905
|
-
# - "`priceAdjustment`"
|
|
5906
|
-
# - "`priceError`"
|
|
5907
|
-
# - "`productArrivedDamaged`"
|
|
5908
|
-
# - "`productNotAsDescribed`"
|
|
5909
|
-
# - "`promoReallocation`"
|
|
5910
|
-
# - "`qualityNotAsExpected`"
|
|
5911
|
-
# - "`returnRefundAbuse`"
|
|
5912
|
-
# - "`shippingCostAdjustment`"
|
|
5913
|
-
# - "`shippingPriceError`"
|
|
5914
|
-
# - "`taxAdjustment`"
|
|
5915
|
-
# - "`taxError`"
|
|
5916
|
-
# - "`undeliverableShippingAddress`"
|
|
5917
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5918
|
-
# - "`wrongProductShipped`"
|
|
5795
|
+
# [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
|
5796
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
5797
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
5798
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
5799
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5800
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
5801
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
5802
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
5803
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
5804
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
5805
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
5806
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
5807
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
5808
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
5809
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
5810
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
5811
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
5919
5812
|
# Corresponds to the JSON property `reason`
|
|
5920
5813
|
# @return [String]
|
|
5921
5814
|
attr_accessor :reason
|
|
@@ -5940,21 +5833,13 @@ module Google
|
|
|
5940
5833
|
# @return [String]
|
|
5941
5834
|
attr_accessor :description
|
|
5942
5835
|
|
|
5943
|
-
# [required] Reason for the return.
|
|
5944
|
-
#
|
|
5945
|
-
# - "`
|
|
5946
|
-
# - "`
|
|
5947
|
-
# - "`
|
|
5948
|
-
# - "`
|
|
5949
|
-
#
|
|
5950
|
-
# - "`malformedShippingAddress`"
|
|
5951
|
-
# - "`other`"
|
|
5952
|
-
# - "`productArrivedDamaged`"
|
|
5953
|
-
# - "`productNotAsDescribed`"
|
|
5954
|
-
# - "`qualityNotAsExpected`"
|
|
5955
|
-
# - "`undeliverableShippingAddress`"
|
|
5956
|
-
# - "`unsupportedPoBoxAddress`"
|
|
5957
|
-
# - "`wrongProductShipped`"
|
|
5836
|
+
# [required] Reason for the return. Acceptable values are: - "`
|
|
5837
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
5838
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
5839
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
5840
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
5841
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
5842
|
+
# wrongProductShipped`"
|
|
5958
5843
|
# Corresponds to the JSON property `reason`
|
|
5959
5844
|
# @return [String]
|
|
5960
5845
|
attr_accessor :reason
|
|
@@ -6058,10 +5943,8 @@ module Google
|
|
|
6058
5943
|
class OrderreturnsAcknowledgeResponse
|
|
6059
5944
|
include Google::Apis::Core::Hashable
|
|
6060
5945
|
|
|
6061
|
-
# The status of the execution.
|
|
6062
|
-
#
|
|
6063
|
-
# - "`duplicate`"
|
|
6064
|
-
# - "`executed`"
|
|
5946
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
5947
|
+
# executed`"
|
|
6065
5948
|
# Corresponds to the JSON property `executionStatus`
|
|
6066
5949
|
# @return [String]
|
|
6067
5950
|
attr_accessor :execution_status
|
|
@@ -6124,10 +6007,8 @@ module Google
|
|
|
6124
6007
|
class OrderreturnsCreateOrderReturnResponse
|
|
6125
6008
|
include Google::Apis::Core::Hashable
|
|
6126
6009
|
|
|
6127
|
-
# The status of the execution.
|
|
6128
|
-
#
|
|
6129
|
-
# - "`duplicate`"
|
|
6130
|
-
# - "`executed`"
|
|
6010
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6011
|
+
# executed`"
|
|
6131
6012
|
# Corresponds to the JSON property `executionStatus`
|
|
6132
6013
|
# @return [String]
|
|
6133
6014
|
attr_accessor :execution_status
|
|
@@ -6284,10 +6165,8 @@ module Google
|
|
|
6284
6165
|
class OrderreturnsProcessResponse
|
|
6285
6166
|
include Google::Apis::Core::Hashable
|
|
6286
6167
|
|
|
6287
|
-
# The status of the execution.
|
|
6288
|
-
#
|
|
6289
|
-
# - "`duplicate`"
|
|
6290
|
-
# - "`executed`"
|
|
6168
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6169
|
+
# executed`"
|
|
6291
6170
|
# Corresponds to the JSON property `executionStatus`
|
|
6292
6171
|
# @return [String]
|
|
6293
6172
|
attr_accessor :execution_status
|
|
@@ -6437,10 +6316,8 @@ module Google
|
|
|
6437
6316
|
class OrdersAcknowledgeResponse
|
|
6438
6317
|
include Google::Apis::Core::Hashable
|
|
6439
6318
|
|
|
6440
|
-
# The status of the execution.
|
|
6441
|
-
#
|
|
6442
|
-
# - "`duplicate`"
|
|
6443
|
-
# - "`executed`"
|
|
6319
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6320
|
+
# executed`"
|
|
6444
6321
|
# Corresponds to the JSON property `executionStatus`
|
|
6445
6322
|
# @return [String]
|
|
6446
6323
|
attr_accessor :execution_status
|
|
@@ -6507,18 +6384,10 @@ module Google
|
|
|
6507
6384
|
# @return [Fixnum]
|
|
6508
6385
|
attr_accessor :quantity
|
|
6509
6386
|
|
|
6510
|
-
# The reason for the cancellation.
|
|
6511
|
-
#
|
|
6512
|
-
# - "`
|
|
6513
|
-
# - "`
|
|
6514
|
-
# - "`malformedShippingAddress`"
|
|
6515
|
-
# - "`noInventory`"
|
|
6516
|
-
# - "`other`"
|
|
6517
|
-
# - "`priceError`"
|
|
6518
|
-
# - "`shippingPriceError`"
|
|
6519
|
-
# - "`taxError`"
|
|
6520
|
-
# - "`undeliverableShippingAddress`"
|
|
6521
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6387
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6388
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6389
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6390
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6522
6391
|
# Corresponds to the JSON property `reason`
|
|
6523
6392
|
# @return [String]
|
|
6524
6393
|
attr_accessor :reason
|
|
@@ -6547,10 +6416,8 @@ module Google
|
|
|
6547
6416
|
class OrdersCancelLineItemResponse
|
|
6548
6417
|
include Google::Apis::Core::Hashable
|
|
6549
6418
|
|
|
6550
|
-
# The status of the execution.
|
|
6551
|
-
#
|
|
6552
|
-
# - "`duplicate`"
|
|
6553
|
-
# - "`executed`"
|
|
6419
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6420
|
+
# executed`"
|
|
6554
6421
|
# Corresponds to the JSON property `executionStatus`
|
|
6555
6422
|
# @return [String]
|
|
6556
6423
|
attr_accessor :execution_status
|
|
@@ -6581,18 +6448,10 @@ module Google
|
|
|
6581
6448
|
# @return [String]
|
|
6582
6449
|
attr_accessor :operation_id
|
|
6583
6450
|
|
|
6584
|
-
# The reason for the cancellation.
|
|
6585
|
-
#
|
|
6586
|
-
# - "`
|
|
6587
|
-
# - "`
|
|
6588
|
-
# - "`malformedShippingAddress`"
|
|
6589
|
-
# - "`noInventory`"
|
|
6590
|
-
# - "`other`"
|
|
6591
|
-
# - "`priceError`"
|
|
6592
|
-
# - "`shippingPriceError`"
|
|
6593
|
-
# - "`taxError`"
|
|
6594
|
-
# - "`undeliverableShippingAddress`"
|
|
6595
|
-
# - "`unsupportedPoBoxAddress`"
|
|
6451
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
|
6452
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
|
6453
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
|
6454
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
|
6596
6455
|
# Corresponds to the JSON property `reason`
|
|
6597
6456
|
# @return [String]
|
|
6598
6457
|
attr_accessor :reason
|
|
@@ -6618,10 +6477,8 @@ module Google
|
|
|
6618
6477
|
class OrdersCancelResponse
|
|
6619
6478
|
include Google::Apis::Core::Hashable
|
|
6620
6479
|
|
|
6621
|
-
# The status of the execution.
|
|
6622
|
-
#
|
|
6623
|
-
# - "`duplicate`"
|
|
6624
|
-
# - "`executed`"
|
|
6480
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6481
|
+
# executed`"
|
|
6625
6482
|
# Corresponds to the JSON property `executionStatus`
|
|
6626
6483
|
# @return [String]
|
|
6627
6484
|
attr_accessor :execution_status
|
|
@@ -6647,11 +6504,8 @@ module Google
|
|
|
6647
6504
|
class OrdersCancelTestOrderByCustomerRequest
|
|
6648
6505
|
include Google::Apis::Core::Hashable
|
|
6649
6506
|
|
|
6650
|
-
# The reason for the cancellation.
|
|
6651
|
-
#
|
|
6652
|
-
# - "`changedMind`"
|
|
6653
|
-
# - "`orderedWrongItem`"
|
|
6654
|
-
# - "`other`"
|
|
6507
|
+
# The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
|
|
6508
|
+
# orderedWrongItem`" - "`other`"
|
|
6655
6509
|
# Corresponds to the JSON property `reason`
|
|
6656
6510
|
# @return [String]
|
|
6657
6511
|
attr_accessor :reason
|
|
@@ -6690,25 +6544,18 @@ module Google
|
|
|
6690
6544
|
class OrdersCreateTestOrderRequest
|
|
6691
6545
|
include Google::Apis::Core::Hashable
|
|
6692
6546
|
|
|
6693
|
-
# The
|
|
6547
|
+
# The CLDR territory code of the country of the test order to create. Affects
|
|
6694
6548
|
# the currency and addresses of orders created via `template_name`, or the
|
|
6695
|
-
# addresses of orders created via `test_order`.
|
|
6696
|
-
#
|
|
6697
|
-
# - "`US`"
|
|
6698
|
-
# - "`FR`" Defaults to `US`.
|
|
6549
|
+
# addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
|
|
6550
|
+
# "`FR`" Defaults to `US`.
|
|
6699
6551
|
# Corresponds to the JSON property `country`
|
|
6700
6552
|
# @return [String]
|
|
6701
6553
|
attr_accessor :country
|
|
6702
6554
|
|
|
6703
6555
|
# The test order template to use. Specify as an alternative to `testOrder` as a
|
|
6704
6556
|
# shortcut for retrieving a template and then creating an order using that
|
|
6705
|
-
# template.
|
|
6706
|
-
#
|
|
6707
|
-
# - "`template1`"
|
|
6708
|
-
# - "`template1a`"
|
|
6709
|
-
# - "`template1b`"
|
|
6710
|
-
# - "`template2`"
|
|
6711
|
-
# - "`template3`"
|
|
6557
|
+
# template. Acceptable values are: - "`template1`" - "`template1a`" - "`
|
|
6558
|
+
# template1b`" - "`template2`" - "`template3`"
|
|
6712
6559
|
# Corresponds to the JSON property `templateName`
|
|
6713
6560
|
# @return [String]
|
|
6714
6561
|
attr_accessor :template_name
|
|
@@ -6907,7 +6754,7 @@ module Google
|
|
|
6907
6754
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
|
6908
6755
|
include Google::Apis::Core::Hashable
|
|
6909
6756
|
|
|
6910
|
-
# The carrier handling the shipment. See `shipments[].carrier` in the
|
|
6757
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
|
6911
6758
|
# resource representation for a list of acceptable values.
|
|
6912
6759
|
# Corresponds to the JSON property `carrier`
|
|
6913
6760
|
# @return [String]
|
|
@@ -6947,8 +6794,7 @@ module Google
|
|
|
6947
6794
|
attr_accessor :kind
|
|
6948
6795
|
|
|
6949
6796
|
# Order. Production access (all methods) requires the order manager role.
|
|
6950
|
-
# Sandbox access does not.
|
|
6951
|
-
# orders ==)
|
|
6797
|
+
# Sandbox access does not.
|
|
6952
6798
|
# Corresponds to the JSON property `order`
|
|
6953
6799
|
# @return [Google::Apis::ContentV2_1::Order]
|
|
6954
6800
|
attr_accessor :order
|
|
@@ -7021,21 +6867,13 @@ module Google
|
|
|
7021
6867
|
# @return [Fixnum]
|
|
7022
6868
|
attr_accessor :quantity
|
|
7023
6869
|
|
|
7024
|
-
# The reason for the return.
|
|
7025
|
-
#
|
|
7026
|
-
# - "`
|
|
7027
|
-
# - "`
|
|
7028
|
-
# - "`
|
|
7029
|
-
# - "`
|
|
7030
|
-
#
|
|
7031
|
-
# - "`malformedShippingAddress`"
|
|
7032
|
-
# - "`other`"
|
|
7033
|
-
# - "`productArrivedDamaged`"
|
|
7034
|
-
# - "`productNotAsDescribed`"
|
|
7035
|
-
# - "`qualityNotAsExpected`"
|
|
7036
|
-
# - "`undeliverableShippingAddress`"
|
|
7037
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7038
|
-
# - "`wrongProductShipped`"
|
|
6870
|
+
# The reason for the return. Acceptable values are: - "`
|
|
6871
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
6872
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
6873
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
6874
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
6875
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
6876
|
+
# wrongProductShipped`"
|
|
7039
6877
|
# Corresponds to the JSON property `reason`
|
|
7040
6878
|
# @return [String]
|
|
7041
6879
|
attr_accessor :reason
|
|
@@ -7071,10 +6909,8 @@ module Google
|
|
|
7071
6909
|
class OrdersInStoreRefundLineItemResponse
|
|
7072
6910
|
include Google::Apis::Core::Hashable
|
|
7073
6911
|
|
|
7074
|
-
# The status of the execution.
|
|
7075
|
-
#
|
|
7076
|
-
# - "`duplicate`"
|
|
7077
|
-
# - "`executed`"
|
|
6912
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
6913
|
+
# executed`"
|
|
7078
6914
|
# Corresponds to the JSON property `executionStatus`
|
|
7079
6915
|
# @return [String]
|
|
7080
6916
|
attr_accessor :execution_status
|
|
@@ -7143,22 +6979,12 @@ module Google
|
|
|
7143
6979
|
# @return [String]
|
|
7144
6980
|
attr_accessor :operation_id
|
|
7145
6981
|
|
|
7146
|
-
# The reason for the refund.
|
|
7147
|
-
#
|
|
7148
|
-
# - "`
|
|
7149
|
-
# - "`
|
|
7150
|
-
# - "`
|
|
7151
|
-
#
|
|
7152
|
-
# - "`courtesyAdjustment`"
|
|
7153
|
-
# - "`adjustment`"
|
|
7154
|
-
# - "`customerCancelled`"
|
|
7155
|
-
# - "`noInventory`"
|
|
7156
|
-
# - "`productNotAsDescribed`"
|
|
7157
|
-
# - "`undeliverableShippingAddress`"
|
|
7158
|
-
# - "`wrongProductShipped`"
|
|
7159
|
-
# - "`lateShipmentCredit`"
|
|
7160
|
-
# - "`deliveredLateByCarrier`"
|
|
7161
|
-
# - "`productArrivedDamaged`"
|
|
6982
|
+
# The reason for the refund. Acceptable values are: - "`shippingCostAdjustment`"
|
|
6983
|
+
# - "`priceAdjustment`" - "`taxAdjustment`" - "`feeAdjustment`" - "`
|
|
6984
|
+
# courtesyAdjustment`" - "`adjustment`" - "`customerCancelled`" - "`noInventory`"
|
|
6985
|
+
# - "`productNotAsDescribed`" - "`undeliverableShippingAddress`" - "`
|
|
6986
|
+
# wrongProductShipped`" - "`lateShipmentCredit`" - "`deliveredLateByCarrier`" - "
|
|
6987
|
+
# `productArrivedDamaged`"
|
|
7162
6988
|
# Corresponds to the JSON property `reason`
|
|
7163
6989
|
# @return [String]
|
|
7164
6990
|
attr_accessor :reason
|
|
@@ -7192,10 +7018,8 @@ module Google
|
|
|
7192
7018
|
class OrdersRefundItemResponse
|
|
7193
7019
|
include Google::Apis::Core::Hashable
|
|
7194
7020
|
|
|
7195
|
-
# The status of the execution.
|
|
7196
|
-
#
|
|
7197
|
-
# - "`duplicate`"
|
|
7198
|
-
# - "`executed`"
|
|
7021
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7022
|
+
# executed`"
|
|
7199
7023
|
# Corresponds to the JSON property `executionStatus`
|
|
7200
7024
|
# @return [String]
|
|
7201
7025
|
attr_accessor :execution_status
|
|
@@ -7239,10 +7063,8 @@ module Google
|
|
|
7239
7063
|
# @return [String]
|
|
7240
7064
|
attr_accessor :operation_id
|
|
7241
7065
|
|
|
7242
|
-
# The reason for the refund.
|
|
7243
|
-
#
|
|
7244
|
-
# - "`courtesyAdjustment`"
|
|
7245
|
-
# - "`other`"
|
|
7066
|
+
# The reason for the refund. Acceptable values are: - "`courtesyAdjustment`" - "`
|
|
7067
|
+
# other`"
|
|
7246
7068
|
# Corresponds to the JSON property `reason`
|
|
7247
7069
|
# @return [String]
|
|
7248
7070
|
attr_accessor :reason
|
|
@@ -7270,10 +7092,8 @@ module Google
|
|
|
7270
7092
|
class OrdersRefundOrderResponse
|
|
7271
7093
|
include Google::Apis::Core::Hashable
|
|
7272
7094
|
|
|
7273
|
-
# The status of the execution.
|
|
7274
|
-
#
|
|
7275
|
-
# - "`duplicate`"
|
|
7276
|
-
# - "`executed`"
|
|
7095
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7096
|
+
# executed`"
|
|
7277
7097
|
# Corresponds to the JSON property `executionStatus`
|
|
7278
7098
|
# @return [String]
|
|
7279
7099
|
attr_accessor :execution_status
|
|
@@ -7320,13 +7140,8 @@ module Google
|
|
|
7320
7140
|
# @return [Fixnum]
|
|
7321
7141
|
attr_accessor :quantity
|
|
7322
7142
|
|
|
7323
|
-
# The reason for the return.
|
|
7324
|
-
#
|
|
7325
|
-
# - "`damagedOrUsed`"
|
|
7326
|
-
# - "`missingComponent`"
|
|
7327
|
-
# - "`notEligible`"
|
|
7328
|
-
# - "`other`"
|
|
7329
|
-
# - "`outOfReturnWindow`"
|
|
7143
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
|
7144
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
|
7330
7145
|
# Corresponds to the JSON property `reason`
|
|
7331
7146
|
# @return [String]
|
|
7332
7147
|
attr_accessor :reason
|
|
@@ -7355,10 +7170,8 @@ module Google
|
|
|
7355
7170
|
class OrdersRejectReturnLineItemResponse
|
|
7356
7171
|
include Google::Apis::Core::Hashable
|
|
7357
7172
|
|
|
7358
|
-
# The status of the execution.
|
|
7359
|
-
#
|
|
7360
|
-
# - "`duplicate`"
|
|
7361
|
-
# - "`executed`"
|
|
7173
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7174
|
+
# executed`"
|
|
7362
7175
|
# Corresponds to the JSON property `executionStatus`
|
|
7363
7176
|
# @return [String]
|
|
7364
7177
|
attr_accessor :execution_status
|
|
@@ -7411,21 +7224,13 @@ module Google
|
|
|
7411
7224
|
# @return [Fixnum]
|
|
7412
7225
|
attr_accessor :quantity
|
|
7413
7226
|
|
|
7414
|
-
# The reason for the return.
|
|
7415
|
-
#
|
|
7416
|
-
# - "`
|
|
7417
|
-
# - "`
|
|
7418
|
-
# - "`
|
|
7419
|
-
# - "`
|
|
7420
|
-
#
|
|
7421
|
-
# - "`malformedShippingAddress`"
|
|
7422
|
-
# - "`other`"
|
|
7423
|
-
# - "`productArrivedDamaged`"
|
|
7424
|
-
# - "`productNotAsDescribed`"
|
|
7425
|
-
# - "`qualityNotAsExpected`"
|
|
7426
|
-
# - "`undeliverableShippingAddress`"
|
|
7427
|
-
# - "`unsupportedPoBoxAddress`"
|
|
7428
|
-
# - "`wrongProductShipped`"
|
|
7227
|
+
# The reason for the return. Acceptable values are: - "`
|
|
7228
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
7229
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
|
7230
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
|
7231
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
|
7232
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
|
7233
|
+
# wrongProductShipped`"
|
|
7429
7234
|
# Corresponds to the JSON property `reason`
|
|
7430
7235
|
# @return [String]
|
|
7431
7236
|
attr_accessor :reason
|
|
@@ -7462,10 +7267,8 @@ module Google
|
|
|
7462
7267
|
class OrdersReturnRefundLineItemResponse
|
|
7463
7268
|
include Google::Apis::Core::Hashable
|
|
7464
7269
|
|
|
7465
|
-
# The status of the execution.
|
|
7466
|
-
#
|
|
7467
|
-
# - "`duplicate`"
|
|
7468
|
-
# - "`executed`"
|
|
7270
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7271
|
+
# executed`"
|
|
7469
7272
|
# Corresponds to the JSON property `executionStatus`
|
|
7470
7273
|
# @return [String]
|
|
7471
7274
|
attr_accessor :execution_status
|
|
@@ -7530,10 +7333,8 @@ module Google
|
|
|
7530
7333
|
class OrdersSetLineItemMetadataResponse
|
|
7531
7334
|
include Google::Apis::Core::Hashable
|
|
7532
7335
|
|
|
7533
|
-
# The status of the execution.
|
|
7534
|
-
#
|
|
7535
|
-
# - "`duplicate`"
|
|
7536
|
-
# - "`executed`"
|
|
7336
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7337
|
+
# executed`"
|
|
7537
7338
|
# Corresponds to the JSON property `executionStatus`
|
|
7538
7339
|
# @return [String]
|
|
7539
7340
|
attr_accessor :execution_status
|
|
@@ -7598,10 +7399,8 @@ module Google
|
|
|
7598
7399
|
class OrdersShipLineItemsResponse
|
|
7599
7400
|
include Google::Apis::Core::Hashable
|
|
7600
7401
|
|
|
7601
|
-
# The status of the execution.
|
|
7602
|
-
#
|
|
7603
|
-
# - "`duplicate`"
|
|
7604
|
-
# - "`executed`"
|
|
7402
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7403
|
+
# executed`"
|
|
7605
7404
|
# Corresponds to the JSON property `executionStatus`
|
|
7606
7405
|
# @return [String]
|
|
7607
7406
|
attr_accessor :execution_status
|
|
@@ -7628,9 +7427,8 @@ module Google
|
|
|
7628
7427
|
include Google::Apis::Core::Hashable
|
|
7629
7428
|
|
|
7630
7429
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
|
7631
|
-
# date is updated.
|
|
7632
|
-
#
|
|
7633
|
-
# past.
|
|
7430
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7431
|
+
# be a date in the past.
|
|
7634
7432
|
# Corresponds to the JSON property `deliverByDate`
|
|
7635
7433
|
# @return [String]
|
|
7636
7434
|
attr_accessor :deliver_by_date
|
|
@@ -7653,9 +7451,8 @@ module Google
|
|
|
7653
7451
|
attr_accessor :product_id
|
|
7654
7452
|
|
|
7655
7453
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
|
7656
|
-
# date is updated.
|
|
7657
|
-
#
|
|
7658
|
-
# past.
|
|
7454
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
|
7455
|
+
# be a date in the past.
|
|
7659
7456
|
# Corresponds to the JSON property `shipByDate`
|
|
7660
7457
|
# @return [String]
|
|
7661
7458
|
attr_accessor :ship_by_date
|
|
@@ -7678,10 +7475,8 @@ module Google
|
|
|
7678
7475
|
class OrdersUpdateLineItemShippingDetailsResponse
|
|
7679
7476
|
include Google::Apis::Core::Hashable
|
|
7680
7477
|
|
|
7681
|
-
# The status of the execution.
|
|
7682
|
-
#
|
|
7683
|
-
# - "`duplicate`"
|
|
7684
|
-
# - "`executed`"
|
|
7478
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7479
|
+
# executed`"
|
|
7685
7480
|
# Corresponds to the JSON property `executionStatus`
|
|
7686
7481
|
# @return [String]
|
|
7687
7482
|
attr_accessor :execution_status
|
|
@@ -7732,10 +7527,8 @@ module Google
|
|
|
7732
7527
|
class OrdersUpdateMerchantOrderIdResponse
|
|
7733
7528
|
include Google::Apis::Core::Hashable
|
|
7734
7529
|
|
|
7735
|
-
# The status of the execution.
|
|
7736
|
-
#
|
|
7737
|
-
# - "`duplicate`"
|
|
7738
|
-
# - "`executed`"
|
|
7530
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7531
|
+
# executed`"
|
|
7739
7532
|
# Corresponds to the JSON property `executionStatus`
|
|
7740
7533
|
# @return [String]
|
|
7741
7534
|
attr_accessor :execution_status
|
|
@@ -7762,8 +7555,7 @@ module Google
|
|
|
7762
7555
|
include Google::Apis::Core::Hashable
|
|
7763
7556
|
|
|
7764
7557
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
|
7765
|
-
# carrier` in the
|
|
7766
|
-
# values.
|
|
7558
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
|
7767
7559
|
# Corresponds to the JSON property `carrier`
|
|
7768
7560
|
# @return [String]
|
|
7769
7561
|
attr_accessor :carrier
|
|
@@ -7797,11 +7589,8 @@ module Google
|
|
|
7797
7589
|
# @return [String]
|
|
7798
7590
|
attr_accessor :shipment_id
|
|
7799
7591
|
|
|
7800
|
-
# New status for the shipment. Not updated if missing.
|
|
7801
|
-
#
|
|
7802
|
-
# - "`delivered`"
|
|
7803
|
-
# - "`undeliverable`"
|
|
7804
|
-
# - "`readyForPickup`"
|
|
7592
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
|
7593
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
|
7805
7594
|
# Corresponds to the JSON property `status`
|
|
7806
7595
|
# @return [String]
|
|
7807
7596
|
attr_accessor :status
|
|
@@ -7839,10 +7628,8 @@ module Google
|
|
|
7839
7628
|
class OrdersUpdateShipmentResponse
|
|
7840
7629
|
include Google::Apis::Core::Hashable
|
|
7841
7630
|
|
|
7842
|
-
# The status of the execution.
|
|
7843
|
-
#
|
|
7844
|
-
# - "`duplicate`"
|
|
7845
|
-
# - "`executed`"
|
|
7631
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
|
7632
|
+
# executed`"
|
|
7846
7633
|
# Corresponds to the JSON property `executionStatus`
|
|
7847
7634
|
# @return [String]
|
|
7848
7635
|
attr_accessor :execution_status
|
|
@@ -7958,13 +7745,8 @@ module Google
|
|
|
7958
7745
|
# @return [Fixnum]
|
|
7959
7746
|
attr_accessor :merchant_id
|
|
7960
7747
|
|
|
7961
|
-
# The method of the batch entry.
|
|
7962
|
-
#
|
|
7963
|
-
# - "`delete`"
|
|
7964
|
-
# - "`get`"
|
|
7965
|
-
# - "`insert`"
|
|
7966
|
-
# - "`inventory`"
|
|
7967
|
-
# - "`sale`"
|
|
7748
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
7749
|
+
# "`insert`" - "`inventory`" - "`sale`"
|
|
7968
7750
|
# Corresponds to the JSON property `method`
|
|
7969
7751
|
# @return [String]
|
|
7970
7752
|
attr_accessor :method_prop
|
|
@@ -8708,12 +8490,11 @@ module Google
|
|
|
8708
8490
|
end
|
|
8709
8491
|
|
|
8710
8492
|
# Required product attributes are primarily defined by the products data
|
|
8711
|
-
# specification. See the
|
|
8712
|
-
# information.
|
|
8713
|
-
#
|
|
8714
|
-
#
|
|
8715
|
-
#
|
|
8716
|
-
# several minutes before changes take effect.
|
|
8493
|
+
# specification. See the Products Data Specification Help Center article for
|
|
8494
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
8495
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
8496
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
8497
|
+
# minutes before changes take effect.
|
|
8717
8498
|
class Product
|
|
8718
8499
|
include Google::Apis::Core::Hashable
|
|
8719
8500
|
|
|
@@ -8770,10 +8551,8 @@ module Google
|
|
|
8770
8551
|
# @return [String]
|
|
8771
8552
|
attr_accessor :canonical_link
|
|
8772
8553
|
|
|
8773
|
-
# Required. The item's channel (online or local).
|
|
8774
|
-
#
|
|
8775
|
-
# - "`local`"
|
|
8776
|
-
# - "`online`"
|
|
8554
|
+
# Required. The item's channel (online or local). Acceptable values are: - "`
|
|
8555
|
+
# local`" - "`online`"
|
|
8777
8556
|
# Corresponds to the JSON property `channel`
|
|
8778
8557
|
# @return [String]
|
|
8779
8558
|
attr_accessor :channel
|
|
@@ -8897,9 +8676,8 @@ module Google
|
|
|
8897
8676
|
attr_accessor :gtin
|
|
8898
8677
|
|
|
8899
8678
|
# The REST ID of the product. Content API methods that operate on products take
|
|
8900
|
-
# this as their `productId` parameter.
|
|
8901
|
-
#
|
|
8902
|
-
# offerId.
|
|
8679
|
+
# this as their `productId` parameter. The REST ID for a product is of the form
|
|
8680
|
+
# channel:contentLanguage: targetCountry: offerId.
|
|
8903
8681
|
# Corresponds to the JSON property `id`
|
|
8904
8682
|
# @return [String]
|
|
8905
8683
|
attr_accessor :id
|
|
@@ -9000,9 +8778,8 @@ module Google
|
|
|
9000
8778
|
# Required. A unique identifier for the item. Leading and trailing whitespaces
|
|
9001
8779
|
# are stripped and multiple whitespaces are replaced by a single whitespace upon
|
|
9002
8780
|
# submission. Only valid unicode characters are accepted. See the products feed
|
|
9003
|
-
# specification for details.
|
|
9004
|
-
#
|
|
9005
|
-
# product, not this identifier.
|
|
8781
|
+
# specification for details. *Note:* Content API methods that operate on
|
|
8782
|
+
# products take the REST ID of the product, *not* this identifier.
|
|
9006
8783
|
# Corresponds to the JSON property `offerId`
|
|
9007
8784
|
# @return [String]
|
|
9008
8785
|
attr_accessor :offer_id
|
|
@@ -9042,7 +8819,7 @@ module Google
|
|
|
9042
8819
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
9043
8820
|
attr_accessor :sale_price
|
|
9044
8821
|
|
|
9045
|
-
# Date range during which the item is on sale (see products data specification).
|
|
8822
|
+
# Date range during which the item is on sale (see products data specification ).
|
|
9046
8823
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
|
9047
8824
|
# @return [String]
|
|
9048
8825
|
attr_accessor :sale_price_effective_date
|
|
@@ -9108,11 +8885,8 @@ module Google
|
|
|
9108
8885
|
# @return [Array<String>]
|
|
9109
8886
|
attr_accessor :sizes
|
|
9110
8887
|
|
|
9111
|
-
# The source of the offer, i.e., how the offer was created.
|
|
9112
|
-
#
|
|
9113
|
-
# - "`api`"
|
|
9114
|
-
# - "`crawl`"
|
|
9115
|
-
# - "`feed`"
|
|
8888
|
+
# The source of the offer, i.e., how the offer was created. Acceptable values
|
|
8889
|
+
# are: - "`api`" - "`crawl`" - "`feed`"
|
|
9116
8890
|
# Corresponds to the JSON property `source`
|
|
9117
8891
|
# @return [String]
|
|
9118
8892
|
attr_accessor :source
|
|
@@ -9771,22 +9545,18 @@ module Google
|
|
|
9771
9545
|
# @return [Fixnum]
|
|
9772
9546
|
attr_accessor :merchant_id
|
|
9773
9547
|
|
|
9774
|
-
# The method of the batch entry.
|
|
9775
|
-
#
|
|
9776
|
-
# - "`delete`"
|
|
9777
|
-
# - "`get`"
|
|
9778
|
-
# - "`insert`"
|
|
9548
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
|
9549
|
+
# "`insert`"
|
|
9779
9550
|
# Corresponds to the JSON property `method`
|
|
9780
9551
|
# @return [String]
|
|
9781
9552
|
attr_accessor :method_prop
|
|
9782
9553
|
|
|
9783
9554
|
# Required product attributes are primarily defined by the products data
|
|
9784
|
-
# specification. See the
|
|
9785
|
-
# information.
|
|
9786
|
-
#
|
|
9787
|
-
#
|
|
9788
|
-
#
|
|
9789
|
-
# several minutes before changes take effect.
|
|
9555
|
+
# specification. See the Products Data Specification Help Center article for
|
|
9556
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
9557
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
9558
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
9559
|
+
# minutes before changes take effect.
|
|
9790
9560
|
# Corresponds to the JSON property `product`
|
|
9791
9561
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9792
9562
|
attr_accessor :product
|
|
@@ -9859,12 +9629,11 @@ module Google
|
|
|
9859
9629
|
attr_accessor :kind
|
|
9860
9630
|
|
|
9861
9631
|
# Required product attributes are primarily defined by the products data
|
|
9862
|
-
# specification. See the
|
|
9863
|
-
# information.
|
|
9864
|
-
#
|
|
9865
|
-
#
|
|
9866
|
-
#
|
|
9867
|
-
# several minutes before changes take effect.
|
|
9632
|
+
# specification. See the Products Data Specification Help Center article for
|
|
9633
|
+
# information. Some attributes are country-specific, so make sure you select the
|
|
9634
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
|
9635
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
|
9636
|
+
# minutes before changes take effect.
|
|
9868
9637
|
# Corresponds to the JSON property `product`
|
|
9869
9638
|
# @return [Google::Apis::ContentV2_1::Product]
|
|
9870
9639
|
attr_accessor :product
|
|
@@ -9959,9 +9728,7 @@ module Google
|
|
|
9959
9728
|
# @return [Fixnum]
|
|
9960
9729
|
attr_accessor :merchant_id
|
|
9961
9730
|
|
|
9962
|
-
# The method of the batch entry.
|
|
9963
|
-
# Acceptable values are:
|
|
9964
|
-
# - "`get`"
|
|
9731
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
|
9965
9732
|
# Corresponds to the JSON property `method`
|
|
9966
9733
|
# @return [String]
|
|
9967
9734
|
attr_accessor :method_prop
|
|
@@ -10084,8 +9851,7 @@ module Google
|
|
|
10084
9851
|
end
|
|
10085
9852
|
|
|
10086
9853
|
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
|
10087
|
-
# direct user of the merchant center account.
|
|
10088
|
-
# pubsubnotificationsettings ==)
|
|
9854
|
+
# direct user of the merchant center account.
|
|
10089
9855
|
class PubsubNotificationSettings
|
|
10090
9856
|
include Google::Apis::Core::Hashable
|
|
10091
9857
|
|
|
@@ -10100,9 +9866,7 @@ module Google
|
|
|
10100
9866
|
# @return [String]
|
|
10101
9867
|
attr_accessor :kind
|
|
10102
9868
|
|
|
10103
|
-
# List of event types.
|
|
10104
|
-
# Acceptable values are:
|
|
10105
|
-
# - "`orderPendingShipment`"
|
|
9869
|
+
# List of event types. Acceptable values are: - "`orderPendingShipment`"
|
|
10106
9870
|
# Corresponds to the JSON property `registeredEvents`
|
|
10107
9871
|
# @return [Array<String>]
|
|
10108
9872
|
attr_accessor :registered_events
|
|
@@ -10186,52 +9950,23 @@ module Google
|
|
|
10186
9950
|
# @return [String]
|
|
10187
9951
|
attr_accessor :description
|
|
10188
9952
|
|
|
10189
|
-
# Code of the refund reason.
|
|
10190
|
-
#
|
|
10191
|
-
# - "`
|
|
10192
|
-
# - "`
|
|
10193
|
-
# - "`
|
|
10194
|
-
# - "`
|
|
10195
|
-
# - "`
|
|
10196
|
-
# - "`
|
|
10197
|
-
# - "`
|
|
10198
|
-
# - "`
|
|
10199
|
-
# - "`
|
|
10200
|
-
# - "`
|
|
10201
|
-
# - "`
|
|
10202
|
-
# - "`
|
|
10203
|
-
# - "`
|
|
10204
|
-
# - "`
|
|
10205
|
-
# - "`
|
|
10206
|
-
# - "`failToPushOrderGoogleError`"
|
|
10207
|
-
# - "`failToPushOrderMerchantError`"
|
|
10208
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
|
10209
|
-
# - "`failToPushOrderToMerchant`"
|
|
10210
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
|
10211
|
-
# - "`feeAdjustment`"
|
|
10212
|
-
# - "`invalidCoupon`"
|
|
10213
|
-
# - "`lateShipmentCredit`"
|
|
10214
|
-
# - "`malformedShippingAddress`"
|
|
10215
|
-
# - "`merchantDidNotShipOnTime`"
|
|
10216
|
-
# - "`noInventory`"
|
|
10217
|
-
# - "`orderTimeout`"
|
|
10218
|
-
# - "`other`"
|
|
10219
|
-
# - "`paymentAbuse`"
|
|
10220
|
-
# - "`paymentDeclined`"
|
|
10221
|
-
# - "`priceAdjustment`"
|
|
10222
|
-
# - "`priceError`"
|
|
10223
|
-
# - "`productArrivedDamaged`"
|
|
10224
|
-
# - "`productNotAsDescribed`"
|
|
10225
|
-
# - "`promoReallocation`"
|
|
10226
|
-
# - "`qualityNotAsExpected`"
|
|
10227
|
-
# - "`returnRefundAbuse`"
|
|
10228
|
-
# - "`shippingCostAdjustment`"
|
|
10229
|
-
# - "`shippingPriceError`"
|
|
10230
|
-
# - "`taxAdjustment`"
|
|
10231
|
-
# - "`taxError`"
|
|
10232
|
-
# - "`undeliverableShippingAddress`"
|
|
10233
|
-
# - "`unsupportedPoBoxAddress`"
|
|
10234
|
-
# - "`wrongProductShipped`"
|
|
9953
|
+
# Code of the refund reason. Acceptable values are: - "`adjustment`" - "`
|
|
9954
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
|
9955
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
|
9956
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
|
9957
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
|
9958
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
|
9959
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
|
9960
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
|
9961
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
|
9962
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
|
9963
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
|
9964
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
|
9965
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
|
9966
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
|
9967
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
|
9968
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
|
9969
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
|
10235
9970
|
# Corresponds to the JSON property `reasonCode`
|
|
10236
9971
|
# @return [String]
|
|
10237
9972
|
attr_accessor :reason_code
|
|
@@ -10340,9 +10075,7 @@ module Google
|
|
|
10340
10075
|
# @return [Fixnum]
|
|
10341
10076
|
attr_accessor :merchant_id
|
|
10342
10077
|
|
|
10343
|
-
# Method of the batch request entry.
|
|
10344
|
-
# Acceptable values are:
|
|
10345
|
-
# - "`insert`"
|
|
10078
|
+
# Method of the batch request entry. Acceptable values are: - "`insert`"
|
|
10346
10079
|
# Corresponds to the JSON property `method`
|
|
10347
10080
|
# @return [String]
|
|
10348
10081
|
attr_accessor :method_prop
|
|
@@ -10437,6 +10170,275 @@ module Google
|
|
|
10437
10170
|
end
|
|
10438
10171
|
end
|
|
10439
10172
|
|
|
10173
|
+
# Represents a repricing rule. A repricing rule is used by shopping serving to
|
|
10174
|
+
# adjust transactable offer prices if conditions are met. Next ID: 24
|
|
10175
|
+
class RepricingRule
|
|
10176
|
+
include Google::Apis::Core::Hashable
|
|
10177
|
+
|
|
10178
|
+
# Required. Immutable. CLDR country code (e.g. "US").
|
|
10179
|
+
# Corresponds to the JSON property `countryCode`
|
|
10180
|
+
# @return [String]
|
|
10181
|
+
attr_accessor :country_code
|
|
10182
|
+
|
|
10183
|
+
# Required. Time period when the rule should take effect.
|
|
10184
|
+
# Corresponds to the JSON property `effectiveTimePeriod`
|
|
10185
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEffectiveTime]
|
|
10186
|
+
attr_accessor :effective_time_period
|
|
10187
|
+
|
|
10188
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10189
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10190
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10191
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10192
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10193
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10194
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10195
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10196
|
+
# Corresponds to the JSON property `eligibleOfferMatcher`
|
|
10197
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcher]
|
|
10198
|
+
attr_accessor :eligible_offer_matcher
|
|
10199
|
+
|
|
10200
|
+
# Required. Immutable. The two-letter ISO 639-1 language code associated with
|
|
10201
|
+
# the repricing rule.
|
|
10202
|
+
# Corresponds to the JSON property `languageCode`
|
|
10203
|
+
# @return [String]
|
|
10204
|
+
attr_accessor :language_code
|
|
10205
|
+
|
|
10206
|
+
# Output only. Immutable. Merchant that owns the repricing rule.
|
|
10207
|
+
# Corresponds to the JSON property `merchantId`
|
|
10208
|
+
# @return [Fixnum]
|
|
10209
|
+
attr_accessor :merchant_id
|
|
10210
|
+
|
|
10211
|
+
# Represents whether a rule is paused. A paused rule will behave like a non-
|
|
10212
|
+
# paused rule within CRUD operations, with the major difference that a paused
|
|
10213
|
+
# rule will not be evaluated and will have no effect on offers.
|
|
10214
|
+
# Corresponds to the JSON property `paused`
|
|
10215
|
+
# @return [Boolean]
|
|
10216
|
+
attr_accessor :paused
|
|
10217
|
+
alias_method :paused?, :paused
|
|
10218
|
+
|
|
10219
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10220
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10221
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10222
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10223
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10224
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10225
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10226
|
+
# Corresponds to the JSON property `restriction`
|
|
10227
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestriction]
|
|
10228
|
+
attr_accessor :restriction
|
|
10229
|
+
|
|
10230
|
+
# Output only. Immutable. The ID to uniquely identify each repricing rule.
|
|
10231
|
+
# Corresponds to the JSON property `ruleId`
|
|
10232
|
+
# @return [String]
|
|
10233
|
+
attr_accessor :rule_id
|
|
10234
|
+
|
|
10235
|
+
# The title for the rule.
|
|
10236
|
+
# Corresponds to the JSON property `title`
|
|
10237
|
+
# @return [String]
|
|
10238
|
+
attr_accessor :title
|
|
10239
|
+
|
|
10240
|
+
# Required. Immutable. The type of the rule.
|
|
10241
|
+
# Corresponds to the JSON property `type`
|
|
10242
|
+
# @return [String]
|
|
10243
|
+
attr_accessor :type
|
|
10244
|
+
|
|
10245
|
+
def initialize(**args)
|
|
10246
|
+
update!(**args)
|
|
10247
|
+
end
|
|
10248
|
+
|
|
10249
|
+
# Update properties of this object
|
|
10250
|
+
def update!(**args)
|
|
10251
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
|
10252
|
+
@effective_time_period = args[:effective_time_period] if args.key?(:effective_time_period)
|
|
10253
|
+
@eligible_offer_matcher = args[:eligible_offer_matcher] if args.key?(:eligible_offer_matcher)
|
|
10254
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
|
10255
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
10256
|
+
@paused = args[:paused] if args.key?(:paused)
|
|
10257
|
+
@restriction = args[:restriction] if args.key?(:restriction)
|
|
10258
|
+
@rule_id = args[:rule_id] if args.key?(:rule_id)
|
|
10259
|
+
@title = args[:title] if args.key?(:title)
|
|
10260
|
+
@type = args[:type] if args.key?(:type)
|
|
10261
|
+
end
|
|
10262
|
+
end
|
|
10263
|
+
|
|
10264
|
+
#
|
|
10265
|
+
class RepricingRuleEffectiveTime
|
|
10266
|
+
include Google::Apis::Core::Hashable
|
|
10267
|
+
|
|
10268
|
+
# A list of fixed time periods combined with OR. The maximum number of entries
|
|
10269
|
+
# is limited to 5.
|
|
10270
|
+
# Corresponds to the JSON property `fixedTimePeriods`
|
|
10271
|
+
# @return [Array<Google::Apis::ContentV2_1::RepricingRuleEffectiveTimeFixedTimePeriod>]
|
|
10272
|
+
attr_accessor :fixed_time_periods
|
|
10273
|
+
|
|
10274
|
+
def initialize(**args)
|
|
10275
|
+
update!(**args)
|
|
10276
|
+
end
|
|
10277
|
+
|
|
10278
|
+
# Update properties of this object
|
|
10279
|
+
def update!(**args)
|
|
10280
|
+
@fixed_time_periods = args[:fixed_time_periods] if args.key?(:fixed_time_periods)
|
|
10281
|
+
end
|
|
10282
|
+
end
|
|
10283
|
+
|
|
10284
|
+
# Definition of a fixed time period.
|
|
10285
|
+
class RepricingRuleEffectiveTimeFixedTimePeriod
|
|
10286
|
+
include Google::Apis::Core::Hashable
|
|
10287
|
+
|
|
10288
|
+
# The end time (exclusive) of the period. It can only be hour granularity.
|
|
10289
|
+
# Corresponds to the JSON property `endTime`
|
|
10290
|
+
# @return [String]
|
|
10291
|
+
attr_accessor :end_time
|
|
10292
|
+
|
|
10293
|
+
# The start time (inclusive) of the period. It can only be hour granularity.
|
|
10294
|
+
# Corresponds to the JSON property `startTime`
|
|
10295
|
+
# @return [String]
|
|
10296
|
+
attr_accessor :start_time
|
|
10297
|
+
|
|
10298
|
+
def initialize(**args)
|
|
10299
|
+
update!(**args)
|
|
10300
|
+
end
|
|
10301
|
+
|
|
10302
|
+
# Update properties of this object
|
|
10303
|
+
def update!(**args)
|
|
10304
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
10305
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10306
|
+
end
|
|
10307
|
+
end
|
|
10308
|
+
|
|
10309
|
+
# Matcher that specifies eligible offers. When the USE_FEED_ATTRIBUTE option is
|
|
10310
|
+
# selected, only the repricing_rule_id attribute on the product feed is used to
|
|
10311
|
+
# specify offer-rule mapping. When the CUSTOM_FILTER option is selected, only
|
|
10312
|
+
# the *_matcher fields are used to filter the offers for offer-rule mapping. If
|
|
10313
|
+
# the CUSTOM_FILTER option is selected, an offer needs to satisfy each custom
|
|
10314
|
+
# filter matcher to be eligible for a rule. Size limit: the sum of the number of
|
|
10315
|
+
# entries in all the matchers should not exceed 20. For example, there can be 15
|
|
10316
|
+
# product ids and 5 brands, but not 10 product ids and 11 brands.
|
|
10317
|
+
class RepricingRuleEligibleOfferMatcher
|
|
10318
|
+
include Google::Apis::Core::Hashable
|
|
10319
|
+
|
|
10320
|
+
# Matcher by string attributes.
|
|
10321
|
+
# Corresponds to the JSON property `brandMatcher`
|
|
10322
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10323
|
+
attr_accessor :brand_matcher
|
|
10324
|
+
|
|
10325
|
+
# Matcher by string attributes.
|
|
10326
|
+
# Corresponds to the JSON property `itemGroupIdMatcher`
|
|
10327
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10328
|
+
attr_accessor :item_group_id_matcher
|
|
10329
|
+
|
|
10330
|
+
# Determines whether to use the custom matchers or the product feed attribute "
|
|
10331
|
+
# repricing_rule_id" to specify offer-rule mapping.
|
|
10332
|
+
# Corresponds to the JSON property `matcherOption`
|
|
10333
|
+
# @return [String]
|
|
10334
|
+
attr_accessor :matcher_option
|
|
10335
|
+
|
|
10336
|
+
# Matcher by string attributes.
|
|
10337
|
+
# Corresponds to the JSON property `offerIdMatcher`
|
|
10338
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
|
|
10339
|
+
attr_accessor :offer_id_matcher
|
|
10340
|
+
|
|
10341
|
+
def initialize(**args)
|
|
10342
|
+
update!(**args)
|
|
10343
|
+
end
|
|
10344
|
+
|
|
10345
|
+
# Update properties of this object
|
|
10346
|
+
def update!(**args)
|
|
10347
|
+
@brand_matcher = args[:brand_matcher] if args.key?(:brand_matcher)
|
|
10348
|
+
@item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
|
|
10349
|
+
@matcher_option = args[:matcher_option] if args.key?(:matcher_option)
|
|
10350
|
+
@offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
|
|
10351
|
+
end
|
|
10352
|
+
end
|
|
10353
|
+
|
|
10354
|
+
# Matcher by string attributes.
|
|
10355
|
+
class RepricingRuleEligibleOfferMatcherStringMatcher
|
|
10356
|
+
include Google::Apis::Core::Hashable
|
|
10357
|
+
|
|
10358
|
+
# String attributes, as long as such attribute of an offer is one of the string
|
|
10359
|
+
# attribute values, the offer is considered as passing the matcher. The string
|
|
10360
|
+
# matcher checks an offer for inclusivity in the string attributes, not equality.
|
|
10361
|
+
# Only literal string matching is supported, no regex.
|
|
10362
|
+
# Corresponds to the JSON property `strAttributes`
|
|
10363
|
+
# @return [Array<String>]
|
|
10364
|
+
attr_accessor :str_attributes
|
|
10365
|
+
|
|
10366
|
+
def initialize(**args)
|
|
10367
|
+
update!(**args)
|
|
10368
|
+
end
|
|
10369
|
+
|
|
10370
|
+
# Update properties of this object
|
|
10371
|
+
def update!(**args)
|
|
10372
|
+
@str_attributes = args[:str_attributes] if args.key?(:str_attributes)
|
|
10373
|
+
end
|
|
10374
|
+
end
|
|
10375
|
+
|
|
10376
|
+
# Definition of a rule restriction. At least one of the following needs to be
|
|
10377
|
+
# true: (1) use_auto_pricing_min_price is true (2) floor.price_delta exists (3)
|
|
10378
|
+
# floor.percentage_delta exists If floor.price_delta and floor.percentage_delta
|
|
10379
|
+
# are both set on a rule, the highest value will be chosen by the Repricer. In
|
|
10380
|
+
# other words, for a product with a price of $50, if the `floor.percentage_delta`
|
|
10381
|
+
# is "-10" and the floor.price_delta is "-12", the offer price will only be
|
|
10382
|
+
# lowered $5 (10% lower than the original offer price).
|
|
10383
|
+
class RepricingRuleRestriction
|
|
10384
|
+
include Google::Apis::Core::Hashable
|
|
10385
|
+
|
|
10386
|
+
# Definition of a boundary.
|
|
10387
|
+
# Corresponds to the JSON property `floor`
|
|
10388
|
+
# @return [Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary]
|
|
10389
|
+
attr_accessor :floor
|
|
10390
|
+
|
|
10391
|
+
# If true, use the AUTO_PRICING_MIN_PRICE offer attribute as the lower bound of
|
|
10392
|
+
# the rule. If use_auto_pricing_min_price is true, then only offers with `
|
|
10393
|
+
# AUTO_PRICING_MIN_PRICE` existing on the offer will get Repricer treatment,
|
|
10394
|
+
# even if a floor value is set on the rule. Also, if use_auto_pricing_min_price
|
|
10395
|
+
# is true, the floor restriction will be ignored.
|
|
10396
|
+
# Corresponds to the JSON property `useAutoPricingMinPrice`
|
|
10397
|
+
# @return [Boolean]
|
|
10398
|
+
attr_accessor :use_auto_pricing_min_price
|
|
10399
|
+
alias_method :use_auto_pricing_min_price?, :use_auto_pricing_min_price
|
|
10400
|
+
|
|
10401
|
+
def initialize(**args)
|
|
10402
|
+
update!(**args)
|
|
10403
|
+
end
|
|
10404
|
+
|
|
10405
|
+
# Update properties of this object
|
|
10406
|
+
def update!(**args)
|
|
10407
|
+
@floor = args[:floor] if args.key?(:floor)
|
|
10408
|
+
@use_auto_pricing_min_price = args[:use_auto_pricing_min_price] if args.key?(:use_auto_pricing_min_price)
|
|
10409
|
+
end
|
|
10410
|
+
end
|
|
10411
|
+
|
|
10412
|
+
# Definition of a boundary.
|
|
10413
|
+
class RepricingRuleRestrictionBoundary
|
|
10414
|
+
include Google::Apis::Core::Hashable
|
|
10415
|
+
|
|
10416
|
+
# The percentage delta relative to the offer selling price. This field is signed.
|
|
10417
|
+
# It must be negative in floor. When it is used in floor, it should be > -100.
|
|
10418
|
+
# If an offer is selling at $10 and this field is -30 in floor, the repricing
|
|
10419
|
+
# rule only applies if the calculated new price is >= $7.
|
|
10420
|
+
# Corresponds to the JSON property `percentageDelta`
|
|
10421
|
+
# @return [Fixnum]
|
|
10422
|
+
attr_accessor :percentage_delta
|
|
10423
|
+
|
|
10424
|
+
# The price micros relative to the offer selling price. This field is signed. It
|
|
10425
|
+
# must be negative in floor. If an offer is selling at $10 and this field is -$2
|
|
10426
|
+
# in floor, the repricing rule only applies if the calculated new price is >= $8.
|
|
10427
|
+
# Corresponds to the JSON property `priceDelta`
|
|
10428
|
+
# @return [String]
|
|
10429
|
+
attr_accessor :price_delta
|
|
10430
|
+
|
|
10431
|
+
def initialize(**args)
|
|
10432
|
+
update!(**args)
|
|
10433
|
+
end
|
|
10434
|
+
|
|
10435
|
+
# Update properties of this object
|
|
10436
|
+
def update!(**args)
|
|
10437
|
+
@percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta)
|
|
10438
|
+
@price_delta = args[:price_delta] if args.key?(:price_delta)
|
|
10439
|
+
end
|
|
10440
|
+
end
|
|
10441
|
+
|
|
10440
10442
|
# Return address resource.
|
|
10441
10443
|
class ReturnAddress
|
|
10442
10444
|
include Google::Apis::Core::Hashable
|
|
@@ -10630,12 +10632,8 @@ module Google
|
|
|
10630
10632
|
# most items a minimum of 30 days is required for returns. Exceptions may be
|
|
10631
10633
|
# made for electronics or non-returnable items such as food, perishables, and
|
|
10632
10634
|
# living things. A policy of less than 30 days can only be applied to those
|
|
10633
|
-
# items.
|
|
10634
|
-
#
|
|
10635
|
-
# - "`lastReturnDate`"
|
|
10636
|
-
# - "`lifetimeReturns`"
|
|
10637
|
-
# - "`noReturns`"
|
|
10638
|
-
# - "`numberOfDaysAfterDelivery`"
|
|
10635
|
+
# items. Acceptable values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`
|
|
10636
|
+
# noReturns`" - "`numberOfDaysAfterDelivery`"
|
|
10639
10637
|
# Corresponds to the JSON property `type`
|
|
10640
10638
|
# @return [String]
|
|
10641
10639
|
attr_accessor :type
|
|
@@ -10754,11 +10752,8 @@ module Google
|
|
|
10754
10752
|
# @return [String]
|
|
10755
10753
|
attr_accessor :delivery_date
|
|
10756
10754
|
|
|
10757
|
-
# Type of the return method.
|
|
10758
|
-
#
|
|
10759
|
-
# - "`byMail`"
|
|
10760
|
-
# - "`contactCustomerSupport`"
|
|
10761
|
-
# - "`returnless`"
|
|
10755
|
+
# Type of the return method. Acceptable values are: - "`byMail`" - "`
|
|
10756
|
+
# contactCustomerSupport`" - "`returnless`"
|
|
10762
10757
|
# Corresponds to the JSON property `returnMethodType`
|
|
10763
10758
|
# @return [String]
|
|
10764
10759
|
attr_accessor :return_method_type
|
|
@@ -10779,13 +10774,8 @@ module Google
|
|
|
10779
10774
|
# @return [String]
|
|
10780
10775
|
attr_accessor :shipping_date
|
|
10781
10776
|
|
|
10782
|
-
# State of the shipment.
|
|
10783
|
-
#
|
|
10784
|
-
# - "`completed`"
|
|
10785
|
-
# - "`new`"
|
|
10786
|
-
# - "`shipped`"
|
|
10787
|
-
# - "`undeliverable`"
|
|
10788
|
-
# - "`pending`"
|
|
10777
|
+
# State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
|
|
10778
|
+
# shipped`" - "`undeliverable`" - "`pending`"
|
|
10789
10779
|
# Corresponds to the JSON property `state`
|
|
10790
10780
|
# @return [String]
|
|
10791
10781
|
attr_accessor :state
|
|
@@ -10839,11 +10829,8 @@ module Google
|
|
|
10839
10829
|
# @return [Fixnum]
|
|
10840
10830
|
attr_accessor :merchant_id
|
|
10841
10831
|
|
|
10842
|
-
# Method of the batch request entry.
|
|
10843
|
-
#
|
|
10844
|
-
# - "`delete`"
|
|
10845
|
-
# - "`get`"
|
|
10846
|
-
# - "`insert`"
|
|
10832
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
10833
|
+
# " - "`insert`"
|
|
10847
10834
|
# Corresponds to the JSON property `method`
|
|
10848
10835
|
# @return [String]
|
|
10849
10836
|
attr_accessor :method_prop
|
|
@@ -11001,11 +10988,8 @@ module Google
|
|
|
11001
10988
|
# @return [Fixnum]
|
|
11002
10989
|
attr_accessor :merchant_id
|
|
11003
10990
|
|
|
11004
|
-
# Method of the batch request entry.
|
|
11005
|
-
#
|
|
11006
|
-
# - "`delete`"
|
|
11007
|
-
# - "`get`"
|
|
11008
|
-
# - "`insert`"
|
|
10991
|
+
# Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`
|
|
10992
|
+
# " - "`insert`"
|
|
11009
10993
|
# Corresponds to the JSON property `method`
|
|
11010
10994
|
# @return [String]
|
|
11011
10995
|
attr_accessor :method_prop
|
|
@@ -11172,11 +11156,8 @@ module Google
|
|
|
11172
11156
|
# @return [Google::Apis::ContentV2_1::DeliveryTime]
|
|
11173
11157
|
attr_accessor :delivery_time
|
|
11174
11158
|
|
|
11175
|
-
# Eligibility for this service.
|
|
11176
|
-
#
|
|
11177
|
-
# - "`All scenarios`"
|
|
11178
|
-
# - "`All scenarios except Shopping Actions`"
|
|
11179
|
-
# - "`Shopping Actions`"
|
|
11159
|
+
# Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
|
|
11160
|
+
# All scenarios except Shopping Actions`" - "`Shopping Actions`"
|
|
11180
11161
|
# Corresponds to the JSON property `eligibility`
|
|
11181
11162
|
# @return [String]
|
|
11182
11163
|
attr_accessor :eligibility
|
|
@@ -11213,10 +11194,8 @@ module Google
|
|
|
11213
11194
|
# @return [Array<Google::Apis::ContentV2_1::RateGroup>]
|
|
11214
11195
|
attr_accessor :rate_groups
|
|
11215
11196
|
|
|
11216
|
-
# Type of locations this service ships orders to.
|
|
11217
|
-
#
|
|
11218
|
-
# - "`delivery`"
|
|
11219
|
-
# - "`pickup`"
|
|
11197
|
+
# Type of locations this service ships orders to. Acceptable values are: - "`
|
|
11198
|
+
# delivery`" - "`pickup`"
|
|
11220
11199
|
# Corresponds to the JSON property `shipmentType`
|
|
11221
11200
|
# @return [String]
|
|
11222
11201
|
attr_accessor :shipment_type
|
|
@@ -11309,8 +11288,7 @@ module Google
|
|
|
11309
11288
|
end
|
|
11310
11289
|
end
|
|
11311
11290
|
|
|
11312
|
-
# Settlement transactions give a detailed breakdown of the
|
|
11313
|
-
# = resource_for v2.1.settlementtransactions ==)
|
|
11291
|
+
# Settlement transactions give a detailed breakdown of the settlement report.
|
|
11314
11292
|
class SettlementTransaction
|
|
11315
11293
|
include Google::Apis::Core::Hashable
|
|
11316
11294
|
|
|
@@ -11357,49 +11335,21 @@ module Google
|
|
|
11357
11335
|
# @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]
|
|
11358
11336
|
attr_accessor :commission
|
|
11359
11337
|
|
|
11360
|
-
# The description of the event.
|
|
11361
|
-
#
|
|
11362
|
-
# - "`
|
|
11363
|
-
# - "`
|
|
11364
|
-
# - "`
|
|
11365
|
-
# - "`
|
|
11366
|
-
# - "`
|
|
11367
|
-
# - "`
|
|
11368
|
-
# - "`
|
|
11369
|
-
# - "`
|
|
11370
|
-
# - "`
|
|
11371
|
-
# - "`
|
|
11372
|
-
# - "`
|
|
11373
|
-
# - "`
|
|
11374
|
-
# - "`
|
|
11375
|
-
# - "`furnitureEcoFee`"
|
|
11376
|
-
# - "`copyPrivateFee`"
|
|
11377
|
-
# - "`eeeEcoFeeCommission`"
|
|
11378
|
-
# - "`furnitureEcoFeeCommission`"
|
|
11379
|
-
# - "`copyPrivateFeeCommission`"
|
|
11380
|
-
# - "`principalRefund`"
|
|
11381
|
-
# - "`principalRefundTax`"
|
|
11382
|
-
# - "`itemCommission`"
|
|
11383
|
-
# - "`adjustmentCommission`"
|
|
11384
|
-
# - "`shippingFeeCommission`"
|
|
11385
|
-
# - "`commissionRefund`"
|
|
11386
|
-
# - "`damaged`"
|
|
11387
|
-
# - "`damagedOrDefectiveItem`"
|
|
11388
|
-
# - "`expiredItem`"
|
|
11389
|
-
# - "`faultyItem`"
|
|
11390
|
-
# - "`incorrectItemReceived`"
|
|
11391
|
-
# - "`itemMissing`"
|
|
11392
|
-
# - "`qualityNotExpected`"
|
|
11393
|
-
# - "`receivedTooLate`"
|
|
11394
|
-
# - "`storePackageMissing`"
|
|
11395
|
-
# - "`transitPackageMissing`"
|
|
11396
|
-
# - "`unsuccessfulDeliveryUndeliverable`"
|
|
11397
|
-
# - "`wrongChargeInStore`"
|
|
11398
|
-
# - "`wrongItem`"
|
|
11399
|
-
# - "`returns`"
|
|
11400
|
-
# - "`undeliverable`"
|
|
11401
|
-
# - "`refundFromMerchant`"
|
|
11402
|
-
# - "`returnLabelShippingFee`"
|
|
11338
|
+
# The description of the event. Acceptable values are: - "`taxWithhold`" - "`
|
|
11339
|
+
# principal`" - "`principalAdjustment`" - "`shippingFee`" - "`
|
|
11340
|
+
# merchantRemittedSalesTax`" - "`googleRemittedSalesTax`" - "`merchantCoupon`" -
|
|
11341
|
+
# "`merchantCouponTax`" - "`merchantRemittedDisposalTax`" - "`
|
|
11342
|
+
# googleRemittedDisposalTax`" - "`merchantRemittedRedemptionFee`" - "`
|
|
11343
|
+
# googleRemittedRedemptionFee`" - "`eeeEcoFee`" - "`furnitureEcoFee`" - "`
|
|
11344
|
+
# copyPrivateFee`" - "`eeeEcoFeeCommission`" - "`furnitureEcoFeeCommission`" - "`
|
|
11345
|
+
# copyPrivateFeeCommission`" - "`principalRefund`" - "`principalRefundTax`" - "`
|
|
11346
|
+
# itemCommission`" - "`adjustmentCommission`" - "`shippingFeeCommission`" - "`
|
|
11347
|
+
# commissionRefund`" - "`damaged`" - "`damagedOrDefectiveItem`" - "`expiredItem`"
|
|
11348
|
+
# - "`faultyItem`" - "`incorrectItemReceived`" - "`itemMissing`" - "`
|
|
11349
|
+
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
|
11350
|
+
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
|
11351
|
+
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
|
11352
|
+
# refundFromMerchant`" - "`returnLabelShippingFee`"
|
|
11403
11353
|
# Corresponds to the JSON property `description`
|
|
11404
11354
|
# @return [String]
|
|
11405
11355
|
attr_accessor :description
|
|
@@ -11409,15 +11359,9 @@ module Google
|
|
|
11409
11359
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
11410
11360
|
attr_accessor :transaction_amount
|
|
11411
11361
|
|
|
11412
|
-
# The type of the amount.
|
|
11413
|
-
#
|
|
11414
|
-
#
|
|
11415
|
-
# - "`orderPrice`"
|
|
11416
|
-
# - "`refund`"
|
|
11417
|
-
# - "`earlyRefund`"
|
|
11418
|
-
# - "`courtesyRefund`"
|
|
11419
|
-
# - "`returnRefund`"
|
|
11420
|
-
# - "`returnLabelShippingFeeAmount`"
|
|
11362
|
+
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
|
11363
|
+
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
|
11364
|
+
# returnLabelShippingFeeAmount`"
|
|
11421
11365
|
# Corresponds to the JSON property `type`
|
|
11422
11366
|
# @return [String]
|
|
11423
11367
|
attr_accessor :type
|
|
@@ -11439,52 +11383,21 @@ module Google
|
|
|
11439
11383
|
class SettlementTransactionAmountCommission
|
|
11440
11384
|
include Google::Apis::Core::Hashable
|
|
11441
11385
|
|
|
11442
|
-
# The category of the commission.
|
|
11443
|
-
#
|
|
11444
|
-
# - "`
|
|
11445
|
-
# - "`
|
|
11446
|
-
# - "`
|
|
11447
|
-
# - "`
|
|
11448
|
-
# - "`
|
|
11449
|
-
# - "`
|
|
11450
|
-
# - "`
|
|
11451
|
-
# - "`
|
|
11452
|
-
# - "`
|
|
11453
|
-
# - "`
|
|
11454
|
-
# - "`
|
|
11455
|
-
# - "`
|
|
11456
|
-
#
|
|
11457
|
-
# - "`toysAndGames`"
|
|
11458
|
-
# - "`musicalInstruments`"
|
|
11459
|
-
# - "`giftCards`"
|
|
11460
|
-
# - "`babyAndToddler`"
|
|
11461
|
-
# - "`babyFoodWipesAndDiapers`"
|
|
11462
|
-
# - "`businessAndIndustrial`"
|
|
11463
|
-
# - "`camerasOpticsAndPhotography`"
|
|
11464
|
-
# - "`consumerElectronics`"
|
|
11465
|
-
# - "`electronicsAccessories`"
|
|
11466
|
-
# - "`personalComputers`"
|
|
11467
|
-
# - "`videoGameConsoles`"
|
|
11468
|
-
# - "`foodAndGrocery`"
|
|
11469
|
-
# - "`beverages`"
|
|
11470
|
-
# - "`tobaccoProducts`"
|
|
11471
|
-
# - "`furniture`"
|
|
11472
|
-
# - "`hardware`"
|
|
11473
|
-
# - "`buildingMaterials`"
|
|
11474
|
-
# - "`tools`"
|
|
11475
|
-
# - "`healthAndPersonalCare`"
|
|
11476
|
-
# - "`beauty`"
|
|
11477
|
-
# - "`householdSupplies`"
|
|
11478
|
-
# - "`kitchenAndDining`"
|
|
11479
|
-
# - "`majorAppliances`"
|
|
11480
|
-
# - "`luggageAndBags`"
|
|
11481
|
-
# - "`media`"
|
|
11482
|
-
# - "`officeSupplies`"
|
|
11483
|
-
# - "`softwareAndVideoGames`"
|
|
11484
|
-
# - "`vehiclePartsAndAccessories`"
|
|
11485
|
-
# - "`vehicleTiresAndWheels`"
|
|
11486
|
-
# - "`vehicles`"
|
|
11487
|
-
# - "`everythingElse`"
|
|
11386
|
+
# The category of the commission. Acceptable values are: - "`
|
|
11387
|
+
# animalsAndPetSupplies`" - "`dogCatFoodAndCatLitter`" - "`apparelAndAccessories`
|
|
11388
|
+
# " - "`shoesHandbagsAndSunglasses`" - "`costumesAndAccessories`" - "`jewelry`" -
|
|
11389
|
+
# "`watches`" - "`hobbiesArtsAndCrafts`" - "`homeAndGarden`" - "`
|
|
11390
|
+
# entertainmentCollectibles`" - "`collectibleCoins`" - "`sportsCollectibles`" - "
|
|
11391
|
+
# `sportingGoods`" - "`toysAndGames`" - "`musicalInstruments`" - "`giftCards`" -
|
|
11392
|
+
# "`babyAndToddler`" - "`babyFoodWipesAndDiapers`" - "`businessAndIndustrial`" -
|
|
11393
|
+
# "`camerasOpticsAndPhotography`" - "`consumerElectronics`" - "`
|
|
11394
|
+
# electronicsAccessories`" - "`personalComputers`" - "`videoGameConsoles`" - "`
|
|
11395
|
+
# foodAndGrocery`" - "`beverages`" - "`tobaccoProducts`" - "`furniture`" - "`
|
|
11396
|
+
# hardware`" - "`buildingMaterials`" - "`tools`" - "`healthAndPersonalCare`" - "`
|
|
11397
|
+
# beauty`" - "`householdSupplies`" - "`kitchenAndDining`" - "`majorAppliances`" -
|
|
11398
|
+
# "`luggageAndBags`" - "`media`" - "`officeSupplies`" - "`softwareAndVideoGames`
|
|
11399
|
+
# " - "`vehiclePartsAndAccessories`" - "`vehicleTiresAndWheels`" - "`vehicles`" -
|
|
11400
|
+
# "`everythingElse`"
|
|
11488
11401
|
# Corresponds to the JSON property `category`
|
|
11489
11402
|
# @return [String]
|
|
11490
11403
|
attr_accessor :category
|
|
@@ -11563,16 +11476,11 @@ module Google
|
|
|
11563
11476
|
# @return [String]
|
|
11564
11477
|
attr_accessor :post_date
|
|
11565
11478
|
|
|
11566
|
-
# The type of the transaction that occurred.
|
|
11567
|
-
#
|
|
11568
|
-
# - "`
|
|
11569
|
-
# - "`
|
|
11570
|
-
#
|
|
11571
|
-
# - "`reversalRefund`"
|
|
11572
|
-
# - "`issueRelatedRefundAndReplacement`"
|
|
11573
|
-
# - "`returnLabelShippingFeeTransaction`"
|
|
11574
|
-
# - "`reversalIssueRelatedRefundAndReplacement`"
|
|
11575
|
-
# - "`reversalReturnLabelShippingFeeTransaction`"
|
|
11479
|
+
# The type of the transaction that occurred. Acceptable values are: - "`order`" -
|
|
11480
|
+
# "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
|
|
11481
|
+
# issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
|
|
11482
|
+
# reversalIssueRelatedRefundAndReplacement`" - "`
|
|
11483
|
+
# reversalReturnLabelShippingFeeTransaction`"
|
|
11576
11484
|
# Corresponds to the JSON property `type`
|
|
11577
11485
|
# @return [String]
|
|
11578
11486
|
attr_accessor :type
|
|
@@ -11730,38 +11638,13 @@ module Google
|
|
|
11730
11638
|
class ShipmentTrackingInfo
|
|
11731
11639
|
include Google::Apis::Core::Hashable
|
|
11732
11640
|
|
|
11733
|
-
# The shipping carrier that handles the package.
|
|
11734
|
-
#
|
|
11735
|
-
# - "`
|
|
11736
|
-
# - "`
|
|
11737
|
-
# - "`
|
|
11738
|
-
# - "`
|
|
11739
|
-
#
|
|
11740
|
-
# - "`cxt`"
|
|
11741
|
-
# - "`deliv`"
|
|
11742
|
-
# - "`dhl`"
|
|
11743
|
-
# - "`dpd`"
|
|
11744
|
-
# - "`dynamex`"
|
|
11745
|
-
# - "`eCourier`"
|
|
11746
|
-
# - "`easypost`"
|
|
11747
|
-
# - "`efw`"
|
|
11748
|
-
# - "`fedex`"
|
|
11749
|
-
# - "`fedexSmartpost`"
|
|
11750
|
-
# - "`geodis`"
|
|
11751
|
-
# - "`gls`"
|
|
11752
|
-
# - "`googleCourier`"
|
|
11753
|
-
# - "`gsx`"
|
|
11754
|
-
# - "`jdLogistics`"
|
|
11755
|
-
# - "`laPoste`"
|
|
11756
|
-
# - "`lasership`"
|
|
11757
|
-
# - "`manual`"
|
|
11758
|
-
# - "`mpx`"
|
|
11759
|
-
# - "`onTrac`"
|
|
11760
|
-
# - "`other`"
|
|
11761
|
-
# - "`tnt`"
|
|
11762
|
-
# - "`uds`"
|
|
11763
|
-
# - "`ups`"
|
|
11764
|
-
# - "`usps`"
|
|
11641
|
+
# The shipping carrier that handles the package. Acceptable values are: - "`
|
|
11642
|
+
# boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
|
|
11643
|
+
# " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
|
|
11644
|
+
# "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
|
|
11645
|
+
# googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
|
|
11646
|
+
# manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
|
|
11647
|
+
# usps`"
|
|
11765
11648
|
# Corresponds to the JSON property `carrier`
|
|
11766
11649
|
# @return [String]
|
|
11767
11650
|
attr_accessor :carrier
|
|
@@ -11853,10 +11736,7 @@ module Google
|
|
|
11853
11736
|
# @return [Fixnum]
|
|
11854
11737
|
attr_accessor :merchant_id
|
|
11855
11738
|
|
|
11856
|
-
# The method of the batch entry.
|
|
11857
|
-
# Acceptable values are:
|
|
11858
|
-
# - "`get`"
|
|
11859
|
-
# - "`update`"
|
|
11739
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
|
11860
11740
|
# Corresponds to the JSON property `method`
|
|
11861
11741
|
# @return [String]
|
|
11862
11742
|
attr_accessor :method_prop
|
|
@@ -12132,40 +12012,28 @@ module Google
|
|
|
12132
12012
|
# @return [Google::Apis::ContentV2_1::TestOrderPickupDetails]
|
|
12133
12013
|
attr_accessor :pickup_details
|
|
12134
12014
|
|
|
12135
|
-
# Required. The billing address.
|
|
12136
|
-
#
|
|
12137
|
-
# - "`dwight`"
|
|
12138
|
-
# - "`jim`"
|
|
12139
|
-
# - "`pam`"
|
|
12015
|
+
# Required. The billing address. Acceptable values are: - "`dwight`" - "`jim`" -
|
|
12016
|
+
# "`pam`"
|
|
12140
12017
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
|
12141
12018
|
# @return [String]
|
|
12142
12019
|
attr_accessor :predefined_billing_address
|
|
12143
12020
|
|
|
12144
12021
|
# Required. Identifier of one of the predefined delivery addresses for the
|
|
12145
|
-
# delivery.
|
|
12146
|
-
# Acceptable values are:
|
|
12147
|
-
# - "`dwight`"
|
|
12148
|
-
# - "`jim`"
|
|
12149
|
-
# - "`pam`"
|
|
12022
|
+
# delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
|
12150
12023
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
|
12151
12024
|
# @return [String]
|
|
12152
12025
|
attr_accessor :predefined_delivery_address
|
|
12153
12026
|
|
|
12154
|
-
# Required. Email address of the customer.
|
|
12155
|
-
#
|
|
12156
|
-
#
|
|
12157
|
-
# - "`pog.jim.halpert@gmail.com`"
|
|
12158
|
-
# - "`penpog.pam.beesly@gmail.comding`"
|
|
12027
|
+
# Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
|
|
12028
|
+
# schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
|
|
12029
|
+
# gmail.comding`"
|
|
12159
12030
|
# Corresponds to the JSON property `predefinedEmail`
|
|
12160
12031
|
# @return [String]
|
|
12161
12032
|
attr_accessor :predefined_email
|
|
12162
12033
|
|
|
12163
12034
|
# Identifier of one of the predefined pickup details. Required for orders
|
|
12164
|
-
# containing line items with shipping type `pickup`.
|
|
12165
|
-
#
|
|
12166
|
-
# - "`dwight`"
|
|
12167
|
-
# - "`jim`"
|
|
12168
|
-
# - "`pam`"
|
|
12035
|
+
# containing line items with shipping type `pickup`. Acceptable values are: - "`
|
|
12036
|
+
# dwight`" - "`jim`" - "`pam`"
|
|
12169
12037
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
|
12170
12038
|
# @return [String]
|
|
12171
12039
|
attr_accessor :predefined_pickup_details
|
|
@@ -12183,14 +12051,8 @@ module Google
|
|
|
12183
12051
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12184
12052
|
attr_accessor :shipping_cost
|
|
12185
12053
|
|
|
12186
|
-
# Required. The requested shipping option.
|
|
12187
|
-
#
|
|
12188
|
-
# - "`economy`"
|
|
12189
|
-
# - "`expedited`"
|
|
12190
|
-
# - "`oneDay`"
|
|
12191
|
-
# - "`sameDay`"
|
|
12192
|
-
# - "`standard`"
|
|
12193
|
-
# - "`twoDay`"
|
|
12054
|
+
# Required. The requested shipping option. Acceptable values are: - "`economy`" -
|
|
12055
|
+
# "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
|
|
12194
12056
|
# Corresponds to the JSON property `shippingOption`
|
|
12195
12057
|
# @return [String]
|
|
12196
12058
|
attr_accessor :shipping_option
|
|
@@ -12227,11 +12089,8 @@ module Google
|
|
|
12227
12089
|
attr_accessor :country
|
|
12228
12090
|
|
|
12229
12091
|
# Strings representing the lines of the printed label for mailing the order, for
|
|
12230
|
-
# example:
|
|
12231
|
-
#
|
|
12232
|
-
# 1600 Amphitheatre Parkway
|
|
12233
|
-
# Mountain View, CA, 94043
|
|
12234
|
-
# United States
|
|
12092
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
|
12093
|
+
# States
|
|
12235
12094
|
# Corresponds to the JSON property `fullAddress`
|
|
12236
12095
|
# @return [Array<String>]
|
|
12237
12096
|
attr_accessor :full_address
|
|
@@ -12357,17 +12216,13 @@ module Google
|
|
|
12357
12216
|
# @return [String]
|
|
12358
12217
|
attr_accessor :brand
|
|
12359
12218
|
|
|
12360
|
-
# Required. Condition or state of the item.
|
|
12361
|
-
# Acceptable values are:
|
|
12362
|
-
# - "`new`"
|
|
12219
|
+
# Required. Condition or state of the item. Acceptable values are: - "`new`"
|
|
12363
12220
|
# Corresponds to the JSON property `condition`
|
|
12364
12221
|
# @return [String]
|
|
12365
12222
|
attr_accessor :condition
|
|
12366
12223
|
|
|
12367
|
-
# Required. The two-letter ISO 639-1 language code for the item.
|
|
12368
|
-
#
|
|
12369
|
-
# - "`en`"
|
|
12370
|
-
# - "`fr`"
|
|
12224
|
+
# Required. The two-letter ISO 639-1 language code for the item. Acceptable
|
|
12225
|
+
# values are: - "`en`" - "`fr`"
|
|
12371
12226
|
# Corresponds to the JSON property `contentLanguage`
|
|
12372
12227
|
# @return [String]
|
|
12373
12228
|
attr_accessor :content_language
|
|
@@ -12409,7 +12264,7 @@ module Google
|
|
|
12409
12264
|
# @return [Google::Apis::ContentV2_1::Price]
|
|
12410
12265
|
attr_accessor :price
|
|
12411
12266
|
|
|
12412
|
-
# Required. The CLDR territory code of the target country of the product.
|
|
12267
|
+
# Required. The CLDR territory // code of the target country of the product.
|
|
12413
12268
|
# Corresponds to the JSON property `targetCountry`
|
|
12414
12269
|
# @return [String]
|
|
12415
12270
|
attr_accessor :target_country
|
|
@@ -12460,11 +12315,8 @@ module Google
|
|
|
12460
12315
|
# @return [Google::Apis::ContentV2_1::TestOrderAddress]
|
|
12461
12316
|
attr_accessor :pickup_location_address
|
|
12462
12317
|
|
|
12463
|
-
# Pickup location type.
|
|
12464
|
-
#
|
|
12465
|
-
# - "`locker`"
|
|
12466
|
-
# - "`store`"
|
|
12467
|
-
# - "`curbside`"
|
|
12318
|
+
# Pickup location type. Acceptable values are: - "`locker`" - "`store`" - "`
|
|
12319
|
+
# curbside`"
|
|
12468
12320
|
# Corresponds to the JSON property `pickupLocationType`
|
|
12469
12321
|
# @return [String]
|
|
12470
12322
|
attr_accessor :pickup_location_type
|
|
@@ -12632,9 +12484,8 @@ module Google
|
|
|
12632
12484
|
# @return [Google::Apis::ContentV2_1::Amount]
|
|
12633
12485
|
attr_accessor :additional_charge_amount
|
|
12634
12486
|
|
|
12635
|
-
# [required] Type of the additional charge.
|
|
12636
|
-
#
|
|
12637
|
-
# - "`shipping`"
|
|
12487
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
|
12488
|
+
#
|
|
12638
12489
|
# Corresponds to the JSON property `type`
|
|
12639
12490
|
# @return [String]
|
|
12640
12491
|
attr_accessor :type
|
|
@@ -12665,11 +12516,8 @@ module Google
|
|
|
12665
12516
|
# @return [String]
|
|
12666
12517
|
attr_accessor :tax_name
|
|
12667
12518
|
|
|
12668
|
-
# [required] Type of the tax.
|
|
12669
|
-
#
|
|
12670
|
-
# - "`otherFee`"
|
|
12671
|
-
# - "`otherFeeTax`"
|
|
12672
|
-
# - "`sales`"
|
|
12519
|
+
# [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
|
|
12520
|
+
# otherFeeTax`" - "`sales`"
|
|
12673
12521
|
# Corresponds to the JSON property `taxType`
|
|
12674
12522
|
# @return [String]
|
|
12675
12523
|
attr_accessor :tax_type
|
|
@@ -12740,10 +12588,7 @@ module Google
|
|
|
12740
12588
|
class Weight
|
|
12741
12589
|
include Google::Apis::Core::Hashable
|
|
12742
12590
|
|
|
12743
|
-
# Required. The weight unit.
|
|
12744
|
-
# Acceptable values are:
|
|
12745
|
-
# - "`kg`"
|
|
12746
|
-
# - "`lb`"
|
|
12591
|
+
# Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
|
|
12747
12592
|
# Corresponds to the JSON property `unit`
|
|
12748
12593
|
# @return [String]
|
|
12749
12594
|
attr_accessor :unit
|