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
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/adsense/host/
27
27
  module AdsensehostV4_1
28
28
  VERSION = 'V4_1'
29
- REVISION = '20160112'
29
+ REVISION = '20160209'
30
30
 
31
31
  # View and manage your AdSense host data and associated accounts
32
32
  AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
@@ -52,10 +52,10 @@ module Google
52
52
 
53
53
  # Update properties of this object
54
54
  def update!(**args)
55
- @id = args[:id] unless args[:id].nil?
56
- @kind = args[:kind] unless args[:kind].nil?
57
- @name = args[:name] unless args[:name].nil?
58
- @status = args[:status] unless args[:status].nil?
55
+ @id = args[:id] if args.key?(:id)
56
+ @kind = args[:kind] if args.key?(:kind)
57
+ @name = args[:name] if args.key?(:name)
58
+ @status = args[:status] if args.key?(:status)
59
59
  end
60
60
  end
61
61
 
@@ -84,9 +84,9 @@ 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?
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
90
  end
91
91
  end
92
92
 
@@ -128,11 +128,11 @@ module Google
128
128
 
129
129
  # Update properties of this object
130
130
  def update!(**args)
131
- @arc_opt_in = args[:arc_opt_in] unless args[:arc_opt_in].nil?
132
- @id = args[:id] unless args[:id].nil?
133
- @kind = args[:kind] unless args[:kind].nil?
134
- @product_code = args[:product_code] unless args[:product_code].nil?
135
- @supports_reporting = args[:supports_reporting] unless args[:supports_reporting].nil?
131
+ @arc_opt_in = args[:arc_opt_in] if args.key?(:arc_opt_in)
132
+ @id = args[:id] if args.key?(:id)
133
+ @kind = args[:kind] if args.key?(:kind)
134
+ @product_code = args[:product_code] if args.key?(:product_code)
135
+ @supports_reporting = args[:supports_reporting] if args.key?(:supports_reporting)
136
136
  end
137
137
  end
138
138
 
@@ -167,10 +167,10 @@ module Google
167
167
 
168
168
  # Update properties of this object
169
169
  def update!(**args)
170
- @etag = args[:etag] unless args[:etag].nil?
171
- @items = args[:items] unless args[:items].nil?
172
- @kind = args[:kind] unless args[:kind].nil?
173
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
170
+ @etag = args[:etag] if args.key?(:etag)
171
+ @items = args[:items] if args.key?(:items)
172
+ @kind = args[:kind] if args.key?(:kind)
173
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
174
174
  end
175
175
  end
176
176
 
@@ -194,8 +194,8 @@ module Google
194
194
 
195
195
  # Update properties of this object
196
196
  def update!(**args)
197
- @ad_code = args[:ad_code] unless args[:ad_code].nil?
198
- @kind = args[:kind] unless args[:kind].nil?
197
+ @ad_code = args[:ad_code] if args.key?(:ad_code)
198
+ @kind = args[:kind] if args.key?(:kind)
199
199
  end
200
200
  end
201
201
 
@@ -231,10 +231,10 @@ module Google
231
231
 
232
232
  # Update properties of this object
233
233
  def update!(**args)
234
- @colors = args[:colors] unless args[:colors].nil?
235
- @corners = args[:corners] unless args[:corners].nil?
236
- @font = args[:font] unless args[:font].nil?
237
- @kind = args[:kind] unless args[:kind].nil?
234
+ @colors = args[:colors] if args.key?(:colors)
235
+ @corners = args[:corners] if args.key?(:corners)
236
+ @font = args[:font] if args.key?(:font)
237
+ @kind = args[:kind] if args.key?(:kind)
238
238
  end
239
239
 
240
240
  # The colors included in the style. These are represented as six hexadecimal
@@ -273,11 +273,11 @@ module Google
273
273
 
274
274
  # Update properties of this object
275
275
  def update!(**args)
276
- @background = args[:background] unless args[:background].nil?
277
- @border = args[:border] unless args[:border].nil?
278
- @text = args[:text] unless args[:text].nil?
279
- @title = args[:title] unless args[:title].nil?
280
- @url = args[:url] unless args[:url].nil?
276
+ @background = args[:background] if args.key?(:background)
277
+ @border = args[:border] if args.key?(:border)
278
+ @text = args[:text] if args.key?(:text)
279
+ @title = args[:title] if args.key?(:title)
280
+ @url = args[:url] if args.key?(:url)
281
281
  end
282
282
  end
283
283
 
@@ -303,8 +303,8 @@ module Google
303
303
 
304
304
  # Update properties of this object
305
305
  def update!(**args)
306
- @family = args[:family] unless args[:family].nil?
307
- @size = args[:size] unless args[:size].nil?
306
+ @family = args[:family] if args.key?(:family)
307
+ @size = args[:size] if args.key?(:size)
308
308
  end
309
309
  end
310
310
  end
@@ -318,7 +318,8 @@ module Google
318
318
  # @return [String]
319
319
  attr_accessor :code
320
320
 
321
- # Settings specific to content ads (AFC) and highend mobile content ads (AFMC).
321
+ # Settings specific to content ads (AFC) and highend mobile content ads (AFMC -
322
+ # deprecated).
322
323
  # Corresponds to the JSON property `contentAdsSettings`
323
324
  # @return [Google::Apis::AdsensehostV4_1::AdUnit::ContentAdsSettings]
324
325
  attr_accessor :content_ads_settings
@@ -339,7 +340,7 @@ module Google
339
340
  # @return [String]
340
341
  attr_accessor :kind
341
342
 
342
- # Settings specific to WAP mobile content ads (AFMC).
343
+ # Settings specific to WAP mobile content ads (AFMC - deprecated).
343
344
  # Corresponds to the JSON property `mobileContentAdsSettings`
344
345
  # @return [Google::Apis::AdsensehostV4_1::AdUnit::MobileContentAdsSettings]
345
346
  attr_accessor :mobile_content_ads_settings
@@ -366,17 +367,18 @@ module Google
366
367
 
367
368
  # Update properties of this object
368
369
  def update!(**args)
369
- @code = args[:code] unless args[:code].nil?
370
- @content_ads_settings = args[:content_ads_settings] unless args[:content_ads_settings].nil?
371
- @custom_style = args[:custom_style] unless args[:custom_style].nil?
372
- @id = args[:id] unless args[:id].nil?
373
- @kind = args[:kind] unless args[:kind].nil?
374
- @mobile_content_ads_settings = args[:mobile_content_ads_settings] unless args[:mobile_content_ads_settings].nil?
375
- @name = args[:name] unless args[:name].nil?
376
- @status = args[:status] unless args[:status].nil?
377
- end
378
-
379
- # Settings specific to content ads (AFC) and highend mobile content ads (AFMC).
370
+ @code = args[:code] if args.key?(:code)
371
+ @content_ads_settings = args[:content_ads_settings] if args.key?(:content_ads_settings)
372
+ @custom_style = args[:custom_style] if args.key?(:custom_style)
373
+ @id = args[:id] if args.key?(:id)
374
+ @kind = args[:kind] if args.key?(:kind)
375
+ @mobile_content_ads_settings = args[:mobile_content_ads_settings] if args.key?(:mobile_content_ads_settings)
376
+ @name = args[:name] if args.key?(:name)
377
+ @status = args[:status] if args.key?(:status)
378
+ end
379
+
380
+ # Settings specific to content ads (AFC) and highend mobile content ads (AFMC -
381
+ # deprecated).
380
382
  class ContentAdsSettings
381
383
  include Google::Apis::Core::Hashable
382
384
 
@@ -401,9 +403,9 @@ module Google
401
403
 
402
404
  # Update properties of this object
403
405
  def update!(**args)
404
- @backup_option = args[:backup_option] unless args[:backup_option].nil?
405
- @size = args[:size] unless args[:size].nil?
406
- @type = args[:type] unless args[:type].nil?
406
+ @backup_option = args[:backup_option] if args.key?(:backup_option)
407
+ @size = args[:size] if args.key?(:size)
408
+ @type = args[:type] if args.key?(:type)
407
409
  end
408
410
 
409
411
  # The backup option to be used in instances where no ad is available.
@@ -433,14 +435,14 @@ module Google
433
435
 
434
436
  # Update properties of this object
435
437
  def update!(**args)
436
- @color = args[:color] unless args[:color].nil?
437
- @type = args[:type] unless args[:type].nil?
438
- @url = args[:url] unless args[:url].nil?
438
+ @color = args[:color] if args.key?(:color)
439
+ @type = args[:type] if args.key?(:type)
440
+ @url = args[:url] if args.key?(:url)
439
441
  end
440
442
  end
441
443
  end
442
444
 
443
- # Settings specific to WAP mobile content ads (AFMC).
445
+ # Settings specific to WAP mobile content ads (AFMC - deprecated).
444
446
  class MobileContentAdsSettings
445
447
  include Google::Apis::Core::Hashable
446
448
 
@@ -470,10 +472,10 @@ module Google
470
472
 
471
473
  # Update properties of this object
472
474
  def update!(**args)
473
- @markup_language = args[:markup_language] unless args[:markup_language].nil?
474
- @scripting_language = args[:scripting_language] unless args[:scripting_language].nil?
475
- @size = args[:size] unless args[:size].nil?
476
- @type = args[:type] unless args[:type].nil?
475
+ @markup_language = args[:markup_language] if args.key?(:markup_language)
476
+ @scripting_language = args[:scripting_language] if args.key?(:scripting_language)
477
+ @size = args[:size] if args.key?(:size)
478
+ @type = args[:type] if args.key?(:type)
477
479
  end
478
480
  end
479
481
  end
@@ -509,10 +511,10 @@ module Google
509
511
 
510
512
  # Update properties of this object
511
513
  def update!(**args)
512
- @etag = args[:etag] unless args[:etag].nil?
513
- @items = args[:items] unless args[:items].nil?
514
- @kind = args[:kind] unless args[:kind].nil?
515
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
514
+ @etag = args[:etag] if args.key?(:etag)
515
+ @items = args[:items] if args.key?(:items)
516
+ @kind = args[:kind] if args.key?(:kind)
517
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
516
518
  end
517
519
  end
518
520
 
@@ -536,7 +538,8 @@ module Google
536
538
  # @return [String]
537
539
  attr_accessor :kind
538
540
 
539
- # The products to associate with the user. Options: AFC, AFF, AFS, AFMC
541
+ # The products to associate with the user. Options: AFC, AFG, AFV, AFS (
542
+ # deprecated), AFMC (deprecated)
540
543
  # Corresponds to the JSON property `productCodes`
541
544
  # @return [Array<String>]
542
545
  attr_accessor :product_codes
@@ -575,15 +578,15 @@ module Google
575
578
 
576
579
  # Update properties of this object
577
580
  def update!(**args)
578
- @account_id = args[:account_id] unless args[:account_id].nil?
579
- @id = args[:id] unless args[:id].nil?
580
- @kind = args[:kind] unless args[:kind].nil?
581
- @product_codes = args[:product_codes] unless args[:product_codes].nil?
582
- @redirect_url = args[:redirect_url] unless args[:redirect_url].nil?
583
- @status = args[:status] unless args[:status].nil?
584
- @user_locale = args[:user_locale] unless args[:user_locale].nil?
585
- @website_locale = args[:website_locale] unless args[:website_locale].nil?
586
- @website_url = args[:website_url] unless args[:website_url].nil?
581
+ @account_id = args[:account_id] if args.key?(:account_id)
582
+ @id = args[:id] if args.key?(:id)
583
+ @kind = args[:kind] if args.key?(:kind)
584
+ @product_codes = args[:product_codes] if args.key?(:product_codes)
585
+ @redirect_url = args[:redirect_url] if args.key?(:redirect_url)
586
+ @status = args[:status] if args.key?(:status)
587
+ @user_locale = args[:user_locale] if args.key?(:user_locale)
588
+ @website_locale = args[:website_locale] if args.key?(:website_locale)
589
+ @website_url = args[:website_url] if args.key?(:website_url)
587
590
  end
588
591
  end
589
592
 
@@ -618,10 +621,10 @@ module Google
618
621
 
619
622
  # Update properties of this object
620
623
  def update!(**args)
621
- @code = args[:code] unless args[:code].nil?
622
- @id = args[:id] unless args[:id].nil?
623
- @kind = args[:kind] unless args[:kind].nil?
624
- @name = args[:name] unless args[:name].nil?
624
+ @code = args[:code] if args.key?(:code)
625
+ @id = args[:id] if args.key?(:id)
626
+ @kind = args[:kind] if args.key?(:kind)
627
+ @name = args[:name] if args.key?(:name)
625
628
  end
626
629
  end
627
630
 
@@ -656,10 +659,10 @@ module Google
656
659
 
657
660
  # Update properties of this object
658
661
  def update!(**args)
659
- @etag = args[:etag] unless args[:etag].nil?
660
- @items = args[:items] unless args[:items].nil?
661
- @kind = args[:kind] unless args[:kind].nil?
662
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
662
+ @etag = args[:etag] if args.key?(:etag)
663
+ @items = args[:items] if args.key?(:items)
664
+ @kind = args[:kind] if args.key?(:kind)
665
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
663
666
  end
664
667
  end
665
668
 
@@ -716,13 +719,13 @@ module Google
716
719
 
717
720
  # Update properties of this object
718
721
  def update!(**args)
719
- @averages = args[:averages] unless args[:averages].nil?
720
- @headers = args[:headers] unless args[:headers].nil?
721
- @kind = args[:kind] unless args[:kind].nil?
722
- @rows = args[:rows] unless args[:rows].nil?
723
- @total_matched_rows = args[:total_matched_rows] unless args[:total_matched_rows].nil?
724
- @totals = args[:totals] unless args[:totals].nil?
725
- @warnings = args[:warnings] unless args[:warnings].nil?
722
+ @averages = args[:averages] if args.key?(:averages)
723
+ @headers = args[:headers] if args.key?(:headers)
724
+ @kind = args[:kind] if args.key?(:kind)
725
+ @rows = args[:rows] if args.key?(:rows)
726
+ @total_matched_rows = args[:total_matched_rows] if args.key?(:total_matched_rows)
727
+ @totals = args[:totals] if args.key?(:totals)
728
+ @warnings = args[:warnings] if args.key?(:warnings)
726
729
  end
727
730
 
728
731
  #
@@ -752,9 +755,9 @@ module Google
752
755
 
753
756
  # Update properties of this object
754
757
  def update!(**args)
755
- @currency = args[:currency] unless args[:currency].nil?
756
- @name = args[:name] unless args[:name].nil?
757
- @type = args[:type] unless args[:type].nil?
758
+ @currency = args[:currency] if args.key?(:currency)
759
+ @name = args[:name] if args.key?(:name)
760
+ @type = args[:type] if args.key?(:type)
758
761
  end
759
762
  end
760
763
  end
@@ -786,9 +789,9 @@ module Google
786
789
 
787
790
  # Update properties of this object
788
791
  def update!(**args)
789
- @id = args[:id] unless args[:id].nil?
790
- @kind = args[:kind] unless args[:kind].nil?
791
- @url_pattern = args[:url_pattern] unless args[:url_pattern].nil?
792
+ @id = args[:id] if args.key?(:id)
793
+ @kind = args[:kind] if args.key?(:kind)
794
+ @url_pattern = args[:url_pattern] if args.key?(:url_pattern)
792
795
  end
793
796
  end
794
797
 
@@ -823,10 +826,10 @@ module Google
823
826
 
824
827
  # Update properties of this object
825
828
  def update!(**args)
826
- @etag = args[:etag] unless args[:etag].nil?
827
- @items = args[:items] unless args[:items].nil?
828
- @kind = args[:kind] unless args[:kind].nil?
829
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
829
+ @etag = args[:etag] if args.key?(:etag)
830
+ @items = args[:items] if args.key?(:items)
831
+ @kind = args[:kind] if args.key?(:kind)
832
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
830
833
  end
831
834
  end
832
835
  end
@@ -73,14 +73,14 @@ module Google
73
73
 
74
74
  # Update properties of this object
75
75
  def update!(**args)
76
- @child_link = args[:child_link] unless args[:child_link].nil?
77
- @created = args[:created] unless args[:created].nil?
78
- @id = args[:id] unless args[:id].nil?
79
- @kind = args[:kind] unless args[:kind].nil?
80
- @name = args[:name] unless args[:name].nil?
81
- @permissions = args[:permissions] unless args[:permissions].nil?
82
- @self_link = args[:self_link] unless args[:self_link].nil?
83
- @updated = args[:updated] unless args[:updated].nil?
76
+ @child_link = args[:child_link] if args.key?(:child_link)
77
+ @created = args[:created] if args.key?(:created)
78
+ @id = args[:id] if args.key?(:id)
79
+ @kind = args[:kind] if args.key?(:kind)
80
+ @name = args[:name] if args.key?(:name)
81
+ @permissions = args[:permissions] if args.key?(:permissions)
82
+ @self_link = args[:self_link] if args.key?(:self_link)
83
+ @updated = args[:updated] if args.key?(:updated)
84
84
  end
85
85
 
86
86
  # Child link for an account entry. Points to the list of web properties for this
@@ -104,8 +104,8 @@ module Google
104
104
 
105
105
  # Update properties of this object
106
106
  def update!(**args)
107
- @href = args[:href] unless args[:href].nil?
108
- @type = args[:type] unless args[:type].nil?
107
+ @href = args[:href] if args.key?(:href)
108
+ @type = args[:type] if args.key?(:type)
109
109
  end
110
110
  end
111
111
 
@@ -125,7 +125,7 @@ module Google
125
125
 
126
126
  # Update properties of this object
127
127
  def update!(**args)
128
- @effective = args[:effective] unless args[:effective].nil?
128
+ @effective = args[:effective] if args.key?(:effective)
129
129
  end
130
130
  end
131
131
  end
@@ -160,10 +160,10 @@ module Google
160
160
 
161
161
  # Update properties of this object
162
162
  def update!(**args)
163
- @href = args[:href] unless args[:href].nil?
164
- @id = args[:id] unless args[:id].nil?
165
- @kind = args[:kind] unless args[:kind].nil?
166
- @name = args[:name] unless args[:name].nil?
163
+ @href = args[:href] if args.key?(:href)
164
+ @id = args[:id] if args.key?(:id)
165
+ @kind = args[:kind] if args.key?(:kind)
166
+ @name = args[:name] if args.key?(:name)
167
167
  end
168
168
  end
169
169
 
@@ -224,14 +224,14 @@ module Google
224
224
 
225
225
  # Update properties of this object
226
226
  def update!(**args)
227
- @items = args[:items] unless args[:items].nil?
228
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
229
- @kind = args[:kind] unless args[:kind].nil?
230
- @next_link = args[:next_link] unless args[:next_link].nil?
231
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
232
- @start_index = args[:start_index] unless args[:start_index].nil?
233
- @total_results = args[:total_results] unless args[:total_results].nil?
234
- @username = args[:username] unless args[:username].nil?
227
+ @items = args[:items] if args.key?(:items)
228
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
229
+ @kind = args[:kind] if args.key?(:kind)
230
+ @next_link = args[:next_link] if args.key?(:next_link)
231
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
232
+ @start_index = args[:start_index] if args.key?(:start_index)
233
+ @total_results = args[:total_results] if args.key?(:total_results)
234
+ @username = args[:username] if args.key?(:username)
235
235
  end
236
236
  end
237
237
 
@@ -266,10 +266,10 @@ module Google
266
266
 
267
267
  # Update properties of this object
268
268
  def update!(**args)
269
- @id = args[:id] unless args[:id].nil?
270
- @kind = args[:kind] unless args[:kind].nil?
271
- @name = args[:name] unless args[:name].nil?
272
- @web_properties = args[:web_properties] unless args[:web_properties].nil?
269
+ @id = args[:id] if args.key?(:id)
270
+ @kind = args[:kind] if args.key?(:kind)
271
+ @name = args[:name] if args.key?(:name)
272
+ @web_properties = args[:web_properties] if args.key?(:web_properties)
273
273
  end
274
274
  end
275
275
 
@@ -315,12 +315,12 @@ module Google
315
315
 
316
316
  # Update properties of this object
317
317
  def update!(**args)
318
- @account = args[:account] unless args[:account].nil?
319
- @id = args[:id] unless args[:id].nil?
320
- @kind = args[:kind] unless args[:kind].nil?
321
- @profile = args[:profile] unless args[:profile].nil?
322
- @redirect_uri = args[:redirect_uri] unless args[:redirect_uri].nil?
323
- @webproperty = args[:webproperty] unless args[:webproperty].nil?
318
+ @account = args[:account] if args.key?(:account)
319
+ @id = args[:id] if args.key?(:id)
320
+ @kind = args[:kind] if args.key?(:kind)
321
+ @profile = args[:profile] if args.key?(:profile)
322
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
323
+ @webproperty = args[:webproperty] if args.key?(:webproperty)
324
324
  end
325
325
  end
326
326
 
@@ -382,14 +382,14 @@ module Google
382
382
 
383
383
  # Update properties of this object
384
384
  def update!(**args)
385
- @items = args[:items] unless args[:items].nil?
386
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
387
- @kind = args[:kind] unless args[:kind].nil?
388
- @next_link = args[:next_link] unless args[:next_link].nil?
389
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
390
- @start_index = args[:start_index] unless args[:start_index].nil?
391
- @total_results = args[:total_results] unless args[:total_results].nil?
392
- @username = args[:username] unless args[:username].nil?
385
+ @items = args[:items] if args.key?(:items)
386
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
387
+ @kind = args[:kind] if args.key?(:kind)
388
+ @next_link = args[:next_link] if args.key?(:next_link)
389
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
390
+ @start_index = args[:start_index] if args.key?(:start_index)
391
+ @total_results = args[:total_results] if args.key?(:total_results)
392
+ @username = args[:username] if args.key?(:username)
393
393
  end
394
394
  end
395
395
 
@@ -420,9 +420,9 @@ module Google
420
420
 
421
421
  # Update properties of this object
422
422
  def update!(**args)
423
- @auto_tagging_enabled = args[:auto_tagging_enabled] unless args[:auto_tagging_enabled].nil?
424
- @customer_id = args[:customer_id] unless args[:customer_id].nil?
425
- @kind = args[:kind] unless args[:kind].nil?
423
+ @auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled)
424
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
425
+ @kind = args[:kind] if args.key?(:kind)
426
426
  end
427
427
  end
428
428
 
@@ -441,7 +441,7 @@ module Google
441
441
 
442
442
  # Update properties of this object
443
443
  def update!(**args)
444
- @custom_data_import_uids = args[:custom_data_import_uids] unless args[:custom_data_import_uids].nil?
444
+ @custom_data_import_uids = args[:custom_data_import_uids] if args.key?(:custom_data_import_uids)
445
445
  end
446
446
  end
447
447
 
@@ -470,9 +470,9 @@ module Google
470
470
 
471
471
  # Update properties of this object
472
472
  def update!(**args)
473
- @attributes = args[:attributes] unless args[:attributes].nil?
474
- @id = args[:id] unless args[:id].nil?
475
- @kind = args[:kind] unless args[:kind].nil?
473
+ @attributes = args[:attributes] if args.key?(:attributes)
474
+ @id = args[:id] if args.key?(:id)
475
+ @kind = args[:kind] if args.key?(:kind)
476
476
  end
477
477
  end
478
478
 
@@ -512,11 +512,11 @@ module Google
512
512
 
513
513
  # Update properties of this object
514
514
  def update!(**args)
515
- @attribute_names = args[:attribute_names] unless args[:attribute_names].nil?
516
- @etag = args[:etag] unless args[:etag].nil?
517
- @items = args[:items] unless args[:items].nil?
518
- @kind = args[:kind] unless args[:kind].nil?
519
- @total_results = args[:total_results] unless args[:total_results].nil?
515
+ @attribute_names = args[:attribute_names] if args.key?(:attribute_names)
516
+ @etag = args[:etag] if args.key?(:etag)
517
+ @items = args[:items] if args.key?(:items)
518
+ @kind = args[:kind] if args.key?(:kind)
519
+ @total_results = args[:total_results] if args.key?(:total_results)
520
520
  end
521
521
  end
522
522
 
@@ -607,21 +607,21 @@ module Google
607
607
 
608
608
  # Update properties of this object
609
609
  def update!(**args)
610
- @account_id = args[:account_id] unless args[:account_id].nil?
611
- @child_link = args[:child_link] unless args[:child_link].nil?
612
- @created = args[:created] unless args[:created].nil?
613
- @description = args[:description] unless args[:description].nil?
614
- @id = args[:id] unless args[:id].nil?
615
- @import_behavior = args[:import_behavior] unless args[:import_behavior].nil?
616
- @kind = args[:kind] unless args[:kind].nil?
617
- @name = args[:name] unless args[:name].nil?
618
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
619
- @profiles_linked = args[:profiles_linked] unless args[:profiles_linked].nil?
620
- @self_link = args[:self_link] unless args[:self_link].nil?
621
- @type = args[:type] unless args[:type].nil?
622
- @updated = args[:updated] unless args[:updated].nil?
623
- @upload_type = args[:upload_type] unless args[:upload_type].nil?
624
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
610
+ @account_id = args[:account_id] if args.key?(:account_id)
611
+ @child_link = args[:child_link] if args.key?(:child_link)
612
+ @created = args[:created] if args.key?(:created)
613
+ @description = args[:description] if args.key?(:description)
614
+ @id = args[:id] if args.key?(:id)
615
+ @import_behavior = args[:import_behavior] if args.key?(:import_behavior)
616
+ @kind = args[:kind] if args.key?(:kind)
617
+ @name = args[:name] if args.key?(:name)
618
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
619
+ @profiles_linked = args[:profiles_linked] if args.key?(:profiles_linked)
620
+ @self_link = args[:self_link] if args.key?(:self_link)
621
+ @type = args[:type] if args.key?(:type)
622
+ @updated = args[:updated] if args.key?(:updated)
623
+ @upload_type = args[:upload_type] if args.key?(:upload_type)
624
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
625
625
  end
626
626
 
627
627
  #
@@ -645,8 +645,8 @@ module Google
645
645
 
646
646
  # Update properties of this object
647
647
  def update!(**args)
648
- @href = args[:href] unless args[:href].nil?
649
- @type = args[:type] unless args[:type].nil?
648
+ @href = args[:href] if args.key?(:href)
649
+ @type = args[:type] if args.key?(:type)
650
650
  end
651
651
  end
652
652
 
@@ -671,8 +671,8 @@ module Google
671
671
 
672
672
  # Update properties of this object
673
673
  def update!(**args)
674
- @href = args[:href] unless args[:href].nil?
675
- @type = args[:type] unless args[:type].nil?
674
+ @href = args[:href] if args.key?(:href)
675
+ @type = args[:type] if args.key?(:type)
676
676
  end
677
677
  end
678
678
  end
@@ -734,14 +734,14 @@ module Google
734
734
 
735
735
  # Update properties of this object
736
736
  def update!(**args)
737
- @items = args[:items] unless args[:items].nil?
738
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
739
- @kind = args[:kind] unless args[:kind].nil?
740
- @next_link = args[:next_link] unless args[:next_link].nil?
741
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
742
- @start_index = args[:start_index] unless args[:start_index].nil?
743
- @total_results = args[:total_results] unless args[:total_results].nil?
744
- @username = args[:username] unless args[:username].nil?
737
+ @items = args[:items] if args.key?(:items)
738
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
739
+ @kind = args[:kind] if args.key?(:kind)
740
+ @next_link = args[:next_link] if args.key?(:next_link)
741
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
742
+ @start_index = args[:start_index] if args.key?(:start_index)
743
+ @total_results = args[:total_results] if args.key?(:total_results)
744
+ @username = args[:username] if args.key?(:username)
745
745
  end
746
746
  end
747
747
 
@@ -818,18 +818,18 @@ module Google
818
818
 
819
819
  # Update properties of this object
820
820
  def update!(**args)
821
- @account_id = args[:account_id] unless args[:account_id].nil?
822
- @active = args[:active] unless args[:active].nil?
823
- @created = args[:created] unless args[:created].nil?
824
- @id = args[:id] unless args[:id].nil?
825
- @index = args[:index] unless args[:index].nil?
826
- @kind = args[:kind] unless args[:kind].nil?
827
- @name = args[:name] unless args[:name].nil?
828
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
829
- @scope = args[:scope] unless args[:scope].nil?
830
- @self_link = args[:self_link] unless args[:self_link].nil?
831
- @updated = args[:updated] unless args[:updated].nil?
832
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
821
+ @account_id = args[:account_id] if args.key?(:account_id)
822
+ @active = args[:active] if args.key?(:active)
823
+ @created = args[:created] if args.key?(:created)
824
+ @id = args[:id] if args.key?(:id)
825
+ @index = args[:index] if args.key?(:index)
826
+ @kind = args[:kind] if args.key?(:kind)
827
+ @name = args[:name] if args.key?(:name)
828
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
829
+ @scope = args[:scope] if args.key?(:scope)
830
+ @self_link = args[:self_link] if args.key?(:self_link)
831
+ @updated = args[:updated] if args.key?(:updated)
832
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
833
833
  end
834
834
 
835
835
  # Parent link for the custom dimension. Points to the property to which the
@@ -853,8 +853,8 @@ module Google
853
853
 
854
854
  # Update properties of this object
855
855
  def update!(**args)
856
- @href = args[:href] unless args[:href].nil?
857
- @type = args[:type] unless args[:type].nil?
856
+ @href = args[:href] if args.key?(:href)
857
+ @type = args[:type] if args.key?(:type)
858
858
  end
859
859
  end
860
860
  end
@@ -916,14 +916,14 @@ module Google
916
916
 
917
917
  # Update properties of this object
918
918
  def update!(**args)
919
- @items = args[:items] unless args[:items].nil?
920
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
921
- @kind = args[:kind] unless args[:kind].nil?
922
- @next_link = args[:next_link] unless args[:next_link].nil?
923
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
924
- @start_index = args[:start_index] unless args[:start_index].nil?
925
- @total_results = args[:total_results] unless args[:total_results].nil?
926
- @username = args[:username] unless args[:username].nil?
919
+ @items = args[:items] if args.key?(:items)
920
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
921
+ @kind = args[:kind] if args.key?(:kind)
922
+ @next_link = args[:next_link] if args.key?(:next_link)
923
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
924
+ @start_index = args[:start_index] if args.key?(:start_index)
925
+ @total_results = args[:total_results] if args.key?(:total_results)
926
+ @username = args[:username] if args.key?(:username)
927
927
  end
928
928
  end
929
929
 
@@ -1015,21 +1015,21 @@ module Google
1015
1015
 
1016
1016
  # Update properties of this object
1017
1017
  def update!(**args)
1018
- @account_id = args[:account_id] unless args[:account_id].nil?
1019
- @active = args[:active] unless args[:active].nil?
1020
- @created = args[:created] unless args[:created].nil?
1021
- @id = args[:id] unless args[:id].nil?
1022
- @index = args[:index] unless args[:index].nil?
1023
- @kind = args[:kind] unless args[:kind].nil?
1024
- @max_value = args[:max_value] unless args[:max_value].nil?
1025
- @min_value = args[:min_value] unless args[:min_value].nil?
1026
- @name = args[:name] unless args[:name].nil?
1027
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
1028
- @scope = args[:scope] unless args[:scope].nil?
1029
- @self_link = args[:self_link] unless args[:self_link].nil?
1030
- @type = args[:type] unless args[:type].nil?
1031
- @updated = args[:updated] unless args[:updated].nil?
1032
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
1018
+ @account_id = args[:account_id] if args.key?(:account_id)
1019
+ @active = args[:active] if args.key?(:active)
1020
+ @created = args[:created] if args.key?(:created)
1021
+ @id = args[:id] if args.key?(:id)
1022
+ @index = args[:index] if args.key?(:index)
1023
+ @kind = args[:kind] if args.key?(:kind)
1024
+ @max_value = args[:max_value] if args.key?(:max_value)
1025
+ @min_value = args[:min_value] if args.key?(:min_value)
1026
+ @name = args[:name] if args.key?(:name)
1027
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
1028
+ @scope = args[:scope] if args.key?(:scope)
1029
+ @self_link = args[:self_link] if args.key?(:self_link)
1030
+ @type = args[:type] if args.key?(:type)
1031
+ @updated = args[:updated] if args.key?(:updated)
1032
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
1033
1033
  end
1034
1034
 
1035
1035
  # Parent link for the custom metric. Points to the property to which the custom
@@ -1053,8 +1053,8 @@ module Google
1053
1053
 
1054
1054
  # Update properties of this object
1055
1055
  def update!(**args)
1056
- @href = args[:href] unless args[:href].nil?
1057
- @type = args[:type] unless args[:type].nil?
1056
+ @href = args[:href] if args.key?(:href)
1057
+ @type = args[:type] if args.key?(:type)
1058
1058
  end
1059
1059
  end
1060
1060
  end
@@ -1116,14 +1116,14 @@ module Google
1116
1116
 
1117
1117
  # Update properties of this object
1118
1118
  def update!(**args)
1119
- @items = args[:items] unless args[:items].nil?
1120
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
1121
- @kind = args[:kind] unless args[:kind].nil?
1122
- @next_link = args[:next_link] unless args[:next_link].nil?
1123
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
1124
- @start_index = args[:start_index] unless args[:start_index].nil?
1125
- @total_results = args[:total_results] unless args[:total_results].nil?
1126
- @username = args[:username] unless args[:username].nil?
1119
+ @items = args[:items] if args.key?(:items)
1120
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
1121
+ @kind = args[:kind] if args.key?(:kind)
1122
+ @next_link = args[:next_link] if args.key?(:next_link)
1123
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
1124
+ @start_index = args[:start_index] if args.key?(:start_index)
1125
+ @total_results = args[:total_results] if args.key?(:total_results)
1126
+ @username = args[:username] if args.key?(:username)
1127
1127
  end
1128
1128
  end
1129
1129
 
@@ -1173,13 +1173,13 @@ module Google
1173
1173
 
1174
1174
  # Update properties of this object
1175
1175
  def update!(**args)
1176
- @ad_words_accounts = args[:ad_words_accounts] unless args[:ad_words_accounts].nil?
1177
- @entity = args[:entity] unless args[:entity].nil?
1178
- @id = args[:id] unless args[:id].nil?
1179
- @kind = args[:kind] unless args[:kind].nil?
1180
- @name = args[:name] unless args[:name].nil?
1181
- @profile_ids = args[:profile_ids] unless args[:profile_ids].nil?
1182
- @self_link = args[:self_link] unless args[:self_link].nil?
1176
+ @ad_words_accounts = args[:ad_words_accounts] if args.key?(:ad_words_accounts)
1177
+ @entity = args[:entity] if args.key?(:entity)
1178
+ @id = args[:id] if args.key?(:id)
1179
+ @kind = args[:kind] if args.key?(:kind)
1180
+ @name = args[:name] if args.key?(:name)
1181
+ @profile_ids = args[:profile_ids] if args.key?(:profile_ids)
1182
+ @self_link = args[:self_link] if args.key?(:self_link)
1183
1183
  end
1184
1184
 
1185
1185
  # Web property being linked.
@@ -1197,7 +1197,7 @@ module Google
1197
1197
 
1198
1198
  # Update properties of this object
1199
1199
  def update!(**args)
1200
- @web_property_ref = args[:web_property_ref] unless args[:web_property_ref].nil?
1200
+ @web_property_ref = args[:web_property_ref] if args.key?(:web_property_ref)
1201
1201
  end
1202
1202
  end
1203
1203
  end
@@ -1253,13 +1253,13 @@ module Google
1253
1253
 
1254
1254
  # Update properties of this object
1255
1255
  def update!(**args)
1256
- @items = args[:items] unless args[:items].nil?
1257
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
1258
- @kind = args[:kind] unless args[:kind].nil?
1259
- @next_link = args[:next_link] unless args[:next_link].nil?
1260
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
1261
- @start_index = args[:start_index] unless args[:start_index].nil?
1262
- @total_results = args[:total_results] unless args[:total_results].nil?
1256
+ @items = args[:items] if args.key?(:items)
1257
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
1258
+ @kind = args[:kind] if args.key?(:kind)
1259
+ @next_link = args[:next_link] if args.key?(:next_link)
1260
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
1261
+ @start_index = args[:start_index] if args.key?(:start_index)
1262
+ @total_results = args[:total_results] if args.key?(:total_results)
1263
1263
  end
1264
1264
  end
1265
1265
 
@@ -1305,12 +1305,12 @@ module Google
1305
1305
 
1306
1306
  # Update properties of this object
1307
1307
  def update!(**args)
1308
- @entity = args[:entity] unless args[:entity].nil?
1309
- @id = args[:id] unless args[:id].nil?
1310
- @kind = args[:kind] unless args[:kind].nil?
1311
- @permissions = args[:permissions] unless args[:permissions].nil?
1312
- @self_link = args[:self_link] unless args[:self_link].nil?
1313
- @user_ref = args[:user_ref] unless args[:user_ref].nil?
1308
+ @entity = args[:entity] if args.key?(:entity)
1309
+ @id = args[:id] if args.key?(:id)
1310
+ @kind = args[:kind] if args.key?(:kind)
1311
+ @permissions = args[:permissions] if args.key?(:permissions)
1312
+ @self_link = args[:self_link] if args.key?(:self_link)
1313
+ @user_ref = args[:user_ref] if args.key?(:user_ref)
1314
1314
  end
1315
1315
 
1316
1316
  # Entity for this link. It can be an account, a web property, or a view (profile)
@@ -1339,9 +1339,9 @@ module Google
1339
1339
 
1340
1340
  # Update properties of this object
1341
1341
  def update!(**args)
1342
- @account_ref = args[:account_ref] unless args[:account_ref].nil?
1343
- @profile_ref = args[:profile_ref] unless args[:profile_ref].nil?
1344
- @web_property_ref = args[:web_property_ref] unless args[:web_property_ref].nil?
1342
+ @account_ref = args[:account_ref] if args.key?(:account_ref)
1343
+ @profile_ref = args[:profile_ref] if args.key?(:profile_ref)
1344
+ @web_property_ref = args[:web_property_ref] if args.key?(:web_property_ref)
1345
1345
  end
1346
1346
  end
1347
1347
 
@@ -1369,8 +1369,8 @@ module Google
1369
1369
 
1370
1370
  # Update properties of this object
1371
1371
  def update!(**args)
1372
- @effective = args[:effective] unless args[:effective].nil?
1373
- @local = args[:local] unless args[:local].nil?
1372
+ @effective = args[:effective] if args.key?(:effective)
1373
+ @local = args[:local] if args.key?(:local)
1374
1374
  end
1375
1375
  end
1376
1376
  end
@@ -1426,13 +1426,13 @@ module Google
1426
1426
 
1427
1427
  # Update properties of this object
1428
1428
  def update!(**args)
1429
- @items = args[:items] unless args[:items].nil?
1430
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
1431
- @kind = args[:kind] unless args[:kind].nil?
1432
- @next_link = args[:next_link] unless args[:next_link].nil?
1433
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
1434
- @start_index = args[:start_index] unless args[:start_index].nil?
1435
- @total_results = args[:total_results] unless args[:total_results].nil?
1429
+ @items = args[:items] if args.key?(:items)
1430
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
1431
+ @kind = args[:kind] if args.key?(:kind)
1432
+ @next_link = args[:next_link] if args.key?(:next_link)
1433
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
1434
+ @start_index = args[:start_index] if args.key?(:start_index)
1435
+ @total_results = args[:total_results] if args.key?(:total_results)
1436
1436
  end
1437
1437
  end
1438
1438
 
@@ -1636,34 +1636,34 @@ module Google
1636
1636
 
1637
1637
  # Update properties of this object
1638
1638
  def update!(**args)
1639
- @account_id = args[:account_id] unless args[:account_id].nil?
1640
- @created = args[:created] unless args[:created].nil?
1641
- @description = args[:description] unless args[:description].nil?
1642
- @editable_in_ga_ui = args[:editable_in_ga_ui] unless args[:editable_in_ga_ui].nil?
1643
- @end_time = args[:end_time] unless args[:end_time].nil?
1644
- @equal_weighting = args[:equal_weighting] unless args[:equal_weighting].nil?
1645
- @id = args[:id] unless args[:id].nil?
1646
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
1647
- @kind = args[:kind] unless args[:kind].nil?
1648
- @minimum_experiment_length_in_days = args[:minimum_experiment_length_in_days] unless args[:minimum_experiment_length_in_days].nil?
1649
- @name = args[:name] unless args[:name].nil?
1650
- @objective_metric = args[:objective_metric] unless args[:objective_metric].nil?
1651
- @optimization_type = args[:optimization_type] unless args[:optimization_type].nil?
1652
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
1653
- @profile_id = args[:profile_id] unless args[:profile_id].nil?
1654
- @reason_experiment_ended = args[:reason_experiment_ended] unless args[:reason_experiment_ended].nil?
1655
- @rewrite_variation_urls_as_original = args[:rewrite_variation_urls_as_original] unless args[:rewrite_variation_urls_as_original].nil?
1656
- @self_link = args[:self_link] unless args[:self_link].nil?
1657
- @serving_framework = args[:serving_framework] unless args[:serving_framework].nil?
1658
- @snippet = args[:snippet] unless args[:snippet].nil?
1659
- @start_time = args[:start_time] unless args[:start_time].nil?
1660
- @status = args[:status] unless args[:status].nil?
1661
- @traffic_coverage = args[:traffic_coverage] unless args[:traffic_coverage].nil?
1662
- @updated = args[:updated] unless args[:updated].nil?
1663
- @variations = args[:variations] unless args[:variations].nil?
1664
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
1665
- @winner_confidence_level = args[:winner_confidence_level] unless args[:winner_confidence_level].nil?
1666
- @winner_found = args[:winner_found] unless args[:winner_found].nil?
1639
+ @account_id = args[:account_id] if args.key?(:account_id)
1640
+ @created = args[:created] if args.key?(:created)
1641
+ @description = args[:description] if args.key?(:description)
1642
+ @editable_in_ga_ui = args[:editable_in_ga_ui] if args.key?(:editable_in_ga_ui)
1643
+ @end_time = args[:end_time] if args.key?(:end_time)
1644
+ @equal_weighting = args[:equal_weighting] if args.key?(:equal_weighting)
1645
+ @id = args[:id] if args.key?(:id)
1646
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
1647
+ @kind = args[:kind] if args.key?(:kind)
1648
+ @minimum_experiment_length_in_days = args[:minimum_experiment_length_in_days] if args.key?(:minimum_experiment_length_in_days)
1649
+ @name = args[:name] if args.key?(:name)
1650
+ @objective_metric = args[:objective_metric] if args.key?(:objective_metric)
1651
+ @optimization_type = args[:optimization_type] if args.key?(:optimization_type)
1652
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
1653
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
1654
+ @reason_experiment_ended = args[:reason_experiment_ended] if args.key?(:reason_experiment_ended)
1655
+ @rewrite_variation_urls_as_original = args[:rewrite_variation_urls_as_original] if args.key?(:rewrite_variation_urls_as_original)
1656
+ @self_link = args[:self_link] if args.key?(:self_link)
1657
+ @serving_framework = args[:serving_framework] if args.key?(:serving_framework)
1658
+ @snippet = args[:snippet] if args.key?(:snippet)
1659
+ @start_time = args[:start_time] if args.key?(:start_time)
1660
+ @status = args[:status] if args.key?(:status)
1661
+ @traffic_coverage = args[:traffic_coverage] if args.key?(:traffic_coverage)
1662
+ @updated = args[:updated] if args.key?(:updated)
1663
+ @variations = args[:variations] if args.key?(:variations)
1664
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
1665
+ @winner_confidence_level = args[:winner_confidence_level] if args.key?(:winner_confidence_level)
1666
+ @winner_found = args[:winner_found] if args.key?(:winner_found)
1667
1667
  end
1668
1668
 
1669
1669
  # Parent link for an experiment. Points to the view (profile) to which this
@@ -1688,8 +1688,8 @@ module Google
1688
1688
 
1689
1689
  # Update properties of this object
1690
1690
  def update!(**args)
1691
- @href = args[:href] unless args[:href].nil?
1692
- @type = args[:type] unless args[:type].nil?
1691
+ @href = args[:href] if args.key?(:href)
1692
+ @type = args[:type] if args.key?(:type)
1693
1693
  end
1694
1694
  end
1695
1695
 
@@ -1735,11 +1735,11 @@ module Google
1735
1735
 
1736
1736
  # Update properties of this object
1737
1737
  def update!(**args)
1738
- @name = args[:name] unless args[:name].nil?
1739
- @status = args[:status] unless args[:status].nil?
1740
- @url = args[:url] unless args[:url].nil?
1741
- @weight = args[:weight] unless args[:weight].nil?
1742
- @won = args[:won] unless args[:won].nil?
1738
+ @name = args[:name] if args.key?(:name)
1739
+ @status = args[:status] if args.key?(:status)
1740
+ @url = args[:url] if args.key?(:url)
1741
+ @weight = args[:weight] if args.key?(:weight)
1742
+ @won = args[:won] if args.key?(:won)
1743
1743
  end
1744
1744
  end
1745
1745
  end
@@ -1801,14 +1801,14 @@ module Google
1801
1801
 
1802
1802
  # Update properties of this object
1803
1803
  def update!(**args)
1804
- @items = args[:items] unless args[:items].nil?
1805
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
1806
- @kind = args[:kind] unless args[:kind].nil?
1807
- @next_link = args[:next_link] unless args[:next_link].nil?
1808
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
1809
- @start_index = args[:start_index] unless args[:start_index].nil?
1810
- @total_results = args[:total_results] unless args[:total_results].nil?
1811
- @username = args[:username] unless args[:username].nil?
1804
+ @items = args[:items] if args.key?(:items)
1805
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
1806
+ @kind = args[:kind] if args.key?(:kind)
1807
+ @next_link = args[:next_link] if args.key?(:next_link)
1808
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
1809
+ @start_index = args[:start_index] if args.key?(:start_index)
1810
+ @total_results = args[:total_results] if args.key?(:total_results)
1811
+ @username = args[:username] if args.key?(:username)
1812
1812
  end
1813
1813
  end
1814
1814
 
@@ -1899,21 +1899,21 @@ module Google
1899
1899
 
1900
1900
  # Update properties of this object
1901
1901
  def update!(**args)
1902
- @account_id = args[:account_id] unless args[:account_id].nil?
1903
- @advanced_details = args[:advanced_details] unless args[:advanced_details].nil?
1904
- @created = args[:created] unless args[:created].nil?
1905
- @exclude_details = args[:exclude_details] unless args[:exclude_details].nil?
1906
- @id = args[:id] unless args[:id].nil?
1907
- @include_details = args[:include_details] unless args[:include_details].nil?
1908
- @kind = args[:kind] unless args[:kind].nil?
1909
- @lowercase_details = args[:lowercase_details] unless args[:lowercase_details].nil?
1910
- @name = args[:name] unless args[:name].nil?
1911
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
1912
- @search_and_replace_details = args[:search_and_replace_details] unless args[:search_and_replace_details].nil?
1913
- @self_link = args[:self_link] unless args[:self_link].nil?
1914
- @type = args[:type] unless args[:type].nil?
1915
- @updated = args[:updated] unless args[:updated].nil?
1916
- @uppercase_details = args[:uppercase_details] unless args[:uppercase_details].nil?
1902
+ @account_id = args[:account_id] if args.key?(:account_id)
1903
+ @advanced_details = args[:advanced_details] if args.key?(:advanced_details)
1904
+ @created = args[:created] if args.key?(:created)
1905
+ @exclude_details = args[:exclude_details] if args.key?(:exclude_details)
1906
+ @id = args[:id] if args.key?(:id)
1907
+ @include_details = args[:include_details] if args.key?(:include_details)
1908
+ @kind = args[:kind] if args.key?(:kind)
1909
+ @lowercase_details = args[:lowercase_details] if args.key?(:lowercase_details)
1910
+ @name = args[:name] if args.key?(:name)
1911
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
1912
+ @search_and_replace_details = args[:search_and_replace_details] if args.key?(:search_and_replace_details)
1913
+ @self_link = args[:self_link] if args.key?(:self_link)
1914
+ @type = args[:type] if args.key?(:type)
1915
+ @updated = args[:updated] if args.key?(:updated)
1916
+ @uppercase_details = args[:uppercase_details] if args.key?(:uppercase_details)
1917
1917
  end
1918
1918
 
1919
1919
  # Details for the filter of the type ADVANCED.
@@ -1996,19 +1996,19 @@ module Google
1996
1996
 
1997
1997
  # Update properties of this object
1998
1998
  def update!(**args)
1999
- @case_sensitive = args[:case_sensitive] unless args[:case_sensitive].nil?
2000
- @extract_a = args[:extract_a] unless args[:extract_a].nil?
2001
- @extract_b = args[:extract_b] unless args[:extract_b].nil?
2002
- @field_a = args[:field_a] unless args[:field_a].nil?
2003
- @field_a_index = args[:field_a_index] unless args[:field_a_index].nil?
2004
- @field_a_required = args[:field_a_required] unless args[:field_a_required].nil?
2005
- @field_b = args[:field_b] unless args[:field_b].nil?
2006
- @field_b_index = args[:field_b_index] unless args[:field_b_index].nil?
2007
- @field_b_required = args[:field_b_required] unless args[:field_b_required].nil?
2008
- @output_constructor = args[:output_constructor] unless args[:output_constructor].nil?
2009
- @output_to_field = args[:output_to_field] unless args[:output_to_field].nil?
2010
- @output_to_field_index = args[:output_to_field_index] unless args[:output_to_field_index].nil?
2011
- @override_output_field = args[:override_output_field] unless args[:override_output_field].nil?
1999
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
2000
+ @extract_a = args[:extract_a] if args.key?(:extract_a)
2001
+ @extract_b = args[:extract_b] if args.key?(:extract_b)
2002
+ @field_a = args[:field_a] if args.key?(:field_a)
2003
+ @field_a_index = args[:field_a_index] if args.key?(:field_a_index)
2004
+ @field_a_required = args[:field_a_required] if args.key?(:field_a_required)
2005
+ @field_b = args[:field_b] if args.key?(:field_b)
2006
+ @field_b_index = args[:field_b_index] if args.key?(:field_b_index)
2007
+ @field_b_required = args[:field_b_required] if args.key?(:field_b_required)
2008
+ @output_constructor = args[:output_constructor] if args.key?(:output_constructor)
2009
+ @output_to_field = args[:output_to_field] if args.key?(:output_to_field)
2010
+ @output_to_field_index = args[:output_to_field_index] if args.key?(:output_to_field_index)
2011
+ @override_output_field = args[:override_output_field] if args.key?(:override_output_field)
2012
2012
  end
2013
2013
  end
2014
2014
 
@@ -2032,8 +2032,8 @@ module Google
2032
2032
 
2033
2033
  # Update properties of this object
2034
2034
  def update!(**args)
2035
- @field = args[:field] unless args[:field].nil?
2036
- @field_index = args[:field_index] unless args[:field_index].nil?
2035
+ @field = args[:field] if args.key?(:field)
2036
+ @field_index = args[:field_index] if args.key?(:field_index)
2037
2037
  end
2038
2038
  end
2039
2039
 
@@ -2058,8 +2058,8 @@ module Google
2058
2058
 
2059
2059
  # Update properties of this object
2060
2060
  def update!(**args)
2061
- @href = args[:href] unless args[:href].nil?
2062
- @type = args[:type] unless args[:type].nil?
2061
+ @href = args[:href] if args.key?(:href)
2062
+ @type = args[:type] if args.key?(:type)
2063
2063
  end
2064
2064
  end
2065
2065
 
@@ -2099,11 +2099,11 @@ module Google
2099
2099
 
2100
2100
  # Update properties of this object
2101
2101
  def update!(**args)
2102
- @case_sensitive = args[:case_sensitive] unless args[:case_sensitive].nil?
2103
- @field = args[:field] unless args[:field].nil?
2104
- @field_index = args[:field_index] unless args[:field_index].nil?
2105
- @replace_string = args[:replace_string] unless args[:replace_string].nil?
2106
- @search_string = args[:search_string] unless args[:search_string].nil?
2102
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
2103
+ @field = args[:field] if args.key?(:field)
2104
+ @field_index = args[:field_index] if args.key?(:field_index)
2105
+ @replace_string = args[:replace_string] if args.key?(:replace_string)
2106
+ @search_string = args[:search_string] if args.key?(:search_string)
2107
2107
  end
2108
2108
  end
2109
2109
 
@@ -2127,8 +2127,8 @@ module Google
2127
2127
 
2128
2128
  # Update properties of this object
2129
2129
  def update!(**args)
2130
- @field = args[:field] unless args[:field].nil?
2131
- @field_index = args[:field_index] unless args[:field_index].nil?
2130
+ @field = args[:field] if args.key?(:field)
2131
+ @field_index = args[:field_index] if args.key?(:field_index)
2132
2132
  end
2133
2133
  end
2134
2134
  end
@@ -2264,12 +2264,12 @@ module Google
2264
2264
 
2265
2265
  # Update properties of this object
2266
2266
  def update!(**args)
2267
- @case_sensitive = args[:case_sensitive] unless args[:case_sensitive].nil?
2268
- @expression_value = args[:expression_value] unless args[:expression_value].nil?
2269
- @field = args[:field] unless args[:field].nil?
2270
- @field_index = args[:field_index] unless args[:field_index].nil?
2271
- @kind = args[:kind] unless args[:kind].nil?
2272
- @match_type = args[:match_type] unless args[:match_type].nil?
2267
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
2268
+ @expression_value = args[:expression_value] if args.key?(:expression_value)
2269
+ @field = args[:field] if args.key?(:field)
2270
+ @field_index = args[:field_index] if args.key?(:field_index)
2271
+ @kind = args[:kind] if args.key?(:kind)
2272
+ @match_type = args[:match_type] if args.key?(:match_type)
2273
2273
  end
2274
2274
  end
2275
2275
 
@@ -2308,11 +2308,11 @@ module Google
2308
2308
 
2309
2309
  # Update properties of this object
2310
2310
  def update!(**args)
2311
- @account_id = args[:account_id] unless args[:account_id].nil?
2312
- @href = args[:href] unless args[:href].nil?
2313
- @id = args[:id] unless args[:id].nil?
2314
- @kind = args[:kind] unless args[:kind].nil?
2315
- @name = args[:name] unless args[:name].nil?
2311
+ @account_id = args[:account_id] if args.key?(:account_id)
2312
+ @href = args[:href] if args.key?(:href)
2313
+ @id = args[:id] if args.key?(:id)
2314
+ @kind = args[:kind] if args.key?(:kind)
2315
+ @name = args[:name] if args.key?(:name)
2316
2316
  end
2317
2317
  end
2318
2318
 
@@ -2372,14 +2372,14 @@ module Google
2372
2372
 
2373
2373
  # Update properties of this object
2374
2374
  def update!(**args)
2375
- @items = args[:items] unless args[:items].nil?
2376
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
2377
- @kind = args[:kind] unless args[:kind].nil?
2378
- @next_link = args[:next_link] unless args[:next_link].nil?
2379
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
2380
- @start_index = args[:start_index] unless args[:start_index].nil?
2381
- @total_results = args[:total_results] unless args[:total_results].nil?
2382
- @username = args[:username] unless args[:username].nil?
2375
+ @items = args[:items] if args.key?(:items)
2376
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
2377
+ @kind = args[:kind] if args.key?(:kind)
2378
+ @next_link = args[:next_link] if args.key?(:next_link)
2379
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
2380
+ @start_index = args[:start_index] if args.key?(:start_index)
2381
+ @total_results = args[:total_results] if args.key?(:total_results)
2382
+ @username = args[:username] if args.key?(:username)
2383
2383
  end
2384
2384
  end
2385
2385
 
@@ -2482,22 +2482,22 @@ module Google
2482
2482
 
2483
2483
  # Update properties of this object
2484
2484
  def update!(**args)
2485
- @column_headers = args[:column_headers] unless args[:column_headers].nil?
2486
- @contains_sampled_data = args[:contains_sampled_data] unless args[:contains_sampled_data].nil?
2487
- @data_table = args[:data_table] unless args[:data_table].nil?
2488
- @id = args[:id] unless args[:id].nil?
2489
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
2490
- @kind = args[:kind] unless args[:kind].nil?
2491
- @next_link = args[:next_link] unless args[:next_link].nil?
2492
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
2493
- @profile_info = args[:profile_info] unless args[:profile_info].nil?
2494
- @query = args[:query] unless args[:query].nil?
2495
- @rows = args[:rows] unless args[:rows].nil?
2496
- @sample_size = args[:sample_size] unless args[:sample_size].nil?
2497
- @sample_space = args[:sample_space] unless args[:sample_space].nil?
2498
- @self_link = args[:self_link] unless args[:self_link].nil?
2499
- @total_results = args[:total_results] unless args[:total_results].nil?
2500
- @totals_for_all_results = args[:totals_for_all_results] unless args[:totals_for_all_results].nil?
2485
+ @column_headers = args[:column_headers] if args.key?(:column_headers)
2486
+ @contains_sampled_data = args[:contains_sampled_data] if args.key?(:contains_sampled_data)
2487
+ @data_table = args[:data_table] if args.key?(:data_table)
2488
+ @id = args[:id] if args.key?(:id)
2489
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
2490
+ @kind = args[:kind] if args.key?(:kind)
2491
+ @next_link = args[:next_link] if args.key?(:next_link)
2492
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
2493
+ @profile_info = args[:profile_info] if args.key?(:profile_info)
2494
+ @query = args[:query] if args.key?(:query)
2495
+ @rows = args[:rows] if args.key?(:rows)
2496
+ @sample_size = args[:sample_size] if args.key?(:sample_size)
2497
+ @sample_space = args[:sample_space] if args.key?(:sample_space)
2498
+ @self_link = args[:self_link] if args.key?(:self_link)
2499
+ @total_results = args[:total_results] if args.key?(:total_results)
2500
+ @totals_for_all_results = args[:totals_for_all_results] if args.key?(:totals_for_all_results)
2501
2501
  end
2502
2502
 
2503
2503
  #
@@ -2527,9 +2527,9 @@ module Google
2527
2527
 
2528
2528
  # Update properties of this object
2529
2529
  def update!(**args)
2530
- @column_type = args[:column_type] unless args[:column_type].nil?
2531
- @data_type = args[:data_type] unless args[:data_type].nil?
2532
- @name = args[:name] unless args[:name].nil?
2530
+ @column_type = args[:column_type] if args.key?(:column_type)
2531
+ @data_type = args[:data_type] if args.key?(:data_type)
2532
+ @name = args[:name] if args.key?(:name)
2533
2533
  end
2534
2534
  end
2535
2535
 
@@ -2553,8 +2553,8 @@ module Google
2553
2553
 
2554
2554
  # Update properties of this object
2555
2555
  def update!(**args)
2556
- @cols = args[:cols] unless args[:cols].nil?
2557
- @rows = args[:rows] unless args[:rows].nil?
2556
+ @cols = args[:cols] if args.key?(:cols)
2557
+ @rows = args[:rows] if args.key?(:rows)
2558
2558
  end
2559
2559
 
2560
2560
  #
@@ -2582,9 +2582,9 @@ module Google
2582
2582
 
2583
2583
  # Update properties of this object
2584
2584
  def update!(**args)
2585
- @id = args[:id] unless args[:id].nil?
2586
- @label = args[:label] unless args[:label].nil?
2587
- @type = args[:type] unless args[:type].nil?
2585
+ @id = args[:id] if args.key?(:id)
2586
+ @label = args[:label] if args.key?(:label)
2587
+ @type = args[:type] if args.key?(:type)
2588
2588
  end
2589
2589
  end
2590
2590
 
@@ -2603,7 +2603,7 @@ module Google
2603
2603
 
2604
2604
  # Update properties of this object
2605
2605
  def update!(**args)
2606
- @c = args[:c] unless args[:c].nil?
2606
+ @c = args[:c] if args.key?(:c)
2607
2607
  end
2608
2608
 
2609
2609
  #
@@ -2621,7 +2621,7 @@ module Google
2621
2621
 
2622
2622
  # Update properties of this object
2623
2623
  def update!(**args)
2624
- @v = args[:v] unless args[:v].nil?
2624
+ @v = args[:v] if args.key?(:v)
2625
2625
  end
2626
2626
  end
2627
2627
  end
@@ -2667,12 +2667,12 @@ module Google
2667
2667
 
2668
2668
  # Update properties of this object
2669
2669
  def update!(**args)
2670
- @account_id = args[:account_id] unless args[:account_id].nil?
2671
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
2672
- @profile_id = args[:profile_id] unless args[:profile_id].nil?
2673
- @profile_name = args[:profile_name] unless args[:profile_name].nil?
2674
- @table_id = args[:table_id] unless args[:table_id].nil?
2675
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
2670
+ @account_id = args[:account_id] if args.key?(:account_id)
2671
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
2672
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
2673
+ @profile_name = args[:profile_name] if args.key?(:profile_name)
2674
+ @table_id = args[:table_id] if args.key?(:table_id)
2675
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
2676
2676
  end
2677
2677
  end
2678
2678
 
@@ -2741,17 +2741,17 @@ module Google
2741
2741
 
2742
2742
  # Update properties of this object
2743
2743
  def update!(**args)
2744
- @dimensions = args[:dimensions] unless args[:dimensions].nil?
2745
- @end_date = args[:end_date] unless args[:end_date].nil?
2746
- @filters = args[:filters] unless args[:filters].nil?
2747
- @ids = args[:ids] unless args[:ids].nil?
2748
- @max_results = args[:max_results] unless args[:max_results].nil?
2749
- @metrics = args[:metrics] unless args[:metrics].nil?
2750
- @sampling_level = args[:sampling_level] unless args[:sampling_level].nil?
2751
- @segment = args[:segment] unless args[:segment].nil?
2752
- @sort = args[:sort] unless args[:sort].nil?
2753
- @start_date = args[:start_date] unless args[:start_date].nil?
2754
- @start_index = args[:start_index] unless args[:start_index].nil?
2744
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
2745
+ @end_date = args[:end_date] if args.key?(:end_date)
2746
+ @filters = args[:filters] if args.key?(:filters)
2747
+ @ids = args[:ids] if args.key?(:ids)
2748
+ @max_results = args[:max_results] if args.key?(:max_results)
2749
+ @metrics = args[:metrics] if args.key?(:metrics)
2750
+ @sampling_level = args[:sampling_level] if args.key?(:sampling_level)
2751
+ @segment = args[:segment] if args.key?(:segment)
2752
+ @sort = args[:sort] if args.key?(:sort)
2753
+ @start_date = args[:start_date] if args.key?(:start_date)
2754
+ @start_index = args[:start_index] if args.key?(:start_index)
2755
2755
  end
2756
2756
  end
2757
2757
  end
@@ -2860,24 +2860,24 @@ module Google
2860
2860
 
2861
2861
  # Update properties of this object
2862
2862
  def update!(**args)
2863
- @account_id = args[:account_id] unless args[:account_id].nil?
2864
- @active = args[:active] unless args[:active].nil?
2865
- @created = args[:created] unless args[:created].nil?
2866
- @event_details = args[:event_details] unless args[:event_details].nil?
2867
- @id = args[:id] unless args[:id].nil?
2868
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
2869
- @kind = args[:kind] unless args[:kind].nil?
2870
- @name = args[:name] unless args[:name].nil?
2871
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
2872
- @profile_id = args[:profile_id] unless args[:profile_id].nil?
2873
- @self_link = args[:self_link] unless args[:self_link].nil?
2874
- @type = args[:type] unless args[:type].nil?
2875
- @updated = args[:updated] unless args[:updated].nil?
2876
- @url_destination_details = args[:url_destination_details] unless args[:url_destination_details].nil?
2877
- @value = args[:value] unless args[:value].nil?
2878
- @visit_num_pages_details = args[:visit_num_pages_details] unless args[:visit_num_pages_details].nil?
2879
- @visit_time_on_site_details = args[:visit_time_on_site_details] unless args[:visit_time_on_site_details].nil?
2880
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
2863
+ @account_id = args[:account_id] if args.key?(:account_id)
2864
+ @active = args[:active] if args.key?(:active)
2865
+ @created = args[:created] if args.key?(:created)
2866
+ @event_details = args[:event_details] if args.key?(:event_details)
2867
+ @id = args[:id] if args.key?(:id)
2868
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
2869
+ @kind = args[:kind] if args.key?(:kind)
2870
+ @name = args[:name] if args.key?(:name)
2871
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
2872
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
2873
+ @self_link = args[:self_link] if args.key?(:self_link)
2874
+ @type = args[:type] if args.key?(:type)
2875
+ @updated = args[:updated] if args.key?(:updated)
2876
+ @url_destination_details = args[:url_destination_details] if args.key?(:url_destination_details)
2877
+ @value = args[:value] if args.key?(:value)
2878
+ @visit_num_pages_details = args[:visit_num_pages_details] if args.key?(:visit_num_pages_details)
2879
+ @visit_time_on_site_details = args[:visit_time_on_site_details] if args.key?(:visit_time_on_site_details)
2880
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
2881
2881
  end
2882
2882
 
2883
2883
  # Details for the goal of the type EVENT.
@@ -2901,8 +2901,8 @@ module Google
2901
2901
 
2902
2902
  # Update properties of this object
2903
2903
  def update!(**args)
2904
- @event_conditions = args[:event_conditions] unless args[:event_conditions].nil?
2905
- @use_event_value = args[:use_event_value] unless args[:use_event_value].nil?
2904
+ @event_conditions = args[:event_conditions] if args.key?(:event_conditions)
2905
+ @use_event_value = args[:use_event_value] if args.key?(:use_event_value)
2906
2906
  end
2907
2907
 
2908
2908
  #
@@ -2942,11 +2942,11 @@ module Google
2942
2942
 
2943
2943
  # Update properties of this object
2944
2944
  def update!(**args)
2945
- @comparison_type = args[:comparison_type] unless args[:comparison_type].nil?
2946
- @comparison_value = args[:comparison_value] unless args[:comparison_value].nil?
2947
- @expression = args[:expression] unless args[:expression].nil?
2948
- @match_type = args[:match_type] unless args[:match_type].nil?
2949
- @type = args[:type] unless args[:type].nil?
2945
+ @comparison_type = args[:comparison_type] if args.key?(:comparison_type)
2946
+ @comparison_value = args[:comparison_value] if args.key?(:comparison_value)
2947
+ @expression = args[:expression] if args.key?(:expression)
2948
+ @match_type = args[:match_type] if args.key?(:match_type)
2949
+ @type = args[:type] if args.key?(:type)
2950
2950
  end
2951
2951
  end
2952
2952
  end
@@ -2972,8 +2972,8 @@ module Google
2972
2972
 
2973
2973
  # Update properties of this object
2974
2974
  def update!(**args)
2975
- @href = args[:href] unless args[:href].nil?
2976
- @type = args[:type] unless args[:type].nil?
2975
+ @href = args[:href] if args.key?(:href)
2976
+ @type = args[:type] if args.key?(:type)
2977
2977
  end
2978
2978
  end
2979
2979
 
@@ -3015,11 +3015,11 @@ module Google
3015
3015
 
3016
3016
  # Update properties of this object
3017
3017
  def update!(**args)
3018
- @case_sensitive = args[:case_sensitive] unless args[:case_sensitive].nil?
3019
- @first_step_required = args[:first_step_required] unless args[:first_step_required].nil?
3020
- @match_type = args[:match_type] unless args[:match_type].nil?
3021
- @steps = args[:steps] unless args[:steps].nil?
3022
- @url = args[:url] unless args[:url].nil?
3018
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
3019
+ @first_step_required = args[:first_step_required] if args.key?(:first_step_required)
3020
+ @match_type = args[:match_type] if args.key?(:match_type)
3021
+ @steps = args[:steps] if args.key?(:steps)
3022
+ @url = args[:url] if args.key?(:url)
3023
3023
  end
3024
3024
 
3025
3025
  #
@@ -3047,9 +3047,9 @@ module Google
3047
3047
 
3048
3048
  # Update properties of this object
3049
3049
  def update!(**args)
3050
- @name = args[:name] unless args[:name].nil?
3051
- @number = args[:number] unless args[:number].nil?
3052
- @url = args[:url] unless args[:url].nil?
3050
+ @name = args[:name] if args.key?(:name)
3051
+ @number = args[:number] if args.key?(:number)
3052
+ @url = args[:url] if args.key?(:url)
3053
3053
  end
3054
3054
  end
3055
3055
  end
@@ -3074,8 +3074,8 @@ module Google
3074
3074
 
3075
3075
  # Update properties of this object
3076
3076
  def update!(**args)
3077
- @comparison_type = args[:comparison_type] unless args[:comparison_type].nil?
3078
- @comparison_value = args[:comparison_value] unless args[:comparison_value].nil?
3077
+ @comparison_type = args[:comparison_type] if args.key?(:comparison_type)
3078
+ @comparison_value = args[:comparison_value] if args.key?(:comparison_value)
3079
3079
  end
3080
3080
  end
3081
3081
 
@@ -3099,8 +3099,8 @@ module Google
3099
3099
 
3100
3100
  # Update properties of this object
3101
3101
  def update!(**args)
3102
- @comparison_type = args[:comparison_type] unless args[:comparison_type].nil?
3103
- @comparison_value = args[:comparison_value] unless args[:comparison_value].nil?
3102
+ @comparison_type = args[:comparison_type] if args.key?(:comparison_type)
3103
+ @comparison_value = args[:comparison_value] if args.key?(:comparison_value)
3104
3104
  end
3105
3105
  end
3106
3106
  end
@@ -3162,14 +3162,14 @@ module Google
3162
3162
 
3163
3163
  # Update properties of this object
3164
3164
  def update!(**args)
3165
- @items = args[:items] unless args[:items].nil?
3166
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
3167
- @kind = args[:kind] unless args[:kind].nil?
3168
- @next_link = args[:next_link] unless args[:next_link].nil?
3169
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
3170
- @start_index = args[:start_index] unless args[:start_index].nil?
3171
- @total_results = args[:total_results] unless args[:total_results].nil?
3172
- @username = args[:username] unless args[:username].nil?
3165
+ @items = args[:items] if args.key?(:items)
3166
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
3167
+ @kind = args[:kind] if args.key?(:kind)
3168
+ @next_link = args[:next_link] if args.key?(:next_link)
3169
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
3170
+ @start_index = args[:start_index] if args.key?(:start_index)
3171
+ @total_results = args[:total_results] if args.key?(:total_results)
3172
+ @username = args[:username] if args.key?(:username)
3173
3173
  end
3174
3174
  end
3175
3175
 
@@ -3267,21 +3267,21 @@ module Google
3267
3267
 
3268
3268
  # Update properties of this object
3269
3269
  def update!(**args)
3270
- @column_headers = args[:column_headers] unless args[:column_headers].nil?
3271
- @contains_sampled_data = args[:contains_sampled_data] unless args[:contains_sampled_data].nil?
3272
- @id = args[:id] unless args[:id].nil?
3273
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
3274
- @kind = args[:kind] unless args[:kind].nil?
3275
- @next_link = args[:next_link] unless args[:next_link].nil?
3276
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
3277
- @profile_info = args[:profile_info] unless args[:profile_info].nil?
3278
- @query = args[:query] unless args[:query].nil?
3279
- @rows = args[:rows] unless args[:rows].nil?
3280
- @sample_size = args[:sample_size] unless args[:sample_size].nil?
3281
- @sample_space = args[:sample_space] unless args[:sample_space].nil?
3282
- @self_link = args[:self_link] unless args[:self_link].nil?
3283
- @total_results = args[:total_results] unless args[:total_results].nil?
3284
- @totals_for_all_results = args[:totals_for_all_results] unless args[:totals_for_all_results].nil?
3270
+ @column_headers = args[:column_headers] if args.key?(:column_headers)
3271
+ @contains_sampled_data = args[:contains_sampled_data] if args.key?(:contains_sampled_data)
3272
+ @id = args[:id] if args.key?(:id)
3273
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
3274
+ @kind = args[:kind] if args.key?(:kind)
3275
+ @next_link = args[:next_link] if args.key?(:next_link)
3276
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
3277
+ @profile_info = args[:profile_info] if args.key?(:profile_info)
3278
+ @query = args[:query] if args.key?(:query)
3279
+ @rows = args[:rows] if args.key?(:rows)
3280
+ @sample_size = args[:sample_size] if args.key?(:sample_size)
3281
+ @sample_space = args[:sample_space] if args.key?(:sample_space)
3282
+ @self_link = args[:self_link] if args.key?(:self_link)
3283
+ @total_results = args[:total_results] if args.key?(:total_results)
3284
+ @totals_for_all_results = args[:totals_for_all_results] if args.key?(:totals_for_all_results)
3285
3285
  end
3286
3286
 
3287
3287
  #
@@ -3310,9 +3310,9 @@ module Google
3310
3310
 
3311
3311
  # Update properties of this object
3312
3312
  def update!(**args)
3313
- @column_type = args[:column_type] unless args[:column_type].nil?
3314
- @data_type = args[:data_type] unless args[:data_type].nil?
3315
- @name = args[:name] unless args[:name].nil?
3313
+ @column_type = args[:column_type] if args.key?(:column_type)
3314
+ @data_type = args[:data_type] if args.key?(:data_type)
3315
+ @name = args[:name] if args.key?(:name)
3316
3316
  end
3317
3317
  end
3318
3318
 
@@ -3356,12 +3356,12 @@ module Google
3356
3356
 
3357
3357
  # Update properties of this object
3358
3358
  def update!(**args)
3359
- @account_id = args[:account_id] unless args[:account_id].nil?
3360
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
3361
- @profile_id = args[:profile_id] unless args[:profile_id].nil?
3362
- @profile_name = args[:profile_name] unless args[:profile_name].nil?
3363
- @table_id = args[:table_id] unless args[:table_id].nil?
3364
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
3359
+ @account_id = args[:account_id] if args.key?(:account_id)
3360
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
3361
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
3362
+ @profile_name = args[:profile_name] if args.key?(:profile_name)
3363
+ @table_id = args[:table_id] if args.key?(:table_id)
3364
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
3365
3365
  end
3366
3366
  end
3367
3367
 
@@ -3430,17 +3430,17 @@ module Google
3430
3430
 
3431
3431
  # Update properties of this object
3432
3432
  def update!(**args)
3433
- @dimensions = args[:dimensions] unless args[:dimensions].nil?
3434
- @end_date = args[:end_date] unless args[:end_date].nil?
3435
- @filters = args[:filters] unless args[:filters].nil?
3436
- @ids = args[:ids] unless args[:ids].nil?
3437
- @max_results = args[:max_results] unless args[:max_results].nil?
3438
- @metrics = args[:metrics] unless args[:metrics].nil?
3439
- @sampling_level = args[:sampling_level] unless args[:sampling_level].nil?
3440
- @segment = args[:segment] unless args[:segment].nil?
3441
- @sort = args[:sort] unless args[:sort].nil?
3442
- @start_date = args[:start_date] unless args[:start_date].nil?
3443
- @start_index = args[:start_index] unless args[:start_index].nil?
3433
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3434
+ @end_date = args[:end_date] if args.key?(:end_date)
3435
+ @filters = args[:filters] if args.key?(:filters)
3436
+ @ids = args[:ids] if args.key?(:ids)
3437
+ @max_results = args[:max_results] if args.key?(:max_results)
3438
+ @metrics = args[:metrics] if args.key?(:metrics)
3439
+ @sampling_level = args[:sampling_level] if args.key?(:sampling_level)
3440
+ @segment = args[:segment] if args.key?(:segment)
3441
+ @sort = args[:sort] if args.key?(:sort)
3442
+ @start_date = args[:start_date] if args.key?(:start_date)
3443
+ @start_index = args[:start_index] if args.key?(:start_index)
3444
3444
  end
3445
3445
  end
3446
3446
 
@@ -3466,8 +3466,8 @@ module Google
3466
3466
 
3467
3467
  # Update properties of this object
3468
3468
  def update!(**args)
3469
- @conversion_path_value = args[:conversion_path_value] unless args[:conversion_path_value].nil?
3470
- @primitive_value = args[:primitive_value] unless args[:primitive_value].nil?
3469
+ @conversion_path_value = args[:conversion_path_value] if args.key?(:conversion_path_value)
3470
+ @primitive_value = args[:primitive_value] if args.key?(:primitive_value)
3471
3471
  end
3472
3472
 
3473
3473
  #
@@ -3490,8 +3490,8 @@ module Google
3490
3490
 
3491
3491
  # Update properties of this object
3492
3492
  def update!(**args)
3493
- @interaction_type = args[:interaction_type] unless args[:interaction_type].nil?
3494
- @node_value = args[:node_value] unless args[:node_value].nil?
3493
+ @interaction_type = args[:interaction_type] if args.key?(:interaction_type)
3494
+ @node_value = args[:node_value] if args.key?(:node_value)
3495
3495
  end
3496
3496
  end
3497
3497
  end
@@ -3646,31 +3646,31 @@ module Google
3646
3646
 
3647
3647
  # Update properties of this object
3648
3648
  def update!(**args)
3649
- @account_id = args[:account_id] unless args[:account_id].nil?
3650
- @bot_filtering_enabled = args[:bot_filtering_enabled] unless args[:bot_filtering_enabled].nil?
3651
- @child_link = args[:child_link] unless args[:child_link].nil?
3652
- @created = args[:created] unless args[:created].nil?
3653
- @currency = args[:currency] unless args[:currency].nil?
3654
- @default_page = args[:default_page] unless args[:default_page].nil?
3655
- @e_commerce_tracking = args[:e_commerce_tracking] unless args[:e_commerce_tracking].nil?
3656
- @enhanced_e_commerce_tracking = args[:enhanced_e_commerce_tracking] unless args[:enhanced_e_commerce_tracking].nil?
3657
- @exclude_query_parameters = args[:exclude_query_parameters] unless args[:exclude_query_parameters].nil?
3658
- @id = args[:id] unless args[:id].nil?
3659
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
3660
- @kind = args[:kind] unless args[:kind].nil?
3661
- @name = args[:name] unless args[:name].nil?
3662
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
3663
- @permissions = args[:permissions] unless args[:permissions].nil?
3664
- @self_link = args[:self_link] unless args[:self_link].nil?
3665
- @site_search_category_parameters = args[:site_search_category_parameters] unless args[:site_search_category_parameters].nil?
3666
- @site_search_query_parameters = args[:site_search_query_parameters] unless args[:site_search_query_parameters].nil?
3667
- @strip_site_search_category_parameters = args[:strip_site_search_category_parameters] unless args[:strip_site_search_category_parameters].nil?
3668
- @strip_site_search_query_parameters = args[:strip_site_search_query_parameters] unless args[:strip_site_search_query_parameters].nil?
3669
- @timezone = args[:timezone] unless args[:timezone].nil?
3670
- @type = args[:type] unless args[:type].nil?
3671
- @updated = args[:updated] unless args[:updated].nil?
3672
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
3673
- @website_url = args[:website_url] unless args[:website_url].nil?
3649
+ @account_id = args[:account_id] if args.key?(:account_id)
3650
+ @bot_filtering_enabled = args[:bot_filtering_enabled] if args.key?(:bot_filtering_enabled)
3651
+ @child_link = args[:child_link] if args.key?(:child_link)
3652
+ @created = args[:created] if args.key?(:created)
3653
+ @currency = args[:currency] if args.key?(:currency)
3654
+ @default_page = args[:default_page] if args.key?(:default_page)
3655
+ @e_commerce_tracking = args[:e_commerce_tracking] if args.key?(:e_commerce_tracking)
3656
+ @enhanced_e_commerce_tracking = args[:enhanced_e_commerce_tracking] if args.key?(:enhanced_e_commerce_tracking)
3657
+ @exclude_query_parameters = args[:exclude_query_parameters] if args.key?(:exclude_query_parameters)
3658
+ @id = args[:id] if args.key?(:id)
3659
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
3660
+ @kind = args[:kind] if args.key?(:kind)
3661
+ @name = args[:name] if args.key?(:name)
3662
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
3663
+ @permissions = args[:permissions] if args.key?(:permissions)
3664
+ @self_link = args[:self_link] if args.key?(:self_link)
3665
+ @site_search_category_parameters = args[:site_search_category_parameters] if args.key?(:site_search_category_parameters)
3666
+ @site_search_query_parameters = args[:site_search_query_parameters] if args.key?(:site_search_query_parameters)
3667
+ @strip_site_search_category_parameters = args[:strip_site_search_category_parameters] if args.key?(:strip_site_search_category_parameters)
3668
+ @strip_site_search_query_parameters = args[:strip_site_search_query_parameters] if args.key?(:strip_site_search_query_parameters)
3669
+ @timezone = args[:timezone] if args.key?(:timezone)
3670
+ @type = args[:type] if args.key?(:type)
3671
+ @updated = args[:updated] if args.key?(:updated)
3672
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
3673
+ @website_url = args[:website_url] if args.key?(:website_url)
3674
3674
  end
3675
3675
 
3676
3676
  # Child link for this view (profile). Points to the list of goals for this view (
@@ -3694,8 +3694,8 @@ module Google
3694
3694
 
3695
3695
  # Update properties of this object
3696
3696
  def update!(**args)
3697
- @href = args[:href] unless args[:href].nil?
3698
- @type = args[:type] unless args[:type].nil?
3697
+ @href = args[:href] if args.key?(:href)
3698
+ @type = args[:type] if args.key?(:type)
3699
3699
  end
3700
3700
  end
3701
3701
 
@@ -3720,8 +3720,8 @@ module Google
3720
3720
 
3721
3721
  # Update properties of this object
3722
3722
  def update!(**args)
3723
- @href = args[:href] unless args[:href].nil?
3724
- @type = args[:type] unless args[:type].nil?
3723
+ @href = args[:href] if args.key?(:href)
3724
+ @type = args[:type] if args.key?(:type)
3725
3725
  end
3726
3726
  end
3727
3727
 
@@ -3742,7 +3742,7 @@ module Google
3742
3742
 
3743
3743
  # Update properties of this object
3744
3744
  def update!(**args)
3745
- @effective = args[:effective] unless args[:effective].nil?
3745
+ @effective = args[:effective] if args.key?(:effective)
3746
3746
  end
3747
3747
  end
3748
3748
  end
@@ -3797,12 +3797,12 @@ module Google
3797
3797
 
3798
3798
  # Update properties of this object
3799
3799
  def update!(**args)
3800
- @filter_ref = args[:filter_ref] unless args[:filter_ref].nil?
3801
- @id = args[:id] unless args[:id].nil?
3802
- @kind = args[:kind] unless args[:kind].nil?
3803
- @profile_ref = args[:profile_ref] unless args[:profile_ref].nil?
3804
- @rank = args[:rank] unless args[:rank].nil?
3805
- @self_link = args[:self_link] unless args[:self_link].nil?
3800
+ @filter_ref = args[:filter_ref] if args.key?(:filter_ref)
3801
+ @id = args[:id] if args.key?(:id)
3802
+ @kind = args[:kind] if args.key?(:kind)
3803
+ @profile_ref = args[:profile_ref] if args.key?(:profile_ref)
3804
+ @rank = args[:rank] if args.key?(:rank)
3805
+ @self_link = args[:self_link] if args.key?(:self_link)
3806
3806
  end
3807
3807
  end
3808
3808
 
@@ -3863,14 +3863,14 @@ module Google
3863
3863
 
3864
3864
  # Update properties of this object
3865
3865
  def update!(**args)
3866
- @items = args[:items] unless args[:items].nil?
3867
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
3868
- @kind = args[:kind] unless args[:kind].nil?
3869
- @next_link = args[:next_link] unless args[:next_link].nil?
3870
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
3871
- @start_index = args[:start_index] unless args[:start_index].nil?
3872
- @total_results = args[:total_results] unless args[:total_results].nil?
3873
- @username = args[:username] unless args[:username].nil?
3866
+ @items = args[:items] if args.key?(:items)
3867
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
3868
+ @kind = args[:kind] if args.key?(:kind)
3869
+ @next_link = args[:next_link] if args.key?(:next_link)
3870
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
3871
+ @start_index = args[:start_index] if args.key?(:start_index)
3872
+ @total_results = args[:total_results] if args.key?(:total_results)
3873
+ @username = args[:username] if args.key?(:username)
3874
3874
  end
3875
3875
  end
3876
3876
 
@@ -3919,13 +3919,13 @@ module Google
3919
3919
 
3920
3920
  # Update properties of this object
3921
3921
  def update!(**args)
3922
- @account_id = args[:account_id] unless args[:account_id].nil?
3923
- @href = args[:href] unless args[:href].nil?
3924
- @id = args[:id] unless args[:id].nil?
3925
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
3926
- @kind = args[:kind] unless args[:kind].nil?
3927
- @name = args[:name] unless args[:name].nil?
3928
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
3922
+ @account_id = args[:account_id] if args.key?(:account_id)
3923
+ @href = args[:href] if args.key?(:href)
3924
+ @id = args[:id] if args.key?(:id)
3925
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
3926
+ @kind = args[:kind] if args.key?(:kind)
3927
+ @name = args[:name] if args.key?(:name)
3928
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
3929
3929
  end
3930
3930
  end
3931
3931
 
@@ -3960,10 +3960,10 @@ module Google
3960
3960
 
3961
3961
  # Update properties of this object
3962
3962
  def update!(**args)
3963
- @id = args[:id] unless args[:id].nil?
3964
- @kind = args[:kind] unless args[:kind].nil?
3965
- @name = args[:name] unless args[:name].nil?
3966
- @type = args[:type] unless args[:type].nil?
3963
+ @id = args[:id] if args.key?(:id)
3964
+ @kind = args[:kind] if args.key?(:kind)
3965
+ @name = args[:name] if args.key?(:name)
3966
+ @type = args[:type] if args.key?(:type)
3967
3967
  end
3968
3968
  end
3969
3969
 
@@ -4024,14 +4024,14 @@ module Google
4024
4024
 
4025
4025
  # Update properties of this object
4026
4026
  def update!(**args)
4027
- @items = args[:items] unless args[:items].nil?
4028
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
4029
- @kind = args[:kind] unless args[:kind].nil?
4030
- @next_link = args[:next_link] unless args[:next_link].nil?
4031
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
4032
- @start_index = args[:start_index] unless args[:start_index].nil?
4033
- @total_results = args[:total_results] unless args[:total_results].nil?
4034
- @username = args[:username] unless args[:username].nil?
4027
+ @items = args[:items] if args.key?(:items)
4028
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
4029
+ @kind = args[:kind] if args.key?(:kind)
4030
+ @next_link = args[:next_link] if args.key?(:next_link)
4031
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
4032
+ @start_index = args[:start_index] if args.key?(:start_index)
4033
+ @total_results = args[:total_results] if args.key?(:total_results)
4034
+ @username = args[:username] if args.key?(:username)
4035
4035
  end
4036
4036
  end
4037
4037
 
@@ -4096,15 +4096,15 @@ module Google
4096
4096
 
4097
4097
  # Update properties of this object
4098
4098
  def update!(**args)
4099
- @column_headers = args[:column_headers] unless args[:column_headers].nil?
4100
- @id = args[:id] unless args[:id].nil?
4101
- @kind = args[:kind] unless args[:kind].nil?
4102
- @profile_info = args[:profile_info] unless args[:profile_info].nil?
4103
- @query = args[:query] unless args[:query].nil?
4104
- @rows = args[:rows] unless args[:rows].nil?
4105
- @self_link = args[:self_link] unless args[:self_link].nil?
4106
- @total_results = args[:total_results] unless args[:total_results].nil?
4107
- @totals_for_all_results = args[:totals_for_all_results] unless args[:totals_for_all_results].nil?
4099
+ @column_headers = args[:column_headers] if args.key?(:column_headers)
4100
+ @id = args[:id] if args.key?(:id)
4101
+ @kind = args[:kind] if args.key?(:kind)
4102
+ @profile_info = args[:profile_info] if args.key?(:profile_info)
4103
+ @query = args[:query] if args.key?(:query)
4104
+ @rows = args[:rows] if args.key?(:rows)
4105
+ @self_link = args[:self_link] if args.key?(:self_link)
4106
+ @total_results = args[:total_results] if args.key?(:total_results)
4107
+ @totals_for_all_results = args[:totals_for_all_results] if args.key?(:totals_for_all_results)
4108
4108
  end
4109
4109
 
4110
4110
  #
@@ -4134,9 +4134,9 @@ module Google
4134
4134
 
4135
4135
  # Update properties of this object
4136
4136
  def update!(**args)
4137
- @column_type = args[:column_type] unless args[:column_type].nil?
4138
- @data_type = args[:data_type] unless args[:data_type].nil?
4139
- @name = args[:name] unless args[:name].nil?
4137
+ @column_type = args[:column_type] if args.key?(:column_type)
4138
+ @data_type = args[:data_type] if args.key?(:data_type)
4139
+ @name = args[:name] if args.key?(:name)
4140
4140
  end
4141
4141
  end
4142
4142
 
@@ -4180,12 +4180,12 @@ module Google
4180
4180
 
4181
4181
  # Update properties of this object
4182
4182
  def update!(**args)
4183
- @account_id = args[:account_id] unless args[:account_id].nil?
4184
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
4185
- @profile_id = args[:profile_id] unless args[:profile_id].nil?
4186
- @profile_name = args[:profile_name] unless args[:profile_name].nil?
4187
- @table_id = args[:table_id] unless args[:table_id].nil?
4188
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
4183
+ @account_id = args[:account_id] if args.key?(:account_id)
4184
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
4185
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
4186
+ @profile_name = args[:profile_name] if args.key?(:profile_name)
4187
+ @table_id = args[:table_id] if args.key?(:table_id)
4188
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
4189
4189
  end
4190
4190
  end
4191
4191
 
@@ -4229,12 +4229,12 @@ module Google
4229
4229
 
4230
4230
  # Update properties of this object
4231
4231
  def update!(**args)
4232
- @dimensions = args[:dimensions] unless args[:dimensions].nil?
4233
- @filters = args[:filters] unless args[:filters].nil?
4234
- @ids = args[:ids] unless args[:ids].nil?
4235
- @max_results = args[:max_results] unless args[:max_results].nil?
4236
- @metrics = args[:metrics] unless args[:metrics].nil?
4237
- @sort = args[:sort] unless args[:sort].nil?
4232
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
4233
+ @filters = args[:filters] if args.key?(:filters)
4234
+ @ids = args[:ids] if args.key?(:ids)
4235
+ @max_results = args[:max_results] if args.key?(:max_results)
4236
+ @metrics = args[:metrics] if args.key?(:metrics)
4237
+ @sort = args[:sort] if args.key?(:sort)
4238
4238
  end
4239
4239
  end
4240
4240
  end
@@ -4294,15 +4294,15 @@ module Google
4294
4294
 
4295
4295
  # Update properties of this object
4296
4296
  def update!(**args)
4297
- @created = args[:created] unless args[:created].nil?
4298
- @definition = args[:definition] unless args[:definition].nil?
4299
- @id = args[:id] unless args[:id].nil?
4300
- @kind = args[:kind] unless args[:kind].nil?
4301
- @name = args[:name] unless args[:name].nil?
4302
- @segment_id = args[:segment_id] unless args[:segment_id].nil?
4303
- @self_link = args[:self_link] unless args[:self_link].nil?
4304
- @type = args[:type] unless args[:type].nil?
4305
- @updated = args[:updated] unless args[:updated].nil?
4297
+ @created = args[:created] if args.key?(:created)
4298
+ @definition = args[:definition] if args.key?(:definition)
4299
+ @id = args[:id] if args.key?(:id)
4300
+ @kind = args[:kind] if args.key?(:kind)
4301
+ @name = args[:name] if args.key?(:name)
4302
+ @segment_id = args[:segment_id] if args.key?(:segment_id)
4303
+ @self_link = args[:self_link] if args.key?(:self_link)
4304
+ @type = args[:type] if args.key?(:type)
4305
+ @updated = args[:updated] if args.key?(:updated)
4306
4306
  end
4307
4307
  end
4308
4308
 
@@ -4362,14 +4362,14 @@ module Google
4362
4362
 
4363
4363
  # Update properties of this object
4364
4364
  def update!(**args)
4365
- @items = args[:items] unless args[:items].nil?
4366
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
4367
- @kind = args[:kind] unless args[:kind].nil?
4368
- @next_link = args[:next_link] unless args[:next_link].nil?
4369
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
4370
- @start_index = args[:start_index] unless args[:start_index].nil?
4371
- @total_results = args[:total_results] unless args[:total_results].nil?
4372
- @username = args[:username] unless args[:username].nil?
4365
+ @items = args[:items] if args.key?(:items)
4366
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
4367
+ @kind = args[:kind] if args.key?(:kind)
4368
+ @next_link = args[:next_link] if args.key?(:next_link)
4369
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
4370
+ @start_index = args[:start_index] if args.key?(:start_index)
4371
+ @total_results = args[:total_results] if args.key?(:total_results)
4372
+ @username = args[:username] if args.key?(:username)
4373
4373
  end
4374
4374
  end
4375
4375
 
@@ -4480,25 +4480,25 @@ module Google
4480
4480
 
4481
4481
  # Update properties of this object
4482
4482
  def update!(**args)
4483
- @account_id = args[:account_id] unless args[:account_id].nil?
4484
- @cloud_storage_download_details = args[:cloud_storage_download_details] unless args[:cloud_storage_download_details].nil?
4485
- @created = args[:created] unless args[:created].nil?
4486
- @dimensions = args[:dimensions] unless args[:dimensions].nil?
4487
- @download_type = args[:download_type] unless args[:download_type].nil?
4488
- @drive_download_details = args[:drive_download_details] unless args[:drive_download_details].nil?
4489
- @end_date = args[:end_date] unless args[:end_date].nil?
4490
- @filters = args[:filters] unless args[:filters].nil?
4491
- @id = args[:id] unless args[:id].nil?
4492
- @kind = args[:kind] unless args[:kind].nil?
4493
- @metrics = args[:metrics] unless args[:metrics].nil?
4494
- @profile_id = args[:profile_id] unless args[:profile_id].nil?
4495
- @segment = args[:segment] unless args[:segment].nil?
4496
- @self_link = args[:self_link] unless args[:self_link].nil?
4497
- @start_date = args[:start_date] unless args[:start_date].nil?
4498
- @status = args[:status] unless args[:status].nil?
4499
- @title = args[:title] unless args[:title].nil?
4500
- @updated = args[:updated] unless args[:updated].nil?
4501
- @web_property_id = args[:web_property_id] unless args[:web_property_id].nil?
4483
+ @account_id = args[:account_id] if args.key?(:account_id)
4484
+ @cloud_storage_download_details = args[:cloud_storage_download_details] if args.key?(:cloud_storage_download_details)
4485
+ @created = args[:created] if args.key?(:created)
4486
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
4487
+ @download_type = args[:download_type] if args.key?(:download_type)
4488
+ @drive_download_details = args[:drive_download_details] if args.key?(:drive_download_details)
4489
+ @end_date = args[:end_date] if args.key?(:end_date)
4490
+ @filters = args[:filters] if args.key?(:filters)
4491
+ @id = args[:id] if args.key?(:id)
4492
+ @kind = args[:kind] if args.key?(:kind)
4493
+ @metrics = args[:metrics] if args.key?(:metrics)
4494
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
4495
+ @segment = args[:segment] if args.key?(:segment)
4496
+ @self_link = args[:self_link] if args.key?(:self_link)
4497
+ @start_date = args[:start_date] if args.key?(:start_date)
4498
+ @status = args[:status] if args.key?(:status)
4499
+ @title = args[:title] if args.key?(:title)
4500
+ @updated = args[:updated] if args.key?(:updated)
4501
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
4502
4502
  end
4503
4503
 
4504
4504
  # Download details for a file stored in Google Cloud Storage.
@@ -4521,8 +4521,8 @@ module Google
4521
4521
 
4522
4522
  # Update properties of this object
4523
4523
  def update!(**args)
4524
- @bucket_id = args[:bucket_id] unless args[:bucket_id].nil?
4525
- @obj_id = args[:obj_id] unless args[:obj_id].nil?
4524
+ @bucket_id = args[:bucket_id] if args.key?(:bucket_id)
4525
+ @obj_id = args[:obj_id] if args.key?(:obj_id)
4526
4526
  end
4527
4527
  end
4528
4528
 
@@ -4541,7 +4541,7 @@ module Google
4541
4541
 
4542
4542
  # Update properties of this object
4543
4543
  def update!(**args)
4544
- @document_id = args[:document_id] unless args[:document_id].nil?
4544
+ @document_id = args[:document_id] if args.key?(:document_id)
4545
4545
  end
4546
4546
  end
4547
4547
  end
@@ -4604,14 +4604,14 @@ module Google
4604
4604
 
4605
4605
  # Update properties of this object
4606
4606
  def update!(**args)
4607
- @items = args[:items] unless args[:items].nil?
4608
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
4609
- @kind = args[:kind] unless args[:kind].nil?
4610
- @next_link = args[:next_link] unless args[:next_link].nil?
4611
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
4612
- @start_index = args[:start_index] unless args[:start_index].nil?
4613
- @total_results = args[:total_results] unless args[:total_results].nil?
4614
- @username = args[:username] unless args[:username].nil?
4607
+ @items = args[:items] if args.key?(:items)
4608
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
4609
+ @kind = args[:kind] if args.key?(:kind)
4610
+ @next_link = args[:next_link] if args.key?(:next_link)
4611
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
4612
+ @start_index = args[:start_index] if args.key?(:start_index)
4613
+ @total_results = args[:total_results] if args.key?(:total_results)
4614
+ @username = args[:username] if args.key?(:username)
4615
4615
  end
4616
4616
  end
4617
4617
 
@@ -4655,12 +4655,12 @@ module Google
4655
4655
 
4656
4656
  # Update properties of this object
4657
4657
  def update!(**args)
4658
- @account_id = args[:account_id] unless args[:account_id].nil?
4659
- @custom_data_source_id = args[:custom_data_source_id] unless args[:custom_data_source_id].nil?
4660
- @errors = args[:errors] unless args[:errors].nil?
4661
- @id = args[:id] unless args[:id].nil?
4662
- @kind = args[:kind] unless args[:kind].nil?
4663
- @status = args[:status] unless args[:status].nil?
4658
+ @account_id = args[:account_id] if args.key?(:account_id)
4659
+ @custom_data_source_id = args[:custom_data_source_id] if args.key?(:custom_data_source_id)
4660
+ @errors = args[:errors] if args.key?(:errors)
4661
+ @id = args[:id] if args.key?(:id)
4662
+ @kind = args[:kind] if args.key?(:kind)
4663
+ @status = args[:status] if args.key?(:status)
4664
4664
  end
4665
4665
  end
4666
4666
 
@@ -4716,13 +4716,13 @@ module Google
4716
4716
 
4717
4717
  # Update properties of this object
4718
4718
  def update!(**args)
4719
- @items = args[:items] unless args[:items].nil?
4720
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
4721
- @kind = args[:kind] unless args[:kind].nil?
4722
- @next_link = args[:next_link] unless args[:next_link].nil?
4723
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
4724
- @start_index = args[:start_index] unless args[:start_index].nil?
4725
- @total_results = args[:total_results] unless args[:total_results].nil?
4719
+ @items = args[:items] if args.key?(:items)
4720
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
4721
+ @kind = args[:kind] if args.key?(:kind)
4722
+ @next_link = args[:next_link] if args.key?(:next_link)
4723
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
4724
+ @start_index = args[:start_index] if args.key?(:start_index)
4725
+ @total_results = args[:total_results] if args.key?(:total_results)
4726
4726
  end
4727
4727
  end
4728
4728
 
@@ -4751,9 +4751,9 @@ module Google
4751
4751
 
4752
4752
  # Update properties of this object
4753
4753
  def update!(**args)
4754
- @email = args[:email] unless args[:email].nil?
4755
- @id = args[:id] unless args[:id].nil?
4756
- @kind = args[:kind] unless args[:kind].nil?
4754
+ @email = args[:email] if args.key?(:email)
4755
+ @id = args[:id] if args.key?(:id)
4756
+ @kind = args[:kind] if args.key?(:kind)
4757
4757
  end
4758
4758
  end
4759
4759
 
@@ -4797,12 +4797,12 @@ module Google
4797
4797
 
4798
4798
  # Update properties of this object
4799
4799
  def update!(**args)
4800
- @account_id = args[:account_id] unless args[:account_id].nil?
4801
- @href = args[:href] unless args[:href].nil?
4802
- @id = args[:id] unless args[:id].nil?
4803
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
4804
- @kind = args[:kind] unless args[:kind].nil?
4805
- @name = args[:name] unless args[:name].nil?
4800
+ @account_id = args[:account_id] if args.key?(:account_id)
4801
+ @href = args[:href] if args.key?(:href)
4802
+ @id = args[:id] if args.key?(:id)
4803
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
4804
+ @kind = args[:kind] if args.key?(:kind)
4805
+ @name = args[:name] if args.key?(:name)
4806
4806
  end
4807
4807
  end
4808
4808
 
@@ -4852,13 +4852,13 @@ module Google
4852
4852
 
4853
4853
  # Update properties of this object
4854
4854
  def update!(**args)
4855
- @id = args[:id] unless args[:id].nil?
4856
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
4857
- @kind = args[:kind] unless args[:kind].nil?
4858
- @level = args[:level] unless args[:level].nil?
4859
- @name = args[:name] unless args[:name].nil?
4860
- @profiles = args[:profiles] unless args[:profiles].nil?
4861
- @website_url = args[:website_url] unless args[:website_url].nil?
4855
+ @id = args[:id] if args.key?(:id)
4856
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
4857
+ @kind = args[:kind] if args.key?(:kind)
4858
+ @level = args[:level] if args.key?(:level)
4859
+ @name = args[:name] if args.key?(:name)
4860
+ @profiles = args[:profiles] if args.key?(:profiles)
4861
+ @website_url = args[:website_url] if args.key?(:website_url)
4862
4862
  end
4863
4863
  end
4864
4864
 
@@ -4919,14 +4919,14 @@ module Google
4919
4919
 
4920
4920
  # Update properties of this object
4921
4921
  def update!(**args)
4922
- @items = args[:items] unless args[:items].nil?
4923
- @items_per_page = args[:items_per_page] unless args[:items_per_page].nil?
4924
- @kind = args[:kind] unless args[:kind].nil?
4925
- @next_link = args[:next_link] unless args[:next_link].nil?
4926
- @previous_link = args[:previous_link] unless args[:previous_link].nil?
4927
- @start_index = args[:start_index] unless args[:start_index].nil?
4928
- @total_results = args[:total_results] unless args[:total_results].nil?
4929
- @username = args[:username] unless args[:username].nil?
4922
+ @items = args[:items] if args.key?(:items)
4923
+ @items_per_page = args[:items_per_page] if args.key?(:items_per_page)
4924
+ @kind = args[:kind] if args.key?(:kind)
4925
+ @next_link = args[:next_link] if args.key?(:next_link)
4926
+ @previous_link = args[:previous_link] if args.key?(:previous_link)
4927
+ @start_index = args[:start_index] if args.key?(:start_index)
4928
+ @total_results = args[:total_results] if args.key?(:total_results)
4929
+ @username = args[:username] if args.key?(:username)
4930
4930
  end
4931
4931
  end
4932
4932
 
@@ -5022,22 +5022,22 @@ module Google
5022
5022
 
5023
5023
  # Update properties of this object
5024
5024
  def update!(**args)
5025
- @account_id = args[:account_id] unless args[:account_id].nil?
5026
- @child_link = args[:child_link] unless args[:child_link].nil?
5027
- @created = args[:created] unless args[:created].nil?
5028
- @default_profile_id = args[:default_profile_id] unless args[:default_profile_id].nil?
5029
- @id = args[:id] unless args[:id].nil?
5030
- @industry_vertical = args[:industry_vertical] unless args[:industry_vertical].nil?
5031
- @internal_web_property_id = args[:internal_web_property_id] unless args[:internal_web_property_id].nil?
5032
- @kind = args[:kind] unless args[:kind].nil?
5033
- @level = args[:level] unless args[:level].nil?
5034
- @name = args[:name] unless args[:name].nil?
5035
- @parent_link = args[:parent_link] unless args[:parent_link].nil?
5036
- @permissions = args[:permissions] unless args[:permissions].nil?
5037
- @profile_count = args[:profile_count] unless args[:profile_count].nil?
5038
- @self_link = args[:self_link] unless args[:self_link].nil?
5039
- @updated = args[:updated] unless args[:updated].nil?
5040
- @website_url = args[:website_url] unless args[:website_url].nil?
5025
+ @account_id = args[:account_id] if args.key?(:account_id)
5026
+ @child_link = args[:child_link] if args.key?(:child_link)
5027
+ @created = args[:created] if args.key?(:created)
5028
+ @default_profile_id = args[:default_profile_id] if args.key?(:default_profile_id)
5029
+ @id = args[:id] if args.key?(:id)
5030
+ @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
5031
+ @internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
5032
+ @kind = args[:kind] if args.key?(:kind)
5033
+ @level = args[:level] if args.key?(:level)
5034
+ @name = args[:name] if args.key?(:name)
5035
+ @parent_link = args[:parent_link] if args.key?(:parent_link)
5036
+ @permissions = args[:permissions] if args.key?(:permissions)
5037
+ @profile_count = args[:profile_count] if args.key?(:profile_count)
5038
+ @self_link = args[:self_link] if args.key?(:self_link)
5039
+ @updated = args[:updated] if args.key?(:updated)
5040
+ @website_url = args[:website_url] if args.key?(:website_url)
5041
5041
  end
5042
5042
 
5043
5043
  # Child link for this web property. Points to the list of views (profiles) for
@@ -5061,8 +5061,8 @@ module Google
5061
5061
 
5062
5062
  # Update properties of this object
5063
5063
  def update!(**args)
5064
- @href = args[:href] unless args[:href].nil?
5065
- @type = args[:type] unless args[:type].nil?
5064
+ @href = args[:href] if args.key?(:href)
5065
+ @type = args[:type] if args.key?(:type)
5066
5066
  end
5067
5067
  end
5068
5068
 
@@ -5087,8 +5087,8 @@ module Google
5087
5087
 
5088
5088
  # Update properties of this object
5089
5089
  def update!(**args)
5090
- @href = args[:href] unless args[:href].nil?
5091
- @type = args[:type] unless args[:type].nil?
5090
+ @href = args[:href] if args.key?(:href)
5091
+ @type = args[:type] if args.key?(:type)
5092
5092
  end
5093
5093
  end
5094
5094
 
@@ -5109,7 +5109,7 @@ module Google
5109
5109
 
5110
5110
  # Update properties of this object
5111
5111
  def update!(**args)
5112
- @effective = args[:effective] unless args[:effective].nil?
5112
+ @effective = args[:effective] if args.key?(:effective)
5113
5113
  end
5114
5114
  end
5115
5115
  end