google-api-client 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +75 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
- data/generated/google/apis/admin_directory_v1/service.rb +71 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1 -46
- data/generated/google/apis/appengine_v1/representations.rb +0 -17
- data/generated/google/apis/appengine_v1/service.rb +5 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
- data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appengine_v1beta/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +41 -24
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +15 -3
- data/generated/google/apis/classroom_v1.rb +4 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +7 -3
- data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
- data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +143 -83
- data/generated/google/apis/compute_alpha/representations.rb +50 -30
- data/generated/google/apis/compute_alpha/service.rb +171 -5
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +47 -43
- data/generated/google/apis/compute_beta/representations.rb +1 -2
- data/generated/google/apis/compute_beta/service.rb +60 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1326 -168
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +751 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -16
- data/generated/google/apis/content_v2/service.rb +142 -162
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/service.rb +43 -43
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
- data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
- data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +39 -60
- data/generated/google/apis/datastore_v1/representations.rb +27 -0
- data/generated/google/apis/datastore_v1/service.rb +34 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
- data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
- data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
- data/generated/google/apis/dns_v1beta2.rb +43 -0
- data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
- data/generated/google/apis/dns_v1beta2/service.rb +769 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +6 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +51 -8
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +6 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +45 -7
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
- data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1/service.rb +37 -0
- data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
- data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
- data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +78 -0
- data/generated/google/apis/language_v1/representations.rb +45 -0
- data/generated/google/apis/language_v1/service.rb +30 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +9 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +517 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -6
- data/generated/google/apis/ml_v1/service.rb +8 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +358 -0
- data/generated/google/apis/monitoring_v3/representations.rb +145 -0
- data/generated/google/apis/monitoring_v3/service.rb +229 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -60
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/classes.rb +57 -51
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/script_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +505 -11
- data/generated/google/apis/slides_v1/representations.rb +220 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +10 -1
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +51 -72
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
- data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +8 -3
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/generator/model.rb +9 -3
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -12
- data/generated/google/apis/playmoviespartner_v1.rb +0 -34
- data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
- data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
- data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
- data/generated/google/apis/qpx_express_v1.rb +0 -31
- data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
- data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
- data/generated/google/apis/qpx_express_v1/service.rb +0 -101
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
|
27
27
|
module ContainerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170929'
|
|
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'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
|
27
27
|
module ContentV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20171020'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -1136,7 +1136,7 @@ module Google
|
|
|
1136
1136
|
# @return [String]
|
|
1137
1137
|
attr_accessor :attribute_language
|
|
1138
1138
|
|
|
1139
|
-
# [DEPRECATED] Please use
|
|
1139
|
+
# [DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1
|
|
1140
1140
|
# language of the items in the feed. Must be a valid language for targetCountry.
|
|
1141
1141
|
# Corresponds to the JSON property `contentLanguage`
|
|
1142
1142
|
# @return [String]
|
|
@@ -1171,7 +1171,7 @@ module Google
|
|
|
1171
1171
|
# @return [Fixnum]
|
|
1172
1172
|
attr_accessor :id
|
|
1173
1173
|
|
|
1174
|
-
# [DEPRECATED] Please use
|
|
1174
|
+
# [DEPRECATED] Please use targets[].includedDestinations instead. The list of
|
|
1175
1175
|
# intended destinations (corresponds to checked check boxes in Merchant Center).
|
|
1176
1176
|
# Corresponds to the JSON property `intendedDestinations`
|
|
1177
1177
|
# @return [Array<String>]
|
|
@@ -1188,9 +1188,9 @@ module Google
|
|
|
1188
1188
|
# @return [String]
|
|
1189
1189
|
attr_accessor :name
|
|
1190
1190
|
|
|
1191
|
-
# [DEPRECATED] Please use
|
|
1192
|
-
# the feed will be included in the search index, represented as a CLDR
|
|
1193
|
-
# code.
|
|
1191
|
+
# [DEPRECATED] Please use targets[].country instead. The country where the items
|
|
1192
|
+
# in the feed will be included in the search index, represented as a CLDR
|
|
1193
|
+
# territory code.
|
|
1194
1194
|
# Corresponds to the JSON property `targetCountry`
|
|
1195
1195
|
# @return [String]
|
|
1196
1196
|
attr_accessor :target_country
|
|
@@ -1946,18 +1946,20 @@ module Google
|
|
|
1946
1946
|
# @return [Array<String>]
|
|
1947
1947
|
attr_accessor :postal_code_group_names
|
|
1948
1948
|
|
|
1949
|
-
#
|
|
1950
|
-
#
|
|
1949
|
+
# A list of inclusive order price upper bounds. The last price's value can be "
|
|
1950
|
+
# infinity". For example [`"value": "10", "currency": "USD"`, `"value": "500", "
|
|
1951
|
+
# currency": "USD"`, `"value": "infinity", "currency": "USD"`] represents the
|
|
1951
1952
|
# headers "<= $10", " $500". All prices within a service must have the same
|
|
1952
1953
|
# currency. Must be non-empty. Can only be set if all other fields are not set.
|
|
1953
1954
|
# Corresponds to the JSON property `prices`
|
|
1954
1955
|
# @return [Array<Google::Apis::ContentV2::Price>]
|
|
1955
1956
|
attr_accessor :prices
|
|
1956
1957
|
|
|
1957
|
-
#
|
|
1958
|
-
#
|
|
1959
|
-
#
|
|
1960
|
-
#
|
|
1958
|
+
# A list of inclusive order weight upper bounds. The last weight's value can be "
|
|
1959
|
+
# infinity". For example [`"value": "10", "unit": "kg"`, `"value": "50", "unit":
|
|
1960
|
+
# "kg"`, `"value": "infinity", "unit": "kg"`] represents the headers "<= 10kg", "
|
|
1961
|
+
# 50kg". All weights within a service must have the same unit. Must be non-
|
|
1962
|
+
# empty. Can only be set if all other fields are not set.
|
|
1961
1963
|
# Corresponds to the JSON property `weights`
|
|
1962
1964
|
# @return [Array<Google::Apis::ContentV2::Weight>]
|
|
1963
1965
|
attr_accessor :weights
|
|
@@ -4755,7 +4757,10 @@ module Google
|
|
|
4755
4757
|
# @return [String]
|
|
4756
4758
|
attr_accessor :gtin
|
|
4757
4759
|
|
|
4758
|
-
# The REST id of the product.
|
|
4760
|
+
# The REST id of the product. Content API methods that operate on products take
|
|
4761
|
+
# this as their productId parameter.
|
|
4762
|
+
# The REST id for a product is of the form channel:contentLanguage:targetCountry:
|
|
4763
|
+
# offerId.
|
|
4759
4764
|
# Corresponds to the JSON property `id`
|
|
4760
4765
|
# @return [String]
|
|
4761
4766
|
attr_accessor :id
|
|
@@ -4836,10 +4841,12 @@ module Google
|
|
|
4836
4841
|
# @return [Fixnum]
|
|
4837
4842
|
attr_accessor :multipack
|
|
4838
4843
|
|
|
4839
|
-
#
|
|
4840
|
-
# multiple whitespaces are replaced by a single whitespace upon
|
|
4841
|
-
# valid unicode characters are accepted. See the products feed
|
|
4842
|
-
# details.
|
|
4844
|
+
# A unique identifier for the item. Leading and trailing whitespaces are
|
|
4845
|
+
# stripped and multiple whitespaces are replaced by a single whitespace upon
|
|
4846
|
+
# submission. Only valid unicode characters are accepted. See the products feed
|
|
4847
|
+
# specification for details.
|
|
4848
|
+
# Note: Content API methods that operate on products take the REST id of the
|
|
4849
|
+
# product, not this identifier.
|
|
4843
4850
|
# Corresponds to the JSON property `offerId`
|
|
4844
4851
|
# @return [String]
|
|
4845
4852
|
attr_accessor :offer_id
|
|
@@ -86,12 +86,10 @@ module Google
|
|
|
86
86
|
execute_or_queue_command(command, &block)
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
-
# Claims the website of a Merchant Center sub-account.
|
|
90
|
-
# called for accounts to which the managing account has access: either the
|
|
91
|
-
# managing account itself for any Merchant Center account, or any sub-account
|
|
92
|
-
# when the managing account is a multi-client account.
|
|
89
|
+
# Claims the website of a Merchant Center sub-account.
|
|
93
90
|
# @param [Fixnum] merchant_id
|
|
94
|
-
# The ID of the managing account.
|
|
91
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
92
|
+
# then this parameter must be the same as accountId.
|
|
95
93
|
# @param [Fixnum] account_id
|
|
96
94
|
# The ID of the account whose website is claimed.
|
|
97
95
|
# @param [Boolean] overwrite
|
|
@@ -171,10 +169,9 @@ module Google
|
|
|
171
169
|
execute_or_queue_command(command, &block)
|
|
172
170
|
end
|
|
173
171
|
|
|
174
|
-
# Deletes a Merchant Center sub-account.
|
|
175
|
-
# multi-client accounts.
|
|
172
|
+
# Deletes a Merchant Center sub-account.
|
|
176
173
|
# @param [Fixnum] merchant_id
|
|
177
|
-
# The ID of the managing account.
|
|
174
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
178
175
|
# @param [Fixnum] account_id
|
|
179
176
|
# The ID of the account.
|
|
180
177
|
# @param [Boolean] dry_run
|
|
@@ -214,12 +211,10 @@ module Google
|
|
|
214
211
|
execute_or_queue_command(command, &block)
|
|
215
212
|
end
|
|
216
213
|
|
|
217
|
-
# Retrieves a Merchant Center account.
|
|
218
|
-
# accounts to which the managing account has access: either the managing account
|
|
219
|
-
# itself for any Merchant Center account, or any sub-account when the managing
|
|
220
|
-
# account is a multi-client account.
|
|
214
|
+
# Retrieves a Merchant Center account.
|
|
221
215
|
# @param [Fixnum] merchant_id
|
|
222
|
-
# The ID of the managing account.
|
|
216
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
217
|
+
# then this parameter must be the same as accountId.
|
|
223
218
|
# @param [Fixnum] account_id
|
|
224
219
|
# The ID of the account.
|
|
225
220
|
# @param [String] fields
|
|
@@ -255,10 +250,9 @@ module Google
|
|
|
255
250
|
execute_or_queue_command(command, &block)
|
|
256
251
|
end
|
|
257
252
|
|
|
258
|
-
# Creates a Merchant Center sub-account.
|
|
259
|
-
# multi-client accounts.
|
|
253
|
+
# Creates a Merchant Center sub-account.
|
|
260
254
|
# @param [Fixnum] merchant_id
|
|
261
|
-
# The ID of the managing account.
|
|
255
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
262
256
|
# @param [Google::Apis::ContentV2::Account] account_object
|
|
263
257
|
# @param [Boolean] dry_run
|
|
264
258
|
# Flag to run the request in dry-run mode.
|
|
@@ -297,10 +291,9 @@ module Google
|
|
|
297
291
|
execute_or_queue_command(command, &block)
|
|
298
292
|
end
|
|
299
293
|
|
|
300
|
-
# Lists the sub-accounts in your Merchant Center account.
|
|
301
|
-
# be called for multi-client accounts.
|
|
294
|
+
# Lists the sub-accounts in your Merchant Center account.
|
|
302
295
|
# @param [Fixnum] merchant_id
|
|
303
|
-
# The ID of the managing account.
|
|
296
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
304
297
|
# @param [Fixnum] max_results
|
|
305
298
|
# The maximum number of accounts to return in the response, used for paging.
|
|
306
299
|
# @param [String] page_token
|
|
@@ -339,12 +332,10 @@ module Google
|
|
|
339
332
|
execute_or_queue_command(command, &block)
|
|
340
333
|
end
|
|
341
334
|
|
|
342
|
-
# Updates a Merchant Center account. This method
|
|
343
|
-
# to which the managing account has access: either the managing account itself
|
|
344
|
-
# for any Merchant Center account, or any sub-account when the managing account
|
|
345
|
-
# is a multi-client account. This method supports patch semantics.
|
|
335
|
+
# Updates a Merchant Center account. This method supports patch semantics.
|
|
346
336
|
# @param [Fixnum] merchant_id
|
|
347
|
-
# The ID of the managing account.
|
|
337
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
338
|
+
# then this parameter must be the same as accountId.
|
|
348
339
|
# @param [Fixnum] account_id
|
|
349
340
|
# The ID of the account.
|
|
350
341
|
# @param [Google::Apis::ContentV2::Account] account_object
|
|
@@ -386,12 +377,10 @@ module Google
|
|
|
386
377
|
execute_or_queue_command(command, &block)
|
|
387
378
|
end
|
|
388
379
|
|
|
389
|
-
# Updates a Merchant Center account.
|
|
390
|
-
# to which the managing account has access: either the managing account itself
|
|
391
|
-
# for any Merchant Center account, or any sub-account when the managing account
|
|
392
|
-
# is a multi-client account.
|
|
380
|
+
# Updates a Merchant Center account.
|
|
393
381
|
# @param [Fixnum] merchant_id
|
|
394
|
-
# The ID of the managing account.
|
|
382
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
383
|
+
# then this parameter must be the same as accountId.
|
|
395
384
|
# @param [Fixnum] account_id
|
|
396
385
|
# The ID of the account.
|
|
397
386
|
# @param [Google::Apis::ContentV2::Account] account_object
|
|
@@ -468,12 +457,10 @@ module Google
|
|
|
468
457
|
execute_or_queue_command(command, &block)
|
|
469
458
|
end
|
|
470
459
|
|
|
471
|
-
# Retrieves the status of a Merchant Center account.
|
|
472
|
-
# called for accounts to which the managing account has access: either the
|
|
473
|
-
# managing account itself for any Merchant Center account, or any sub-account
|
|
474
|
-
# when the managing account is a multi-client account.
|
|
460
|
+
# Retrieves the status of a Merchant Center account.
|
|
475
461
|
# @param [Fixnum] merchant_id
|
|
476
|
-
# The ID of the managing account.
|
|
462
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
463
|
+
# then this parameter must be the same as accountId.
|
|
477
464
|
# @param [Fixnum] account_id
|
|
478
465
|
# The ID of the account.
|
|
479
466
|
# @param [String] fields
|
|
@@ -509,10 +496,9 @@ module Google
|
|
|
509
496
|
execute_or_queue_command(command, &block)
|
|
510
497
|
end
|
|
511
498
|
|
|
512
|
-
# Lists the statuses of the sub-accounts in your Merchant Center account.
|
|
513
|
-
# method can only be called for multi-client accounts.
|
|
499
|
+
# Lists the statuses of the sub-accounts in your Merchant Center account.
|
|
514
500
|
# @param [Fixnum] merchant_id
|
|
515
|
-
# The ID of the managing account.
|
|
501
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
516
502
|
# @param [Fixnum] max_results
|
|
517
503
|
# The maximum number of account statuses to return in the response, used for
|
|
518
504
|
# paging.
|
|
@@ -590,12 +576,10 @@ module Google
|
|
|
590
576
|
execute_or_queue_command(command, &block)
|
|
591
577
|
end
|
|
592
578
|
|
|
593
|
-
# Retrieves the tax settings of the account.
|
|
594
|
-
# accounts to which the managing account has access: either the managing account
|
|
595
|
-
# itself for any Merchant Center account, or any sub-account when the managing
|
|
596
|
-
# account is a multi-client account.
|
|
579
|
+
# Retrieves the tax settings of the account.
|
|
597
580
|
# @param [Fixnum] merchant_id
|
|
598
|
-
# The ID of the managing account.
|
|
581
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
582
|
+
# then this parameter must be the same as accountId.
|
|
599
583
|
# @param [Fixnum] account_id
|
|
600
584
|
# The ID of the account for which to get/update account tax settings.
|
|
601
585
|
# @param [String] fields
|
|
@@ -632,9 +616,8 @@ module Google
|
|
|
632
616
|
end
|
|
633
617
|
|
|
634
618
|
# Lists the tax settings of the sub-accounts in your Merchant Center account.
|
|
635
|
-
# This method can only be called for multi-client accounts.
|
|
636
619
|
# @param [Fixnum] merchant_id
|
|
637
|
-
# The ID of the managing account.
|
|
620
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
638
621
|
# @param [Fixnum] max_results
|
|
639
622
|
# The maximum number of tax settings to return in the response, used for paging.
|
|
640
623
|
# @param [String] page_token
|
|
@@ -673,12 +656,10 @@ module Google
|
|
|
673
656
|
execute_or_queue_command(command, &block)
|
|
674
657
|
end
|
|
675
658
|
|
|
676
|
-
# Updates the tax settings of the account. This method
|
|
677
|
-
# accounts to which the managing account has access: either the managing account
|
|
678
|
-
# itself for any Merchant Center account, or any sub-account when the managing
|
|
679
|
-
# account is a multi-client account. This method supports patch semantics.
|
|
659
|
+
# Updates the tax settings of the account. This method supports patch semantics.
|
|
680
660
|
# @param [Fixnum] merchant_id
|
|
681
|
-
# The ID of the managing account.
|
|
661
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
662
|
+
# then this parameter must be the same as accountId.
|
|
682
663
|
# @param [Fixnum] account_id
|
|
683
664
|
# The ID of the account for which to get/update account tax settings.
|
|
684
665
|
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
|
|
@@ -720,12 +701,10 @@ module Google
|
|
|
720
701
|
execute_or_queue_command(command, &block)
|
|
721
702
|
end
|
|
722
703
|
|
|
723
|
-
# Updates the tax settings of the account.
|
|
724
|
-
# accounts to which the managing account has access: either the managing account
|
|
725
|
-
# itself for any Merchant Center account, or any sub-account when the managing
|
|
726
|
-
# account is a multi-client account.
|
|
704
|
+
# Updates the tax settings of the account.
|
|
727
705
|
# @param [Fixnum] merchant_id
|
|
728
|
-
# The ID of the managing account.
|
|
706
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
707
|
+
# then this parameter must be the same as accountId.
|
|
729
708
|
# @param [Fixnum] account_id
|
|
730
709
|
# The ID of the account for which to get/update account tax settings.
|
|
731
710
|
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
|
|
@@ -805,10 +784,12 @@ module Google
|
|
|
805
784
|
execute_or_queue_command(command, &block)
|
|
806
785
|
end
|
|
807
786
|
|
|
808
|
-
# Deletes a datafeed configuration from your Merchant Center account.
|
|
809
|
-
# method can only be called for non-multi-client accounts.
|
|
787
|
+
# Deletes a datafeed configuration from your Merchant Center account.
|
|
810
788
|
# @param [Fixnum] merchant_id
|
|
789
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
|
790
|
+
# multi-client account.
|
|
811
791
|
# @param [Fixnum] datafeed_id
|
|
792
|
+
# The ID of the datafeed.
|
|
812
793
|
# @param [Boolean] dry_run
|
|
813
794
|
# Flag to run the request in dry-run mode.
|
|
814
795
|
# @param [String] fields
|
|
@@ -843,10 +824,12 @@ module Google
|
|
|
843
824
|
execute_or_queue_command(command, &block)
|
|
844
825
|
end
|
|
845
826
|
|
|
846
|
-
# Retrieves a datafeed configuration from your Merchant Center account.
|
|
847
|
-
# method can only be called for non-multi-client accounts.
|
|
827
|
+
# Retrieves a datafeed configuration from your Merchant Center account.
|
|
848
828
|
# @param [Fixnum] merchant_id
|
|
829
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
|
830
|
+
# multi-client account.
|
|
849
831
|
# @param [Fixnum] datafeed_id
|
|
832
|
+
# The ID of the datafeed.
|
|
850
833
|
# @param [String] fields
|
|
851
834
|
# Selector specifying which fields to include in a partial response.
|
|
852
835
|
# @param [String] quota_user
|
|
@@ -880,9 +863,10 @@ module Google
|
|
|
880
863
|
execute_or_queue_command(command, &block)
|
|
881
864
|
end
|
|
882
865
|
|
|
883
|
-
# Registers a datafeed configuration with your Merchant Center account.
|
|
884
|
-
# method can only be called for non-multi-client accounts.
|
|
866
|
+
# Registers a datafeed configuration with your Merchant Center account.
|
|
885
867
|
# @param [Fixnum] merchant_id
|
|
868
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
|
869
|
+
# multi-client account.
|
|
886
870
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
|
887
871
|
# @param [Boolean] dry_run
|
|
888
872
|
# Flag to run the request in dry-run mode.
|
|
@@ -921,10 +905,10 @@ module Google
|
|
|
921
905
|
execute_or_queue_command(command, &block)
|
|
922
906
|
end
|
|
923
907
|
|
|
924
|
-
# Lists the datafeeds in your Merchant Center account.
|
|
925
|
-
# called for non-multi-client accounts.
|
|
908
|
+
# Lists the datafeeds in your Merchant Center account.
|
|
926
909
|
# @param [Fixnum] merchant_id
|
|
927
|
-
# The ID of the
|
|
910
|
+
# The ID of the account that manages the datafeeds. This account cannot be a
|
|
911
|
+
# multi-client account.
|
|
928
912
|
# @param [Fixnum] max_results
|
|
929
913
|
# The maximum number of products to return in the response, used for paging.
|
|
930
914
|
# @param [String] page_token
|
|
@@ -964,10 +948,12 @@ module Google
|
|
|
964
948
|
end
|
|
965
949
|
|
|
966
950
|
# Updates a datafeed configuration of your Merchant Center account. This method
|
|
967
|
-
#
|
|
968
|
-
# semantics.
|
|
951
|
+
# supports patch semantics.
|
|
969
952
|
# @param [Fixnum] merchant_id
|
|
953
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
|
954
|
+
# multi-client account.
|
|
970
955
|
# @param [Fixnum] datafeed_id
|
|
956
|
+
# The ID of the datafeed.
|
|
971
957
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
|
972
958
|
# @param [Boolean] dry_run
|
|
973
959
|
# Flag to run the request in dry-run mode.
|
|
@@ -1007,10 +993,12 @@ module Google
|
|
|
1007
993
|
execute_or_queue_command(command, &block)
|
|
1008
994
|
end
|
|
1009
995
|
|
|
1010
|
-
# Updates a datafeed configuration of your Merchant Center account.
|
|
1011
|
-
# can only be called for non-multi-client accounts.
|
|
996
|
+
# Updates a datafeed configuration of your Merchant Center account.
|
|
1012
997
|
# @param [Fixnum] merchant_id
|
|
998
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
|
999
|
+
# multi-client account.
|
|
1013
1000
|
# @param [Fixnum] datafeed_id
|
|
1001
|
+
# The ID of the datafeed.
|
|
1014
1002
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
|
1015
1003
|
# @param [Boolean] dry_run
|
|
1016
1004
|
# Flag to run the request in dry-run mode.
|
|
@@ -1085,10 +1073,12 @@ module Google
|
|
|
1085
1073
|
execute_or_queue_command(command, &block)
|
|
1086
1074
|
end
|
|
1087
1075
|
|
|
1088
|
-
# Retrieves the status of a datafeed from your Merchant Center account.
|
|
1089
|
-
# method can only be called for non-multi-client accounts.
|
|
1076
|
+
# Retrieves the status of a datafeed from your Merchant Center account.
|
|
1090
1077
|
# @param [Fixnum] merchant_id
|
|
1078
|
+
# The ID of the account that manages the datafeed. This account cannot be a
|
|
1079
|
+
# multi-client account.
|
|
1091
1080
|
# @param [Fixnum] datafeed_id
|
|
1081
|
+
# The ID of the datafeed.
|
|
1092
1082
|
# @param [String] country
|
|
1093
1083
|
# The country for which to get the datafeed status. If this parameter is
|
|
1094
1084
|
# provided then language must also be provided. Note that this parameter is
|
|
@@ -1134,10 +1124,10 @@ module Google
|
|
|
1134
1124
|
execute_or_queue_command(command, &block)
|
|
1135
1125
|
end
|
|
1136
1126
|
|
|
1137
|
-
# Lists the statuses of the datafeeds in your Merchant Center account.
|
|
1138
|
-
# method can only be called for non-multi-client accounts.
|
|
1127
|
+
# Lists the statuses of the datafeeds in your Merchant Center account.
|
|
1139
1128
|
# @param [Fixnum] merchant_id
|
|
1140
|
-
# The ID of the
|
|
1129
|
+
# The ID of the account that manages the datafeeds. This account cannot be a
|
|
1130
|
+
# multi-client account.
|
|
1141
1131
|
# @param [Fixnum] max_results
|
|
1142
1132
|
# The maximum number of products to return in the response, used for paging.
|
|
1143
1133
|
# @param [String] page_token
|
|
@@ -1178,7 +1168,6 @@ module Google
|
|
|
1178
1168
|
|
|
1179
1169
|
# Updates price and availability for multiple products or stores in a single
|
|
1180
1170
|
# request. This operation does not update the expiration date of the products.
|
|
1181
|
-
# This method can only be called for non-multi-client accounts.
|
|
1182
1171
|
# @param [Google::Apis::ContentV2::BatchInventoryRequest] batch_inventory_request_object
|
|
1183
1172
|
# @param [Boolean] dry_run
|
|
1184
1173
|
# Flag to run the request in dry-run mode.
|
|
@@ -1217,15 +1206,14 @@ module Google
|
|
|
1217
1206
|
end
|
|
1218
1207
|
|
|
1219
1208
|
# Updates price and availability of a product in your Merchant Center account.
|
|
1220
|
-
# This operation does not update the expiration date of the product. This method
|
|
1221
|
-
# can only be called for non-multi-client accounts.
|
|
1222
1209
|
# @param [Fixnum] merchant_id
|
|
1223
|
-
# The ID of the
|
|
1210
|
+
# The ID of the account that contains the product. This account cannot be a
|
|
1211
|
+
# multi-client account.
|
|
1224
1212
|
# @param [String] store_code
|
|
1225
1213
|
# The code of the store for which to update price and availability. Use online
|
|
1226
1214
|
# to update price and availability of an online product.
|
|
1227
1215
|
# @param [String] product_id
|
|
1228
|
-
# The
|
|
1216
|
+
# The REST id of the product for which to update price and availability.
|
|
1229
1217
|
# @param [Google::Apis::ContentV2::SetInventoryRequest] set_inventory_request_object
|
|
1230
1218
|
# @param [Boolean] dry_run
|
|
1231
1219
|
# Flag to run the request in dry-run mode.
|
|
@@ -1266,10 +1254,10 @@ module Google
|
|
|
1266
1254
|
execute_or_queue_command(command, &block)
|
|
1267
1255
|
end
|
|
1268
1256
|
|
|
1269
|
-
# Marks an order as acknowledged.
|
|
1270
|
-
# client accounts.
|
|
1257
|
+
# Marks an order as acknowledged.
|
|
1271
1258
|
# @param [Fixnum] merchant_id
|
|
1272
|
-
# The ID of the
|
|
1259
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1260
|
+
# account.
|
|
1273
1261
|
# @param [String] order_id
|
|
1274
1262
|
# The ID of the order.
|
|
1275
1263
|
# @param [Google::Apis::ContentV2::OrdersAcknowledgeRequest] orders_acknowledge_request_object
|
|
@@ -1309,9 +1297,10 @@ module Google
|
|
|
1309
1297
|
end
|
|
1310
1298
|
|
|
1311
1299
|
# Sandbox only. Moves a test order from state "inProgress" to state "
|
|
1312
|
-
# pendingShipment".
|
|
1300
|
+
# pendingShipment".
|
|
1313
1301
|
# @param [Fixnum] merchant_id
|
|
1314
|
-
# The ID of the
|
|
1302
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1303
|
+
# account.
|
|
1315
1304
|
# @param [String] order_id
|
|
1316
1305
|
# The ID of the test order to modify.
|
|
1317
1306
|
# @param [String] fields
|
|
@@ -1347,10 +1336,10 @@ module Google
|
|
|
1347
1336
|
execute_or_queue_command(command, &block)
|
|
1348
1337
|
end
|
|
1349
1338
|
|
|
1350
|
-
# Cancels all line items in an order, making a full refund.
|
|
1351
|
-
# be called for non-multi-client accounts.
|
|
1339
|
+
# Cancels all line items in an order, making a full refund.
|
|
1352
1340
|
# @param [Fixnum] merchant_id
|
|
1353
|
-
# The ID of the
|
|
1341
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1342
|
+
# account.
|
|
1354
1343
|
# @param [String] order_id
|
|
1355
1344
|
# The ID of the order to cancel.
|
|
1356
1345
|
# @param [Google::Apis::ContentV2::OrdersCancelRequest] orders_cancel_request_object
|
|
@@ -1389,10 +1378,10 @@ module Google
|
|
|
1389
1378
|
execute_or_queue_command(command, &block)
|
|
1390
1379
|
end
|
|
1391
1380
|
|
|
1392
|
-
# Cancels a line item, making a full refund.
|
|
1393
|
-
# non-multi-client accounts.
|
|
1381
|
+
# Cancels a line item, making a full refund.
|
|
1394
1382
|
# @param [Fixnum] merchant_id
|
|
1395
|
-
# The ID of the
|
|
1383
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1384
|
+
# account.
|
|
1396
1385
|
# @param [String] order_id
|
|
1397
1386
|
# The ID of the order.
|
|
1398
1387
|
# @param [Google::Apis::ContentV2::OrdersCancelLineItemRequest] orders_cancel_line_item_request_object
|
|
@@ -1431,10 +1420,10 @@ module Google
|
|
|
1431
1420
|
execute_or_queue_command(command, &block)
|
|
1432
1421
|
end
|
|
1433
1422
|
|
|
1434
|
-
# Sandbox only. Creates a test order.
|
|
1435
|
-
# multi-client accounts.
|
|
1423
|
+
# Sandbox only. Creates a test order.
|
|
1436
1424
|
# @param [Fixnum] merchant_id
|
|
1437
|
-
# The ID of the
|
|
1425
|
+
# The ID of the account that should manage the order. This cannot be a multi-
|
|
1426
|
+
# client account.
|
|
1438
1427
|
# @param [Google::Apis::ContentV2::OrdersCreateTestOrderRequest] orders_create_test_order_request_object
|
|
1439
1428
|
# @param [String] fields
|
|
1440
1429
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1470,8 +1459,7 @@ module Google
|
|
|
1470
1459
|
execute_or_queue_command(command, &block)
|
|
1471
1460
|
end
|
|
1472
1461
|
|
|
1473
|
-
# Retrieves or modifies multiple orders in a single request.
|
|
1474
|
-
# only be called for non-multi-client accounts.
|
|
1462
|
+
# Retrieves or modifies multiple orders in a single request.
|
|
1475
1463
|
# @param [Google::Apis::ContentV2::OrdersCustomBatchRequest] orders_custom_batch_request_object
|
|
1476
1464
|
# @param [String] fields
|
|
1477
1465
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1506,10 +1494,10 @@ module Google
|
|
|
1506
1494
|
execute_or_queue_command(command, &block)
|
|
1507
1495
|
end
|
|
1508
1496
|
|
|
1509
|
-
# Retrieves an order from your Merchant Center account.
|
|
1510
|
-
# called for non-multi-client accounts.
|
|
1497
|
+
# Retrieves an order from your Merchant Center account.
|
|
1511
1498
|
# @param [Fixnum] merchant_id
|
|
1512
|
-
# The ID of the
|
|
1499
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1500
|
+
# account.
|
|
1513
1501
|
# @param [String] order_id
|
|
1514
1502
|
# The ID of the order.
|
|
1515
1503
|
# @param [String] fields
|
|
@@ -1545,10 +1533,10 @@ module Google
|
|
|
1545
1533
|
execute_or_queue_command(command, &block)
|
|
1546
1534
|
end
|
|
1547
1535
|
|
|
1548
|
-
# Retrieves an order using merchant order id.
|
|
1549
|
-
# non-multi-client accounts.
|
|
1536
|
+
# Retrieves an order using merchant order id.
|
|
1550
1537
|
# @param [Fixnum] merchant_id
|
|
1551
|
-
# The ID of the
|
|
1538
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1539
|
+
# account.
|
|
1552
1540
|
# @param [String] merchant_order_id
|
|
1553
1541
|
# The merchant order id to be looked for.
|
|
1554
1542
|
# @param [String] fields
|
|
@@ -1585,10 +1573,10 @@ module Google
|
|
|
1585
1573
|
end
|
|
1586
1574
|
|
|
1587
1575
|
# Sandbox only. Retrieves an order template that can be used to quickly create a
|
|
1588
|
-
# new order in sandbox.
|
|
1589
|
-
# accounts.
|
|
1576
|
+
# new order in sandbox.
|
|
1590
1577
|
# @param [Fixnum] merchant_id
|
|
1591
|
-
# The ID of the
|
|
1578
|
+
# The ID of the account that should manage the order. This cannot be a multi-
|
|
1579
|
+
# client account.
|
|
1592
1580
|
# @param [String] template_name
|
|
1593
1581
|
# The name of the template to retrieve.
|
|
1594
1582
|
# @param [String] fields
|
|
@@ -1624,10 +1612,10 @@ module Google
|
|
|
1624
1612
|
execute_or_queue_command(command, &block)
|
|
1625
1613
|
end
|
|
1626
1614
|
|
|
1627
|
-
# Lists the orders in your Merchant Center account.
|
|
1628
|
-
# called for non-multi-client accounts.
|
|
1615
|
+
# Lists the orders in your Merchant Center account.
|
|
1629
1616
|
# @param [Fixnum] merchant_id
|
|
1630
|
-
# The ID of the
|
|
1617
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1618
|
+
# account.
|
|
1631
1619
|
# @param [Boolean] acknowledged
|
|
1632
1620
|
# Obtains orders that match the acknowledgement status. When set to true,
|
|
1633
1621
|
# obtains orders that have been acknowledged. When false, obtains orders that
|
|
@@ -1698,10 +1686,10 @@ module Google
|
|
|
1698
1686
|
execute_or_queue_command(command, &block)
|
|
1699
1687
|
end
|
|
1700
1688
|
|
|
1701
|
-
# Refund a portion of the order, up to the full amount paid.
|
|
1702
|
-
# only be called for non-multi-client accounts.
|
|
1689
|
+
# Refund a portion of the order, up to the full amount paid.
|
|
1703
1690
|
# @param [Fixnum] merchant_id
|
|
1704
|
-
# The ID of the
|
|
1691
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1692
|
+
# account.
|
|
1705
1693
|
# @param [String] order_id
|
|
1706
1694
|
# The ID of the order to refund.
|
|
1707
1695
|
# @param [Google::Apis::ContentV2::OrdersRefundRequest] orders_refund_request_object
|
|
@@ -1740,10 +1728,10 @@ module Google
|
|
|
1740
1728
|
execute_or_queue_command(command, &block)
|
|
1741
1729
|
end
|
|
1742
1730
|
|
|
1743
|
-
# Returns a line item.
|
|
1744
|
-
# accounts.
|
|
1731
|
+
# Returns a line item.
|
|
1745
1732
|
# @param [Fixnum] merchant_id
|
|
1746
|
-
# The ID of the
|
|
1733
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1734
|
+
# account.
|
|
1747
1735
|
# @param [String] order_id
|
|
1748
1736
|
# The ID of the order.
|
|
1749
1737
|
# @param [Google::Apis::ContentV2::OrdersReturnLineItemRequest] orders_return_line_item_request_object
|
|
@@ -1782,10 +1770,10 @@ module Google
|
|
|
1782
1770
|
execute_or_queue_command(command, &block)
|
|
1783
1771
|
end
|
|
1784
1772
|
|
|
1785
|
-
# Marks line item(s) as shipped.
|
|
1786
|
-
# client accounts.
|
|
1773
|
+
# Marks line item(s) as shipped.
|
|
1787
1774
|
# @param [Fixnum] merchant_id
|
|
1788
|
-
# The ID of the
|
|
1775
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1776
|
+
# account.
|
|
1789
1777
|
# @param [String] order_id
|
|
1790
1778
|
# The ID of the order.
|
|
1791
1779
|
# @param [Google::Apis::ContentV2::OrdersShipLineItemsRequest] orders_ship_line_items_request_object
|
|
@@ -1824,10 +1812,10 @@ module Google
|
|
|
1824
1812
|
execute_or_queue_command(command, &block)
|
|
1825
1813
|
end
|
|
1826
1814
|
|
|
1827
|
-
# Updates the merchant order ID for a given order.
|
|
1828
|
-
# called for non-multi-client accounts.
|
|
1815
|
+
# Updates the merchant order ID for a given order.
|
|
1829
1816
|
# @param [Fixnum] merchant_id
|
|
1830
|
-
# The ID of the
|
|
1817
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1818
|
+
# account.
|
|
1831
1819
|
# @param [String] order_id
|
|
1832
1820
|
# The ID of the order.
|
|
1833
1821
|
# @param [Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest] orders_update_merchant_order_id_request_object
|
|
@@ -1866,10 +1854,10 @@ module Google
|
|
|
1866
1854
|
execute_or_queue_command(command, &block)
|
|
1867
1855
|
end
|
|
1868
1856
|
|
|
1869
|
-
# Updates a shipment's status, carrier, and/or tracking ID.
|
|
1870
|
-
# be called for non-multi-client accounts.
|
|
1857
|
+
# Updates a shipment's status, carrier, and/or tracking ID.
|
|
1871
1858
|
# @param [Fixnum] merchant_id
|
|
1872
|
-
# The ID of the
|
|
1859
|
+
# The ID of the account that manages the order. This cannot be a multi-client
|
|
1860
|
+
# account.
|
|
1873
1861
|
# @param [String] order_id
|
|
1874
1862
|
# The ID of the order.
|
|
1875
1863
|
# @param [Google::Apis::ContentV2::OrdersUpdateShipmentRequest] orders_update_shipment_request_object
|
|
@@ -1908,8 +1896,7 @@ module Google
|
|
|
1908
1896
|
execute_or_queue_command(command, &block)
|
|
1909
1897
|
end
|
|
1910
1898
|
|
|
1911
|
-
# Retrieves, inserts, and deletes multiple products in a single request.
|
|
1912
|
-
# method can only be called for non-multi-client accounts.
|
|
1899
|
+
# Retrieves, inserts, and deletes multiple products in a single request.
|
|
1913
1900
|
# @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
|
|
1914
1901
|
# @param [Boolean] dry_run
|
|
1915
1902
|
# Flag to run the request in dry-run mode.
|
|
@@ -1947,12 +1934,12 @@ module Google
|
|
|
1947
1934
|
execute_or_queue_command(command, &block)
|
|
1948
1935
|
end
|
|
1949
1936
|
|
|
1950
|
-
# Deletes a product from your Merchant Center account.
|
|
1951
|
-
# called for non-multi-client accounts.
|
|
1937
|
+
# Deletes a product from your Merchant Center account.
|
|
1952
1938
|
# @param [Fixnum] merchant_id
|
|
1953
|
-
# The ID of the
|
|
1939
|
+
# The ID of the account that contains the product. This account cannot be a
|
|
1940
|
+
# multi-client account.
|
|
1954
1941
|
# @param [String] product_id
|
|
1955
|
-
# The
|
|
1942
|
+
# The REST id of the product.
|
|
1956
1943
|
# @param [Boolean] dry_run
|
|
1957
1944
|
# Flag to run the request in dry-run mode.
|
|
1958
1945
|
# @param [String] fields
|
|
@@ -1987,12 +1974,12 @@ module Google
|
|
|
1987
1974
|
execute_or_queue_command(command, &block)
|
|
1988
1975
|
end
|
|
1989
1976
|
|
|
1990
|
-
# Retrieves a product from your Merchant Center account.
|
|
1991
|
-
# called for non-multi-client accounts.
|
|
1977
|
+
# Retrieves a product from your Merchant Center account.
|
|
1992
1978
|
# @param [Fixnum] merchant_id
|
|
1993
|
-
# The ID of the
|
|
1979
|
+
# The ID of the account that contains the product. This account cannot be a
|
|
1980
|
+
# multi-client account.
|
|
1994
1981
|
# @param [String] product_id
|
|
1995
|
-
# The
|
|
1982
|
+
# The REST id of the product.
|
|
1996
1983
|
# @param [String] fields
|
|
1997
1984
|
# Selector specifying which fields to include in a partial response.
|
|
1998
1985
|
# @param [String] quota_user
|
|
@@ -2028,10 +2015,10 @@ module Google
|
|
|
2028
2015
|
|
|
2029
2016
|
# Uploads a product to your Merchant Center account. If an item with the same
|
|
2030
2017
|
# channel, contentLanguage, offerId, and targetCountry already exists, this
|
|
2031
|
-
# method updates that entry.
|
|
2032
|
-
# accounts.
|
|
2018
|
+
# method updates that entry.
|
|
2033
2019
|
# @param [Fixnum] merchant_id
|
|
2034
|
-
# The ID of the
|
|
2020
|
+
# The ID of the account that contains the product. This account cannot be a
|
|
2021
|
+
# multi-client account.
|
|
2035
2022
|
# @param [Google::Apis::ContentV2::Product] product_object
|
|
2036
2023
|
# @param [Boolean] dry_run
|
|
2037
2024
|
# Flag to run the request in dry-run mode.
|
|
@@ -2070,10 +2057,10 @@ module Google
|
|
|
2070
2057
|
execute_or_queue_command(command, &block)
|
|
2071
2058
|
end
|
|
2072
2059
|
|
|
2073
|
-
# Lists the products in your Merchant Center account.
|
|
2074
|
-
# called for non-multi-client accounts.
|
|
2060
|
+
# Lists the products in your Merchant Center account.
|
|
2075
2061
|
# @param [Fixnum] merchant_id
|
|
2076
|
-
# The ID of the
|
|
2062
|
+
# The ID of the account that contains the products. This account cannot be a
|
|
2063
|
+
# multi-client account.
|
|
2077
2064
|
# @param [Boolean] include_invalid_inserted_items
|
|
2078
2065
|
# Flag to include the invalid inserted items in the result of the list request.
|
|
2079
2066
|
# By default the invalid items are not shown (the default value is false).
|
|
@@ -2116,8 +2103,7 @@ module Google
|
|
|
2116
2103
|
execute_or_queue_command(command, &block)
|
|
2117
2104
|
end
|
|
2118
2105
|
|
|
2119
|
-
# Gets the statuses of multiple products in a single request.
|
|
2120
|
-
# only be called for non-multi-client accounts.
|
|
2106
|
+
# Gets the statuses of multiple products in a single request.
|
|
2121
2107
|
# @param [Google::Apis::ContentV2::BatchProductStatusesRequest] batch_product_statuses_request_object
|
|
2122
2108
|
# @param [Boolean] include_attributes
|
|
2123
2109
|
# Flag to include full product data in the results of this request. The default
|
|
@@ -2156,12 +2142,12 @@ module Google
|
|
|
2156
2142
|
execute_or_queue_command(command, &block)
|
|
2157
2143
|
end
|
|
2158
2144
|
|
|
2159
|
-
# Gets the status of a product from your Merchant Center account.
|
|
2160
|
-
# can only be called for non-multi-client accounts.
|
|
2145
|
+
# Gets the status of a product from your Merchant Center account.
|
|
2161
2146
|
# @param [Fixnum] merchant_id
|
|
2162
|
-
# The ID of the
|
|
2147
|
+
# The ID of the account that contains the product. This account cannot be a
|
|
2148
|
+
# multi-client account.
|
|
2163
2149
|
# @param [String] product_id
|
|
2164
|
-
# The
|
|
2150
|
+
# The REST id of the product.
|
|
2165
2151
|
# @param [Boolean] include_attributes
|
|
2166
2152
|
# Flag to include full product data in the result of this get request. The
|
|
2167
2153
|
# default value is false.
|
|
@@ -2199,10 +2185,10 @@ module Google
|
|
|
2199
2185
|
execute_or_queue_command(command, &block)
|
|
2200
2186
|
end
|
|
2201
2187
|
|
|
2202
|
-
# Lists the statuses of the products in your Merchant Center account.
|
|
2203
|
-
# method can only be called for non-multi-client accounts.
|
|
2188
|
+
# Lists the statuses of the products in your Merchant Center account.
|
|
2204
2189
|
# @param [Fixnum] merchant_id
|
|
2205
|
-
# The ID of the
|
|
2190
|
+
# The ID of the account that contains the products. This account cannot be a
|
|
2191
|
+
# multi-client account.
|
|
2206
2192
|
# @param [Boolean] include_attributes
|
|
2207
2193
|
# Flag to include full product data in the results of the list request. The
|
|
2208
2194
|
# default value is false.
|
|
@@ -2289,12 +2275,10 @@ module Google
|
|
|
2289
2275
|
execute_or_queue_command(command, &block)
|
|
2290
2276
|
end
|
|
2291
2277
|
|
|
2292
|
-
# Retrieves the shipping settings of the account.
|
|
2293
|
-
# for accounts to which the managing account has access: either the managing
|
|
2294
|
-
# account itself for any Merchant Center account, or any sub-account when the
|
|
2295
|
-
# managing account is a multi-client account.
|
|
2278
|
+
# Retrieves the shipping settings of the account.
|
|
2296
2279
|
# @param [Fixnum] merchant_id
|
|
2297
|
-
# The ID of the managing account.
|
|
2280
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
2281
|
+
# then this parameter must be the same as accountId.
|
|
2298
2282
|
# @param [Fixnum] account_id
|
|
2299
2283
|
# The ID of the account for which to get/update shipping settings.
|
|
2300
2284
|
# @param [String] fields
|
|
@@ -2366,9 +2350,9 @@ module Google
|
|
|
2366
2350
|
end
|
|
2367
2351
|
|
|
2368
2352
|
# Lists the shipping settings of the sub-accounts in your Merchant Center
|
|
2369
|
-
# account.
|
|
2353
|
+
# account.
|
|
2370
2354
|
# @param [Fixnum] merchant_id
|
|
2371
|
-
# The ID of the managing account.
|
|
2355
|
+
# The ID of the managing account. This must be a multi-client account.
|
|
2372
2356
|
# @param [Fixnum] max_results
|
|
2373
2357
|
# The maximum number of shipping settings to return in the response, used for
|
|
2374
2358
|
# paging.
|
|
@@ -2408,13 +2392,11 @@ module Google
|
|
|
2408
2392
|
execute_or_queue_command(command, &block)
|
|
2409
2393
|
end
|
|
2410
2394
|
|
|
2411
|
-
# Updates the shipping settings of the account. This method
|
|
2412
|
-
# for accounts to which the managing account has access: either the managing
|
|
2413
|
-
# account itself for any Merchant Center account, or any sub-account when the
|
|
2414
|
-
# managing account is a multi-client account. This method supports patch
|
|
2395
|
+
# Updates the shipping settings of the account. This method supports patch
|
|
2415
2396
|
# semantics.
|
|
2416
2397
|
# @param [Fixnum] merchant_id
|
|
2417
|
-
# The ID of the managing account.
|
|
2398
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
2399
|
+
# then this parameter must be the same as accountId.
|
|
2418
2400
|
# @param [Fixnum] account_id
|
|
2419
2401
|
# The ID of the account for which to get/update shipping settings.
|
|
2420
2402
|
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
|
|
@@ -2456,12 +2438,10 @@ module Google
|
|
|
2456
2438
|
execute_or_queue_command(command, &block)
|
|
2457
2439
|
end
|
|
2458
2440
|
|
|
2459
|
-
# Updates the shipping settings of the account.
|
|
2460
|
-
# for accounts to which the managing account has access: either the managing
|
|
2461
|
-
# account itself for any Merchant Center account, or any sub-account when the
|
|
2462
|
-
# managing account is a multi-client account.
|
|
2441
|
+
# Updates the shipping settings of the account.
|
|
2463
2442
|
# @param [Fixnum] merchant_id
|
|
2464
|
-
# The ID of the managing account.
|
|
2443
|
+
# The ID of the managing account. If this account is not a multi-client account,
|
|
2444
|
+
# then this parameter must be the same as accountId.
|
|
2465
2445
|
# @param [Fixnum] account_id
|
|
2466
2446
|
# The ID of the account for which to get/update shipping settings.
|
|
2467
2447
|
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
|