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
@@ -77,14 +77,14 @@ module Google
77
77
 
78
78
  # Update properties of this object
79
79
  def update!(**args)
80
- @bidder_location = args[:bidder_location] unless args[:bidder_location].nil?
81
- @cookie_matching_nid = args[:cookie_matching_nid] unless args[:cookie_matching_nid].nil?
82
- @cookie_matching_url = args[:cookie_matching_url] unless args[:cookie_matching_url].nil?
83
- @id = args[:id] unless args[:id].nil?
84
- @kind = args[:kind] unless args[:kind].nil?
85
- @maximum_active_creatives = args[:maximum_active_creatives] unless args[:maximum_active_creatives].nil?
86
- @maximum_total_qps = args[:maximum_total_qps] unless args[:maximum_total_qps].nil?
87
- @number_active_creatives = args[:number_active_creatives] unless args[:number_active_creatives].nil?
80
+ @bidder_location = args[:bidder_location] if args.key?(:bidder_location)
81
+ @cookie_matching_nid = args[:cookie_matching_nid] if args.key?(:cookie_matching_nid)
82
+ @cookie_matching_url = args[:cookie_matching_url] if args.key?(:cookie_matching_url)
83
+ @id = args[:id] if args.key?(:id)
84
+ @kind = args[:kind] if args.key?(:kind)
85
+ @maximum_active_creatives = args[:maximum_active_creatives] if args.key?(:maximum_active_creatives)
86
+ @maximum_total_qps = args[:maximum_total_qps] if args.key?(:maximum_total_qps)
87
+ @number_active_creatives = args[:number_active_creatives] if args.key?(:number_active_creatives)
88
88
  end
89
89
 
90
90
  #
@@ -118,9 +118,9 @@ module Google
118
118
 
119
119
  # Update properties of this object
120
120
  def update!(**args)
121
- @maximum_qps = args[:maximum_qps] unless args[:maximum_qps].nil?
122
- @region = args[:region] unless args[:region].nil?
123
- @url = args[:url] unless args[:url].nil?
121
+ @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
122
+ @region = args[:region] if args.key?(:region)
123
+ @url = args[:url] if args.key?(:url)
124
124
  end
125
125
  end
126
126
  end
@@ -146,8 +146,8 @@ module Google
146
146
 
147
147
  # Update properties of this object
148
148
  def update!(**args)
149
- @items = args[:items] unless args[:items].nil?
150
- @kind = args[:kind] unless args[:kind].nil?
149
+ @items = args[:items] if args.key?(:items)
150
+ @kind = args[:kind] if args.key?(:kind)
151
151
  end
152
152
  end
153
153
 
@@ -183,10 +183,10 @@ module Google
183
183
 
184
184
  # Update properties of this object
185
185
  def update!(**args)
186
- @account_id = args[:account_id] unless args[:account_id].nil?
187
- @account_name = args[:account_name] unless args[:account_name].nil?
188
- @billing_id = args[:billing_id] unless args[:billing_id].nil?
189
- @kind = args[:kind] unless args[:kind].nil?
186
+ @account_id = args[:account_id] if args.key?(:account_id)
187
+ @account_name = args[:account_name] if args.key?(:account_name)
188
+ @billing_id = args[:billing_id] if args.key?(:billing_id)
189
+ @kind = args[:kind] if args.key?(:kind)
190
190
  end
191
191
  end
192
192
 
@@ -211,8 +211,8 @@ module Google
211
211
 
212
212
  # Update properties of this object
213
213
  def update!(**args)
214
- @items = args[:items] unless args[:items].nil?
215
- @kind = args[:kind] unless args[:kind].nil?
214
+ @items = args[:items] if args.key?(:items)
215
+ @kind = args[:kind] if args.key?(:kind)
216
216
  end
217
217
  end
218
218
 
@@ -258,12 +258,12 @@ module Google
258
258
 
259
259
  # Update properties of this object
260
260
  def update!(**args)
261
- @account_id = args[:account_id] unless args[:account_id].nil?
262
- @billing_id = args[:billing_id] unless args[:billing_id].nil?
263
- @budget_amount = args[:budget_amount] unless args[:budget_amount].nil?
264
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
265
- @id = args[:id] unless args[:id].nil?
266
- @kind = args[:kind] unless args[:kind].nil?
261
+ @account_id = args[:account_id] if args.key?(:account_id)
262
+ @billing_id = args[:billing_id] if args.key?(:billing_id)
263
+ @budget_amount = args[:budget_amount] if args.key?(:budget_amount)
264
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
265
+ @id = args[:id] if args.key?(:id)
266
+ @kind = args[:kind] if args.key?(:kind)
267
267
  end
268
268
  end
269
269
 
@@ -410,30 +410,30 @@ module Google
410
410
 
411
411
  # Update properties of this object
412
412
  def update!(**args)
413
- @html_snippet = args[:html_snippet] unless args[:html_snippet].nil?
414
- @account_id = args[:account_id] unless args[:account_id].nil?
415
- @advertiser_id = args[:advertiser_id] unless args[:advertiser_id].nil?
416
- @advertiser_name = args[:advertiser_name] unless args[:advertiser_name].nil?
417
- @agency_id = args[:agency_id] unless args[:agency_id].nil?
418
- @api_upload_timestamp = args[:api_upload_timestamp] unless args[:api_upload_timestamp].nil?
419
- @attribute = args[:attribute] unless args[:attribute].nil?
420
- @buyer_creative_id = args[:buyer_creative_id] unless args[:buyer_creative_id].nil?
421
- @click_through_url = args[:click_through_url] unless args[:click_through_url].nil?
422
- @corrections = args[:corrections] unless args[:corrections].nil?
423
- @disapproval_reasons = args[:disapproval_reasons] unless args[:disapproval_reasons].nil?
424
- @filtering_reasons = args[:filtering_reasons] unless args[:filtering_reasons].nil?
425
- @height = args[:height] unless args[:height].nil?
426
- @impression_tracking_url = args[:impression_tracking_url] unless args[:impression_tracking_url].nil?
427
- @kind = args[:kind] unless args[:kind].nil?
428
- @native_ad = args[:native_ad] unless args[:native_ad].nil?
429
- @product_categories = args[:product_categories] unless args[:product_categories].nil?
430
- @restricted_categories = args[:restricted_categories] unless args[:restricted_categories].nil?
431
- @sensitive_categories = args[:sensitive_categories] unless args[:sensitive_categories].nil?
432
- @status = args[:status] unless args[:status].nil?
433
- @vendor_type = args[:vendor_type] unless args[:vendor_type].nil?
434
- @version = args[:version] unless args[:version].nil?
435
- @video_url = args[:video_url] unless args[:video_url].nil?
436
- @width = args[:width] unless args[:width].nil?
413
+ @html_snippet = args[:html_snippet] if args.key?(:html_snippet)
414
+ @account_id = args[:account_id] if args.key?(:account_id)
415
+ @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
416
+ @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
417
+ @agency_id = args[:agency_id] if args.key?(:agency_id)
418
+ @api_upload_timestamp = args[:api_upload_timestamp] if args.key?(:api_upload_timestamp)
419
+ @attribute = args[:attribute] if args.key?(:attribute)
420
+ @buyer_creative_id = args[:buyer_creative_id] if args.key?(:buyer_creative_id)
421
+ @click_through_url = args[:click_through_url] if args.key?(:click_through_url)
422
+ @corrections = args[:corrections] if args.key?(:corrections)
423
+ @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
424
+ @filtering_reasons = args[:filtering_reasons] if args.key?(:filtering_reasons)
425
+ @height = args[:height] if args.key?(:height)
426
+ @impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
427
+ @kind = args[:kind] if args.key?(:kind)
428
+ @native_ad = args[:native_ad] if args.key?(:native_ad)
429
+ @product_categories = args[:product_categories] if args.key?(:product_categories)
430
+ @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories)
431
+ @sensitive_categories = args[:sensitive_categories] if args.key?(:sensitive_categories)
432
+ @status = args[:status] if args.key?(:status)
433
+ @vendor_type = args[:vendor_type] if args.key?(:vendor_type)
434
+ @version = args[:version] if args.key?(:version)
435
+ @video_url = args[:video_url] if args.key?(:video_url)
436
+ @width = args[:width] if args.key?(:width)
437
437
  end
438
438
 
439
439
  #
@@ -456,8 +456,8 @@ module Google
456
456
 
457
457
  # Update properties of this object
458
458
  def update!(**args)
459
- @details = args[:details] unless args[:details].nil?
460
- @reason = args[:reason] unless args[:reason].nil?
459
+ @details = args[:details] if args.key?(:details)
460
+ @reason = args[:reason] if args.key?(:reason)
461
461
  end
462
462
  end
463
463
 
@@ -481,8 +481,8 @@ module Google
481
481
 
482
482
  # Update properties of this object
483
483
  def update!(**args)
484
- @details = args[:details] unless args[:details].nil?
485
- @reason = args[:reason] unless args[:reason].nil?
484
+ @details = args[:details] if args.key?(:details)
485
+ @reason = args[:reason] if args.key?(:reason)
486
486
  end
487
487
  end
488
488
 
@@ -508,8 +508,8 @@ module Google
508
508
 
509
509
  # Update properties of this object
510
510
  def update!(**args)
511
- @date = args[:date] unless args[:date].nil?
512
- @reasons = args[:reasons] unless args[:reasons].nil?
511
+ @date = args[:date] if args.key?(:date)
512
+ @reasons = args[:reasons] if args.key?(:reasons)
513
513
  end
514
514
 
515
515
  #
@@ -534,8 +534,8 @@ module Google
534
534
 
535
535
  # Update properties of this object
536
536
  def update!(**args)
537
- @filtering_count = args[:filtering_count] unless args[:filtering_count].nil?
538
- @filtering_status = args[:filtering_status] unless args[:filtering_status].nil?
537
+ @filtering_count = args[:filtering_count] if args.key?(:filtering_count)
538
+ @filtering_status = args[:filtering_status] if args.key?(:filtering_status)
539
539
  end
540
540
  end
541
541
  end
@@ -610,18 +610,18 @@ module Google
610
610
 
611
611
  # Update properties of this object
612
612
  def update!(**args)
613
- @advertiser = args[:advertiser] unless args[:advertiser].nil?
614
- @app_icon = args[:app_icon] unless args[:app_icon].nil?
615
- @body = args[:body] unless args[:body].nil?
616
- @call_to_action = args[:call_to_action] unless args[:call_to_action].nil?
617
- @click_tracking_url = args[:click_tracking_url] unless args[:click_tracking_url].nil?
618
- @headline = args[:headline] unless args[:headline].nil?
619
- @image = args[:image] unless args[:image].nil?
620
- @impression_tracking_url = args[:impression_tracking_url] unless args[:impression_tracking_url].nil?
621
- @logo = args[:logo] unless args[:logo].nil?
622
- @price = args[:price] unless args[:price].nil?
623
- @star_rating = args[:star_rating] unless args[:star_rating].nil?
624
- @store = args[:store] unless args[:store].nil?
613
+ @advertiser = args[:advertiser] if args.key?(:advertiser)
614
+ @app_icon = args[:app_icon] if args.key?(:app_icon)
615
+ @body = args[:body] if args.key?(:body)
616
+ @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
617
+ @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
618
+ @headline = args[:headline] if args.key?(:headline)
619
+ @image = args[:image] if args.key?(:image)
620
+ @impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
621
+ @logo = args[:logo] if args.key?(:logo)
622
+ @price = args[:price] if args.key?(:price)
623
+ @star_rating = args[:star_rating] if args.key?(:star_rating)
624
+ @store = args[:store] if args.key?(:store)
625
625
  end
626
626
 
627
627
  # The app icon, for app download ads.
@@ -649,9 +649,9 @@ module Google
649
649
 
650
650
  # Update properties of this object
651
651
  def update!(**args)
652
- @height = args[:height] unless args[:height].nil?
653
- @url = args[:url] unless args[:url].nil?
654
- @width = args[:width] unless args[:width].nil?
652
+ @height = args[:height] if args.key?(:height)
653
+ @url = args[:url] if args.key?(:url)
654
+ @width = args[:width] if args.key?(:width)
655
655
  end
656
656
  end
657
657
 
@@ -680,9 +680,9 @@ module Google
680
680
 
681
681
  # Update properties of this object
682
682
  def update!(**args)
683
- @height = args[:height] unless args[:height].nil?
684
- @url = args[:url] unless args[:url].nil?
685
- @width = args[:width] unless args[:width].nil?
683
+ @height = args[:height] if args.key?(:height)
684
+ @url = args[:url] if args.key?(:url)
685
+ @width = args[:width] if args.key?(:width)
686
686
  end
687
687
  end
688
688
 
@@ -711,9 +711,9 @@ module Google
711
711
 
712
712
  # Update properties of this object
713
713
  def update!(**args)
714
- @height = args[:height] unless args[:height].nil?
715
- @url = args[:url] unless args[:url].nil?
716
- @width = args[:width] unless args[:width].nil?
714
+ @height = args[:height] if args.key?(:height)
715
+ @url = args[:url] if args.key?(:url)
716
+ @width = args[:width] if args.key?(:width)
717
717
  end
718
718
  end
719
719
  end
@@ -747,9 +747,9 @@ module Google
747
747
 
748
748
  # Update properties of this object
749
749
  def update!(**args)
750
- @items = args[:items] unless args[:items].nil?
751
- @kind = args[:kind] unless args[:kind].nil?
752
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
750
+ @items = args[:items] if args.key?(:items)
751
+ @kind = args[:kind] if args.key?(:kind)
752
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
753
753
  end
754
754
  end
755
755
 
@@ -837,19 +837,19 @@ module Google
837
837
 
838
838
  # Update properties of this object
839
839
  def update!(**args)
840
- @account_id = args[:account_id] unless args[:account_id].nil?
841
- @advertiser = args[:advertiser] unless args[:advertiser].nil?
842
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
843
- @deal_tier = args[:deal_tier] unless args[:deal_tier].nil?
844
- @end_time = args[:end_time] unless args[:end_time].nil?
845
- @fixed_cpm = args[:fixed_cpm] unless args[:fixed_cpm].nil?
846
- @id = args[:id] unless args[:id].nil?
847
- @kind = args[:kind] unless args[:kind].nil?
848
- @name = args[:name] unless args[:name].nil?
849
- @private_exchange_min_cpm = args[:private_exchange_min_cpm] unless args[:private_exchange_min_cpm].nil?
850
- @publisher_blocks_overriden = args[:publisher_blocks_overriden] unless args[:publisher_blocks_overriden].nil?
851
- @seller_network = args[:seller_network] unless args[:seller_network].nil?
852
- @start_time = args[:start_time] unless args[:start_time].nil?
840
+ @account_id = args[:account_id] if args.key?(:account_id)
841
+ @advertiser = args[:advertiser] if args.key?(:advertiser)
842
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
843
+ @deal_tier = args[:deal_tier] if args.key?(:deal_tier)
844
+ @end_time = args[:end_time] if args.key?(:end_time)
845
+ @fixed_cpm = args[:fixed_cpm] if args.key?(:fixed_cpm)
846
+ @id = args[:id] if args.key?(:id)
847
+ @kind = args[:kind] if args.key?(:kind)
848
+ @name = args[:name] if args.key?(:name)
849
+ @private_exchange_min_cpm = args[:private_exchange_min_cpm] if args.key?(:private_exchange_min_cpm)
850
+ @publisher_blocks_overriden = args[:publisher_blocks_overriden] if args.key?(:publisher_blocks_overriden)
851
+ @seller_network = args[:seller_network] if args.key?(:seller_network)
852
+ @start_time = args[:start_time] if args.key?(:start_time)
853
853
  end
854
854
  end
855
855
 
@@ -875,8 +875,8 @@ module Google
875
875
 
876
876
  # Update properties of this object
877
877
  def update!(**args)
878
- @direct_deals = args[:direct_deals] unless args[:direct_deals].nil?
879
- @kind = args[:kind] unless args[:kind].nil?
878
+ @direct_deals = args[:direct_deals] if args.key?(:direct_deals)
879
+ @kind = args[:kind] if args.key?(:kind)
880
880
  end
881
881
  end
882
882
 
@@ -1008,28 +1008,28 @@ module Google
1008
1008
 
1009
1009
  # Update properties of this object
1010
1010
  def update!(**args)
1011
- @bid_rate = args[:bid_rate] unless args[:bid_rate].nil?
1012
- @bid_request_rate = args[:bid_request_rate] unless args[:bid_request_rate].nil?
1013
- @callout_status_rate = args[:callout_status_rate] unless args[:callout_status_rate].nil?
1014
- @cookie_matcher_status_rate = args[:cookie_matcher_status_rate] unless args[:cookie_matcher_status_rate].nil?
1015
- @creative_status_rate = args[:creative_status_rate] unless args[:creative_status_rate].nil?
1016
- @filtered_bid_rate = args[:filtered_bid_rate] unless args[:filtered_bid_rate].nil?
1017
- @hosted_match_status_rate = args[:hosted_match_status_rate] unless args[:hosted_match_status_rate].nil?
1018
- @inventory_match_rate = args[:inventory_match_rate] unless args[:inventory_match_rate].nil?
1019
- @kind = args[:kind] unless args[:kind].nil?
1020
- @latency_50th_percentile = args[:latency_50th_percentile] unless args[:latency_50th_percentile].nil?
1021
- @latency_85th_percentile = args[:latency_85th_percentile] unless args[:latency_85th_percentile].nil?
1022
- @latency_95th_percentile = args[:latency_95th_percentile] unless args[:latency_95th_percentile].nil?
1023
- @no_quota_in_region = args[:no_quota_in_region] unless args[:no_quota_in_region].nil?
1024
- @out_of_quota = args[:out_of_quota] unless args[:out_of_quota].nil?
1025
- @pixel_match_requests = args[:pixel_match_requests] unless args[:pixel_match_requests].nil?
1026
- @pixel_match_responses = args[:pixel_match_responses] unless args[:pixel_match_responses].nil?
1027
- @quota_configured_limit = args[:quota_configured_limit] unless args[:quota_configured_limit].nil?
1028
- @quota_throttled_limit = args[:quota_throttled_limit] unless args[:quota_throttled_limit].nil?
1029
- @region = args[:region] unless args[:region].nil?
1030
- @successful_request_rate = args[:successful_request_rate] unless args[:successful_request_rate].nil?
1031
- @timestamp = args[:timestamp] unless args[:timestamp].nil?
1032
- @unsuccessful_request_rate = args[:unsuccessful_request_rate] unless args[:unsuccessful_request_rate].nil?
1011
+ @bid_rate = args[:bid_rate] if args.key?(:bid_rate)
1012
+ @bid_request_rate = args[:bid_request_rate] if args.key?(:bid_request_rate)
1013
+ @callout_status_rate = args[:callout_status_rate] if args.key?(:callout_status_rate)
1014
+ @cookie_matcher_status_rate = args[:cookie_matcher_status_rate] if args.key?(:cookie_matcher_status_rate)
1015
+ @creative_status_rate = args[:creative_status_rate] if args.key?(:creative_status_rate)
1016
+ @filtered_bid_rate = args[:filtered_bid_rate] if args.key?(:filtered_bid_rate)
1017
+ @hosted_match_status_rate = args[:hosted_match_status_rate] if args.key?(:hosted_match_status_rate)
1018
+ @inventory_match_rate = args[:inventory_match_rate] if args.key?(:inventory_match_rate)
1019
+ @kind = args[:kind] if args.key?(:kind)
1020
+ @latency_50th_percentile = args[:latency_50th_percentile] if args.key?(:latency_50th_percentile)
1021
+ @latency_85th_percentile = args[:latency_85th_percentile] if args.key?(:latency_85th_percentile)
1022
+ @latency_95th_percentile = args[:latency_95th_percentile] if args.key?(:latency_95th_percentile)
1023
+ @no_quota_in_region = args[:no_quota_in_region] if args.key?(:no_quota_in_region)
1024
+ @out_of_quota = args[:out_of_quota] if args.key?(:out_of_quota)
1025
+ @pixel_match_requests = args[:pixel_match_requests] if args.key?(:pixel_match_requests)
1026
+ @pixel_match_responses = args[:pixel_match_responses] if args.key?(:pixel_match_responses)
1027
+ @quota_configured_limit = args[:quota_configured_limit] if args.key?(:quota_configured_limit)
1028
+ @quota_throttled_limit = args[:quota_throttled_limit] if args.key?(:quota_throttled_limit)
1029
+ @region = args[:region] if args.key?(:region)
1030
+ @successful_request_rate = args[:successful_request_rate] if args.key?(:successful_request_rate)
1031
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
1032
+ @unsuccessful_request_rate = args[:unsuccessful_request_rate] if args.key?(:unsuccessful_request_rate)
1033
1033
  end
1034
1034
  end
1035
1035
 
@@ -1056,8 +1056,8 @@ module Google
1056
1056
 
1057
1057
  # Update properties of this object
1058
1058
  def update!(**args)
1059
- @kind = args[:kind] unless args[:kind].nil?
1060
- @performance_report = args[:performance_report] unless args[:performance_report].nil?
1059
+ @kind = args[:kind] if args.key?(:kind)
1060
+ @performance_report = args[:performance_report] if args.key?(:performance_report)
1061
1061
  end
1062
1062
  end
1063
1063
 
@@ -1201,29 +1201,29 @@ module Google
1201
1201
 
1202
1202
  # Update properties of this object
1203
1203
  def update!(**args)
1204
- @billing_id = args[:billing_id] unless args[:billing_id].nil?
1205
- @config_id = args[:config_id] unless args[:config_id].nil?
1206
- @config_name = args[:config_name] unless args[:config_name].nil?
1207
- @creative_type = args[:creative_type] unless args[:creative_type].nil?
1208
- @dimensions = args[:dimensions] unless args[:dimensions].nil?
1209
- @excluded_content_labels = args[:excluded_content_labels] unless args[:excluded_content_labels].nil?
1210
- @excluded_geo_criteria_ids = args[:excluded_geo_criteria_ids] unless args[:excluded_geo_criteria_ids].nil?
1211
- @excluded_placements = args[:excluded_placements] unless args[:excluded_placements].nil?
1212
- @excluded_user_lists = args[:excluded_user_lists] unless args[:excluded_user_lists].nil?
1213
- @excluded_verticals = args[:excluded_verticals] unless args[:excluded_verticals].nil?
1214
- @geo_criteria_ids = args[:geo_criteria_ids] unless args[:geo_criteria_ids].nil?
1215
- @is_active = args[:is_active] unless args[:is_active].nil?
1216
- @kind = args[:kind] unless args[:kind].nil?
1217
- @languages = args[:languages] unless args[:languages].nil?
1218
- @mobile_carriers = args[:mobile_carriers] unless args[:mobile_carriers].nil?
1219
- @mobile_devices = args[:mobile_devices] unless args[:mobile_devices].nil?
1220
- @mobile_operating_system_versions = args[:mobile_operating_system_versions] unless args[:mobile_operating_system_versions].nil?
1221
- @placements = args[:placements] unless args[:placements].nil?
1222
- @platforms = args[:platforms] unless args[:platforms].nil?
1223
- @supported_creative_attributes = args[:supported_creative_attributes] unless args[:supported_creative_attributes].nil?
1224
- @user_lists = args[:user_lists] unless args[:user_lists].nil?
1225
- @vendor_types = args[:vendor_types] unless args[:vendor_types].nil?
1226
- @verticals = args[:verticals] unless args[:verticals].nil?
1204
+ @billing_id = args[:billing_id] if args.key?(:billing_id)
1205
+ @config_id = args[:config_id] if args.key?(:config_id)
1206
+ @config_name = args[:config_name] if args.key?(:config_name)
1207
+ @creative_type = args[:creative_type] if args.key?(:creative_type)
1208
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1209
+ @excluded_content_labels = args[:excluded_content_labels] if args.key?(:excluded_content_labels)
1210
+ @excluded_geo_criteria_ids = args[:excluded_geo_criteria_ids] if args.key?(:excluded_geo_criteria_ids)
1211
+ @excluded_placements = args[:excluded_placements] if args.key?(:excluded_placements)
1212
+ @excluded_user_lists = args[:excluded_user_lists] if args.key?(:excluded_user_lists)
1213
+ @excluded_verticals = args[:excluded_verticals] if args.key?(:excluded_verticals)
1214
+ @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids)
1215
+ @is_active = args[:is_active] if args.key?(:is_active)
1216
+ @kind = args[:kind] if args.key?(:kind)
1217
+ @languages = args[:languages] if args.key?(:languages)
1218
+ @mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers)
1219
+ @mobile_devices = args[:mobile_devices] if args.key?(:mobile_devices)
1220
+ @mobile_operating_system_versions = args[:mobile_operating_system_versions] if args.key?(:mobile_operating_system_versions)
1221
+ @placements = args[:placements] if args.key?(:placements)
1222
+ @platforms = args[:platforms] if args.key?(:platforms)
1223
+ @supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes)
1224
+ @user_lists = args[:user_lists] if args.key?(:user_lists)
1225
+ @vendor_types = args[:vendor_types] if args.key?(:vendor_types)
1226
+ @verticals = args[:verticals] if args.key?(:verticals)
1227
1227
  end
1228
1228
 
1229
1229
  #
@@ -1246,8 +1246,8 @@ module Google
1246
1246
 
1247
1247
  # Update properties of this object
1248
1248
  def update!(**args)
1249
- @height = args[:height] unless args[:height].nil?
1250
- @width = args[:width] unless args[:width].nil?
1249
+ @height = args[:height] if args.key?(:height)
1250
+ @width = args[:width] if args.key?(:width)
1251
1251
  end
1252
1252
  end
1253
1253
 
@@ -1273,8 +1273,8 @@ module Google
1273
1273
 
1274
1274
  # Update properties of this object
1275
1275
  def update!(**args)
1276
- @token = args[:token] unless args[:token].nil?
1277
- @type = args[:type] unless args[:type].nil?
1276
+ @token = args[:token] if args.key?(:token)
1277
+ @type = args[:type] if args.key?(:type)
1278
1278
  end
1279
1279
  end
1280
1280
 
@@ -1300,8 +1300,8 @@ module Google
1300
1300
 
1301
1301
  # Update properties of this object
1302
1302
  def update!(**args)
1303
- @token = args[:token] unless args[:token].nil?
1304
- @type = args[:type] unless args[:type].nil?
1303
+ @token = args[:token] if args.key?(:token)
1304
+ @type = args[:type] if args.key?(:type)
1305
1305
  end
1306
1306
  end
1307
1307
  end
@@ -1326,8 +1326,8 @@ module Google
1326
1326
 
1327
1327
  # Update properties of this object
1328
1328
  def update!(**args)
1329
- @items = args[:items] unless args[:items].nil?
1330
- @kind = args[:kind] unless args[:kind].nil?
1329
+ @items = args[:items] if args.key?(:items)
1330
+ @kind = args[:kind] if args.key?(:kind)
1331
1331
  end
1332
1332
  end
1333
1333
  end