google-api-client 0.46.2 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +370 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +16 -54
- data/generated/google/apis/apigee_v1/representations.rb +1 -18
- data/generated/google/apis/apigee_v1/service.rb +21 -13
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +72 -0
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -8
- data/generated/google/apis/content_v2.rb +2 -3
- data/generated/google/apis/content_v2/classes.rb +508 -1216
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +29 -29
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +11 -5
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +12 -8
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -1088,6 +1088,13 @@ module Google
|
|
1088
1088
|
# @return [String]
|
1089
1089
|
attr_accessor :domain_id
|
1090
1090
|
|
1091
|
+
# Set to true if none of the depending services (Gaia, PeopleApi) returns any
|
1092
|
+
# info for this user.
|
1093
|
+
# Corresponds to the JSON property `isAnonymous`
|
1094
|
+
# @return [Boolean]
|
1095
|
+
attr_accessor :is_anonymous
|
1096
|
+
alias_method :is_anonymous?, :is_anonymous
|
1097
|
+
|
1091
1098
|
# Resource name, in the format "users/*".
|
1092
1099
|
# Corresponds to the JSON property `name`
|
1093
1100
|
# @return [String]
|
@@ -1106,6 +1113,7 @@ module Google
|
|
1106
1113
|
def update!(**args)
|
1107
1114
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1108
1115
|
@domain_id = args[:domain_id] if args.key?(:domain_id)
|
1116
|
+
@is_anonymous = args[:is_anonymous] if args.key?(:is_anonymous)
|
1109
1117
|
@name = args[:name] if args.key?(:name)
|
1110
1118
|
@type = args[:type] if args.key?(:type)
|
1111
1119
|
end
|
@@ -540,6 +540,7 @@ module Google
|
|
540
540
|
class Representation < Google::Apis::Core::JsonRepresentation
|
541
541
|
property :display_name, as: 'displayName'
|
542
542
|
property :domain_id, as: 'domainId'
|
543
|
+
property :is_anonymous, as: 'isAnonymous'
|
543
544
|
property :name, as: 'name'
|
544
545
|
property :type, as: 'type'
|
545
546
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/billing/
|
27
27
|
module CloudbillingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201017'
|
30
30
|
|
31
31
|
# View and manage your Google Cloud Platform billing accounts
|
32
32
|
AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing'
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
class Money
|
478
478
|
include Google::Apis::Core::Hashable
|
479
479
|
|
480
|
-
# The
|
480
|
+
# The three-letter currency code defined in ISO 4217.
|
481
481
|
# Corresponds to the JSON property `currencyCode`
|
482
482
|
# @return [String]
|
483
483
|
attr_accessor :currency_code
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201015'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -929,7 +929,8 @@ module Google
|
|
929
929
|
# @return [Array<Google::Apis::CloudbuildV1::Build>]
|
930
930
|
attr_accessor :builds
|
931
931
|
|
932
|
-
# Token to receive the next page of results.
|
932
|
+
# Token to receive the next page of results. This will be absent if the end of
|
933
|
+
# the response list has been reached.
|
933
934
|
# Corresponds to the JSON property `nextPageToken`
|
934
935
|
# @return [String]
|
935
936
|
attr_accessor :next_page_token
|
@@ -241,7 +241,11 @@ module Google
|
|
241
241
|
# @param [Fixnum] page_size
|
242
242
|
# Number of results to return in the list.
|
243
243
|
# @param [String] page_token
|
244
|
-
#
|
244
|
+
# The page token for the next page of Builds. If unspecified, the first page of
|
245
|
+
# results is returned. If the token is rejected for any reason, INVALID_ARGUMENT
|
246
|
+
# will be thrown. In this case, the token should be discarded, and pagination
|
247
|
+
# should be restarted from the first page of results. See https://google.aip.dev/
|
248
|
+
# 158 for more.
|
245
249
|
# @param [String] parent
|
246
250
|
# The parent of the collection of `Builds`. Format: `projects/`project`/
|
247
251
|
# locations/location`
|
@@ -449,7 +453,11 @@ module Google
|
|
449
453
|
# @param [Fixnum] page_size
|
450
454
|
# Number of results to return in the list.
|
451
455
|
# @param [String] page_token
|
452
|
-
#
|
456
|
+
# The page token for the next page of Builds. If unspecified, the first page of
|
457
|
+
# results is returned. If the token is rejected for any reason, INVALID_ARGUMENT
|
458
|
+
# will be thrown. In this case, the token should be discarded, and pagination
|
459
|
+
# should be restarted from the first page of results. See https://google.aip.dev/
|
460
|
+
# 158 for more.
|
453
461
|
# @param [String] project_id
|
454
462
|
# Required. ID of the project.
|
455
463
|
# @param [String] fields
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201019'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -54,13 +54,13 @@ module Google
|
|
54
54
|
# to succeed, the addition of this new Folder must not violate the Folder naming,
|
55
55
|
# height or fanout constraints. + The Folder's display_name must be distinct
|
56
56
|
# from all other Folder's that share its parent. + The addition of the Folder
|
57
|
-
# must not cause the active Folder hierarchy to exceed a height of
|
58
|
-
# full active + deleted Folder hierarchy is allowed to reach a height of
|
59
|
-
# provides additional headroom when moving folders that contain deleted
|
60
|
-
# + The addition of the Folder must not cause the total number of
|
61
|
-
# its parent to exceed
|
62
|
-
# violation, some errors may be returned by the CreateFolder request,
|
63
|
-
# status code FAILED_PRECONDITION and an error description. Other folder
|
57
|
+
# must not cause the active Folder hierarchy to exceed a height of 10. Note, the
|
58
|
+
# full active + deleted Folder hierarchy is allowed to reach a height of 20;
|
59
|
+
# this provides additional headroom when moving folders that contain deleted
|
60
|
+
# folders. + The addition of the Folder must not cause the total number of
|
61
|
+
# Folders under its parent to exceed 300. If the operation fails due to a folder
|
62
|
+
# constraint violation, some errors may be returned by the CreateFolder request,
|
63
|
+
# with status code FAILED_PRECONDITION and an error description. Other folder
|
64
64
|
# constraint violations will be communicated in the Operation, with the specific
|
65
65
|
# PreconditionFailure returned via the details list in the Operation.error field.
|
66
66
|
# The caller must have `resourcemanager.folders.create` permission on the
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201019'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -54,13 +54,13 @@ module Google
|
|
54
54
|
# to succeed, the addition of this new Folder must not violate the Folder naming,
|
55
55
|
# height or fanout constraints. + The Folder's display_name must be distinct
|
56
56
|
# from all other Folder's that share its parent. + The addition of the Folder
|
57
|
-
# must not cause the active Folder hierarchy to exceed a height of
|
58
|
-
# full active + deleted Folder hierarchy is allowed to reach a height of
|
59
|
-
# provides additional headroom when moving folders that contain deleted
|
60
|
-
# + The addition of the Folder must not cause the total number of
|
61
|
-
# its parent to exceed
|
62
|
-
# violation, some errors may be returned by the CreateFolder request,
|
63
|
-
# status code FAILED_PRECONDITION and an error description. Other folder
|
57
|
+
# must not cause the active Folder hierarchy to exceed a height of 10. Note, the
|
58
|
+
# full active + deleted Folder hierarchy is allowed to reach a height of 20;
|
59
|
+
# this provides additional headroom when moving folders that contain deleted
|
60
|
+
# folders. + The addition of the Folder must not cause the total number of
|
61
|
+
# Folders under its parent to exceed 300. If the operation fails due to a folder
|
62
|
+
# constraint violation, some errors may be returned by the CreateFolder request,
|
63
|
+
# with status code FAILED_PRECONDITION and an error description. Other folder
|
64
64
|
# constraint violations will be communicated in the Operation, with the specific
|
65
65
|
# PreconditionFailure returned via the details list in the Operation.error field.
|
66
66
|
# The caller must have `resourcemanager.folders.create` permission on the
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201005'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -629,6 +629,9 @@ module Google
|
|
629
629
|
# - `VPC_PEERING` for addresses that are reserved for VPC peer networks.
|
630
630
|
# - `NAT_AUTO` for addresses that are external IP addresses automatically
|
631
631
|
# reserved for Cloud NAT.
|
632
|
+
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range reserved
|
633
|
+
# for a VLAN attachment in an IPsec over Interconnect configuration. These
|
634
|
+
# addresses are regional resources.
|
632
635
|
# Corresponds to the JSON property `purpose`
|
633
636
|
# @return [String]
|
634
637
|
attr_accessor :purpose
|
@@ -7978,12 +7981,16 @@ module Google
|
|
7978
7981
|
# Google Compute Engine has two Health Check resources:
|
7979
7982
|
# * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [
|
7980
7983
|
# Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks)
|
7981
|
-
# Internal HTTP(S) load balancers must use regional health checks.
|
7982
|
-
#
|
7983
|
-
#
|
7984
|
-
#
|
7985
|
-
#
|
7986
|
-
#
|
7984
|
+
# Internal HTTP(S) load balancers must use regional health checks (`compute.v1.
|
7985
|
+
# regionHealthChecks`).
|
7986
|
+
# Traffic Director must use global health checks (`compute.v1.HealthChecks`).
|
7987
|
+
# Internal TCP/UDP load balancers can use either regional or global health
|
7988
|
+
# checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`).
|
7989
|
+
# External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed
|
7990
|
+
# instance group auto-healing must use global health checks (`compute.v1.
|
7991
|
+
# HealthChecks`).
|
7992
|
+
# Network load balancers must use legacy HTTP health checks (httpHealthChecks).
|
7993
|
+
# For more information, see Health checks overview.
|
7987
7994
|
class HealthCheck
|
7988
7995
|
include Google::Apis::Core::Hashable
|
7989
7996
|
|
@@ -17231,7 +17238,7 @@ module Google
|
|
17231
17238
|
include Google::Apis::Core::Hashable
|
17232
17239
|
|
17233
17240
|
# Optional serving service.
|
17234
|
-
# The service name must be 1-63 characters long
|
17241
|
+
# The service name is case-sensitive and must be 1-63 characters long.
|
17235
17242
|
# Example value: "default", "my-service".
|
17236
17243
|
# Corresponds to the JSON property `service`
|
17237
17244
|
# @return [String]
|
@@ -17249,7 +17256,7 @@ module Google
|
|
17249
17256
|
attr_accessor :url_mask
|
17250
17257
|
|
17251
17258
|
# Optional serving version.
|
17252
|
-
# The version must be 1-
|
17259
|
+
# The version name is case-sensitive and must be 1-100 characters long.
|
17253
17260
|
# Example value: "v1", "v2".
|
17254
17261
|
# Corresponds to the JSON property `version`
|
17255
17262
|
# @return [String]
|
@@ -20,10 +20,9 @@ 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
|
28
27
|
VERSION = 'V2'
|
29
28
|
REVISION = '20201014'
|
@@ -37,8 +37,8 @@ module Google
|
|
37
37
|
# List of linked AdWords accounts that are active or pending approval. To create
|
38
38
|
# a new link request, add a new link with status `active` to the list. It will
|
39
39
|
# remain in a `pending` state until approved or rejected either in the AdWords
|
40
|
-
# interface or through the
|
41
|
-
#
|
40
|
+
# interface or through the AdWords API. To delete an active link, or to cancel a
|
41
|
+
# link request, remove it from the list.
|
42
42
|
# Corresponds to the JSON property `adwordsLinks`
|
43
43
|
# @return [Array<Google::Apis::ContentV2::AccountAdwordsLink>]
|
44
44
|
attr_accessor :adwords_links
|
@@ -179,15 +179,13 @@ module Google
|
|
179
179
|
# Status of the link between this Merchant Center account and the AdWords
|
180
180
|
# account. Upon retrieval, it represents the actual status of the link and can
|
181
181
|
# be either `active` if it was approved in Google AdWords or `pending` if it's
|
182
|
-
# pending approval. Upon insertion, it represents the intended status of the
|
182
|
+
# pending approval. Upon insertion, it represents the *intended* status of the
|
183
183
|
# link. Re-uploading a link with status `active` when it's still pending or with
|
184
184
|
# status `pending` when it's already active will have no effect: the status will
|
185
185
|
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
186
186
|
# equivalent to not submitting the link at all and will delete the link if it
|
187
|
-
# was active or cancel the link request if it was pending.
|
188
|
-
#
|
189
|
-
# - "`active`"
|
190
|
-
# - "`pending`"
|
187
|
+
# was active or cancel the link request if it was pending. Acceptable values are:
|
188
|
+
# - "`active`" - "`pending`"
|
191
189
|
# Corresponds to the JSON property `status`
|
192
190
|
# @return [String]
|
193
191
|
attr_accessor :status
|
@@ -277,9 +275,7 @@ module Google
|
|
277
275
|
attr_accessor :gmb_email
|
278
276
|
|
279
277
|
# Status of the link between this Merchant Center account and the GMB account.
|
280
|
-
# Acceptable values are:
|
281
|
-
# - "`active`"
|
282
|
-
# - "`pending`"
|
278
|
+
# Acceptable values are: - "`active`" - "`pending`"
|
283
279
|
# Corresponds to the JSON property `status`
|
284
280
|
# @return [String]
|
285
281
|
attr_accessor :status
|
@@ -404,11 +400,8 @@ module Google
|
|
404
400
|
# @return [String]
|
405
401
|
attr_accessor :id
|
406
402
|
|
407
|
-
# Severity of the issue.
|
408
|
-
#
|
409
|
-
# - "`critical`"
|
410
|
-
# - "`error`"
|
411
|
-
# - "`suggestion`"
|
403
|
+
# Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`
|
404
|
+
# suggestion`"
|
412
405
|
# Corresponds to the JSON property `severity`
|
413
406
|
# @return [String]
|
414
407
|
attr_accessor :severity
|
@@ -483,10 +476,7 @@ module Google
|
|
483
476
|
# @return [Fixnum]
|
484
477
|
attr_accessor :num_items
|
485
478
|
|
486
|
-
# Acceptable values are:
|
487
|
-
# - "`critical`"
|
488
|
-
# - "`error`"
|
489
|
-
# - "`suggestion`"
|
479
|
+
# Acceptable values are: - "`critical`" - "`error`" - "`suggestion`"
|
490
480
|
# Corresponds to the JSON property `severity`
|
491
481
|
# @return [String]
|
492
482
|
attr_accessor :severity
|
@@ -624,10 +614,8 @@ module Google
|
|
624
614
|
class AccountStatusProducts
|
625
615
|
include Google::Apis::Core::Hashable
|
626
616
|
|
627
|
-
# The channel the data applies to.
|
628
|
-
#
|
629
|
-
# - "`local`"
|
630
|
-
# - "`online`"
|
617
|
+
# The channel the data applies to. Acceptable values are: - "`local`" - "`online`
|
618
|
+
# "
|
631
619
|
# Corresponds to the JSON property `channel`
|
632
620
|
# @return [String]
|
633
621
|
attr_accessor :channel
|
@@ -842,7 +830,7 @@ module Google
|
|
842
830
|
# Status of the link between this Merchant Center account and the YouTube
|
843
831
|
# channel. Upon retrieval, it represents the actual status of the link and can
|
844
832
|
# be either `active` if it was approved in YT Creator Studio or `pending` if it'
|
845
|
-
# s pending approval. Upon insertion, it represents the intended status of the
|
833
|
+
# s pending approval. Upon insertion, it represents the *intended* status of the
|
846
834
|
# link. Re-uploading a link with status `active` when it's still pending or with
|
847
835
|
# status `pending` when it's already active will have no effect: the status will
|
848
836
|
# remain unchanged. Re-uploading a link with deprecated status `inactive` is
|
@@ -867,11 +855,10 @@ module Google
|
|
867
855
|
class AccountsAuthInfoResponse
|
868
856
|
include Google::Apis::Core::Hashable
|
869
857
|
|
870
|
-
# The account identifiers corresponding to the authenticated user.
|
871
|
-
#
|
872
|
-
# - For an
|
873
|
-
#
|
874
|
-
# defined.
|
858
|
+
# The account identifiers corresponding to the authenticated user. - For an
|
859
|
+
# individual account: only the merchant ID is defined - For an aggregator: only
|
860
|
+
# the aggregator ID is defined - For a subaccount of an MCA: both the merchant
|
861
|
+
# ID and the aggregator ID are defined.
|
875
862
|
# Corresponds to the JSON property `accountIdentifiers`
|
876
863
|
# @return [Array<Google::Apis::ContentV2::AccountIdentifier>]
|
877
864
|
attr_accessor :account_identifiers
|
@@ -975,14 +962,8 @@ module Google
|
|
975
962
|
# @return [Fixnum]
|
976
963
|
attr_accessor :merchant_id
|
977
964
|
|
978
|
-
# The method of the batch entry.
|
979
|
-
#
|
980
|
-
# - "`claimWebsite`"
|
981
|
-
# - "`delete`"
|
982
|
-
# - "`get`"
|
983
|
-
# - "`insert`"
|
984
|
-
# - "`link`"
|
985
|
-
# - "`update`"
|
965
|
+
# The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "`
|
966
|
+
# delete`" - "`get`" - "`insert`" - "`link`" - "`update`"
|
986
967
|
# Corresponds to the JSON property `method`
|
987
968
|
# @return [String]
|
988
969
|
attr_accessor :request_method
|
@@ -1017,19 +998,14 @@ module Google
|
|
1017
998
|
include Google::Apis::Core::Hashable
|
1018
999
|
|
1019
1000
|
# Action to perform for this link. The `"request"` action is only available to
|
1020
|
-
# select merchants.
|
1021
|
-
#
|
1022
|
-
# - "`approve`"
|
1023
|
-
# - "`remove`"
|
1024
|
-
# - "`request`"
|
1001
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
1002
|
+
# request`"
|
1025
1003
|
# Corresponds to the JSON property `action`
|
1026
1004
|
# @return [String]
|
1027
1005
|
attr_accessor :action
|
1028
1006
|
|
1029
|
-
# Type of the link between the two accounts.
|
1030
|
-
#
|
1031
|
-
# - "`channelPartner`"
|
1032
|
-
# - "`eCommercePlatform`"
|
1007
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
1008
|
+
# channelPartner`" - "`eCommercePlatform`"
|
1033
1009
|
# Corresponds to the JSON property `linkType`
|
1034
1010
|
# @return [String]
|
1035
1011
|
attr_accessor :link_type
|
@@ -1104,11 +1080,8 @@ module Google
|
|
1104
1080
|
# @return [String]
|
1105
1081
|
attr_accessor :kind
|
1106
1082
|
|
1107
|
-
# Deprecated. This field is never set.
|
1108
|
-
#
|
1109
|
-
# - "`active`"
|
1110
|
-
# - "`inactive`"
|
1111
|
-
# - "`pending`"
|
1083
|
+
# Deprecated. This field is never set. Acceptable values are: - "`active`" - "`
|
1084
|
+
# inactive`" - "`pending`"
|
1112
1085
|
# Corresponds to the JSON property `linkStatus`
|
1113
1086
|
# @return [String]
|
1114
1087
|
attr_accessor :link_status
|
@@ -1132,19 +1105,14 @@ module Google
|
|
1132
1105
|
include Google::Apis::Core::Hashable
|
1133
1106
|
|
1134
1107
|
# Action to perform for this link. The `"request"` action is only available to
|
1135
|
-
# select merchants.
|
1136
|
-
#
|
1137
|
-
# - "`approve`"
|
1138
|
-
# - "`remove`"
|
1139
|
-
# - "`request`"
|
1108
|
+
# select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`
|
1109
|
+
# request`"
|
1140
1110
|
# Corresponds to the JSON property `action`
|
1141
1111
|
# @return [String]
|
1142
1112
|
attr_accessor :action
|
1143
1113
|
|
1144
|
-
# Type of the link between the two accounts.
|
1145
|
-
#
|
1146
|
-
# - "`channelPartner`"
|
1147
|
-
# - "`eCommercePlatform`"
|
1114
|
+
# Type of the link between the two accounts. Acceptable values are: - "`
|
1115
|
+
# channelPartner`" - "`eCommercePlatform`"
|
1148
1116
|
# Corresponds to the JSON property `linkType`
|
1149
1117
|
# @return [String]
|
1150
1118
|
attr_accessor :link_type
|
@@ -1262,9 +1230,7 @@ module Google
|
|
1262
1230
|
# @return [Fixnum]
|
1263
1231
|
attr_accessor :merchant_id
|
1264
1232
|
|
1265
|
-
# The method of the batch entry.
|
1266
|
-
# Acceptable values are:
|
1267
|
-
# - "`get`"
|
1233
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
1268
1234
|
# Corresponds to the JSON property `method`
|
1269
1235
|
# @return [String]
|
1270
1236
|
attr_accessor :request_method
|
@@ -1416,10 +1382,7 @@ module Google
|
|
1416
1382
|
# @return [Fixnum]
|
1417
1383
|
attr_accessor :merchant_id
|
1418
1384
|
|
1419
|
-
# The method of the batch entry.
|
1420
|
-
# Acceptable values are:
|
1421
|
-
# - "`get`"
|
1422
|
-
# - "`update`"
|
1385
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
1423
1386
|
# Corresponds to the JSON property `method`
|
1424
1387
|
# @return [String]
|
1425
1388
|
attr_accessor :request_method
|
@@ -1676,17 +1639,9 @@ module Google
|
|
1676
1639
|
# @return [String]
|
1677
1640
|
attr_accessor :name
|
1678
1641
|
|
1679
|
-
# The type of the attribute.
|
1680
|
-
#
|
1681
|
-
# - "`
|
1682
|
-
# - "`datetimerange`"
|
1683
|
-
# - "`float`"
|
1684
|
-
# - "`group`"
|
1685
|
-
# - "`int`"
|
1686
|
-
# - "`price`"
|
1687
|
-
# - "`text`"
|
1688
|
-
# - "`time`"
|
1689
|
-
# - "`url`"
|
1642
|
+
# The type of the attribute. Acceptable values are: - "`boolean`" - "`
|
1643
|
+
# datetimerange`" - "`float`" - "`group`" - "`int`" - "`price`" - "`text`" - "`
|
1644
|
+
# time`" - "`url`"
|
1690
1645
|
# Corresponds to the JSON property `type`
|
1691
1646
|
# @return [String]
|
1692
1647
|
attr_accessor :type
|
@@ -1749,22 +1704,11 @@ module Google
|
|
1749
1704
|
# @return [String]
|
1750
1705
|
attr_accessor :description
|
1751
1706
|
|
1752
|
-
# Code of the return reason.
|
1753
|
-
#
|
1754
|
-
# - "`
|
1755
|
-
# - "`
|
1756
|
-
# - "`
|
1757
|
-
# - "`didNotMatchDescription`"
|
1758
|
-
# - "`doesNotFit`"
|
1759
|
-
# - "`expiredItem`"
|
1760
|
-
# - "`incorrectItemReceived`"
|
1761
|
-
# - "`noLongerNeeded`"
|
1762
|
-
# - "`notSpecified`"
|
1763
|
-
# - "`orderedWrongItem`"
|
1764
|
-
# - "`other`"
|
1765
|
-
# - "`qualityNotExpected`"
|
1766
|
-
# - "`receivedTooLate`"
|
1767
|
-
# - "`undeliverable`"
|
1707
|
+
# Code of the return reason. Acceptable values are: - "`betterPriceFound`" - "`
|
1708
|
+
# changedMind`" - "`damagedOrDefectiveItem`" - "`didNotMatchDescription`" - "`
|
1709
|
+
# doesNotFit`" - "`expiredItem`" - "`incorrectItemReceived`" - "`noLongerNeeded`"
|
1710
|
+
# - "`notSpecified`" - "`orderedWrongItem`" - "`other`" - "`qualityNotExpected`"
|
1711
|
+
# - "`receivedTooLate`" - "`undeliverable`"
|
1768
1712
|
# Corresponds to the JSON property `reasonCode`
|
1769
1713
|
# @return [String]
|
1770
1714
|
attr_accessor :reason_code
|
@@ -1832,11 +1776,8 @@ module Google
|
|
1832
1776
|
attr_accessor :content_language
|
1833
1777
|
|
1834
1778
|
# Required. The type of data feed. For product inventory feeds, only feeds for
|
1835
|
-
# local stores, not online stores, are supported.
|
1836
|
-
#
|
1837
|
-
# - "`local products`"
|
1838
|
-
# - "`product inventory`"
|
1839
|
-
# - "`products`"
|
1779
|
+
# local stores, not online stores, are supported. Acceptable values are: - "`
|
1780
|
+
# local products`" - "`product inventory`" - "`products`"
|
1840
1781
|
# Corresponds to the JSON property `contentType`
|
1841
1782
|
# @return [String]
|
1842
1783
|
attr_accessor :content_type
|
@@ -1864,7 +1805,7 @@ module Google
|
|
1864
1805
|
# @return [Fixnum]
|
1865
1806
|
attr_accessor :id
|
1866
1807
|
|
1867
|
-
# [DEPRECATED] Please use
|
1808
|
+
# [DEPRECATED] Please use targets[].includedDestinations instead. The list of
|
1868
1809
|
# intended destinations (corresponds to checked check boxes in Merchant Center).
|
1869
1810
|
# Corresponds to the JSON property `intendedDestinations`
|
1870
1811
|
# @return [Array<String>]
|
@@ -1965,15 +1906,9 @@ module Google
|
|
1965
1906
|
# @return [String]
|
1966
1907
|
attr_accessor :username
|
1967
1908
|
|
1968
|
-
# The day of the week the feed file should be fetched.
|
1969
|
-
#
|
1970
|
-
# - "`
|
1971
|
-
# - "`tuesday`"
|
1972
|
-
# - "`wednesday`"
|
1973
|
-
# - "`thursday`"
|
1974
|
-
# - "`friday`"
|
1975
|
-
# - "`saturday`"
|
1976
|
-
# - "`sunday`"
|
1909
|
+
# The day of the week the feed file should be fetched. Acceptable values are: - "
|
1910
|
+
# `monday`" - "`tuesday`" - "`wednesday`" - "`thursday`" - "`friday`" - "`
|
1911
|
+
# saturday`" - "`sunday`"
|
1977
1912
|
# Corresponds to the JSON property `weekday`
|
1978
1913
|
# @return [String]
|
1979
1914
|
attr_accessor :weekday
|
@@ -2002,32 +1937,21 @@ module Google
|
|
2002
1937
|
|
2003
1938
|
# Delimiter for the separation of values in a delimiter-separated values feed.
|
2004
1939
|
# If not specified, the delimiter will be auto-detected. Ignored for non-DSV
|
2005
|
-
# data feeds.
|
2006
|
-
# Acceptable values are:
|
2007
|
-
# - "`pipe`"
|
2008
|
-
# - "`tab`"
|
2009
|
-
# - "`tilde`"
|
1940
|
+
# data feeds. Acceptable values are: - "`pipe`" - "`tab`" - "`tilde`"
|
2010
1941
|
# Corresponds to the JSON property `columnDelimiter`
|
2011
1942
|
# @return [String]
|
2012
1943
|
attr_accessor :column_delimiter
|
2013
1944
|
|
2014
1945
|
# Character encoding scheme of the data feed. If not specified, the encoding
|
2015
|
-
# will be auto-detected.
|
2016
|
-
#
|
2017
|
-
# - "`latin-1`"
|
2018
|
-
# - "`utf-16be`"
|
2019
|
-
# - "`utf-16le`"
|
2020
|
-
# - "`utf-8`"
|
2021
|
-
# - "`windows-1252`"
|
1946
|
+
# will be auto-detected. Acceptable values are: - "`latin-1`" - "`utf-16be`" - "`
|
1947
|
+
# utf-16le`" - "`utf-8`" - "`windows-1252`"
|
2022
1948
|
# Corresponds to the JSON property `fileEncoding`
|
2023
1949
|
# @return [String]
|
2024
1950
|
attr_accessor :file_encoding
|
2025
1951
|
|
2026
1952
|
# Specifies how double quotes are interpreted. If not specified, the mode will
|
2027
|
-
# be auto-detected. Ignored for non-DSV data feeds.
|
2028
|
-
#
|
2029
|
-
# - "`normal character`"
|
2030
|
-
# - "`value quoting`"
|
1953
|
+
# be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - "`
|
1954
|
+
# normal character`" - "`value quoting`"
|
2031
1955
|
# Corresponds to the JSON property `quotingMode`
|
2032
1956
|
# @return [String]
|
2033
1957
|
attr_accessor :quoting_mode
|
@@ -2049,7 +1973,7 @@ module Google
|
|
2049
1973
|
class DatafeedStatus
|
2050
1974
|
include Google::Apis::Core::Hashable
|
2051
1975
|
|
2052
|
-
# The country for which the status is reported, represented as a
|
1976
|
+
# The country for which the status is reported, represented as a CLDR territory
|
2053
1977
|
# code.
|
2054
1978
|
# Corresponds to the JSON property `country`
|
2055
1979
|
# @return [String]
|
@@ -2091,12 +2015,10 @@ module Google
|
|
2091
2015
|
# @return [String]
|
2092
2016
|
attr_accessor :last_upload_date
|
2093
2017
|
|
2094
|
-
# The processing status of the feed.
|
2095
|
-
#
|
2096
|
-
# - "`
|
2097
|
-
#
|
2098
|
-
# - "`none`": The feed has not yet been processed. For example, a feed that has
|
2099
|
-
# never been uploaded will have this processing status.
|
2018
|
+
# The processing status of the feed. Acceptable values are: - "`"`failure`": The
|
2019
|
+
# feed could not be processed or all items had errors.`" - "`in progress`": The
|
2020
|
+
# feed is being processed. - "`none`": The feed has not yet been processed. For
|
2021
|
+
# example, a feed that has never been uploaded will have this processing status.
|
2100
2022
|
# - "`success`": The feed was processed successfully, though some items might
|
2101
2023
|
# have had errors.
|
2102
2024
|
# Corresponds to the JSON property `processingStatus`
|
@@ -2200,7 +2122,7 @@ module Google
|
|
2200
2122
|
include Google::Apis::Core::Hashable
|
2201
2123
|
|
2202
2124
|
# The country where the items in the feed will be included in the search index,
|
2203
|
-
# represented as a
|
2125
|
+
# represented as a CLDR territory code.
|
2204
2126
|
# Corresponds to the JSON property `country`
|
2205
2127
|
# @return [String]
|
2206
2128
|
attr_accessor :country
|
@@ -2213,12 +2135,9 @@ module Google
|
|
2213
2135
|
|
2214
2136
|
# The list of destinations to include for this target (corresponds to checked
|
2215
2137
|
# check boxes in Merchant Center). Default destinations are always included
|
2216
|
-
# unless provided in `excludedDestinations`.
|
2217
|
-
#
|
2218
|
-
#
|
2219
|
-
# - Shopping
|
2220
|
-
# - ShoppingActions
|
2221
|
-
# - SurfacesAcrossGoogle
|
2138
|
+
# unless provided in `excludedDestinations`. List of supported destinations (if
|
2139
|
+
# available to the account): - DisplayAds - Shopping - ShoppingActions -
|
2140
|
+
# SurfacesAcrossGoogle
|
2222
2141
|
# Corresponds to the JSON property `includedDestinations`
|
2223
2142
|
# @return [Array<String>]
|
2224
2143
|
attr_accessor :included_destinations
|
@@ -2285,13 +2204,8 @@ module Google
|
|
2285
2204
|
# @return [Fixnum]
|
2286
2205
|
attr_accessor :merchant_id
|
2287
2206
|
|
2288
|
-
# The method of the batch entry.
|
2289
|
-
#
|
2290
|
-
# - "`delete`"
|
2291
|
-
# - "`fetchNow`"
|
2292
|
-
# - "`get`"
|
2293
|
-
# - "`insert`"
|
2294
|
-
# - "`update`"
|
2207
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`
|
2208
|
+
# fetchNow`" - "`get`" - "`insert`" - "`update`"
|
2295
2209
|
# Corresponds to the JSON property `method`
|
2296
2210
|
# @return [String]
|
2297
2211
|
attr_accessor :request_method
|
@@ -2471,9 +2385,7 @@ module Google
|
|
2471
2385
|
# @return [Fixnum]
|
2472
2386
|
attr_accessor :merchant_id
|
2473
2387
|
|
2474
|
-
# The method of the batch entry.
|
2475
|
-
# Acceptable values are:
|
2476
|
-
# - "`get`"
|
2388
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
2477
2389
|
# Corresponds to the JSON property `method`
|
2478
2390
|
# @return [String]
|
2479
2391
|
attr_accessor :request_method
|
@@ -2800,8 +2712,8 @@ module Google
|
|
2800
2712
|
|
2801
2713
|
# A list of inclusive number of items upper bounds. The last value can be `"
|
2802
2714
|
# infinity"`. For example `["10", "50", "infinity"]` represents the headers "<=
|
2803
|
-
# 10 items", " 50 items". Must be non-empty. Can only be set
|
2804
|
-
# are not set.
|
2715
|
+
# 10 items", "<= 50 items", and "> 50 items". Must be non-empty. Can only be set
|
2716
|
+
# if all other fields are not set.
|
2805
2717
|
# Corresponds to the JSON property `numberOfItems`
|
2806
2718
|
# @return [Array<String>]
|
2807
2719
|
attr_accessor :number_of_items
|
@@ -2817,8 +2729,9 @@ module Google
|
|
2817
2729
|
# A list of inclusive order price upper bounds. The last price's value can be `"
|
2818
2730
|
# infinity"`. For example `[`"value": "10", "currency": "USD"`, `"value": "500",
|
2819
2731
|
# "currency": "USD"`, `"value": "infinity", "currency": "USD"`]` represents the
|
2820
|
-
# headers "<= $10", " $500". All prices within a service must
|
2821
|
-
# currency. Must be non-empty. Can only be set if all other fields
|
2732
|
+
# headers "<= $10", "<= $500", and "> $500". All prices within a service must
|
2733
|
+
# have the same currency. Must be non-empty. Can only be set if all other fields
|
2734
|
+
# are not set.
|
2822
2735
|
# Corresponds to the JSON property `prices`
|
2823
2736
|
# @return [Array<Google::Apis::ContentV2::Price>]
|
2824
2737
|
attr_accessor :prices
|
@@ -2826,8 +2739,8 @@ module Google
|
|
2826
2739
|
# A list of inclusive order weight upper bounds. The last weight's value can be `
|
2827
2740
|
# "infinity"`. For example `[`"value": "10", "unit": "kg"`, `"value": "50", "
|
2828
2741
|
# unit": "kg"`, `"value": "infinity", "unit": "kg"`]` represents the headers "<=
|
2829
|
-
# 10kg", " 50kg". All weights within a service must have the
|
2830
|
-
# non-empty. Can only be set if all other fields are not set.
|
2742
|
+
# 10kg", "<= 50kg", and "> 50kg". All weights within a service must have the
|
2743
|
+
# same unit. Must be non-empty. Can only be set if all other fields are not set.
|
2831
2744
|
# Corresponds to the JSON property `weights`
|
2832
2745
|
# @return [Array<Google::Apis::ContentV2::Weight>]
|
2833
2746
|
attr_accessor :weights
|
@@ -2864,7 +2777,7 @@ module Google
|
|
2864
2777
|
attr_accessor :deadline_hour
|
2865
2778
|
|
2866
2779
|
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
2867
|
-
# in
|
2780
|
+
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
2868
2781
|
# Corresponds to the JSON property `deadlineTimezone`
|
2869
2782
|
# @return [String]
|
2870
2783
|
attr_accessor :deadline_timezone
|
@@ -2930,16 +2843,9 @@ module Google
|
|
2930
2843
|
# @return [String]
|
2931
2844
|
attr_accessor :id
|
2932
2845
|
|
2933
|
-
# The holiday type. Always present.
|
2934
|
-
#
|
2935
|
-
# - "`
|
2936
|
-
# - "`Easter`"
|
2937
|
-
# - "`Father's Day`"
|
2938
|
-
# - "`Halloween`"
|
2939
|
-
# - "`Independence Day (USA)`"
|
2940
|
-
# - "`Mother's Day`"
|
2941
|
-
# - "`Thanksgiving`"
|
2942
|
-
# - "`Valentine's Day`"
|
2846
|
+
# The holiday type. Always present. Acceptable values are: - "`Christmas`" - "`
|
2847
|
+
# Easter`" - "`Father's Day`" - "`Halloween`" - "`Independence Day (USA)`" - "`
|
2848
|
+
# Mother's Day`" - "`Thanksgiving`" - "`Valentine's Day`"
|
2943
2849
|
# Corresponds to the JSON property `type`
|
2944
2850
|
# @return [String]
|
2945
2851
|
attr_accessor :type
|
@@ -2984,15 +2890,12 @@ module Google
|
|
2984
2890
|
end
|
2985
2891
|
end
|
2986
2892
|
|
2987
|
-
#
|
2893
|
+
#
|
2988
2894
|
class Inventory
|
2989
2895
|
include Google::Apis::Core::Hashable
|
2990
2896
|
|
2991
|
-
# The availability of the product.
|
2992
|
-
#
|
2993
|
-
# - "`in stock`"
|
2994
|
-
# - "`out of stock`"
|
2995
|
-
# - "`preorder`"
|
2897
|
+
# The availability of the product. Acceptable values are: - "`in stock`" - "`out
|
2898
|
+
# of stock`" - "`preorder`"
|
2996
2899
|
# Corresponds to the JSON property `availability`
|
2997
2900
|
# @return [String]
|
2998
2901
|
attr_accessor :availability
|
@@ -3138,7 +3041,7 @@ module Google
|
|
3138
3041
|
# @return [Fixnum]
|
3139
3042
|
attr_accessor :batch_id
|
3140
3043
|
|
3141
|
-
#
|
3044
|
+
# Price and availability of the product.
|
3142
3045
|
# Corresponds to the JSON property `inventory`
|
3143
3046
|
# @return [Google::Apis::ContentV2::Inventory]
|
3144
3047
|
attr_accessor :inventory
|
@@ -3238,30 +3141,17 @@ module Google
|
|
3238
3141
|
# Whether store pickup is available for this offer and whether the pickup option
|
3239
3142
|
# should be shown as buy, reserve, or not supported. Only supported for local
|
3240
3143
|
# inventory. Unless the value is "not supported", must be submitted together
|
3241
|
-
# with `pickupSla`.
|
3242
|
-
#
|
3243
|
-
# - "`buy`"
|
3244
|
-
# - "`not supported`"
|
3245
|
-
# - "`reserve`"
|
3246
|
-
# - "`ship to store`"
|
3144
|
+
# with `pickupSla`. Acceptable values are: - "`buy`" - "`not supported`" - "`
|
3145
|
+
# reserve`" - "`ship to store`"
|
3247
3146
|
# Corresponds to the JSON property `pickupMethod`
|
3248
3147
|
# @return [String]
|
3249
3148
|
attr_accessor :pickup_method
|
3250
3149
|
|
3251
3150
|
# The expected date that an order will be ready for pickup, relative to when the
|
3252
3151
|
# order is placed. Only supported for local inventory. Must be submitted
|
3253
|
-
# together with `pickupMethod`.
|
3254
|
-
#
|
3255
|
-
# - "`
|
3256
|
-
# - "`four day`"
|
3257
|
-
# - "`multi day`"
|
3258
|
-
# - "`multi week`"
|
3259
|
-
# - "`next day`"
|
3260
|
-
# - "`same day`"
|
3261
|
-
# - "`seven day`"
|
3262
|
-
# - "`six day`"
|
3263
|
-
# - "`three day`"
|
3264
|
-
# - "`two day`"
|
3152
|
+
# together with `pickupMethod`. Acceptable values are: - "`five day`" - "`four
|
3153
|
+
# day`" - "`multi day`" - "`multi week`" - "`next day`" - "`same day`" - "`seven
|
3154
|
+
# day`" - "`six day`" - "`three day`" - "`two day`"
|
3265
3155
|
# Corresponds to the JSON property `pickupSla`
|
3266
3156
|
# @return [String]
|
3267
3157
|
attr_accessor :pickup_sla
|
@@ -3281,11 +3171,8 @@ module Google
|
|
3281
3171
|
class SetInventoryRequest
|
3282
3172
|
include Google::Apis::Core::Hashable
|
3283
3173
|
|
3284
|
-
# The availability of the product.
|
3285
|
-
#
|
3286
|
-
# - "`in stock`"
|
3287
|
-
# - "`out of stock`"
|
3288
|
-
# - "`preorder`"
|
3174
|
+
# The availability of the product. Acceptable values are: - "`in stock`" - "`out
|
3175
|
+
# of stock`" - "`preorder`"
|
3289
3176
|
# Corresponds to the JSON property `availability`
|
3290
3177
|
# @return [String]
|
3291
3178
|
attr_accessor :availability
|
@@ -3474,9 +3361,8 @@ module Google
|
|
3474
3361
|
# @return [Google::Apis::ContentV2::Amount]
|
3475
3362
|
attr_accessor :total_amount
|
3476
3363
|
|
3477
|
-
# [required] Type of the additional charge.
|
3478
|
-
#
|
3479
|
-
# - "`shipping`"
|
3364
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
3365
|
+
#
|
3480
3366
|
# Corresponds to the JSON property `type`
|
3481
3367
|
# @return [String]
|
3482
3368
|
attr_accessor :type
|
@@ -3496,11 +3382,8 @@ module Google
|
|
3496
3382
|
class LiaAboutPageSettings
|
3497
3383
|
include Google::Apis::Core::Hashable
|
3498
3384
|
|
3499
|
-
# The status of the verification process for the About page.
|
3500
|
-
#
|
3501
|
-
# - "`active`"
|
3502
|
-
# - "`inactive`"
|
3503
|
-
# - "`pending`"
|
3385
|
+
# The status of the verification process for the About page. Acceptable values
|
3386
|
+
# are: - "`active`" - "`inactive`" - "`pending`"
|
3504
3387
|
# Corresponds to the JSON property `status`
|
3505
3388
|
# @return [String]
|
3506
3389
|
attr_accessor :status
|
@@ -3592,20 +3475,14 @@ module Google
|
|
3592
3475
|
# @return [String]
|
3593
3476
|
attr_accessor :inventory_verification_contact_name
|
3594
3477
|
|
3595
|
-
# The status of the verification contact.
|
3596
|
-
#
|
3597
|
-
# - "`active`"
|
3598
|
-
# - "`inactive`"
|
3599
|
-
# - "`pending`"
|
3478
|
+
# The status of the verification contact. Acceptable values are: - "`active`" - "
|
3479
|
+
# `inactive`" - "`pending`"
|
3600
3480
|
# Corresponds to the JSON property `inventoryVerificationContactStatus`
|
3601
3481
|
# @return [String]
|
3602
3482
|
attr_accessor :inventory_verification_contact_status
|
3603
3483
|
|
3604
|
-
# The status of the inventory verification process.
|
3605
|
-
#
|
3606
|
-
# - "`active`"
|
3607
|
-
# - "`inactive`"
|
3608
|
-
# - "`pending`"
|
3484
|
+
# The status of the inventory verification process. Acceptable values are: - "`
|
3485
|
+
# active`" - "`inactive`" - "`pending`"
|
3609
3486
|
# Corresponds to the JSON property `status`
|
3610
3487
|
# @return [String]
|
3611
3488
|
attr_accessor :status
|
@@ -3632,11 +3509,8 @@ module Google
|
|
3632
3509
|
# @return [String]
|
3633
3510
|
attr_accessor :shipping_cost_policy_url
|
3634
3511
|
|
3635
|
-
# The status of the ?On display to order? feature.
|
3636
|
-
#
|
3637
|
-
# - "`active`"
|
3638
|
-
# - "`inactive`"
|
3639
|
-
# - "`pending`"
|
3512
|
+
# The status of the ?On display to order? feature. Acceptable values are: - "`
|
3513
|
+
# active`" - "`inactive`" - "`pending`"
|
3640
3514
|
# Corresponds to the JSON property `status`
|
3641
3515
|
# @return [String]
|
3642
3516
|
attr_accessor :status
|
@@ -3777,14 +3651,10 @@ module Google
|
|
3777
3651
|
# @return [Fixnum]
|
3778
3652
|
attr_accessor :merchant_id
|
3779
3653
|
|
3780
|
-
# The method of the batch entry.
|
3781
|
-
#
|
3782
|
-
# - "`
|
3783
|
-
#
|
3784
|
-
# - "`requestGmbAccess`"
|
3785
|
-
# - "`requestInventoryVerification`"
|
3786
|
-
# - "`setInventoryVerificationContact`"
|
3787
|
-
# - "`update`"
|
3654
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`
|
3655
|
+
# getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`
|
3656
|
+
# requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`
|
3657
|
+
# update`"
|
3788
3658
|
# Corresponds to the JSON property `method`
|
3789
3659
|
# @return [String]
|
3790
3660
|
attr_accessor :method_prop
|
@@ -4199,13 +4069,8 @@ module Google
|
|
4199
4069
|
# @return [Array<String>]
|
4200
4070
|
attr_accessor :return_shipment_ids
|
4201
4071
|
|
4202
|
-
# State of the item.
|
4203
|
-
#
|
4204
|
-
# - "`canceled`"
|
4205
|
-
# - "`new`"
|
4206
|
-
# - "`received`"
|
4207
|
-
# - "`refunded`"
|
4208
|
-
# - "`rejected`"
|
4072
|
+
# State of the item. Acceptable values are: - "`canceled`" - "`new`" - "`
|
4073
|
+
# received`" - "`refunded`" - "`rejected`"
|
4209
4074
|
# Corresponds to the JSON property `state`
|
4210
4075
|
# @return [String]
|
4211
4076
|
attr_accessor :state
|
@@ -4273,8 +4138,7 @@ module Google
|
|
4273
4138
|
end
|
4274
4139
|
|
4275
4140
|
# Order. Production access (all methods) requires the order manager role.
|
4276
|
-
# Sandbox access does not.
|
4277
|
-
# orders ==)
|
4141
|
+
# Sandbox access does not.
|
4278
4142
|
class Order
|
4279
4143
|
include Google::Apis::Core::Hashable
|
4280
4144
|
|
@@ -4284,10 +4148,7 @@ module Google
|
|
4284
4148
|
attr_accessor :acknowledged
|
4285
4149
|
alias_method :acknowledged?, :acknowledged
|
4286
4150
|
|
4287
|
-
# Deprecated.
|
4288
|
-
# Acceptable values are:
|
4289
|
-
# - "`googleExpress`"
|
4290
|
-
# - "`purchasesOnGoogle`"
|
4151
|
+
# Deprecated. Acceptable values are: - "`googleExpress`" - "`purchasesOnGoogle`"
|
4291
4152
|
# Corresponds to the JSON property `channelType`
|
4292
4153
|
# @return [String]
|
4293
4154
|
attr_accessor :channel_type
|
@@ -4340,12 +4201,8 @@ module Google
|
|
4340
4201
|
# @return [Google::Apis::ContentV2::OrderPaymentMethod]
|
4341
4202
|
attr_accessor :payment_method
|
4342
4203
|
|
4343
|
-
# The status of the payment.
|
4344
|
-
#
|
4345
|
-
# - "`paymentCaptured`"
|
4346
|
-
# - "`paymentRejected`"
|
4347
|
-
# - "`paymentSecured`"
|
4348
|
-
# - "`pendingAuthorization`"
|
4204
|
+
# The status of the payment. Acceptable values are: - "`paymentCaptured`" - "`
|
4205
|
+
# paymentRejected`" - "`paymentSecured`" - "`pendingAuthorization`"
|
4349
4206
|
# Corresponds to the JSON property `paymentStatus`
|
4350
4207
|
# @return [String]
|
4351
4208
|
attr_accessor :payment_status
|
@@ -4360,24 +4217,22 @@ module Google
|
|
4360
4217
|
# @return [String]
|
4361
4218
|
attr_accessor :placed_date
|
4362
4219
|
|
4363
|
-
# The details of the merchant provided promotions applied to the order.
|
4364
|
-
#
|
4220
|
+
# The details of the merchant provided promotions applied to the order. To
|
4221
|
+
# determine which promotions apply to which products, check the `Promotions[].
|
4365
4222
|
# Benefits[].OfferIds` field against the `LineItems[].Product.OfferId` field for
|
4366
4223
|
# each promotion. If a promotion is applied to more than 1 `offerId`, divide the
|
4367
4224
|
# discount value by the number of affected offers to determine how much discount
|
4368
|
-
# to apply to each `offerId`.
|
4369
|
-
#
|
4370
|
-
#
|
4371
|
-
#
|
4372
|
-
#
|
4373
|
-
# - To calculate the line item level discount for multiple quantity of a
|
4374
|
-
# specific item: For each promotion, divide the `Promotions[].Benefits[].
|
4225
|
+
# to apply to each `offerId`. Examples: 1. To calculate the line item level
|
4226
|
+
# discount for a single specific item: For each promotion, subtract the `
|
4227
|
+
# Promotions[].Benefits[].Discount.value` amount from the `LineItems[].Price.
|
4228
|
+
# value`. 2. To calculate the line item level discount for multiple quantity of
|
4229
|
+
# a specific item: For each promotion, divide the `Promotions[].Benefits[].
|
4375
4230
|
# Discount.value` by the quantity of products and substract it from `LineItems[].
|
4376
|
-
# Product.Price.value` for each quantity item.
|
4377
|
-
#
|
4378
|
-
#
|
4379
|
-
#
|
4380
|
-
#
|
4231
|
+
# Product.Price.value` for each quantity item. Only 1 promotion can be applied
|
4232
|
+
# to an offerId in a given order. To refund an item which had a promotion
|
4233
|
+
# applied to it, make sure to refund the amount after first subtracting the
|
4234
|
+
# promotion discount from the item price. More details about the program are
|
4235
|
+
# here.
|
4381
4236
|
# Corresponds to the JSON property `promotions`
|
4382
4237
|
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
|
4383
4238
|
attr_accessor :promotions
|
@@ -4402,37 +4257,22 @@ module Google
|
|
4402
4257
|
# @return [Google::Apis::ContentV2::Price]
|
4403
4258
|
attr_accessor :shipping_cost_tax
|
4404
4259
|
|
4405
|
-
# Deprecated. Shipping details are provided with line items instead.
|
4406
|
-
#
|
4407
|
-
# - "`
|
4408
|
-
# - "`expedited`"
|
4409
|
-
# - "`oneDay`"
|
4410
|
-
# - "`sameDay`"
|
4411
|
-
# - "`standard`"
|
4412
|
-
# - "`twoDay`"
|
4260
|
+
# Deprecated. Shipping details are provided with line items instead. Acceptable
|
4261
|
+
# values are: - "`economy`" - "`expedited`" - "`oneDay`" - "`sameDay`" - "`
|
4262
|
+
# standard`" - "`twoDay`"
|
4413
4263
|
# Corresponds to the JSON property `shippingOption`
|
4414
4264
|
# @return [String]
|
4415
4265
|
attr_accessor :shipping_option
|
4416
4266
|
|
4417
|
-
# The status of the order.
|
4418
|
-
#
|
4419
|
-
# - "`
|
4420
|
-
# - "`delivered`"
|
4421
|
-
# - "`inProgress`"
|
4422
|
-
# - "`partiallyDelivered`"
|
4423
|
-
# - "`partiallyReturned`"
|
4424
|
-
# - "`partiallyShipped`"
|
4425
|
-
# - "`pendingShipment`"
|
4426
|
-
# - "`returned`"
|
4427
|
-
# - "`shipped`"
|
4267
|
+
# The status of the order. Acceptable values are: - "`canceled`" - "`delivered`"
|
4268
|
+
# - "`inProgress`" - "`partiallyDelivered`" - "`partiallyReturned`" - "`
|
4269
|
+
# partiallyShipped`" - "`pendingShipment`" - "`returned`" - "`shipped`"
|
4428
4270
|
# Corresponds to the JSON property `status`
|
4429
4271
|
# @return [String]
|
4430
4272
|
attr_accessor :status
|
4431
4273
|
|
4432
|
-
# The party responsible for collecting and remitting taxes.
|
4433
|
-
#
|
4434
|
-
# - "`marketplaceFacilitator`"
|
4435
|
-
# - "`merchant`"
|
4274
|
+
# The party responsible for collecting and remitting taxes. Acceptable values
|
4275
|
+
# are: - "`marketplaceFacilitator`" - "`merchant`"
|
4436
4276
|
# Corresponds to the JSON property `taxCollector`
|
4437
4277
|
# @return [String]
|
4438
4278
|
attr_accessor :tax_collector
|
@@ -4478,11 +4318,8 @@ module Google
|
|
4478
4318
|
attr_accessor :country
|
4479
4319
|
|
4480
4320
|
# Strings representing the lines of the printed label for mailing the order, for
|
4481
|
-
# example:
|
4482
|
-
#
|
4483
|
-
# 1600 Amphitheatre Parkway
|
4484
|
-
# Mountain View, CA, 94043
|
4485
|
-
# United States
|
4321
|
+
# example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United
|
4322
|
+
# States
|
4486
4323
|
# Corresponds to the JSON property `fullAddress`
|
4487
4324
|
# @return [Array<String>]
|
4488
4325
|
attr_accessor :full_address
|
@@ -4541,14 +4378,9 @@ module Google
|
|
4541
4378
|
class OrderCancellation
|
4542
4379
|
include Google::Apis::Core::Hashable
|
4543
4380
|
|
4544
|
-
# The actor that created the cancellation.
|
4545
|
-
#
|
4546
|
-
# - "`
|
4547
|
-
# - "`googleBot`"
|
4548
|
-
# - "`googleCustomerService`"
|
4549
|
-
# - "`googlePayments`"
|
4550
|
-
# - "`googleSabre`"
|
4551
|
-
# - "`merchant`"
|
4381
|
+
# The actor that created the cancellation. Acceptable values are: - "`customer`"
|
4382
|
+
# - "`googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`
|
4383
|
+
# googleSabre`" - "`merchant`"
|
4552
4384
|
# Corresponds to the JSON property `actor`
|
4553
4385
|
# @return [String]
|
4554
4386
|
attr_accessor :actor
|
@@ -4566,35 +4398,18 @@ module Google
|
|
4566
4398
|
# The reason for the cancellation. Orders that are canceled with a noInventory
|
4567
4399
|
# reason will lead to the removal of the product from Shopping Actions until you
|
4568
4400
|
# make an update to that product. This will not affect your Shopping ads.
|
4569
|
-
# Acceptable values are:
|
4570
|
-
# - "`
|
4571
|
-
# - "`
|
4572
|
-
# - "`
|
4573
|
-
# - "`
|
4574
|
-
# - "`
|
4575
|
-
# - "`
|
4576
|
-
# - "`
|
4577
|
-
# - "`
|
4578
|
-
# - "`
|
4579
|
-
# - "`
|
4580
|
-
#
|
4581
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
4582
|
-
# - "`failToPushOrderToMerchant`"
|
4583
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
4584
|
-
# - "`invalidCoupon`"
|
4585
|
-
# - "`malformedShippingAddress`"
|
4586
|
-
# - "`merchantDidNotShipOnTime`"
|
4587
|
-
# - "`noInventory`"
|
4588
|
-
# - "`orderTimeout`"
|
4589
|
-
# - "`other`"
|
4590
|
-
# - "`paymentAbuse`"
|
4591
|
-
# - "`paymentDeclined`"
|
4592
|
-
# - "`priceError`"
|
4593
|
-
# - "`returnRefundAbuse`"
|
4594
|
-
# - "`shippingPriceError`"
|
4595
|
-
# - "`taxError`"
|
4596
|
-
# - "`undeliverableShippingAddress`"
|
4597
|
-
# - "`unsupportedPoBoxAddress`"
|
4401
|
+
# Acceptable values are: - "`autoPostInternal`" - "`
|
4402
|
+
# autoPostInvalidBillingAddress`" - "`autoPostNoInventory`" - "`
|
4403
|
+
# autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
4404
|
+
# couponAbuse`" - "`customerCanceled`" - "`customerInitiatedCancel`" - "`
|
4405
|
+
# customerSupportRequested`" - "`failToPushOrderGoogleError`" - "`
|
4406
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
4407
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
4408
|
+
# invalidCoupon`" - "`malformedShippingAddress`" - "`merchantDidNotShipOnTime`" -
|
4409
|
+
# "`noInventory`" - "`orderTimeout`" - "`other`" - "`paymentAbuse`" - "`
|
4410
|
+
# paymentDeclined`" - "`priceError`" - "`returnRefundAbuse`" - "`
|
4411
|
+
# shippingPriceError`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
4412
|
+
# unsupportedPoBoxAddress`"
|
4598
4413
|
# Corresponds to the JSON property `reason`
|
4599
4414
|
# @return [String]
|
4600
4415
|
attr_accessor :reason
|
@@ -4640,7 +4455,7 @@ module Google
|
|
4640
4455
|
|
4641
4456
|
# Email address for the merchant to send value-added tax or invoice
|
4642
4457
|
# documentation of the order. Only the last document sent is made available to
|
4643
|
-
# the customer. For more information, see
|
4458
|
+
# the customer. For more information, see About automated VAT invoicing for
|
4644
4459
|
# Shopping Actions.
|
4645
4460
|
# Corresponds to the JSON property `invoiceReceivingEmail`
|
4646
4461
|
# @return [String]
|
@@ -4676,10 +4491,8 @@ module Google
|
|
4676
4491
|
# cases this selection might not be known, so this field would be empty. If a
|
4677
4492
|
# customer selected `granted` in their most recent order, they can be subscribed
|
4678
4493
|
# to marketing emails. Customers who have chosen `denied` must not be subscribed,
|
4679
|
-
# or must be unsubscribed if already opted-in.
|
4680
|
-
#
|
4681
|
-
# - "`denied`"
|
4682
|
-
# - "`granted`"
|
4494
|
+
# or must be unsubscribed if already opted-in. Acceptable values are: - "`
|
4495
|
+
# denied`" - "`granted`"
|
4683
4496
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
4684
4497
|
# @return [String]
|
4685
4498
|
attr_accessor :explicit_marketing_preference
|
@@ -4745,11 +4558,11 @@ module Google
|
|
4745
4558
|
|
4746
4559
|
# The date and time frame when the promotion is active and ready for validation
|
4747
4560
|
# review. Note that the promotion live time may be delayed for a few hours due
|
4748
|
-
# to the validation review.
|
4749
|
-
#
|
4750
|
-
#
|
4751
|
-
#
|
4752
|
-
#
|
4561
|
+
# to the validation review. Start date and end date are separated by a forward
|
4562
|
+
# slash (/). The start date is specified by the format (YYYY-MM-DD), followed by
|
4563
|
+
# the letter ?T?, the time of the day when the sale starts (in Greenwich Mean
|
4564
|
+
# Time, GMT), followed by an expression of the time zone for the sale. The end
|
4565
|
+
# date is in the same format.
|
4753
4566
|
# Corresponds to the JSON property `effectiveDates`
|
4754
4567
|
# @return [String]
|
4755
4568
|
attr_accessor :effective_dates
|
@@ -4771,16 +4584,13 @@ module Google
|
|
4771
4584
|
attr_accessor :long_title
|
4772
4585
|
|
4773
4586
|
# Whether the promotion is applicable to all products or only specific products.
|
4774
|
-
# Acceptable values are:
|
4775
|
-
# - "`allProducts`"
|
4776
|
-
# - "`specificProducts`"
|
4587
|
+
# Acceptable values are: - "`allProducts`" - "`specificProducts`"
|
4777
4588
|
# Corresponds to the JSON property `productApplicability`
|
4778
4589
|
# @return [String]
|
4779
4590
|
attr_accessor :product_applicability
|
4780
4591
|
|
4781
|
-
# Indicates that the promotion is valid online.
|
4782
|
-
#
|
4783
|
-
# - "`online`"
|
4592
|
+
# Indicates that the promotion is valid online. Acceptable values are: - "`
|
4593
|
+
# online`"
|
4784
4594
|
# Corresponds to the JSON property `redemptionChannel`
|
4785
4595
|
# @return [String]
|
4786
4596
|
attr_accessor :redemption_channel
|
@@ -4817,22 +4627,12 @@ module Google
|
|
4817
4627
|
attr_accessor :offer_ids
|
4818
4628
|
|
4819
4629
|
# Further describes the benefit of the promotion. Note that we will expand on
|
4820
|
-
# this enumeration as we support new promotion sub-types.
|
4821
|
-
#
|
4822
|
-
# - "`
|
4823
|
-
# - "`
|
4824
|
-
# - "`
|
4825
|
-
#
|
4826
|
-
# - "`freeGift`"
|
4827
|
-
# - "`freeGiftWithItemId`"
|
4828
|
-
# - "`freeGiftWithValue`"
|
4829
|
-
# - "`freeOvernightShipping`"
|
4830
|
-
# - "`freeShipping`"
|
4831
|
-
# - "`freeTwoDayShipping`"
|
4832
|
-
# - "`moneyOff`"
|
4833
|
-
# - "`percentageOff`"
|
4834
|
-
# - "`rewardPoints`"
|
4835
|
-
# - "`salePrice`"
|
4630
|
+
# this enumeration as we support new promotion sub-types. Acceptable values are:
|
4631
|
+
# - "`buyMGetMoneyOff`" - "`buyMGetNMoneyOff`" - "`buyMGetNPercentOff`" - "`
|
4632
|
+
# buyMGetPercentOff`" - "`freeGift`" - "`freeGiftWithItemId`" - "`
|
4633
|
+
# freeGiftWithValue`" - "`freeOvernightShipping`" - "`freeShipping`" - "`
|
4634
|
+
# freeTwoDayShipping`" - "`moneyOff`" - "`percentageOff`" - "`rewardPoints`" - "`
|
4635
|
+
# salePrice`"
|
4836
4636
|
# Corresponds to the JSON property `subType`
|
4837
4637
|
# @return [String]
|
4838
4638
|
attr_accessor :sub_type
|
@@ -4843,10 +4643,8 @@ module Google
|
|
4843
4643
|
attr_accessor :tax_impact
|
4844
4644
|
|
4845
4645
|
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
4846
|
-
# shipping (e.g. Free Shipping).
|
4847
|
-
#
|
4848
|
-
# - "`product`"
|
4849
|
-
# - "`shipping`"
|
4646
|
+
# shipping (e.g. Free Shipping). Acceptable values are: - "`product`" - "`
|
4647
|
+
# shipping`"
|
4850
4648
|
# Corresponds to the JSON property `type`
|
4851
4649
|
# @return [String]
|
4852
4650
|
attr_accessor :type
|
@@ -4987,19 +4785,14 @@ module Google
|
|
4987
4785
|
# @return [String]
|
4988
4786
|
attr_accessor :brand
|
4989
4787
|
|
4990
|
-
# The item's channel (online or local).
|
4991
|
-
#
|
4992
|
-
# - "`local`"
|
4993
|
-
# - "`online`"
|
4788
|
+
# The item's channel (online or local). Acceptable values are: - "`local`" - "`
|
4789
|
+
# online`"
|
4994
4790
|
# Corresponds to the JSON property `channel`
|
4995
4791
|
# @return [String]
|
4996
4792
|
attr_accessor :channel
|
4997
4793
|
|
4998
|
-
# Condition or state of the item.
|
4999
|
-
#
|
5000
|
-
# - "`new`"
|
5001
|
-
# - "`refurbished`"
|
5002
|
-
# - "`used`"
|
4794
|
+
# Condition or state of the item. Acceptable values are: - "`new`" - "`
|
4795
|
+
# refurbished`" - "`used`"
|
5003
4796
|
# Corresponds to the JSON property `condition`
|
5004
4797
|
# @return [String]
|
5005
4798
|
attr_accessor :condition
|
@@ -5054,7 +4847,7 @@ module Google
|
|
5054
4847
|
# @return [String]
|
5055
4848
|
attr_accessor :shown_image
|
5056
4849
|
|
5057
|
-
# The CLDR territory code of the target country of the product.
|
4850
|
+
# The CLDR territory // code of the target country of the product.
|
5058
4851
|
# Corresponds to the JSON property `targetCountry`
|
5059
4852
|
# @return [String]
|
5060
4853
|
attr_accessor :target_country
|
@@ -5198,10 +4991,8 @@ module Google
|
|
5198
4991
|
attr_accessor :ship_by_date
|
5199
4992
|
|
5200
4993
|
# Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is
|
5201
|
-
# applicable for this shipment.
|
5202
|
-
#
|
5203
|
-
# - "`delivery`"
|
5204
|
-
# - "`pickup`"
|
4994
|
+
# applicable for this shipment. Acceptable values are: - "`delivery`" - "`pickup`
|
4995
|
+
# "
|
5205
4996
|
# Corresponds to the JSON property `type`
|
5206
4997
|
# @return [String]
|
5207
4998
|
attr_accessor :type
|
@@ -5313,15 +5104,8 @@ module Google
|
|
5313
5104
|
# @return [String]
|
5314
5105
|
attr_accessor :phone_number
|
5315
5106
|
|
5316
|
-
# The type of instrument.
|
5317
|
-
#
|
5318
|
-
# - "`AMEX`"
|
5319
|
-
# - "`DISCOVER`"
|
5320
|
-
# - "`JCB`"
|
5321
|
-
# - "`MASTERCARD`"
|
5322
|
-
# - "`UNIONPAY`"
|
5323
|
-
# - "`VISA`"
|
5324
|
-
# - "``"
|
5107
|
+
# The type of instrument. Acceptable values are: - "`AMEX`" - "`DISCOVER`" - "`
|
5108
|
+
# JCB`" - "`MASTERCARD`" - "`UNIONPAY`" - "`VISA`" - "``"
|
5325
5109
|
# Corresponds to the JSON property `type`
|
5326
5110
|
# @return [String]
|
5327
5111
|
attr_accessor :type
|
@@ -5403,13 +5187,8 @@ module Google
|
|
5403
5187
|
class OrderRefund
|
5404
5188
|
include Google::Apis::Core::Hashable
|
5405
5189
|
|
5406
|
-
# The actor that created the refund.
|
5407
|
-
#
|
5408
|
-
# - "`customer`"
|
5409
|
-
# - "`googleBot`"
|
5410
|
-
# - "`googleCustomerService`"
|
5411
|
-
# - "`googlePayments`"
|
5412
|
-
# - "`googleSabre`"
|
5190
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
5191
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
5413
5192
|
# - "`merchant`"
|
5414
5193
|
# Corresponds to the JSON property `actor`
|
5415
5194
|
# @return [String]
|
@@ -5425,52 +5204,23 @@ module Google
|
|
5425
5204
|
# @return [String]
|
5426
5205
|
attr_accessor :creation_date
|
5427
5206
|
|
5428
|
-
# The reason for the refund.
|
5429
|
-
#
|
5430
|
-
# - "`
|
5431
|
-
# - "`
|
5432
|
-
# - "`
|
5433
|
-
# - "`
|
5434
|
-
# - "`
|
5435
|
-
# - "`
|
5436
|
-
# - "`
|
5437
|
-
# - "`
|
5438
|
-
# - "`
|
5439
|
-
# - "`
|
5440
|
-
# - "`
|
5441
|
-
# - "`
|
5442
|
-
# - "`
|
5443
|
-
# - "`
|
5444
|
-
# - "`
|
5445
|
-
# - "`failToPushOrderGoogleError`"
|
5446
|
-
# - "`failToPushOrderMerchantError`"
|
5447
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
5448
|
-
# - "`failToPushOrderToMerchant`"
|
5449
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
5450
|
-
# - "`feeAdjustment`"
|
5451
|
-
# - "`invalidCoupon`"
|
5452
|
-
# - "`lateShipmentCredit`"
|
5453
|
-
# - "`malformedShippingAddress`"
|
5454
|
-
# - "`merchantDidNotShipOnTime`"
|
5455
|
-
# - "`noInventory`"
|
5456
|
-
# - "`orderTimeout`"
|
5457
|
-
# - "`other`"
|
5458
|
-
# - "`paymentAbuse`"
|
5459
|
-
# - "`paymentDeclined`"
|
5460
|
-
# - "`priceAdjustment`"
|
5461
|
-
# - "`priceError`"
|
5462
|
-
# - "`productArrivedDamaged`"
|
5463
|
-
# - "`productNotAsDescribed`"
|
5464
|
-
# - "`promoReallocation`"
|
5465
|
-
# - "`qualityNotAsExpected`"
|
5466
|
-
# - "`returnRefundAbuse`"
|
5467
|
-
# - "`shippingCostAdjustment`"
|
5468
|
-
# - "`shippingPriceError`"
|
5469
|
-
# - "`taxAdjustment`"
|
5470
|
-
# - "`taxError`"
|
5471
|
-
# - "`undeliverableShippingAddress`"
|
5472
|
-
# - "`unsupportedPoBoxAddress`"
|
5473
|
-
# - "`wrongProductShipped`"
|
5207
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
5208
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
5209
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
5210
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
5211
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
5212
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
5213
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
5214
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
5215
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
5216
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
5217
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
5218
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
5219
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
5220
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
5221
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
5222
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
5223
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
5474
5224
|
# Corresponds to the JSON property `reason`
|
5475
5225
|
# @return [String]
|
5476
5226
|
attr_accessor :reason
|
@@ -5494,8 +5244,7 @@ module Google
|
|
5494
5244
|
end
|
5495
5245
|
end
|
5496
5246
|
|
5497
|
-
# Order disbursement. All methods require the payment analyst role.
|
5498
|
-
# resource_for v2.orderreports ==) (== resource_for v2.1.orderreports ==)
|
5247
|
+
# Order disbursement. All methods require the payment analyst role.
|
5499
5248
|
class OrderReportDisbursement
|
5500
5249
|
include Google::Apis::Core::Hashable
|
5501
5250
|
|
@@ -5615,13 +5364,8 @@ module Google
|
|
5615
5364
|
class OrderReturn
|
5616
5365
|
include Google::Apis::Core::Hashable
|
5617
5366
|
|
5618
|
-
# The actor that created the refund.
|
5619
|
-
#
|
5620
|
-
# - "`customer`"
|
5621
|
-
# - "`googleBot`"
|
5622
|
-
# - "`googleCustomerService`"
|
5623
|
-
# - "`googlePayments`"
|
5624
|
-
# - "`googleSabre`"
|
5367
|
+
# The actor that created the refund. Acceptable values are: - "`customer`" - "`
|
5368
|
+
# googleBot`" - "`googleCustomerService`" - "`googlePayments`" - "`googleSabre`"
|
5625
5369
|
# - "`merchant`"
|
5626
5370
|
# Corresponds to the JSON property `actor`
|
5627
5371
|
# @return [String]
|
@@ -5637,21 +5381,13 @@ module Google
|
|
5637
5381
|
# @return [Fixnum]
|
5638
5382
|
attr_accessor :quantity
|
5639
5383
|
|
5640
|
-
# The reason for the return.
|
5641
|
-
#
|
5642
|
-
# - "`
|
5643
|
-
# - "`
|
5644
|
-
# - "`
|
5645
|
-
# - "`
|
5646
|
-
#
|
5647
|
-
# - "`malformedShippingAddress`"
|
5648
|
-
# - "`other`"
|
5649
|
-
# - "`productArrivedDamaged`"
|
5650
|
-
# - "`productNotAsDescribed`"
|
5651
|
-
# - "`qualityNotAsExpected`"
|
5652
|
-
# - "`undeliverableShippingAddress`"
|
5653
|
-
# - "`unsupportedPoBoxAddress`"
|
5654
|
-
# - "`wrongProductShipped`"
|
5384
|
+
# The reason for the return. Acceptable values are: - "`
|
5385
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
5386
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
5387
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
5388
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
5389
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
5390
|
+
# wrongProductShipped`"
|
5655
5391
|
# Corresponds to the JSON property `reason`
|
5656
5392
|
# @return [String]
|
5657
5393
|
attr_accessor :reason
|
@@ -5679,59 +5415,33 @@ module Google
|
|
5679
5415
|
class OrderShipment
|
5680
5416
|
include Google::Apis::Core::Hashable
|
5681
5417
|
|
5682
|
-
# The carrier handling the shipment.
|
5683
|
-
#
|
5684
|
-
#
|
5685
|
-
#
|
5686
|
-
#
|
5687
|
-
#
|
5688
|
-
# updates
|
5689
|
-
#
|
5690
|
-
# - "`
|
5691
|
-
# - "`
|
5692
|
-
# - "`
|
5693
|
-
# - "`
|
5694
|
-
# - "`
|
5695
|
-
# - "`
|
5696
|
-
# - "`
|
5697
|
-
# - "`
|
5698
|
-
# - "`
|
5699
|
-
# - "`
|
5700
|
-
# - "`
|
5701
|
-
# - "`
|
5702
|
-
# - "`
|
5703
|
-
# - "`
|
5704
|
-
# - "`
|
5705
|
-
# - "`
|
5706
|
-
# - "`
|
5707
|
-
# - "`
|
5708
|
-
# - "`
|
5709
|
-
# - "`ptt`" (PTT Turkish Post)
|
5710
|
-
# - "`eub`" (ePacket)
|
5711
|
-
# - "`chukou1`" (Chukou1 Logistics)
|
5712
|
-
# - "`bestex`" (Best Express)
|
5713
|
-
# - "`canada post`" (Canada Post)
|
5714
|
-
# - "`purolator`" (Purolator)
|
5715
|
-
# - "`canpar`" (Canpar)
|
5716
|
-
# - "`india post`" (India Post)
|
5717
|
-
# - "`blue dart`" (Blue Dart)
|
5718
|
-
# - "`delhivery`" (Delhivery)
|
5719
|
-
# - "`dtdc`" (DTDC)
|
5720
|
-
# - "`tpc india`" (TPC India)
|
5721
|
-
# Supported carriers for FR are:
|
5722
|
-
# - "`la poste`" (La Poste) automatic status updates
|
5723
|
-
# - "`colissimo`" (Colissimo by La Poste) automatic status updates
|
5724
|
-
# - "`ups`" (United Parcel Service) automatic status updates
|
5725
|
-
# - "`chronopost`" (Chronopost by La Poste)
|
5726
|
-
# - "`gls`" (General Logistics Systems France)
|
5727
|
-
# - "`dpd`" (DPD Group by GeoPost)
|
5728
|
-
# - "`bpost`" (Belgian Post Group)
|
5729
|
-
# - "`colis prive`" (Colis Privé)
|
5730
|
-
# - "`boxtal`" (Boxtal)
|
5731
|
-
# - "`geodis`" (GEODIS)
|
5732
|
-
# - "`tnt`" (TNT)
|
5733
|
-
# - "`db schenker`" (DB Schenker)
|
5734
|
-
# - "`aramex`" (Aramex)
|
5418
|
+
# The carrier handling the shipment. For supported carriers, Google includes the
|
5419
|
+
# carrier name and tracking URL in emails to customers. For select supported
|
5420
|
+
# carriers, Google also automatically updates the shipment status based on the
|
5421
|
+
# provided shipment ID. *Note:* You can also use unsupported carriers, but
|
5422
|
+
# emails to customers will not include the carrier name or tracking URL, and
|
5423
|
+
# there will be no automatic order status updates. Supported carriers for US are:
|
5424
|
+
# - "`ups`" (United Parcel Service) *automatic status updates* - "`usps`" (
|
5425
|
+
# United States Postal Service) *automatic status updates* - "`fedex`" (FedEx) *
|
5426
|
+
# automatic status updates * - "`dhl`" (DHL eCommerce) *automatic status updates*
|
5427
|
+
# (US only) - "`ontrac`" (OnTrac) *automatic status updates * - "`dhl express`"
|
5428
|
+
# (DHL Express) - "`deliv`" (Deliv) - "`dynamex`" (TForce) - "`lasership`" (
|
5429
|
+
# LaserShip) - "`mpx`" (Military Parcel Xpress) - "`uds`" (United Delivery
|
5430
|
+
# Service) - "`efw`" (Estes Forwarding Worldwide) - "`jd logistics`" (JD
|
5431
|
+
# Logistics) - "`yunexpress`" (YunExpress) - "`china post`" (China Post) - "`
|
5432
|
+
# china ems`" (China Post Express Mail Service) - "`singapore post`" (Singapore
|
5433
|
+
# Post) - "`pos malaysia`" (Pos Malaysia) - "`postnl`" (PostNL) - "`ptt`" (PTT
|
5434
|
+
# Turkish Post) - "`eub`" (ePacket) - "`chukou1`" (Chukou1 Logistics) - "`bestex`
|
5435
|
+
# " (Best Express) - "`canada post`" (Canada Post) - "`purolator`" (Purolator) -
|
5436
|
+
# "`canpar`" (Canpar) - "`india post`" (India Post) - "`blue dart`" (Blue Dart) -
|
5437
|
+
# "`delhivery`" (Delhivery) - "`dtdc`" (DTDC) - "`tpc india`" (TPC India)
|
5438
|
+
# Supported carriers for FR are: - "`la poste`" (La Poste) *automatic status
|
5439
|
+
# updates * - "`colissimo`" (Colissimo by La Poste) *automatic status updates* -
|
5440
|
+
# "`ups`" (United Parcel Service) *automatic status updates * - "`chronopost`" (
|
5441
|
+
# Chronopost by La Poste) - "`gls`" (General Logistics Systems France) - "`dpd`"
|
5442
|
+
# (DPD Group by GeoPost) - "`bpost`" (Belgian Post Group) - "`colis prive`" (
|
5443
|
+
# Colis Privé) - "`boxtal`" (Boxtal) - "`geodis`" (GEODIS) - "`tnt`" (TNT) - "`
|
5444
|
+
# db schenker`" (DB Schenker) - "`aramex`" (Aramex)
|
5735
5445
|
# Corresponds to the JSON property `carrier`
|
5736
5446
|
# @return [String]
|
5737
5447
|
attr_accessor :carrier
|
@@ -5762,12 +5472,8 @@ module Google
|
|
5762
5472
|
# @return [Google::Apis::ContentV2::OrderShipmentScheduledDeliveryDetails]
|
5763
5473
|
attr_accessor :scheduled_delivery_details
|
5764
5474
|
|
5765
|
-
# The status of the shipment.
|
5766
|
-
#
|
5767
|
-
# - "`delivered`"
|
5768
|
-
# - "`readyForPickup`"
|
5769
|
-
# - "`shipped`"
|
5770
|
-
# - "`undeliverable`"
|
5475
|
+
# The status of the shipment. Acceptable values are: - "`delivered`" - "`
|
5476
|
+
# readyForPickup`" - "`shipped`" - "`undeliverable`"
|
5771
5477
|
# Corresponds to the JSON property `status`
|
5772
5478
|
# @return [String]
|
5773
5479
|
attr_accessor :status
|
@@ -5904,10 +5610,8 @@ module Google
|
|
5904
5610
|
class OrderinvoicesCreateChargeInvoiceResponse
|
5905
5611
|
include Google::Apis::Core::Hashable
|
5906
5612
|
|
5907
|
-
# The status of the execution.
|
5908
|
-
#
|
5909
|
-
# - "`duplicate`"
|
5910
|
-
# - "`executed`"
|
5613
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
5614
|
+
# executed`"
|
5911
5615
|
# Corresponds to the JSON property `executionStatus`
|
5912
5616
|
# @return [String]
|
5913
5617
|
attr_accessor :execution_status
|
@@ -5980,10 +5684,8 @@ module Google
|
|
5980
5684
|
class OrderinvoicesCreateRefundInvoiceResponse
|
5981
5685
|
include Google::Apis::Core::Hashable
|
5982
5686
|
|
5983
|
-
# The status of the execution.
|
5984
|
-
#
|
5985
|
-
# - "`duplicate`"
|
5986
|
-
# - "`executed`"
|
5687
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
5688
|
+
# executed`"
|
5987
5689
|
# Corresponds to the JSON property `executionStatus`
|
5988
5690
|
# @return [String]
|
5989
5691
|
attr_accessor :execution_status
|
@@ -6014,52 +5716,23 @@ module Google
|
|
6014
5716
|
# @return [String]
|
6015
5717
|
attr_accessor :description
|
6016
5718
|
|
6017
|
-
# [required] Reason for the refund.
|
6018
|
-
#
|
6019
|
-
# - "`
|
6020
|
-
# - "`
|
6021
|
-
# - "`
|
6022
|
-
# - "`
|
6023
|
-
# - "`
|
6024
|
-
# - "`
|
6025
|
-
# - "`
|
6026
|
-
# - "`
|
6027
|
-
# - "`
|
6028
|
-
# - "`
|
6029
|
-
# - "`
|
6030
|
-
# - "`
|
6031
|
-
# - "`
|
6032
|
-
# - "`
|
6033
|
-
# - "`
|
6034
|
-
# - "`failToPushOrderGoogleError`"
|
6035
|
-
# - "`failToPushOrderMerchantError`"
|
6036
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
6037
|
-
# - "`failToPushOrderToMerchant`"
|
6038
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
6039
|
-
# - "`feeAdjustment`"
|
6040
|
-
# - "`invalidCoupon`"
|
6041
|
-
# - "`lateShipmentCredit`"
|
6042
|
-
# - "`malformedShippingAddress`"
|
6043
|
-
# - "`merchantDidNotShipOnTime`"
|
6044
|
-
# - "`noInventory`"
|
6045
|
-
# - "`orderTimeout`"
|
6046
|
-
# - "`other`"
|
6047
|
-
# - "`paymentAbuse`"
|
6048
|
-
# - "`paymentDeclined`"
|
6049
|
-
# - "`priceAdjustment`"
|
6050
|
-
# - "`priceError`"
|
6051
|
-
# - "`productArrivedDamaged`"
|
6052
|
-
# - "`productNotAsDescribed`"
|
6053
|
-
# - "`promoReallocation`"
|
6054
|
-
# - "`qualityNotAsExpected`"
|
6055
|
-
# - "`returnRefundAbuse`"
|
6056
|
-
# - "`shippingCostAdjustment`"
|
6057
|
-
# - "`shippingPriceError`"
|
6058
|
-
# - "`taxAdjustment`"
|
6059
|
-
# - "`taxError`"
|
6060
|
-
# - "`undeliverableShippingAddress`"
|
6061
|
-
# - "`unsupportedPoBoxAddress`"
|
6062
|
-
# - "`wrongProductShipped`"
|
5719
|
+
# [required] Reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
5720
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
5721
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
5722
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
5723
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
5724
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
5725
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
5726
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
5727
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
5728
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
5729
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
5730
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
5731
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
5732
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
5733
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
5734
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
5735
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
6063
5736
|
# Corresponds to the JSON property `reason`
|
6064
5737
|
# @return [String]
|
6065
5738
|
attr_accessor :reason
|
@@ -6084,21 +5757,13 @@ module Google
|
|
6084
5757
|
# @return [String]
|
6085
5758
|
attr_accessor :description
|
6086
5759
|
|
6087
|
-
# [required] Reason for the return.
|
6088
|
-
#
|
6089
|
-
# - "`
|
6090
|
-
# - "`
|
6091
|
-
# - "`
|
6092
|
-
# - "`
|
6093
|
-
#
|
6094
|
-
# - "`malformedShippingAddress`"
|
6095
|
-
# - "`other`"
|
6096
|
-
# - "`productArrivedDamaged`"
|
6097
|
-
# - "`productNotAsDescribed`"
|
6098
|
-
# - "`qualityNotAsExpected`"
|
6099
|
-
# - "`undeliverableShippingAddress`"
|
6100
|
-
# - "`unsupportedPoBoxAddress`"
|
6101
|
-
# - "`wrongProductShipped`"
|
5760
|
+
# [required] Reason for the return. Acceptable values are: - "`
|
5761
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
5762
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
5763
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
5764
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
5765
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
5766
|
+
# wrongProductShipped`"
|
6102
5767
|
# Corresponds to the JSON property `reason`
|
6103
5768
|
# @return [String]
|
6104
5769
|
attr_accessor :reason
|
@@ -6233,10 +5898,8 @@ module Google
|
|
6233
5898
|
class OrdersAcknowledgeResponse
|
6234
5899
|
include Google::Apis::Core::Hashable
|
6235
5900
|
|
6236
|
-
# The status of the execution.
|
6237
|
-
#
|
6238
|
-
# - "`duplicate`"
|
6239
|
-
# - "`executed`"
|
5901
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
5902
|
+
# executed`"
|
6240
5903
|
# Corresponds to the JSON property `executionStatus`
|
6241
5904
|
# @return [String]
|
6242
5905
|
attr_accessor :execution_status
|
@@ -6322,18 +5985,10 @@ module Google
|
|
6322
5985
|
# @return [Fixnum]
|
6323
5986
|
attr_accessor :quantity
|
6324
5987
|
|
6325
|
-
# The reason for the cancellation.
|
6326
|
-
#
|
6327
|
-
# - "`
|
6328
|
-
# - "`
|
6329
|
-
# - "`malformedShippingAddress`"
|
6330
|
-
# - "`noInventory`"
|
6331
|
-
# - "`other`"
|
6332
|
-
# - "`priceError`"
|
6333
|
-
# - "`shippingPriceError`"
|
6334
|
-
# - "`taxError`"
|
6335
|
-
# - "`undeliverableShippingAddress`"
|
6336
|
-
# - "`unsupportedPoBoxAddress`"
|
5988
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
5989
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
5990
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
5991
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
6337
5992
|
# Corresponds to the JSON property `reason`
|
6338
5993
|
# @return [String]
|
6339
5994
|
attr_accessor :reason
|
@@ -6365,10 +6020,8 @@ module Google
|
|
6365
6020
|
class OrdersCancelLineItemResponse
|
6366
6021
|
include Google::Apis::Core::Hashable
|
6367
6022
|
|
6368
|
-
# The status of the execution.
|
6369
|
-
#
|
6370
|
-
# - "`duplicate`"
|
6371
|
-
# - "`executed`"
|
6023
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6024
|
+
# executed`"
|
6372
6025
|
# Corresponds to the JSON property `executionStatus`
|
6373
6026
|
# @return [String]
|
6374
6027
|
attr_accessor :execution_status
|
@@ -6399,18 +6052,10 @@ module Google
|
|
6399
6052
|
# @return [String]
|
6400
6053
|
attr_accessor :operation_id
|
6401
6054
|
|
6402
|
-
# The reason for the cancellation.
|
6403
|
-
#
|
6404
|
-
# - "`
|
6405
|
-
# - "`
|
6406
|
-
# - "`malformedShippingAddress`"
|
6407
|
-
# - "`noInventory`"
|
6408
|
-
# - "`other`"
|
6409
|
-
# - "`priceError`"
|
6410
|
-
# - "`shippingPriceError`"
|
6411
|
-
# - "`taxError`"
|
6412
|
-
# - "`undeliverableShippingAddress`"
|
6413
|
-
# - "`unsupportedPoBoxAddress`"
|
6055
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
6056
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
6057
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
6058
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
6414
6059
|
# Corresponds to the JSON property `reason`
|
6415
6060
|
# @return [String]
|
6416
6061
|
attr_accessor :reason
|
@@ -6436,10 +6081,8 @@ module Google
|
|
6436
6081
|
class OrdersCancelResponse
|
6437
6082
|
include Google::Apis::Core::Hashable
|
6438
6083
|
|
6439
|
-
# The status of the execution.
|
6440
|
-
#
|
6441
|
-
# - "`duplicate`"
|
6442
|
-
# - "`executed`"
|
6084
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
6085
|
+
# executed`"
|
6443
6086
|
# Corresponds to the JSON property `executionStatus`
|
6444
6087
|
# @return [String]
|
6445
6088
|
attr_accessor :execution_status
|
@@ -6465,11 +6108,8 @@ module Google
|
|
6465
6108
|
class OrdersCancelTestOrderByCustomerRequest
|
6466
6109
|
include Google::Apis::Core::Hashable
|
6467
6110
|
|
6468
|
-
# The reason for the cancellation.
|
6469
|
-
#
|
6470
|
-
# - "`changedMind`"
|
6471
|
-
# - "`orderedWrongItem`"
|
6472
|
-
# - "`other`"
|
6111
|
+
# The reason for the cancellation. Acceptable values are: - "`changedMind`" - "`
|
6112
|
+
# orderedWrongItem`" - "`other`"
|
6473
6113
|
# Corresponds to the JSON property `reason`
|
6474
6114
|
# @return [String]
|
6475
6115
|
attr_accessor :reason
|
@@ -6508,25 +6148,18 @@ module Google
|
|
6508
6148
|
class OrdersCreateTestOrderRequest
|
6509
6149
|
include Google::Apis::Core::Hashable
|
6510
6150
|
|
6511
|
-
# The
|
6151
|
+
# The CLDR territory code of the country of the test order to create. Affects
|
6512
6152
|
# the currency and addresses of orders created via `template_name`, or the
|
6513
|
-
# addresses of orders created via `test_order`.
|
6514
|
-
#
|
6515
|
-
# - "`US`"
|
6516
|
-
# - "`FR`" Defaults to `US`.
|
6153
|
+
# addresses of orders created via `test_order`. Acceptable values are: - "`US`" -
|
6154
|
+
# "`FR`" Defaults to `US`.
|
6517
6155
|
# Corresponds to the JSON property `country`
|
6518
6156
|
# @return [String]
|
6519
6157
|
attr_accessor :country
|
6520
6158
|
|
6521
6159
|
# The test order template to use. Specify as an alternative to `testOrder` as a
|
6522
6160
|
# shortcut for retrieving a template and then creating an order using that
|
6523
|
-
# template.
|
6524
|
-
#
|
6525
|
-
# - "`template1`"
|
6526
|
-
# - "`template1a`"
|
6527
|
-
# - "`template1b`"
|
6528
|
-
# - "`template2`"
|
6529
|
-
# - "`template3`"
|
6161
|
+
# template. Acceptable values are: - "`template1`" - "`template1a`" - "`
|
6162
|
+
# template1b`" - "`template2`" - "`template3`"
|
6530
6163
|
# Corresponds to the JSON property `templateName`
|
6531
6164
|
# @return [String]
|
6532
6165
|
attr_accessor :template_name
|
@@ -6673,22 +6306,11 @@ module Google
|
|
6673
6306
|
# @return [String]
|
6674
6307
|
attr_accessor :merchant_order_id
|
6675
6308
|
|
6676
|
-
# The method of the batch entry.
|
6677
|
-
#
|
6678
|
-
# - "`
|
6679
|
-
# - "`
|
6680
|
-
# - "`
|
6681
|
-
# - "`get`"
|
6682
|
-
# - "`getByMerchantOrderId`"
|
6683
|
-
# - "`inStoreRefundLineItem`"
|
6684
|
-
# - "`refund`"
|
6685
|
-
# - "`rejectReturnLineItem`"
|
6686
|
-
# - "`returnLineItem`"
|
6687
|
-
# - "`returnRefundLineItem`"
|
6688
|
-
# - "`setLineItemMetadata`"
|
6689
|
-
# - "`shipLineItems`"
|
6690
|
-
# - "`updateLineItemShippingDetails`"
|
6691
|
-
# - "`updateMerchantOrderId`"
|
6309
|
+
# The method of the batch entry. Acceptable values are: - "`acknowledge`" - "`
|
6310
|
+
# cancel`" - "`cancelLineItem`" - "`get`" - "`getByMerchantOrderId`" - "`
|
6311
|
+
# inStoreRefundLineItem`" - "`refund`" - "`rejectReturnLineItem`" - "`
|
6312
|
+
# returnLineItem`" - "`returnRefundLineItem`" - "`setLineItemMetadata`" - "`
|
6313
|
+
# shipLineItems`" - "`updateLineItemShippingDetails`" - "`updateMerchantOrderId`"
|
6692
6314
|
# - "`updateShipment`"
|
6693
6315
|
# Corresponds to the JSON property `method`
|
6694
6316
|
# @return [String]
|
@@ -6775,18 +6397,10 @@ module Google
|
|
6775
6397
|
class OrdersCustomBatchRequestEntryCancel
|
6776
6398
|
include Google::Apis::Core::Hashable
|
6777
6399
|
|
6778
|
-
# The reason for the cancellation.
|
6779
|
-
#
|
6780
|
-
# - "`
|
6781
|
-
# - "`
|
6782
|
-
# - "`malformedShippingAddress`"
|
6783
|
-
# - "`noInventory`"
|
6784
|
-
# - "`other`"
|
6785
|
-
# - "`priceError`"
|
6786
|
-
# - "`shippingPriceError`"
|
6787
|
-
# - "`taxError`"
|
6788
|
-
# - "`undeliverableShippingAddress`"
|
6789
|
-
# - "`unsupportedPoBoxAddress`"
|
6400
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
6401
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
6402
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
6403
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
6790
6404
|
# Corresponds to the JSON property `reason`
|
6791
6405
|
# @return [String]
|
6792
6406
|
attr_accessor :reason
|
@@ -6846,18 +6460,10 @@ module Google
|
|
6846
6460
|
# @return [Fixnum]
|
6847
6461
|
attr_accessor :quantity
|
6848
6462
|
|
6849
|
-
# The reason for the cancellation.
|
6850
|
-
#
|
6851
|
-
# - "`
|
6852
|
-
# - "`
|
6853
|
-
# - "`malformedShippingAddress`"
|
6854
|
-
# - "`noInventory`"
|
6855
|
-
# - "`other`"
|
6856
|
-
# - "`priceError`"
|
6857
|
-
# - "`shippingPriceError`"
|
6858
|
-
# - "`taxError`"
|
6859
|
-
# - "`undeliverableShippingAddress`"
|
6860
|
-
# - "`unsupportedPoBoxAddress`"
|
6463
|
+
# The reason for the cancellation. Acceptable values are: - "`
|
6464
|
+
# customerInitiatedCancel`" - "`invalidCoupon`" - "`malformedShippingAddress`" -
|
6465
|
+
# "`noInventory`" - "`other`" - "`priceError`" - "`shippingPriceError`" - "`
|
6466
|
+
# taxError`" - "`undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`"
|
6861
6467
|
# Corresponds to the JSON property `reason`
|
6862
6468
|
# @return [String]
|
6863
6469
|
attr_accessor :reason
|
@@ -6939,21 +6545,13 @@ module Google
|
|
6939
6545
|
# @return [Fixnum]
|
6940
6546
|
attr_accessor :quantity
|
6941
6547
|
|
6942
|
-
# The reason for the return.
|
6943
|
-
#
|
6944
|
-
# - "`
|
6945
|
-
# - "`
|
6946
|
-
# - "`
|
6947
|
-
# - "`
|
6948
|
-
#
|
6949
|
-
# - "`malformedShippingAddress`"
|
6950
|
-
# - "`other`"
|
6951
|
-
# - "`productArrivedDamaged`"
|
6952
|
-
# - "`productNotAsDescribed`"
|
6953
|
-
# - "`qualityNotAsExpected`"
|
6954
|
-
# - "`undeliverableShippingAddress`"
|
6955
|
-
# - "`unsupportedPoBoxAddress`"
|
6956
|
-
# - "`wrongProductShipped`"
|
6548
|
+
# The reason for the return. Acceptable values are: - "`
|
6549
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
6550
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
6551
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
6552
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
6553
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
6554
|
+
# wrongProductShipped`"
|
6957
6555
|
# Corresponds to the JSON property `reason`
|
6958
6556
|
# @return [String]
|
6959
6557
|
attr_accessor :reason
|
@@ -6999,24 +6597,12 @@ module Google
|
|
6999
6597
|
# @return [Google::Apis::ContentV2::Price]
|
7000
6598
|
attr_accessor :amount_tax
|
7001
6599
|
|
7002
|
-
# The reason for the refund.
|
7003
|
-
#
|
7004
|
-
# - "`
|
7005
|
-
# - "`
|
7006
|
-
# - "`
|
7007
|
-
# - "`
|
7008
|
-
# - "`deliveredLateByCarrier`"
|
7009
|
-
# - "`feeAdjustment`"
|
7010
|
-
# - "`lateShipmentCredit`"
|
7011
|
-
# - "`noInventory`"
|
7012
|
-
# - "`other`"
|
7013
|
-
# - "`priceError`"
|
7014
|
-
# - "`productArrivedDamaged`"
|
7015
|
-
# - "`productNotAsDescribed`"
|
7016
|
-
# - "`shippingCostAdjustment`"
|
7017
|
-
# - "`taxAdjustment`"
|
7018
|
-
# - "`undeliverableShippingAddress`"
|
7019
|
-
# - "`wrongProductShipped`"
|
6600
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
6601
|
+
# courtesyAdjustment`" - "`customerCanceled`" - "`customerDiscretionaryReturn`" -
|
6602
|
+
# "`deliveredLateByCarrier`" - "`feeAdjustment`" - "`lateShipmentCredit`" - "`
|
6603
|
+
# noInventory`" - "`other`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
6604
|
+
# productNotAsDescribed`" - "`shippingCostAdjustment`" - "`taxAdjustment`" - "`
|
6605
|
+
# undeliverableShippingAddress`" - "`wrongProductShipped`"
|
7020
6606
|
# Corresponds to the JSON property `reason`
|
7021
6607
|
# @return [String]
|
7022
6608
|
attr_accessor :reason
|
@@ -7060,13 +6646,8 @@ module Google
|
|
7060
6646
|
# @return [Fixnum]
|
7061
6647
|
attr_accessor :quantity
|
7062
6648
|
|
7063
|
-
# The reason for the return.
|
7064
|
-
#
|
7065
|
-
# - "`damagedOrUsed`"
|
7066
|
-
# - "`missingComponent`"
|
7067
|
-
# - "`notEligible`"
|
7068
|
-
# - "`other`"
|
7069
|
-
# - "`outOfReturnWindow`"
|
6649
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
6650
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
7070
6651
|
# Corresponds to the JSON property `reason`
|
7071
6652
|
# @return [String]
|
7072
6653
|
attr_accessor :reason
|
@@ -7110,21 +6691,13 @@ module Google
|
|
7110
6691
|
# @return [Fixnum]
|
7111
6692
|
attr_accessor :quantity
|
7112
6693
|
|
7113
|
-
# The reason for the return.
|
7114
|
-
#
|
7115
|
-
# - "`
|
7116
|
-
# - "`
|
7117
|
-
# - "`
|
7118
|
-
# - "`
|
7119
|
-
#
|
7120
|
-
# - "`malformedShippingAddress`"
|
7121
|
-
# - "`other`"
|
7122
|
-
# - "`productArrivedDamaged`"
|
7123
|
-
# - "`productNotAsDescribed`"
|
7124
|
-
# - "`qualityNotAsExpected`"
|
7125
|
-
# - "`undeliverableShippingAddress`"
|
7126
|
-
# - "`unsupportedPoBoxAddress`"
|
7127
|
-
# - "`wrongProductShipped`"
|
6694
|
+
# The reason for the return. Acceptable values are: - "`
|
6695
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
6696
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
6697
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
6698
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
6699
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
6700
|
+
# wrongProductShipped`"
|
7128
6701
|
# Corresponds to the JSON property `reason`
|
7129
6702
|
# @return [String]
|
7130
6703
|
attr_accessor :reason
|
@@ -7181,21 +6754,13 @@ module Google
|
|
7181
6754
|
# @return [Fixnum]
|
7182
6755
|
attr_accessor :quantity
|
7183
6756
|
|
7184
|
-
# The reason for the return.
|
7185
|
-
#
|
7186
|
-
# - "`
|
7187
|
-
# - "`
|
7188
|
-
# - "`
|
7189
|
-
# - "`
|
7190
|
-
#
|
7191
|
-
# - "`malformedShippingAddress`"
|
7192
|
-
# - "`other`"
|
7193
|
-
# - "`productArrivedDamaged`"
|
7194
|
-
# - "`productNotAsDescribed`"
|
7195
|
-
# - "`qualityNotAsExpected`"
|
7196
|
-
# - "`undeliverableShippingAddress`"
|
7197
|
-
# - "`unsupportedPoBoxAddress`"
|
7198
|
-
# - "`wrongProductShipped`"
|
6757
|
+
# The reason for the return. Acceptable values are: - "`
|
6758
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
6759
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
6760
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
6761
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
6762
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
6763
|
+
# wrongProductShipped`"
|
7199
6764
|
# Corresponds to the JSON property `reason`
|
7200
6765
|
# @return [String]
|
7201
6766
|
attr_accessor :reason
|
@@ -7259,8 +6824,8 @@ module Google
|
|
7259
6824
|
include Google::Apis::Core::Hashable
|
7260
6825
|
|
7261
6826
|
# Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
|
7262
|
-
# See `shipments[].carrier` in the
|
7263
|
-
#
|
6827
|
+
# See `shipments[].carrier` in the Orders resource representation for a list of
|
6828
|
+
# acceptable values.
|
7264
6829
|
# Corresponds to the JSON property `carrier`
|
7265
6830
|
# @return [String]
|
7266
6831
|
attr_accessor :carrier
|
@@ -7311,7 +6876,7 @@ module Google
|
|
7311
6876
|
class OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo
|
7312
6877
|
include Google::Apis::Core::Hashable
|
7313
6878
|
|
7314
|
-
# The carrier handling the shipment. See `shipments[].carrier` in the
|
6879
|
+
# The carrier handling the shipment. See `shipments[].carrier` in the Orders
|
7315
6880
|
# resource representation for a list of acceptable values.
|
7316
6881
|
# Corresponds to the JSON property `carrier`
|
7317
6882
|
# @return [String]
|
@@ -7345,9 +6910,8 @@ module Google
|
|
7345
6910
|
include Google::Apis::Core::Hashable
|
7346
6911
|
|
7347
6912
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
7348
|
-
# date is updated.
|
7349
|
-
#
|
7350
|
-
# past.
|
6913
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
6914
|
+
# be a date in the past.
|
7351
6915
|
# Corresponds to the JSON property `deliverByDate`
|
7352
6916
|
# @return [String]
|
7353
6917
|
attr_accessor :deliver_by_date
|
@@ -7365,9 +6929,8 @@ module Google
|
|
7365
6929
|
attr_accessor :product_id
|
7366
6930
|
|
7367
6931
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
7368
|
-
# date is updated.
|
7369
|
-
#
|
7370
|
-
# past.
|
6932
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
6933
|
+
# be a date in the past.
|
7371
6934
|
# Corresponds to the JSON property `shipByDate`
|
7372
6935
|
# @return [String]
|
7373
6936
|
attr_accessor :ship_by_date
|
@@ -7390,8 +6953,7 @@ module Google
|
|
7390
6953
|
include Google::Apis::Core::Hashable
|
7391
6954
|
|
7392
6955
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
7393
|
-
# carrier` in the
|
7394
|
-
# values.
|
6956
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
7395
6957
|
# Corresponds to the JSON property `carrier`
|
7396
6958
|
# @return [String]
|
7397
6959
|
attr_accessor :carrier
|
@@ -7407,11 +6969,8 @@ module Google
|
|
7407
6969
|
# @return [String]
|
7408
6970
|
attr_accessor :shipment_id
|
7409
6971
|
|
7410
|
-
# New status for the shipment. Not updated if missing.
|
7411
|
-
#
|
7412
|
-
# - "`delivered`"
|
7413
|
-
# - "`undeliverable`"
|
7414
|
-
# - "`readyForPickup`"
|
6972
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
6973
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
7415
6974
|
# Corresponds to the JSON property `status`
|
7416
6975
|
# @return [String]
|
7417
6976
|
attr_accessor :status
|
@@ -7475,13 +7034,9 @@ module Google
|
|
7475
7034
|
# @return [Google::Apis::ContentV2::Errors]
|
7476
7035
|
attr_accessor :errors
|
7477
7036
|
|
7478
|
-
# The status of the execution. Only defined if
|
7479
|
-
#
|
7480
|
-
#
|
7481
|
-
#
|
7482
|
-
# Acceptable values are:
|
7483
|
-
# - "`duplicate`"
|
7484
|
-
# - "`executed`"
|
7037
|
+
# The status of the execution. Only defined if 1. the request was successful;
|
7038
|
+
# and 2. the method is not `get`, `getByMerchantOrderId`, or one of the test
|
7039
|
+
# methods. Acceptable values are: - "`duplicate`" - "`executed`"
|
7485
7040
|
# Corresponds to the JSON property `executionStatus`
|
7486
7041
|
# @return [String]
|
7487
7042
|
attr_accessor :execution_status
|
@@ -7493,8 +7048,7 @@ module Google
|
|
7493
7048
|
attr_accessor :kind
|
7494
7049
|
|
7495
7050
|
# Order. Production access (all methods) requires the order manager role.
|
7496
|
-
# Sandbox access does not.
|
7497
|
-
# orders ==)
|
7051
|
+
# Sandbox access does not.
|
7498
7052
|
# Corresponds to the JSON property `order`
|
7499
7053
|
# @return [Google::Apis::ContentV2::Order]
|
7500
7054
|
attr_accessor :order
|
@@ -7524,8 +7078,7 @@ module Google
|
|
7524
7078
|
attr_accessor :kind
|
7525
7079
|
|
7526
7080
|
# Order. Production access (all methods) requires the order manager role.
|
7527
|
-
# Sandbox access does not.
|
7528
|
-
# orders ==)
|
7081
|
+
# Sandbox access does not.
|
7529
7082
|
# Corresponds to the JSON property `order`
|
7530
7083
|
# @return [Google::Apis::ContentV2::Order]
|
7531
7084
|
attr_accessor :order
|
@@ -7602,21 +7155,13 @@ module Google
|
|
7602
7155
|
# @return [Fixnum]
|
7603
7156
|
attr_accessor :quantity
|
7604
7157
|
|
7605
|
-
# The reason for the return.
|
7606
|
-
#
|
7607
|
-
# - "`
|
7608
|
-
# - "`
|
7609
|
-
# - "`
|
7610
|
-
# - "`
|
7611
|
-
#
|
7612
|
-
# - "`malformedShippingAddress`"
|
7613
|
-
# - "`other`"
|
7614
|
-
# - "`productArrivedDamaged`"
|
7615
|
-
# - "`productNotAsDescribed`"
|
7616
|
-
# - "`qualityNotAsExpected`"
|
7617
|
-
# - "`undeliverableShippingAddress`"
|
7618
|
-
# - "`unsupportedPoBoxAddress`"
|
7619
|
-
# - "`wrongProductShipped`"
|
7158
|
+
# The reason for the return. Acceptable values are: - "`
|
7159
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
7160
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
7161
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
7162
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
7163
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
7164
|
+
# wrongProductShipped`"
|
7620
7165
|
# Corresponds to the JSON property `reason`
|
7621
7166
|
# @return [String]
|
7622
7167
|
attr_accessor :reason
|
@@ -7647,10 +7192,8 @@ module Google
|
|
7647
7192
|
class OrdersInStoreRefundLineItemResponse
|
7648
7193
|
include Google::Apis::Core::Hashable
|
7649
7194
|
|
7650
|
-
# The status of the execution.
|
7651
|
-
#
|
7652
|
-
# - "`duplicate`"
|
7653
|
-
# - "`executed`"
|
7195
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7196
|
+
# executed`"
|
7654
7197
|
# Corresponds to the JSON property `executionStatus`
|
7655
7198
|
# @return [String]
|
7656
7199
|
attr_accessor :execution_status
|
@@ -7729,24 +7272,12 @@ module Google
|
|
7729
7272
|
# @return [String]
|
7730
7273
|
attr_accessor :operation_id
|
7731
7274
|
|
7732
|
-
# The reason for the refund.
|
7733
|
-
#
|
7734
|
-
# - "`
|
7735
|
-
# - "`
|
7736
|
-
# - "`
|
7737
|
-
# - "`
|
7738
|
-
# - "`deliveredLateByCarrier`"
|
7739
|
-
# - "`feeAdjustment`"
|
7740
|
-
# - "`lateShipmentCredit`"
|
7741
|
-
# - "`noInventory`"
|
7742
|
-
# - "`other`"
|
7743
|
-
# - "`priceError`"
|
7744
|
-
# - "`productArrivedDamaged`"
|
7745
|
-
# - "`productNotAsDescribed`"
|
7746
|
-
# - "`shippingCostAdjustment`"
|
7747
|
-
# - "`taxAdjustment`"
|
7748
|
-
# - "`undeliverableShippingAddress`"
|
7749
|
-
# - "`wrongProductShipped`"
|
7275
|
+
# The reason for the refund. Acceptable values are: - "`adjustment`" - "`
|
7276
|
+
# courtesyAdjustment`" - "`customerCanceled`" - "`customerDiscretionaryReturn`" -
|
7277
|
+
# "`deliveredLateByCarrier`" - "`feeAdjustment`" - "`lateShipmentCredit`" - "`
|
7278
|
+
# noInventory`" - "`other`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
7279
|
+
# productNotAsDescribed`" - "`shippingCostAdjustment`" - "`taxAdjustment`" - "`
|
7280
|
+
# undeliverableShippingAddress`" - "`wrongProductShipped`"
|
7750
7281
|
# Corresponds to the JSON property `reason`
|
7751
7282
|
# @return [String]
|
7752
7283
|
attr_accessor :reason
|
@@ -7775,10 +7306,8 @@ module Google
|
|
7775
7306
|
class OrdersRefundResponse
|
7776
7307
|
include Google::Apis::Core::Hashable
|
7777
7308
|
|
7778
|
-
# The status of the execution.
|
7779
|
-
#
|
7780
|
-
# - "`duplicate`"
|
7781
|
-
# - "`executed`"
|
7309
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7310
|
+
# executed`"
|
7782
7311
|
# Corresponds to the JSON property `executionStatus`
|
7783
7312
|
# @return [String]
|
7784
7313
|
attr_accessor :execution_status
|
@@ -7825,13 +7354,8 @@ module Google
|
|
7825
7354
|
# @return [Fixnum]
|
7826
7355
|
attr_accessor :quantity
|
7827
7356
|
|
7828
|
-
# The reason for the return.
|
7829
|
-
#
|
7830
|
-
# - "`damagedOrUsed`"
|
7831
|
-
# - "`missingComponent`"
|
7832
|
-
# - "`notEligible`"
|
7833
|
-
# - "`other`"
|
7834
|
-
# - "`outOfReturnWindow`"
|
7357
|
+
# The reason for the return. Acceptable values are: - "`damagedOrUsed`" - "`
|
7358
|
+
# missingComponent`" - "`notEligible`" - "`other`" - "`outOfReturnWindow`"
|
7835
7359
|
# Corresponds to the JSON property `reason`
|
7836
7360
|
# @return [String]
|
7837
7361
|
attr_accessor :reason
|
@@ -7860,10 +7384,8 @@ module Google
|
|
7860
7384
|
class OrdersRejectReturnLineItemResponse
|
7861
7385
|
include Google::Apis::Core::Hashable
|
7862
7386
|
|
7863
|
-
# The status of the execution.
|
7864
|
-
#
|
7865
|
-
# - "`duplicate`"
|
7866
|
-
# - "`executed`"
|
7387
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7388
|
+
# executed`"
|
7867
7389
|
# Corresponds to the JSON property `executionStatus`
|
7868
7390
|
# @return [String]
|
7869
7391
|
attr_accessor :execution_status
|
@@ -7910,21 +7432,13 @@ module Google
|
|
7910
7432
|
# @return [Fixnum]
|
7911
7433
|
attr_accessor :quantity
|
7912
7434
|
|
7913
|
-
# The reason for the return.
|
7914
|
-
#
|
7915
|
-
# - "`
|
7916
|
-
# - "`
|
7917
|
-
# - "`
|
7918
|
-
# - "`
|
7919
|
-
#
|
7920
|
-
# - "`malformedShippingAddress`"
|
7921
|
-
# - "`other`"
|
7922
|
-
# - "`productArrivedDamaged`"
|
7923
|
-
# - "`productNotAsDescribed`"
|
7924
|
-
# - "`qualityNotAsExpected`"
|
7925
|
-
# - "`undeliverableShippingAddress`"
|
7926
|
-
# - "`unsupportedPoBoxAddress`"
|
7927
|
-
# - "`wrongProductShipped`"
|
7435
|
+
# The reason for the return. Acceptable values are: - "`
|
7436
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
7437
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
7438
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
7439
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
7440
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
7441
|
+
# wrongProductShipped`"
|
7928
7442
|
# Corresponds to the JSON property `reason`
|
7929
7443
|
# @return [String]
|
7930
7444
|
attr_accessor :reason
|
@@ -7953,10 +7467,8 @@ module Google
|
|
7953
7467
|
class OrdersReturnLineItemResponse
|
7954
7468
|
include Google::Apis::Core::Hashable
|
7955
7469
|
|
7956
|
-
# The status of the execution.
|
7957
|
-
#
|
7958
|
-
# - "`duplicate`"
|
7959
|
-
# - "`executed`"
|
7470
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7471
|
+
# executed`"
|
7960
7472
|
# Corresponds to the JSON property `executionStatus`
|
7961
7473
|
# @return [String]
|
7962
7474
|
attr_accessor :execution_status
|
@@ -8016,21 +7528,13 @@ module Google
|
|
8016
7528
|
# @return [Fixnum]
|
8017
7529
|
attr_accessor :quantity
|
8018
7530
|
|
8019
|
-
# The reason for the return.
|
8020
|
-
#
|
8021
|
-
# - "`
|
8022
|
-
# - "`
|
8023
|
-
# - "`
|
8024
|
-
# - "`
|
8025
|
-
#
|
8026
|
-
# - "`malformedShippingAddress`"
|
8027
|
-
# - "`other`"
|
8028
|
-
# - "`productArrivedDamaged`"
|
8029
|
-
# - "`productNotAsDescribed`"
|
8030
|
-
# - "`qualityNotAsExpected`"
|
8031
|
-
# - "`undeliverableShippingAddress`"
|
8032
|
-
# - "`unsupportedPoBoxAddress`"
|
8033
|
-
# - "`wrongProductShipped`"
|
7531
|
+
# The reason for the return. Acceptable values are: - "`
|
7532
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
7533
|
+
# deliveredTooLate`" - "`expiredItem`" - "`invalidCoupon`" - "`
|
7534
|
+
# malformedShippingAddress`" - "`other`" - "`productArrivedDamaged`" - "`
|
7535
|
+
# productNotAsDescribed`" - "`qualityNotAsExpected`" - "`
|
7536
|
+
# undeliverableShippingAddress`" - "`unsupportedPoBoxAddress`" - "`
|
7537
|
+
# wrongProductShipped`"
|
8034
7538
|
# Corresponds to the JSON property `reason`
|
8035
7539
|
# @return [String]
|
8036
7540
|
attr_accessor :reason
|
@@ -8061,10 +7565,8 @@ module Google
|
|
8061
7565
|
class OrdersReturnRefundLineItemResponse
|
8062
7566
|
include Google::Apis::Core::Hashable
|
8063
7567
|
|
8064
|
-
# The status of the execution.
|
8065
|
-
#
|
8066
|
-
# - "`duplicate`"
|
8067
|
-
# - "`executed`"
|
7568
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7569
|
+
# executed`"
|
8068
7570
|
# Corresponds to the JSON property `executionStatus`
|
8069
7571
|
# @return [String]
|
8070
7572
|
attr_accessor :execution_status
|
@@ -8129,10 +7631,8 @@ module Google
|
|
8129
7631
|
class OrdersSetLineItemMetadataResponse
|
8130
7632
|
include Google::Apis::Core::Hashable
|
8131
7633
|
|
8132
|
-
# The status of the execution.
|
8133
|
-
#
|
8134
|
-
# - "`duplicate`"
|
8135
|
-
# - "`executed`"
|
7634
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7635
|
+
# executed`"
|
8136
7636
|
# Corresponds to the JSON property `executionStatus`
|
8137
7637
|
# @return [String]
|
8138
7638
|
attr_accessor :execution_status
|
@@ -8159,8 +7659,8 @@ module Google
|
|
8159
7659
|
include Google::Apis::Core::Hashable
|
8160
7660
|
|
8161
7661
|
# Deprecated. Please use shipmentInfo instead. The carrier handling the shipment.
|
8162
|
-
# See `shipments[].carrier` in the
|
8163
|
-
#
|
7662
|
+
# See `shipments[].carrier` in the Orders resource representation for a list of
|
7663
|
+
# acceptable values.
|
8164
7664
|
# Corresponds to the JSON property `carrier`
|
8165
7665
|
# @return [String]
|
8166
7666
|
attr_accessor :carrier
|
@@ -8217,10 +7717,8 @@ module Google
|
|
8217
7717
|
class OrdersShipLineItemsResponse
|
8218
7718
|
include Google::Apis::Core::Hashable
|
8219
7719
|
|
8220
|
-
# The status of the execution.
|
8221
|
-
#
|
8222
|
-
# - "`duplicate`"
|
8223
|
-
# - "`executed`"
|
7720
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7721
|
+
# executed`"
|
8224
7722
|
# Corresponds to the JSON property `executionStatus`
|
8225
7723
|
# @return [String]
|
8226
7724
|
attr_accessor :execution_status
|
@@ -8247,9 +7745,8 @@ module Google
|
|
8247
7745
|
include Google::Apis::Core::Hashable
|
8248
7746
|
|
8249
7747
|
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
|
8250
|
-
# date is updated.
|
8251
|
-
#
|
8252
|
-
# past.
|
7748
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
7749
|
+
# be a date in the past.
|
8253
7750
|
# Corresponds to the JSON property `deliverByDate`
|
8254
7751
|
# @return [String]
|
8255
7752
|
attr_accessor :deliver_by_date
|
@@ -8272,9 +7769,8 @@ module Google
|
|
8272
7769
|
attr_accessor :product_id
|
8273
7770
|
|
8274
7771
|
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
|
8275
|
-
# date is updated.
|
8276
|
-
#
|
8277
|
-
# past.
|
7772
|
+
# date is updated. Provided date should be within 1 year timeframe and can not
|
7773
|
+
# be a date in the past.
|
8278
7774
|
# Corresponds to the JSON property `shipByDate`
|
8279
7775
|
# @return [String]
|
8280
7776
|
attr_accessor :ship_by_date
|
@@ -8297,10 +7793,8 @@ module Google
|
|
8297
7793
|
class OrdersUpdateLineItemShippingDetailsResponse
|
8298
7794
|
include Google::Apis::Core::Hashable
|
8299
7795
|
|
8300
|
-
# The status of the execution.
|
8301
|
-
#
|
8302
|
-
# - "`duplicate`"
|
8303
|
-
# - "`executed`"
|
7796
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7797
|
+
# executed`"
|
8304
7798
|
# Corresponds to the JSON property `executionStatus`
|
8305
7799
|
# @return [String]
|
8306
7800
|
attr_accessor :execution_status
|
@@ -8351,10 +7845,8 @@ module Google
|
|
8351
7845
|
class OrdersUpdateMerchantOrderIdResponse
|
8352
7846
|
include Google::Apis::Core::Hashable
|
8353
7847
|
|
8354
|
-
# The status of the execution.
|
8355
|
-
#
|
8356
|
-
# - "`duplicate`"
|
8357
|
-
# - "`executed`"
|
7848
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7849
|
+
# executed`"
|
8358
7850
|
# Corresponds to the JSON property `executionStatus`
|
8359
7851
|
# @return [String]
|
8360
7852
|
attr_accessor :execution_status
|
@@ -8381,8 +7873,7 @@ module Google
|
|
8381
7873
|
include Google::Apis::Core::Hashable
|
8382
7874
|
|
8383
7875
|
# The carrier handling the shipment. Not updated if missing. See `shipments[].
|
8384
|
-
# carrier` in the
|
8385
|
-
# values.
|
7876
|
+
# carrier` in the Orders resource representation for a list of acceptable values.
|
8386
7877
|
# Corresponds to the JSON property `carrier`
|
8387
7878
|
# @return [String]
|
8388
7879
|
attr_accessor :carrier
|
@@ -8403,11 +7894,8 @@ module Google
|
|
8403
7894
|
# @return [String]
|
8404
7895
|
attr_accessor :shipment_id
|
8405
7896
|
|
8406
|
-
# New status for the shipment. Not updated if missing.
|
8407
|
-
#
|
8408
|
-
# - "`delivered`"
|
8409
|
-
# - "`undeliverable`"
|
8410
|
-
# - "`readyForPickup`"
|
7897
|
+
# New status for the shipment. Not updated if missing. Acceptable values are: - "
|
7898
|
+
# `delivered`" - "`undeliverable`" - "`readyForPickup`"
|
8411
7899
|
# Corresponds to the JSON property `status`
|
8412
7900
|
# @return [String]
|
8413
7901
|
attr_accessor :status
|
@@ -8436,10 +7924,8 @@ module Google
|
|
8436
7924
|
class OrdersUpdateShipmentResponse
|
8437
7925
|
include Google::Apis::Core::Hashable
|
8438
7926
|
|
8439
|
-
# The status of the execution.
|
8440
|
-
#
|
8441
|
-
# - "`duplicate`"
|
8442
|
-
# - "`executed`"
|
7927
|
+
# The status of the execution. Acceptable values are: - "`duplicate`" - "`
|
7928
|
+
# executed`"
|
8443
7929
|
# Corresponds to the JSON property `executionStatus`
|
8444
7930
|
# @return [String]
|
8445
7931
|
attr_accessor :execution_status
|
@@ -8555,13 +8041,8 @@ module Google
|
|
8555
8041
|
# @return [Fixnum]
|
8556
8042
|
attr_accessor :merchant_id
|
8557
8043
|
|
8558
|
-
# The method of the batch entry.
|
8559
|
-
#
|
8560
|
-
# - "`delete`"
|
8561
|
-
# - "`get`"
|
8562
|
-
# - "`insert`"
|
8563
|
-
# - "`inventory`"
|
8564
|
-
# - "`sale`"
|
8044
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
8045
|
+
# "`insert`" - "`inventory`" - "`sale`"
|
8565
8046
|
# Corresponds to the JSON property `method`
|
8566
8047
|
# @return [String]
|
8567
8048
|
attr_accessor :method_prop
|
@@ -9305,12 +8786,11 @@ module Google
|
|
9305
8786
|
end
|
9306
8787
|
|
9307
8788
|
# Required product attributes are primarily defined by the products data
|
9308
|
-
# specification. See the
|
9309
|
-
# information.
|
9310
|
-
#
|
9311
|
-
#
|
9312
|
-
#
|
9313
|
-
# several minutes before changes take effect.
|
8789
|
+
# specification. See the Products Data Specification Help Center article for
|
8790
|
+
# information. Some attributes are country-specific, so make sure you select the
|
8791
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
8792
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
8793
|
+
# minutes before changes take effect.
|
9314
8794
|
class Product
|
9315
8795
|
include Google::Apis::Core::Hashable
|
9316
8796
|
|
@@ -9347,14 +8827,8 @@ module Google
|
|
9347
8827
|
# @return [String]
|
9348
8828
|
attr_accessor :adwords_redirect
|
9349
8829
|
|
9350
|
-
# Target age group of the item.
|
9351
|
-
#
|
9352
|
-
# - "`adult`"
|
9353
|
-
# - "`infant`"
|
9354
|
-
# - "`kids`"
|
9355
|
-
# - "`newborn`"
|
9356
|
-
# - "`toddler`"
|
9357
|
-
# - "`youngAdult`"
|
8830
|
+
# Target age group of the item. Acceptable values are: - "`adult`" - "`infant`" -
|
8831
|
+
# "`kids`" - "`newborn`" - "`toddler`" - "`youngAdult`"
|
9358
8832
|
# Corresponds to the JSON property `ageGroup`
|
9359
8833
|
# @return [String]
|
9360
8834
|
attr_accessor :age_group
|
@@ -9364,11 +8838,8 @@ module Google
|
|
9364
8838
|
# @return [Array<Google::Apis::ContentV2::ProductAspect>]
|
9365
8839
|
attr_accessor :aspects
|
9366
8840
|
|
9367
|
-
# Availability status of the item.
|
9368
|
-
#
|
9369
|
-
# - "`in stock`"
|
9370
|
-
# - "`out of stock`"
|
9371
|
-
# - "`preorder`"
|
8841
|
+
# Availability status of the item. Acceptable values are: - "`in stock`" - "`out
|
8842
|
+
# of stock`" - "`preorder`"
|
9372
8843
|
# Corresponds to the JSON property `availability`
|
9373
8844
|
# @return [String]
|
9374
8845
|
attr_accessor :availability
|
@@ -9389,10 +8860,8 @@ module Google
|
|
9389
8860
|
# @return [String]
|
9390
8861
|
attr_accessor :canonical_link
|
9391
8862
|
|
9392
|
-
# Required. The item's channel (online or local).
|
9393
|
-
#
|
9394
|
-
# - "`local`"
|
9395
|
-
# - "`online`"
|
8863
|
+
# Required. The item's channel (online or local). Acceptable values are: - "`
|
8864
|
+
# local`" - "`online`"
|
9396
8865
|
# Corresponds to the JSON property `channel`
|
9397
8866
|
# @return [String]
|
9398
8867
|
attr_accessor :channel
|
@@ -9402,10 +8871,8 @@ module Google
|
|
9402
8871
|
# @return [String]
|
9403
8872
|
attr_accessor :color
|
9404
8873
|
|
9405
|
-
# Condition or state of the item.
|
9406
|
-
#
|
9407
|
-
# - "`local`"
|
9408
|
-
# - "`online`"
|
8874
|
+
# Condition or state of the item. Acceptable values are: - "`local`" - "`online`"
|
8875
|
+
#
|
9409
8876
|
# Corresponds to the JSON property `condition`
|
9410
8877
|
# @return [String]
|
9411
8878
|
attr_accessor :condition
|
@@ -9494,18 +8961,9 @@ module Google
|
|
9494
8961
|
# @return [Float]
|
9495
8962
|
attr_accessor :display_ads_value
|
9496
8963
|
|
9497
|
-
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
9498
|
-
#
|
9499
|
-
# - "`
|
9500
|
-
# - "`A+`"
|
9501
|
-
# - "`A++`"
|
9502
|
-
# - "`A+++`"
|
9503
|
-
# - "`B`"
|
9504
|
-
# - "`C`"
|
9505
|
-
# - "`D`"
|
9506
|
-
# - "`E`"
|
9507
|
-
# - "`F`"
|
9508
|
-
# - "`G`"
|
8964
|
+
# The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable
|
8965
|
+
# values are: - "`A`" - "`A+`" - "`A++`" - "`A+++`" - "`B`" - "`C`" - "`D`" - "`
|
8966
|
+
# E`" - "`F`" - "`G`"
|
9509
8967
|
# Corresponds to the JSON property `energyEfficiencyClass`
|
9510
8968
|
# @return [String]
|
9511
8969
|
attr_accessor :energy_efficiency_class
|
@@ -9518,11 +8976,8 @@ module Google
|
|
9518
8976
|
# @return [String]
|
9519
8977
|
attr_accessor :expiration_date
|
9520
8978
|
|
9521
|
-
# Target gender of the item.
|
9522
|
-
#
|
9523
|
-
# - "`female`"
|
9524
|
-
# - "`male`"
|
9525
|
-
# - "`unisex`"
|
8979
|
+
# Target gender of the item. Acceptable values are: - "`female`" - "`male`" - "`
|
8980
|
+
# unisex`"
|
9526
8981
|
# Corresponds to the JSON property `gender`
|
9527
8982
|
# @return [String]
|
9528
8983
|
attr_accessor :gender
|
@@ -9538,9 +8993,8 @@ module Google
|
|
9538
8993
|
attr_accessor :gtin
|
9539
8994
|
|
9540
8995
|
# The REST ID of the product. Content API methods that operate on products take
|
9541
|
-
# this as their `productId` parameter.
|
9542
|
-
#
|
9543
|
-
# offerId.
|
8996
|
+
# this as their `productId` parameter. The REST ID for a product is of the form
|
8997
|
+
# channel:contentLanguage: targetCountry: offerId.
|
9544
8998
|
# Corresponds to the JSON property `id`
|
9545
8999
|
# @return [String]
|
9546
9000
|
attr_accessor :id
|
@@ -9596,18 +9050,9 @@ module Google
|
|
9596
9050
|
# @return [String]
|
9597
9051
|
attr_accessor :material
|
9598
9052
|
|
9599
|
-
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
9600
|
-
#
|
9601
|
-
# - "`
|
9602
|
-
# - "`A+`"
|
9603
|
-
# - "`A++`"
|
9604
|
-
# - "`A+++`"
|
9605
|
-
# - "`B`"
|
9606
|
-
# - "`C`"
|
9607
|
-
# - "`D`"
|
9608
|
-
# - "`E`"
|
9609
|
-
# - "`F`"
|
9610
|
-
# - "`G`"
|
9053
|
+
# The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable
|
9054
|
+
# values are: - "`A`" - "`A+`" - "`A++`" - "`A+++`" - "`B`" - "`C`" - "`D`" - "`
|
9055
|
+
# E`" - "`F`" - "`G`"
|
9611
9056
|
# Corresponds to the JSON property `maxEnergyEfficiencyClass`
|
9612
9057
|
# @return [String]
|
9613
9058
|
attr_accessor :max_energy_efficiency_class
|
@@ -9617,18 +9062,9 @@ module Google
|
|
9617
9062
|
# @return [Fixnum]
|
9618
9063
|
attr_accessor :max_handling_time
|
9619
9064
|
|
9620
|
-
# The energy efficiency class as defined in EU directive 2010/30/EU.
|
9621
|
-
#
|
9622
|
-
# - "`
|
9623
|
-
# - "`A+`"
|
9624
|
-
# - "`A++`"
|
9625
|
-
# - "`A+++`"
|
9626
|
-
# - "`B`"
|
9627
|
-
# - "`C`"
|
9628
|
-
# - "`D`"
|
9629
|
-
# - "`E`"
|
9630
|
-
# - "`F`"
|
9631
|
-
# - "`G`"
|
9065
|
+
# The energy efficiency class as defined in EU directive 2010/30/EU. Acceptable
|
9066
|
+
# values are: - "`A`" - "`A+`" - "`A++`" - "`A+++`" - "`B`" - "`C`" - "`D`" - "`
|
9067
|
+
# E`" - "`F`" - "`G`"
|
9632
9068
|
# Corresponds to the JSON property `minEnergyEfficiencyClass`
|
9633
9069
|
# @return [String]
|
9634
9070
|
attr_accessor :min_energy_efficiency_class
|
@@ -9656,9 +9092,8 @@ module Google
|
|
9656
9092
|
# Required. A unique identifier for the item. Leading and trailing whitespaces
|
9657
9093
|
# are stripped and multiple whitespaces are replaced by a single whitespace upon
|
9658
9094
|
# submission. Only valid unicode characters are accepted. See the products feed
|
9659
|
-
# specification for details.
|
9660
|
-
#
|
9661
|
-
# product, not this identifier.
|
9095
|
+
# specification for details. *Note:* Content API methods that operate on
|
9096
|
+
# products take the REST ID of the product, *not* this identifier.
|
9662
9097
|
# Corresponds to the JSON property `offerId`
|
9663
9098
|
# @return [String]
|
9664
9099
|
attr_accessor :offer_id
|
@@ -9694,7 +9129,7 @@ module Google
|
|
9694
9129
|
# @return [Google::Apis::ContentV2::Price]
|
9695
9130
|
attr_accessor :sale_price
|
9696
9131
|
|
9697
|
-
# Date range during which the item is on sale (see products data specification).
|
9132
|
+
# Date range during which the item is on sale (see products data specification ).
|
9698
9133
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
9699
9134
|
# @return [String]
|
9700
9135
|
attr_accessor :sale_price_effective_date
|
@@ -9737,30 +9172,15 @@ module Google
|
|
9737
9172
|
attr_accessor :shipping_width
|
9738
9173
|
|
9739
9174
|
# System in which the size is specified. Recommended for apparel items.
|
9740
|
-
# Acceptable values are:
|
9741
|
-
# - "`
|
9742
|
-
# - "`BR`"
|
9743
|
-
# - "`CN`"
|
9744
|
-
# - "`DE`"
|
9745
|
-
# - "`EU`"
|
9746
|
-
# - "`FR`"
|
9747
|
-
# - "`IT`"
|
9748
|
-
# - "`JP`"
|
9749
|
-
# - "`MEX`"
|
9750
|
-
# - "`UK`"
|
9751
|
-
# - "`US`"
|
9175
|
+
# Acceptable values are: - "`AU`" - "`BR`" - "`CN`" - "`DE`" - "`EU`" - "`FR`" -
|
9176
|
+
# "`IT`" - "`JP`" - "`MEX`" - "`UK`" - "`US`"
|
9752
9177
|
# Corresponds to the JSON property `sizeSystem`
|
9753
9178
|
# @return [String]
|
9754
9179
|
attr_accessor :size_system
|
9755
9180
|
|
9756
|
-
# The cut of the item. Recommended for apparel items.
|
9757
|
-
#
|
9758
|
-
#
|
9759
|
-
# - "`maternity`"
|
9760
|
-
# - "`oversize`"
|
9761
|
-
# - "`petite`"
|
9762
|
-
# - "`plus`"
|
9763
|
-
# - "`regular`"
|
9181
|
+
# The cut of the item. Recommended for apparel items. Acceptable values are: - "`
|
9182
|
+
# big and tall`" - "`maternity`" - "`oversize`" - "`petite`" - "`plus`" - "`
|
9183
|
+
# regular`"
|
9764
9184
|
# Corresponds to the JSON property `sizeType`
|
9765
9185
|
# @return [String]
|
9766
9186
|
attr_accessor :size_type
|
@@ -9772,11 +9192,8 @@ module Google
|
|
9772
9192
|
# @return [Array<String>]
|
9773
9193
|
attr_accessor :sizes
|
9774
9194
|
|
9775
|
-
# The source of the offer, i.e., how the offer was created.
|
9776
|
-
#
|
9777
|
-
# - "`api`"
|
9778
|
-
# - "`crawl`"
|
9779
|
-
# - "`feed`"
|
9195
|
+
# The source of the offer, i.e., how the offer was created. Acceptable values
|
9196
|
+
# are: - "`api`" - "`crawl`" - "`feed`"
|
9780
9197
|
# Corresponds to the JSON property `source`
|
9781
9198
|
# @return [String]
|
9782
9199
|
attr_accessor :source
|
@@ -9977,11 +9394,8 @@ module Google
|
|
9977
9394
|
attr_accessor :destination_name
|
9978
9395
|
|
9979
9396
|
# Whether the destination is required, excluded or should be validated.
|
9980
|
-
# Acceptable values are:
|
9981
|
-
#
|
9982
|
-
# - "`excluded`"
|
9983
|
-
# - "`optional`"
|
9984
|
-
# - "`required`"
|
9397
|
+
# Acceptable values are: - "`default`" - "`excluded`" - "`optional`" - "`
|
9398
|
+
# required`"
|
9985
9399
|
# Corresponds to the JSON property `intention`
|
9986
9400
|
# @return [String]
|
9987
9401
|
attr_accessor :intention
|
@@ -10153,12 +9567,11 @@ module Google
|
|
10153
9567
|
attr_accessor :link
|
10154
9568
|
|
10155
9569
|
# Required product attributes are primarily defined by the products data
|
10156
|
-
# specification. See the
|
10157
|
-
# information.
|
10158
|
-
#
|
10159
|
-
#
|
10160
|
-
#
|
10161
|
-
# several minutes before changes take effect.
|
9570
|
+
# specification. See the Products Data Specification Help Center article for
|
9571
|
+
# information. Some attributes are country-specific, so make sure you select the
|
9572
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
9573
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
9574
|
+
# minutes before changes take effect.
|
10162
9575
|
# Corresponds to the JSON property `product`
|
10163
9576
|
# @return [Google::Apis::ContentV2::Product]
|
10164
9577
|
attr_accessor :product
|
@@ -10270,10 +9683,8 @@ module Google
|
|
10270
9683
|
attr_accessor :approval_pending
|
10271
9684
|
alias_method :approval_pending?, :approval_pending
|
10272
9685
|
|
10273
|
-
# The destination's approval status.
|
10274
|
-
#
|
10275
|
-
# - "`approved`"
|
10276
|
-
# - "`disapproved`"
|
9686
|
+
# The destination's approval status. Acceptable values are: - "`approved`" - "`
|
9687
|
+
# disapproved`"
|
10277
9688
|
# Corresponds to the JSON property `approvalStatus`
|
10278
9689
|
# @return [String]
|
10279
9690
|
attr_accessor :approval_status
|
@@ -10283,12 +9694,8 @@ module Google
|
|
10283
9694
|
# @return [String]
|
10284
9695
|
attr_accessor :destination
|
10285
9696
|
|
10286
|
-
# Provided for backward compatibility only. Always set to "required".
|
10287
|
-
#
|
10288
|
-
# - "`default`"
|
10289
|
-
# - "`excluded`"
|
10290
|
-
# - "`optional`"
|
10291
|
-
# - "`required`"
|
9697
|
+
# Provided for backward compatibility only. Always set to "required". Acceptable
|
9698
|
+
# values are: - "`default`" - "`excluded`" - "`optional`" - "`required`"
|
10292
9699
|
# Corresponds to the JSON property `intention`
|
10293
9700
|
# @return [String]
|
10294
9701
|
attr_accessor :intention
|
@@ -10503,22 +9910,18 @@ module Google
|
|
10503
9910
|
# @return [Fixnum]
|
10504
9911
|
attr_accessor :merchant_id
|
10505
9912
|
|
10506
|
-
# The method of the batch entry.
|
10507
|
-
#
|
10508
|
-
# - "`delete`"
|
10509
|
-
# - "`get`"
|
10510
|
-
# - "`insert`"
|
9913
|
+
# The method of the batch entry. Acceptable values are: - "`delete`" - "`get`" -
|
9914
|
+
# "`insert`"
|
10511
9915
|
# Corresponds to the JSON property `method`
|
10512
9916
|
# @return [String]
|
10513
9917
|
attr_accessor :request_method
|
10514
9918
|
|
10515
9919
|
# Required product attributes are primarily defined by the products data
|
10516
|
-
# specification. See the
|
10517
|
-
# information.
|
10518
|
-
#
|
10519
|
-
#
|
10520
|
-
#
|
10521
|
-
# several minutes before changes take effect.
|
9920
|
+
# specification. See the Products Data Specification Help Center article for
|
9921
|
+
# information. Some attributes are country-specific, so make sure you select the
|
9922
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
9923
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
9924
|
+
# minutes before changes take effect.
|
10522
9925
|
# Corresponds to the JSON property `product`
|
10523
9926
|
# @return [Google::Apis::ContentV2::Product]
|
10524
9927
|
attr_accessor :product
|
@@ -10590,12 +9993,11 @@ module Google
|
|
10590
9993
|
attr_accessor :kind
|
10591
9994
|
|
10592
9995
|
# Required product attributes are primarily defined by the products data
|
10593
|
-
# specification. See the
|
10594
|
-
# information.
|
10595
|
-
#
|
10596
|
-
#
|
10597
|
-
#
|
10598
|
-
# several minutes before changes take effect.
|
9996
|
+
# specification. See the Products Data Specification Help Center article for
|
9997
|
+
# information. Some attributes are country-specific, so make sure you select the
|
9998
|
+
# appropriate country in the drop-down selector at the top of the page. Product
|
9999
|
+
# data. After inserting, updating, or deleting a product, it may take several
|
10000
|
+
# minutes before changes take effect.
|
10599
10001
|
# Corresponds to the JSON property `product`
|
10600
10002
|
# @return [Google::Apis::ContentV2::Product]
|
10601
10003
|
attr_accessor :product
|
@@ -10690,9 +10092,7 @@ module Google
|
|
10690
10092
|
# @return [Fixnum]
|
10691
10093
|
attr_accessor :merchant_id
|
10692
10094
|
|
10693
|
-
# The method of the batch entry.
|
10694
|
-
# Acceptable values are:
|
10695
|
-
# - "`get`"
|
10095
|
+
# The method of the batch entry. Acceptable values are: - "`get`"
|
10696
10096
|
# Corresponds to the JSON property `method`
|
10697
10097
|
# @return [String]
|
10698
10098
|
attr_accessor :request_method
|
@@ -10907,52 +10307,23 @@ module Google
|
|
10907
10307
|
# @return [String]
|
10908
10308
|
attr_accessor :description
|
10909
10309
|
|
10910
|
-
# Code of the refund reason.
|
10911
|
-
#
|
10912
|
-
# - "`
|
10913
|
-
# - "`
|
10914
|
-
# - "`
|
10915
|
-
# - "`
|
10916
|
-
# - "`
|
10917
|
-
# - "`
|
10918
|
-
# - "`
|
10919
|
-
# - "`
|
10920
|
-
# - "`
|
10921
|
-
# - "`
|
10922
|
-
# - "`
|
10923
|
-
# - "`
|
10924
|
-
# - "`
|
10925
|
-
# - "`
|
10926
|
-
# - "`
|
10927
|
-
# - "`failToPushOrderGoogleError`"
|
10928
|
-
# - "`failToPushOrderMerchantError`"
|
10929
|
-
# - "`failToPushOrderMerchantFulfillmentError`"
|
10930
|
-
# - "`failToPushOrderToMerchant`"
|
10931
|
-
# - "`failToPushOrderToMerchantOutOfStock`"
|
10932
|
-
# - "`feeAdjustment`"
|
10933
|
-
# - "`invalidCoupon`"
|
10934
|
-
# - "`lateShipmentCredit`"
|
10935
|
-
# - "`malformedShippingAddress`"
|
10936
|
-
# - "`merchantDidNotShipOnTime`"
|
10937
|
-
# - "`noInventory`"
|
10938
|
-
# - "`orderTimeout`"
|
10939
|
-
# - "`other`"
|
10940
|
-
# - "`paymentAbuse`"
|
10941
|
-
# - "`paymentDeclined`"
|
10942
|
-
# - "`priceAdjustment`"
|
10943
|
-
# - "`priceError`"
|
10944
|
-
# - "`productArrivedDamaged`"
|
10945
|
-
# - "`productNotAsDescribed`"
|
10946
|
-
# - "`promoReallocation`"
|
10947
|
-
# - "`qualityNotAsExpected`"
|
10948
|
-
# - "`returnRefundAbuse`"
|
10949
|
-
# - "`shippingCostAdjustment`"
|
10950
|
-
# - "`shippingPriceError`"
|
10951
|
-
# - "`taxAdjustment`"
|
10952
|
-
# - "`taxError`"
|
10953
|
-
# - "`undeliverableShippingAddress`"
|
10954
|
-
# - "`unsupportedPoBoxAddress`"
|
10955
|
-
# - "`wrongProductShipped`"
|
10310
|
+
# Code of the refund reason. Acceptable values are: - "`adjustment`" - "`
|
10311
|
+
# autoPostInternal`" - "`autoPostInvalidBillingAddress`" - "`autoPostNoInventory`
|
10312
|
+
# " - "`autoPostPriceError`" - "`autoPostUndeliverableShippingAddress`" - "`
|
10313
|
+
# couponAbuse`" - "`courtesyAdjustment`" - "`customerCanceled`" - "`
|
10314
|
+
# customerDiscretionaryReturn`" - "`customerInitiatedMerchantCancel`" - "`
|
10315
|
+
# customerSupportRequested`" - "`deliveredLateByCarrier`" - "`deliveredTooLate`"
|
10316
|
+
# - "`expiredItem`" - "`failToPushOrderGoogleError`" - "`
|
10317
|
+
# failToPushOrderMerchantError`" - "`failToPushOrderMerchantFulfillmentError`" -
|
10318
|
+
# "`failToPushOrderToMerchant`" - "`failToPushOrderToMerchantOutOfStock`" - "`
|
10319
|
+
# feeAdjustment`" - "`invalidCoupon`" - "`lateShipmentCredit`" - "`
|
10320
|
+
# malformedShippingAddress`" - "`merchantDidNotShipOnTime`" - "`noInventory`" - "
|
10321
|
+
# `orderTimeout`" - "`other`" - "`paymentAbuse`" - "`paymentDeclined`" - "`
|
10322
|
+
# priceAdjustment`" - "`priceError`" - "`productArrivedDamaged`" - "`
|
10323
|
+
# productNotAsDescribed`" - "`promoReallocation`" - "`qualityNotAsExpected`" - "`
|
10324
|
+
# returnRefundAbuse`" - "`shippingCostAdjustment`" - "`shippingPriceError`" - "`
|
10325
|
+
# taxAdjustment`" - "`taxError`" - "`undeliverableShippingAddress`" - "`
|
10326
|
+
# unsupportedPoBoxAddress`" - "`wrongProductShipped`"
|
10956
10327
|
# Corresponds to the JSON property `reasonCode`
|
10957
10328
|
# @return [String]
|
10958
10329
|
attr_accessor :reason_code
|
@@ -10982,11 +10353,8 @@ module Google
|
|
10982
10353
|
# @return [String]
|
10983
10354
|
attr_accessor :delivery_date
|
10984
10355
|
|
10985
|
-
# Type of the return method.
|
10986
|
-
#
|
10987
|
-
# - "`byMail`"
|
10988
|
-
# - "`contactCustomerSupport`"
|
10989
|
-
# - "`returnless`"
|
10356
|
+
# Type of the return method. Acceptable values are: - "`byMail`" - "`
|
10357
|
+
# contactCustomerSupport`" - "`returnless`"
|
10990
10358
|
# Corresponds to the JSON property `returnMethodType`
|
10991
10359
|
# @return [String]
|
10992
10360
|
attr_accessor :return_method_type
|
@@ -11007,13 +10375,8 @@ module Google
|
|
11007
10375
|
# @return [String]
|
11008
10376
|
attr_accessor :shipping_date
|
11009
10377
|
|
11010
|
-
# State of the shipment.
|
11011
|
-
#
|
11012
|
-
# - "`completed`"
|
11013
|
-
# - "`new`"
|
11014
|
-
# - "`shipped`"
|
11015
|
-
# - "`undeliverable`"
|
11016
|
-
# - "`pending`"
|
10378
|
+
# State of the shipment. Acceptable values are: - "`completed`" - "`new`" - "`
|
10379
|
+
# shipped`" - "`undeliverable`" - "`pending`"
|
11017
10380
|
# Corresponds to the JSON property `state`
|
11018
10381
|
# @return [String]
|
11019
10382
|
attr_accessor :state
|
@@ -11082,11 +10445,8 @@ module Google
|
|
11082
10445
|
# @return [Google::Apis::ContentV2::DeliveryTime]
|
11083
10446
|
attr_accessor :delivery_time
|
11084
10447
|
|
11085
|
-
# Eligibility for this service.
|
11086
|
-
#
|
11087
|
-
# - "`All scenarios`"
|
11088
|
-
# - "`All scenarios except Shopping Actions`"
|
11089
|
-
# - "`Shopping Actions`"
|
10448
|
+
# Eligibility for this service. Acceptable values are: - "`All scenarios`" - "`
|
10449
|
+
# All scenarios except Shopping Actions`" - "`Shopping Actions`"
|
11090
10450
|
# Corresponds to the JSON property `eligibility`
|
11091
10451
|
# @return [String]
|
11092
10452
|
attr_accessor :eligibility
|
@@ -11123,10 +10483,8 @@ module Google
|
|
11123
10483
|
# @return [Array<Google::Apis::ContentV2::RateGroup>]
|
11124
10484
|
attr_accessor :rate_groups
|
11125
10485
|
|
11126
|
-
# Type of locations this service ships orders to.
|
11127
|
-
#
|
11128
|
-
# - "`delivery`"
|
11129
|
-
# - "`pickup`"
|
10486
|
+
# Type of locations this service ships orders to. Acceptable values are: - "`
|
10487
|
+
# delivery`" - "`pickup`"
|
11130
10488
|
# Corresponds to the JSON property `shipmentType`
|
11131
10489
|
# @return [String]
|
11132
10490
|
attr_accessor :shipment_type
|
@@ -11229,38 +10587,13 @@ module Google
|
|
11229
10587
|
class ShipmentTrackingInfo
|
11230
10588
|
include Google::Apis::Core::Hashable
|
11231
10589
|
|
11232
|
-
# The shipping carrier that handles the package.
|
11233
|
-
#
|
11234
|
-
# - "`
|
11235
|
-
# - "`
|
11236
|
-
# - "`
|
11237
|
-
# - "`
|
11238
|
-
#
|
11239
|
-
# - "`cxt`"
|
11240
|
-
# - "`deliv`"
|
11241
|
-
# - "`dhl`"
|
11242
|
-
# - "`dpd`"
|
11243
|
-
# - "`dynamex`"
|
11244
|
-
# - "`eCourier`"
|
11245
|
-
# - "`easypost`"
|
11246
|
-
# - "`efw`"
|
11247
|
-
# - "`fedex`"
|
11248
|
-
# - "`fedexSmartpost`"
|
11249
|
-
# - "`geodis`"
|
11250
|
-
# - "`gls`"
|
11251
|
-
# - "`googleCourier`"
|
11252
|
-
# - "`gsx`"
|
11253
|
-
# - "`jdLogistics`"
|
11254
|
-
# - "`laPoste`"
|
11255
|
-
# - "`lasership`"
|
11256
|
-
# - "`manual`"
|
11257
|
-
# - "`mpx`"
|
11258
|
-
# - "`onTrac`"
|
11259
|
-
# - "`other`"
|
11260
|
-
# - "`tnt`"
|
11261
|
-
# - "`uds`"
|
11262
|
-
# - "`ups`"
|
11263
|
-
# - "`usps`"
|
10590
|
+
# The shipping carrier that handles the package. Acceptable values are: - "`
|
10591
|
+
# boxtal`" - "`bpost`" - "`chronopost`" - "`colisPrive`" - "`colissimo`" - "`cxt`
|
10592
|
+
# " - "`deliv`" - "`dhl`" - "`dpd`" - "`dynamex`" - "`eCourier`" - "`easypost`" -
|
10593
|
+
# "`efw`" - "`fedex`" - "`fedexSmartpost`" - "`geodis`" - "`gls`" - "`
|
10594
|
+
# googleCourier`" - "`gsx`" - "`jdLogistics`" - "`laPoste`" - "`lasership`" - "`
|
10595
|
+
# manual`" - "`mpx`" - "`onTrac`" - "`other`" - "`tnt`" - "`uds`" - "`ups`" - "`
|
10596
|
+
# usps`"
|
11264
10597
|
# Corresponds to the JSON property `carrier`
|
11265
10598
|
# @return [String]
|
11266
10599
|
attr_accessor :carrier
|
@@ -11352,10 +10685,7 @@ module Google
|
|
11352
10685
|
# @return [Fixnum]
|
11353
10686
|
attr_accessor :merchant_id
|
11354
10687
|
|
11355
|
-
# The method of the batch entry.
|
11356
|
-
# Acceptable values are:
|
11357
|
-
# - "`get`"
|
11358
|
-
# - "`update`"
|
10688
|
+
# The method of the batch entry. Acceptable values are: - "`get`" - "`update`"
|
11359
10689
|
# Corresponds to the JSON property `method`
|
11360
10690
|
# @return [String]
|
11361
10691
|
attr_accessor :method_prop
|
@@ -11632,21 +10962,14 @@ module Google
|
|
11632
10962
|
attr_accessor :payment_method
|
11633
10963
|
|
11634
10964
|
# Required. Identifier of one of the predefined delivery addresses for the
|
11635
|
-
# delivery.
|
11636
|
-
# Acceptable values are:
|
11637
|
-
# - "`dwight`"
|
11638
|
-
# - "`jim`"
|
11639
|
-
# - "`pam`"
|
10965
|
+
# delivery. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
11640
10966
|
# Corresponds to the JSON property `predefinedDeliveryAddress`
|
11641
10967
|
# @return [String]
|
11642
10968
|
attr_accessor :predefined_delivery_address
|
11643
10969
|
|
11644
10970
|
# Identifier of one of the predefined pickup details. Required for orders
|
11645
|
-
# containing line items with shipping type `pickup`.
|
11646
|
-
#
|
11647
|
-
# - "`dwight`"
|
11648
|
-
# - "`jim`"
|
11649
|
-
# - "`pam`"
|
10971
|
+
# containing line items with shipping type `pickup`. Acceptable values are: - "`
|
10972
|
+
# dwight`" - "`jim`" - "`pam`"
|
11650
10973
|
# Corresponds to the JSON property `predefinedPickupDetails`
|
11651
10974
|
# @return [String]
|
11652
10975
|
attr_accessor :predefined_pickup_details
|
@@ -11669,14 +10992,8 @@ module Google
|
|
11669
10992
|
# @return [Google::Apis::ContentV2::Price]
|
11670
10993
|
attr_accessor :shipping_cost_tax
|
11671
10994
|
|
11672
|
-
# Required. The requested shipping option.
|
11673
|
-
#
|
11674
|
-
# - "`economy`"
|
11675
|
-
# - "`expedited`"
|
11676
|
-
# - "`oneDay`"
|
11677
|
-
# - "`sameDay`"
|
11678
|
-
# - "`standard`"
|
11679
|
-
# - "`twoDay`"
|
10995
|
+
# Required. The requested shipping option. Acceptable values are: - "`economy`" -
|
10996
|
+
# "`expedited`" - "`oneDay`" - "`sameDay`" - "`standard`" - "`twoDay`"
|
11680
10997
|
# Corresponds to the JSON property `shippingOption`
|
11681
10998
|
# @return [String]
|
11682
10999
|
attr_accessor :shipping_option
|
@@ -11706,11 +11023,9 @@ module Google
|
|
11706
11023
|
class TestOrderCustomer
|
11707
11024
|
include Google::Apis::Core::Hashable
|
11708
11025
|
|
11709
|
-
# Required. Email address of the customer.
|
11710
|
-
#
|
11711
|
-
#
|
11712
|
-
# - "`pog.jim.halpert@gmail.com`"
|
11713
|
-
# - "`penpog.pam.beesly@gmail.comding`"
|
11026
|
+
# Required. Email address of the customer. Acceptable values are: - "`pog.dwight.
|
11027
|
+
# schrute@gmail.com`" - "`pog.jim.halpert@gmail.com`" - "`penpog.pam.beesly@
|
11028
|
+
# gmail.comding`"
|
11714
11029
|
# Corresponds to the JSON property `email`
|
11715
11030
|
# @return [String]
|
11716
11031
|
attr_accessor :email
|
@@ -11749,10 +11064,8 @@ module Google
|
|
11749
11064
|
include Google::Apis::Core::Hashable
|
11750
11065
|
|
11751
11066
|
# Last know user use selection regards marketing preferences. In certain cases
|
11752
|
-
# selection might not be known, so this field would be empty.
|
11753
|
-
#
|
11754
|
-
# - "`denied`"
|
11755
|
-
# - "`granted`"
|
11067
|
+
# selection might not be known, so this field would be empty. Acceptable values
|
11068
|
+
# are: - "`denied`" - "`granted`"
|
11756
11069
|
# Corresponds to the JSON property `explicitMarketingPreference`
|
11757
11070
|
# @return [String]
|
11758
11071
|
attr_accessor :explicit_marketing_preference
|
@@ -11826,24 +11139,18 @@ module Google
|
|
11826
11139
|
# @return [String]
|
11827
11140
|
attr_accessor :brand
|
11828
11141
|
|
11829
|
-
# Deprecated.
|
11830
|
-
# Acceptable values are:
|
11831
|
-
# - "`online`"
|
11142
|
+
# Deprecated. Acceptable values are: - "`online`"
|
11832
11143
|
# Corresponds to the JSON property `channel`
|
11833
11144
|
# @return [String]
|
11834
11145
|
attr_accessor :channel
|
11835
11146
|
|
11836
|
-
# Required. Condition or state of the item.
|
11837
|
-
# Acceptable values are:
|
11838
|
-
# - "`new`"
|
11147
|
+
# Required. Condition or state of the item. Acceptable values are: - "`new`"
|
11839
11148
|
# Corresponds to the JSON property `condition`
|
11840
11149
|
# @return [String]
|
11841
11150
|
attr_accessor :condition
|
11842
11151
|
|
11843
|
-
# Required. The two-letter ISO 639-1 language code for the item.
|
11844
|
-
#
|
11845
|
-
# - "`en`"
|
11846
|
-
# - "`fr`"
|
11152
|
+
# Required. The two-letter ISO 639-1 language code for the item. Acceptable
|
11153
|
+
# values are: - "`en`" - "`fr`"
|
11847
11154
|
# Corresponds to the JSON property `contentLanguage`
|
11848
11155
|
# @return [String]
|
11849
11156
|
attr_accessor :content_language
|
@@ -11885,7 +11192,7 @@ module Google
|
|
11885
11192
|
# @return [Google::Apis::ContentV2::Price]
|
11886
11193
|
attr_accessor :price
|
11887
11194
|
|
11888
|
-
# Required. The CLDR territory code of the target country of the product.
|
11195
|
+
# Required. The CLDR territory // code of the target country of the product.
|
11889
11196
|
# Corresponds to the JSON property `targetCountry`
|
11890
11197
|
# @return [String]
|
11891
11198
|
attr_accessor :target_country
|
@@ -11942,22 +11249,14 @@ module Google
|
|
11942
11249
|
# @return [String]
|
11943
11250
|
attr_accessor :last_four_digits
|
11944
11251
|
|
11945
|
-
# The billing address.
|
11946
|
-
# Acceptable values are:
|
11947
|
-
# - "`dwight`"
|
11948
|
-
# - "`jim`"
|
11949
|
-
# - "`pam`"
|
11252
|
+
# The billing address. Acceptable values are: - "`dwight`" - "`jim`" - "`pam`"
|
11950
11253
|
# Corresponds to the JSON property `predefinedBillingAddress`
|
11951
11254
|
# @return [String]
|
11952
11255
|
attr_accessor :predefined_billing_address
|
11953
11256
|
|
11954
11257
|
# The type of instrument. Note that real orders might have different values than
|
11955
|
-
# the four values accepted by `createTestOrder`.
|
11956
|
-
#
|
11957
|
-
# - "`AMEX`"
|
11958
|
-
# - "`DISCOVER`"
|
11959
|
-
# - "`MASTERCARD`"
|
11960
|
-
# - "`VISA`"
|
11258
|
+
# the four values accepted by `createTestOrder`. Acceptable values are: - "`AMEX`
|
11259
|
+
# " - "`DISCOVER`" - "`MASTERCARD`" - "`VISA`"
|
11961
11260
|
# Corresponds to the JSON property `type`
|
11962
11261
|
# @return [String]
|
11963
11262
|
attr_accessor :type
|
@@ -12106,9 +11405,8 @@ module Google
|
|
12106
11405
|
# @return [Array<Google::Apis::ContentV2::Promotion>]
|
12107
11406
|
attr_accessor :additional_charge_promotions
|
12108
11407
|
|
12109
|
-
# [required] Type of the additional charge.
|
12110
|
-
#
|
12111
|
-
# - "`shipping`"
|
11408
|
+
# [required] Type of the additional charge. Acceptable values are: - "`shipping`"
|
11409
|
+
#
|
12112
11410
|
# Corresponds to the JSON property `type`
|
12113
11411
|
# @return [String]
|
12114
11412
|
attr_accessor :type
|
@@ -12140,11 +11438,8 @@ module Google
|
|
12140
11438
|
# @return [String]
|
12141
11439
|
attr_accessor :tax_name
|
12142
11440
|
|
12143
|
-
# [required] Type of the tax.
|
12144
|
-
#
|
12145
|
-
# - "`otherFee`"
|
12146
|
-
# - "`otherFeeTax`"
|
12147
|
-
# - "`sales`"
|
11441
|
+
# [required] Type of the tax. Acceptable values are: - "`otherFee`" - "`
|
11442
|
+
# otherFeeTax`" - "`sales`"
|
12148
11443
|
# Corresponds to the JSON property `taxType`
|
12149
11444
|
# @return [String]
|
12150
11445
|
attr_accessor :tax_type
|
@@ -12215,10 +11510,7 @@ module Google
|
|
12215
11510
|
class Weight
|
12216
11511
|
include Google::Apis::Core::Hashable
|
12217
11512
|
|
12218
|
-
# Required. The weight unit.
|
12219
|
-
# Acceptable values are:
|
12220
|
-
# - "`kg`"
|
12221
|
-
# - "`lb`"
|
11513
|
+
# Required. The weight unit. Acceptable values are: - "`kg`" - "`lb`"
|
12222
11514
|
# Corresponds to the JSON property `unit`
|
12223
11515
|
# @return [String]
|
12224
11516
|
attr_accessor :unit
|