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
@@ -47,9 +47,9 @@ module Google
47
47
 
48
48
  # Update properties of this object
49
49
  def update!(**args)
50
- @id = args[:id] unless args[:id].nil?
51
- @kind = args[:kind] unless args[:kind].nil?
52
- @name = args[:name] unless args[:name].nil?
50
+ @id = args[:id] if args.key?(:id)
51
+ @kind = args[:kind] if args.key?(:kind)
52
+ @name = args[:name] if args.key?(:name)
53
53
  end
54
54
  end
55
55
 
@@ -84,10 +84,10 @@ module Google
84
84
 
85
85
  # Update properties of this object
86
86
  def update!(**args)
87
- @etag = args[:etag] unless args[:etag].nil?
88
- @items = args[:items] unless args[:items].nil?
89
- @kind = args[:kind] unless args[:kind].nil?
90
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
87
+ @etag = args[:etag] if args.key?(:etag)
88
+ @items = args[:items] if args.key?(:items)
89
+ @kind = args[:kind] if args.key?(:kind)
90
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
91
91
  end
92
92
  end
93
93
 
@@ -129,11 +129,11 @@ module Google
129
129
 
130
130
  # Update properties of this object
131
131
  def update!(**args)
132
- @arc_opt_in = args[:arc_opt_in] unless args[:arc_opt_in].nil?
133
- @id = args[:id] unless args[:id].nil?
134
- @kind = args[:kind] unless args[:kind].nil?
135
- @product_code = args[:product_code] unless args[:product_code].nil?
136
- @supports_reporting = args[:supports_reporting] unless args[:supports_reporting].nil?
132
+ @arc_opt_in = args[:arc_opt_in] if args.key?(:arc_opt_in)
133
+ @id = args[:id] if args.key?(:id)
134
+ @kind = args[:kind] if args.key?(:kind)
135
+ @product_code = args[:product_code] if args.key?(:product_code)
136
+ @supports_reporting = args[:supports_reporting] if args.key?(:supports_reporting)
137
137
  end
138
138
  end
139
139
 
@@ -168,10 +168,10 @@ module Google
168
168
 
169
169
  # Update properties of this object
170
170
  def update!(**args)
171
- @etag = args[:etag] unless args[:etag].nil?
172
- @items = args[:items] unless args[:items].nil?
173
- @kind = args[:kind] unless args[:kind].nil?
174
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
171
+ @etag = args[:etag] if args.key?(:etag)
172
+ @items = args[:items] if args.key?(:items)
173
+ @kind = args[:kind] if args.key?(:kind)
174
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
175
175
  end
176
176
  end
177
177
 
@@ -213,11 +213,11 @@ module Google
213
213
 
214
214
  # Update properties of this object
215
215
  def update!(**args)
216
- @id = args[:id] unless args[:id].nil?
217
- @kind = args[:kind] unless args[:kind].nil?
218
- @message = args[:message] unless args[:message].nil?
219
- @severity = args[:severity] unless args[:severity].nil?
220
- @type = args[:type] unless args[:type].nil?
216
+ @id = args[:id] if args.key?(:id)
217
+ @kind = args[:kind] if args.key?(:kind)
218
+ @message = args[:message] if args.key?(:message)
219
+ @severity = args[:severity] if args.key?(:severity)
220
+ @type = args[:type] if args.key?(:type)
221
221
  end
222
222
  end
223
223
 
@@ -241,8 +241,8 @@ module Google
241
241
 
242
242
  # Update properties of this object
243
243
  def update!(**args)
244
- @items = args[:items] unless args[:items].nil?
245
- @kind = args[:kind] unless args[:kind].nil?
244
+ @items = args[:items] if args.key?(:items)
245
+ @kind = args[:kind] if args.key?(:kind)
246
246
  end
247
247
  end
248
248
 
@@ -282,11 +282,11 @@ module Google
282
282
 
283
283
  # Update properties of this object
284
284
  def update!(**args)
285
- @code = args[:code] unless args[:code].nil?
286
- @id = args[:id] unless args[:id].nil?
287
- @kind = args[:kind] unless args[:kind].nil?
288
- @name = args[:name] unless args[:name].nil?
289
- @targeting_info = args[:targeting_info] unless args[:targeting_info].nil?
285
+ @code = args[:code] if args.key?(:code)
286
+ @id = args[:id] if args.key?(:id)
287
+ @kind = args[:kind] if args.key?(:kind)
288
+ @name = args[:name] if args.key?(:name)
289
+ @targeting_info = args[:targeting_info] if args.key?(:targeting_info)
290
290
  end
291
291
 
292
292
  # The targeting information of this custom channel, if activated.
@@ -323,10 +323,10 @@ module Google
323
323
 
324
324
  # Update properties of this object
325
325
  def update!(**args)
326
- @ads_appear_on = args[:ads_appear_on] unless args[:ads_appear_on].nil?
327
- @description = args[:description] unless args[:description].nil?
328
- @location = args[:location] unless args[:location].nil?
329
- @site_language = args[:site_language] unless args[:site_language].nil?
326
+ @ads_appear_on = args[:ads_appear_on] if args.key?(:ads_appear_on)
327
+ @description = args[:description] if args.key?(:description)
328
+ @location = args[:location] if args.key?(:location)
329
+ @site_language = args[:site_language] if args.key?(:site_language)
330
330
  end
331
331
  end
332
332
  end
@@ -362,10 +362,10 @@ module Google
362
362
 
363
363
  # Update properties of this object
364
364
  def update!(**args)
365
- @etag = args[:etag] unless args[:etag].nil?
366
- @items = args[:items] unless args[:items].nil?
367
- @kind = args[:kind] unless args[:kind].nil?
368
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
365
+ @etag = args[:etag] if args.key?(:etag)
366
+ @items = args[:items] if args.key?(:items)
367
+ @kind = args[:kind] if args.key?(:kind)
368
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
369
369
  end
370
370
  end
371
371
 
@@ -389,8 +389,8 @@ module Google
389
389
 
390
390
  # Update properties of this object
391
391
  def update!(**args)
392
- @items = args[:items] unless args[:items].nil?
393
- @kind = args[:kind] unless args[:kind].nil?
392
+ @items = args[:items] if args.key?(:items)
393
+ @kind = args[:kind] if args.key?(:kind)
394
394
  end
395
395
  end
396
396
 
@@ -450,14 +450,14 @@ module Google
450
450
 
451
451
  # Update properties of this object
452
452
  def update!(**args)
453
- @advertiser_name = args[:advertiser_name] unless args[:advertiser_name].nil?
454
- @buyer_network_name = args[:buyer_network_name] unless args[:buyer_network_name].nil?
455
- @currency_code = args[:currency_code] unless args[:currency_code].nil?
456
- @end_time = args[:end_time] unless args[:end_time].nil?
457
- @fixed_cpm = args[:fixed_cpm] unless args[:fixed_cpm].nil?
458
- @id = args[:id] unless args[:id].nil?
459
- @kind = args[:kind] unless args[:kind].nil?
460
- @start_time = args[:start_time] unless args[:start_time].nil?
453
+ @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
454
+ @buyer_network_name = args[:buyer_network_name] if args.key?(:buyer_network_name)
455
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
456
+ @end_time = args[:end_time] if args.key?(:end_time)
457
+ @fixed_cpm = args[:fixed_cpm] if args.key?(:fixed_cpm)
458
+ @id = args[:id] if args.key?(:id)
459
+ @kind = args[:kind] if args.key?(:kind)
460
+ @start_time = args[:start_time] if args.key?(:start_time)
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
- @items = args[:items] unless args[:items].nil?
485
- @kind = args[:kind] unless args[:kind].nil?
484
+ @items = args[:items] if args.key?(:items)
485
+ @kind = args[:kind] if args.key?(:kind)
486
486
  end
487
487
  end
488
488
 
@@ -539,13 +539,13 @@ module Google
539
539
 
540
540
  # Update properties of this object
541
541
  def update!(**args)
542
- @averages = args[:averages] unless args[:averages].nil?
543
- @headers = args[:headers] unless args[:headers].nil?
544
- @kind = args[:kind] unless args[:kind].nil?
545
- @rows = args[:rows] unless args[:rows].nil?
546
- @total_matched_rows = args[:total_matched_rows] unless args[:total_matched_rows].nil?
547
- @totals = args[:totals] unless args[:totals].nil?
548
- @warnings = args[:warnings] unless args[:warnings].nil?
542
+ @averages = args[:averages] if args.key?(:averages)
543
+ @headers = args[:headers] if args.key?(:headers)
544
+ @kind = args[:kind] if args.key?(:kind)
545
+ @rows = args[:rows] if args.key?(:rows)
546
+ @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows)
547
+ @totals = args[:totals] if args.key?(:totals)
548
+ @warnings = args[:warnings] if args.key?(:warnings)
549
549
  end
550
550
 
551
551
  #
@@ -575,9 +575,9 @@ module Google
575
575
 
576
576
  # Update properties of this object
577
577
  def update!(**args)
578
- @currency = args[:currency] unless args[:currency].nil?
579
- @name = args[:name] unless args[:name].nil?
580
- @type = args[:type] unless args[:type].nil?
578
+ @currency = args[:currency] if args.key?(:currency)
579
+ @name = args[:name] if args.key?(:name)
580
+ @type = args[:type] if args.key?(:type)
581
581
  end
582
582
  end
583
583
  end
@@ -638,13 +638,13 @@ module Google
638
638
 
639
639
  # Update properties of this object
640
640
  def update!(**args)
641
- @compatible_dimensions = args[:compatible_dimensions] unless args[:compatible_dimensions].nil?
642
- @compatible_metrics = args[:compatible_metrics] unless args[:compatible_metrics].nil?
643
- @id = args[:id] unless args[:id].nil?
644
- @kind = args[:kind] unless args[:kind].nil?
645
- @required_dimensions = args[:required_dimensions] unless args[:required_dimensions].nil?
646
- @required_metrics = args[:required_metrics] unless args[:required_metrics].nil?
647
- @supported_products = args[:supported_products] unless args[:supported_products].nil?
641
+ @compatible_dimensions = args[:compatible_dimensions] if args.key?(:compatible_dimensions)
642
+ @compatible_metrics = args[:compatible_metrics] if args.key?(:compatible_metrics)
643
+ @id = args[:id] if args.key?(:id)
644
+ @kind = args[:kind] if args.key?(:kind)
645
+ @required_dimensions = args[:required_dimensions] if args.key?(:required_dimensions)
646
+ @required_metrics = args[:required_metrics] if args.key?(:required_metrics)
647
+ @supported_products = args[:supported_products] if args.key?(:supported_products)
648
648
  end
649
649
  end
650
650
 
@@ -673,9 +673,9 @@ module Google
673
673
 
674
674
  # Update properties of this object
675
675
  def update!(**args)
676
- @id = args[:id] unless args[:id].nil?
677
- @kind = args[:kind] unless args[:kind].nil?
678
- @name = args[:name] unless args[:name].nil?
676
+ @id = args[:id] if args.key?(:id)
677
+ @kind = args[:kind] if args.key?(:kind)
678
+ @name = args[:name] if args.key?(:name)
679
679
  end
680
680
  end
681
681
 
@@ -710,10 +710,10 @@ module Google
710
710
 
711
711
  # Update properties of this object
712
712
  def update!(**args)
713
- @etag = args[:etag] unless args[:etag].nil?
714
- @items = args[:items] unless args[:items].nil?
715
- @kind = args[:kind] unless args[:kind].nil?
716
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
713
+ @etag = args[:etag] if args.key?(:etag)
714
+ @items = args[:items] if args.key?(:items)
715
+ @kind = args[:kind] if args.key?(:kind)
716
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
717
717
  end
718
718
  end
719
719
 
@@ -744,9 +744,9 @@ module Google
744
744
 
745
745
  # Update properties of this object
746
746
  def update!(**args)
747
- @id = args[:id] unless args[:id].nil?
748
- @kind = args[:kind] unless args[:kind].nil?
749
- @url_pattern = args[:url_pattern] unless args[:url_pattern].nil?
747
+ @id = args[:id] if args.key?(:id)
748
+ @kind = args[:kind] if args.key?(:kind)
749
+ @url_pattern = args[:url_pattern] if args.key?(:url_pattern)
750
750
  end
751
751
  end
752
752
 
@@ -781,10 +781,10 @@ module Google
781
781
 
782
782
  # Update properties of this object
783
783
  def update!(**args)
784
- @etag = args[:etag] unless args[:etag].nil?
785
- @items = args[:items] unless args[:items].nil?
786
- @kind = args[:kind] unless args[:kind].nil?
787
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
784
+ @etag = args[:etag] if args.key?(:etag)
785
+ @items = args[:items] if args.key?(:items)
786
+ @kind = args[:kind] if args.key?(:kind)
787
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
788
788
  end
789
789
  end
790
790
  end
@@ -59,11 +59,11 @@ module Google
59
59
 
60
60
  # Update properties of this object
61
61
  def update!(**args)
62
- @etag = args[:etag] unless args[:etag].nil?
63
- @id = args[:id] unless args[:id].nil?
64
- @kind = args[:kind] unless args[:kind].nil?
65
- @name = args[:name] unless args[:name].nil?
66
- @transfer_params = args[:transfer_params] unless args[:transfer_params].nil?
62
+ @etag = args[:etag] if args.key?(:etag)
63
+ @id = args[:id] if args.key?(:id)
64
+ @kind = args[:kind] if args.key?(:kind)
65
+ @name = args[:name] if args.key?(:name)
66
+ @transfer_params = args[:transfer_params] if args.key?(:transfer_params)
67
67
  end
68
68
  end
69
69
 
@@ -93,9 +93,9 @@ module Google
93
93
 
94
94
  # Update properties of this object
95
95
  def update!(**args)
96
- @application_id = args[:application_id] unless args[:application_id].nil?
97
- @application_transfer_params = args[:application_transfer_params] unless args[:application_transfer_params].nil?
98
- @application_transfer_status = args[:application_transfer_status] unless args[:application_transfer_status].nil?
96
+ @application_id = args[:application_id] if args.key?(:application_id)
97
+ @application_transfer_params = args[:application_transfer_params] if args.key?(:application_transfer_params)
98
+ @application_transfer_status = args[:application_transfer_status] if args.key?(:application_transfer_status)
99
99
  end
100
100
  end
101
101
 
@@ -119,8 +119,8 @@ module Google
119
119
 
120
120
  # Update properties of this object
121
121
  def update!(**args)
122
- @key = args[:key] unless args[:key].nil?
123
- @value = args[:value] unless args[:value].nil?
122
+ @key = args[:key] if args.key?(:key)
123
+ @value = args[:value] if args.key?(:value)
124
124
  end
125
125
  end
126
126
 
@@ -155,10 +155,10 @@ module Google
155
155
 
156
156
  # Update properties of this object
157
157
  def update!(**args)
158
- @applications = args[:applications] unless args[:applications].nil?
159
- @etag = args[:etag] unless args[:etag].nil?
160
- @kind = args[:kind] unless args[:kind].nil?
161
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
158
+ @applications = args[:applications] if args.key?(:applications)
159
+ @etag = args[:etag] if args.key?(:etag)
160
+ @kind = args[:kind] if args.key?(:kind)
161
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
162
162
  end
163
163
  end
164
164
 
@@ -215,14 +215,14 @@ module Google
215
215
 
216
216
  # Update properties of this object
217
217
  def update!(**args)
218
- @application_data_transfers = args[:application_data_transfers] unless args[:application_data_transfers].nil?
219
- @etag = args[:etag] unless args[:etag].nil?
220
- @id = args[:id] unless args[:id].nil?
221
- @kind = args[:kind] unless args[:kind].nil?
222
- @new_owner_user_id = args[:new_owner_user_id] unless args[:new_owner_user_id].nil?
223
- @old_owner_user_id = args[:old_owner_user_id] unless args[:old_owner_user_id].nil?
224
- @overall_transfer_status_code = args[:overall_transfer_status_code] unless args[:overall_transfer_status_code].nil?
225
- @request_time = args[:request_time] unless args[:request_time].nil?
218
+ @application_data_transfers = args[:application_data_transfers] if args.key?(:application_data_transfers)
219
+ @etag = args[:etag] if args.key?(:etag)
220
+ @id = args[:id] if args.key?(:id)
221
+ @kind = args[:kind] if args.key?(:kind)
222
+ @new_owner_user_id = args[:new_owner_user_id] if args.key?(:new_owner_user_id)
223
+ @old_owner_user_id = args[:old_owner_user_id] if args.key?(:old_owner_user_id)
224
+ @overall_transfer_status_code = args[:overall_transfer_status_code] if args.key?(:overall_transfer_status_code)
225
+ @request_time = args[:request_time] if args.key?(:request_time)
226
226
  end
227
227
  end
228
228
 
@@ -256,10 +256,10 @@ module Google
256
256
 
257
257
  # Update properties of this object
258
258
  def update!(**args)
259
- @data_transfers = args[:data_transfers] unless args[:data_transfers].nil?
260
- @etag = args[:etag] unless args[:etag].nil?
261
- @kind = args[:kind] unless args[:kind].nil?
262
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
259
+ @data_transfers = args[:data_transfers] if args.key?(:data_transfers)
260
+ @etag = args[:etag] if args.key?(:etag)
261
+ @kind = args[:kind] if args.key?(:kind)
262
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
263
263
  end
264
264
  end
265
265
  end
@@ -57,11 +57,11 @@ module Google
57
57
 
58
58
  # Update properties of this object
59
59
  def update!(**args)
60
- @alias = args[:alias] unless args[:alias].nil?
61
- @etag = args[:etag] unless args[:etag].nil?
62
- @id = args[:id] unless args[:id].nil?
63
- @kind = args[:kind] unless args[:kind].nil?
64
- @primary_email = args[:primary_email] unless args[:primary_email].nil?
60
+ @alias = args[:alias] if args.key?(:alias)
61
+ @etag = args[:etag] if args.key?(:etag)
62
+ @id = args[:id] if args.key?(:id)
63
+ @kind = args[:kind] if args.key?(:kind)
64
+ @primary_email = args[:primary_email] if args.key?(:primary_email)
65
65
  end
66
66
  end
67
67
 
@@ -90,9 +90,9 @@ module Google
90
90
 
91
91
  # Update properties of this object
92
92
  def update!(**args)
93
- @aliases = args[:aliases] unless args[:aliases].nil?
94
- @etag = args[:etag] unless args[:etag].nil?
95
- @kind = args[:kind] unless args[:kind].nil?
93
+ @aliases = args[:aliases] if args.key?(:aliases)
94
+ @etag = args[:etag] if args.key?(:etag)
95
+ @kind = args[:kind] if args.key?(:kind)
96
96
  end
97
97
  end
98
98
 
@@ -142,13 +142,13 @@ module Google
142
142
 
143
143
  # Update properties of this object
144
144
  def update!(**args)
145
- @code_id = args[:code_id] unless args[:code_id].nil?
146
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
147
- @etag = args[:etag] unless args[:etag].nil?
148
- @kind = args[:kind] unless args[:kind].nil?
149
- @last_time_used = args[:last_time_used] unless args[:last_time_used].nil?
150
- @name = args[:name] unless args[:name].nil?
151
- @user_key = args[:user_key] unless args[:user_key].nil?
145
+ @code_id = args[:code_id] if args.key?(:code_id)
146
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
147
+ @etag = args[:etag] if args.key?(:etag)
148
+ @kind = args[:kind] if args.key?(:kind)
149
+ @last_time_used = args[:last_time_used] if args.key?(:last_time_used)
150
+ @name = args[:name] if args.key?(:name)
151
+ @user_key = args[:user_key] if args.key?(:user_key)
152
152
  end
153
153
  end
154
154
 
@@ -177,9 +177,9 @@ module Google
177
177
 
178
178
  # Update properties of this object
179
179
  def update!(**args)
180
- @etag = args[:etag] unless args[:etag].nil?
181
- @items = args[:items] unless args[:items].nil?
182
- @kind = args[:kind] unless args[:kind].nil?
180
+ @etag = args[:etag] if args.key?(:etag)
181
+ @items = args[:items] if args.key?(:items)
182
+ @kind = args[:kind] if args.key?(:kind)
183
183
  end
184
184
  end
185
185
 
@@ -231,13 +231,13 @@ module Google
231
231
 
232
232
  # Update properties of this object
233
233
  def update!(**args)
234
- @etags = args[:etags] unless args[:etags].nil?
235
- @kind = args[:kind] unless args[:kind].nil?
236
- @resource_description = args[:resource_description] unless args[:resource_description].nil?
237
- @resource_email = args[:resource_email] unless args[:resource_email].nil?
238
- @resource_id = args[:resource_id] unless args[:resource_id].nil?
239
- @resource_name = args[:resource_name] unless args[:resource_name].nil?
240
- @resource_type = args[:resource_type] unless args[:resource_type].nil?
234
+ @etags = args[:etags] if args.key?(:etags)
235
+ @kind = args[:kind] if args.key?(:kind)
236
+ @resource_description = args[:resource_description] if args.key?(:resource_description)
237
+ @resource_email = args[:resource_email] if args.key?(:resource_email)
238
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
239
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
240
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
241
241
  end
242
242
  end
243
243
 
@@ -273,10 +273,10 @@ module Google
273
273
 
274
274
  # Update properties of this object
275
275
  def update!(**args)
276
- @etag = args[:etag] unless args[:etag].nil?
277
- @items = args[:items] unless args[:items].nil?
278
- @kind = args[:kind] unless args[:kind].nil?
279
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
276
+ @etag = args[:etag] if args.key?(:etag)
277
+ @items = args[:items] if args.key?(:items)
278
+ @kind = args[:kind] if args.key?(:kind)
279
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
280
280
  end
281
281
  end
282
282
 
@@ -345,16 +345,16 @@ module Google
345
345
 
346
346
  # Update properties of this object
347
347
  def update!(**args)
348
- @address = args[:address] unless args[:address].nil?
349
- @expiration = args[:expiration] unless args[:expiration].nil?
350
- @id = args[:id] unless args[:id].nil?
351
- @kind = args[:kind] unless args[:kind].nil?
352
- @params = args[:params] unless args[:params].nil?
353
- @payload = args[:payload] unless args[:payload].nil?
354
- @resource_id = args[:resource_id] unless args[:resource_id].nil?
355
- @resource_uri = args[:resource_uri] unless args[:resource_uri].nil?
356
- @token = args[:token] unless args[:token].nil?
357
- @type = args[:type] unless args[:type].nil?
348
+ @address = args[:address] if args.key?(:address)
349
+ @expiration = args[:expiration] if args.key?(:expiration)
350
+ @id = args[:id] if args.key?(:id)
351
+ @kind = args[:kind] if args.key?(:kind)
352
+ @params = args[:params] if args.key?(:params)
353
+ @payload = args[:payload] if args.key?(:payload)
354
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
355
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
356
+ @token = args[:token] if args.key?(:token)
357
+ @type = args[:type] if args.key?(:type)
358
358
  end
359
359
  end
360
360
 
@@ -496,31 +496,31 @@ module Google
496
496
 
497
497
  # Update properties of this object
498
498
  def update!(**args)
499
- @active_time_ranges = args[:active_time_ranges] unless args[:active_time_ranges].nil?
500
- @annotated_asset_id = args[:annotated_asset_id] unless args[:annotated_asset_id].nil?
501
- @annotated_location = args[:annotated_location] unless args[:annotated_location].nil?
502
- @annotated_user = args[:annotated_user] unless args[:annotated_user].nil?
503
- @boot_mode = args[:boot_mode] unless args[:boot_mode].nil?
504
- @device_id = args[:device_id] unless args[:device_id].nil?
505
- @etag = args[:etag] unless args[:etag].nil?
506
- @ethernet_mac_address = args[:ethernet_mac_address] unless args[:ethernet_mac_address].nil?
507
- @firmware_version = args[:firmware_version] unless args[:firmware_version].nil?
508
- @kind = args[:kind] unless args[:kind].nil?
509
- @last_enrollment_time = args[:last_enrollment_time] unless args[:last_enrollment_time].nil?
510
- @last_sync = args[:last_sync] unless args[:last_sync].nil?
511
- @mac_address = args[:mac_address] unless args[:mac_address].nil?
512
- @meid = args[:meid] unless args[:meid].nil?
513
- @model = args[:model] unless args[:model].nil?
514
- @notes = args[:notes] unless args[:notes].nil?
515
- @order_number = args[:order_number] unless args[:order_number].nil?
516
- @org_unit_path = args[:org_unit_path] unless args[:org_unit_path].nil?
517
- @os_version = args[:os_version] unless args[:os_version].nil?
518
- @platform_version = args[:platform_version] unless args[:platform_version].nil?
519
- @recent_users = args[:recent_users] unless args[:recent_users].nil?
520
- @serial_number = args[:serial_number] unless args[:serial_number].nil?
521
- @status = args[:status] unless args[:status].nil?
522
- @support_end_date = args[:support_end_date] unless args[:support_end_date].nil?
523
- @will_auto_renew = args[:will_auto_renew] unless args[:will_auto_renew].nil?
499
+ @active_time_ranges = args[:active_time_ranges] if args.key?(:active_time_ranges)
500
+ @annotated_asset_id = args[:annotated_asset_id] if args.key?(:annotated_asset_id)
501
+ @annotated_location = args[:annotated_location] if args.key?(:annotated_location)
502
+ @annotated_user = args[:annotated_user] if args.key?(:annotated_user)
503
+ @boot_mode = args[:boot_mode] if args.key?(:boot_mode)
504
+ @device_id = args[:device_id] if args.key?(:device_id)
505
+ @etag = args[:etag] if args.key?(:etag)
506
+ @ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
507
+ @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
508
+ @kind = args[:kind] if args.key?(:kind)
509
+ @last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
510
+ @last_sync = args[:last_sync] if args.key?(:last_sync)
511
+ @mac_address = args[:mac_address] if args.key?(:mac_address)
512
+ @meid = args[:meid] if args.key?(:meid)
513
+ @model = args[:model] if args.key?(:model)
514
+ @notes = args[:notes] if args.key?(:notes)
515
+ @order_number = args[:order_number] if args.key?(:order_number)
516
+ @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
517
+ @os_version = args[:os_version] if args.key?(:os_version)
518
+ @platform_version = args[:platform_version] if args.key?(:platform_version)
519
+ @recent_users = args[:recent_users] if args.key?(:recent_users)
520
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
521
+ @status = args[:status] if args.key?(:status)
522
+ @support_end_date = args[:support_end_date] if args.key?(:support_end_date)
523
+ @will_auto_renew = args[:will_auto_renew] if args.key?(:will_auto_renew)
524
524
  end
525
525
 
526
526
  #
@@ -543,8 +543,8 @@ module Google
543
543
 
544
544
  # Update properties of this object
545
545
  def update!(**args)
546
- @active_time = args[:active_time] unless args[:active_time].nil?
547
- @date = args[:date] unless args[:date].nil?
546
+ @active_time = args[:active_time] if args.key?(:active_time)
547
+ @date = args[:date] if args.key?(:date)
548
548
  end
549
549
  end
550
550
 
@@ -568,8 +568,8 @@ module Google
568
568
 
569
569
  # Update properties of this object
570
570
  def update!(**args)
571
- @email = args[:email] unless args[:email].nil?
572
- @type = args[:type] unless args[:type].nil?
571
+ @email = args[:email] if args.key?(:email)
572
+ @type = args[:type] if args.key?(:type)
573
573
  end
574
574
  end
575
575
  end
@@ -604,10 +604,10 @@ module Google
604
604
 
605
605
  # Update properties of this object
606
606
  def update!(**args)
607
- @chromeosdevices = args[:chromeosdevices] unless args[:chromeosdevices].nil?
608
- @etag = args[:etag] unless args[:etag].nil?
609
- @kind = args[:kind] unless args[:kind].nil?
610
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
607
+ @chromeosdevices = args[:chromeosdevices] if args.key?(:chromeosdevices)
608
+ @etag = args[:etag] if args.key?(:etag)
609
+ @kind = args[:kind] if args.key?(:kind)
610
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
611
611
  end
612
612
  end
613
613
 
@@ -668,15 +668,15 @@ module Google
668
668
 
669
669
  # Update properties of this object
670
670
  def update!(**args)
671
- @alternate_email = args[:alternate_email] unless args[:alternate_email].nil?
672
- @customer_creation_time = args[:customer_creation_time] unless args[:customer_creation_time].nil?
673
- @customer_domain = args[:customer_domain] unless args[:customer_domain].nil?
674
- @etag = args[:etag] unless args[:etag].nil?
675
- @id = args[:id] unless args[:id].nil?
676
- @kind = args[:kind] unless args[:kind].nil?
677
- @language = args[:language] unless args[:language].nil?
678
- @phone_number = args[:phone_number] unless args[:phone_number].nil?
679
- @postal_address = args[:postal_address] unless args[:postal_address].nil?
671
+ @alternate_email = args[:alternate_email] if args.key?(:alternate_email)
672
+ @customer_creation_time = args[:customer_creation_time] if args.key?(:customer_creation_time)
673
+ @customer_domain = args[:customer_domain] if args.key?(:customer_domain)
674
+ @etag = args[:etag] if args.key?(:etag)
675
+ @id = args[:id] if args.key?(:id)
676
+ @kind = args[:kind] if args.key?(:kind)
677
+ @language = args[:language] if args.key?(:language)
678
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
679
+ @postal_address = args[:postal_address] if args.key?(:postal_address)
680
680
  end
681
681
  end
682
682
 
@@ -741,15 +741,15 @@ module Google
741
741
 
742
742
  # Update properties of this object
743
743
  def update!(**args)
744
- @address_line1 = args[:address_line1] unless args[:address_line1].nil?
745
- @address_line2 = args[:address_line2] unless args[:address_line2].nil?
746
- @address_line3 = args[:address_line3] unless args[:address_line3].nil?
747
- @contact_name = args[:contact_name] unless args[:contact_name].nil?
748
- @country_code = args[:country_code] unless args[:country_code].nil?
749
- @locality = args[:locality] unless args[:locality].nil?
750
- @organization_name = args[:organization_name] unless args[:organization_name].nil?
751
- @postal_code = args[:postal_code] unless args[:postal_code].nil?
752
- @region = args[:region] unless args[:region].nil?
744
+ @address_line1 = args[:address_line1] if args.key?(:address_line1)
745
+ @address_line2 = args[:address_line2] if args.key?(:address_line2)
746
+ @address_line3 = args[:address_line3] if args.key?(:address_line3)
747
+ @contact_name = args[:contact_name] if args.key?(:contact_name)
748
+ @country_code = args[:country_code] if args.key?(:country_code)
749
+ @locality = args[:locality] if args.key?(:locality)
750
+ @organization_name = args[:organization_name] if args.key?(:organization_name)
751
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
752
+ @region = args[:region] if args.key?(:region)
753
753
  end
754
754
  end
755
755
 
@@ -795,12 +795,12 @@ module Google
795
795
 
796
796
  # Update properties of this object
797
797
  def update!(**args)
798
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
799
- @domain_alias_name = args[:domain_alias_name] unless args[:domain_alias_name].nil?
800
- @etag = args[:etag] unless args[:etag].nil?
801
- @kind = args[:kind] unless args[:kind].nil?
802
- @parent_domain_name = args[:parent_domain_name] unless args[:parent_domain_name].nil?
803
- @verified = args[:verified] unless args[:verified].nil?
798
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
799
+ @domain_alias_name = args[:domain_alias_name] if args.key?(:domain_alias_name)
800
+ @etag = args[:etag] if args.key?(:etag)
801
+ @kind = args[:kind] if args.key?(:kind)
802
+ @parent_domain_name = args[:parent_domain_name] if args.key?(:parent_domain_name)
803
+ @verified = args[:verified] if args.key?(:verified)
804
804
  end
805
805
  end
806
806
 
@@ -829,9 +829,9 @@ module Google
829
829
 
830
830
  # Update properties of this object
831
831
  def update!(**args)
832
- @domain_aliases = args[:domain_aliases] unless args[:domain_aliases].nil?
833
- @etag = args[:etag] unless args[:etag].nil?
834
- @kind = args[:kind] unless args[:kind].nil?
832
+ @domain_aliases = args[:domain_aliases] if args.key?(:domain_aliases)
833
+ @etag = args[:etag] if args.key?(:etag)
834
+ @kind = args[:kind] if args.key?(:kind)
835
835
  end
836
836
  end
837
837
 
@@ -882,13 +882,13 @@ module Google
882
882
 
883
883
  # Update properties of this object
884
884
  def update!(**args)
885
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
886
- @domain_aliases = args[:domain_aliases] unless args[:domain_aliases].nil?
887
- @domain_name = args[:domain_name] unless args[:domain_name].nil?
888
- @etag = args[:etag] unless args[:etag].nil?
889
- @is_primary = args[:is_primary] unless args[:is_primary].nil?
890
- @kind = args[:kind] unless args[:kind].nil?
891
- @verified = args[:verified] unless args[:verified].nil?
885
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
886
+ @domain_aliases = args[:domain_aliases] if args.key?(:domain_aliases)
887
+ @domain_name = args[:domain_name] if args.key?(:domain_name)
888
+ @etag = args[:etag] if args.key?(:etag)
889
+ @is_primary = args[:is_primary] if args.key?(:is_primary)
890
+ @kind = args[:kind] if args.key?(:kind)
891
+ @verified = args[:verified] if args.key?(:verified)
892
892
  end
893
893
  end
894
894
 
@@ -917,9 +917,9 @@ module Google
917
917
 
918
918
  # Update properties of this object
919
919
  def update!(**args)
920
- @domains = args[:domains] unless args[:domains].nil?
921
- @etag = args[:etag] unless args[:etag].nil?
922
- @kind = args[:kind] unless args[:kind].nil?
920
+ @domains = args[:domains] if args.key?(:domains)
921
+ @etag = args[:etag] if args.key?(:etag)
922
+ @kind = args[:kind] if args.key?(:kind)
923
923
  end
924
924
  end
925
925
 
@@ -984,16 +984,16 @@ module Google
984
984
 
985
985
  # Update properties of this object
986
986
  def update!(**args)
987
- @admin_created = args[:admin_created] unless args[:admin_created].nil?
988
- @aliases = args[:aliases] unless args[:aliases].nil?
989
- @description = args[:description] unless args[:description].nil?
990
- @direct_members_count = args[:direct_members_count] unless args[:direct_members_count].nil?
991
- @email = args[:email] unless args[:email].nil?
992
- @etag = args[:etag] unless args[:etag].nil?
993
- @id = args[:id] unless args[:id].nil?
994
- @kind = args[:kind] unless args[:kind].nil?
995
- @name = args[:name] unless args[:name].nil?
996
- @non_editable_aliases = args[:non_editable_aliases] unless args[:non_editable_aliases].nil?
987
+ @admin_created = args[:admin_created] if args.key?(:admin_created)
988
+ @aliases = args[:aliases] if args.key?(:aliases)
989
+ @description = args[:description] if args.key?(:description)
990
+ @direct_members_count = args[:direct_members_count] if args.key?(:direct_members_count)
991
+ @email = args[:email] if args.key?(:email)
992
+ @etag = args[:etag] if args.key?(:etag)
993
+ @id = args[:id] if args.key?(:id)
994
+ @kind = args[:kind] if args.key?(:kind)
995
+ @name = args[:name] if args.key?(:name)
996
+ @non_editable_aliases = args[:non_editable_aliases] if args.key?(:non_editable_aliases)
997
997
  end
998
998
  end
999
999
 
@@ -1027,10 +1027,10 @@ module Google
1027
1027
 
1028
1028
  # Update properties of this object
1029
1029
  def update!(**args)
1030
- @etag = args[:etag] unless args[:etag].nil?
1031
- @groups = args[:groups] unless args[:groups].nil?
1032
- @kind = args[:kind] unless args[:kind].nil?
1033
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1030
+ @etag = args[:etag] if args.key?(:etag)
1031
+ @groups = args[:groups] if args.key?(:groups)
1032
+ @kind = args[:kind] if args.key?(:kind)
1033
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1034
1034
  end
1035
1035
  end
1036
1036
 
@@ -1075,12 +1075,12 @@ module Google
1075
1075
 
1076
1076
  # Update properties of this object
1077
1077
  def update!(**args)
1078
- @email = args[:email] unless args[:email].nil?
1079
- @etag = args[:etag] unless args[:etag].nil?
1080
- @id = args[:id] unless args[:id].nil?
1081
- @kind = args[:kind] unless args[:kind].nil?
1082
- @role = args[:role] unless args[:role].nil?
1083
- @type = args[:type] unless args[:type].nil?
1078
+ @email = args[:email] if args.key?(:email)
1079
+ @etag = args[:etag] if args.key?(:etag)
1080
+ @id = args[:id] if args.key?(:id)
1081
+ @kind = args[:kind] if args.key?(:kind)
1082
+ @role = args[:role] if args.key?(:role)
1083
+ @type = args[:type] if args.key?(:type)
1084
1084
  end
1085
1085
  end
1086
1086
 
@@ -1114,10 +1114,10 @@ module Google
1114
1114
 
1115
1115
  # Update properties of this object
1116
1116
  def update!(**args)
1117
- @etag = args[:etag] unless args[:etag].nil?
1118
- @kind = args[:kind] unless args[:kind].nil?
1119
- @members = args[:members] unless args[:members].nil?
1120
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1117
+ @etag = args[:etag] if args.key?(:etag)
1118
+ @kind = args[:kind] if args.key?(:kind)
1119
+ @members = args[:members] if args.key?(:members)
1120
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1121
1121
  end
1122
1122
  end
1123
1123
 
@@ -1294,37 +1294,37 @@ module Google
1294
1294
 
1295
1295
  # Update properties of this object
1296
1296
  def update!(**args)
1297
- @adb_status = args[:adb_status] unless args[:adb_status].nil?
1298
- @applications = args[:applications] unless args[:applications].nil?
1299
- @baseband_version = args[:baseband_version] unless args[:baseband_version].nil?
1300
- @build_number = args[:build_number] unless args[:build_number].nil?
1301
- @default_language = args[:default_language] unless args[:default_language].nil?
1302
- @developer_options_status = args[:developer_options_status] unless args[:developer_options_status].nil?
1303
- @device_compromised_status = args[:device_compromised_status] unless args[:device_compromised_status].nil?
1304
- @device_id = args[:device_id] unless args[:device_id].nil?
1305
- @email = args[:email] unless args[:email].nil?
1306
- @etag = args[:etag] unless args[:etag].nil?
1307
- @first_sync = args[:first_sync] unless args[:first_sync].nil?
1308
- @hardware_id = args[:hardware_id] unless args[:hardware_id].nil?
1309
- @imei = args[:imei] unless args[:imei].nil?
1310
- @kernel_version = args[:kernel_version] unless args[:kernel_version].nil?
1311
- @kind = args[:kind] unless args[:kind].nil?
1312
- @last_sync = args[:last_sync] unless args[:last_sync].nil?
1313
- @managed_account_is_on_owner_profile = args[:managed_account_is_on_owner_profile] unless args[:managed_account_is_on_owner_profile].nil?
1314
- @meid = args[:meid] unless args[:meid].nil?
1315
- @model = args[:model] unless args[:model].nil?
1316
- @name = args[:name] unless args[:name].nil?
1317
- @network_operator = args[:network_operator] unless args[:network_operator].nil?
1318
- @os = args[:os] unless args[:os].nil?
1319
- @other_accounts_info = args[:other_accounts_info] unless args[:other_accounts_info].nil?
1320
- @resource_id = args[:resource_id] unless args[:resource_id].nil?
1321
- @serial_number = args[:serial_number] unless args[:serial_number].nil?
1322
- @status = args[:status] unless args[:status].nil?
1323
- @supports_work_profile = args[:supports_work_profile] unless args[:supports_work_profile].nil?
1324
- @type = args[:type] unless args[:type].nil?
1325
- @unknown_sources_status = args[:unknown_sources_status] unless args[:unknown_sources_status].nil?
1326
- @user_agent = args[:user_agent] unless args[:user_agent].nil?
1327
- @wifi_mac_address = args[:wifi_mac_address] unless args[:wifi_mac_address].nil?
1297
+ @adb_status = args[:adb_status] if args.key?(:adb_status)
1298
+ @applications = args[:applications] if args.key?(:applications)
1299
+ @baseband_version = args[:baseband_version] if args.key?(:baseband_version)
1300
+ @build_number = args[:build_number] if args.key?(:build_number)
1301
+ @default_language = args[:default_language] if args.key?(:default_language)
1302
+ @developer_options_status = args[:developer_options_status] if args.key?(:developer_options_status)
1303
+ @device_compromised_status = args[:device_compromised_status] if args.key?(:device_compromised_status)
1304
+ @device_id = args[:device_id] if args.key?(:device_id)
1305
+ @email = args[:email] if args.key?(:email)
1306
+ @etag = args[:etag] if args.key?(:etag)
1307
+ @first_sync = args[:first_sync] if args.key?(:first_sync)
1308
+ @hardware_id = args[:hardware_id] if args.key?(:hardware_id)
1309
+ @imei = args[:imei] if args.key?(:imei)
1310
+ @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
1311
+ @kind = args[:kind] if args.key?(:kind)
1312
+ @last_sync = args[:last_sync] if args.key?(:last_sync)
1313
+ @managed_account_is_on_owner_profile = args[:managed_account_is_on_owner_profile] if args.key?(:managed_account_is_on_owner_profile)
1314
+ @meid = args[:meid] if args.key?(:meid)
1315
+ @model = args[:model] if args.key?(:model)
1316
+ @name = args[:name] if args.key?(:name)
1317
+ @network_operator = args[:network_operator] if args.key?(:network_operator)
1318
+ @os = args[:os] if args.key?(:os)
1319
+ @other_accounts_info = args[:other_accounts_info] if args.key?(:other_accounts_info)
1320
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
1321
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
1322
+ @status = args[:status] if args.key?(:status)
1323
+ @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile)
1324
+ @type = args[:type] if args.key?(:type)
1325
+ @unknown_sources_status = args[:unknown_sources_status] if args.key?(:unknown_sources_status)
1326
+ @user_agent = args[:user_agent] if args.key?(:user_agent)
1327
+ @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address)
1328
1328
  end
1329
1329
 
1330
1330
  #
@@ -1362,11 +1362,11 @@ module Google
1362
1362
 
1363
1363
  # Update properties of this object
1364
1364
  def update!(**args)
1365
- @display_name = args[:display_name] unless args[:display_name].nil?
1366
- @package_name = args[:package_name] unless args[:package_name].nil?
1367
- @permission = args[:permission] unless args[:permission].nil?
1368
- @version_code = args[:version_code] unless args[:version_code].nil?
1369
- @version_name = args[:version_name] unless args[:version_name].nil?
1365
+ @display_name = args[:display_name] if args.key?(:display_name)
1366
+ @package_name = args[:package_name] if args.key?(:package_name)
1367
+ @permission = args[:permission] if args.key?(:permission)
1368
+ @version_code = args[:version_code] if args.key?(:version_code)
1369
+ @version_name = args[:version_name] if args.key?(:version_name)
1370
1370
  end
1371
1371
  end
1372
1372
  end
@@ -1387,7 +1387,7 @@ module Google
1387
1387
 
1388
1388
  # Update properties of this object
1389
1389
  def update!(**args)
1390
- @action = args[:action] unless args[:action].nil?
1390
+ @action = args[:action] if args.key?(:action)
1391
1391
  end
1392
1392
  end
1393
1393
 
@@ -1421,10 +1421,10 @@ module Google
1421
1421
 
1422
1422
  # Update properties of this object
1423
1423
  def update!(**args)
1424
- @etag = args[:etag] unless args[:etag].nil?
1425
- @kind = args[:kind] unless args[:kind].nil?
1426
- @mobiledevices = args[:mobiledevices] unless args[:mobiledevices].nil?
1427
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1424
+ @etag = args[:etag] if args.key?(:etag)
1425
+ @kind = args[:kind] if args.key?(:kind)
1426
+ @mobiledevices = args[:mobiledevices] if args.key?(:mobiledevices)
1427
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1428
1428
  end
1429
1429
  end
1430
1430
 
@@ -1479,14 +1479,14 @@ module Google
1479
1479
 
1480
1480
  # Update properties of this object
1481
1481
  def update!(**args)
1482
- @body = args[:body] unless args[:body].nil?
1483
- @etag = args[:etag] unless args[:etag].nil?
1484
- @from_address = args[:from_address] unless args[:from_address].nil?
1485
- @is_unread = args[:is_unread] unless args[:is_unread].nil?
1486
- @kind = args[:kind] unless args[:kind].nil?
1487
- @notification_id = args[:notification_id] unless args[:notification_id].nil?
1488
- @send_time = args[:send_time] unless args[:send_time].nil?
1489
- @subject = args[:subject] unless args[:subject].nil?
1482
+ @body = args[:body] if args.key?(:body)
1483
+ @etag = args[:etag] if args.key?(:etag)
1484
+ @from_address = args[:from_address] if args.key?(:from_address)
1485
+ @is_unread = args[:is_unread] if args.key?(:is_unread)
1486
+ @kind = args[:kind] if args.key?(:kind)
1487
+ @notification_id = args[:notification_id] if args.key?(:notification_id)
1488
+ @send_time = args[:send_time] if args.key?(:send_time)
1489
+ @subject = args[:subject] if args.key?(:subject)
1490
1490
  end
1491
1491
  end
1492
1492
 
@@ -1525,11 +1525,11 @@ module Google
1525
1525
 
1526
1526
  # Update properties of this object
1527
1527
  def update!(**args)
1528
- @etag = args[:etag] unless args[:etag].nil?
1529
- @items = args[:items] unless args[:items].nil?
1530
- @kind = args[:kind] unless args[:kind].nil?
1531
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1532
- @unread_notifications_count = args[:unread_notifications_count] unless args[:unread_notifications_count].nil?
1528
+ @etag = args[:etag] if args.key?(:etag)
1529
+ @items = args[:items] if args.key?(:items)
1530
+ @kind = args[:kind] if args.key?(:kind)
1531
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1532
+ @unread_notifications_count = args[:unread_notifications_count] if args.key?(:unread_notifications_count)
1533
1533
  end
1534
1534
  end
1535
1535
 
@@ -1589,15 +1589,15 @@ module Google
1589
1589
 
1590
1590
  # Update properties of this object
1591
1591
  def update!(**args)
1592
- @block_inheritance = args[:block_inheritance] unless args[:block_inheritance].nil?
1593
- @description = args[:description] unless args[:description].nil?
1594
- @etag = args[:etag] unless args[:etag].nil?
1595
- @kind = args[:kind] unless args[:kind].nil?
1596
- @name = args[:name] unless args[:name].nil?
1597
- @org_unit_id = args[:org_unit_id] unless args[:org_unit_id].nil?
1598
- @org_unit_path = args[:org_unit_path] unless args[:org_unit_path].nil?
1599
- @parent_org_unit_id = args[:parent_org_unit_id] unless args[:parent_org_unit_id].nil?
1600
- @parent_org_unit_path = args[:parent_org_unit_path] unless args[:parent_org_unit_path].nil?
1592
+ @block_inheritance = args[:block_inheritance] if args.key?(:block_inheritance)
1593
+ @description = args[:description] if args.key?(:description)
1594
+ @etag = args[:etag] if args.key?(:etag)
1595
+ @kind = args[:kind] if args.key?(:kind)
1596
+ @name = args[:name] if args.key?(:name)
1597
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
1598
+ @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
1599
+ @parent_org_unit_id = args[:parent_org_unit_id] if args.key?(:parent_org_unit_id)
1600
+ @parent_org_unit_path = args[:parent_org_unit_path] if args.key?(:parent_org_unit_path)
1601
1601
  end
1602
1602
  end
1603
1603
 
@@ -1626,9 +1626,9 @@ module Google
1626
1626
 
1627
1627
  # Update properties of this object
1628
1628
  def update!(**args)
1629
- @etag = args[:etag] unless args[:etag].nil?
1630
- @kind = args[:kind] unless args[:kind].nil?
1631
- @organization_units = args[:organization_units] unless args[:organization_units].nil?
1629
+ @etag = args[:etag] if args.key?(:etag)
1630
+ @kind = args[:kind] if args.key?(:kind)
1631
+ @organization_units = args[:organization_units] if args.key?(:organization_units)
1632
1632
  end
1633
1633
  end
1634
1634
 
@@ -1680,13 +1680,13 @@ module Google
1680
1680
 
1681
1681
  # Update properties of this object
1682
1682
  def update!(**args)
1683
- @child_privileges = args[:child_privileges] unless args[:child_privileges].nil?
1684
- @etag = args[:etag] unless args[:etag].nil?
1685
- @is_ou_scopable = args[:is_ou_scopable] unless args[:is_ou_scopable].nil?
1686
- @kind = args[:kind] unless args[:kind].nil?
1687
- @privilege_name = args[:privilege_name] unless args[:privilege_name].nil?
1688
- @service_id = args[:service_id] unless args[:service_id].nil?
1689
- @service_name = args[:service_name] unless args[:service_name].nil?
1683
+ @child_privileges = args[:child_privileges] if args.key?(:child_privileges)
1684
+ @etag = args[:etag] if args.key?(:etag)
1685
+ @is_ou_scopable = args[:is_ou_scopable] if args.key?(:is_ou_scopable)
1686
+ @kind = args[:kind] if args.key?(:kind)
1687
+ @privilege_name = args[:privilege_name] if args.key?(:privilege_name)
1688
+ @service_id = args[:service_id] if args.key?(:service_id)
1689
+ @service_name = args[:service_name] if args.key?(:service_name)
1690
1690
  end
1691
1691
  end
1692
1692
 
@@ -1715,9 +1715,9 @@ module Google
1715
1715
 
1716
1716
  # Update properties of this object
1717
1717
  def update!(**args)
1718
- @etag = args[:etag] unless args[:etag].nil?
1719
- @items = args[:items] unless args[:items].nil?
1720
- @kind = args[:kind] unless args[:kind].nil?
1718
+ @etag = args[:etag] if args.key?(:etag)
1719
+ @items = args[:items] if args.key?(:items)
1720
+ @kind = args[:kind] if args.key?(:kind)
1721
1721
  end
1722
1722
  end
1723
1723
 
@@ -1773,14 +1773,14 @@ module Google
1773
1773
 
1774
1774
  # Update properties of this object
1775
1775
  def update!(**args)
1776
- @etag = args[:etag] unless args[:etag].nil?
1777
- @is_super_admin_role = args[:is_super_admin_role] unless args[:is_super_admin_role].nil?
1778
- @is_system_role = args[:is_system_role] unless args[:is_system_role].nil?
1779
- @kind = args[:kind] unless args[:kind].nil?
1780
- @role_description = args[:role_description] unless args[:role_description].nil?
1781
- @role_id = args[:role_id] unless args[:role_id].nil?
1782
- @role_name = args[:role_name] unless args[:role_name].nil?
1783
- @role_privileges = args[:role_privileges] unless args[:role_privileges].nil?
1776
+ @etag = args[:etag] if args.key?(:etag)
1777
+ @is_super_admin_role = args[:is_super_admin_role] if args.key?(:is_super_admin_role)
1778
+ @is_system_role = args[:is_system_role] if args.key?(:is_system_role)
1779
+ @kind = args[:kind] if args.key?(:kind)
1780
+ @role_description = args[:role_description] if args.key?(:role_description)
1781
+ @role_id = args[:role_id] if args.key?(:role_id)
1782
+ @role_name = args[:role_name] if args.key?(:role_name)
1783
+ @role_privileges = args[:role_privileges] if args.key?(:role_privileges)
1784
1784
  end
1785
1785
 
1786
1786
  #
@@ -1803,8 +1803,8 @@ module Google
1803
1803
 
1804
1804
  # Update properties of this object
1805
1805
  def update!(**args)
1806
- @privilege_name = args[:privilege_name] unless args[:privilege_name].nil?
1807
- @service_id = args[:service_id] unless args[:service_id].nil?
1806
+ @privilege_name = args[:privilege_name] if args.key?(:privilege_name)
1807
+ @service_id = args[:service_id] if args.key?(:service_id)
1808
1808
  end
1809
1809
  end
1810
1810
  end
@@ -1857,13 +1857,13 @@ module Google
1857
1857
 
1858
1858
  # Update properties of this object
1859
1859
  def update!(**args)
1860
- @assigned_to = args[:assigned_to] unless args[:assigned_to].nil?
1861
- @etag = args[:etag] unless args[:etag].nil?
1862
- @kind = args[:kind] unless args[:kind].nil?
1863
- @org_unit_id = args[:org_unit_id] unless args[:org_unit_id].nil?
1864
- @role_assignment_id = args[:role_assignment_id] unless args[:role_assignment_id].nil?
1865
- @role_id = args[:role_id] unless args[:role_id].nil?
1866
- @scope_type = args[:scope_type] unless args[:scope_type].nil?
1860
+ @assigned_to = args[:assigned_to] if args.key?(:assigned_to)
1861
+ @etag = args[:etag] if args.key?(:etag)
1862
+ @kind = args[:kind] if args.key?(:kind)
1863
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
1864
+ @role_assignment_id = args[:role_assignment_id] if args.key?(:role_assignment_id)
1865
+ @role_id = args[:role_id] if args.key?(:role_id)
1866
+ @scope_type = args[:scope_type] if args.key?(:scope_type)
1867
1867
  end
1868
1868
  end
1869
1869
 
@@ -1897,10 +1897,10 @@ module Google
1897
1897
 
1898
1898
  # Update properties of this object
1899
1899
  def update!(**args)
1900
- @etag = args[:etag] unless args[:etag].nil?
1901
- @items = args[:items] unless args[:items].nil?
1902
- @kind = args[:kind] unless args[:kind].nil?
1903
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1900
+ @etag = args[:etag] if args.key?(:etag)
1901
+ @items = args[:items] if args.key?(:items)
1902
+ @kind = args[:kind] if args.key?(:kind)
1903
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1904
1904
  end
1905
1905
  end
1906
1906
 
@@ -1934,10 +1934,10 @@ module Google
1934
1934
 
1935
1935
  # Update properties of this object
1936
1936
  def update!(**args)
1937
- @etag = args[:etag] unless args[:etag].nil?
1938
- @items = args[:items] unless args[:items].nil?
1939
- @kind = args[:kind] unless args[:kind].nil?
1940
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1937
+ @etag = args[:etag] if args.key?(:etag)
1938
+ @items = args[:items] if args.key?(:items)
1939
+ @kind = args[:kind] if args.key?(:kind)
1940
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1941
1941
  end
1942
1942
  end
1943
1943
 
@@ -1976,11 +1976,11 @@ module Google
1976
1976
 
1977
1977
  # Update properties of this object
1978
1978
  def update!(**args)
1979
- @etag = args[:etag] unless args[:etag].nil?
1980
- @fields = args[:fields] unless args[:fields].nil?
1981
- @kind = args[:kind] unless args[:kind].nil?
1982
- @schema_id = args[:schema_id] unless args[:schema_id].nil?
1983
- @schema_name = args[:schema_name] unless args[:schema_name].nil?
1979
+ @etag = args[:etag] if args.key?(:etag)
1980
+ @fields = args[:fields] if args.key?(:fields)
1981
+ @kind = args[:kind] if args.key?(:kind)
1982
+ @schema_id = args[:schema_id] if args.key?(:schema_id)
1983
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
1984
1984
  end
1985
1985
  end
1986
1986
 
@@ -2044,15 +2044,15 @@ module Google
2044
2044
 
2045
2045
  # Update properties of this object
2046
2046
  def update!(**args)
2047
- @etag = args[:etag] unless args[:etag].nil?
2048
- @field_id = args[:field_id] unless args[:field_id].nil?
2049
- @field_name = args[:field_name] unless args[:field_name].nil?
2050
- @field_type = args[:field_type] unless args[:field_type].nil?
2051
- @indexed = args[:indexed] unless args[:indexed].nil?
2052
- @kind = args[:kind] unless args[:kind].nil?
2053
- @multi_valued = args[:multi_valued] unless args[:multi_valued].nil?
2054
- @numeric_indexing_spec = args[:numeric_indexing_spec] unless args[:numeric_indexing_spec].nil?
2055
- @read_access_type = args[:read_access_type] unless args[:read_access_type].nil?
2047
+ @etag = args[:etag] if args.key?(:etag)
2048
+ @field_id = args[:field_id] if args.key?(:field_id)
2049
+ @field_name = args[:field_name] if args.key?(:field_name)
2050
+ @field_type = args[:field_type] if args.key?(:field_type)
2051
+ @indexed = args[:indexed] if args.key?(:indexed)
2052
+ @kind = args[:kind] if args.key?(:kind)
2053
+ @multi_valued = args[:multi_valued] if args.key?(:multi_valued)
2054
+ @numeric_indexing_spec = args[:numeric_indexing_spec] if args.key?(:numeric_indexing_spec)
2055
+ @read_access_type = args[:read_access_type] if args.key?(:read_access_type)
2056
2056
  end
2057
2057
 
2058
2058
  # Indexing spec for a numeric field. By default, only exact match queries will
@@ -2081,8 +2081,8 @@ module Google
2081
2081
 
2082
2082
  # Update properties of this object
2083
2083
  def update!(**args)
2084
- @max_value = args[:max_value] unless args[:max_value].nil?
2085
- @min_value = args[:min_value] unless args[:min_value].nil?
2084
+ @max_value = args[:max_value] if args.key?(:max_value)
2085
+ @min_value = args[:min_value] if args.key?(:min_value)
2086
2086
  end
2087
2087
  end
2088
2088
  end
@@ -2112,9 +2112,9 @@ module Google
2112
2112
 
2113
2113
  # Update properties of this object
2114
2114
  def update!(**args)
2115
- @etag = args[:etag] unless args[:etag].nil?
2116
- @kind = args[:kind] unless args[:kind].nil?
2117
- @schemas = args[:schemas] unless args[:schemas].nil?
2115
+ @etag = args[:etag] if args.key?(:etag)
2116
+ @kind = args[:kind] if args.key?(:kind)
2117
+ @schemas = args[:schemas] if args.key?(:schemas)
2118
2118
  end
2119
2119
  end
2120
2120
 
@@ -2172,14 +2172,14 @@ module Google
2172
2172
 
2173
2173
  # Update properties of this object
2174
2174
  def update!(**args)
2175
- @anonymous = args[:anonymous] unless args[:anonymous].nil?
2176
- @client_id = args[:client_id] unless args[:client_id].nil?
2177
- @display_text = args[:display_text] unless args[:display_text].nil?
2178
- @etag = args[:etag] unless args[:etag].nil?
2179
- @kind = args[:kind] unless args[:kind].nil?
2180
- @native_app = args[:native_app] unless args[:native_app].nil?
2181
- @scopes = args[:scopes] unless args[:scopes].nil?
2182
- @user_key = args[:user_key] unless args[:user_key].nil?
2175
+ @anonymous = args[:anonymous] if args.key?(:anonymous)
2176
+ @client_id = args[:client_id] if args.key?(:client_id)
2177
+ @display_text = args[:display_text] if args.key?(:display_text)
2178
+ @etag = args[:etag] if args.key?(:etag)
2179
+ @kind = args[:kind] if args.key?(:kind)
2180
+ @native_app = args[:native_app] if args.key?(:native_app)
2181
+ @scopes = args[:scopes] if args.key?(:scopes)
2182
+ @user_key = args[:user_key] if args.key?(:user_key)
2183
2183
  end
2184
2184
  end
2185
2185
 
@@ -2208,9 +2208,9 @@ module Google
2208
2208
 
2209
2209
  # Update properties of this object
2210
2210
  def update!(**args)
2211
- @etag = args[:etag] unless args[:etag].nil?
2212
- @items = args[:items] unless args[:items].nil?
2213
- @kind = args[:kind] unless args[:kind].nil?
2211
+ @etag = args[:etag] if args.key?(:etag)
2212
+ @items = args[:items] if args.key?(:items)
2213
+ @kind = args[:kind] if args.key?(:kind)
2214
2214
  end
2215
2215
  end
2216
2216
 
@@ -2407,41 +2407,41 @@ module Google
2407
2407
 
2408
2408
  # Update properties of this object
2409
2409
  def update!(**args)
2410
- @addresses = args[:addresses] unless args[:addresses].nil?
2411
- @agreed_to_terms = args[:agreed_to_terms] unless args[:agreed_to_terms].nil?
2412
- @aliases = args[:aliases] unless args[:aliases].nil?
2413
- @change_password_at_next_login = args[:change_password_at_next_login] unless args[:change_password_at_next_login].nil?
2414
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
2415
- @custom_schemas = args[:custom_schemas] unless args[:custom_schemas].nil?
2416
- @customer_id = args[:customer_id] unless args[:customer_id].nil?
2417
- @deletion_time = args[:deletion_time] unless args[:deletion_time].nil?
2418
- @emails = args[:emails] unless args[:emails].nil?
2419
- @etag = args[:etag] unless args[:etag].nil?
2420
- @external_ids = args[:external_ids] unless args[:external_ids].nil?
2421
- @hash_function = args[:hash_function] unless args[:hash_function].nil?
2422
- @id = args[:id] unless args[:id].nil?
2423
- @ims = args[:ims] unless args[:ims].nil?
2424
- @include_in_global_address_list = args[:include_in_global_address_list] unless args[:include_in_global_address_list].nil?
2425
- @ip_whitelisted = args[:ip_whitelisted] unless args[:ip_whitelisted].nil?
2426
- @is_admin = args[:is_admin] unless args[:is_admin].nil?
2427
- @is_delegated_admin = args[:is_delegated_admin] unless args[:is_delegated_admin].nil?
2428
- @is_mailbox_setup = args[:is_mailbox_setup] unless args[:is_mailbox_setup].nil?
2429
- @kind = args[:kind] unless args[:kind].nil?
2430
- @last_login_time = args[:last_login_time] unless args[:last_login_time].nil?
2431
- @name = args[:name] unless args[:name].nil?
2432
- @non_editable_aliases = args[:non_editable_aliases] unless args[:non_editable_aliases].nil?
2433
- @notes = args[:notes] unless args[:notes].nil?
2434
- @org_unit_path = args[:org_unit_path] unless args[:org_unit_path].nil?
2435
- @organizations = args[:organizations] unless args[:organizations].nil?
2436
- @password = args[:password] unless args[:password].nil?
2437
- @phones = args[:phones] unless args[:phones].nil?
2438
- @primary_email = args[:primary_email] unless args[:primary_email].nil?
2439
- @relations = args[:relations] unless args[:relations].nil?
2440
- @suspended = args[:suspended] unless args[:suspended].nil?
2441
- @suspension_reason = args[:suspension_reason] unless args[:suspension_reason].nil?
2442
- @thumbnail_photo_etag = args[:thumbnail_photo_etag] unless args[:thumbnail_photo_etag].nil?
2443
- @thumbnail_photo_url = args[:thumbnail_photo_url] unless args[:thumbnail_photo_url].nil?
2444
- @websites = args[:websites] unless args[:websites].nil?
2410
+ @addresses = args[:addresses] if args.key?(:addresses)
2411
+ @agreed_to_terms = args[:agreed_to_terms] if args.key?(:agreed_to_terms)
2412
+ @aliases = args[:aliases] if args.key?(:aliases)
2413
+ @change_password_at_next_login = args[:change_password_at_next_login] if args.key?(:change_password_at_next_login)
2414
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
2415
+ @custom_schemas = args[:custom_schemas] if args.key?(:custom_schemas)
2416
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
2417
+ @deletion_time = args[:deletion_time] if args.key?(:deletion_time)
2418
+ @emails = args[:emails] if args.key?(:emails)
2419
+ @etag = args[:etag] if args.key?(:etag)
2420
+ @external_ids = args[:external_ids] if args.key?(:external_ids)
2421
+ @hash_function = args[:hash_function] if args.key?(:hash_function)
2422
+ @id = args[:id] if args.key?(:id)
2423
+ @ims = args[:ims] if args.key?(:ims)
2424
+ @include_in_global_address_list = args[:include_in_global_address_list] if args.key?(:include_in_global_address_list)
2425
+ @ip_whitelisted = args[:ip_whitelisted] if args.key?(:ip_whitelisted)
2426
+ @is_admin = args[:is_admin] if args.key?(:is_admin)
2427
+ @is_delegated_admin = args[:is_delegated_admin] if args.key?(:is_delegated_admin)
2428
+ @is_mailbox_setup = args[:is_mailbox_setup] if args.key?(:is_mailbox_setup)
2429
+ @kind = args[:kind] if args.key?(:kind)
2430
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
2431
+ @name = args[:name] if args.key?(:name)
2432
+ @non_editable_aliases = args[:non_editable_aliases] if args.key?(:non_editable_aliases)
2433
+ @notes = args[:notes] if args.key?(:notes)
2434
+ @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
2435
+ @organizations = args[:organizations] if args.key?(:organizations)
2436
+ @password = args[:password] if args.key?(:password)
2437
+ @phones = args[:phones] if args.key?(:phones)
2438
+ @primary_email = args[:primary_email] if args.key?(:primary_email)
2439
+ @relations = args[:relations] if args.key?(:relations)
2440
+ @suspended = args[:suspended] if args.key?(:suspended)
2441
+ @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
2442
+ @thumbnail_photo_etag = args[:thumbnail_photo_etag] if args.key?(:thumbnail_photo_etag)
2443
+ @thumbnail_photo_url = args[:thumbnail_photo_url] if args.key?(:thumbnail_photo_url)
2444
+ @websites = args[:websites] if args.key?(:websites)
2445
2445
  end
2446
2446
  end
2447
2447
 
@@ -2466,8 +2466,8 @@ module Google
2466
2466
 
2467
2467
  # Update properties of this object
2468
2468
  def update!(**args)
2469
- @content_type = args[:content_type] unless args[:content_type].nil?
2470
- @value = args[:value] unless args[:value].nil?
2469
+ @content_type = args[:content_type] if args.key?(:content_type)
2470
+ @value = args[:value] if args.key?(:value)
2471
2471
  end
2472
2472
  end
2473
2473
 
@@ -2553,19 +2553,19 @@ module Google
2553
2553
 
2554
2554
  # Update properties of this object
2555
2555
  def update!(**args)
2556
- @country = args[:country] unless args[:country].nil?
2557
- @country_code = args[:country_code] unless args[:country_code].nil?
2558
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2559
- @extended_address = args[:extended_address] unless args[:extended_address].nil?
2560
- @formatted = args[:formatted] unless args[:formatted].nil?
2561
- @locality = args[:locality] unless args[:locality].nil?
2562
- @po_box = args[:po_box] unless args[:po_box].nil?
2563
- @postal_code = args[:postal_code] unless args[:postal_code].nil?
2564
- @primary = args[:primary] unless args[:primary].nil?
2565
- @region = args[:region] unless args[:region].nil?
2566
- @source_is_structured = args[:source_is_structured] unless args[:source_is_structured].nil?
2567
- @street_address = args[:street_address] unless args[:street_address].nil?
2568
- @type = args[:type] unless args[:type].nil?
2556
+ @country = args[:country] if args.key?(:country)
2557
+ @country_code = args[:country_code] if args.key?(:country_code)
2558
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2559
+ @extended_address = args[:extended_address] if args.key?(:extended_address)
2560
+ @formatted = args[:formatted] if args.key?(:formatted)
2561
+ @locality = args[:locality] if args.key?(:locality)
2562
+ @po_box = args[:po_box] if args.key?(:po_box)
2563
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
2564
+ @primary = args[:primary] if args.key?(:primary)
2565
+ @region = args[:region] if args.key?(:region)
2566
+ @source_is_structured = args[:source_is_structured] if args.key?(:source_is_structured)
2567
+ @street_address = args[:street_address] if args.key?(:street_address)
2568
+ @type = args[:type] if args.key?(:type)
2569
2569
  end
2570
2570
  end
2571
2571
 
@@ -2603,10 +2603,10 @@ module Google
2603
2603
 
2604
2604
  # Update properties of this object
2605
2605
  def update!(**args)
2606
- @address = args[:address] unless args[:address].nil?
2607
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2608
- @primary = args[:primary] unless args[:primary].nil?
2609
- @type = args[:type] unless args[:type].nil?
2606
+ @address = args[:address] if args.key?(:address)
2607
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2608
+ @primary = args[:primary] if args.key?(:primary)
2609
+ @type = args[:type] if args.key?(:type)
2610
2610
  end
2611
2611
  end
2612
2612
 
@@ -2635,9 +2635,9 @@ module Google
2635
2635
 
2636
2636
  # Update properties of this object
2637
2637
  def update!(**args)
2638
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2639
- @type = args[:type] unless args[:type].nil?
2640
- @value = args[:value] unless args[:value].nil?
2638
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2639
+ @type = args[:type] if args.key?(:type)
2640
+ @value = args[:value] if args.key?(:value)
2641
2641
  end
2642
2642
  end
2643
2643
 
@@ -2687,12 +2687,12 @@ module Google
2687
2687
 
2688
2688
  # Update properties of this object
2689
2689
  def update!(**args)
2690
- @custom_protocol = args[:custom_protocol] unless args[:custom_protocol].nil?
2691
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2692
- @im = args[:im] unless args[:im].nil?
2693
- @primary = args[:primary] unless args[:primary].nil?
2694
- @protocol = args[:protocol] unless args[:protocol].nil?
2695
- @type = args[:type] unless args[:type].nil?
2690
+ @custom_protocol = args[:custom_protocol] if args.key?(:custom_protocol)
2691
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2692
+ @im = args[:im] if args.key?(:im)
2693
+ @primary = args[:primary] if args.key?(:primary)
2694
+ @protocol = args[:protocol] if args.key?(:protocol)
2695
+ @type = args[:type] if args.key?(:type)
2696
2696
  end
2697
2697
  end
2698
2698
 
@@ -2713,7 +2713,7 @@ module Google
2713
2713
 
2714
2714
  # Update properties of this object
2715
2715
  def update!(**args)
2716
- @status = args[:status] unless args[:status].nil?
2716
+ @status = args[:status] if args.key?(:status)
2717
2717
  end
2718
2718
  end
2719
2719
 
@@ -2742,9 +2742,9 @@ module Google
2742
2742
 
2743
2743
  # Update properties of this object
2744
2744
  def update!(**args)
2745
- @family_name = args[:family_name] unless args[:family_name].nil?
2746
- @full_name = args[:full_name] unless args[:full_name].nil?
2747
- @given_name = args[:given_name] unless args[:given_name].nil?
2745
+ @family_name = args[:family_name] if args.key?(:family_name)
2746
+ @full_name = args[:full_name] if args.key?(:full_name)
2747
+ @given_name = args[:given_name] if args.key?(:given_name)
2748
2748
  end
2749
2749
  end
2750
2750
 
@@ -2817,17 +2817,17 @@ module Google
2817
2817
 
2818
2818
  # Update properties of this object
2819
2819
  def update!(**args)
2820
- @cost_center = args[:cost_center] unless args[:cost_center].nil?
2821
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2822
- @department = args[:department] unless args[:department].nil?
2823
- @description = args[:description] unless args[:description].nil?
2824
- @domain = args[:domain] unless args[:domain].nil?
2825
- @location = args[:location] unless args[:location].nil?
2826
- @name = args[:name] unless args[:name].nil?
2827
- @primary = args[:primary] unless args[:primary].nil?
2828
- @symbol = args[:symbol] unless args[:symbol].nil?
2829
- @title = args[:title] unless args[:title].nil?
2830
- @type = args[:type] unless args[:type].nil?
2820
+ @cost_center = args[:cost_center] if args.key?(:cost_center)
2821
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2822
+ @department = args[:department] if args.key?(:department)
2823
+ @description = args[:description] if args.key?(:description)
2824
+ @domain = args[:domain] if args.key?(:domain)
2825
+ @location = args[:location] if args.key?(:location)
2826
+ @name = args[:name] if args.key?(:name)
2827
+ @primary = args[:primary] if args.key?(:primary)
2828
+ @symbol = args[:symbol] if args.key?(:symbol)
2829
+ @title = args[:title] if args.key?(:title)
2830
+ @type = args[:type] if args.key?(:type)
2831
2831
  end
2832
2832
  end
2833
2833
 
@@ -2865,10 +2865,10 @@ module Google
2865
2865
 
2866
2866
  # Update properties of this object
2867
2867
  def update!(**args)
2868
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2869
- @primary = args[:primary] unless args[:primary].nil?
2870
- @type = args[:type] unless args[:type].nil?
2871
- @value = args[:value] unless args[:value].nil?
2868
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2869
+ @primary = args[:primary] if args.key?(:primary)
2870
+ @type = args[:type] if args.key?(:type)
2871
+ @value = args[:value] if args.key?(:value)
2872
2872
  end
2873
2873
  end
2874
2874
 
@@ -2922,14 +2922,14 @@ module Google
2922
2922
 
2923
2923
  # Update properties of this object
2924
2924
  def update!(**args)
2925
- @etag = args[:etag] unless args[:etag].nil?
2926
- @height = args[:height] unless args[:height].nil?
2927
- @id = args[:id] unless args[:id].nil?
2928
- @kind = args[:kind] unless args[:kind].nil?
2929
- @mime_type = args[:mime_type] unless args[:mime_type].nil?
2930
- @photo_data = args[:photo_data] unless args[:photo_data].nil?
2931
- @primary_email = args[:primary_email] unless args[:primary_email].nil?
2932
- @width = args[:width] unless args[:width].nil?
2925
+ @etag = args[:etag] if args.key?(:etag)
2926
+ @height = args[:height] if args.key?(:height)
2927
+ @id = args[:id] if args.key?(:id)
2928
+ @kind = args[:kind] if args.key?(:kind)
2929
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
2930
+ @photo_data = args[:photo_data] if args.key?(:photo_data)
2931
+ @primary_email = args[:primary_email] if args.key?(:primary_email)
2932
+ @width = args[:width] if args.key?(:width)
2933
2933
  end
2934
2934
  end
2935
2935
 
@@ -2959,9 +2959,9 @@ module Google
2959
2959
 
2960
2960
  # Update properties of this object
2961
2961
  def update!(**args)
2962
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
2963
- @type = args[:type] unless args[:type].nil?
2964
- @value = args[:value] unless args[:value].nil?
2962
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
2963
+ @type = args[:type] if args.key?(:type)
2964
+ @value = args[:value] if args.key?(:value)
2965
2965
  end
2966
2966
  end
2967
2967
 
@@ -2980,7 +2980,7 @@ module Google
2980
2980
 
2981
2981
  # Update properties of this object
2982
2982
  def update!(**args)
2983
- @org_unit_path = args[:org_unit_path] unless args[:org_unit_path].nil?
2983
+ @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
2984
2984
  end
2985
2985
  end
2986
2986
 
@@ -3018,10 +3018,10 @@ module Google
3018
3018
 
3019
3019
  # Update properties of this object
3020
3020
  def update!(**args)
3021
- @custom_type = args[:custom_type] unless args[:custom_type].nil?
3022
- @primary = args[:primary] unless args[:primary].nil?
3023
- @type = args[:type] unless args[:type].nil?
3024
- @value = args[:value] unless args[:value].nil?
3021
+ @custom_type = args[:custom_type] if args.key?(:custom_type)
3022
+ @primary = args[:primary] if args.key?(:primary)
3023
+ @type = args[:type] if args.key?(:type)
3024
+ @value = args[:value] if args.key?(:value)
3025
3025
  end
3026
3026
  end
3027
3027
 
@@ -3060,11 +3060,11 @@ module Google
3060
3060
 
3061
3061
  # Update properties of this object
3062
3062
  def update!(**args)
3063
- @etag = args[:etag] unless args[:etag].nil?
3064
- @kind = args[:kind] unless args[:kind].nil?
3065
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
3066
- @trigger_event = args[:trigger_event] unless args[:trigger_event].nil?
3067
- @users = args[:users] unless args[:users].nil?
3063
+ @etag = args[:etag] if args.key?(:etag)
3064
+ @kind = args[:kind] if args.key?(:kind)
3065
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3066
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
3067
+ @users = args[:users] if args.key?(:users)
3068
3068
  end
3069
3069
  end
3070
3070
 
@@ -3099,10 +3099,10 @@ module Google
3099
3099
 
3100
3100
  # Update properties of this object
3101
3101
  def update!(**args)
3102
- @etag = args[:etag] unless args[:etag].nil?
3103
- @kind = args[:kind] unless args[:kind].nil?
3104
- @user_id = args[:user_id] unless args[:user_id].nil?
3105
- @verification_code = args[:verification_code] unless args[:verification_code].nil?
3102
+ @etag = args[:etag] if args.key?(:etag)
3103
+ @kind = args[:kind] if args.key?(:kind)
3104
+ @user_id = args[:user_id] if args.key?(:user_id)
3105
+ @verification_code = args[:verification_code] if args.key?(:verification_code)
3106
3106
  end
3107
3107
  end
3108
3108
 
@@ -3131,9 +3131,9 @@ module Google
3131
3131
 
3132
3132
  # Update properties of this object
3133
3133
  def update!(**args)
3134
- @etag = args[:etag] unless args[:etag].nil?
3135
- @items = args[:items] unless args[:items].nil?
3136
- @kind = args[:kind] unless args[:kind].nil?
3134
+ @etag = args[:etag] if args.key?(:etag)
3135
+ @items = args[:items] if args.key?(:items)
3136
+ @kind = args[:kind] if args.key?(:kind)
3137
3137
  end
3138
3138
  end
3139
3139
  end