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.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +11 -2
  4. data/api_names.yaml +76 -43
  5. data/api_names_out.yaml +3853 -3508
  6. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
  11. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
  12. data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
  13. data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
  14. data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
  19. data/generated/google/apis/analytics_v3/classes.rb +582 -582
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
  22. data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
  24. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
  26. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
  27. data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
  28. data/generated/google/apis/appengine_v1beta5.rb +35 -0
  29. data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
  30. data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
  31. data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
  32. data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
  33. data/generated/google/apis/appstate_v1.rb +1 -1
  34. data/generated/google/apis/appstate_v1/classes.rb +12 -12
  35. data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
  36. data/generated/google/apis/bigquery_v2.rb +1 -1
  37. data/generated/google/apis/bigquery_v2/classes.rb +266 -265
  38. data/generated/google/apis/blogger_v3/classes.rb +145 -145
  39. data/generated/google/apis/books_v1.rb +1 -1
  40. data/generated/google/apis/books_v1/classes.rb +431 -431
  41. data/generated/google/apis/books_v1/service.rb +3 -12
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/calendar_v3/classes.rb +180 -180
  44. data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
  45. data/generated/google/apis/classroom_v1/classes.rb +42 -42
  46. data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
  47. data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
  51. data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
  52. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  53. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  54. data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
  55. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  56. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
  60. data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_beta/classes.rb +1051 -998
  63. data/generated/google/apis/compute_beta/representations.rb +1 -0
  64. data/generated/google/apis/compute_beta/service.rb +426 -366
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/compute_v1/classes.rb +1332 -946
  67. data/generated/google/apis/compute_v1/representations.rb +108 -0
  68. data/generated/google/apis/compute_v1/service.rb +686 -318
  69. data/generated/google/apis/container_v1/classes.rb +43 -43
  70. data/generated/google/apis/content_v2.rb +1 -1
  71. data/generated/google/apis/content_v2/classes.rb +767 -639
  72. data/generated/google/apis/content_v2/representations.rb +40 -0
  73. data/generated/google/apis/coordinate_v1/classes.rb +66 -66
  74. data/generated/google/apis/customsearch_v1/classes.rb +96 -96
  75. data/generated/google/apis/dataproc_v1.rb +43 -0
  76. data/generated/google/apis/dataproc_v1/classes.rb +175 -0
  77. data/generated/google/apis/dataproc_v1/representations.rb +84 -0
  78. data/generated/google/apis/dataproc_v1/service.rb +142 -0
  79. data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
  80. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  81. data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
  82. data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
  83. data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
  84. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  85. data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
  86. data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
  87. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  88. data/generated/google/apis/discovery_v1/classes.rb +106 -106
  89. data/generated/google/apis/dns_v1/classes.rb +39 -39
  90. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  91. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
  92. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
  93. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
  94. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
  96. data/generated/google/apis/drive_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2/classes.rb +308 -308
  98. data/generated/google/apis/drive_v2/service.rb +44 -0
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +178 -178
  101. data/generated/google/apis/drive_v3/service.rb +2 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +74 -74
  103. data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
  104. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  105. data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
  106. data/generated/google/apis/games_management_v1management.rb +2 -2
  107. data/generated/google/apis/games_management_v1management/classes.rb +55 -46
  108. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  109. data/generated/google/apis/games_v1.rb +2 -2
  110. data/generated/google/apis/games_v1/classes.rb +484 -475
  111. data/generated/google/apis/games_v1/representations.rb +1 -0
  112. data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
  113. data/generated/google/apis/genomics_v1.rb +2 -2
  114. data/generated/google/apis/genomics_v1/classes.rb +441 -232
  115. data/generated/google/apis/genomics_v1/representations.rb +85 -0
  116. data/generated/google/apis/genomics_v1/service.rb +1 -1
  117. data/generated/google/apis/gmail_v1/classes.rb +73 -73
  118. data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
  119. data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
  120. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  121. data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
  122. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  123. data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
  124. data/generated/google/apis/licensing_v1/classes.rb +11 -11
  125. data/generated/google/apis/logging_v2beta1.rb +47 -0
  126. data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
  127. data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
  128. data/generated/google/apis/logging_v2beta1/service.rb +547 -0
  129. data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
  130. data/generated/google/apis/mirror_v1/classes.rb +101 -101
  131. data/generated/google/apis/oauth2_v2.rb +2 -2
  132. data/generated/google/apis/oauth2_v2/classes.rb +27 -27
  133. data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
  134. data/generated/google/apis/partners_v2/classes.rb +87 -87
  135. data/generated/google/apis/people_v1.rb +59 -0
  136. data/generated/google/apis/people_v1/classes.rb +1594 -0
  137. data/generated/google/apis/people_v1/representations.rb +593 -0
  138. data/generated/google/apis/people_v1/service.rb +193 -0
  139. data/generated/google/apis/plus_domains_v1.rb +2 -2
  140. data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
  141. data/generated/google/apis/plus_v1.rb +2 -2
  142. data/generated/google/apis/plus_v1/classes.rb +215 -215
  143. data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
  144. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
  145. data/generated/google/apis/pubsub_v1/classes.rb +36 -36
  146. data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
  147. data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
  148. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
  149. data/generated/google/apis/reseller_v1.rb +1 -1
  150. data/generated/google/apis/reseller_v1/classes.rb +55 -55
  151. data/generated/google/apis/reseller_v1/service.rb +1 -1
  152. data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
  153. data/generated/google/apis/script_v1/classes.rb +18 -18
  154. data/generated/google/apis/site_verification_v1/classes.rb +12 -12
  155. data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
  156. data/generated/google/apis/storage_v1.rb +1 -1
  157. data/generated/google/apis/storage_v1/classes.rb +130 -130
  158. data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
  159. data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
  160. data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
  161. data/generated/google/apis/tasks_v1/classes.rb +32 -32
  162. data/generated/google/apis/translate_v2/classes.rb +10 -10
  163. data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
  164. data/generated/google/apis/webmasters_v3/classes.rb +49 -49
  165. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
  167. data/generated/google/apis/youtube_v3.rb +1 -1
  168. data/generated/google/apis/youtube_v3/classes.rb +882 -895
  169. data/generated/google/apis/youtube_v3/representations.rb +2 -13
  170. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
  171. data/lib/google/apis/core/api_command.rb +1 -1
  172. data/lib/google/apis/core/upload.rb +1 -1
  173. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  174. data/lib/google/apis/version.rb +1 -1
  175. data/samples/cli/lib/base_cli.rb +2 -1
  176. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  177. data/script/generate +17 -13
  178. metadata +35 -6
  179. data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
  180. data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
  181. data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/books/docs/v1/getting_started
26
26
  module BooksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20151218'
28
+ REVISION = '20160113'
29
29
 
30
30
  # Manage your books
31
31
  AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
@@ -120,23 +120,23 @@ module Google
120
120
 
121
121
  # Update properties of this object
122
122
  def update!(**args)
123
- @after_selected_text = args[:after_selected_text] unless args[:after_selected_text].nil?
124
- @before_selected_text = args[:before_selected_text] unless args[:before_selected_text].nil?
125
- @client_version_ranges = args[:client_version_ranges] unless args[:client_version_ranges].nil?
126
- @created = args[:created] unless args[:created].nil?
127
- @current_version_ranges = args[:current_version_ranges] unless args[:current_version_ranges].nil?
128
- @data = args[:data] unless args[:data].nil?
129
- @deleted = args[:deleted] unless args[:deleted].nil?
130
- @highlight_style = args[:highlight_style] unless args[:highlight_style].nil?
131
- @id = args[:id] unless args[:id].nil?
132
- @kind = args[:kind] unless args[:kind].nil?
133
- @layer_id = args[:layer_id] unless args[:layer_id].nil?
134
- @layer_summary = args[:layer_summary] unless args[:layer_summary].nil?
135
- @page_ids = args[:page_ids] unless args[:page_ids].nil?
136
- @selected_text = args[:selected_text] unless args[:selected_text].nil?
137
- @self_link = args[:self_link] unless args[:self_link].nil?
138
- @updated = args[:updated] unless args[:updated].nil?
139
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
123
+ @after_selected_text = args[:after_selected_text] if args.key?(:after_selected_text)
124
+ @before_selected_text = args[:before_selected_text] if args.key?(:before_selected_text)
125
+ @client_version_ranges = args[:client_version_ranges] if args.key?(:client_version_ranges)
126
+ @created = args[:created] if args.key?(:created)
127
+ @current_version_ranges = args[:current_version_ranges] if args.key?(:current_version_ranges)
128
+ @data = args[:data] if args.key?(:data)
129
+ @deleted = args[:deleted] if args.key?(:deleted)
130
+ @highlight_style = args[:highlight_style] if args.key?(:highlight_style)
131
+ @id = args[:id] if args.key?(:id)
132
+ @kind = args[:kind] if args.key?(:kind)
133
+ @layer_id = args[:layer_id] if args.key?(:layer_id)
134
+ @layer_summary = args[:layer_summary] if args.key?(:layer_summary)
135
+ @page_ids = args[:page_ids] if args.key?(:page_ids)
136
+ @selected_text = args[:selected_text] if args.key?(:selected_text)
137
+ @self_link = args[:self_link] if args.key?(:self_link)
138
+ @updated = args[:updated] if args.key?(:updated)
139
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
140
140
  end
141
141
 
142
142
  # Selection ranges sent from the client.
@@ -174,11 +174,11 @@ module Google
174
174
 
175
175
  # Update properties of this object
176
176
  def update!(**args)
177
- @cfi_range = args[:cfi_range] unless args[:cfi_range].nil?
178
- @content_version = args[:content_version] unless args[:content_version].nil?
179
- @gb_image_range = args[:gb_image_range] unless args[:gb_image_range].nil?
180
- @gb_text_range = args[:gb_text_range] unless args[:gb_text_range].nil?
181
- @image_cfi_range = args[:image_cfi_range] unless args[:image_cfi_range].nil?
177
+ @cfi_range = args[:cfi_range] if args.key?(:cfi_range)
178
+ @content_version = args[:content_version] if args.key?(:content_version)
179
+ @gb_image_range = args[:gb_image_range] if args.key?(:gb_image_range)
180
+ @gb_text_range = args[:gb_text_range] if args.key?(:gb_text_range)
181
+ @image_cfi_range = args[:image_cfi_range] if args.key?(:image_cfi_range)
182
182
  end
183
183
  end
184
184
 
@@ -217,11 +217,11 @@ module Google
217
217
 
218
218
  # Update properties of this object
219
219
  def update!(**args)
220
- @cfi_range = args[:cfi_range] unless args[:cfi_range].nil?
221
- @content_version = args[:content_version] unless args[:content_version].nil?
222
- @gb_image_range = args[:gb_image_range] unless args[:gb_image_range].nil?
223
- @gb_text_range = args[:gb_text_range] unless args[:gb_text_range].nil?
224
- @image_cfi_range = args[:image_cfi_range] unless args[:image_cfi_range].nil?
220
+ @cfi_range = args[:cfi_range] if args.key?(:cfi_range)
221
+ @content_version = args[:content_version] if args.key?(:content_version)
222
+ @gb_image_range = args[:gb_image_range] if args.key?(:gb_image_range)
223
+ @gb_text_range = args[:gb_text_range] if args.key?(:gb_text_range)
224
+ @image_cfi_range = args[:image_cfi_range] if args.key?(:image_cfi_range)
225
225
  end
226
226
  end
227
227
 
@@ -251,9 +251,9 @@ module Google
251
251
 
252
252
  # Update properties of this object
253
253
  def update!(**args)
254
- @allowed_character_count = args[:allowed_character_count] unless args[:allowed_character_count].nil?
255
- @limit_type = args[:limit_type] unless args[:limit_type].nil?
256
- @remaining_character_count = args[:remaining_character_count] unless args[:remaining_character_count].nil?
254
+ @allowed_character_count = args[:allowed_character_count] if args.key?(:allowed_character_count)
255
+ @limit_type = args[:limit_type] if args.key?(:limit_type)
256
+ @remaining_character_count = args[:remaining_character_count] if args.key?(:remaining_character_count)
257
257
  end
258
258
  end
259
259
  end
@@ -314,15 +314,15 @@ module Google
314
314
 
315
315
  # Update properties of this object
316
316
  def update!(**args)
317
- @annotation_type = args[:annotation_type] unless args[:annotation_type].nil?
318
- @data = args[:data] unless args[:data].nil?
319
- @encoded_data = args[:encoded_data] unless args[:encoded_data].nil?
320
- @id = args[:id] unless args[:id].nil?
321
- @kind = args[:kind] unless args[:kind].nil?
322
- @layer_id = args[:layer_id] unless args[:layer_id].nil?
323
- @self_link = args[:self_link] unless args[:self_link].nil?
324
- @updated = args[:updated] unless args[:updated].nil?
325
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
317
+ @annotation_type = args[:annotation_type] if args.key?(:annotation_type)
318
+ @data = args[:data] if args.key?(:data)
319
+ @encoded_data = args[:encoded_data] if args.key?(:encoded_data)
320
+ @id = args[:id] if args.key?(:id)
321
+ @kind = args[:kind] if args.key?(:kind)
322
+ @layer_id = args[:layer_id] if args.key?(:layer_id)
323
+ @self_link = args[:self_link] if args.key?(:self_link)
324
+ @updated = args[:updated] if args.key?(:updated)
325
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
326
326
  end
327
327
  end
328
328
 
@@ -358,10 +358,10 @@ module Google
358
358
 
359
359
  # Update properties of this object
360
360
  def update!(**args)
361
- @items = args[:items] unless args[:items].nil?
362
- @kind = args[:kind] unless args[:kind].nil?
363
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
364
- @total_items = args[:total_items] unless args[:total_items].nil?
361
+ @items = args[:items] if args.key?(:items)
362
+ @kind = args[:kind] if args.key?(:kind)
363
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
364
+ @total_items = args[:total_items] if args.key?(:total_items)
365
365
  end
366
366
  end
367
367
 
@@ -385,8 +385,8 @@ module Google
385
385
 
386
386
  # Update properties of this object
387
387
  def update!(**args)
388
- @kind = args[:kind] unless args[:kind].nil?
389
- @layers = args[:layers] unless args[:layers].nil?
388
+ @kind = args[:kind] if args.key?(:kind)
389
+ @layers = args[:layers] if args.key?(:layers)
390
390
  end
391
391
 
392
392
  #
@@ -424,11 +424,11 @@ module Google
424
424
 
425
425
  # Update properties of this object
426
426
  def update!(**args)
427
- @allowed_character_count = args[:allowed_character_count] unless args[:allowed_character_count].nil?
428
- @layer_id = args[:layer_id] unless args[:layer_id].nil?
429
- @limit_type = args[:limit_type] unless args[:limit_type].nil?
430
- @remaining_character_count = args[:remaining_character_count] unless args[:remaining_character_count].nil?
431
- @updated = args[:updated] unless args[:updated].nil?
427
+ @allowed_character_count = args[:allowed_character_count] if args.key?(:allowed_character_count)
428
+ @layer_id = args[:layer_id] if args.key?(:layer_id)
429
+ @limit_type = args[:limit_type] if args.key?(:limit_type)
430
+ @remaining_character_count = args[:remaining_character_count] if args.key?(:remaining_character_count)
431
+ @updated = args[:updated] if args.key?(:updated)
432
432
  end
433
433
  end
434
434
  end
@@ -464,10 +464,10 @@ module Google
464
464
 
465
465
  # Update properties of this object
466
466
  def update!(**args)
467
- @items = args[:items] unless args[:items].nil?
468
- @kind = args[:kind] unless args[:kind].nil?
469
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
470
- @total_items = args[:total_items] unless args[:total_items].nil?
467
+ @items = args[:items] if args.key?(:items)
468
+ @kind = args[:kind] if args.key?(:kind)
469
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
470
+ @total_items = args[:total_items] if args.key?(:total_items)
471
471
  end
472
472
  end
473
473
 
@@ -501,10 +501,10 @@ module Google
501
501
 
502
502
  # Update properties of this object
503
503
  def update!(**args)
504
- @end_offset = args[:end_offset] unless args[:end_offset].nil?
505
- @end_position = args[:end_position] unless args[:end_position].nil?
506
- @start_offset = args[:start_offset] unless args[:start_offset].nil?
507
- @start_position = args[:start_position] unless args[:start_position].nil?
504
+ @end_offset = args[:end_offset] if args.key?(:end_offset)
505
+ @end_position = args[:end_position] if args.key?(:end_position)
506
+ @start_offset = args[:start_offset] if args.key?(:start_offset)
507
+ @start_position = args[:start_position] if args.key?(:start_position)
508
508
  end
509
509
  end
510
510
 
@@ -538,10 +538,10 @@ module Google
538
538
 
539
539
  # Update properties of this object
540
540
  def update!(**args)
541
- @author = args[:author] unless args[:author].nil?
542
- @processing_state = args[:processing_state] unless args[:processing_state].nil?
543
- @title = args[:title] unless args[:title].nil?
544
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
541
+ @author = args[:author] if args.key?(:author)
542
+ @processing_state = args[:processing_state] if args.key?(:processing_state)
543
+ @title = args[:title] if args.key?(:title)
544
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
545
545
  end
546
546
  end
547
547
 
@@ -560,7 +560,7 @@ module Google
560
560
 
561
561
  # Update properties of this object
562
562
  def update!(**args)
563
- @consistency_token = args[:consistency_token] unless args[:consistency_token].nil?
563
+ @consistency_token = args[:consistency_token] if args.key?(:consistency_token)
564
564
  end
565
565
  end
566
566
 
@@ -627,16 +627,16 @@ module Google
627
627
 
628
628
  # Update properties of this object
629
629
  def update!(**args)
630
- @access = args[:access] unless args[:access].nil?
631
- @created = args[:created] unless args[:created].nil?
632
- @description = args[:description] unless args[:description].nil?
633
- @id = args[:id] unless args[:id].nil?
634
- @kind = args[:kind] unless args[:kind].nil?
635
- @self_link = args[:self_link] unless args[:self_link].nil?
636
- @title = args[:title] unless args[:title].nil?
637
- @updated = args[:updated] unless args[:updated].nil?
638
- @volume_count = args[:volume_count] unless args[:volume_count].nil?
639
- @volumes_last_updated = args[:volumes_last_updated] unless args[:volumes_last_updated].nil?
630
+ @access = args[:access] if args.key?(:access)
631
+ @created = args[:created] if args.key?(:created)
632
+ @description = args[:description] if args.key?(:description)
633
+ @id = args[:id] if args.key?(:id)
634
+ @kind = args[:kind] if args.key?(:kind)
635
+ @self_link = args[:self_link] if args.key?(:self_link)
636
+ @title = args[:title] if args.key?(:title)
637
+ @updated = args[:updated] if args.key?(:updated)
638
+ @volume_count = args[:volume_count] if args.key?(:volume_count)
639
+ @volumes_last_updated = args[:volumes_last_updated] if args.key?(:volumes_last_updated)
640
640
  end
641
641
  end
642
642
 
@@ -660,8 +660,8 @@ module Google
660
660
 
661
661
  # Update properties of this object
662
662
  def update!(**args)
663
- @items = args[:items] unless args[:items].nil?
664
- @kind = args[:kind] unless args[:kind].nil?
663
+ @items = args[:items] if args.key?(:items)
664
+ @kind = args[:kind] if args.key?(:kind)
665
665
  end
666
666
  end
667
667
 
@@ -685,8 +685,8 @@ module Google
685
685
 
686
686
  # Update properties of this object
687
687
  def update!(**args)
688
- @items = args[:items] unless args[:items].nil?
689
- @kind = args[:kind] unless args[:kind].nil?
688
+ @items = args[:items] if args.key?(:items)
689
+ @kind = args[:kind] if args.key?(:kind)
690
690
  end
691
691
 
692
692
  #
@@ -714,9 +714,9 @@ module Google
714
714
 
715
715
  # Update properties of this object
716
716
  def update!(**args)
717
- @badge_url = args[:badge_url] unless args[:badge_url].nil?
718
- @category_id = args[:category_id] unless args[:category_id].nil?
719
- @name = args[:name] unless args[:name].nil?
717
+ @badge_url = args[:badge_url] if args.key?(:badge_url)
718
+ @category_id = args[:category_id] if args.key?(:category_id)
719
+ @name = args[:name] if args.key?(:name)
720
720
  end
721
721
  end
722
722
  end
@@ -789,17 +789,17 @@ module Google
789
789
 
790
790
  # Update properties of this object
791
791
  def update!(**args)
792
- @device_allowed = args[:device_allowed] unless args[:device_allowed].nil?
793
- @kind = args[:kind] unless args[:kind].nil?
794
- @max_concurrent_devices = args[:max_concurrent_devices] unless args[:max_concurrent_devices].nil?
795
- @message = args[:message] unless args[:message].nil?
796
- @nonce = args[:nonce] unless args[:nonce].nil?
797
- @reason_code = args[:reason_code] unless args[:reason_code].nil?
798
- @restricted = args[:restricted] unless args[:restricted].nil?
799
- @signature = args[:signature] unless args[:signature].nil?
800
- @source = args[:source] unless args[:source].nil?
801
- @time_window_seconds = args[:time_window_seconds] unless args[:time_window_seconds].nil?
802
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
792
+ @device_allowed = args[:device_allowed] if args.key?(:device_allowed)
793
+ @kind = args[:kind] if args.key?(:kind)
794
+ @max_concurrent_devices = args[:max_concurrent_devices] if args.key?(:max_concurrent_devices)
795
+ @message = args[:message] if args.key?(:message)
796
+ @nonce = args[:nonce] if args.key?(:nonce)
797
+ @reason_code = args[:reason_code] if args.key?(:reason_code)
798
+ @restricted = args[:restricted] if args.key?(:restricted)
799
+ @signature = args[:signature] if args.key?(:signature)
800
+ @source = args[:source] if args.key?(:source)
801
+ @time_window_seconds = args[:time_window_seconds] if args.key?(:time_window_seconds)
802
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
803
803
  end
804
804
  end
805
805
 
@@ -828,9 +828,9 @@ module Google
828
828
 
829
829
  # Update properties of this object
830
830
  def update!(**args)
831
- @common = args[:common] unless args[:common].nil?
832
- @dict = args[:dict] unless args[:dict].nil?
833
- @kind = args[:kind] unless args[:kind].nil?
831
+ @common = args[:common] if args.key?(:common)
832
+ @dict = args[:dict] if args.key?(:dict)
833
+ @kind = args[:kind] if args.key?(:kind)
834
834
  end
835
835
 
836
836
  #
@@ -849,7 +849,7 @@ module Google
849
849
 
850
850
  # Update properties of this object
851
851
  def update!(**args)
852
- @title = args[:title] unless args[:title].nil?
852
+ @title = args[:title] if args.key?(:title)
853
853
  end
854
854
  end
855
855
 
@@ -873,8 +873,8 @@ module Google
873
873
 
874
874
  # Update properties of this object
875
875
  def update!(**args)
876
- @source = args[:source] unless args[:source].nil?
877
- @words = args[:words] unless args[:words].nil?
876
+ @source = args[:source] if args.key?(:source)
877
+ @words = args[:words] if args.key?(:words)
878
878
  end
879
879
 
880
880
  # The source, url and attribution for this dictionary data.
@@ -897,8 +897,8 @@ module Google
897
897
 
898
898
  # Update properties of this object
899
899
  def update!(**args)
900
- @attribution = args[:attribution] unless args[:attribution].nil?
901
- @url = args[:url] unless args[:url].nil?
900
+ @attribution = args[:attribution] if args.key?(:attribution)
901
+ @url = args[:url] if args.key?(:url)
902
902
  end
903
903
  end
904
904
 
@@ -933,10 +933,10 @@ module Google
933
933
 
934
934
  # Update properties of this object
935
935
  def update!(**args)
936
- @derivatives = args[:derivatives] unless args[:derivatives].nil?
937
- @examples = args[:examples] unless args[:examples].nil?
938
- @senses = args[:senses] unless args[:senses].nil?
939
- @source = args[:source] unless args[:source].nil?
936
+ @derivatives = args[:derivatives] if args.key?(:derivatives)
937
+ @examples = args[:examples] if args.key?(:examples)
938
+ @senses = args[:senses] if args.key?(:senses)
939
+ @source = args[:source] if args.key?(:source)
940
940
  end
941
941
 
942
942
  #
@@ -959,8 +959,8 @@ module Google
959
959
 
960
960
  # Update properties of this object
961
961
  def update!(**args)
962
- @source = args[:source] unless args[:source].nil?
963
- @text = args[:text] unless args[:text].nil?
962
+ @source = args[:source] if args.key?(:source)
963
+ @text = args[:text] if args.key?(:text)
964
964
  end
965
965
 
966
966
  #
@@ -983,8 +983,8 @@ module Google
983
983
 
984
984
  # Update properties of this object
985
985
  def update!(**args)
986
- @attribution = args[:attribution] unless args[:attribution].nil?
987
- @url = args[:url] unless args[:url].nil?
986
+ @attribution = args[:attribution] if args.key?(:attribution)
987
+ @url = args[:url] if args.key?(:url)
988
988
  end
989
989
  end
990
990
  end
@@ -1009,8 +1009,8 @@ module Google
1009
1009
 
1010
1010
  # Update properties of this object
1011
1011
  def update!(**args)
1012
- @source = args[:source] unless args[:source].nil?
1013
- @text = args[:text] unless args[:text].nil?
1012
+ @source = args[:source] if args.key?(:source)
1013
+ @text = args[:text] if args.key?(:text)
1014
1014
  end
1015
1015
 
1016
1016
  #
@@ -1033,8 +1033,8 @@ module Google
1033
1033
 
1034
1034
  # Update properties of this object
1035
1035
  def update!(**args)
1036
- @attribution = args[:attribution] unless args[:attribution].nil?
1037
- @url = args[:url] unless args[:url].nil?
1036
+ @attribution = args[:attribution] if args.key?(:attribution)
1037
+ @url = args[:url] if args.key?(:url)
1038
1038
  end
1039
1039
  end
1040
1040
  end
@@ -1089,14 +1089,14 @@ module Google
1089
1089
 
1090
1090
  # Update properties of this object
1091
1091
  def update!(**args)
1092
- @conjugations = args[:conjugations] unless args[:conjugations].nil?
1093
- @definitions = args[:definitions] unless args[:definitions].nil?
1094
- @part_of_speech = args[:part_of_speech] unless args[:part_of_speech].nil?
1095
- @pronunciation = args[:pronunciation] unless args[:pronunciation].nil?
1096
- @pronunciation_url = args[:pronunciation_url] unless args[:pronunciation_url].nil?
1097
- @source = args[:source] unless args[:source].nil?
1098
- @syllabification = args[:syllabification] unless args[:syllabification].nil?
1099
- @synonyms = args[:synonyms] unless args[:synonyms].nil?
1092
+ @conjugations = args[:conjugations] if args.key?(:conjugations)
1093
+ @definitions = args[:definitions] if args.key?(:definitions)
1094
+ @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech)
1095
+ @pronunciation = args[:pronunciation] if args.key?(:pronunciation)
1096
+ @pronunciation_url = args[:pronunciation_url] if args.key?(:pronunciation_url)
1097
+ @source = args[:source] if args.key?(:source)
1098
+ @syllabification = args[:syllabification] if args.key?(:syllabification)
1099
+ @synonyms = args[:synonyms] if args.key?(:synonyms)
1100
1100
  end
1101
1101
 
1102
1102
  #
@@ -1119,8 +1119,8 @@ module Google
1119
1119
 
1120
1120
  # Update properties of this object
1121
1121
  def update!(**args)
1122
- @type = args[:type] unless args[:type].nil?
1123
- @value = args[:value] unless args[:value].nil?
1122
+ @type = args[:type] if args.key?(:type)
1123
+ @value = args[:value] if args.key?(:value)
1124
1124
  end
1125
1125
  end
1126
1126
 
@@ -1144,8 +1144,8 @@ module Google
1144
1144
 
1145
1145
  # Update properties of this object
1146
1146
  def update!(**args)
1147
- @definition = args[:definition] unless args[:definition].nil?
1148
- @examples = args[:examples] unless args[:examples].nil?
1147
+ @definition = args[:definition] if args.key?(:definition)
1148
+ @examples = args[:examples] if args.key?(:examples)
1149
1149
  end
1150
1150
 
1151
1151
  #
@@ -1168,8 +1168,8 @@ module Google
1168
1168
 
1169
1169
  # Update properties of this object
1170
1170
  def update!(**args)
1171
- @source = args[:source] unless args[:source].nil?
1172
- @text = args[:text] unless args[:text].nil?
1171
+ @source = args[:source] if args.key?(:source)
1172
+ @text = args[:text] if args.key?(:text)
1173
1173
  end
1174
1174
 
1175
1175
  #
@@ -1192,8 +1192,8 @@ module Google
1192
1192
 
1193
1193
  # Update properties of this object
1194
1194
  def update!(**args)
1195
- @attribution = args[:attribution] unless args[:attribution].nil?
1196
- @url = args[:url] unless args[:url].nil?
1195
+ @attribution = args[:attribution] if args.key?(:attribution)
1196
+ @url = args[:url] if args.key?(:url)
1197
1197
  end
1198
1198
  end
1199
1199
  end
@@ -1219,8 +1219,8 @@ module Google
1219
1219
 
1220
1220
  # Update properties of this object
1221
1221
  def update!(**args)
1222
- @attribution = args[:attribution] unless args[:attribution].nil?
1223
- @url = args[:url] unless args[:url].nil?
1222
+ @attribution = args[:attribution] if args.key?(:attribution)
1223
+ @url = args[:url] if args.key?(:url)
1224
1224
  end
1225
1225
  end
1226
1226
 
@@ -1244,8 +1244,8 @@ module Google
1244
1244
 
1245
1245
  # Update properties of this object
1246
1246
  def update!(**args)
1247
- @source = args[:source] unless args[:source].nil?
1248
- @text = args[:text] unless args[:text].nil?
1247
+ @source = args[:source] if args.key?(:source)
1248
+ @text = args[:text] if args.key?(:text)
1249
1249
  end
1250
1250
 
1251
1251
  #
@@ -1268,8 +1268,8 @@ module Google
1268
1268
 
1269
1269
  # Update properties of this object
1270
1270
  def update!(**args)
1271
- @attribution = args[:attribution] unless args[:attribution].nil?
1272
- @url = args[:url] unless args[:url].nil?
1271
+ @attribution = args[:attribution] if args.key?(:attribution)
1272
+ @url = args[:url] if args.key?(:url)
1273
1273
  end
1274
1274
  end
1275
1275
  end
@@ -1296,8 +1296,8 @@ module Google
1296
1296
 
1297
1297
  # Update properties of this object
1298
1298
  def update!(**args)
1299
- @attribution = args[:attribution] unless args[:attribution].nil?
1300
- @url = args[:url] unless args[:url].nil?
1299
+ @attribution = args[:attribution] if args.key?(:attribution)
1300
+ @url = args[:url] if args.key?(:url)
1301
1301
  end
1302
1302
  end
1303
1303
  end
@@ -1329,9 +1329,9 @@ module Google
1329
1329
 
1330
1330
  # Update properties of this object
1331
1331
  def update!(**args)
1332
- @clusters = args[:clusters] unless args[:clusters].nil?
1333
- @kind = args[:kind] unless args[:kind].nil?
1334
- @total_clusters = args[:total_clusters] unless args[:total_clusters].nil?
1332
+ @clusters = args[:clusters] if args.key?(:clusters)
1333
+ @kind = args[:kind] if args.key?(:kind)
1334
+ @total_clusters = args[:total_clusters] if args.key?(:total_clusters)
1335
1335
  end
1336
1336
 
1337
1337
  #
@@ -1374,12 +1374,12 @@ module Google
1374
1374
 
1375
1375
  # Update properties of this object
1376
1376
  def update!(**args)
1377
- @banner_with_content_container = args[:banner_with_content_container] unless args[:banner_with_content_container].nil?
1378
- @sub_title = args[:sub_title] unless args[:sub_title].nil?
1379
- @title = args[:title] unless args[:title].nil?
1380
- @total_volumes = args[:total_volumes] unless args[:total_volumes].nil?
1381
- @uid = args[:uid] unless args[:uid].nil?
1382
- @volumes = args[:volumes] unless args[:volumes].nil?
1377
+ @banner_with_content_container = args[:banner_with_content_container] if args.key?(:banner_with_content_container)
1378
+ @sub_title = args[:sub_title] if args.key?(:sub_title)
1379
+ @title = args[:title] if args.key?(:title)
1380
+ @total_volumes = args[:total_volumes] if args.key?(:total_volumes)
1381
+ @uid = args[:uid] if args.key?(:uid)
1382
+ @volumes = args[:volumes] if args.key?(:volumes)
1383
1383
  end
1384
1384
 
1385
1385
  #
@@ -1422,12 +1422,12 @@ module Google
1422
1422
 
1423
1423
  # Update properties of this object
1424
1424
  def update!(**args)
1425
- @fill_color_argb = args[:fill_color_argb] unless args[:fill_color_argb].nil?
1426
- @image_url = args[:image_url] unless args[:image_url].nil?
1427
- @mask_color_argb = args[:mask_color_argb] unless args[:mask_color_argb].nil?
1428
- @more_button_text = args[:more_button_text] unless args[:more_button_text].nil?
1429
- @more_button_url = args[:more_button_url] unless args[:more_button_url].nil?
1430
- @text_color_argb = args[:text_color_argb] unless args[:text_color_argb].nil?
1425
+ @fill_color_argb = args[:fill_color_argb] if args.key?(:fill_color_argb)
1426
+ @image_url = args[:image_url] if args.key?(:image_url)
1427
+ @mask_color_argb = args[:mask_color_argb] if args.key?(:mask_color_argb)
1428
+ @more_button_text = args[:more_button_text] if args.key?(:more_button_text)
1429
+ @more_button_url = args[:more_button_url] if args.key?(:more_button_url)
1430
+ @text_color_argb = args[:text_color_argb] if args.key?(:text_color_argb)
1431
1431
  end
1432
1432
  end
1433
1433
  end
@@ -1510,18 +1510,18 @@ module Google
1510
1510
 
1511
1511
  # Update properties of this object
1512
1512
  def update!(**args)
1513
- @device_allowed = args[:device_allowed] unless args[:device_allowed].nil?
1514
- @downloads_acquired = args[:downloads_acquired] unless args[:downloads_acquired].nil?
1515
- @just_acquired = args[:just_acquired] unless args[:just_acquired].nil?
1516
- @kind = args[:kind] unless args[:kind].nil?
1517
- @max_download_devices = args[:max_download_devices] unless args[:max_download_devices].nil?
1518
- @message = args[:message] unless args[:message].nil?
1519
- @nonce = args[:nonce] unless args[:nonce].nil?
1520
- @reason_code = args[:reason_code] unless args[:reason_code].nil?
1521
- @restricted = args[:restricted] unless args[:restricted].nil?
1522
- @signature = args[:signature] unless args[:signature].nil?
1523
- @source = args[:source] unless args[:source].nil?
1524
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
1513
+ @device_allowed = args[:device_allowed] if args.key?(:device_allowed)
1514
+ @downloads_acquired = args[:downloads_acquired] if args.key?(:downloads_acquired)
1515
+ @just_acquired = args[:just_acquired] if args.key?(:just_acquired)
1516
+ @kind = args[:kind] if args.key?(:kind)
1517
+ @max_download_devices = args[:max_download_devices] if args.key?(:max_download_devices)
1518
+ @message = args[:message] if args.key?(:message)
1519
+ @nonce = args[:nonce] if args.key?(:nonce)
1520
+ @reason_code = args[:reason_code] if args.key?(:reason_code)
1521
+ @restricted = args[:restricted] if args.key?(:restricted)
1522
+ @signature = args[:signature] if args.key?(:signature)
1523
+ @source = args[:source] if args.key?(:source)
1524
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
1525
1525
  end
1526
1526
  end
1527
1527
 
@@ -1545,8 +1545,8 @@ module Google
1545
1545
 
1546
1546
  # Update properties of this object
1547
1547
  def update!(**args)
1548
- @download_access_list = args[:download_access_list] unless args[:download_access_list].nil?
1549
- @kind = args[:kind] unless args[:kind].nil?
1548
+ @download_access_list = args[:download_access_list] if args.key?(:download_access_list)
1549
+ @kind = args[:kind] if args.key?(:kind)
1550
1550
  end
1551
1551
  end
1552
1552
 
@@ -1575,9 +1575,9 @@ module Google
1575
1575
 
1576
1576
  # Update properties of this object
1577
1577
  def update!(**args)
1578
- @common = args[:common] unless args[:common].nil?
1579
- @geo = args[:geo] unless args[:geo].nil?
1580
- @kind = args[:kind] unless args[:kind].nil?
1578
+ @common = args[:common] if args.key?(:common)
1579
+ @geo = args[:geo] if args.key?(:geo)
1580
+ @kind = args[:kind] if args.key?(:kind)
1581
1581
  end
1582
1582
 
1583
1583
  #
@@ -1616,11 +1616,11 @@ module Google
1616
1616
 
1617
1617
  # Update properties of this object
1618
1618
  def update!(**args)
1619
- @lang = args[:lang] unless args[:lang].nil?
1620
- @preview_image_url = args[:preview_image_url] unless args[:preview_image_url].nil?
1621
- @snippet = args[:snippet] unless args[:snippet].nil?
1622
- @snippet_url = args[:snippet_url] unless args[:snippet_url].nil?
1623
- @title = args[:title] unless args[:title].nil?
1619
+ @lang = args[:lang] if args.key?(:lang)
1620
+ @preview_image_url = args[:preview_image_url] if args.key?(:preview_image_url)
1621
+ @snippet = args[:snippet] if args.key?(:snippet)
1622
+ @snippet_url = args[:snippet_url] if args.key?(:snippet_url)
1623
+ @title = args[:title] if args.key?(:title)
1624
1624
  end
1625
1625
  end
1626
1626
 
@@ -1680,14 +1680,14 @@ module Google
1680
1680
 
1681
1681
  # Update properties of this object
1682
1682
  def update!(**args)
1683
- @boundary = args[:boundary] unless args[:boundary].nil?
1684
- @cache_policy = args[:cache_policy] unless args[:cache_policy].nil?
1685
- @country_code = args[:country_code] unless args[:country_code].nil?
1686
- @latitude = args[:latitude] unless args[:latitude].nil?
1687
- @longitude = args[:longitude] unless args[:longitude].nil?
1688
- @map_type = args[:map_type] unless args[:map_type].nil?
1689
- @viewport = args[:viewport] unless args[:viewport].nil?
1690
- @zoom = args[:zoom] unless args[:zoom].nil?
1683
+ @boundary = args[:boundary] if args.key?(:boundary)
1684
+ @cache_policy = args[:cache_policy] if args.key?(:cache_policy)
1685
+ @country_code = args[:country_code] if args.key?(:country_code)
1686
+ @latitude = args[:latitude] if args.key?(:latitude)
1687
+ @longitude = args[:longitude] if args.key?(:longitude)
1688
+ @map_type = args[:map_type] if args.key?(:map_type)
1689
+ @viewport = args[:viewport] if args.key?(:viewport)
1690
+ @zoom = args[:zoom] if args.key?(:zoom)
1691
1691
  end
1692
1692
 
1693
1693
  #
@@ -1710,8 +1710,8 @@ module Google
1710
1710
 
1711
1711
  # Update properties of this object
1712
1712
  def update!(**args)
1713
- @latitude = args[:latitude] unless args[:latitude].nil?
1714
- @longitude = args[:longitude] unless args[:longitude].nil?
1713
+ @latitude = args[:latitude] if args.key?(:latitude)
1714
+ @longitude = args[:longitude] if args.key?(:longitude)
1715
1715
  end
1716
1716
  end
1717
1717
 
@@ -1736,8 +1736,8 @@ module Google
1736
1736
 
1737
1737
  # Update properties of this object
1738
1738
  def update!(**args)
1739
- @hi = args[:hi] unless args[:hi].nil?
1740
- @lo = args[:lo] unless args[:lo].nil?
1739
+ @hi = args[:hi] if args.key?(:hi)
1740
+ @lo = args[:lo] if args.key?(:lo)
1741
1741
  end
1742
1742
 
1743
1743
  #
@@ -1760,8 +1760,8 @@ module Google
1760
1760
 
1761
1761
  # Update properties of this object
1762
1762
  def update!(**args)
1763
- @latitude = args[:latitude] unless args[:latitude].nil?
1764
- @longitude = args[:longitude] unless args[:longitude].nil?
1763
+ @latitude = args[:latitude] if args.key?(:latitude)
1764
+ @longitude = args[:longitude] if args.key?(:longitude)
1765
1765
  end
1766
1766
  end
1767
1767
 
@@ -1785,8 +1785,8 @@ module Google
1785
1785
 
1786
1786
  # Update properties of this object
1787
1787
  def update!(**args)
1788
- @latitude = args[:latitude] unless args[:latitude].nil?
1789
- @longitude = args[:longitude] unless args[:longitude].nil?
1788
+ @latitude = args[:latitude] if args.key?(:latitude)
1789
+ @longitude = args[:longitude] if args.key?(:longitude)
1790
1790
  end
1791
1791
  end
1792
1792
  end
@@ -1818,9 +1818,9 @@ module Google
1818
1818
 
1819
1819
  # Update properties of this object
1820
1820
  def update!(**args)
1821
- @items = args[:items] unless args[:items].nil?
1822
- @kind = args[:kind] unless args[:kind].nil?
1823
- @total_items = args[:total_items] unless args[:total_items].nil?
1821
+ @items = args[:items] if args.key?(:items)
1822
+ @kind = args[:kind] if args.key?(:kind)
1823
+ @total_items = args[:total_items] if args.key?(:total_items)
1824
1824
  end
1825
1825
  end
1826
1826
 
@@ -1902,19 +1902,19 @@ module Google
1902
1902
 
1903
1903
  # Update properties of this object
1904
1904
  def update!(**args)
1905
- @annotation_count = args[:annotation_count] unless args[:annotation_count].nil?
1906
- @annotation_types = args[:annotation_types] unless args[:annotation_types].nil?
1907
- @annotations_data_link = args[:annotations_data_link] unless args[:annotations_data_link].nil?
1908
- @annotations_link = args[:annotations_link] unless args[:annotations_link].nil?
1909
- @content_version = args[:content_version] unless args[:content_version].nil?
1910
- @data_count = args[:data_count] unless args[:data_count].nil?
1911
- @id = args[:id] unless args[:id].nil?
1912
- @kind = args[:kind] unless args[:kind].nil?
1913
- @layer_id = args[:layer_id] unless args[:layer_id].nil?
1914
- @self_link = args[:self_link] unless args[:self_link].nil?
1915
- @updated = args[:updated] unless args[:updated].nil?
1916
- @volume_annotations_version = args[:volume_annotations_version] unless args[:volume_annotations_version].nil?
1917
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
1905
+ @annotation_count = args[:annotation_count] if args.key?(:annotation_count)
1906
+ @annotation_types = args[:annotation_types] if args.key?(:annotation_types)
1907
+ @annotations_data_link = args[:annotations_data_link] if args.key?(:annotations_data_link)
1908
+ @annotations_link = args[:annotations_link] if args.key?(:annotations_link)
1909
+ @content_version = args[:content_version] if args.key?(:content_version)
1910
+ @data_count = args[:data_count] if args.key?(:data_count)
1911
+ @id = args[:id] if args.key?(:id)
1912
+ @kind = args[:kind] if args.key?(:kind)
1913
+ @layer_id = args[:layer_id] if args.key?(:layer_id)
1914
+ @self_link = args[:self_link] if args.key?(:self_link)
1915
+ @updated = args[:updated] if args.key?(:updated)
1916
+ @volume_annotations_version = args[:volume_annotations_version] if args.key?(:volume_annotations_version)
1917
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
1918
1918
  end
1919
1919
  end
1920
1920
 
@@ -1938,8 +1938,8 @@ module Google
1938
1938
 
1939
1939
  # Update properties of this object
1940
1940
  def update!(**args)
1941
- @items = args[:items] unless args[:items].nil?
1942
- @kind = args[:kind] unless args[:kind].nil?
1941
+ @items = args[:items] if args.key?(:items)
1942
+ @kind = args[:kind] if args.key?(:kind)
1943
1943
  end
1944
1944
 
1945
1945
  #
@@ -1977,11 +1977,11 @@ module Google
1977
1977
 
1978
1978
  # Update properties of this object
1979
1979
  def update!(**args)
1980
- @download_url = args[:download_url] unless args[:download_url].nil?
1981
- @encrypted_key = args[:encrypted_key] unless args[:encrypted_key].nil?
1982
- @language = args[:language] unless args[:language].nil?
1983
- @size = args[:size] unless args[:size].nil?
1984
- @version = args[:version] unless args[:version].nil?
1980
+ @download_url = args[:download_url] if args.key?(:download_url)
1981
+ @encrypted_key = args[:encrypted_key] if args.key?(:encrypted_key)
1982
+ @language = args[:language] if args.key?(:language)
1983
+ @size = args[:size] if args.key?(:size)
1984
+ @version = args[:version] if args.key?(:version)
1985
1985
  end
1986
1986
  end
1987
1987
  end
@@ -2043,15 +2043,15 @@ module Google
2043
2043
 
2044
2044
  # Update properties of this object
2045
2045
  def update!(**args)
2046
- @body = args[:body] unless args[:body].nil?
2047
- @dont_show_notification = args[:dont_show_notification] unless args[:dont_show_notification].nil?
2048
- @icon_url = args[:icon_url] unless args[:icon_url].nil?
2049
- @kind = args[:kind] unless args[:kind].nil?
2050
- @notification_type = args[:notification_type] unless args[:notification_type].nil?
2051
- @pcampaign_id = args[:pcampaign_id] unless args[:pcampaign_id].nil?
2052
- @show_notification_settings_action = args[:show_notification_settings_action] unless args[:show_notification_settings_action].nil?
2053
- @target_url = args[:target_url] unless args[:target_url].nil?
2054
- @title = args[:title] unless args[:title].nil?
2046
+ @body = args[:body] if args.key?(:body)
2047
+ @dont_show_notification = args[:dont_show_notification] if args.key?(:dont_show_notification)
2048
+ @icon_url = args[:icon_url] if args.key?(:icon_url)
2049
+ @kind = args[:kind] if args.key?(:kind)
2050
+ @notification_type = args[:notification_type] if args.key?(:notification_type)
2051
+ @pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id)
2052
+ @show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action)
2053
+ @target_url = args[:target_url] if args.key?(:target_url)
2054
+ @title = args[:title] if args.key?(:title)
2055
2055
  end
2056
2056
  end
2057
2057
 
@@ -2075,8 +2075,8 @@ module Google
2075
2075
 
2076
2076
  # Update properties of this object
2077
2077
  def update!(**args)
2078
- @items = args[:items] unless args[:items].nil?
2079
- @kind = args[:kind] unless args[:kind].nil?
2078
+ @items = args[:items] if args.key?(:items)
2079
+ @kind = args[:kind] if args.key?(:kind)
2080
2080
  end
2081
2081
 
2082
2082
  #
@@ -2109,10 +2109,10 @@ module Google
2109
2109
 
2110
2110
  # Update properties of this object
2111
2111
  def update!(**args)
2112
- @art_url = args[:art_url] unless args[:art_url].nil?
2113
- @gservices_key = args[:gservices_key] unless args[:gservices_key].nil?
2114
- @id = args[:id] unless args[:id].nil?
2115
- @items = args[:items] unless args[:items].nil?
2112
+ @art_url = args[:art_url] if args.key?(:art_url)
2113
+ @gservices_key = args[:gservices_key] if args.key?(:gservices_key)
2114
+ @id = args[:id] if args.key?(:id)
2115
+ @items = args[:items] if args.key?(:items)
2116
2116
  end
2117
2117
 
2118
2118
  #
@@ -2155,12 +2155,12 @@ module Google
2155
2155
 
2156
2156
  # Update properties of this object
2157
2157
  def update!(**args)
2158
- @author = args[:author] unless args[:author].nil?
2159
- @canonical_volume_link = args[:canonical_volume_link] unless args[:canonical_volume_link].nil?
2160
- @cover_url = args[:cover_url] unless args[:cover_url].nil?
2161
- @description = args[:description] unless args[:description].nil?
2162
- @title = args[:title] unless args[:title].nil?
2163
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
2158
+ @author = args[:author] if args.key?(:author)
2159
+ @canonical_volume_link = args[:canonical_volume_link] if args.key?(:canonical_volume_link)
2160
+ @cover_url = args[:cover_url] if args.key?(:cover_url)
2161
+ @description = args[:description] if args.key?(:description)
2162
+ @title = args[:title] if args.key?(:title)
2163
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
2164
2164
  end
2165
2165
  end
2166
2166
  end
@@ -2212,13 +2212,13 @@ module Google
2212
2212
 
2213
2213
  # Update properties of this object
2214
2214
  def update!(**args)
2215
- @epub_cfi_position = args[:epub_cfi_position] unless args[:epub_cfi_position].nil?
2216
- @gb_image_position = args[:gb_image_position] unless args[:gb_image_position].nil?
2217
- @gb_text_position = args[:gb_text_position] unless args[:gb_text_position].nil?
2218
- @kind = args[:kind] unless args[:kind].nil?
2219
- @pdf_position = args[:pdf_position] unless args[:pdf_position].nil?
2220
- @updated = args[:updated] unless args[:updated].nil?
2221
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
2215
+ @epub_cfi_position = args[:epub_cfi_position] if args.key?(:epub_cfi_position)
2216
+ @gb_image_position = args[:gb_image_position] if args.key?(:gb_image_position)
2217
+ @gb_text_position = args[:gb_text_position] if args.key?(:gb_text_position)
2218
+ @kind = args[:kind] if args.key?(:kind)
2219
+ @pdf_position = args[:pdf_position] if args.key?(:pdf_position)
2220
+ @updated = args[:updated] if args.key?(:updated)
2221
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
2222
2222
  end
2223
2223
  end
2224
2224
 
@@ -2247,9 +2247,9 @@ module Google
2247
2247
 
2248
2248
  # Update properties of this object
2249
2249
  def update!(**args)
2250
- @concurrent_access = args[:concurrent_access] unless args[:concurrent_access].nil?
2251
- @download_access = args[:download_access] unless args[:download_access].nil?
2252
- @kind = args[:kind] unless args[:kind].nil?
2250
+ @concurrent_access = args[:concurrent_access] if args.key?(:concurrent_access)
2251
+ @download_access = args[:download_access] if args.key?(:download_access)
2252
+ @kind = args[:kind] if args.key?(:kind)
2253
2253
  end
2254
2254
  end
2255
2255
 
@@ -2316,16 +2316,16 @@ module Google
2316
2316
 
2317
2317
  # Update properties of this object
2318
2318
  def update!(**args)
2319
- @author = args[:author] unless args[:author].nil?
2320
- @content = args[:content] unless args[:content].nil?
2321
- @date = args[:date] unless args[:date].nil?
2322
- @full_text_url = args[:full_text_url] unless args[:full_text_url].nil?
2323
- @kind = args[:kind] unless args[:kind].nil?
2324
- @rating = args[:rating] unless args[:rating].nil?
2325
- @source = args[:source] unless args[:source].nil?
2326
- @title = args[:title] unless args[:title].nil?
2327
- @type = args[:type] unless args[:type].nil?
2328
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
2319
+ @author = args[:author] if args.key?(:author)
2320
+ @content = args[:content] if args.key?(:content)
2321
+ @date = args[:date] if args.key?(:date)
2322
+ @full_text_url = args[:full_text_url] if args.key?(:full_text_url)
2323
+ @kind = args[:kind] if args.key?(:kind)
2324
+ @rating = args[:rating] if args.key?(:rating)
2325
+ @source = args[:source] if args.key?(:source)
2326
+ @title = args[:title] if args.key?(:title)
2327
+ @type = args[:type] if args.key?(:type)
2328
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
2329
2329
  end
2330
2330
 
2331
2331
  # Author of this review.
@@ -2343,7 +2343,7 @@ module Google
2343
2343
 
2344
2344
  # Update properties of this object
2345
2345
  def update!(**args)
2346
- @display_name = args[:display_name] unless args[:display_name].nil?
2346
+ @display_name = args[:display_name] if args.key?(:display_name)
2347
2347
  end
2348
2348
  end
2349
2349
 
@@ -2373,9 +2373,9 @@ module Google
2373
2373
 
2374
2374
  # Update properties of this object
2375
2375
  def update!(**args)
2376
- @description = args[:description] unless args[:description].nil?
2377
- @extra_description = args[:extra_description] unless args[:extra_description].nil?
2378
- @url = args[:url] unless args[:url].nil?
2376
+ @description = args[:description] if args.key?(:description)
2377
+ @extra_description = args[:extra_description] if args.key?(:extra_description)
2378
+ @url = args[:url] if args.key?(:url)
2379
2379
  end
2380
2380
  end
2381
2381
  end
@@ -2400,8 +2400,8 @@ module Google
2400
2400
 
2401
2401
  # Update properties of this object
2402
2402
  def update!(**args)
2403
- @kind = args[:kind] unless args[:kind].nil?
2404
- @series = args[:series] unless args[:series].nil?
2403
+ @kind = args[:kind] if args.key?(:kind)
2404
+ @series = args[:series] if args.key?(:series)
2405
2405
  end
2406
2406
 
2407
2407
  #
@@ -2439,11 +2439,11 @@ module Google
2439
2439
 
2440
2440
  # Update properties of this object
2441
2441
  def update!(**args)
2442
- @banner_image_url = args[:banner_image_url] unless args[:banner_image_url].nil?
2443
- @image_url = args[:image_url] unless args[:image_url].nil?
2444
- @series_id = args[:series_id] unless args[:series_id].nil?
2445
- @series_type = args[:series_type] unless args[:series_type].nil?
2446
- @title = args[:title] unless args[:title].nil?
2442
+ @banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url)
2443
+ @image_url = args[:image_url] if args.key?(:image_url)
2444
+ @series_id = args[:series_id] if args.key?(:series_id)
2445
+ @series_type = args[:series_type] if args.key?(:series_type)
2446
+ @title = args[:title] if args.key?(:title)
2447
2447
  end
2448
2448
  end
2449
2449
  end
@@ -2473,9 +2473,9 @@ module Google
2473
2473
 
2474
2474
  # Update properties of this object
2475
2475
  def update!(**args)
2476
- @kind = args[:kind] unless args[:kind].nil?
2477
- @member = args[:member] unless args[:member].nil?
2478
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2476
+ @kind = args[:kind] if args.key?(:kind)
2477
+ @member = args[:member] if args.key?(:member)
2478
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2479
2479
  end
2480
2480
  end
2481
2481
 
@@ -2504,9 +2504,9 @@ module Google
2504
2504
 
2505
2505
  # Update properties of this object
2506
2506
  def update!(**args)
2507
- @kind = args[:kind] unless args[:kind].nil?
2508
- @notes_export = args[:notes_export] unless args[:notes_export].nil?
2509
- @notification = args[:notification] unless args[:notification].nil?
2507
+ @kind = args[:kind] if args.key?(:kind)
2508
+ @notes_export = args[:notes_export] if args.key?(:notes_export)
2509
+ @notification = args[:notification] if args.key?(:notification)
2510
2510
  end
2511
2511
 
2512
2512
  # User settings in sub-objects, each for different purposes.
@@ -2530,8 +2530,8 @@ module Google
2530
2530
 
2531
2531
  # Update properties of this object
2532
2532
  def update!(**args)
2533
- @folder_name = args[:folder_name] unless args[:folder_name].nil?
2534
- @is_enabled = args[:is_enabled] unless args[:is_enabled].nil?
2533
+ @folder_name = args[:folder_name] if args.key?(:folder_name)
2534
+ @is_enabled = args[:is_enabled] if args.key?(:is_enabled)
2535
2535
  end
2536
2536
  end
2537
2537
 
@@ -2550,7 +2550,7 @@ module Google
2550
2550
 
2551
2551
  # Update properties of this object
2552
2552
  def update!(**args)
2553
- @more_from_authors = args[:more_from_authors] unless args[:more_from_authors].nil?
2553
+ @more_from_authors = args[:more_from_authors] if args.key?(:more_from_authors)
2554
2554
  end
2555
2555
 
2556
2556
  #
@@ -2568,7 +2568,7 @@ module Google
2568
2568
 
2569
2569
  # Update properties of this object
2570
2570
  def update!(**args)
2571
- @opted_state = args[:opted_state] unless args[:opted_state].nil?
2571
+ @opted_state = args[:opted_state] if args.key?(:opted_state)
2572
2572
  end
2573
2573
  end
2574
2574
  end
@@ -2645,17 +2645,17 @@ module Google
2645
2645
 
2646
2646
  # Update properties of this object
2647
2647
  def update!(**args)
2648
- @access_info = args[:access_info] unless args[:access_info].nil?
2649
- @etag = args[:etag] unless args[:etag].nil?
2650
- @id = args[:id] unless args[:id].nil?
2651
- @kind = args[:kind] unless args[:kind].nil?
2652
- @layer_info = args[:layer_info] unless args[:layer_info].nil?
2653
- @recommended_info = args[:recommended_info] unless args[:recommended_info].nil?
2654
- @sale_info = args[:sale_info] unless args[:sale_info].nil?
2655
- @search_info = args[:search_info] unless args[:search_info].nil?
2656
- @self_link = args[:self_link] unless args[:self_link].nil?
2657
- @user_info = args[:user_info] unless args[:user_info].nil?
2658
- @volume_info = args[:volume_info] unless args[:volume_info].nil?
2648
+ @access_info = args[:access_info] if args.key?(:access_info)
2649
+ @etag = args[:etag] if args.key?(:etag)
2650
+ @id = args[:id] if args.key?(:id)
2651
+ @kind = args[:kind] if args.key?(:kind)
2652
+ @layer_info = args[:layer_info] if args.key?(:layer_info)
2653
+ @recommended_info = args[:recommended_info] if args.key?(:recommended_info)
2654
+ @sale_info = args[:sale_info] if args.key?(:sale_info)
2655
+ @search_info = args[:search_info] if args.key?(:search_info)
2656
+ @self_link = args[:self_link] if args.key?(:self_link)
2657
+ @user_info = args[:user_info] if args.key?(:user_info)
2658
+ @volume_info = args[:volume_info] if args.key?(:volume_info)
2659
2659
  end
2660
2660
 
2661
2661
  # Any information about a volume related to reading or obtaining that volume
@@ -2758,20 +2758,20 @@ module Google
2758
2758
 
2759
2759
  # Update properties of this object
2760
2760
  def update!(**args)
2761
- @access_view_status = args[:access_view_status] unless args[:access_view_status].nil?
2762
- @country = args[:country] unless args[:country].nil?
2763
- @download_access = args[:download_access] unless args[:download_access].nil?
2764
- @drive_imported_content_link = args[:drive_imported_content_link] unless args[:drive_imported_content_link].nil?
2765
- @embeddable = args[:embeddable] unless args[:embeddable].nil?
2766
- @epub = args[:epub] unless args[:epub].nil?
2767
- @explicit_offline_license_management = args[:explicit_offline_license_management] unless args[:explicit_offline_license_management].nil?
2768
- @pdf = args[:pdf] unless args[:pdf].nil?
2769
- @public_domain = args[:public_domain] unless args[:public_domain].nil?
2770
- @quote_sharing_allowed = args[:quote_sharing_allowed] unless args[:quote_sharing_allowed].nil?
2771
- @text_to_speech_permission = args[:text_to_speech_permission] unless args[:text_to_speech_permission].nil?
2772
- @view_order_url = args[:view_order_url] unless args[:view_order_url].nil?
2773
- @viewability = args[:viewability] unless args[:viewability].nil?
2774
- @web_reader_link = args[:web_reader_link] unless args[:web_reader_link].nil?
2761
+ @access_view_status = args[:access_view_status] if args.key?(:access_view_status)
2762
+ @country = args[:country] if args.key?(:country)
2763
+ @download_access = args[:download_access] if args.key?(:download_access)
2764
+ @drive_imported_content_link = args[:drive_imported_content_link] if args.key?(:drive_imported_content_link)
2765
+ @embeddable = args[:embeddable] if args.key?(:embeddable)
2766
+ @epub = args[:epub] if args.key?(:epub)
2767
+ @explicit_offline_license_management = args[:explicit_offline_license_management] if args.key?(:explicit_offline_license_management)
2768
+ @pdf = args[:pdf] if args.key?(:pdf)
2769
+ @public_domain = args[:public_domain] if args.key?(:public_domain)
2770
+ @quote_sharing_allowed = args[:quote_sharing_allowed] if args.key?(:quote_sharing_allowed)
2771
+ @text_to_speech_permission = args[:text_to_speech_permission] if args.key?(:text_to_speech_permission)
2772
+ @view_order_url = args[:view_order_url] if args.key?(:view_order_url)
2773
+ @viewability = args[:viewability] if args.key?(:viewability)
2774
+ @web_reader_link = args[:web_reader_link] if args.key?(:web_reader_link)
2775
2775
  end
2776
2776
 
2777
2777
  # Information about epub content. (In LITE projection.)
@@ -2801,9 +2801,9 @@ module Google
2801
2801
 
2802
2802
  # Update properties of this object
2803
2803
  def update!(**args)
2804
- @acs_token_link = args[:acs_token_link] unless args[:acs_token_link].nil?
2805
- @download_link = args[:download_link] unless args[:download_link].nil?
2806
- @is_available = args[:is_available] unless args[:is_available].nil?
2804
+ @acs_token_link = args[:acs_token_link] if args.key?(:acs_token_link)
2805
+ @download_link = args[:download_link] if args.key?(:download_link)
2806
+ @is_available = args[:is_available] if args.key?(:is_available)
2807
2807
  end
2808
2808
  end
2809
2809
 
@@ -2834,9 +2834,9 @@ module Google
2834
2834
 
2835
2835
  # Update properties of this object
2836
2836
  def update!(**args)
2837
- @acs_token_link = args[:acs_token_link] unless args[:acs_token_link].nil?
2838
- @download_link = args[:download_link] unless args[:download_link].nil?
2839
- @is_available = args[:is_available] unless args[:is_available].nil?
2837
+ @acs_token_link = args[:acs_token_link] if args.key?(:acs_token_link)
2838
+ @download_link = args[:download_link] if args.key?(:download_link)
2839
+ @is_available = args[:is_available] if args.key?(:is_available)
2840
2840
  end
2841
2841
  end
2842
2842
  end
@@ -2856,7 +2856,7 @@ module Google
2856
2856
 
2857
2857
  # Update properties of this object
2858
2858
  def update!(**args)
2859
- @layers = args[:layers] unless args[:layers].nil?
2859
+ @layers = args[:layers] if args.key?(:layers)
2860
2860
  end
2861
2861
 
2862
2862
  #
@@ -2881,8 +2881,8 @@ module Google
2881
2881
 
2882
2882
  # Update properties of this object
2883
2883
  def update!(**args)
2884
- @layer_id = args[:layer_id] unless args[:layer_id].nil?
2885
- @volume_annotations_version = args[:volume_annotations_version] unless args[:volume_annotations_version].nil?
2884
+ @layer_id = args[:layer_id] if args.key?(:layer_id)
2885
+ @volume_annotations_version = args[:volume_annotations_version] if args.key?(:volume_annotations_version)
2886
2886
  end
2887
2887
  end
2888
2888
  end
@@ -2902,7 +2902,7 @@ module Google
2902
2902
 
2903
2903
  # Update properties of this object
2904
2904
  def update!(**args)
2905
- @explanation = args[:explanation] unless args[:explanation].nil?
2905
+ @explanation = args[:explanation] if args.key?(:explanation)
2906
2906
  end
2907
2907
  end
2908
2908
 
@@ -2964,14 +2964,14 @@ module Google
2964
2964
 
2965
2965
  # Update properties of this object
2966
2966
  def update!(**args)
2967
- @buy_link = args[:buy_link] unless args[:buy_link].nil?
2968
- @country = args[:country] unless args[:country].nil?
2969
- @is_ebook = args[:is_ebook] unless args[:is_ebook].nil?
2970
- @list_price = args[:list_price] unless args[:list_price].nil?
2971
- @offers = args[:offers] unless args[:offers].nil?
2972
- @on_sale_date = args[:on_sale_date] unless args[:on_sale_date].nil?
2973
- @retail_price = args[:retail_price] unless args[:retail_price].nil?
2974
- @saleability = args[:saleability] unless args[:saleability].nil?
2967
+ @buy_link = args[:buy_link] if args.key?(:buy_link)
2968
+ @country = args[:country] if args.key?(:country)
2969
+ @is_ebook = args[:is_ebook] if args.key?(:is_ebook)
2970
+ @list_price = args[:list_price] if args.key?(:list_price)
2971
+ @offers = args[:offers] if args.key?(:offers)
2972
+ @on_sale_date = args[:on_sale_date] if args.key?(:on_sale_date)
2973
+ @retail_price = args[:retail_price] if args.key?(:retail_price)
2974
+ @saleability = args[:saleability] if args.key?(:saleability)
2975
2975
  end
2976
2976
 
2977
2977
  # Suggested retail price. (In LITE projection.)
@@ -2994,8 +2994,8 @@ module Google
2994
2994
 
2995
2995
  # Update properties of this object
2996
2996
  def update!(**args)
2997
- @amount = args[:amount] unless args[:amount].nil?
2998
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
2997
+ @amount = args[:amount] if args.key?(:amount)
2998
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
2999
2999
  end
3000
3000
  end
3001
3001
 
@@ -3029,10 +3029,10 @@ module Google
3029
3029
 
3030
3030
  # Update properties of this object
3031
3031
  def update!(**args)
3032
- @finsky_offer_type = args[:finsky_offer_type] unless args[:finsky_offer_type].nil?
3033
- @list_price = args[:list_price] unless args[:list_price].nil?
3034
- @rental_duration = args[:rental_duration] unless args[:rental_duration].nil?
3035
- @retail_price = args[:retail_price] unless args[:retail_price].nil?
3032
+ @finsky_offer_type = args[:finsky_offer_type] if args.key?(:finsky_offer_type)
3033
+ @list_price = args[:list_price] if args.key?(:list_price)
3034
+ @rental_duration = args[:rental_duration] if args.key?(:rental_duration)
3035
+ @retail_price = args[:retail_price] if args.key?(:retail_price)
3036
3036
  end
3037
3037
 
3038
3038
  # Offer list (=undiscounted) price in Micros.
@@ -3055,8 +3055,8 @@ module Google
3055
3055
 
3056
3056
  # Update properties of this object
3057
3057
  def update!(**args)
3058
- @amount_in_micros = args[:amount_in_micros] unless args[:amount_in_micros].nil?
3059
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
3058
+ @amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros)
3059
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
3060
3060
  end
3061
3061
  end
3062
3062
 
@@ -3080,8 +3080,8 @@ module Google
3080
3080
 
3081
3081
  # Update properties of this object
3082
3082
  def update!(**args)
3083
- @count = args[:count] unless args[:count].nil?
3084
- @unit = args[:unit] unless args[:unit].nil?
3083
+ @count = args[:count] if args.key?(:count)
3084
+ @unit = args[:unit] if args.key?(:unit)
3085
3085
  end
3086
3086
  end
3087
3087
 
@@ -3105,8 +3105,8 @@ module Google
3105
3105
 
3106
3106
  # Update properties of this object
3107
3107
  def update!(**args)
3108
- @amount_in_micros = args[:amount_in_micros] unless args[:amount_in_micros].nil?
3109
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
3108
+ @amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros)
3109
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
3110
3110
  end
3111
3111
  end
3112
3112
  end
@@ -3133,8 +3133,8 @@ module Google
3133
3133
 
3134
3134
  # Update properties of this object
3135
3135
  def update!(**args)
3136
- @amount = args[:amount] unless args[:amount].nil?
3137
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
3136
+ @amount = args[:amount] if args.key?(:amount)
3137
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
3138
3138
  end
3139
3139
  end
3140
3140
  end
@@ -3154,7 +3154,7 @@ module Google
3154
3154
 
3155
3155
  # Update properties of this object
3156
3156
  def update!(**args)
3157
- @text_snippet = args[:text_snippet] unless args[:text_snippet].nil?
3157
+ @text_snippet = args[:text_snippet] if args.key?(:text_snippet)
3158
3158
  end
3159
3159
  end
3160
3160
 
@@ -3270,23 +3270,23 @@ module Google
3270
3270
 
3271
3271
  # Update properties of this object
3272
3272
  def update!(**args)
3273
- @acquired_time = args[:acquired_time] unless args[:acquired_time].nil?
3274
- @acquisition_type = args[:acquisition_type] unless args[:acquisition_type].nil?
3275
- @copy = args[:copy] unless args[:copy].nil?
3276
- @entitlement_type = args[:entitlement_type] unless args[:entitlement_type].nil?
3277
- @is_family_shared_from_user = args[:is_family_shared_from_user] unless args[:is_family_shared_from_user].nil?
3278
- @is_family_shared_to_user = args[:is_family_shared_to_user] unless args[:is_family_shared_to_user].nil?
3279
- @is_family_sharing_allowed = args[:is_family_sharing_allowed] unless args[:is_family_sharing_allowed].nil?
3280
- @is_in_my_books = args[:is_in_my_books] unless args[:is_in_my_books].nil?
3281
- @is_preordered = args[:is_preordered] unless args[:is_preordered].nil?
3282
- @is_purchased = args[:is_purchased] unless args[:is_purchased].nil?
3283
- @is_uploaded = args[:is_uploaded] unless args[:is_uploaded].nil?
3284
- @reading_position = args[:reading_position] unless args[:reading_position].nil?
3285
- @rental_period = args[:rental_period] unless args[:rental_period].nil?
3286
- @rental_state = args[:rental_state] unless args[:rental_state].nil?
3287
- @review = args[:review] unless args[:review].nil?
3288
- @updated = args[:updated] unless args[:updated].nil?
3289
- @user_uploaded_volume_info = args[:user_uploaded_volume_info] unless args[:user_uploaded_volume_info].nil?
3273
+ @acquired_time = args[:acquired_time] if args.key?(:acquired_time)
3274
+ @acquisition_type = args[:acquisition_type] if args.key?(:acquisition_type)
3275
+ @copy = args[:copy] if args.key?(:copy)
3276
+ @entitlement_type = args[:entitlement_type] if args.key?(:entitlement_type)
3277
+ @is_family_shared_from_user = args[:is_family_shared_from_user] if args.key?(:is_family_shared_from_user)
3278
+ @is_family_shared_to_user = args[:is_family_shared_to_user] if args.key?(:is_family_shared_to_user)
3279
+ @is_family_sharing_allowed = args[:is_family_sharing_allowed] if args.key?(:is_family_sharing_allowed)
3280
+ @is_in_my_books = args[:is_in_my_books] if args.key?(:is_in_my_books)
3281
+ @is_preordered = args[:is_preordered] if args.key?(:is_preordered)
3282
+ @is_purchased = args[:is_purchased] if args.key?(:is_purchased)
3283
+ @is_uploaded = args[:is_uploaded] if args.key?(:is_uploaded)
3284
+ @reading_position = args[:reading_position] if args.key?(:reading_position)
3285
+ @rental_period = args[:rental_period] if args.key?(:rental_period)
3286
+ @rental_state = args[:rental_state] if args.key?(:rental_state)
3287
+ @review = args[:review] if args.key?(:review)
3288
+ @updated = args[:updated] if args.key?(:updated)
3289
+ @user_uploaded_volume_info = args[:user_uploaded_volume_info] if args.key?(:user_uploaded_volume_info)
3290
3290
  end
3291
3291
 
3292
3292
  # Copy/Paste accounting information.
@@ -3319,10 +3319,10 @@ module Google
3319
3319
 
3320
3320
  # Update properties of this object
3321
3321
  def update!(**args)
3322
- @allowed_character_count = args[:allowed_character_count] unless args[:allowed_character_count].nil?
3323
- @limit_type = args[:limit_type] unless args[:limit_type].nil?
3324
- @remaining_character_count = args[:remaining_character_count] unless args[:remaining_character_count].nil?
3325
- @updated = args[:updated] unless args[:updated].nil?
3322
+ @allowed_character_count = args[:allowed_character_count] if args.key?(:allowed_character_count)
3323
+ @limit_type = args[:limit_type] if args.key?(:limit_type)
3324
+ @remaining_character_count = args[:remaining_character_count] if args.key?(:remaining_character_count)
3325
+ @updated = args[:updated] if args.key?(:updated)
3326
3326
  end
3327
3327
  end
3328
3328
 
@@ -3346,8 +3346,8 @@ module Google
3346
3346
 
3347
3347
  # Update properties of this object
3348
3348
  def update!(**args)
3349
- @end_utc_sec = args[:end_utc_sec] unless args[:end_utc_sec].nil?
3350
- @start_utc_sec = args[:start_utc_sec] unless args[:start_utc_sec].nil?
3349
+ @end_utc_sec = args[:end_utc_sec] if args.key?(:end_utc_sec)
3350
+ @start_utc_sec = args[:start_utc_sec] if args.key?(:start_utc_sec)
3351
3351
  end
3352
3352
  end
3353
3353
 
@@ -3366,7 +3366,7 @@ module Google
3366
3366
 
3367
3367
  # Update properties of this object
3368
3368
  def update!(**args)
3369
- @processing_state = args[:processing_state] unless args[:processing_state].nil?
3369
+ @processing_state = args[:processing_state] if args.key?(:processing_state)
3370
3370
  end
3371
3371
  end
3372
3372
  end
@@ -3519,32 +3519,32 @@ module Google
3519
3519
 
3520
3520
  # Update properties of this object
3521
3521
  def update!(**args)
3522
- @allow_anon_logging = args[:allow_anon_logging] unless args[:allow_anon_logging].nil?
3523
- @authors = args[:authors] unless args[:authors].nil?
3524
- @average_rating = args[:average_rating] unless args[:average_rating].nil?
3525
- @canonical_volume_link = args[:canonical_volume_link] unless args[:canonical_volume_link].nil?
3526
- @categories = args[:categories] unless args[:categories].nil?
3527
- @content_version = args[:content_version] unless args[:content_version].nil?
3528
- @description = args[:description] unless args[:description].nil?
3529
- @dimensions = args[:dimensions] unless args[:dimensions].nil?
3530
- @image_links = args[:image_links] unless args[:image_links].nil?
3531
- @industry_identifiers = args[:industry_identifiers] unless args[:industry_identifiers].nil?
3532
- @info_link = args[:info_link] unless args[:info_link].nil?
3533
- @language = args[:language] unless args[:language].nil?
3534
- @main_category = args[:main_category] unless args[:main_category].nil?
3535
- @maturity_rating = args[:maturity_rating] unless args[:maturity_rating].nil?
3536
- @page_count = args[:page_count] unless args[:page_count].nil?
3537
- @preview_link = args[:preview_link] unless args[:preview_link].nil?
3538
- @print_type = args[:print_type] unless args[:print_type].nil?
3539
- @printed_page_count = args[:printed_page_count] unless args[:printed_page_count].nil?
3540
- @published_date = args[:published_date] unless args[:published_date].nil?
3541
- @publisher = args[:publisher] unless args[:publisher].nil?
3542
- @ratings_count = args[:ratings_count] unless args[:ratings_count].nil?
3543
- @reading_modes = args[:reading_modes] unless args[:reading_modes].nil?
3544
- @sample_page_count = args[:sample_page_count] unless args[:sample_page_count].nil?
3545
- @series_info = args[:series_info] unless args[:series_info].nil?
3546
- @subtitle = args[:subtitle] unless args[:subtitle].nil?
3547
- @title = args[:title] unless args[:title].nil?
3522
+ @allow_anon_logging = args[:allow_anon_logging] if args.key?(:allow_anon_logging)
3523
+ @authors = args[:authors] if args.key?(:authors)
3524
+ @average_rating = args[:average_rating] if args.key?(:average_rating)
3525
+ @canonical_volume_link = args[:canonical_volume_link] if args.key?(:canonical_volume_link)
3526
+ @categories = args[:categories] if args.key?(:categories)
3527
+ @content_version = args[:content_version] if args.key?(:content_version)
3528
+ @description = args[:description] if args.key?(:description)
3529
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3530
+ @image_links = args[:image_links] if args.key?(:image_links)
3531
+ @industry_identifiers = args[:industry_identifiers] if args.key?(:industry_identifiers)
3532
+ @info_link = args[:info_link] if args.key?(:info_link)
3533
+ @language = args[:language] if args.key?(:language)
3534
+ @main_category = args[:main_category] if args.key?(:main_category)
3535
+ @maturity_rating = args[:maturity_rating] if args.key?(:maturity_rating)
3536
+ @page_count = args[:page_count] if args.key?(:page_count)
3537
+ @preview_link = args[:preview_link] if args.key?(:preview_link)
3538
+ @print_type = args[:print_type] if args.key?(:print_type)
3539
+ @printed_page_count = args[:printed_page_count] if args.key?(:printed_page_count)
3540
+ @published_date = args[:published_date] if args.key?(:published_date)
3541
+ @publisher = args[:publisher] if args.key?(:publisher)
3542
+ @ratings_count = args[:ratings_count] if args.key?(:ratings_count)
3543
+ @reading_modes = args[:reading_modes] if args.key?(:reading_modes)
3544
+ @sample_page_count = args[:sample_page_count] if args.key?(:sample_page_count)
3545
+ @series_info = args[:series_info] if args.key?(:series_info)
3546
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
3547
+ @title = args[:title] if args.key?(:title)
3548
3548
  end
3549
3549
 
3550
3550
  # Physical dimensions of this volume.
@@ -3572,9 +3572,9 @@ module Google
3572
3572
 
3573
3573
  # Update properties of this object
3574
3574
  def update!(**args)
3575
- @height = args[:height] unless args[:height].nil?
3576
- @thickness = args[:thickness] unless args[:thickness].nil?
3577
- @width = args[:width] unless args[:width].nil?
3575
+ @height = args[:height] if args.key?(:height)
3576
+ @thickness = args[:thickness] if args.key?(:thickness)
3577
+ @width = args[:width] if args.key?(:width)
3578
3578
  end
3579
3579
  end
3580
3580
 
@@ -3619,12 +3619,12 @@ module Google
3619
3619
 
3620
3620
  # Update properties of this object
3621
3621
  def update!(**args)
3622
- @extra_large = args[:extra_large] unless args[:extra_large].nil?
3623
- @large = args[:large] unless args[:large].nil?
3624
- @medium = args[:medium] unless args[:medium].nil?
3625
- @small = args[:small] unless args[:small].nil?
3626
- @small_thumbnail = args[:small_thumbnail] unless args[:small_thumbnail].nil?
3627
- @thumbnail = args[:thumbnail] unless args[:thumbnail].nil?
3622
+ @extra_large = args[:extra_large] if args.key?(:extra_large)
3623
+ @large = args[:large] if args.key?(:large)
3624
+ @medium = args[:medium] if args.key?(:medium)
3625
+ @small = args[:small] if args.key?(:small)
3626
+ @small_thumbnail = args[:small_thumbnail] if args.key?(:small_thumbnail)
3627
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
3628
3628
  end
3629
3629
  end
3630
3630
 
@@ -3648,8 +3648,8 @@ module Google
3648
3648
 
3649
3649
  # Update properties of this object
3650
3650
  def update!(**args)
3651
- @identifier = args[:identifier] unless args[:identifier].nil?
3652
- @type = args[:type] unless args[:type].nil?
3651
+ @identifier = args[:identifier] if args.key?(:identifier)
3652
+ @type = args[:type] if args.key?(:type)
3653
3653
  end
3654
3654
  end
3655
3655
  end
@@ -3680,9 +3680,9 @@ module Google
3680
3680
 
3681
3681
  # Update properties of this object
3682
3682
  def update!(**args)
3683
- @items = args[:items] unless args[:items].nil?
3684
- @kind = args[:kind] unless args[:kind].nil?
3685
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3683
+ @items = args[:items] if args.key?(:items)
3684
+ @kind = args[:kind] if args.key?(:kind)
3685
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3686
3686
  end
3687
3687
  end
3688
3688
 
@@ -3768,20 +3768,20 @@ module Google
3768
3768
 
3769
3769
  # Update properties of this object
3770
3770
  def update!(**args)
3771
- @annotation_data_id = args[:annotation_data_id] unless args[:annotation_data_id].nil?
3772
- @annotation_data_link = args[:annotation_data_link] unless args[:annotation_data_link].nil?
3773
- @annotation_type = args[:annotation_type] unless args[:annotation_type].nil?
3774
- @content_ranges = args[:content_ranges] unless args[:content_ranges].nil?
3775
- @data = args[:data] unless args[:data].nil?
3776
- @deleted = args[:deleted] unless args[:deleted].nil?
3777
- @id = args[:id] unless args[:id].nil?
3778
- @kind = args[:kind] unless args[:kind].nil?
3779
- @layer_id = args[:layer_id] unless args[:layer_id].nil?
3780
- @page_ids = args[:page_ids] unless args[:page_ids].nil?
3781
- @selected_text = args[:selected_text] unless args[:selected_text].nil?
3782
- @self_link = args[:self_link] unless args[:self_link].nil?
3783
- @updated = args[:updated] unless args[:updated].nil?
3784
- @volume_id = args[:volume_id] unless args[:volume_id].nil?
3771
+ @annotation_data_id = args[:annotation_data_id] if args.key?(:annotation_data_id)
3772
+ @annotation_data_link = args[:annotation_data_link] if args.key?(:annotation_data_link)
3773
+ @annotation_type = args[:annotation_type] if args.key?(:annotation_type)
3774
+ @content_ranges = args[:content_ranges] if args.key?(:content_ranges)
3775
+ @data = args[:data] if args.key?(:data)
3776
+ @deleted = args[:deleted] if args.key?(:deleted)
3777
+ @id = args[:id] if args.key?(:id)
3778
+ @kind = args[:kind] if args.key?(:kind)
3779
+ @layer_id = args[:layer_id] if args.key?(:layer_id)
3780
+ @page_ids = args[:page_ids] if args.key?(:page_ids)
3781
+ @selected_text = args[:selected_text] if args.key?(:selected_text)
3782
+ @self_link = args[:self_link] if args.key?(:self_link)
3783
+ @updated = args[:updated] if args.key?(:updated)
3784
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
3785
3785
  end
3786
3786
 
3787
3787
  # The content ranges to identify the selected text.
@@ -3814,10 +3814,10 @@ module Google
3814
3814
 
3815
3815
  # Update properties of this object
3816
3816
  def update!(**args)
3817
- @cfi_range = args[:cfi_range] unless args[:cfi_range].nil?
3818
- @content_version = args[:content_version] unless args[:content_version].nil?
3819
- @gb_image_range = args[:gb_image_range] unless args[:gb_image_range].nil?
3820
- @gb_text_range = args[:gb_text_range] unless args[:gb_text_range].nil?
3817
+ @cfi_range = args[:cfi_range] if args.key?(:cfi_range)
3818
+ @content_version = args[:content_version] if args.key?(:content_version)
3819
+ @gb_image_range = args[:gb_image_range] if args.key?(:gb_image_range)
3820
+ @gb_text_range = args[:gb_text_range] if args.key?(:gb_text_range)
3821
3821
  end
3822
3822
  end
3823
3823
  end
@@ -3861,11 +3861,11 @@ module Google
3861
3861
 
3862
3862
  # Update properties of this object
3863
3863
  def update!(**args)
3864
- @items = args[:items] unless args[:items].nil?
3865
- @kind = args[:kind] unless args[:kind].nil?
3866
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3867
- @total_items = args[:total_items] unless args[:total_items].nil?
3868
- @version = args[:version] unless args[:version].nil?
3864
+ @items = args[:items] if args.key?(:items)
3865
+ @kind = args[:kind] if args.key?(:kind)
3866
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3867
+ @total_items = args[:total_items] if args.key?(:total_items)
3868
+ @version = args[:version] if args.key?(:version)
3869
3869
  end
3870
3870
  end
3871
3871
 
@@ -3895,9 +3895,9 @@ module Google
3895
3895
 
3896
3896
  # Update properties of this object
3897
3897
  def update!(**args)
3898
- @items = args[:items] unless args[:items].nil?
3899
- @kind = args[:kind] unless args[:kind].nil?
3900
- @total_items = args[:total_items] unless args[:total_items].nil?
3898
+ @items = args[:items] if args.key?(:items)
3899
+ @kind = args[:kind] if args.key?(:kind)
3900
+ @total_items = args[:total_items] if args.key?(:total_items)
3901
3901
  end
3902
3902
  end
3903
3903
 
@@ -3932,10 +3932,10 @@ module Google
3932
3932
 
3933
3933
  # Update properties of this object
3934
3934
  def update!(**args)
3935
- @book_display_number = args[:book_display_number] unless args[:book_display_number].nil?
3936
- @kind = args[:kind] unless args[:kind].nil?
3937
- @short_series_book_title = args[:short_series_book_title] unless args[:short_series_book_title].nil?
3938
- @volume_series = args[:volume_series] unless args[:volume_series].nil?
3935
+ @book_display_number = args[:book_display_number] if args.key?(:book_display_number)
3936
+ @kind = args[:kind] if args.key?(:kind)
3937
+ @short_series_book_title = args[:short_series_book_title] if args.key?(:short_series_book_title)
3938
+ @volume_series = args[:volume_series] if args.key?(:volume_series)
3939
3939
  end
3940
3940
 
3941
3941
  #
@@ -3969,10 +3969,10 @@ module Google
3969
3969
 
3970
3970
  # Update properties of this object
3971
3971
  def update!(**args)
3972
- @issue = args[:issue] unless args[:issue].nil?
3973
- @order_number = args[:order_number] unless args[:order_number].nil?
3974
- @series_book_type = args[:series_book_type] unless args[:series_book_type].nil?
3975
- @series_id = args[:series_id] unless args[:series_id].nil?
3972
+ @issue = args[:issue] if args.key?(:issue)
3973
+ @order_number = args[:order_number] if args.key?(:order_number)
3974
+ @series_book_type = args[:series_book_type] if args.key?(:series_book_type)
3975
+ @series_id = args[:series_id] if args.key?(:series_id)
3976
3976
  end
3977
3977
 
3978
3978
  #
@@ -3995,8 +3995,8 @@ module Google
3995
3995
 
3996
3996
  # Update properties of this object
3997
3997
  def update!(**args)
3998
- @issue_display_number = args[:issue_display_number] unless args[:issue_display_number].nil?
3999
- @issue_order_number = args[:issue_order_number] unless args[:issue_order_number].nil?
3998
+ @issue_display_number = args[:issue_display_number] if args.key?(:issue_display_number)
3999
+ @issue_order_number = args[:issue_order_number] if args.key?(:issue_order_number)
4000
4000
  end
4001
4001
  end
4002
4002
  end