google-api-client 0.12.0 → 0.13.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 +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -76,7 +76,7 @@ module Google
|
|
|
76
76
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
77
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
79
|
-
def
|
|
79
|
+
def get_account_authinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
80
80
|
command = make_simple_command(:get, 'accounts/authinfo', options)
|
|
81
81
|
command.response_representation = Google::Apis::ContentV2::AccountsAuthInfoResponse::Representation
|
|
82
82
|
command.response_class = Google::Apis::ContentV2::AccountsAuthInfoResponse
|
|
@@ -131,7 +131,7 @@ module Google
|
|
|
131
131
|
|
|
132
132
|
# Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)
|
|
133
133
|
# accounts in a single request.
|
|
134
|
-
# @param [Google::Apis::ContentV2::
|
|
134
|
+
# @param [Google::Apis::ContentV2::BatchAccountsRequest] batch_accounts_request_object
|
|
135
135
|
# @param [Boolean] dry_run
|
|
136
136
|
# Flag to run the request in dry-run mode.
|
|
137
137
|
# @param [String] fields
|
|
@@ -147,20 +147,20 @@ module Google
|
|
|
147
147
|
# Request-specific options
|
|
148
148
|
#
|
|
149
149
|
# @yield [result, err] Result & error if block supplied
|
|
150
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
150
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchAccountsResponse] parsed result object
|
|
151
151
|
# @yieldparam err [StandardError] error object if request failed
|
|
152
152
|
#
|
|
153
|
-
# @return [Google::Apis::ContentV2::
|
|
153
|
+
# @return [Google::Apis::ContentV2::BatchAccountsResponse]
|
|
154
154
|
#
|
|
155
155
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
156
156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
157
157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
158
|
-
def
|
|
158
|
+
def batch_account(batch_accounts_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
159
159
|
command = make_simple_command(:post, 'accounts/batch', options)
|
|
160
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
161
|
-
command.request_object =
|
|
162
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
163
|
-
command.response_class = Google::Apis::ContentV2::
|
|
160
|
+
command.request_representation = Google::Apis::ContentV2::BatchAccountsRequest::Representation
|
|
161
|
+
command.request_object = batch_accounts_request_object
|
|
162
|
+
command.response_representation = Google::Apis::ContentV2::BatchAccountsResponse::Representation
|
|
163
|
+
command.response_class = Google::Apis::ContentV2::BatchAccountsResponse
|
|
164
164
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
165
165
|
command.query['fields'] = fields unless fields.nil?
|
|
166
166
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -311,18 +311,18 @@ module Google
|
|
|
311
311
|
# Request-specific options
|
|
312
312
|
#
|
|
313
313
|
# @yield [result, err] Result & error if block supplied
|
|
314
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
314
|
+
# @yieldparam result [Google::Apis::ContentV2::ListAccountsResponse] parsed result object
|
|
315
315
|
# @yieldparam err [StandardError] error object if request failed
|
|
316
316
|
#
|
|
317
|
-
# @return [Google::Apis::ContentV2::
|
|
317
|
+
# @return [Google::Apis::ContentV2::ListAccountsResponse]
|
|
318
318
|
#
|
|
319
319
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
320
320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
321
321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
322
322
|
def list_accounts(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
323
323
|
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
|
324
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
325
|
-
command.response_class = Google::Apis::ContentV2::
|
|
324
|
+
command.response_representation = Google::Apis::ContentV2::ListAccountsResponse::Representation
|
|
325
|
+
command.response_class = Google::Apis::ContentV2::ListAccountsResponse
|
|
326
326
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
327
327
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
328
328
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
@@ -426,7 +426,7 @@ module Google
|
|
|
426
426
|
end
|
|
427
427
|
|
|
428
428
|
#
|
|
429
|
-
# @param [Google::Apis::ContentV2::
|
|
429
|
+
# @param [Google::Apis::ContentV2::BatchAccountStatusesRequest] batch_account_statuses_request_object
|
|
430
430
|
# @param [String] fields
|
|
431
431
|
# Selector specifying which fields to include in a partial response.
|
|
432
432
|
# @param [String] quota_user
|
|
@@ -440,20 +440,20 @@ module Google
|
|
|
440
440
|
# Request-specific options
|
|
441
441
|
#
|
|
442
442
|
# @yield [result, err] Result & error if block supplied
|
|
443
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
443
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchAccountStatusesResponse] parsed result object
|
|
444
444
|
# @yieldparam err [StandardError] error object if request failed
|
|
445
445
|
#
|
|
446
|
-
# @return [Google::Apis::ContentV2::
|
|
446
|
+
# @return [Google::Apis::ContentV2::BatchAccountStatusesResponse]
|
|
447
447
|
#
|
|
448
448
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
449
449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
450
450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
451
|
-
def
|
|
451
|
+
def batch_account_status(batch_account_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
452
452
|
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
|
453
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
454
|
-
command.request_object =
|
|
455
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
456
|
-
command.response_class = Google::Apis::ContentV2::
|
|
453
|
+
command.request_representation = Google::Apis::ContentV2::BatchAccountStatusesRequest::Representation
|
|
454
|
+
command.request_object = batch_account_statuses_request_object
|
|
455
|
+
command.response_representation = Google::Apis::ContentV2::BatchAccountStatusesResponse::Representation
|
|
456
|
+
command.response_class = Google::Apis::ContentV2::BatchAccountStatusesResponse
|
|
457
457
|
command.query['fields'] = fields unless fields.nil?
|
|
458
458
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
459
459
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -489,7 +489,7 @@ module Google
|
|
|
489
489
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
490
490
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
491
491
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
492
|
-
def
|
|
492
|
+
def get_account_status(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
493
493
|
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
|
494
494
|
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
|
|
495
495
|
command.response_class = Google::Apis::ContentV2::AccountStatus
|
|
@@ -523,18 +523,18 @@ module Google
|
|
|
523
523
|
# Request-specific options
|
|
524
524
|
#
|
|
525
525
|
# @yield [result, err] Result & error if block supplied
|
|
526
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
526
|
+
# @yieldparam result [Google::Apis::ContentV2::ListAccountStatusesResponse] parsed result object
|
|
527
527
|
# @yieldparam err [StandardError] error object if request failed
|
|
528
528
|
#
|
|
529
|
-
# @return [Google::Apis::ContentV2::
|
|
529
|
+
# @return [Google::Apis::ContentV2::ListAccountStatusesResponse]
|
|
530
530
|
#
|
|
531
531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
532
532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
533
533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
534
|
-
def
|
|
534
|
+
def list_account_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
535
535
|
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
|
536
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
537
|
-
command.response_class = Google::Apis::ContentV2::
|
|
536
|
+
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
|
|
537
|
+
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
|
|
538
538
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
539
539
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
540
540
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
@@ -545,7 +545,7 @@ module Google
|
|
|
545
545
|
end
|
|
546
546
|
|
|
547
547
|
# Retrieves and updates tax settings of multiple accounts in a single request.
|
|
548
|
-
# @param [Google::Apis::ContentV2::
|
|
548
|
+
# @param [Google::Apis::ContentV2::BatchAccountTaxRequest] batch_account_tax_request_object
|
|
549
549
|
# @param [Boolean] dry_run
|
|
550
550
|
# Flag to run the request in dry-run mode.
|
|
551
551
|
# @param [String] fields
|
|
@@ -561,20 +561,20 @@ module Google
|
|
|
561
561
|
# Request-specific options
|
|
562
562
|
#
|
|
563
563
|
# @yield [result, err] Result & error if block supplied
|
|
564
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
564
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchAccountTaxResponse] parsed result object
|
|
565
565
|
# @yieldparam err [StandardError] error object if request failed
|
|
566
566
|
#
|
|
567
|
-
# @return [Google::Apis::ContentV2::
|
|
567
|
+
# @return [Google::Apis::ContentV2::BatchAccountTaxResponse]
|
|
568
568
|
#
|
|
569
569
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
570
570
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
571
571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
572
|
-
def
|
|
572
|
+
def batch_account_tax(batch_account_tax_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
573
573
|
command = make_simple_command(:post, 'accounttax/batch', options)
|
|
574
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
575
|
-
command.request_object =
|
|
576
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
577
|
-
command.response_class = Google::Apis::ContentV2::
|
|
574
|
+
command.request_representation = Google::Apis::ContentV2::BatchAccountTaxRequest::Representation
|
|
575
|
+
command.request_object = batch_account_tax_request_object
|
|
576
|
+
command.response_representation = Google::Apis::ContentV2::BatchAccountTaxResponse::Representation
|
|
577
|
+
command.response_class = Google::Apis::ContentV2::BatchAccountTaxResponse
|
|
578
578
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
579
579
|
command.query['fields'] = fields unless fields.nil?
|
|
580
580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -610,7 +610,7 @@ module Google
|
|
|
610
610
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
611
611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
612
612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
613
|
-
def
|
|
613
|
+
def get_account_tax(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
614
614
|
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
|
615
615
|
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
|
616
616
|
command.response_class = Google::Apis::ContentV2::AccountTax
|
|
@@ -643,18 +643,18 @@ module Google
|
|
|
643
643
|
# Request-specific options
|
|
644
644
|
#
|
|
645
645
|
# @yield [result, err] Result & error if block supplied
|
|
646
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
646
|
+
# @yieldparam result [Google::Apis::ContentV2::ListAccountTaxResponse] parsed result object
|
|
647
647
|
# @yieldparam err [StandardError] error object if request failed
|
|
648
648
|
#
|
|
649
|
-
# @return [Google::Apis::ContentV2::
|
|
649
|
+
# @return [Google::Apis::ContentV2::ListAccountTaxResponse]
|
|
650
650
|
#
|
|
651
651
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
652
652
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
653
653
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
654
|
-
def
|
|
654
|
+
def list_account_taxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
655
655
|
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
|
656
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
657
|
-
command.response_class = Google::Apis::ContentV2::
|
|
656
|
+
command.response_representation = Google::Apis::ContentV2::ListAccountTaxResponse::Representation
|
|
657
|
+
command.response_class = Google::Apis::ContentV2::ListAccountTaxResponse
|
|
658
658
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
659
659
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
660
660
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
@@ -696,7 +696,7 @@ module Google
|
|
|
696
696
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
697
697
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
698
698
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
699
|
-
def
|
|
699
|
+
def patch_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
700
700
|
command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
|
|
701
701
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
|
702
702
|
command.request_object = account_tax_object
|
|
@@ -742,7 +742,7 @@ module Google
|
|
|
742
742
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
743
743
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
744
744
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
745
|
-
def
|
|
745
|
+
def update_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
746
746
|
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
|
747
747
|
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
|
748
748
|
command.request_object = account_tax_object
|
|
@@ -758,7 +758,7 @@ module Google
|
|
|
758
758
|
end
|
|
759
759
|
|
|
760
760
|
#
|
|
761
|
-
# @param [Google::Apis::ContentV2::
|
|
761
|
+
# @param [Google::Apis::ContentV2::BatchDatafeedsRequest] batch_datafeeds_request_object
|
|
762
762
|
# @param [Boolean] dry_run
|
|
763
763
|
# Flag to run the request in dry-run mode.
|
|
764
764
|
# @param [String] fields
|
|
@@ -774,20 +774,20 @@ module Google
|
|
|
774
774
|
# Request-specific options
|
|
775
775
|
#
|
|
776
776
|
# @yield [result, err] Result & error if block supplied
|
|
777
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
777
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchDatafeedsResponse] parsed result object
|
|
778
778
|
# @yieldparam err [StandardError] error object if request failed
|
|
779
779
|
#
|
|
780
|
-
# @return [Google::Apis::ContentV2::
|
|
780
|
+
# @return [Google::Apis::ContentV2::BatchDatafeedsResponse]
|
|
781
781
|
#
|
|
782
782
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
783
783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
784
784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
785
|
-
def
|
|
785
|
+
def batch_datafeed(batch_datafeeds_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
786
786
|
command = make_simple_command(:post, 'datafeeds/batch', options)
|
|
787
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
788
|
-
command.request_object =
|
|
789
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
790
|
-
command.response_class = Google::Apis::ContentV2::
|
|
787
|
+
command.request_representation = Google::Apis::ContentV2::BatchDatafeedsRequest::Representation
|
|
788
|
+
command.request_object = batch_datafeeds_request_object
|
|
789
|
+
command.response_representation = Google::Apis::ContentV2::BatchDatafeedsResponse::Representation
|
|
790
|
+
command.response_class = Google::Apis::ContentV2::BatchDatafeedsResponse
|
|
791
791
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
792
792
|
command.query['fields'] = fields unless fields.nil?
|
|
793
793
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -795,8 +795,8 @@ module Google
|
|
|
795
795
|
execute_or_queue_command(command, &block)
|
|
796
796
|
end
|
|
797
797
|
|
|
798
|
-
# Deletes a datafeed from your Merchant Center account. This
|
|
799
|
-
# called for non-multi-client accounts.
|
|
798
|
+
# Deletes a datafeed configuration from your Merchant Center account. This
|
|
799
|
+
# method can only be called for non-multi-client accounts.
|
|
800
800
|
# @param [Fixnum] merchant_id
|
|
801
801
|
# @param [Fixnum] datafeed_id
|
|
802
802
|
# @param [Boolean] dry_run
|
|
@@ -833,8 +833,8 @@ module Google
|
|
|
833
833
|
execute_or_queue_command(command, &block)
|
|
834
834
|
end
|
|
835
835
|
|
|
836
|
-
# Retrieves a datafeed from your Merchant Center account. This
|
|
837
|
-
# be called for non-multi-client accounts.
|
|
836
|
+
# Retrieves a datafeed configuration from your Merchant Center account. This
|
|
837
|
+
# method can only be called for non-multi-client accounts.
|
|
838
838
|
# @param [Fixnum] merchant_id
|
|
839
839
|
# @param [Fixnum] datafeed_id
|
|
840
840
|
# @param [String] fields
|
|
@@ -870,8 +870,8 @@ module Google
|
|
|
870
870
|
execute_or_queue_command(command, &block)
|
|
871
871
|
end
|
|
872
872
|
|
|
873
|
-
# Registers a datafeed with your Merchant Center account. This
|
|
874
|
-
# be called for non-multi-client accounts.
|
|
873
|
+
# Registers a datafeed configuration with your Merchant Center account. This
|
|
874
|
+
# method can only be called for non-multi-client accounts.
|
|
875
875
|
# @param [Fixnum] merchant_id
|
|
876
876
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
|
877
877
|
# @param [Boolean] dry_run
|
|
@@ -932,18 +932,18 @@ module Google
|
|
|
932
932
|
# Request-specific options
|
|
933
933
|
#
|
|
934
934
|
# @yield [result, err] Result & error if block supplied
|
|
935
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
935
|
+
# @yieldparam result [Google::Apis::ContentV2::ListDatafeedsResponse] parsed result object
|
|
936
936
|
# @yieldparam err [StandardError] error object if request failed
|
|
937
937
|
#
|
|
938
|
-
# @return [Google::Apis::ContentV2::
|
|
938
|
+
# @return [Google::Apis::ContentV2::ListDatafeedsResponse]
|
|
939
939
|
#
|
|
940
940
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
941
941
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
942
942
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
943
943
|
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
944
944
|
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
|
945
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
946
|
-
command.response_class = Google::Apis::ContentV2::
|
|
945
|
+
command.response_representation = Google::Apis::ContentV2::ListDatafeedsResponse::Representation
|
|
946
|
+
command.response_class = Google::Apis::ContentV2::ListDatafeedsResponse
|
|
947
947
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
948
948
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
949
949
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
@@ -953,8 +953,9 @@ module Google
|
|
|
953
953
|
execute_or_queue_command(command, &block)
|
|
954
954
|
end
|
|
955
955
|
|
|
956
|
-
# Updates a datafeed of your Merchant Center account. This method
|
|
957
|
-
# called for non-multi-client accounts. This method supports patch
|
|
956
|
+
# Updates a datafeed configuration of your Merchant Center account. This method
|
|
957
|
+
# can only be called for non-multi-client accounts. This method supports patch
|
|
958
|
+
# semantics.
|
|
958
959
|
# @param [Fixnum] merchant_id
|
|
959
960
|
# @param [Fixnum] datafeed_id
|
|
960
961
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
|
@@ -996,8 +997,8 @@ module Google
|
|
|
996
997
|
execute_or_queue_command(command, &block)
|
|
997
998
|
end
|
|
998
999
|
|
|
999
|
-
# Updates a datafeed of your Merchant Center account. This method
|
|
1000
|
-
# called for non-multi-client accounts.
|
|
1000
|
+
# Updates a datafeed configuration of your Merchant Center account. This method
|
|
1001
|
+
# can only be called for non-multi-client accounts.
|
|
1001
1002
|
# @param [Fixnum] merchant_id
|
|
1002
1003
|
# @param [Fixnum] datafeed_id
|
|
1003
1004
|
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
|
@@ -1040,7 +1041,7 @@ module Google
|
|
|
1040
1041
|
end
|
|
1041
1042
|
|
|
1042
1043
|
#
|
|
1043
|
-
# @param [Google::Apis::ContentV2::
|
|
1044
|
+
# @param [Google::Apis::ContentV2::BatchDatafeedStatusesRequest] batch_datafeed_statuses_request_object
|
|
1044
1045
|
# @param [String] fields
|
|
1045
1046
|
# Selector specifying which fields to include in a partial response.
|
|
1046
1047
|
# @param [String] quota_user
|
|
@@ -1054,20 +1055,20 @@ module Google
|
|
|
1054
1055
|
# Request-specific options
|
|
1055
1056
|
#
|
|
1056
1057
|
# @yield [result, err] Result & error if block supplied
|
|
1057
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
1058
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchDatafeedStatusesResponse] parsed result object
|
|
1058
1059
|
# @yieldparam err [StandardError] error object if request failed
|
|
1059
1060
|
#
|
|
1060
|
-
# @return [Google::Apis::ContentV2::
|
|
1061
|
+
# @return [Google::Apis::ContentV2::BatchDatafeedStatusesResponse]
|
|
1061
1062
|
#
|
|
1062
1063
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1063
1064
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1064
1065
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1065
|
-
def
|
|
1066
|
+
def batch_datafeed_status(batch_datafeed_statuses_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1066
1067
|
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
|
1067
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
1068
|
-
command.request_object =
|
|
1069
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
1070
|
-
command.response_class = Google::Apis::ContentV2::
|
|
1068
|
+
command.request_representation = Google::Apis::ContentV2::BatchDatafeedStatusesRequest::Representation
|
|
1069
|
+
command.request_object = batch_datafeed_statuses_request_object
|
|
1070
|
+
command.response_representation = Google::Apis::ContentV2::BatchDatafeedStatusesResponse::Representation
|
|
1071
|
+
command.response_class = Google::Apis::ContentV2::BatchDatafeedStatusesResponse
|
|
1071
1072
|
command.query['fields'] = fields unless fields.nil?
|
|
1072
1073
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1073
1074
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -1099,7 +1100,7 @@ module Google
|
|
|
1099
1100
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1100
1101
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1101
1102
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1102
|
-
def
|
|
1103
|
+
def get_datafeed_status(merchant_id, datafeed_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1103
1104
|
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
|
1104
1105
|
command.response_representation = Google::Apis::ContentV2::DatafeedStatus::Representation
|
|
1105
1106
|
command.response_class = Google::Apis::ContentV2::DatafeedStatus
|
|
@@ -1132,18 +1133,18 @@ module Google
|
|
|
1132
1133
|
# Request-specific options
|
|
1133
1134
|
#
|
|
1134
1135
|
# @yield [result, err] Result & error if block supplied
|
|
1135
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
1136
|
+
# @yieldparam result [Google::Apis::ContentV2::ListDatafeedStatusesResponse] parsed result object
|
|
1136
1137
|
# @yieldparam err [StandardError] error object if request failed
|
|
1137
1138
|
#
|
|
1138
|
-
# @return [Google::Apis::ContentV2::
|
|
1139
|
+
# @return [Google::Apis::ContentV2::ListDatafeedStatusesResponse]
|
|
1139
1140
|
#
|
|
1140
1141
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1141
1142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1142
1143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1143
|
-
def
|
|
1144
|
+
def list_datafeed_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1144
1145
|
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
|
1145
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
1146
|
-
command.response_class = Google::Apis::ContentV2::
|
|
1146
|
+
command.response_representation = Google::Apis::ContentV2::ListDatafeedStatusesResponse::Representation
|
|
1147
|
+
command.response_class = Google::Apis::ContentV2::ListDatafeedStatusesResponse
|
|
1147
1148
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1148
1149
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
1149
1150
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
@@ -1156,7 +1157,7 @@ module Google
|
|
|
1156
1157
|
# Updates price and availability for multiple products or stores in a single
|
|
1157
1158
|
# request. This operation does not update the expiration date of the products.
|
|
1158
1159
|
# This method can only be called for non-multi-client accounts.
|
|
1159
|
-
# @param [Google::Apis::ContentV2::
|
|
1160
|
+
# @param [Google::Apis::ContentV2::BatchInventoryRequest] batch_inventory_request_object
|
|
1160
1161
|
# @param [Boolean] dry_run
|
|
1161
1162
|
# Flag to run the request in dry-run mode.
|
|
1162
1163
|
# @param [String] fields
|
|
@@ -1172,20 +1173,20 @@ module Google
|
|
|
1172
1173
|
# Request-specific options
|
|
1173
1174
|
#
|
|
1174
1175
|
# @yield [result, err] Result & error if block supplied
|
|
1175
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
1176
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchInventoryResponse] parsed result object
|
|
1176
1177
|
# @yieldparam err [StandardError] error object if request failed
|
|
1177
1178
|
#
|
|
1178
|
-
# @return [Google::Apis::ContentV2::
|
|
1179
|
+
# @return [Google::Apis::ContentV2::BatchInventoryResponse]
|
|
1179
1180
|
#
|
|
1180
1181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1181
1182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1182
1183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1183
|
-
def
|
|
1184
|
+
def batch_inventory(batch_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1184
1185
|
command = make_simple_command(:post, 'inventory/batch', options)
|
|
1185
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
1186
|
-
command.request_object =
|
|
1187
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
1188
|
-
command.response_class = Google::Apis::ContentV2::
|
|
1186
|
+
command.request_representation = Google::Apis::ContentV2::BatchInventoryRequest::Representation
|
|
1187
|
+
command.request_object = batch_inventory_request_object
|
|
1188
|
+
command.response_representation = Google::Apis::ContentV2::BatchInventoryResponse::Representation
|
|
1189
|
+
command.response_class = Google::Apis::ContentV2::BatchInventoryResponse
|
|
1189
1190
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
1190
1191
|
command.query['fields'] = fields unless fields.nil?
|
|
1191
1192
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1203,7 +1204,7 @@ module Google
|
|
|
1203
1204
|
# to update price and availability of an online product.
|
|
1204
1205
|
# @param [String] product_id
|
|
1205
1206
|
# The ID of the product for which to update price and availability.
|
|
1206
|
-
# @param [Google::Apis::ContentV2::
|
|
1207
|
+
# @param [Google::Apis::ContentV2::SetInventoryRequest] set_inventory_request_object
|
|
1207
1208
|
# @param [Boolean] dry_run
|
|
1208
1209
|
# Flag to run the request in dry-run mode.
|
|
1209
1210
|
# @param [String] fields
|
|
@@ -1219,20 +1220,20 @@ module Google
|
|
|
1219
1220
|
# Request-specific options
|
|
1220
1221
|
#
|
|
1221
1222
|
# @yield [result, err] Result & error if block supplied
|
|
1222
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
1223
|
+
# @yieldparam result [Google::Apis::ContentV2::SetInventoryResponse] parsed result object
|
|
1223
1224
|
# @yieldparam err [StandardError] error object if request failed
|
|
1224
1225
|
#
|
|
1225
|
-
# @return [Google::Apis::ContentV2::
|
|
1226
|
+
# @return [Google::Apis::ContentV2::SetInventoryResponse]
|
|
1226
1227
|
#
|
|
1227
1228
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1228
1229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1229
1230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1230
|
-
def set_inventory(merchant_id, store_code, product_id,
|
|
1231
|
+
def set_inventory(merchant_id, store_code, product_id, set_inventory_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1231
1232
|
command = make_simple_command(:post, '{merchantId}/inventory/{storeCode}/products/{productId}', options)
|
|
1232
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
1233
|
-
command.request_object =
|
|
1234
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
1235
|
-
command.response_class = Google::Apis::ContentV2::
|
|
1233
|
+
command.request_representation = Google::Apis::ContentV2::SetInventoryRequest::Representation
|
|
1234
|
+
command.request_object = set_inventory_request_object
|
|
1235
|
+
command.response_representation = Google::Apis::ContentV2::SetInventoryResponse::Representation
|
|
1236
|
+
command.response_class = Google::Apis::ContentV2::SetInventoryResponse
|
|
1236
1237
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1237
1238
|
command.params['storeCode'] = store_code unless store_code.nil?
|
|
1238
1239
|
command.params['productId'] = product_id unless product_id.nil?
|
|
@@ -1312,7 +1313,7 @@ module Google
|
|
|
1312
1313
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1313
1314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1314
1315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1315
|
-
def
|
|
1316
|
+
def advance_test_order(merchant_id, order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1316
1317
|
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
|
1317
1318
|
command.response_representation = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse::Representation
|
|
1318
1319
|
command.response_class = Google::Apis::ContentV2::OrdersAdvanceTestOrderResponse
|
|
@@ -1394,7 +1395,7 @@ module Google
|
|
|
1394
1395
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1395
1396
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1396
1397
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1397
|
-
def
|
|
1398
|
+
def cancel_order_line_item(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1398
1399
|
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
|
1399
1400
|
command.request_representation = Google::Apis::ContentV2::OrdersCancelLineItemRequest::Representation
|
|
1400
1401
|
command.request_object = orders_cancel_line_item_request_object
|
|
@@ -1434,7 +1435,7 @@ module Google
|
|
|
1434
1435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1435
1436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1436
1437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1437
|
-
def
|
|
1438
|
+
def create_test_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1438
1439
|
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
|
1439
1440
|
command.request_representation = Google::Apis::ContentV2::OrdersCreateTestOrderRequest::Representation
|
|
1440
1441
|
command.request_object = orders_create_test_order_request_object
|
|
@@ -1471,7 +1472,7 @@ module Google
|
|
|
1471
1472
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1472
1473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1473
1474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1474
|
-
def
|
|
1475
|
+
def custom_order_batch(orders_custom_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1475
1476
|
command = make_simple_command(:post, 'orders/batch', options)
|
|
1476
1477
|
command.request_representation = Google::Apis::ContentV2::OrdersCustomBatchRequest::Representation
|
|
1477
1478
|
command.request_object = orders_custom_batch_request_object
|
|
@@ -1549,7 +1550,7 @@ module Google
|
|
|
1549
1550
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1550
1551
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1551
1552
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1552
|
-
def
|
|
1553
|
+
def get_order_by_merchant_order_id(merchant_id, merchant_order_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1553
1554
|
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
|
1554
1555
|
command.response_representation = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse::Representation
|
|
1555
1556
|
command.response_class = Google::Apis::ContentV2::OrdersGetByMerchantOrderIdResponse
|
|
@@ -1589,7 +1590,7 @@ module Google
|
|
|
1589
1590
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1590
1591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1591
1592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1592
|
-
def
|
|
1593
|
+
def get_test_order_template(merchant_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1593
1594
|
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
|
1594
1595
|
command.response_representation = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse::Representation
|
|
1595
1596
|
command.response_class = Google::Apis::ContentV2::OrdersGetTestOrderTemplateResponse
|
|
@@ -1745,7 +1746,7 @@ module Google
|
|
|
1745
1746
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1746
1747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1747
1748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1748
|
-
def
|
|
1749
|
+
def return_order_line_item(merchant_id, order_id, orders_return_line_item_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1749
1750
|
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnLineItem', options)
|
|
1750
1751
|
command.request_representation = Google::Apis::ContentV2::OrdersReturnLineItemRequest::Representation
|
|
1751
1752
|
command.request_object = orders_return_line_item_request_object
|
|
@@ -1829,7 +1830,7 @@ module Google
|
|
|
1829
1830
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1830
1831
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1831
1832
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1832
|
-
def
|
|
1833
|
+
def update_merchant_order_id(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1833
1834
|
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
|
1834
1835
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateMerchantOrderIdRequest::Representation
|
|
1835
1836
|
command.request_object = orders_update_merchant_order_id_request_object
|
|
@@ -1871,7 +1872,7 @@ module Google
|
|
|
1871
1872
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1872
1873
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1873
1874
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1874
|
-
def
|
|
1875
|
+
def update_order_shipment(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1875
1876
|
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
|
1876
1877
|
command.request_representation = Google::Apis::ContentV2::OrdersUpdateShipmentRequest::Representation
|
|
1877
1878
|
command.request_object = orders_update_shipment_request_object
|
|
@@ -1887,7 +1888,7 @@ module Google
|
|
|
1887
1888
|
|
|
1888
1889
|
# Retrieves, inserts, and deletes multiple products in a single request. This
|
|
1889
1890
|
# method can only be called for non-multi-client accounts.
|
|
1890
|
-
# @param [Google::Apis::ContentV2::
|
|
1891
|
+
# @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object
|
|
1891
1892
|
# @param [Boolean] dry_run
|
|
1892
1893
|
# Flag to run the request in dry-run mode.
|
|
1893
1894
|
# @param [String] fields
|
|
@@ -1903,20 +1904,20 @@ module Google
|
|
|
1903
1904
|
# Request-specific options
|
|
1904
1905
|
#
|
|
1905
1906
|
# @yield [result, err] Result & error if block supplied
|
|
1906
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
1907
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchProductsResponse] parsed result object
|
|
1907
1908
|
# @yieldparam err [StandardError] error object if request failed
|
|
1908
1909
|
#
|
|
1909
|
-
# @return [Google::Apis::ContentV2::
|
|
1910
|
+
# @return [Google::Apis::ContentV2::BatchProductsResponse]
|
|
1910
1911
|
#
|
|
1911
1912
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1912
1913
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1913
1914
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1914
|
-
def
|
|
1915
|
+
def batch_product(batch_products_request_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1915
1916
|
command = make_simple_command(:post, 'products/batch', options)
|
|
1916
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
1917
|
-
command.request_object =
|
|
1918
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
1919
|
-
command.response_class = Google::Apis::ContentV2::
|
|
1917
|
+
command.request_representation = Google::Apis::ContentV2::BatchProductsRequest::Representation
|
|
1918
|
+
command.request_object = batch_products_request_object
|
|
1919
|
+
command.response_representation = Google::Apis::ContentV2::BatchProductsResponse::Representation
|
|
1920
|
+
command.response_class = Google::Apis::ContentV2::BatchProductsResponse
|
|
1920
1921
|
command.query['dryRun'] = dry_run unless dry_run.nil?
|
|
1921
1922
|
command.query['fields'] = fields unless fields.nil?
|
|
1922
1923
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -2071,18 +2072,18 @@ module Google
|
|
|
2071
2072
|
# Request-specific options
|
|
2072
2073
|
#
|
|
2073
2074
|
# @yield [result, err] Result & error if block supplied
|
|
2074
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
2075
|
+
# @yieldparam result [Google::Apis::ContentV2::ListProductsResponse] parsed result object
|
|
2075
2076
|
# @yieldparam err [StandardError] error object if request failed
|
|
2076
2077
|
#
|
|
2077
|
-
# @return [Google::Apis::ContentV2::
|
|
2078
|
+
# @return [Google::Apis::ContentV2::ListProductsResponse]
|
|
2078
2079
|
#
|
|
2079
2080
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2080
2081
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2081
2082
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2082
2083
|
def list_products(merchant_id, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2083
2084
|
command = make_simple_command(:get, '{merchantId}/products', options)
|
|
2084
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
2085
|
-
command.response_class = Google::Apis::ContentV2::
|
|
2085
|
+
command.response_representation = Google::Apis::ContentV2::ListProductsResponse::Representation
|
|
2086
|
+
command.response_class = Google::Apis::ContentV2::ListProductsResponse
|
|
2086
2087
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2087
2088
|
command.query['includeInvalidInsertedItems'] = include_invalid_inserted_items unless include_invalid_inserted_items.nil?
|
|
2088
2089
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -2095,7 +2096,7 @@ module Google
|
|
|
2095
2096
|
|
|
2096
2097
|
# Gets the statuses of multiple products in a single request. This method can
|
|
2097
2098
|
# only be called for non-multi-client accounts.
|
|
2098
|
-
# @param [Google::Apis::ContentV2::
|
|
2099
|
+
# @param [Google::Apis::ContentV2::BatchProductStatusesRequest] batch_product_statuses_request_object
|
|
2099
2100
|
# @param [Boolean] include_attributes
|
|
2100
2101
|
# Flag to include full product data in the results of this request. The default
|
|
2101
2102
|
# value is false.
|
|
@@ -2112,20 +2113,20 @@ module Google
|
|
|
2112
2113
|
# Request-specific options
|
|
2113
2114
|
#
|
|
2114
2115
|
# @yield [result, err] Result & error if block supplied
|
|
2115
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
2116
|
+
# @yieldparam result [Google::Apis::ContentV2::BatchProductStatusesResponse] parsed result object
|
|
2116
2117
|
# @yieldparam err [StandardError] error object if request failed
|
|
2117
2118
|
#
|
|
2118
|
-
# @return [Google::Apis::ContentV2::
|
|
2119
|
+
# @return [Google::Apis::ContentV2::BatchProductStatusesResponse]
|
|
2119
2120
|
#
|
|
2120
2121
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2121
2122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2122
2123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2123
|
-
def
|
|
2124
|
+
def batch_product_status(batch_product_statuses_request_object = nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2124
2125
|
command = make_simple_command(:post, 'productstatuses/batch', options)
|
|
2125
|
-
command.request_representation = Google::Apis::ContentV2::
|
|
2126
|
-
command.request_object =
|
|
2127
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
2128
|
-
command.response_class = Google::Apis::ContentV2::
|
|
2126
|
+
command.request_representation = Google::Apis::ContentV2::BatchProductStatusesRequest::Representation
|
|
2127
|
+
command.request_object = batch_product_statuses_request_object
|
|
2128
|
+
command.response_representation = Google::Apis::ContentV2::BatchProductStatusesResponse::Representation
|
|
2129
|
+
command.response_class = Google::Apis::ContentV2::BatchProductStatusesResponse
|
|
2129
2130
|
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
|
|
2130
2131
|
command.query['fields'] = fields unless fields.nil?
|
|
2131
2132
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -2163,7 +2164,7 @@ module Google
|
|
|
2163
2164
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2164
2165
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2165
2166
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2166
|
-
def
|
|
2167
|
+
def get_product_status(merchant_id, product_id, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2167
2168
|
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
|
2168
2169
|
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
|
|
2169
2170
|
command.response_class = Google::Apis::ContentV2::ProductStatus
|
|
@@ -2204,18 +2205,18 @@ module Google
|
|
|
2204
2205
|
# Request-specific options
|
|
2205
2206
|
#
|
|
2206
2207
|
# @yield [result, err] Result & error if block supplied
|
|
2207
|
-
# @yieldparam result [Google::Apis::ContentV2::
|
|
2208
|
+
# @yieldparam result [Google::Apis::ContentV2::ListProductStatusesResponse] parsed result object
|
|
2208
2209
|
# @yieldparam err [StandardError] error object if request failed
|
|
2209
2210
|
#
|
|
2210
|
-
# @return [Google::Apis::ContentV2::
|
|
2211
|
+
# @return [Google::Apis::ContentV2::ListProductStatusesResponse]
|
|
2211
2212
|
#
|
|
2212
2213
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2213
2214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2214
2215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2215
|
-
def
|
|
2216
|
+
def list_product_statuses(merchant_id, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2216
2217
|
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
|
2217
|
-
command.response_representation = Google::Apis::ContentV2::
|
|
2218
|
-
command.response_class = Google::Apis::ContentV2::
|
|
2218
|
+
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
|
|
2219
|
+
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
|
|
2219
2220
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
2220
2221
|
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
|
|
2221
2222
|
command.query['includeInvalidInsertedItems'] = include_invalid_inserted_items unless include_invalid_inserted_items.nil?
|