google-api-client 0.9.1 → 0.9.2
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 +4 -0
- data/README.md +11 -2
- data/api_names.yaml +76 -43
- data/api_names_out.yaml +3853 -3508
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
- data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
- data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
- data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
- data/generated/google/apis/analytics_v3/classes.rb +582 -582
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
- data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
- data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
- data/generated/google/apis/appengine_v1beta5.rb +35 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/classes.rb +12 -12
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +266 -265
- data/generated/google/apis/blogger_v3/classes.rb +145 -145
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +431 -431
- data/generated/google/apis/books_v1/service.rb +3 -12
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +180 -180
- data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
- data/generated/google/apis/classroom_v1/classes.rb +42 -42
- data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
- data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
- data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
- data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1051 -998
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +426 -366
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1332 -946
- data/generated/google/apis/compute_v1/representations.rb +108 -0
- data/generated/google/apis/compute_v1/service.rb +686 -318
- data/generated/google/apis/container_v1/classes.rb +43 -43
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +767 -639
- data/generated/google/apis/content_v2/representations.rb +40 -0
- data/generated/google/apis/coordinate_v1/classes.rb +66 -66
- data/generated/google/apis/customsearch_v1/classes.rb +96 -96
- data/generated/google/apis/dataproc_v1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +175 -0
- data/generated/google/apis/dataproc_v1/representations.rb +84 -0
- data/generated/google/apis/dataproc_v1/service.rb +142 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
- data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
- data/generated/google/apis/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- data/generated/google/apis/discovery_v1/classes.rb +106 -106
- data/generated/google/apis/dns_v1/classes.rb +39 -39
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +308 -308
- data/generated/google/apis/drive_v2/service.rb +44 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +178 -178
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/fitness_v1/classes.rb +74 -74
- data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_management_v1management/classes.rb +55 -46
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/games_v1/classes.rb +484 -475
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +441 -232
- data/generated/google/apis/genomics_v1/representations.rb +85 -0
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +73 -73
- data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +11 -11
- data/generated/google/apis/logging_v2beta1.rb +47 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
- data/generated/google/apis/logging_v2beta1/service.rb +547 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
- data/generated/google/apis/mirror_v1/classes.rb +101 -101
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/classes.rb +27 -27
- data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
- data/generated/google/apis/partners_v2/classes.rb +87 -87
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1594 -0
- data/generated/google/apis/people_v1/representations.rb +593 -0
- data/generated/google/apis/people_v1/service.rb +193 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/classes.rb +215 -215
- data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
- data/generated/google/apis/pubsub_v1/classes.rb +36 -36
- data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
- data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +55 -55
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
- data/generated/google/apis/script_v1/classes.rb +18 -18
- data/generated/google/apis/site_verification_v1/classes.rb +12 -12
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +130 -130
- data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
- data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
- data/generated/google/apis/tasks_v1/classes.rb +32 -32
- data/generated/google/apis/translate_v2/classes.rb +10 -10
- data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
- data/generated/google/apis/webmasters_v3/classes.rb +49 -49
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +882 -895
- data/generated/google/apis/youtube_v3/representations.rb +2 -13
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/upload.rb +1 -1
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/base_cli.rb +2 -1
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/script/generate +17 -13
- metadata +35 -6
- data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
- data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
- data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
|
@@ -37,7 +37,7 @@ module Google
|
|
|
37
37
|
|
|
38
38
|
# Update properties of this object
|
|
39
39
|
def update!(**args)
|
|
40
|
-
@clusters = args[:clusters]
|
|
40
|
+
@clusters = args[:clusters] if args.key?(:clusters)
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
@@ -188,27 +188,27 @@ module Google
|
|
|
188
188
|
|
|
189
189
|
# Update properties of this object
|
|
190
190
|
def update!(**args)
|
|
191
|
-
@name = args[:name]
|
|
192
|
-
@description = args[:description]
|
|
193
|
-
@initial_node_count = args[:initial_node_count]
|
|
194
|
-
@node_config = args[:node_config]
|
|
195
|
-
@master_auth = args[:master_auth]
|
|
196
|
-
@logging_service = args[:logging_service]
|
|
197
|
-
@monitoring_service = args[:monitoring_service]
|
|
198
|
-
@network = args[:network]
|
|
199
|
-
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr]
|
|
200
|
-
@self_link = args[:self_link]
|
|
201
|
-
@zone = args[:zone]
|
|
202
|
-
@endpoint = args[:endpoint]
|
|
203
|
-
@initial_cluster_version = args[:initial_cluster_version]
|
|
204
|
-
@current_master_version = args[:current_master_version]
|
|
205
|
-
@current_node_version = args[:current_node_version]
|
|
206
|
-
@create_time = args[:create_time]
|
|
207
|
-
@status = args[:status]
|
|
208
|
-
@status_message = args[:status_message]
|
|
209
|
-
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size]
|
|
210
|
-
@services_ipv4_cidr = args[:services_ipv4_cidr]
|
|
211
|
-
@instance_group_urls = args[:instance_group_urls]
|
|
191
|
+
@name = args[:name] if args.key?(:name)
|
|
192
|
+
@description = args[:description] if args.key?(:description)
|
|
193
|
+
@initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
|
|
194
|
+
@node_config = args[:node_config] if args.key?(:node_config)
|
|
195
|
+
@master_auth = args[:master_auth] if args.key?(:master_auth)
|
|
196
|
+
@logging_service = args[:logging_service] if args.key?(:logging_service)
|
|
197
|
+
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
|
|
198
|
+
@network = args[:network] if args.key?(:network)
|
|
199
|
+
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
|
200
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
201
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
202
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
|
203
|
+
@initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
|
|
204
|
+
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
|
205
|
+
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
|
|
206
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
207
|
+
@status = args[:status] if args.key?(:status)
|
|
208
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
209
|
+
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
|
210
|
+
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
|
211
|
+
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
|
212
212
|
end
|
|
213
213
|
end
|
|
214
214
|
|
|
@@ -245,9 +245,9 @@ module Google
|
|
|
245
245
|
|
|
246
246
|
# Update properties of this object
|
|
247
247
|
def update!(**args)
|
|
248
|
-
@machine_type = args[:machine_type]
|
|
249
|
-
@disk_size_gb = args[:disk_size_gb]
|
|
250
|
-
@oauth_scopes = args[:oauth_scopes]
|
|
248
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
249
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
|
250
|
+
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
|
251
251
|
end
|
|
252
252
|
end
|
|
253
253
|
|
|
@@ -293,11 +293,11 @@ module Google
|
|
|
293
293
|
|
|
294
294
|
# Update properties of this object
|
|
295
295
|
def update!(**args)
|
|
296
|
-
@username = args[:username]
|
|
297
|
-
@password = args[:password]
|
|
298
|
-
@cluster_ca_certificate = args[:cluster_ca_certificate]
|
|
299
|
-
@client_certificate = args[:client_certificate]
|
|
300
|
-
@client_key = args[:client_key]
|
|
296
|
+
@username = args[:username] if args.key?(:username)
|
|
297
|
+
@password = args[:password] if args.key?(:password)
|
|
298
|
+
@cluster_ca_certificate = args[:cluster_ca_certificate] if args.key?(:cluster_ca_certificate)
|
|
299
|
+
@client_certificate = args[:client_certificate] if args.key?(:client_certificate)
|
|
300
|
+
@client_key = args[:client_key] if args.key?(:client_key)
|
|
301
301
|
end
|
|
302
302
|
end
|
|
303
303
|
|
|
@@ -316,7 +316,7 @@ module Google
|
|
|
316
316
|
|
|
317
317
|
# Update properties of this object
|
|
318
318
|
def update!(**args)
|
|
319
|
-
@cluster = args[:cluster]
|
|
319
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
|
320
320
|
end
|
|
321
321
|
end
|
|
322
322
|
|
|
@@ -366,13 +366,13 @@ module Google
|
|
|
366
366
|
|
|
367
367
|
# Update properties of this object
|
|
368
368
|
def update!(**args)
|
|
369
|
-
@name = args[:name]
|
|
370
|
-
@zone = args[:zone]
|
|
371
|
-
@operation_type = args[:operation_type]
|
|
372
|
-
@status = args[:status]
|
|
373
|
-
@status_message = args[:status_message]
|
|
374
|
-
@self_link = args[:self_link]
|
|
375
|
-
@target_link = args[:target_link]
|
|
369
|
+
@name = args[:name] if args.key?(:name)
|
|
370
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
371
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
372
|
+
@status = args[:status] if args.key?(:status)
|
|
373
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
374
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
375
|
+
@target_link = args[:target_link] if args.key?(:target_link)
|
|
376
376
|
end
|
|
377
377
|
end
|
|
378
378
|
|
|
@@ -391,7 +391,7 @@ module Google
|
|
|
391
391
|
|
|
392
392
|
# Update properties of this object
|
|
393
393
|
def update!(**args)
|
|
394
|
-
@update = args[:update]
|
|
394
|
+
@update = args[:update] if args.key?(:update)
|
|
395
395
|
end
|
|
396
396
|
end
|
|
397
397
|
|
|
@@ -411,7 +411,7 @@ module Google
|
|
|
411
411
|
|
|
412
412
|
# Update properties of this object
|
|
413
413
|
def update!(**args)
|
|
414
|
-
@desired_node_version = args[:desired_node_version]
|
|
414
|
+
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
|
415
415
|
end
|
|
416
416
|
end
|
|
417
417
|
|
|
@@ -430,7 +430,7 @@ module Google
|
|
|
430
430
|
|
|
431
431
|
# Update properties of this object
|
|
432
432
|
def update!(**args)
|
|
433
|
-
@operations = args[:operations]
|
|
433
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
434
434
|
end
|
|
435
435
|
end
|
|
436
436
|
|
|
@@ -454,8 +454,8 @@ module Google
|
|
|
454
454
|
|
|
455
455
|
# Update properties of this object
|
|
456
456
|
def update!(**args)
|
|
457
|
-
@default_cluster_version = args[:default_cluster_version]
|
|
458
|
-
@valid_node_versions = args[:valid_node_versions]
|
|
457
|
+
@default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version)
|
|
458
|
+
@valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions)
|
|
459
459
|
end
|
|
460
460
|
end
|
|
461
461
|
end
|
|
@@ -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 = '20160204'
|
|
30
30
|
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
|
@@ -83,15 +83,15 @@ module Google
|
|
|
83
83
|
|
|
84
84
|
# Update properties of this object
|
|
85
85
|
def update!(**args)
|
|
86
|
-
@adult_content = args[:adult_content]
|
|
87
|
-
@adwords_links = args[:adwords_links]
|
|
88
|
-
@id = args[:id]
|
|
89
|
-
@kind = args[:kind]
|
|
90
|
-
@name = args[:name]
|
|
91
|
-
@reviews_url = args[:reviews_url]
|
|
92
|
-
@seller_id = args[:seller_id]
|
|
93
|
-
@users = args[:users]
|
|
94
|
-
@website_url = args[:website_url]
|
|
86
|
+
@adult_content = args[:adult_content] if args.key?(:adult_content)
|
|
87
|
+
@adwords_links = args[:adwords_links] if args.key?(:adwords_links)
|
|
88
|
+
@id = args[:id] if args.key?(:id)
|
|
89
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
90
|
+
@name = args[:name] if args.key?(:name)
|
|
91
|
+
@reviews_url = args[:reviews_url] if args.key?(:reviews_url)
|
|
92
|
+
@seller_id = args[:seller_id] if args.key?(:seller_id)
|
|
93
|
+
@users = args[:users] if args.key?(:users)
|
|
94
|
+
@website_url = args[:website_url] if args.key?(:website_url)
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
|
|
@@ -123,8 +123,8 @@ module Google
|
|
|
123
123
|
|
|
124
124
|
# Update properties of this object
|
|
125
125
|
def update!(**args)
|
|
126
|
-
@adwords_id = args[:adwords_id]
|
|
127
|
-
@status = args[:status]
|
|
126
|
+
@adwords_id = args[:adwords_id] if args.key?(:adwords_id)
|
|
127
|
+
@status = args[:status] if args.key?(:status)
|
|
128
128
|
end
|
|
129
129
|
end
|
|
130
130
|
|
|
@@ -149,8 +149,8 @@ module Google
|
|
|
149
149
|
|
|
150
150
|
# Update properties of this object
|
|
151
151
|
def update!(**args)
|
|
152
|
-
@aggregator_id = args[:aggregator_id]
|
|
153
|
-
@merchant_id = args[:merchant_id]
|
|
152
|
+
@aggregator_id = args[:aggregator_id] if args.key?(:aggregator_id)
|
|
153
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
154
154
|
end
|
|
155
155
|
end
|
|
156
156
|
|
|
@@ -195,12 +195,12 @@ module Google
|
|
|
195
195
|
|
|
196
196
|
# Update properties of this object
|
|
197
197
|
def update!(**args)
|
|
198
|
-
@account_id = args[:account_id]
|
|
199
|
-
@carrier_rates = args[:carrier_rates]
|
|
200
|
-
@kind = args[:kind]
|
|
201
|
-
@location_groups = args[:location_groups]
|
|
202
|
-
@rate_tables = args[:rate_tables]
|
|
203
|
-
@services = args[:services]
|
|
198
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
199
|
+
@carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates)
|
|
200
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
201
|
+
@location_groups = args[:location_groups] if args.key?(:location_groups)
|
|
202
|
+
@rate_tables = args[:rate_tables] if args.key?(:rate_tables)
|
|
203
|
+
@services = args[:services] if args.key?(:services)
|
|
204
204
|
end
|
|
205
205
|
end
|
|
206
206
|
|
|
@@ -252,13 +252,13 @@ module Google
|
|
|
252
252
|
|
|
253
253
|
# Update properties of this object
|
|
254
254
|
def update!(**args)
|
|
255
|
-
@carrier = args[:carrier]
|
|
256
|
-
@carrier_service = args[:carrier_service]
|
|
257
|
-
@modifier_flat_rate = args[:modifier_flat_rate]
|
|
258
|
-
@modifier_percent = args[:modifier_percent]
|
|
259
|
-
@name = args[:name]
|
|
260
|
-
@sale_country = args[:sale_country]
|
|
261
|
-
@shipping_origin = args[:shipping_origin]
|
|
255
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
256
|
+
@carrier_service = args[:carrier_service] if args.key?(:carrier_service)
|
|
257
|
+
@modifier_flat_rate = args[:modifier_flat_rate] if args.key?(:modifier_flat_rate)
|
|
258
|
+
@modifier_percent = args[:modifier_percent] if args.key?(:modifier_percent)
|
|
259
|
+
@name = args[:name] if args.key?(:name)
|
|
260
|
+
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
|
261
|
+
@shipping_origin = args[:shipping_origin] if args.key?(:shipping_origin)
|
|
262
262
|
end
|
|
263
263
|
end
|
|
264
264
|
|
|
@@ -314,13 +314,13 @@ module Google
|
|
|
314
314
|
|
|
315
315
|
# Update properties of this object
|
|
316
316
|
def update!(**args)
|
|
317
|
-
@delivery_location_group = args[:delivery_location_group]
|
|
318
|
-
@delivery_location_id = args[:delivery_location_id]
|
|
319
|
-
@delivery_postal_code = args[:delivery_postal_code]
|
|
320
|
-
@delivery_postal_code_range = args[:delivery_postal_code_range]
|
|
321
|
-
@price_max = args[:price_max]
|
|
322
|
-
@shipping_label = args[:shipping_label]
|
|
323
|
-
@weight_max = args[:weight_max]
|
|
317
|
+
@delivery_location_group = args[:delivery_location_group] if args.key?(:delivery_location_group)
|
|
318
|
+
@delivery_location_id = args[:delivery_location_id] if args.key?(:delivery_location_id)
|
|
319
|
+
@delivery_postal_code = args[:delivery_postal_code] if args.key?(:delivery_postal_code)
|
|
320
|
+
@delivery_postal_code_range = args[:delivery_postal_code_range] if args.key?(:delivery_postal_code_range)
|
|
321
|
+
@price_max = args[:price_max] if args.key?(:price_max)
|
|
322
|
+
@shipping_label = args[:shipping_label] if args.key?(:shipping_label)
|
|
323
|
+
@weight_max = args[:weight_max] if args.key?(:weight_max)
|
|
324
324
|
end
|
|
325
325
|
end
|
|
326
326
|
|
|
@@ -363,11 +363,11 @@ module Google
|
|
|
363
363
|
|
|
364
364
|
# Update properties of this object
|
|
365
365
|
def update!(**args)
|
|
366
|
-
@country = args[:country]
|
|
367
|
-
@location_ids = args[:location_ids]
|
|
368
|
-
@name = args[:name]
|
|
369
|
-
@postal_code_ranges = args[:postal_code_ranges]
|
|
370
|
-
@postal_codes = args[:postal_codes]
|
|
366
|
+
@country = args[:country] if args.key?(:country)
|
|
367
|
+
@location_ids = args[:location_ids] if args.key?(:location_ids)
|
|
368
|
+
@name = args[:name] if args.key?(:name)
|
|
369
|
+
@postal_code_ranges = args[:postal_code_ranges] if args.key?(:postal_code_ranges)
|
|
370
|
+
@postal_codes = args[:postal_codes] if args.key?(:postal_codes)
|
|
371
371
|
end
|
|
372
372
|
end
|
|
373
373
|
|
|
@@ -394,8 +394,8 @@ module Google
|
|
|
394
394
|
|
|
395
395
|
# Update properties of this object
|
|
396
396
|
def update!(**args)
|
|
397
|
-
@end = args[:end]
|
|
398
|
-
@start = args[:start]
|
|
397
|
+
@end = args[:end] if args.key?(:end)
|
|
398
|
+
@start = args[:start] if args.key?(:start)
|
|
399
399
|
end
|
|
400
400
|
end
|
|
401
401
|
|
|
@@ -430,9 +430,9 @@ module Google
|
|
|
430
430
|
|
|
431
431
|
# Update properties of this object
|
|
432
432
|
def update!(**args)
|
|
433
|
-
@content = args[:content]
|
|
434
|
-
@name = args[:name]
|
|
435
|
-
@sale_country = args[:sale_country]
|
|
433
|
+
@content = args[:content] if args.key?(:content)
|
|
434
|
+
@name = args[:name] if args.key?(:name)
|
|
435
|
+
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
|
436
436
|
end
|
|
437
437
|
end
|
|
438
438
|
|
|
@@ -460,8 +460,8 @@ module Google
|
|
|
460
460
|
|
|
461
461
|
# Update properties of this object
|
|
462
462
|
def update!(**args)
|
|
463
|
-
@condition = args[:condition]
|
|
464
|
-
@rate = args[:rate]
|
|
463
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
464
|
+
@rate = args[:rate] if args.key?(:rate)
|
|
465
465
|
end
|
|
466
466
|
end
|
|
467
467
|
|
|
@@ -509,11 +509,11 @@ module Google
|
|
|
509
509
|
|
|
510
510
|
# Update properties of this object
|
|
511
511
|
def update!(**args)
|
|
512
|
-
@active = args[:active]
|
|
513
|
-
@calculation_method = args[:calculation_method]
|
|
514
|
-
@cost_rule_tree = args[:cost_rule_tree]
|
|
515
|
-
@name = args[:name]
|
|
516
|
-
@sale_country = args[:sale_country]
|
|
512
|
+
@active = args[:active] if args.key?(:active)
|
|
513
|
+
@calculation_method = args[:calculation_method] if args.key?(:calculation_method)
|
|
514
|
+
@cost_rule_tree = args[:cost_rule_tree] if args.key?(:cost_rule_tree)
|
|
515
|
+
@name = args[:name] if args.key?(:name)
|
|
516
|
+
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
|
517
517
|
end
|
|
518
518
|
end
|
|
519
519
|
|
|
@@ -555,11 +555,11 @@ module Google
|
|
|
555
555
|
|
|
556
556
|
# Update properties of this object
|
|
557
557
|
def update!(**args)
|
|
558
|
-
@carrier_rate = args[:carrier_rate]
|
|
559
|
-
@excluded = args[:excluded]
|
|
560
|
-
@flat_rate = args[:flat_rate]
|
|
561
|
-
@percentage_rate = args[:percentage_rate]
|
|
562
|
-
@rate_table = args[:rate_table]
|
|
558
|
+
@carrier_rate = args[:carrier_rate] if args.key?(:carrier_rate)
|
|
559
|
+
@excluded = args[:excluded] if args.key?(:excluded)
|
|
560
|
+
@flat_rate = args[:flat_rate] if args.key?(:flat_rate)
|
|
561
|
+
@percentage_rate = args[:percentage_rate] if args.key?(:percentage_rate)
|
|
562
|
+
@rate_table = args[:rate_table] if args.key?(:rate_table)
|
|
563
563
|
end
|
|
564
564
|
end
|
|
565
565
|
|
|
@@ -598,9 +598,9 @@ module Google
|
|
|
598
598
|
|
|
599
599
|
# Update properties of this object
|
|
600
600
|
def update!(**args)
|
|
601
|
-
@calculation_method = args[:calculation_method]
|
|
602
|
-
@children = args[:children]
|
|
603
|
-
@condition = args[:condition]
|
|
601
|
+
@calculation_method = args[:calculation_method] if args.key?(:calculation_method)
|
|
602
|
+
@children = args[:children] if args.key?(:children)
|
|
603
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
604
604
|
end
|
|
605
605
|
end
|
|
606
606
|
|
|
@@ -631,9 +631,9 @@ module Google
|
|
|
631
631
|
|
|
632
632
|
# Update properties of this object
|
|
633
633
|
def update!(**args)
|
|
634
|
-
@account_id = args[:account_id]
|
|
635
|
-
@data_quality_issues = args[:data_quality_issues]
|
|
636
|
-
@kind = args[:kind]
|
|
634
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
635
|
+
@data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues)
|
|
636
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
637
637
|
end
|
|
638
638
|
end
|
|
639
639
|
|
|
@@ -687,14 +687,14 @@ module Google
|
|
|
687
687
|
|
|
688
688
|
# Update properties of this object
|
|
689
689
|
def update!(**args)
|
|
690
|
-
@country = args[:country]
|
|
691
|
-
@displayed_value = args[:displayed_value]
|
|
692
|
-
@example_items = args[:example_items]
|
|
693
|
-
@id = args[:id]
|
|
694
|
-
@last_checked = args[:last_checked]
|
|
695
|
-
@num_items = args[:num_items]
|
|
696
|
-
@severity = args[:severity]
|
|
697
|
-
@submitted_value = args[:submitted_value]
|
|
690
|
+
@country = args[:country] if args.key?(:country)
|
|
691
|
+
@displayed_value = args[:displayed_value] if args.key?(:displayed_value)
|
|
692
|
+
@example_items = args[:example_items] if args.key?(:example_items)
|
|
693
|
+
@id = args[:id] if args.key?(:id)
|
|
694
|
+
@last_checked = args[:last_checked] if args.key?(:last_checked)
|
|
695
|
+
@num_items = args[:num_items] if args.key?(:num_items)
|
|
696
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
697
|
+
@submitted_value = args[:submitted_value] if args.key?(:submitted_value)
|
|
698
698
|
end
|
|
699
699
|
end
|
|
700
700
|
|
|
@@ -734,11 +734,11 @@ module Google
|
|
|
734
734
|
|
|
735
735
|
# Update properties of this object
|
|
736
736
|
def update!(**args)
|
|
737
|
-
@item_id = args[:item_id]
|
|
738
|
-
@link = args[:link]
|
|
739
|
-
@submitted_value = args[:submitted_value]
|
|
740
|
-
@title = args[:title]
|
|
741
|
-
@value_on_landing_page = args[:value_on_landing_page]
|
|
737
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
|
738
|
+
@link = args[:link] if args.key?(:link)
|
|
739
|
+
@submitted_value = args[:submitted_value] if args.key?(:submitted_value)
|
|
740
|
+
@title = args[:title] if args.key?(:title)
|
|
741
|
+
@value_on_landing_page = args[:value_on_landing_page] if args.key?(:value_on_landing_page)
|
|
742
742
|
end
|
|
743
743
|
end
|
|
744
744
|
|
|
@@ -769,9 +769,9 @@ module Google
|
|
|
769
769
|
|
|
770
770
|
# Update properties of this object
|
|
771
771
|
def update!(**args)
|
|
772
|
-
@account_id = args[:account_id]
|
|
773
|
-
@kind = args[:kind]
|
|
774
|
-
@rules = args[:rules]
|
|
772
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
773
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
774
|
+
@rules = args[:rules] if args.key?(:rules)
|
|
775
775
|
end
|
|
776
776
|
end
|
|
777
777
|
|
|
@@ -814,11 +814,11 @@ module Google
|
|
|
814
814
|
|
|
815
815
|
# Update properties of this object
|
|
816
816
|
def update!(**args)
|
|
817
|
-
@country = args[:country]
|
|
818
|
-
@location_id = args[:location_id]
|
|
819
|
-
@rate_percent = args[:rate_percent]
|
|
820
|
-
@shipping_taxed = args[:shipping_taxed]
|
|
821
|
-
@use_global_rate = args[:use_global_rate]
|
|
817
|
+
@country = args[:country] if args.key?(:country)
|
|
818
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
819
|
+
@rate_percent = args[:rate_percent] if args.key?(:rate_percent)
|
|
820
|
+
@shipping_taxed = args[:shipping_taxed] if args.key?(:shipping_taxed)
|
|
821
|
+
@use_global_rate = args[:use_global_rate] if args.key?(:use_global_rate)
|
|
822
822
|
end
|
|
823
823
|
end
|
|
824
824
|
|
|
@@ -843,8 +843,8 @@ module Google
|
|
|
843
843
|
|
|
844
844
|
# Update properties of this object
|
|
845
845
|
def update!(**args)
|
|
846
|
-
@admin = args[:admin]
|
|
847
|
-
@email_address = args[:email_address]
|
|
846
|
+
@admin = args[:admin] if args.key?(:admin)
|
|
847
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
|
848
848
|
end
|
|
849
849
|
end
|
|
850
850
|
|
|
@@ -873,8 +873,8 @@ module Google
|
|
|
873
873
|
|
|
874
874
|
# Update properties of this object
|
|
875
875
|
def update!(**args)
|
|
876
|
-
@account_identifiers = args[:account_identifiers]
|
|
877
|
-
@kind = args[:kind]
|
|
876
|
+
@account_identifiers = args[:account_identifiers] if args.key?(:account_identifiers)
|
|
877
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
878
878
|
end
|
|
879
879
|
end
|
|
880
880
|
|
|
@@ -893,7 +893,7 @@ module Google
|
|
|
893
893
|
|
|
894
894
|
# Update properties of this object
|
|
895
895
|
def update!(**args)
|
|
896
|
-
@entries = args[:entries]
|
|
896
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
897
897
|
end
|
|
898
898
|
end
|
|
899
899
|
|
|
@@ -933,11 +933,11 @@ module Google
|
|
|
933
933
|
|
|
934
934
|
# Update properties of this object
|
|
935
935
|
def update!(**args)
|
|
936
|
-
@account = args[:account]
|
|
937
|
-
@account_id = args[:account_id]
|
|
938
|
-
@batch_id = args[:batch_id]
|
|
939
|
-
@merchant_id = args[:merchant_id]
|
|
940
|
-
@request_method = args[:request_method]
|
|
936
|
+
@account = args[:account] if args.key?(:account)
|
|
937
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
938
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
939
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
940
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
941
941
|
end
|
|
942
942
|
end
|
|
943
943
|
|
|
@@ -962,8 +962,8 @@ module Google
|
|
|
962
962
|
|
|
963
963
|
# Update properties of this object
|
|
964
964
|
def update!(**args)
|
|
965
|
-
@entries = args[:entries]
|
|
966
|
-
@kind = args[:kind]
|
|
965
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
966
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
967
967
|
end
|
|
968
968
|
end
|
|
969
969
|
|
|
@@ -998,10 +998,10 @@ module Google
|
|
|
998
998
|
|
|
999
999
|
# Update properties of this object
|
|
1000
1000
|
def update!(**args)
|
|
1001
|
-
@account = args[:account]
|
|
1002
|
-
@batch_id = args[:batch_id]
|
|
1003
|
-
@errors = args[:errors]
|
|
1004
|
-
@kind = args[:kind]
|
|
1001
|
+
@account = args[:account] if args.key?(:account)
|
|
1002
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1003
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1004
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1005
1005
|
end
|
|
1006
1006
|
end
|
|
1007
1007
|
|
|
@@ -1031,9 +1031,9 @@ module Google
|
|
|
1031
1031
|
|
|
1032
1032
|
# Update properties of this object
|
|
1033
1033
|
def update!(**args)
|
|
1034
|
-
@kind = args[:kind]
|
|
1035
|
-
@next_page_token = args[:next_page_token]
|
|
1036
|
-
@resources = args[:resources]
|
|
1034
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1035
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1036
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1037
1037
|
end
|
|
1038
1038
|
end
|
|
1039
1039
|
|
|
@@ -1052,7 +1052,7 @@ module Google
|
|
|
1052
1052
|
|
|
1053
1053
|
# Update properties of this object
|
|
1054
1054
|
def update!(**args)
|
|
1055
|
-
@entries = args[:entries]
|
|
1055
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1056
1056
|
end
|
|
1057
1057
|
end
|
|
1058
1058
|
|
|
@@ -1091,11 +1091,11 @@ module Google
|
|
|
1091
1091
|
|
|
1092
1092
|
# Update properties of this object
|
|
1093
1093
|
def update!(**args)
|
|
1094
|
-
@account_id = args[:account_id]
|
|
1095
|
-
@account_shipping = args[:account_shipping]
|
|
1096
|
-
@batch_id = args[:batch_id]
|
|
1097
|
-
@merchant_id = args[:merchant_id]
|
|
1098
|
-
@request_method = args[:request_method]
|
|
1094
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
1095
|
+
@account_shipping = args[:account_shipping] if args.key?(:account_shipping)
|
|
1096
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1097
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
1098
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1099
1099
|
end
|
|
1100
1100
|
end
|
|
1101
1101
|
|
|
@@ -1120,8 +1120,8 @@ module Google
|
|
|
1120
1120
|
|
|
1121
1121
|
# Update properties of this object
|
|
1122
1122
|
def update!(**args)
|
|
1123
|
-
@entries = args[:entries]
|
|
1124
|
-
@kind = args[:kind]
|
|
1123
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1124
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1125
1125
|
end
|
|
1126
1126
|
end
|
|
1127
1127
|
|
|
@@ -1156,10 +1156,10 @@ module Google
|
|
|
1156
1156
|
|
|
1157
1157
|
# Update properties of this object
|
|
1158
1158
|
def update!(**args)
|
|
1159
|
-
@account_shipping = args[:account_shipping]
|
|
1160
|
-
@batch_id = args[:batch_id]
|
|
1161
|
-
@errors = args[:errors]
|
|
1162
|
-
@kind = args[:kind]
|
|
1159
|
+
@account_shipping = args[:account_shipping] if args.key?(:account_shipping)
|
|
1160
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1161
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1162
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1163
1163
|
end
|
|
1164
1164
|
end
|
|
1165
1165
|
|
|
@@ -1189,9 +1189,9 @@ module Google
|
|
|
1189
1189
|
|
|
1190
1190
|
# Update properties of this object
|
|
1191
1191
|
def update!(**args)
|
|
1192
|
-
@kind = args[:kind]
|
|
1193
|
-
@next_page_token = args[:next_page_token]
|
|
1194
|
-
@resources = args[:resources]
|
|
1192
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1193
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1194
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1195
1195
|
end
|
|
1196
1196
|
end
|
|
1197
1197
|
|
|
@@ -1210,7 +1210,7 @@ module Google
|
|
|
1210
1210
|
|
|
1211
1211
|
# Update properties of this object
|
|
1212
1212
|
def update!(**args)
|
|
1213
|
-
@entries = args[:entries]
|
|
1213
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1214
1214
|
end
|
|
1215
1215
|
end
|
|
1216
1216
|
|
|
@@ -1244,10 +1244,10 @@ module Google
|
|
|
1244
1244
|
|
|
1245
1245
|
# Update properties of this object
|
|
1246
1246
|
def update!(**args)
|
|
1247
|
-
@account_id = args[:account_id]
|
|
1248
|
-
@batch_id = args[:batch_id]
|
|
1249
|
-
@merchant_id = args[:merchant_id]
|
|
1250
|
-
@request_method = args[:request_method]
|
|
1247
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
1248
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1249
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
1250
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1251
1251
|
end
|
|
1252
1252
|
end
|
|
1253
1253
|
|
|
@@ -1272,8 +1272,8 @@ module Google
|
|
|
1272
1272
|
|
|
1273
1273
|
# Update properties of this object
|
|
1274
1274
|
def update!(**args)
|
|
1275
|
-
@entries = args[:entries]
|
|
1276
|
-
@kind = args[:kind]
|
|
1275
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1276
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1277
1277
|
end
|
|
1278
1278
|
end
|
|
1279
1279
|
|
|
@@ -1303,9 +1303,9 @@ module Google
|
|
|
1303
1303
|
|
|
1304
1304
|
# Update properties of this object
|
|
1305
1305
|
def update!(**args)
|
|
1306
|
-
@account_status = args[:account_status]
|
|
1307
|
-
@batch_id = args[:batch_id]
|
|
1308
|
-
@errors = args[:errors]
|
|
1306
|
+
@account_status = args[:account_status] if args.key?(:account_status)
|
|
1307
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1308
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1309
1309
|
end
|
|
1310
1310
|
end
|
|
1311
1311
|
|
|
@@ -1335,9 +1335,9 @@ module Google
|
|
|
1335
1335
|
|
|
1336
1336
|
# Update properties of this object
|
|
1337
1337
|
def update!(**args)
|
|
1338
|
-
@kind = args[:kind]
|
|
1339
|
-
@next_page_token = args[:next_page_token]
|
|
1340
|
-
@resources = args[:resources]
|
|
1338
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1339
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1340
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1341
1341
|
end
|
|
1342
1342
|
end
|
|
1343
1343
|
|
|
@@ -1356,7 +1356,7 @@ module Google
|
|
|
1356
1356
|
|
|
1357
1357
|
# Update properties of this object
|
|
1358
1358
|
def update!(**args)
|
|
1359
|
-
@entries = args[:entries]
|
|
1359
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1360
1360
|
end
|
|
1361
1361
|
end
|
|
1362
1362
|
|
|
@@ -1395,11 +1395,11 @@ module Google
|
|
|
1395
1395
|
|
|
1396
1396
|
# Update properties of this object
|
|
1397
1397
|
def update!(**args)
|
|
1398
|
-
@account_id = args[:account_id]
|
|
1399
|
-
@account_tax = args[:account_tax]
|
|
1400
|
-
@batch_id = args[:batch_id]
|
|
1401
|
-
@merchant_id = args[:merchant_id]
|
|
1402
|
-
@request_method = args[:request_method]
|
|
1398
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
1399
|
+
@account_tax = args[:account_tax] if args.key?(:account_tax)
|
|
1400
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1401
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
1402
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1403
1403
|
end
|
|
1404
1404
|
end
|
|
1405
1405
|
|
|
@@ -1424,8 +1424,8 @@ module Google
|
|
|
1424
1424
|
|
|
1425
1425
|
# Update properties of this object
|
|
1426
1426
|
def update!(**args)
|
|
1427
|
-
@entries = args[:entries]
|
|
1428
|
-
@kind = args[:kind]
|
|
1427
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1428
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1429
1429
|
end
|
|
1430
1430
|
end
|
|
1431
1431
|
|
|
@@ -1460,10 +1460,10 @@ module Google
|
|
|
1460
1460
|
|
|
1461
1461
|
# Update properties of this object
|
|
1462
1462
|
def update!(**args)
|
|
1463
|
-
@account_tax = args[:account_tax]
|
|
1464
|
-
@batch_id = args[:batch_id]
|
|
1465
|
-
@errors = args[:errors]
|
|
1466
|
-
@kind = args[:kind]
|
|
1463
|
+
@account_tax = args[:account_tax] if args.key?(:account_tax)
|
|
1464
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1465
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1466
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1467
1467
|
end
|
|
1468
1468
|
end
|
|
1469
1469
|
|
|
@@ -1493,9 +1493,9 @@ module Google
|
|
|
1493
1493
|
|
|
1494
1494
|
# Update properties of this object
|
|
1495
1495
|
def update!(**args)
|
|
1496
|
-
@kind = args[:kind]
|
|
1497
|
-
@next_page_token = args[:next_page_token]
|
|
1498
|
-
@resources = args[:resources]
|
|
1496
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1497
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1498
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1499
1499
|
end
|
|
1500
1500
|
end
|
|
1501
1501
|
|
|
@@ -1572,17 +1572,17 @@ module Google
|
|
|
1572
1572
|
|
|
1573
1573
|
# Update properties of this object
|
|
1574
1574
|
def update!(**args)
|
|
1575
|
-
@attribute_language = args[:attribute_language]
|
|
1576
|
-
@content_language = args[:content_language]
|
|
1577
|
-
@content_type = args[:content_type]
|
|
1578
|
-
@fetch_schedule = args[:fetch_schedule]
|
|
1579
|
-
@file_name = args[:file_name]
|
|
1580
|
-
@format = args[:format]
|
|
1581
|
-
@id = args[:id]
|
|
1582
|
-
@intended_destinations = args[:intended_destinations]
|
|
1583
|
-
@kind = args[:kind]
|
|
1584
|
-
@name = args[:name]
|
|
1585
|
-
@target_country = args[:target_country]
|
|
1575
|
+
@attribute_language = args[:attribute_language] if args.key?(:attribute_language)
|
|
1576
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
|
1577
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
|
1578
|
+
@fetch_schedule = args[:fetch_schedule] if args.key?(:fetch_schedule)
|
|
1579
|
+
@file_name = args[:file_name] if args.key?(:file_name)
|
|
1580
|
+
@format = args[:format] if args.key?(:format)
|
|
1581
|
+
@id = args[:id] if args.key?(:id)
|
|
1582
|
+
@intended_destinations = args[:intended_destinations] if args.key?(:intended_destinations)
|
|
1583
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1584
|
+
@name = args[:name] if args.key?(:name)
|
|
1585
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
|
1586
1586
|
end
|
|
1587
1587
|
end
|
|
1588
1588
|
|
|
@@ -1637,13 +1637,13 @@ module Google
|
|
|
1637
1637
|
|
|
1638
1638
|
# Update properties of this object
|
|
1639
1639
|
def update!(**args)
|
|
1640
|
-
@day_of_month = args[:day_of_month]
|
|
1641
|
-
@fetch_url = args[:fetch_url]
|
|
1642
|
-
@hour = args[:hour]
|
|
1643
|
-
@password = args[:password]
|
|
1644
|
-
@time_zone = args[:time_zone]
|
|
1645
|
-
@username = args[:username]
|
|
1646
|
-
@weekday = args[:weekday]
|
|
1640
|
+
@day_of_month = args[:day_of_month] if args.key?(:day_of_month)
|
|
1641
|
+
@fetch_url = args[:fetch_url] if args.key?(:fetch_url)
|
|
1642
|
+
@hour = args[:hour] if args.key?(:hour)
|
|
1643
|
+
@password = args[:password] if args.key?(:password)
|
|
1644
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
1645
|
+
@username = args[:username] if args.key?(:username)
|
|
1646
|
+
@weekday = args[:weekday] if args.key?(:weekday)
|
|
1647
1647
|
end
|
|
1648
1648
|
end
|
|
1649
1649
|
|
|
@@ -1676,9 +1676,9 @@ module Google
|
|
|
1676
1676
|
|
|
1677
1677
|
# Update properties of this object
|
|
1678
1678
|
def update!(**args)
|
|
1679
|
-
@column_delimiter = args[:column_delimiter]
|
|
1680
|
-
@file_encoding = args[:file_encoding]
|
|
1681
|
-
@quoting_mode = args[:quoting_mode]
|
|
1679
|
+
@column_delimiter = args[:column_delimiter] if args.key?(:column_delimiter)
|
|
1680
|
+
@file_encoding = args[:file_encoding] if args.key?(:file_encoding)
|
|
1681
|
+
@quoting_mode = args[:quoting_mode] if args.key?(:quoting_mode)
|
|
1682
1682
|
end
|
|
1683
1683
|
end
|
|
1684
1684
|
|
|
@@ -1734,14 +1734,14 @@ module Google
|
|
|
1734
1734
|
|
|
1735
1735
|
# Update properties of this object
|
|
1736
1736
|
def update!(**args)
|
|
1737
|
-
@datafeed_id = args[:datafeed_id]
|
|
1738
|
-
@errors = args[:errors]
|
|
1739
|
-
@items_total = args[:items_total]
|
|
1740
|
-
@items_valid = args[:items_valid]
|
|
1741
|
-
@kind = args[:kind]
|
|
1742
|
-
@last_upload_date = args[:last_upload_date]
|
|
1743
|
-
@processing_status = args[:processing_status]
|
|
1744
|
-
@warnings = args[:warnings]
|
|
1737
|
+
@datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id)
|
|
1738
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1739
|
+
@items_total = args[:items_total] if args.key?(:items_total)
|
|
1740
|
+
@items_valid = args[:items_valid] if args.key?(:items_valid)
|
|
1741
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1742
|
+
@last_upload_date = args[:last_upload_date] if args.key?(:last_upload_date)
|
|
1743
|
+
@processing_status = args[:processing_status] if args.key?(:processing_status)
|
|
1744
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
1745
1745
|
end
|
|
1746
1746
|
end
|
|
1747
1747
|
|
|
@@ -1775,10 +1775,10 @@ module Google
|
|
|
1775
1775
|
|
|
1776
1776
|
# Update properties of this object
|
|
1777
1777
|
def update!(**args)
|
|
1778
|
-
@code = args[:code]
|
|
1779
|
-
@count = args[:count]
|
|
1780
|
-
@examples = args[:examples]
|
|
1781
|
-
@message = args[:message]
|
|
1778
|
+
@code = args[:code] if args.key?(:code)
|
|
1779
|
+
@count = args[:count] if args.key?(:count)
|
|
1780
|
+
@examples = args[:examples] if args.key?(:examples)
|
|
1781
|
+
@message = args[:message] if args.key?(:message)
|
|
1782
1782
|
end
|
|
1783
1783
|
end
|
|
1784
1784
|
|
|
@@ -1807,9 +1807,9 @@ module Google
|
|
|
1807
1807
|
|
|
1808
1808
|
# Update properties of this object
|
|
1809
1809
|
def update!(**args)
|
|
1810
|
-
@item_id = args[:item_id]
|
|
1811
|
-
@line_number = args[:line_number]
|
|
1812
|
-
@value = args[:value]
|
|
1810
|
+
@item_id = args[:item_id] if args.key?(:item_id)
|
|
1811
|
+
@line_number = args[:line_number] if args.key?(:line_number)
|
|
1812
|
+
@value = args[:value] if args.key?(:value)
|
|
1813
1813
|
end
|
|
1814
1814
|
end
|
|
1815
1815
|
|
|
@@ -1828,7 +1828,7 @@ module Google
|
|
|
1828
1828
|
|
|
1829
1829
|
# Update properties of this object
|
|
1830
1830
|
def update!(**args)
|
|
1831
|
-
@entries = args[:entries]
|
|
1831
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1832
1832
|
end
|
|
1833
1833
|
end
|
|
1834
1834
|
|
|
@@ -1867,11 +1867,11 @@ module Google
|
|
|
1867
1867
|
|
|
1868
1868
|
# Update properties of this object
|
|
1869
1869
|
def update!(**args)
|
|
1870
|
-
@batch_id = args[:batch_id]
|
|
1871
|
-
@datafeed = args[:datafeed]
|
|
1872
|
-
@datafeed_id = args[:datafeed_id]
|
|
1873
|
-
@merchant_id = args[:merchant_id]
|
|
1874
|
-
@request_method = args[:request_method]
|
|
1870
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1871
|
+
@datafeed = args[:datafeed] if args.key?(:datafeed)
|
|
1872
|
+
@datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id)
|
|
1873
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
1874
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
1875
1875
|
end
|
|
1876
1876
|
end
|
|
1877
1877
|
|
|
@@ -1896,8 +1896,8 @@ module Google
|
|
|
1896
1896
|
|
|
1897
1897
|
# Update properties of this object
|
|
1898
1898
|
def update!(**args)
|
|
1899
|
-
@entries = args[:entries]
|
|
1900
|
-
@kind = args[:kind]
|
|
1899
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1900
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1901
1901
|
end
|
|
1902
1902
|
end
|
|
1903
1903
|
|
|
@@ -1926,9 +1926,9 @@ module Google
|
|
|
1926
1926
|
|
|
1927
1927
|
# Update properties of this object
|
|
1928
1928
|
def update!(**args)
|
|
1929
|
-
@batch_id = args[:batch_id]
|
|
1930
|
-
@datafeed = args[:datafeed]
|
|
1931
|
-
@errors = args[:errors]
|
|
1929
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
1930
|
+
@datafeed = args[:datafeed] if args.key?(:datafeed)
|
|
1931
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1932
1932
|
end
|
|
1933
1933
|
end
|
|
1934
1934
|
|
|
@@ -1958,9 +1958,9 @@ module Google
|
|
|
1958
1958
|
|
|
1959
1959
|
# Update properties of this object
|
|
1960
1960
|
def update!(**args)
|
|
1961
|
-
@kind = args[:kind]
|
|
1962
|
-
@next_page_token = args[:next_page_token]
|
|
1963
|
-
@resources = args[:resources]
|
|
1961
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1962
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1963
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1964
1964
|
end
|
|
1965
1965
|
end
|
|
1966
1966
|
|
|
@@ -1979,7 +1979,7 @@ module Google
|
|
|
1979
1979
|
|
|
1980
1980
|
# Update properties of this object
|
|
1981
1981
|
def update!(**args)
|
|
1982
|
-
@entries = args[:entries]
|
|
1982
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
1983
1983
|
end
|
|
1984
1984
|
end
|
|
1985
1985
|
|
|
@@ -2013,10 +2013,10 @@ module Google
|
|
|
2013
2013
|
|
|
2014
2014
|
# Update properties of this object
|
|
2015
2015
|
def update!(**args)
|
|
2016
|
-
@batch_id = args[:batch_id]
|
|
2017
|
-
@datafeed_id = args[:datafeed_id]
|
|
2018
|
-
@merchant_id = args[:merchant_id]
|
|
2019
|
-
@request_method = args[:request_method]
|
|
2016
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
2017
|
+
@datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id)
|
|
2018
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
2019
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
2020
2020
|
end
|
|
2021
2021
|
end
|
|
2022
2022
|
|
|
@@ -2041,8 +2041,8 @@ module Google
|
|
|
2041
2041
|
|
|
2042
2042
|
# Update properties of this object
|
|
2043
2043
|
def update!(**args)
|
|
2044
|
-
@entries = args[:entries]
|
|
2045
|
-
@kind = args[:kind]
|
|
2044
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
2045
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2046
2046
|
end
|
|
2047
2047
|
end
|
|
2048
2048
|
|
|
@@ -2072,9 +2072,9 @@ module Google
|
|
|
2072
2072
|
|
|
2073
2073
|
# Update properties of this object
|
|
2074
2074
|
def update!(**args)
|
|
2075
|
-
@batch_id = args[:batch_id]
|
|
2076
|
-
@datafeed_status = args[:datafeed_status]
|
|
2077
|
-
@errors = args[:errors]
|
|
2075
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
2076
|
+
@datafeed_status = args[:datafeed_status] if args.key?(:datafeed_status)
|
|
2077
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
2078
2078
|
end
|
|
2079
2079
|
end
|
|
2080
2080
|
|
|
@@ -2104,9 +2104,9 @@ module Google
|
|
|
2104
2104
|
|
|
2105
2105
|
# Update properties of this object
|
|
2106
2106
|
def update!(**args)
|
|
2107
|
-
@kind = args[:kind]
|
|
2108
|
-
@next_page_token = args[:next_page_token]
|
|
2109
|
-
@resources = args[:resources]
|
|
2107
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2108
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2109
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
2110
2110
|
end
|
|
2111
2111
|
end
|
|
2112
2112
|
|
|
@@ -2135,9 +2135,9 @@ module Google
|
|
|
2135
2135
|
|
|
2136
2136
|
# Update properties of this object
|
|
2137
2137
|
def update!(**args)
|
|
2138
|
-
@domain = args[:domain]
|
|
2139
|
-
@message = args[:message]
|
|
2140
|
-
@reason = args[:reason]
|
|
2138
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
2139
|
+
@message = args[:message] if args.key?(:message)
|
|
2140
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
2141
2141
|
end
|
|
2142
2142
|
end
|
|
2143
2143
|
|
|
@@ -2166,9 +2166,9 @@ module Google
|
|
|
2166
2166
|
|
|
2167
2167
|
# Update properties of this object
|
|
2168
2168
|
def update!(**args)
|
|
2169
|
-
@code = args[:code]
|
|
2170
|
-
@errors = args[:errors]
|
|
2171
|
-
@message = args[:message]
|
|
2169
|
+
@code = args[:code] if args.key?(:code)
|
|
2170
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
2171
|
+
@message = args[:message] if args.key?(:message)
|
|
2172
2172
|
end
|
|
2173
2173
|
end
|
|
2174
2174
|
|
|
@@ -2192,8 +2192,8 @@ module Google
|
|
|
2192
2192
|
|
|
2193
2193
|
# Update properties of this object
|
|
2194
2194
|
def update!(**args)
|
|
2195
|
-
@amount = args[:amount]
|
|
2196
|
-
@months = args[:months]
|
|
2195
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
2196
|
+
@months = args[:months] if args.key?(:months)
|
|
2197
2197
|
end
|
|
2198
2198
|
end
|
|
2199
2199
|
|
|
@@ -2257,15 +2257,15 @@ module Google
|
|
|
2257
2257
|
|
|
2258
2258
|
# Update properties of this object
|
|
2259
2259
|
def update!(**args)
|
|
2260
|
-
@availability = args[:availability]
|
|
2261
|
-
@installment = args[:installment]
|
|
2262
|
-
@kind = args[:kind]
|
|
2263
|
-
@loyalty_points = args[:loyalty_points]
|
|
2264
|
-
@price = args[:price]
|
|
2265
|
-
@quantity = args[:quantity]
|
|
2266
|
-
@sale_price = args[:sale_price]
|
|
2267
|
-
@sale_price_effective_date = args[:sale_price_effective_date]
|
|
2268
|
-
@sell_on_google_quantity = args[:sell_on_google_quantity]
|
|
2260
|
+
@availability = args[:availability] if args.key?(:availability)
|
|
2261
|
+
@installment = args[:installment] if args.key?(:installment)
|
|
2262
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2263
|
+
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
|
2264
|
+
@price = args[:price] if args.key?(:price)
|
|
2265
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
2266
|
+
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
|
2267
|
+
@sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
|
|
2268
|
+
@sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity)
|
|
2269
2269
|
end
|
|
2270
2270
|
end
|
|
2271
2271
|
|
|
@@ -2284,7 +2284,7 @@ module Google
|
|
|
2284
2284
|
|
|
2285
2285
|
# Update properties of this object
|
|
2286
2286
|
def update!(**args)
|
|
2287
|
-
@entries = args[:entries]
|
|
2287
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
2288
2288
|
end
|
|
2289
2289
|
end
|
|
2290
2290
|
|
|
@@ -2324,11 +2324,11 @@ module Google
|
|
|
2324
2324
|
|
|
2325
2325
|
# Update properties of this object
|
|
2326
2326
|
def update!(**args)
|
|
2327
|
-
@batch_id = args[:batch_id]
|
|
2328
|
-
@inventory = args[:inventory]
|
|
2329
|
-
@merchant_id = args[:merchant_id]
|
|
2330
|
-
@product_id = args[:product_id]
|
|
2331
|
-
@store_code = args[:store_code]
|
|
2327
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
2328
|
+
@inventory = args[:inventory] if args.key?(:inventory)
|
|
2329
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
2330
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
2331
|
+
@store_code = args[:store_code] if args.key?(:store_code)
|
|
2332
2332
|
end
|
|
2333
2333
|
end
|
|
2334
2334
|
|
|
@@ -2353,8 +2353,8 @@ module Google
|
|
|
2353
2353
|
|
|
2354
2354
|
# Update properties of this object
|
|
2355
2355
|
def update!(**args)
|
|
2356
|
-
@entries = args[:entries]
|
|
2357
|
-
@kind = args[:kind]
|
|
2356
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
2357
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2358
2358
|
end
|
|
2359
2359
|
end
|
|
2360
2360
|
|
|
@@ -2384,9 +2384,9 @@ module Google
|
|
|
2384
2384
|
|
|
2385
2385
|
# Update properties of this object
|
|
2386
2386
|
def update!(**args)
|
|
2387
|
-
@batch_id = args[:batch_id]
|
|
2388
|
-
@errors = args[:errors]
|
|
2389
|
-
@kind = args[:kind]
|
|
2387
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
2388
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
2389
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2390
2390
|
end
|
|
2391
2391
|
end
|
|
2392
2392
|
|
|
@@ -2444,14 +2444,14 @@ module Google
|
|
|
2444
2444
|
|
|
2445
2445
|
# Update properties of this object
|
|
2446
2446
|
def update!(**args)
|
|
2447
|
-
@availability = args[:availability]
|
|
2448
|
-
@installment = args[:installment]
|
|
2449
|
-
@loyalty_points = args[:loyalty_points]
|
|
2450
|
-
@price = args[:price]
|
|
2451
|
-
@quantity = args[:quantity]
|
|
2452
|
-
@sale_price = args[:sale_price]
|
|
2453
|
-
@sale_price_effective_date = args[:sale_price_effective_date]
|
|
2454
|
-
@sell_on_google_quantity = args[:sell_on_google_quantity]
|
|
2447
|
+
@availability = args[:availability] if args.key?(:availability)
|
|
2448
|
+
@installment = args[:installment] if args.key?(:installment)
|
|
2449
|
+
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
|
2450
|
+
@price = args[:price] if args.key?(:price)
|
|
2451
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
2452
|
+
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
|
2453
|
+
@sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
|
|
2454
|
+
@sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity)
|
|
2455
2455
|
end
|
|
2456
2456
|
end
|
|
2457
2457
|
|
|
@@ -2471,7 +2471,7 @@ module Google
|
|
|
2471
2471
|
|
|
2472
2472
|
# Update properties of this object
|
|
2473
2473
|
def update!(**args)
|
|
2474
|
-
@kind = args[:kind]
|
|
2474
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2475
2475
|
end
|
|
2476
2476
|
end
|
|
2477
2477
|
|
|
@@ -2502,9 +2502,9 @@ module Google
|
|
|
2502
2502
|
|
|
2503
2503
|
# Update properties of this object
|
|
2504
2504
|
def update!(**args)
|
|
2505
|
-
@name = args[:name]
|
|
2506
|
-
@points_value = args[:points_value]
|
|
2507
|
-
@ratio = args[:ratio]
|
|
2505
|
+
@name = args[:name] if args.key?(:name)
|
|
2506
|
+
@points_value = args[:points_value] if args.key?(:points_value)
|
|
2507
|
+
@ratio = args[:ratio] if args.key?(:ratio)
|
|
2508
2508
|
end
|
|
2509
2509
|
end
|
|
2510
2510
|
|
|
@@ -2576,6 +2576,12 @@ module Google
|
|
|
2576
2576
|
# @return [String]
|
|
2577
2577
|
attr_accessor :placed_date
|
|
2578
2578
|
|
|
2579
|
+
# The details of the merchant provided promotions applied to the order. More
|
|
2580
|
+
# details about the program are here.
|
|
2581
|
+
# Corresponds to the JSON property `promotions`
|
|
2582
|
+
# @return [Array<Google::Apis::ContentV2::OrderPromotion>]
|
|
2583
|
+
attr_accessor :promotions
|
|
2584
|
+
|
|
2579
2585
|
# Refunds for the order.
|
|
2580
2586
|
# Corresponds to the JSON property `refunds`
|
|
2581
2587
|
# @return [Array<Google::Apis::ContentV2::OrderRefund>]
|
|
@@ -2612,24 +2618,25 @@ module Google
|
|
|
2612
2618
|
|
|
2613
2619
|
# Update properties of this object
|
|
2614
2620
|
def update!(**args)
|
|
2615
|
-
@acknowledged = args[:acknowledged]
|
|
2616
|
-
@customer = args[:customer]
|
|
2617
|
-
@delivery_details = args[:delivery_details]
|
|
2618
|
-
@id = args[:id]
|
|
2619
|
-
@kind = args[:kind]
|
|
2620
|
-
@line_items = args[:line_items]
|
|
2621
|
-
@merchant_id = args[:merchant_id]
|
|
2622
|
-
@merchant_order_id = args[:merchant_order_id]
|
|
2623
|
-
@net_amount = args[:net_amount]
|
|
2624
|
-
@payment_method = args[:payment_method]
|
|
2625
|
-
@payment_status = args[:payment_status]
|
|
2626
|
-
@placed_date = args[:placed_date]
|
|
2627
|
-
@
|
|
2628
|
-
@
|
|
2629
|
-
@
|
|
2630
|
-
@
|
|
2631
|
-
@
|
|
2632
|
-
@
|
|
2621
|
+
@acknowledged = args[:acknowledged] if args.key?(:acknowledged)
|
|
2622
|
+
@customer = args[:customer] if args.key?(:customer)
|
|
2623
|
+
@delivery_details = args[:delivery_details] if args.key?(:delivery_details)
|
|
2624
|
+
@id = args[:id] if args.key?(:id)
|
|
2625
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2626
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
2627
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
2628
|
+
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
|
|
2629
|
+
@net_amount = args[:net_amount] if args.key?(:net_amount)
|
|
2630
|
+
@payment_method = args[:payment_method] if args.key?(:payment_method)
|
|
2631
|
+
@payment_status = args[:payment_status] if args.key?(:payment_status)
|
|
2632
|
+
@placed_date = args[:placed_date] if args.key?(:placed_date)
|
|
2633
|
+
@promotions = args[:promotions] if args.key?(:promotions)
|
|
2634
|
+
@refunds = args[:refunds] if args.key?(:refunds)
|
|
2635
|
+
@shipments = args[:shipments] if args.key?(:shipments)
|
|
2636
|
+
@shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost)
|
|
2637
|
+
@shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax)
|
|
2638
|
+
@shipping_option = args[:shipping_option] if args.key?(:shipping_option)
|
|
2639
|
+
@status = args[:status] if args.key?(:status)
|
|
2633
2640
|
end
|
|
2634
2641
|
end
|
|
2635
2642
|
|
|
@@ -2690,14 +2697,14 @@ module Google
|
|
|
2690
2697
|
|
|
2691
2698
|
# Update properties of this object
|
|
2692
2699
|
def update!(**args)
|
|
2693
|
-
@country = args[:country]
|
|
2694
|
-
@full_address = args[:full_address]
|
|
2695
|
-
@is_post_office_box = args[:is_post_office_box]
|
|
2696
|
-
@locality = args[:locality]
|
|
2697
|
-
@postal_code = args[:postal_code]
|
|
2698
|
-
@recipient_name = args[:recipient_name]
|
|
2699
|
-
@region = args[:region]
|
|
2700
|
-
@street_address = args[:street_address]
|
|
2700
|
+
@country = args[:country] if args.key?(:country)
|
|
2701
|
+
@full_address = args[:full_address] if args.key?(:full_address)
|
|
2702
|
+
@is_post_office_box = args[:is_post_office_box] if args.key?(:is_post_office_box)
|
|
2703
|
+
@locality = args[:locality] if args.key?(:locality)
|
|
2704
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
|
2705
|
+
@recipient_name = args[:recipient_name] if args.key?(:recipient_name)
|
|
2706
|
+
@region = args[:region] if args.key?(:region)
|
|
2707
|
+
@street_address = args[:street_address] if args.key?(:street_address)
|
|
2701
2708
|
end
|
|
2702
2709
|
end
|
|
2703
2710
|
|
|
@@ -2736,11 +2743,11 @@ module Google
|
|
|
2736
2743
|
|
|
2737
2744
|
# Update properties of this object
|
|
2738
2745
|
def update!(**args)
|
|
2739
|
-
@actor = args[:actor]
|
|
2740
|
-
@creation_date = args[:creation_date]
|
|
2741
|
-
@quantity = args[:quantity]
|
|
2742
|
-
@reason = args[:reason]
|
|
2743
|
-
@reason_text = args[:reason_text]
|
|
2746
|
+
@actor = args[:actor] if args.key?(:actor)
|
|
2747
|
+
@creation_date = args[:creation_date] if args.key?(:creation_date)
|
|
2748
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
2749
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
2750
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
2744
2751
|
end
|
|
2745
2752
|
end
|
|
2746
2753
|
|
|
@@ -2774,9 +2781,9 @@ module Google
|
|
|
2774
2781
|
|
|
2775
2782
|
# Update properties of this object
|
|
2776
2783
|
def update!(**args)
|
|
2777
|
-
@email = args[:email]
|
|
2778
|
-
@explicit_marketing_preference = args[:explicit_marketing_preference]
|
|
2779
|
-
@full_name = args[:full_name]
|
|
2784
|
+
@email = args[:email] if args.key?(:email)
|
|
2785
|
+
@explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference)
|
|
2786
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
|
2780
2787
|
end
|
|
2781
2788
|
end
|
|
2782
2789
|
|
|
@@ -2800,8 +2807,8 @@ module Google
|
|
|
2800
2807
|
|
|
2801
2808
|
# Update properties of this object
|
|
2802
2809
|
def update!(**args)
|
|
2803
|
-
@address = args[:address]
|
|
2804
|
-
@phone_number = args[:phone_number]
|
|
2810
|
+
@address = args[:address] if args.key?(:address)
|
|
2811
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
|
2805
2812
|
end
|
|
2806
2813
|
end
|
|
2807
2814
|
|
|
@@ -2887,20 +2894,20 @@ module Google
|
|
|
2887
2894
|
|
|
2888
2895
|
# Update properties of this object
|
|
2889
2896
|
def update!(**args)
|
|
2890
|
-
@cancellations = args[:cancellations]
|
|
2891
|
-
@id = args[:id]
|
|
2892
|
-
@price = args[:price]
|
|
2893
|
-
@product = args[:product]
|
|
2894
|
-
@quantity_canceled = args[:quantity_canceled]
|
|
2895
|
-
@quantity_delivered = args[:quantity_delivered]
|
|
2896
|
-
@quantity_ordered = args[:quantity_ordered]
|
|
2897
|
-
@quantity_pending = args[:quantity_pending]
|
|
2898
|
-
@quantity_returned = args[:quantity_returned]
|
|
2899
|
-
@quantity_shipped = args[:quantity_shipped]
|
|
2900
|
-
@return_info = args[:return_info]
|
|
2901
|
-
@returns = args[:returns]
|
|
2902
|
-
@shipping_details = args[:shipping_details]
|
|
2903
|
-
@tax = args[:tax]
|
|
2897
|
+
@cancellations = args[:cancellations] if args.key?(:cancellations)
|
|
2898
|
+
@id = args[:id] if args.key?(:id)
|
|
2899
|
+
@price = args[:price] if args.key?(:price)
|
|
2900
|
+
@product = args[:product] if args.key?(:product)
|
|
2901
|
+
@quantity_canceled = args[:quantity_canceled] if args.key?(:quantity_canceled)
|
|
2902
|
+
@quantity_delivered = args[:quantity_delivered] if args.key?(:quantity_delivered)
|
|
2903
|
+
@quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered)
|
|
2904
|
+
@quantity_pending = args[:quantity_pending] if args.key?(:quantity_pending)
|
|
2905
|
+
@quantity_returned = args[:quantity_returned] if args.key?(:quantity_returned)
|
|
2906
|
+
@quantity_shipped = args[:quantity_shipped] if args.key?(:quantity_shipped)
|
|
2907
|
+
@return_info = args[:return_info] if args.key?(:return_info)
|
|
2908
|
+
@returns = args[:returns] if args.key?(:returns)
|
|
2909
|
+
@shipping_details = args[:shipping_details] if args.key?(:shipping_details)
|
|
2910
|
+
@tax = args[:tax] if args.key?(:tax)
|
|
2904
2911
|
end
|
|
2905
2912
|
end
|
|
2906
2913
|
|
|
@@ -2991,21 +2998,21 @@ module Google
|
|
|
2991
2998
|
|
|
2992
2999
|
# Update properties of this object
|
|
2993
3000
|
def update!(**args)
|
|
2994
|
-
@brand = args[:brand]
|
|
2995
|
-
@channel = args[:channel]
|
|
2996
|
-
@condition = args[:condition]
|
|
2997
|
-
@content_language = args[:content_language]
|
|
2998
|
-
@gtin = args[:gtin]
|
|
2999
|
-
@id = args[:id]
|
|
3000
|
-
@image_link = args[:image_link]
|
|
3001
|
-
@item_group_id = args[:item_group_id]
|
|
3002
|
-
@mpn = args[:mpn]
|
|
3003
|
-
@offer_id = args[:offer_id]
|
|
3004
|
-
@price = args[:price]
|
|
3005
|
-
@shown_image = args[:shown_image]
|
|
3006
|
-
@target_country = args[:target_country]
|
|
3007
|
-
@title = args[:title]
|
|
3008
|
-
@variant_attributes = args[:variant_attributes]
|
|
3001
|
+
@brand = args[:brand] if args.key?(:brand)
|
|
3002
|
+
@channel = args[:channel] if args.key?(:channel)
|
|
3003
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
3004
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
|
3005
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
3006
|
+
@id = args[:id] if args.key?(:id)
|
|
3007
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
|
3008
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
|
3009
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
|
3010
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
3011
|
+
@price = args[:price] if args.key?(:price)
|
|
3012
|
+
@shown_image = args[:shown_image] if args.key?(:shown_image)
|
|
3013
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
|
3014
|
+
@title = args[:title] if args.key?(:title)
|
|
3015
|
+
@variant_attributes = args[:variant_attributes] if args.key?(:variant_attributes)
|
|
3009
3016
|
end
|
|
3010
3017
|
end
|
|
3011
3018
|
|
|
@@ -3029,8 +3036,8 @@ module Google
|
|
|
3029
3036
|
|
|
3030
3037
|
# Update properties of this object
|
|
3031
3038
|
def update!(**args)
|
|
3032
|
-
@dimension = args[:dimension]
|
|
3033
|
-
@value = args[:value]
|
|
3039
|
+
@dimension = args[:dimension] if args.key?(:dimension)
|
|
3040
|
+
@value = args[:value] if args.key?(:value)
|
|
3034
3041
|
end
|
|
3035
3042
|
end
|
|
3036
3043
|
|
|
@@ -3060,9 +3067,9 @@ module Google
|
|
|
3060
3067
|
|
|
3061
3068
|
# Update properties of this object
|
|
3062
3069
|
def update!(**args)
|
|
3063
|
-
@days_to_return = args[:days_to_return]
|
|
3064
|
-
@is_returnable = args[:is_returnable]
|
|
3065
|
-
@policy_url = args[:policy_url]
|
|
3070
|
+
@days_to_return = args[:days_to_return] if args.key?(:days_to_return)
|
|
3071
|
+
@is_returnable = args[:is_returnable] if args.key?(:is_returnable)
|
|
3072
|
+
@policy_url = args[:policy_url] if args.key?(:policy_url)
|
|
3066
3073
|
end
|
|
3067
3074
|
end
|
|
3068
3075
|
|
|
@@ -3091,9 +3098,9 @@ module Google
|
|
|
3091
3098
|
|
|
3092
3099
|
# Update properties of this object
|
|
3093
3100
|
def update!(**args)
|
|
3094
|
-
@deliver_by_date = args[:deliver_by_date]
|
|
3095
|
-
@method_prop = args[:method_prop]
|
|
3096
|
-
@ship_by_date = args[:ship_by_date]
|
|
3101
|
+
@deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
|
|
3102
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
3103
|
+
@ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
|
|
3097
3104
|
end
|
|
3098
3105
|
end
|
|
3099
3106
|
|
|
@@ -3127,10 +3134,10 @@ module Google
|
|
|
3127
3134
|
|
|
3128
3135
|
# Update properties of this object
|
|
3129
3136
|
def update!(**args)
|
|
3130
|
-
@carrier = args[:carrier]
|
|
3131
|
-
@max_days_in_transit = args[:max_days_in_transit]
|
|
3132
|
-
@method_name = args[:method_name]
|
|
3133
|
-
@min_days_in_transit = args[:min_days_in_transit]
|
|
3137
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
3138
|
+
@max_days_in_transit = args[:max_days_in_transit] if args.key?(:max_days_in_transit)
|
|
3139
|
+
@method_name = args[:method_name] if args.key?(:method_name)
|
|
3140
|
+
@min_days_in_transit = args[:min_days_in_transit] if args.key?(:min_days_in_transit)
|
|
3134
3141
|
end
|
|
3135
3142
|
end
|
|
3136
3143
|
|
|
@@ -3174,12 +3181,120 @@ module Google
|
|
|
3174
3181
|
|
|
3175
3182
|
# Update properties of this object
|
|
3176
3183
|
def update!(**args)
|
|
3177
|
-
@billing_address = args[:billing_address]
|
|
3178
|
-
@expiration_month = args[:expiration_month]
|
|
3179
|
-
@expiration_year = args[:expiration_year]
|
|
3180
|
-
@last_four_digits = args[:last_four_digits]
|
|
3181
|
-
@phone_number = args[:phone_number]
|
|
3182
|
-
@type = args[:type]
|
|
3184
|
+
@billing_address = args[:billing_address] if args.key?(:billing_address)
|
|
3185
|
+
@expiration_month = args[:expiration_month] if args.key?(:expiration_month)
|
|
3186
|
+
@expiration_year = args[:expiration_year] if args.key?(:expiration_year)
|
|
3187
|
+
@last_four_digits = args[:last_four_digits] if args.key?(:last_four_digits)
|
|
3188
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
|
3189
|
+
@type = args[:type] if args.key?(:type)
|
|
3190
|
+
end
|
|
3191
|
+
end
|
|
3192
|
+
|
|
3193
|
+
#
|
|
3194
|
+
class OrderPromotion
|
|
3195
|
+
include Google::Apis::Core::Hashable
|
|
3196
|
+
|
|
3197
|
+
#
|
|
3198
|
+
# Corresponds to the JSON property `benefits`
|
|
3199
|
+
# @return [Array<Google::Apis::ContentV2::OrderPromotionBenefit>]
|
|
3200
|
+
attr_accessor :benefits
|
|
3201
|
+
|
|
3202
|
+
# The date and time frame when the promotion is active and ready for validation
|
|
3203
|
+
# review. Note that the promotion live time may be delayed for a few hours due
|
|
3204
|
+
# to the validation review.
|
|
3205
|
+
# Start date and end date are separated by a forward slash (/). The start date
|
|
3206
|
+
# is specified by the format (YYYY-MM-DD), followed by the letter ?T?, the time
|
|
3207
|
+
# of the day when the sale starts (in Greenwich Mean Time, GMT), followed by an
|
|
3208
|
+
# expression of the time zone for the sale. The end date is in the same format.
|
|
3209
|
+
# Corresponds to the JSON property `effectiveDates`
|
|
3210
|
+
# @return [String]
|
|
3211
|
+
attr_accessor :effective_dates
|
|
3212
|
+
|
|
3213
|
+
# Optional. The text code that corresponds to the promotion when applied on the
|
|
3214
|
+
# retailer?s website.
|
|
3215
|
+
# Corresponds to the JSON property `genericRedemptionCode`
|
|
3216
|
+
# @return [String]
|
|
3217
|
+
attr_accessor :generic_redemption_code
|
|
3218
|
+
|
|
3219
|
+
# The unique ID of the promotion.
|
|
3220
|
+
# Corresponds to the JSON property `id`
|
|
3221
|
+
# @return [String]
|
|
3222
|
+
attr_accessor :id
|
|
3223
|
+
|
|
3224
|
+
# The full title of the promotion.
|
|
3225
|
+
# Corresponds to the JSON property `longTitle`
|
|
3226
|
+
# @return [String]
|
|
3227
|
+
attr_accessor :long_title
|
|
3228
|
+
|
|
3229
|
+
# Whether the promotion is applicable to all products or only specific products.
|
|
3230
|
+
# Corresponds to the JSON property `productApplicability`
|
|
3231
|
+
# @return [String]
|
|
3232
|
+
attr_accessor :product_applicability
|
|
3233
|
+
|
|
3234
|
+
# Indicates that the promotion is valid online.
|
|
3235
|
+
# Corresponds to the JSON property `redemptionChannel`
|
|
3236
|
+
# @return [String]
|
|
3237
|
+
attr_accessor :redemption_channel
|
|
3238
|
+
|
|
3239
|
+
def initialize(**args)
|
|
3240
|
+
update!(**args)
|
|
3241
|
+
end
|
|
3242
|
+
|
|
3243
|
+
# Update properties of this object
|
|
3244
|
+
def update!(**args)
|
|
3245
|
+
@benefits = args[:benefits] if args.key?(:benefits)
|
|
3246
|
+
@effective_dates = args[:effective_dates] if args.key?(:effective_dates)
|
|
3247
|
+
@generic_redemption_code = args[:generic_redemption_code] if args.key?(:generic_redemption_code)
|
|
3248
|
+
@id = args[:id] if args.key?(:id)
|
|
3249
|
+
@long_title = args[:long_title] if args.key?(:long_title)
|
|
3250
|
+
@product_applicability = args[:product_applicability] if args.key?(:product_applicability)
|
|
3251
|
+
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
|
|
3252
|
+
end
|
|
3253
|
+
end
|
|
3254
|
+
|
|
3255
|
+
#
|
|
3256
|
+
class OrderPromotionBenefit
|
|
3257
|
+
include Google::Apis::Core::Hashable
|
|
3258
|
+
|
|
3259
|
+
# The discount in the order price when the promotion is applied.
|
|
3260
|
+
# Corresponds to the JSON property `discount`
|
|
3261
|
+
# @return [Google::Apis::ContentV2::Price]
|
|
3262
|
+
attr_accessor :discount
|
|
3263
|
+
|
|
3264
|
+
# The OfferId(s) that were purchased in this order and map to this specific
|
|
3265
|
+
# benefit of the promotion.
|
|
3266
|
+
# Corresponds to the JSON property `offerIds`
|
|
3267
|
+
# @return [Array<String>]
|
|
3268
|
+
attr_accessor :offer_ids
|
|
3269
|
+
|
|
3270
|
+
# Further describes the benefit of the promotion. Note that we will expand on
|
|
3271
|
+
# this enumeration as we support new promotion sub-types.
|
|
3272
|
+
# Corresponds to the JSON property `subType`
|
|
3273
|
+
# @return [String]
|
|
3274
|
+
attr_accessor :sub_type
|
|
3275
|
+
|
|
3276
|
+
# The impact on tax when the promotion is applied.
|
|
3277
|
+
# Corresponds to the JSON property `taxImpact`
|
|
3278
|
+
# @return [Google::Apis::ContentV2::Price]
|
|
3279
|
+
attr_accessor :tax_impact
|
|
3280
|
+
|
|
3281
|
+
# Describes whether the promotion applies to products (e.g. 20% off) or to
|
|
3282
|
+
# shipping (e.g. Free Shipping).
|
|
3283
|
+
# Corresponds to the JSON property `type`
|
|
3284
|
+
# @return [String]
|
|
3285
|
+
attr_accessor :type
|
|
3286
|
+
|
|
3287
|
+
def initialize(**args)
|
|
3288
|
+
update!(**args)
|
|
3289
|
+
end
|
|
3290
|
+
|
|
3291
|
+
# Update properties of this object
|
|
3292
|
+
def update!(**args)
|
|
3293
|
+
@discount = args[:discount] if args.key?(:discount)
|
|
3294
|
+
@offer_ids = args[:offer_ids] if args.key?(:offer_ids)
|
|
3295
|
+
@sub_type = args[:sub_type] if args.key?(:sub_type)
|
|
3296
|
+
@tax_impact = args[:tax_impact] if args.key?(:tax_impact)
|
|
3297
|
+
@type = args[:type] if args.key?(:type)
|
|
3183
3298
|
end
|
|
3184
3299
|
end
|
|
3185
3300
|
|
|
@@ -3218,11 +3333,11 @@ module Google
|
|
|
3218
3333
|
|
|
3219
3334
|
# Update properties of this object
|
|
3220
3335
|
def update!(**args)
|
|
3221
|
-
@actor = args[:actor]
|
|
3222
|
-
@amount = args[:amount]
|
|
3223
|
-
@creation_date = args[:creation_date]
|
|
3224
|
-
@reason = args[:reason]
|
|
3225
|
-
@reason_text = args[:reason_text]
|
|
3336
|
+
@actor = args[:actor] if args.key?(:actor)
|
|
3337
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
3338
|
+
@creation_date = args[:creation_date] if args.key?(:creation_date)
|
|
3339
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3340
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3226
3341
|
end
|
|
3227
3342
|
end
|
|
3228
3343
|
|
|
@@ -3261,11 +3376,11 @@ module Google
|
|
|
3261
3376
|
|
|
3262
3377
|
# Update properties of this object
|
|
3263
3378
|
def update!(**args)
|
|
3264
|
-
@actor = args[:actor]
|
|
3265
|
-
@creation_date = args[:creation_date]
|
|
3266
|
-
@quantity = args[:quantity]
|
|
3267
|
-
@reason = args[:reason]
|
|
3268
|
-
@reason_text = args[:reason_text]
|
|
3379
|
+
@actor = args[:actor] if args.key?(:actor)
|
|
3380
|
+
@creation_date = args[:creation_date] if args.key?(:creation_date)
|
|
3381
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
3382
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3383
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3269
3384
|
end
|
|
3270
3385
|
end
|
|
3271
3386
|
|
|
@@ -3315,13 +3430,13 @@ module Google
|
|
|
3315
3430
|
|
|
3316
3431
|
# Update properties of this object
|
|
3317
3432
|
def update!(**args)
|
|
3318
|
-
@carrier = args[:carrier]
|
|
3319
|
-
@creation_date = args[:creation_date]
|
|
3320
|
-
@delivery_date = args[:delivery_date]
|
|
3321
|
-
@id = args[:id]
|
|
3322
|
-
@line_items = args[:line_items]
|
|
3323
|
-
@status = args[:status]
|
|
3324
|
-
@tracking_id = args[:tracking_id]
|
|
3433
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
3434
|
+
@creation_date = args[:creation_date] if args.key?(:creation_date)
|
|
3435
|
+
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
|
3436
|
+
@id = args[:id] if args.key?(:id)
|
|
3437
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
3438
|
+
@status = args[:status] if args.key?(:status)
|
|
3439
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
3325
3440
|
end
|
|
3326
3441
|
end
|
|
3327
3442
|
|
|
@@ -3345,8 +3460,8 @@ module Google
|
|
|
3345
3460
|
|
|
3346
3461
|
# Update properties of this object
|
|
3347
3462
|
def update!(**args)
|
|
3348
|
-
@line_item_id = args[:line_item_id]
|
|
3349
|
-
@quantity = args[:quantity]
|
|
3463
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
3464
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
3350
3465
|
end
|
|
3351
3466
|
end
|
|
3352
3467
|
|
|
@@ -3365,7 +3480,7 @@ module Google
|
|
|
3365
3480
|
|
|
3366
3481
|
# Update properties of this object
|
|
3367
3482
|
def update!(**args)
|
|
3368
|
-
@operation_id = args[:operation_id]
|
|
3483
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
3369
3484
|
end
|
|
3370
3485
|
end
|
|
3371
3486
|
|
|
@@ -3390,8 +3505,8 @@ module Google
|
|
|
3390
3505
|
|
|
3391
3506
|
# Update properties of this object
|
|
3392
3507
|
def update!(**args)
|
|
3393
|
-
@execution_status = args[:execution_status]
|
|
3394
|
-
@kind = args[:kind]
|
|
3508
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
3509
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3395
3510
|
end
|
|
3396
3511
|
end
|
|
3397
3512
|
|
|
@@ -3411,7 +3526,7 @@ module Google
|
|
|
3411
3526
|
|
|
3412
3527
|
# Update properties of this object
|
|
3413
3528
|
def update!(**args)
|
|
3414
|
-
@kind = args[:kind]
|
|
3529
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3415
3530
|
end
|
|
3416
3531
|
end
|
|
3417
3532
|
|
|
@@ -3457,12 +3572,12 @@ module Google
|
|
|
3457
3572
|
|
|
3458
3573
|
# Update properties of this object
|
|
3459
3574
|
def update!(**args)
|
|
3460
|
-
@amount = args[:amount]
|
|
3461
|
-
@line_item_id = args[:line_item_id]
|
|
3462
|
-
@operation_id = args[:operation_id]
|
|
3463
|
-
@quantity = args[:quantity]
|
|
3464
|
-
@reason = args[:reason]
|
|
3465
|
-
@reason_text = args[:reason_text]
|
|
3575
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
3576
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
3577
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
3578
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
3579
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3580
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3466
3581
|
end
|
|
3467
3582
|
end
|
|
3468
3583
|
|
|
@@ -3487,8 +3602,8 @@ module Google
|
|
|
3487
3602
|
|
|
3488
3603
|
# Update properties of this object
|
|
3489
3604
|
def update!(**args)
|
|
3490
|
-
@execution_status = args[:execution_status]
|
|
3491
|
-
@kind = args[:kind]
|
|
3605
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
3606
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3492
3607
|
end
|
|
3493
3608
|
end
|
|
3494
3609
|
|
|
@@ -3517,9 +3632,9 @@ module Google
|
|
|
3517
3632
|
|
|
3518
3633
|
# Update properties of this object
|
|
3519
3634
|
def update!(**args)
|
|
3520
|
-
@operation_id = args[:operation_id]
|
|
3521
|
-
@reason = args[:reason]
|
|
3522
|
-
@reason_text = args[:reason_text]
|
|
3635
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
3636
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3637
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3523
3638
|
end
|
|
3524
3639
|
end
|
|
3525
3640
|
|
|
@@ -3544,8 +3659,8 @@ module Google
|
|
|
3544
3659
|
|
|
3545
3660
|
# Update properties of this object
|
|
3546
3661
|
def update!(**args)
|
|
3547
|
-
@execution_status = args[:execution_status]
|
|
3548
|
-
@kind = args[:kind]
|
|
3662
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
3663
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3549
3664
|
end
|
|
3550
3665
|
end
|
|
3551
3666
|
|
|
@@ -3571,8 +3686,8 @@ module Google
|
|
|
3571
3686
|
|
|
3572
3687
|
# Update properties of this object
|
|
3573
3688
|
def update!(**args)
|
|
3574
|
-
@template_name = args[:template_name]
|
|
3575
|
-
@test_order = args[:test_order]
|
|
3689
|
+
@template_name = args[:template_name] if args.key?(:template_name)
|
|
3690
|
+
@test_order = args[:test_order] if args.key?(:test_order)
|
|
3576
3691
|
end
|
|
3577
3692
|
end
|
|
3578
3693
|
|
|
@@ -3597,8 +3712,8 @@ module Google
|
|
|
3597
3712
|
|
|
3598
3713
|
# Update properties of this object
|
|
3599
3714
|
def update!(**args)
|
|
3600
|
-
@kind = args[:kind]
|
|
3601
|
-
@order_id = args[:order_id]
|
|
3715
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3716
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
|
3602
3717
|
end
|
|
3603
3718
|
end
|
|
3604
3719
|
|
|
@@ -3617,7 +3732,7 @@ module Google
|
|
|
3617
3732
|
|
|
3618
3733
|
# Update properties of this object
|
|
3619
3734
|
def update!(**args)
|
|
3620
|
-
@entries = args[:entries]
|
|
3735
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
3621
3736
|
end
|
|
3622
3737
|
end
|
|
3623
3738
|
|
|
@@ -3693,18 +3808,18 @@ module Google
|
|
|
3693
3808
|
|
|
3694
3809
|
# Update properties of this object
|
|
3695
3810
|
def update!(**args)
|
|
3696
|
-
@batch_id = args[:batch_id]
|
|
3697
|
-
@cancel = args[:cancel]
|
|
3698
|
-
@cancel_line_item = args[:cancel_line_item]
|
|
3699
|
-
@merchant_id = args[:merchant_id]
|
|
3700
|
-
@merchant_order_id = args[:merchant_order_id]
|
|
3701
|
-
@method_prop = args[:method_prop]
|
|
3702
|
-
@operation_id = args[:operation_id]
|
|
3703
|
-
@order_id = args[:order_id]
|
|
3704
|
-
@refund = args[:refund]
|
|
3705
|
-
@return_line_item = args[:return_line_item]
|
|
3706
|
-
@ship_line_items = args[:ship_line_items]
|
|
3707
|
-
@update_shipment = args[:update_shipment]
|
|
3811
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
3812
|
+
@cancel = args[:cancel] if args.key?(:cancel)
|
|
3813
|
+
@cancel_line_item = args[:cancel_line_item] if args.key?(:cancel_line_item)
|
|
3814
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
3815
|
+
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
|
|
3816
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
3817
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
3818
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
|
3819
|
+
@refund = args[:refund] if args.key?(:refund)
|
|
3820
|
+
@return_line_item = args[:return_line_item] if args.key?(:return_line_item)
|
|
3821
|
+
@ship_line_items = args[:ship_line_items] if args.key?(:ship_line_items)
|
|
3822
|
+
@update_shipment = args[:update_shipment] if args.key?(:update_shipment)
|
|
3708
3823
|
end
|
|
3709
3824
|
end
|
|
3710
3825
|
|
|
@@ -3728,8 +3843,8 @@ module Google
|
|
|
3728
3843
|
|
|
3729
3844
|
# Update properties of this object
|
|
3730
3845
|
def update!(**args)
|
|
3731
|
-
@reason = args[:reason]
|
|
3732
|
-
@reason_text = args[:reason_text]
|
|
3846
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3847
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3733
3848
|
end
|
|
3734
3849
|
end
|
|
3735
3850
|
|
|
@@ -3770,11 +3885,11 @@ module Google
|
|
|
3770
3885
|
|
|
3771
3886
|
# Update properties of this object
|
|
3772
3887
|
def update!(**args)
|
|
3773
|
-
@amount = args[:amount]
|
|
3774
|
-
@line_item_id = args[:line_item_id]
|
|
3775
|
-
@quantity = args[:quantity]
|
|
3776
|
-
@reason = args[:reason]
|
|
3777
|
-
@reason_text = args[:reason_text]
|
|
3888
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
3889
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
3890
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
3891
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3892
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3778
3893
|
end
|
|
3779
3894
|
end
|
|
3780
3895
|
|
|
@@ -3803,9 +3918,9 @@ module Google
|
|
|
3803
3918
|
|
|
3804
3919
|
# Update properties of this object
|
|
3805
3920
|
def update!(**args)
|
|
3806
|
-
@amount = args[:amount]
|
|
3807
|
-
@reason = args[:reason]
|
|
3808
|
-
@reason_text = args[:reason_text]
|
|
3921
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
3922
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3923
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3809
3924
|
end
|
|
3810
3925
|
end
|
|
3811
3926
|
|
|
@@ -3839,10 +3954,10 @@ module Google
|
|
|
3839
3954
|
|
|
3840
3955
|
# Update properties of this object
|
|
3841
3956
|
def update!(**args)
|
|
3842
|
-
@line_item_id = args[:line_item_id]
|
|
3843
|
-
@quantity = args[:quantity]
|
|
3844
|
-
@reason = args[:reason]
|
|
3845
|
-
@reason_text = args[:reason_text]
|
|
3957
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
3958
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
3959
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
3960
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
3846
3961
|
end
|
|
3847
3962
|
end
|
|
3848
3963
|
|
|
@@ -3876,10 +3991,10 @@ module Google
|
|
|
3876
3991
|
|
|
3877
3992
|
# Update properties of this object
|
|
3878
3993
|
def update!(**args)
|
|
3879
|
-
@carrier = args[:carrier]
|
|
3880
|
-
@line_items = args[:line_items]
|
|
3881
|
-
@shipment_id = args[:shipment_id]
|
|
3882
|
-
@tracking_id = args[:tracking_id]
|
|
3994
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
3995
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
3996
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
3997
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
3883
3998
|
end
|
|
3884
3999
|
end
|
|
3885
4000
|
|
|
@@ -3913,10 +4028,10 @@ module Google
|
|
|
3913
4028
|
|
|
3914
4029
|
# Update properties of this object
|
|
3915
4030
|
def update!(**args)
|
|
3916
|
-
@carrier = args[:carrier]
|
|
3917
|
-
@shipment_id = args[:shipment_id]
|
|
3918
|
-
@status = args[:status]
|
|
3919
|
-
@tracking_id = args[:tracking_id]
|
|
4031
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
4032
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
4033
|
+
@status = args[:status] if args.key?(:status)
|
|
4034
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
3920
4035
|
end
|
|
3921
4036
|
end
|
|
3922
4037
|
|
|
@@ -3941,8 +4056,8 @@ module Google
|
|
|
3941
4056
|
|
|
3942
4057
|
# Update properties of this object
|
|
3943
4058
|
def update!(**args)
|
|
3944
|
-
@entries = args[:entries]
|
|
3945
|
-
@kind = args[:kind]
|
|
4059
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
4060
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3946
4061
|
end
|
|
3947
4062
|
end
|
|
3948
4063
|
|
|
@@ -3984,11 +4099,11 @@ module Google
|
|
|
3984
4099
|
|
|
3985
4100
|
# Update properties of this object
|
|
3986
4101
|
def update!(**args)
|
|
3987
|
-
@batch_id = args[:batch_id]
|
|
3988
|
-
@errors = args[:errors]
|
|
3989
|
-
@execution_status = args[:execution_status]
|
|
3990
|
-
@kind = args[:kind]
|
|
3991
|
-
@order = args[:order]
|
|
4102
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
4103
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
4104
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4105
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4106
|
+
@order = args[:order] if args.key?(:order)
|
|
3992
4107
|
end
|
|
3993
4108
|
end
|
|
3994
4109
|
|
|
@@ -4013,8 +4128,8 @@ module Google
|
|
|
4013
4128
|
|
|
4014
4129
|
# Update properties of this object
|
|
4015
4130
|
def update!(**args)
|
|
4016
|
-
@kind = args[:kind]
|
|
4017
|
-
@order = args[:order]
|
|
4131
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4132
|
+
@order = args[:order] if args.key?(:order)
|
|
4018
4133
|
end
|
|
4019
4134
|
end
|
|
4020
4135
|
|
|
@@ -4039,8 +4154,8 @@ module Google
|
|
|
4039
4154
|
|
|
4040
4155
|
# Update properties of this object
|
|
4041
4156
|
def update!(**args)
|
|
4042
|
-
@kind = args[:kind]
|
|
4043
|
-
@template = args[:template]
|
|
4157
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4158
|
+
@template = args[:template] if args.key?(:template)
|
|
4044
4159
|
end
|
|
4045
4160
|
end
|
|
4046
4161
|
|
|
@@ -4070,9 +4185,9 @@ module Google
|
|
|
4070
4185
|
|
|
4071
4186
|
# Update properties of this object
|
|
4072
4187
|
def update!(**args)
|
|
4073
|
-
@kind = args[:kind]
|
|
4074
|
-
@next_page_token = args[:next_page_token]
|
|
4075
|
-
@resources = args[:resources]
|
|
4188
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4189
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4190
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
4076
4191
|
end
|
|
4077
4192
|
end
|
|
4078
4193
|
|
|
@@ -4106,10 +4221,10 @@ module Google
|
|
|
4106
4221
|
|
|
4107
4222
|
# Update properties of this object
|
|
4108
4223
|
def update!(**args)
|
|
4109
|
-
@amount = args[:amount]
|
|
4110
|
-
@operation_id = args[:operation_id]
|
|
4111
|
-
@reason = args[:reason]
|
|
4112
|
-
@reason_text = args[:reason_text]
|
|
4224
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
4225
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
4226
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
4227
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
4113
4228
|
end
|
|
4114
4229
|
end
|
|
4115
4230
|
|
|
@@ -4134,8 +4249,8 @@ module Google
|
|
|
4134
4249
|
|
|
4135
4250
|
# Update properties of this object
|
|
4136
4251
|
def update!(**args)
|
|
4137
|
-
@execution_status = args[:execution_status]
|
|
4138
|
-
@kind = args[:kind]
|
|
4252
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4253
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4139
4254
|
end
|
|
4140
4255
|
end
|
|
4141
4256
|
|
|
@@ -4174,11 +4289,11 @@ module Google
|
|
|
4174
4289
|
|
|
4175
4290
|
# Update properties of this object
|
|
4176
4291
|
def update!(**args)
|
|
4177
|
-
@line_item_id = args[:line_item_id]
|
|
4178
|
-
@operation_id = args[:operation_id]
|
|
4179
|
-
@quantity = args[:quantity]
|
|
4180
|
-
@reason = args[:reason]
|
|
4181
|
-
@reason_text = args[:reason_text]
|
|
4292
|
+
@line_item_id = args[:line_item_id] if args.key?(:line_item_id)
|
|
4293
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
4294
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
|
4295
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
4296
|
+
@reason_text = args[:reason_text] if args.key?(:reason_text)
|
|
4182
4297
|
end
|
|
4183
4298
|
end
|
|
4184
4299
|
|
|
@@ -4203,8 +4318,8 @@ module Google
|
|
|
4203
4318
|
|
|
4204
4319
|
# Update properties of this object
|
|
4205
4320
|
def update!(**args)
|
|
4206
|
-
@execution_status = args[:execution_status]
|
|
4207
|
-
@kind = args[:kind]
|
|
4321
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4322
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4208
4323
|
end
|
|
4209
4324
|
end
|
|
4210
4325
|
|
|
@@ -4243,11 +4358,11 @@ module Google
|
|
|
4243
4358
|
|
|
4244
4359
|
# Update properties of this object
|
|
4245
4360
|
def update!(**args)
|
|
4246
|
-
@carrier = args[:carrier]
|
|
4247
|
-
@line_items = args[:line_items]
|
|
4248
|
-
@operation_id = args[:operation_id]
|
|
4249
|
-
@shipment_id = args[:shipment_id]
|
|
4250
|
-
@tracking_id = args[:tracking_id]
|
|
4361
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
4362
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
4363
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
4364
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
4365
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
4251
4366
|
end
|
|
4252
4367
|
end
|
|
4253
4368
|
|
|
@@ -4272,8 +4387,8 @@ module Google
|
|
|
4272
4387
|
|
|
4273
4388
|
# Update properties of this object
|
|
4274
4389
|
def update!(**args)
|
|
4275
|
-
@execution_status = args[:execution_status]
|
|
4276
|
-
@kind = args[:kind]
|
|
4390
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4391
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4277
4392
|
end
|
|
4278
4393
|
end
|
|
4279
4394
|
|
|
@@ -4297,8 +4412,8 @@ module Google
|
|
|
4297
4412
|
|
|
4298
4413
|
# Update properties of this object
|
|
4299
4414
|
def update!(**args)
|
|
4300
|
-
@merchant_order_id = args[:merchant_order_id]
|
|
4301
|
-
@operation_id = args[:operation_id]
|
|
4415
|
+
@merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
|
|
4416
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
4302
4417
|
end
|
|
4303
4418
|
end
|
|
4304
4419
|
|
|
@@ -4323,8 +4438,8 @@ module Google
|
|
|
4323
4438
|
|
|
4324
4439
|
# Update properties of this object
|
|
4325
4440
|
def update!(**args)
|
|
4326
|
-
@execution_status = args[:execution_status]
|
|
4327
|
-
@kind = args[:kind]
|
|
4441
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4442
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4328
4443
|
end
|
|
4329
4444
|
end
|
|
4330
4445
|
|
|
@@ -4363,11 +4478,11 @@ module Google
|
|
|
4363
4478
|
|
|
4364
4479
|
# Update properties of this object
|
|
4365
4480
|
def update!(**args)
|
|
4366
|
-
@carrier = args[:carrier]
|
|
4367
|
-
@operation_id = args[:operation_id]
|
|
4368
|
-
@shipment_id = args[:shipment_id]
|
|
4369
|
-
@status = args[:status]
|
|
4370
|
-
@tracking_id = args[:tracking_id]
|
|
4481
|
+
@carrier = args[:carrier] if args.key?(:carrier)
|
|
4482
|
+
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
4483
|
+
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
|
4484
|
+
@status = args[:status] if args.key?(:status)
|
|
4485
|
+
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
|
4371
4486
|
end
|
|
4372
4487
|
end
|
|
4373
4488
|
|
|
@@ -4392,8 +4507,8 @@ module Google
|
|
|
4392
4507
|
|
|
4393
4508
|
# Update properties of this object
|
|
4394
4509
|
def update!(**args)
|
|
4395
|
-
@execution_status = args[:execution_status]
|
|
4396
|
-
@kind = args[:kind]
|
|
4510
|
+
@execution_status = args[:execution_status] if args.key?(:execution_status)
|
|
4511
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4397
4512
|
end
|
|
4398
4513
|
end
|
|
4399
4514
|
|
|
@@ -4417,8 +4532,8 @@ module Google
|
|
|
4417
4532
|
|
|
4418
4533
|
# Update properties of this object
|
|
4419
4534
|
def update!(**args)
|
|
4420
|
-
@currency = args[:currency]
|
|
4421
|
-
@value = args[:value]
|
|
4535
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
4536
|
+
@value = args[:value] if args.key?(:value)
|
|
4422
4537
|
end
|
|
4423
4538
|
end
|
|
4424
4539
|
|
|
@@ -4697,6 +4812,11 @@ module Google
|
|
|
4697
4812
|
# @return [String]
|
|
4698
4813
|
attr_accessor :product_type
|
|
4699
4814
|
|
|
4815
|
+
# The unique ID of a promotion.
|
|
4816
|
+
# Corresponds to the JSON property `promotionIds`
|
|
4817
|
+
# @return [Array<String>]
|
|
4818
|
+
attr_accessor :promotion_ids
|
|
4819
|
+
|
|
4700
4820
|
# Advertised sale price of the item.
|
|
4701
4821
|
# Corresponds to the JSON property `salePrice`
|
|
4702
4822
|
# @return [Google::Apis::ContentV2::Price]
|
|
@@ -4799,76 +4919,77 @@ module Google
|
|
|
4799
4919
|
|
|
4800
4920
|
# Update properties of this object
|
|
4801
4921
|
def update!(**args)
|
|
4802
|
-
@additional_image_links = args[:additional_image_links]
|
|
4803
|
-
@adult = args[:adult]
|
|
4804
|
-
@adwords_grouping = args[:adwords_grouping]
|
|
4805
|
-
@adwords_labels = args[:adwords_labels]
|
|
4806
|
-
@adwords_redirect = args[:adwords_redirect]
|
|
4807
|
-
@age_group = args[:age_group]
|
|
4808
|
-
@aspects = args[:aspects]
|
|
4809
|
-
@availability = args[:availability]
|
|
4810
|
-
@availability_date = args[:availability_date]
|
|
4811
|
-
@brand = args[:brand]
|
|
4812
|
-
@channel = args[:channel]
|
|
4813
|
-
@color = args[:color]
|
|
4814
|
-
@condition = args[:condition]
|
|
4815
|
-
@content_language = args[:content_language]
|
|
4816
|
-
@custom_attributes = args[:custom_attributes]
|
|
4817
|
-
@custom_groups = args[:custom_groups]
|
|
4818
|
-
@custom_label0 = args[:custom_label0]
|
|
4819
|
-
@custom_label1 = args[:custom_label1]
|
|
4820
|
-
@custom_label2 = args[:custom_label2]
|
|
4821
|
-
@custom_label3 = args[:custom_label3]
|
|
4822
|
-
@custom_label4 = args[:custom_label4]
|
|
4823
|
-
@description = args[:description]
|
|
4824
|
-
@destinations = args[:destinations]
|
|
4825
|
-
@display_ads_id = args[:display_ads_id]
|
|
4826
|
-
@display_ads_link = args[:display_ads_link]
|
|
4827
|
-
@display_ads_similar_ids = args[:display_ads_similar_ids]
|
|
4828
|
-
@display_ads_title = args[:display_ads_title]
|
|
4829
|
-
@display_ads_value = args[:display_ads_value]
|
|
4830
|
-
@energy_efficiency_class = args[:energy_efficiency_class]
|
|
4831
|
-
@expiration_date = args[:expiration_date]
|
|
4832
|
-
@gender = args[:gender]
|
|
4833
|
-
@google_product_category = args[:google_product_category]
|
|
4834
|
-
@gtin = args[:gtin]
|
|
4835
|
-
@id = args[:id]
|
|
4836
|
-
@identifier_exists = args[:identifier_exists]
|
|
4837
|
-
@image_link = args[:image_link]
|
|
4838
|
-
@installment = args[:installment]
|
|
4839
|
-
@is_bundle = args[:is_bundle]
|
|
4840
|
-
@item_group_id = args[:item_group_id]
|
|
4841
|
-
@kind = args[:kind]
|
|
4842
|
-
@link = args[:link]
|
|
4843
|
-
@loyalty_points = args[:loyalty_points]
|
|
4844
|
-
@material = args[:material]
|
|
4845
|
-
@mobile_link = args[:mobile_link]
|
|
4846
|
-
@mpn = args[:mpn]
|
|
4847
|
-
@multipack = args[:multipack]
|
|
4848
|
-
@offer_id = args[:offer_id]
|
|
4849
|
-
@online_only = args[:online_only]
|
|
4850
|
-
@pattern = args[:pattern]
|
|
4851
|
-
@price = args[:price]
|
|
4852
|
-
@product_type = args[:product_type]
|
|
4853
|
-
@
|
|
4854
|
-
@
|
|
4855
|
-
@
|
|
4856
|
-
@
|
|
4857
|
-
@
|
|
4858
|
-
@
|
|
4859
|
-
@
|
|
4860
|
-
@
|
|
4861
|
-
@
|
|
4862
|
-
@
|
|
4863
|
-
@
|
|
4864
|
-
@
|
|
4865
|
-
@
|
|
4866
|
-
@
|
|
4867
|
-
@
|
|
4868
|
-
@
|
|
4869
|
-
@
|
|
4870
|
-
@
|
|
4871
|
-
@
|
|
4922
|
+
@additional_image_links = args[:additional_image_links] if args.key?(:additional_image_links)
|
|
4923
|
+
@adult = args[:adult] if args.key?(:adult)
|
|
4924
|
+
@adwords_grouping = args[:adwords_grouping] if args.key?(:adwords_grouping)
|
|
4925
|
+
@adwords_labels = args[:adwords_labels] if args.key?(:adwords_labels)
|
|
4926
|
+
@adwords_redirect = args[:adwords_redirect] if args.key?(:adwords_redirect)
|
|
4927
|
+
@age_group = args[:age_group] if args.key?(:age_group)
|
|
4928
|
+
@aspects = args[:aspects] if args.key?(:aspects)
|
|
4929
|
+
@availability = args[:availability] if args.key?(:availability)
|
|
4930
|
+
@availability_date = args[:availability_date] if args.key?(:availability_date)
|
|
4931
|
+
@brand = args[:brand] if args.key?(:brand)
|
|
4932
|
+
@channel = args[:channel] if args.key?(:channel)
|
|
4933
|
+
@color = args[:color] if args.key?(:color)
|
|
4934
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
4935
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
|
4936
|
+
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
|
|
4937
|
+
@custom_groups = args[:custom_groups] if args.key?(:custom_groups)
|
|
4938
|
+
@custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
|
|
4939
|
+
@custom_label1 = args[:custom_label1] if args.key?(:custom_label1)
|
|
4940
|
+
@custom_label2 = args[:custom_label2] if args.key?(:custom_label2)
|
|
4941
|
+
@custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
|
|
4942
|
+
@custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
|
|
4943
|
+
@description = args[:description] if args.key?(:description)
|
|
4944
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
|
4945
|
+
@display_ads_id = args[:display_ads_id] if args.key?(:display_ads_id)
|
|
4946
|
+
@display_ads_link = args[:display_ads_link] if args.key?(:display_ads_link)
|
|
4947
|
+
@display_ads_similar_ids = args[:display_ads_similar_ids] if args.key?(:display_ads_similar_ids)
|
|
4948
|
+
@display_ads_title = args[:display_ads_title] if args.key?(:display_ads_title)
|
|
4949
|
+
@display_ads_value = args[:display_ads_value] if args.key?(:display_ads_value)
|
|
4950
|
+
@energy_efficiency_class = args[:energy_efficiency_class] if args.key?(:energy_efficiency_class)
|
|
4951
|
+
@expiration_date = args[:expiration_date] if args.key?(:expiration_date)
|
|
4952
|
+
@gender = args[:gender] if args.key?(:gender)
|
|
4953
|
+
@google_product_category = args[:google_product_category] if args.key?(:google_product_category)
|
|
4954
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
4955
|
+
@id = args[:id] if args.key?(:id)
|
|
4956
|
+
@identifier_exists = args[:identifier_exists] if args.key?(:identifier_exists)
|
|
4957
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
|
4958
|
+
@installment = args[:installment] if args.key?(:installment)
|
|
4959
|
+
@is_bundle = args[:is_bundle] if args.key?(:is_bundle)
|
|
4960
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
|
4961
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
4962
|
+
@link = args[:link] if args.key?(:link)
|
|
4963
|
+
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
|
4964
|
+
@material = args[:material] if args.key?(:material)
|
|
4965
|
+
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)
|
|
4966
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
|
4967
|
+
@multipack = args[:multipack] if args.key?(:multipack)
|
|
4968
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
4969
|
+
@online_only = args[:online_only] if args.key?(:online_only)
|
|
4970
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
4971
|
+
@price = args[:price] if args.key?(:price)
|
|
4972
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
|
4973
|
+
@promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids)
|
|
4974
|
+
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
|
4975
|
+
@sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date)
|
|
4976
|
+
@sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity)
|
|
4977
|
+
@shipping = args[:shipping] if args.key?(:shipping)
|
|
4978
|
+
@shipping_height = args[:shipping_height] if args.key?(:shipping_height)
|
|
4979
|
+
@shipping_label = args[:shipping_label] if args.key?(:shipping_label)
|
|
4980
|
+
@shipping_length = args[:shipping_length] if args.key?(:shipping_length)
|
|
4981
|
+
@shipping_weight = args[:shipping_weight] if args.key?(:shipping_weight)
|
|
4982
|
+
@shipping_width = args[:shipping_width] if args.key?(:shipping_width)
|
|
4983
|
+
@size_system = args[:size_system] if args.key?(:size_system)
|
|
4984
|
+
@size_type = args[:size_type] if args.key?(:size_type)
|
|
4985
|
+
@sizes = args[:sizes] if args.key?(:sizes)
|
|
4986
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
|
4987
|
+
@taxes = args[:taxes] if args.key?(:taxes)
|
|
4988
|
+
@title = args[:title] if args.key?(:title)
|
|
4989
|
+
@unit_pricing_base_measure = args[:unit_pricing_base_measure] if args.key?(:unit_pricing_base_measure)
|
|
4990
|
+
@unit_pricing_measure = args[:unit_pricing_measure] if args.key?(:unit_pricing_measure)
|
|
4991
|
+
@validated_destinations = args[:validated_destinations] if args.key?(:validated_destinations)
|
|
4992
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
4872
4993
|
end
|
|
4873
4994
|
end
|
|
4874
4995
|
|
|
@@ -4897,9 +5018,9 @@ module Google
|
|
|
4897
5018
|
|
|
4898
5019
|
# Update properties of this object
|
|
4899
5020
|
def update!(**args)
|
|
4900
|
-
@aspect_name = args[:aspect_name]
|
|
4901
|
-
@destination_name = args[:destination_name]
|
|
4902
|
-
@intention = args[:intention]
|
|
5021
|
+
@aspect_name = args[:aspect_name] if args.key?(:aspect_name)
|
|
5022
|
+
@destination_name = args[:destination_name] if args.key?(:destination_name)
|
|
5023
|
+
@intention = args[:intention] if args.key?(:intention)
|
|
4903
5024
|
end
|
|
4904
5025
|
end
|
|
4905
5026
|
|
|
@@ -4935,10 +5056,10 @@ module Google
|
|
|
4935
5056
|
|
|
4936
5057
|
# Update properties of this object
|
|
4937
5058
|
def update!(**args)
|
|
4938
|
-
@name = args[:name]
|
|
4939
|
-
@type = args[:type]
|
|
4940
|
-
@unit = args[:unit]
|
|
4941
|
-
@value = args[:value]
|
|
5059
|
+
@name = args[:name] if args.key?(:name)
|
|
5060
|
+
@type = args[:type] if args.key?(:type)
|
|
5061
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
5062
|
+
@value = args[:value] if args.key?(:value)
|
|
4942
5063
|
end
|
|
4943
5064
|
end
|
|
4944
5065
|
|
|
@@ -4962,8 +5083,8 @@ module Google
|
|
|
4962
5083
|
|
|
4963
5084
|
# Update properties of this object
|
|
4964
5085
|
def update!(**args)
|
|
4965
|
-
@attributes = args[:attributes]
|
|
4966
|
-
@name = args[:name]
|
|
5086
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
5087
|
+
@name = args[:name] if args.key?(:name)
|
|
4967
5088
|
end
|
|
4968
5089
|
end
|
|
4969
5090
|
|
|
@@ -4987,8 +5108,8 @@ module Google
|
|
|
4987
5108
|
|
|
4988
5109
|
# Update properties of this object
|
|
4989
5110
|
def update!(**args)
|
|
4990
|
-
@destination_name = args[:destination_name]
|
|
4991
|
-
@intention = args[:intention]
|
|
5111
|
+
@destination_name = args[:destination_name] if args.key?(:destination_name)
|
|
5112
|
+
@intention = args[:intention] if args.key?(:intention)
|
|
4992
5113
|
end
|
|
4993
5114
|
end
|
|
4994
5115
|
|
|
@@ -5041,13 +5162,13 @@ module Google
|
|
|
5041
5162
|
|
|
5042
5163
|
# Update properties of this object
|
|
5043
5164
|
def update!(**args)
|
|
5044
|
-
@country = args[:country]
|
|
5045
|
-
@location_group_name = args[:location_group_name]
|
|
5046
|
-
@location_id = args[:location_id]
|
|
5047
|
-
@postal_code = args[:postal_code]
|
|
5048
|
-
@price = args[:price]
|
|
5049
|
-
@region = args[:region]
|
|
5050
|
-
@service = args[:service]
|
|
5165
|
+
@country = args[:country] if args.key?(:country)
|
|
5166
|
+
@location_group_name = args[:location_group_name] if args.key?(:location_group_name)
|
|
5167
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
5168
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
|
5169
|
+
@price = args[:price] if args.key?(:price)
|
|
5170
|
+
@region = args[:region] if args.key?(:region)
|
|
5171
|
+
@service = args[:service] if args.key?(:service)
|
|
5051
5172
|
end
|
|
5052
5173
|
end
|
|
5053
5174
|
|
|
@@ -5074,8 +5195,8 @@ module Google
|
|
|
5074
5195
|
|
|
5075
5196
|
# Update properties of this object
|
|
5076
5197
|
def update!(**args)
|
|
5077
|
-
@unit = args[:unit]
|
|
5078
|
-
@value = args[:value]
|
|
5198
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
5199
|
+
@value = args[:value] if args.key?(:value)
|
|
5079
5200
|
end
|
|
5080
5201
|
end
|
|
5081
5202
|
|
|
@@ -5099,8 +5220,8 @@ module Google
|
|
|
5099
5220
|
|
|
5100
5221
|
# Update properties of this object
|
|
5101
5222
|
def update!(**args)
|
|
5102
|
-
@unit = args[:unit]
|
|
5103
|
-
@value = args[:value]
|
|
5223
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
5224
|
+
@value = args[:value] if args.key?(:value)
|
|
5104
5225
|
end
|
|
5105
5226
|
end
|
|
5106
5227
|
|
|
@@ -5161,15 +5282,15 @@ module Google
|
|
|
5161
5282
|
|
|
5162
5283
|
# Update properties of this object
|
|
5163
5284
|
def update!(**args)
|
|
5164
|
-
@creation_date = args[:creation_date]
|
|
5165
|
-
@data_quality_issues = args[:data_quality_issues]
|
|
5166
|
-
@destination_statuses = args[:destination_statuses]
|
|
5167
|
-
@google_expiration_date = args[:google_expiration_date]
|
|
5168
|
-
@kind = args[:kind]
|
|
5169
|
-
@last_update_date = args[:last_update_date]
|
|
5170
|
-
@link = args[:link]
|
|
5171
|
-
@product_id = args[:product_id]
|
|
5172
|
-
@title = args[:title]
|
|
5285
|
+
@creation_date = args[:creation_date] if args.key?(:creation_date)
|
|
5286
|
+
@data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues)
|
|
5287
|
+
@destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
|
|
5288
|
+
@google_expiration_date = args[:google_expiration_date] if args.key?(:google_expiration_date)
|
|
5289
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5290
|
+
@last_update_date = args[:last_update_date] if args.key?(:last_update_date)
|
|
5291
|
+
@link = args[:link] if args.key?(:link)
|
|
5292
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
5293
|
+
@title = args[:title] if args.key?(:title)
|
|
5173
5294
|
end
|
|
5174
5295
|
end
|
|
5175
5296
|
|
|
@@ -5223,14 +5344,14 @@ module Google
|
|
|
5223
5344
|
|
|
5224
5345
|
# Update properties of this object
|
|
5225
5346
|
def update!(**args)
|
|
5226
|
-
@detail = args[:detail]
|
|
5227
|
-
@fetch_status = args[:fetch_status]
|
|
5228
|
-
@id = args[:id]
|
|
5229
|
-
@location = args[:location]
|
|
5230
|
-
@severity = args[:severity]
|
|
5231
|
-
@timestamp = args[:timestamp]
|
|
5232
|
-
@value_on_landing_page = args[:value_on_landing_page]
|
|
5233
|
-
@value_provided = args[:value_provided]
|
|
5347
|
+
@detail = args[:detail] if args.key?(:detail)
|
|
5348
|
+
@fetch_status = args[:fetch_status] if args.key?(:fetch_status)
|
|
5349
|
+
@id = args[:id] if args.key?(:id)
|
|
5350
|
+
@location = args[:location] if args.key?(:location)
|
|
5351
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
5352
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
5353
|
+
@value_on_landing_page = args[:value_on_landing_page] if args.key?(:value_on_landing_page)
|
|
5354
|
+
@value_provided = args[:value_provided] if args.key?(:value_provided)
|
|
5234
5355
|
end
|
|
5235
5356
|
end
|
|
5236
5357
|
|
|
@@ -5260,9 +5381,9 @@ module Google
|
|
|
5260
5381
|
|
|
5261
5382
|
# Update properties of this object
|
|
5262
5383
|
def update!(**args)
|
|
5263
|
-
@approval_status = args[:approval_status]
|
|
5264
|
-
@destination = args[:destination]
|
|
5265
|
-
@intention = args[:intention]
|
|
5384
|
+
@approval_status = args[:approval_status] if args.key?(:approval_status)
|
|
5385
|
+
@destination = args[:destination] if args.key?(:destination)
|
|
5386
|
+
@intention = args[:intention] if args.key?(:intention)
|
|
5266
5387
|
end
|
|
5267
5388
|
end
|
|
5268
5389
|
|
|
@@ -5310,12 +5431,12 @@ module Google
|
|
|
5310
5431
|
|
|
5311
5432
|
# Update properties of this object
|
|
5312
5433
|
def update!(**args)
|
|
5313
|
-
@country = args[:country]
|
|
5314
|
-
@location_id = args[:location_id]
|
|
5315
|
-
@postal_code = args[:postal_code]
|
|
5316
|
-
@rate = args[:rate]
|
|
5317
|
-
@region = args[:region]
|
|
5318
|
-
@tax_ship = args[:tax_ship]
|
|
5434
|
+
@country = args[:country] if args.key?(:country)
|
|
5435
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
5436
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
|
5437
|
+
@rate = args[:rate] if args.key?(:rate)
|
|
5438
|
+
@region = args[:region] if args.key?(:region)
|
|
5439
|
+
@tax_ship = args[:tax_ship] if args.key?(:tax_ship)
|
|
5319
5440
|
end
|
|
5320
5441
|
end
|
|
5321
5442
|
|
|
@@ -5339,8 +5460,8 @@ module Google
|
|
|
5339
5460
|
|
|
5340
5461
|
# Update properties of this object
|
|
5341
5462
|
def update!(**args)
|
|
5342
|
-
@unit = args[:unit]
|
|
5343
|
-
@value = args[:value]
|
|
5463
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
5464
|
+
@value = args[:value] if args.key?(:value)
|
|
5344
5465
|
end
|
|
5345
5466
|
end
|
|
5346
5467
|
|
|
@@ -5364,8 +5485,8 @@ module Google
|
|
|
5364
5485
|
|
|
5365
5486
|
# Update properties of this object
|
|
5366
5487
|
def update!(**args)
|
|
5367
|
-
@unit = args[:unit]
|
|
5368
|
-
@value = args[:value]
|
|
5488
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
5489
|
+
@value = args[:value] if args.key?(:value)
|
|
5369
5490
|
end
|
|
5370
5491
|
end
|
|
5371
5492
|
|
|
@@ -5384,7 +5505,7 @@ module Google
|
|
|
5384
5505
|
|
|
5385
5506
|
# Update properties of this object
|
|
5386
5507
|
def update!(**args)
|
|
5387
|
-
@entries = args[:entries]
|
|
5508
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
5388
5509
|
end
|
|
5389
5510
|
end
|
|
5390
5511
|
|
|
@@ -5424,11 +5545,11 @@ module Google
|
|
|
5424
5545
|
|
|
5425
5546
|
# Update properties of this object
|
|
5426
5547
|
def update!(**args)
|
|
5427
|
-
@batch_id = args[:batch_id]
|
|
5428
|
-
@merchant_id = args[:merchant_id]
|
|
5429
|
-
@request_method = args[:request_method]
|
|
5430
|
-
@product = args[:product]
|
|
5431
|
-
@product_id = args[:product_id]
|
|
5548
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
5549
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
5550
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
5551
|
+
@product = args[:product] if args.key?(:product)
|
|
5552
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
5432
5553
|
end
|
|
5433
5554
|
end
|
|
5434
5555
|
|
|
@@ -5453,8 +5574,8 @@ module Google
|
|
|
5453
5574
|
|
|
5454
5575
|
# Update properties of this object
|
|
5455
5576
|
def update!(**args)
|
|
5456
|
-
@entries = args[:entries]
|
|
5457
|
-
@kind = args[:kind]
|
|
5577
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
5578
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5458
5579
|
end
|
|
5459
5580
|
end
|
|
5460
5581
|
|
|
@@ -5489,10 +5610,10 @@ module Google
|
|
|
5489
5610
|
|
|
5490
5611
|
# Update properties of this object
|
|
5491
5612
|
def update!(**args)
|
|
5492
|
-
@batch_id = args[:batch_id]
|
|
5493
|
-
@errors = args[:errors]
|
|
5494
|
-
@kind = args[:kind]
|
|
5495
|
-
@product = args[:product]
|
|
5613
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
5614
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
5615
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5616
|
+
@product = args[:product] if args.key?(:product)
|
|
5496
5617
|
end
|
|
5497
5618
|
end
|
|
5498
5619
|
|
|
@@ -5522,9 +5643,9 @@ module Google
|
|
|
5522
5643
|
|
|
5523
5644
|
# Update properties of this object
|
|
5524
5645
|
def update!(**args)
|
|
5525
|
-
@kind = args[:kind]
|
|
5526
|
-
@next_page_token = args[:next_page_token]
|
|
5527
|
-
@resources = args[:resources]
|
|
5646
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5647
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
5648
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
5528
5649
|
end
|
|
5529
5650
|
end
|
|
5530
5651
|
|
|
@@ -5543,7 +5664,7 @@ module Google
|
|
|
5543
5664
|
|
|
5544
5665
|
# Update properties of this object
|
|
5545
5666
|
def update!(**args)
|
|
5546
|
-
@entries = args[:entries]
|
|
5667
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
5547
5668
|
end
|
|
5548
5669
|
end
|
|
5549
5670
|
|
|
@@ -5577,10 +5698,10 @@ module Google
|
|
|
5577
5698
|
|
|
5578
5699
|
# Update properties of this object
|
|
5579
5700
|
def update!(**args)
|
|
5580
|
-
@batch_id = args[:batch_id]
|
|
5581
|
-
@merchant_id = args[:merchant_id]
|
|
5582
|
-
@request_method = args[:request_method]
|
|
5583
|
-
@product_id = args[:product_id]
|
|
5701
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
5702
|
+
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
|
5703
|
+
@request_method = args[:request_method] if args.key?(:request_method)
|
|
5704
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
5584
5705
|
end
|
|
5585
5706
|
end
|
|
5586
5707
|
|
|
@@ -5605,8 +5726,8 @@ module Google
|
|
|
5605
5726
|
|
|
5606
5727
|
# Update properties of this object
|
|
5607
5728
|
def update!(**args)
|
|
5608
|
-
@entries = args[:entries]
|
|
5609
|
-
@kind = args[:kind]
|
|
5729
|
+
@entries = args[:entries] if args.key?(:entries)
|
|
5730
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5610
5731
|
end
|
|
5611
5732
|
end
|
|
5612
5733
|
|
|
@@ -5642,10 +5763,10 @@ module Google
|
|
|
5642
5763
|
|
|
5643
5764
|
# Update properties of this object
|
|
5644
5765
|
def update!(**args)
|
|
5645
|
-
@batch_id = args[:batch_id]
|
|
5646
|
-
@errors = args[:errors]
|
|
5647
|
-
@kind = args[:kind]
|
|
5648
|
-
@product_status = args[:product_status]
|
|
5766
|
+
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
|
5767
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
5768
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5769
|
+
@product_status = args[:product_status] if args.key?(:product_status)
|
|
5649
5770
|
end
|
|
5650
5771
|
end
|
|
5651
5772
|
|
|
@@ -5675,9 +5796,9 @@ module Google
|
|
|
5675
5796
|
|
|
5676
5797
|
# Update properties of this object
|
|
5677
5798
|
def update!(**args)
|
|
5678
|
-
@kind = args[:kind]
|
|
5679
|
-
@next_page_token = args[:next_page_token]
|
|
5680
|
-
@resources = args[:resources]
|
|
5799
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5800
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
5801
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
5681
5802
|
end
|
|
5682
5803
|
end
|
|
5683
5804
|
|
|
@@ -5711,6 +5832,12 @@ module Google
|
|
|
5711
5832
|
# @return [String]
|
|
5712
5833
|
attr_accessor :predefined_delivery_address
|
|
5713
5834
|
|
|
5835
|
+
# The details of the merchant provided promotions applied to the order. More
|
|
5836
|
+
# details about the program are here.
|
|
5837
|
+
# Corresponds to the JSON property `promotions`
|
|
5838
|
+
# @return [Array<Google::Apis::ContentV2::OrderPromotion>]
|
|
5839
|
+
attr_accessor :promotions
|
|
5840
|
+
|
|
5714
5841
|
# The total cost of shipping for all items.
|
|
5715
5842
|
# Corresponds to the JSON property `shippingCost`
|
|
5716
5843
|
# @return [Google::Apis::ContentV2::Price]
|
|
@@ -5732,14 +5859,15 @@ module Google
|
|
|
5732
5859
|
|
|
5733
5860
|
# Update properties of this object
|
|
5734
5861
|
def update!(**args)
|
|
5735
|
-
@customer = args[:customer]
|
|
5736
|
-
@kind = args[:kind]
|
|
5737
|
-
@line_items = args[:line_items]
|
|
5738
|
-
@payment_method = args[:payment_method]
|
|
5739
|
-
@predefined_delivery_address = args[:predefined_delivery_address]
|
|
5740
|
-
@
|
|
5741
|
-
@
|
|
5742
|
-
@
|
|
5862
|
+
@customer = args[:customer] if args.key?(:customer)
|
|
5863
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
5864
|
+
@line_items = args[:line_items] if args.key?(:line_items)
|
|
5865
|
+
@payment_method = args[:payment_method] if args.key?(:payment_method)
|
|
5866
|
+
@predefined_delivery_address = args[:predefined_delivery_address] if args.key?(:predefined_delivery_address)
|
|
5867
|
+
@promotions = args[:promotions] if args.key?(:promotions)
|
|
5868
|
+
@shipping_cost = args[:shipping_cost] if args.key?(:shipping_cost)
|
|
5869
|
+
@shipping_cost_tax = args[:shipping_cost_tax] if args.key?(:shipping_cost_tax)
|
|
5870
|
+
@shipping_option = args[:shipping_option] if args.key?(:shipping_option)
|
|
5743
5871
|
end
|
|
5744
5872
|
end
|
|
5745
5873
|
|
|
@@ -5773,9 +5901,9 @@ module Google
|
|
|
5773
5901
|
|
|
5774
5902
|
# Update properties of this object
|
|
5775
5903
|
def update!(**args)
|
|
5776
|
-
@email = args[:email]
|
|
5777
|
-
@explicit_marketing_preference = args[:explicit_marketing_preference]
|
|
5778
|
-
@full_name = args[:full_name]
|
|
5904
|
+
@email = args[:email] if args.key?(:email)
|
|
5905
|
+
@explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference)
|
|
5906
|
+
@full_name = args[:full_name] if args.key?(:full_name)
|
|
5779
5907
|
end
|
|
5780
5908
|
end
|
|
5781
5909
|
|
|
@@ -5814,11 +5942,11 @@ module Google
|
|
|
5814
5942
|
|
|
5815
5943
|
# Update properties of this object
|
|
5816
5944
|
def update!(**args)
|
|
5817
|
-
@product = args[:product]
|
|
5818
|
-
@quantity_ordered = args[:quantity_ordered]
|
|
5819
|
-
@return_info = args[:return_info]
|
|
5820
|
-
@shipping_details = args[:shipping_details]
|
|
5821
|
-
@unit_tax = args[:unit_tax]
|
|
5945
|
+
@product = args[:product] if args.key?(:product)
|
|
5946
|
+
@quantity_ordered = args[:quantity_ordered] if args.key?(:quantity_ordered)
|
|
5947
|
+
@return_info = args[:return_info] if args.key?(:return_info)
|
|
5948
|
+
@shipping_details = args[:shipping_details] if args.key?(:shipping_details)
|
|
5949
|
+
@unit_tax = args[:unit_tax] if args.key?(:unit_tax)
|
|
5822
5950
|
end
|
|
5823
5951
|
end
|
|
5824
5952
|
|
|
@@ -5897,19 +6025,19 @@ module Google
|
|
|
5897
6025
|
|
|
5898
6026
|
# Update properties of this object
|
|
5899
6027
|
def update!(**args)
|
|
5900
|
-
@brand = args[:brand]
|
|
5901
|
-
@channel = args[:channel]
|
|
5902
|
-
@condition = args[:condition]
|
|
5903
|
-
@content_language = args[:content_language]
|
|
5904
|
-
@gtin = args[:gtin]
|
|
5905
|
-
@image_link = args[:image_link]
|
|
5906
|
-
@item_group_id = args[:item_group_id]
|
|
5907
|
-
@mpn = args[:mpn]
|
|
5908
|
-
@offer_id = args[:offer_id]
|
|
5909
|
-
@price = args[:price]
|
|
5910
|
-
@target_country = args[:target_country]
|
|
5911
|
-
@title = args[:title]
|
|
5912
|
-
@variant_attributes = args[:variant_attributes]
|
|
6028
|
+
@brand = args[:brand] if args.key?(:brand)
|
|
6029
|
+
@channel = args[:channel] if args.key?(:channel)
|
|
6030
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
6031
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
|
6032
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
6033
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
|
6034
|
+
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
|
6035
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
|
6036
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
|
6037
|
+
@price = args[:price] if args.key?(:price)
|
|
6038
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
|
6039
|
+
@title = args[:title] if args.key?(:title)
|
|
6040
|
+
@variant_attributes = args[:variant_attributes] if args.key?(:variant_attributes)
|
|
5913
6041
|
end
|
|
5914
6042
|
end
|
|
5915
6043
|
|
|
@@ -5949,11 +6077,11 @@ module Google
|
|
|
5949
6077
|
|
|
5950
6078
|
# Update properties of this object
|
|
5951
6079
|
def update!(**args)
|
|
5952
|
-
@expiration_month = args[:expiration_month]
|
|
5953
|
-
@expiration_year = args[:expiration_year]
|
|
5954
|
-
@last_four_digits = args[:last_four_digits]
|
|
5955
|
-
@predefined_billing_address = args[:predefined_billing_address]
|
|
5956
|
-
@type = args[:type]
|
|
6080
|
+
@expiration_month = args[:expiration_month] if args.key?(:expiration_month)
|
|
6081
|
+
@expiration_year = args[:expiration_year] if args.key?(:expiration_year)
|
|
6082
|
+
@last_four_digits = args[:last_four_digits] if args.key?(:last_four_digits)
|
|
6083
|
+
@predefined_billing_address = args[:predefined_billing_address] if args.key?(:predefined_billing_address)
|
|
6084
|
+
@type = args[:type] if args.key?(:type)
|
|
5957
6085
|
end
|
|
5958
6086
|
end
|
|
5959
6087
|
|
|
@@ -5977,8 +6105,8 @@ module Google
|
|
|
5977
6105
|
|
|
5978
6106
|
# Update properties of this object
|
|
5979
6107
|
def update!(**args)
|
|
5980
|
-
@unit = args[:unit]
|
|
5981
|
-
@value = args[:value]
|
|
6108
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
6109
|
+
@value = args[:value] if args.key?(:value)
|
|
5982
6110
|
end
|
|
5983
6111
|
end
|
|
5984
6112
|
end
|