google-api-client 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +11 -2
  4. data/api_names.yaml +76 -43
  5. data/api_names_out.yaml +3853 -3508
  6. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
  11. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
  12. data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
  13. data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
  14. data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
  19. data/generated/google/apis/analytics_v3/classes.rb +582 -582
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
  22. data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
  24. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
  26. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
  27. data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
  28. data/generated/google/apis/appengine_v1beta5.rb +35 -0
  29. data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
  30. data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
  31. data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
  32. data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
  33. data/generated/google/apis/appstate_v1.rb +1 -1
  34. data/generated/google/apis/appstate_v1/classes.rb +12 -12
  35. data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
  36. data/generated/google/apis/bigquery_v2.rb +1 -1
  37. data/generated/google/apis/bigquery_v2/classes.rb +266 -265
  38. data/generated/google/apis/blogger_v3/classes.rb +145 -145
  39. data/generated/google/apis/books_v1.rb +1 -1
  40. data/generated/google/apis/books_v1/classes.rb +431 -431
  41. data/generated/google/apis/books_v1/service.rb +3 -12
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/calendar_v3/classes.rb +180 -180
  44. data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
  45. data/generated/google/apis/classroom_v1/classes.rb +42 -42
  46. data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
  47. data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
  51. data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
  52. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  53. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  54. data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
  55. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  56. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
  60. data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_beta/classes.rb +1051 -998
  63. data/generated/google/apis/compute_beta/representations.rb +1 -0
  64. data/generated/google/apis/compute_beta/service.rb +426 -366
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/compute_v1/classes.rb +1332 -946
  67. data/generated/google/apis/compute_v1/representations.rb +108 -0
  68. data/generated/google/apis/compute_v1/service.rb +686 -318
  69. data/generated/google/apis/container_v1/classes.rb +43 -43
  70. data/generated/google/apis/content_v2.rb +1 -1
  71. data/generated/google/apis/content_v2/classes.rb +767 -639
  72. data/generated/google/apis/content_v2/representations.rb +40 -0
  73. data/generated/google/apis/coordinate_v1/classes.rb +66 -66
  74. data/generated/google/apis/customsearch_v1/classes.rb +96 -96
  75. data/generated/google/apis/dataproc_v1.rb +43 -0
  76. data/generated/google/apis/dataproc_v1/classes.rb +175 -0
  77. data/generated/google/apis/dataproc_v1/representations.rb +84 -0
  78. data/generated/google/apis/dataproc_v1/service.rb +142 -0
  79. data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
  80. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  81. data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
  82. data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
  83. data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
  84. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  85. data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
  86. data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
  87. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  88. data/generated/google/apis/discovery_v1/classes.rb +106 -106
  89. data/generated/google/apis/dns_v1/classes.rb +39 -39
  90. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  91. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
  92. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
  93. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
  94. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
  96. data/generated/google/apis/drive_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2/classes.rb +308 -308
  98. data/generated/google/apis/drive_v2/service.rb +44 -0
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +178 -178
  101. data/generated/google/apis/drive_v3/service.rb +2 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +74 -74
  103. data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
  104. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  105. data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
  106. data/generated/google/apis/games_management_v1management.rb +2 -2
  107. data/generated/google/apis/games_management_v1management/classes.rb +55 -46
  108. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  109. data/generated/google/apis/games_v1.rb +2 -2
  110. data/generated/google/apis/games_v1/classes.rb +484 -475
  111. data/generated/google/apis/games_v1/representations.rb +1 -0
  112. data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
  113. data/generated/google/apis/genomics_v1.rb +2 -2
  114. data/generated/google/apis/genomics_v1/classes.rb +441 -232
  115. data/generated/google/apis/genomics_v1/representations.rb +85 -0
  116. data/generated/google/apis/genomics_v1/service.rb +1 -1
  117. data/generated/google/apis/gmail_v1/classes.rb +73 -73
  118. data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
  119. data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
  120. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  121. data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
  122. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  123. data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
  124. data/generated/google/apis/licensing_v1/classes.rb +11 -11
  125. data/generated/google/apis/logging_v2beta1.rb +47 -0
  126. data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
  127. data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
  128. data/generated/google/apis/logging_v2beta1/service.rb +547 -0
  129. data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
  130. data/generated/google/apis/mirror_v1/classes.rb +101 -101
  131. data/generated/google/apis/oauth2_v2.rb +2 -2
  132. data/generated/google/apis/oauth2_v2/classes.rb +27 -27
  133. data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
  134. data/generated/google/apis/partners_v2/classes.rb +87 -87
  135. data/generated/google/apis/people_v1.rb +59 -0
  136. data/generated/google/apis/people_v1/classes.rb +1594 -0
  137. data/generated/google/apis/people_v1/representations.rb +593 -0
  138. data/generated/google/apis/people_v1/service.rb +193 -0
  139. data/generated/google/apis/plus_domains_v1.rb +2 -2
  140. data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
  141. data/generated/google/apis/plus_v1.rb +2 -2
  142. data/generated/google/apis/plus_v1/classes.rb +215 -215
  143. data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
  144. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
  145. data/generated/google/apis/pubsub_v1/classes.rb +36 -36
  146. data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
  147. data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
  148. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
  149. data/generated/google/apis/reseller_v1.rb +1 -1
  150. data/generated/google/apis/reseller_v1/classes.rb +55 -55
  151. data/generated/google/apis/reseller_v1/service.rb +1 -1
  152. data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
  153. data/generated/google/apis/script_v1/classes.rb +18 -18
  154. data/generated/google/apis/site_verification_v1/classes.rb +12 -12
  155. data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
  156. data/generated/google/apis/storage_v1.rb +1 -1
  157. data/generated/google/apis/storage_v1/classes.rb +130 -130
  158. data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
  159. data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
  160. data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
  161. data/generated/google/apis/tasks_v1/classes.rb +32 -32
  162. data/generated/google/apis/translate_v2/classes.rb +10 -10
  163. data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
  164. data/generated/google/apis/webmasters_v3/classes.rb +49 -49
  165. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
  167. data/generated/google/apis/youtube_v3.rb +1 -1
  168. data/generated/google/apis/youtube_v3/classes.rb +882 -895
  169. data/generated/google/apis/youtube_v3/representations.rb +2 -13
  170. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
  171. data/lib/google/apis/core/api_command.rb +1 -1
  172. data/lib/google/apis/core/upload.rb +1 -1
  173. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  174. data/lib/google/apis/version.rb +1 -1
  175. data/samples/cli/lib/base_cli.rb +2 -1
  176. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  177. data/script/generate +17 -13
  178. metadata +35 -6
  179. data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
  180. data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
  181. data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20160119'
28
+ REVISION = '20160129'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -84,12 +84,12 @@ module Google
84
84
 
85
85
  # Update properties of this object
86
86
  def update!(**args)
87
- @allow_jagged_rows = args[:allow_jagged_rows] unless args[:allow_jagged_rows].nil?
88
- @allow_quoted_newlines = args[:allow_quoted_newlines] unless args[:allow_quoted_newlines].nil?
89
- @encoding = args[:encoding] unless args[:encoding].nil?
90
- @field_delimiter = args[:field_delimiter] unless args[:field_delimiter].nil?
91
- @quote = args[:quote] unless args[:quote].nil?
92
- @skip_leading_rows = args[:skip_leading_rows] unless args[:skip_leading_rows].nil?
87
+ @allow_jagged_rows = args[:allow_jagged_rows] if args.key?(:allow_jagged_rows)
88
+ @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
89
+ @encoding = args[:encoding] if args.key?(:encoding)
90
+ @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
91
+ @quote = args[:quote] if args.key?(:quote)
92
+ @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
93
93
  end
94
94
  end
95
95
 
@@ -186,18 +186,18 @@ module Google
186
186
 
187
187
  # Update properties of this object
188
188
  def update!(**args)
189
- @access = args[:access] unless args[:access].nil?
190
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
191
- @dataset_reference = args[:dataset_reference] unless args[:dataset_reference].nil?
192
- @default_table_expiration_ms = args[:default_table_expiration_ms] unless args[:default_table_expiration_ms].nil?
193
- @description = args[:description] unless args[:description].nil?
194
- @etag = args[:etag] unless args[:etag].nil?
195
- @friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
196
- @id = args[:id] unless args[:id].nil?
197
- @kind = args[:kind] unless args[:kind].nil?
198
- @last_modified_time = args[:last_modified_time] unless args[:last_modified_time].nil?
199
- @location = args[:location] unless args[:location].nil?
200
- @self_link = args[:self_link] unless args[:self_link].nil?
189
+ @access = args[:access] if args.key?(:access)
190
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
191
+ @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
192
+ @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
193
+ @description = args[:description] if args.key?(:description)
194
+ @etag = args[:etag] if args.key?(:etag)
195
+ @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
196
+ @id = args[:id] if args.key?(:id)
197
+ @kind = args[:kind] if args.key?(:kind)
198
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
199
+ @location = args[:location] if args.key?(:location)
200
+ @self_link = args[:self_link] if args.key?(:self_link)
201
201
  end
202
202
 
203
203
  #
@@ -251,12 +251,12 @@ module Google
251
251
 
252
252
  # Update properties of this object
253
253
  def update!(**args)
254
- @domain = args[:domain] unless args[:domain].nil?
255
- @group_by_email = args[:group_by_email] unless args[:group_by_email].nil?
256
- @role = args[:role] unless args[:role].nil?
257
- @special_group = args[:special_group] unless args[:special_group].nil?
258
- @user_by_email = args[:user_by_email] unless args[:user_by_email].nil?
259
- @view = args[:view] unless args[:view].nil?
254
+ @domain = args[:domain] if args.key?(:domain)
255
+ @group_by_email = args[:group_by_email] if args.key?(:group_by_email)
256
+ @role = args[:role] if args.key?(:role)
257
+ @special_group = args[:special_group] if args.key?(:special_group)
258
+ @user_by_email = args[:user_by_email] if args.key?(:user_by_email)
259
+ @view = args[:view] if args.key?(:view)
260
260
  end
261
261
  end
262
262
  end
@@ -296,10 +296,10 @@ module Google
296
296
 
297
297
  # Update properties of this object
298
298
  def update!(**args)
299
- @datasets = args[:datasets] unless args[:datasets].nil?
300
- @etag = args[:etag] unless args[:etag].nil?
301
- @kind = args[:kind] unless args[:kind].nil?
302
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
299
+ @datasets = args[:datasets] if args.key?(:datasets)
300
+ @etag = args[:etag] if args.key?(:etag)
301
+ @kind = args[:kind] if args.key?(:kind)
302
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
303
303
  end
304
304
 
305
305
  #
@@ -333,10 +333,10 @@ module Google
333
333
 
334
334
  # Update properties of this object
335
335
  def update!(**args)
336
- @dataset_reference = args[:dataset_reference] unless args[:dataset_reference].nil?
337
- @friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
338
- @id = args[:id] unless args[:id].nil?
339
- @kind = args[:kind] unless args[:kind].nil?
336
+ @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
337
+ @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
338
+ @id = args[:id] if args.key?(:id)
339
+ @kind = args[:kind] if args.key?(:kind)
340
340
  end
341
341
  end
342
342
  end
@@ -363,8 +363,8 @@ module Google
363
363
 
364
364
  # Update properties of this object
365
365
  def update!(**args)
366
- @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
367
- @project_id = args[:project_id] unless args[:project_id].nil?
366
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
367
+ @project_id = args[:project_id] if args.key?(:project_id)
368
368
  end
369
369
  end
370
370
 
@@ -399,10 +399,10 @@ module Google
399
399
 
400
400
  # Update properties of this object
401
401
  def update!(**args)
402
- @debug_info = args[:debug_info] unless args[:debug_info].nil?
403
- @location = args[:location] unless args[:location].nil?
404
- @message = args[:message] unless args[:message].nil?
405
- @reason = args[:reason] unless args[:reason].nil?
402
+ @debug_info = args[:debug_info] if args.key?(:debug_info)
403
+ @location = args[:location] if args.key?(:location)
404
+ @message = args[:message] if args.key?(:message)
405
+ @reason = args[:reason] if args.key?(:reason)
406
406
  end
407
407
  end
408
408
 
@@ -482,19 +482,19 @@ module Google
482
482
 
483
483
  # Update properties of this object
484
484
  def update!(**args)
485
- @compute_ratio_avg = args[:compute_ratio_avg] unless args[:compute_ratio_avg].nil?
486
- @compute_ratio_max = args[:compute_ratio_max] unless args[:compute_ratio_max].nil?
487
- @id = args[:id] unless args[:id].nil?
488
- @name = args[:name] unless args[:name].nil?
489
- @read_ratio_avg = args[:read_ratio_avg] unless args[:read_ratio_avg].nil?
490
- @read_ratio_max = args[:read_ratio_max] unless args[:read_ratio_max].nil?
491
- @records_read = args[:records_read] unless args[:records_read].nil?
492
- @records_written = args[:records_written] unless args[:records_written].nil?
493
- @steps = args[:steps] unless args[:steps].nil?
494
- @wait_ratio_avg = args[:wait_ratio_avg] unless args[:wait_ratio_avg].nil?
495
- @wait_ratio_max = args[:wait_ratio_max] unless args[:wait_ratio_max].nil?
496
- @write_ratio_avg = args[:write_ratio_avg] unless args[:write_ratio_avg].nil?
497
- @write_ratio_max = args[:write_ratio_max] unless args[:write_ratio_max].nil?
485
+ @compute_ratio_avg = args[:compute_ratio_avg] if args.key?(:compute_ratio_avg)
486
+ @compute_ratio_max = args[:compute_ratio_max] if args.key?(:compute_ratio_max)
487
+ @id = args[:id] if args.key?(:id)
488
+ @name = args[:name] if args.key?(:name)
489
+ @read_ratio_avg = args[:read_ratio_avg] if args.key?(:read_ratio_avg)
490
+ @read_ratio_max = args[:read_ratio_max] if args.key?(:read_ratio_max)
491
+ @records_read = args[:records_read] if args.key?(:records_read)
492
+ @records_written = args[:records_written] if args.key?(:records_written)
493
+ @steps = args[:steps] if args.key?(:steps)
494
+ @wait_ratio_avg = args[:wait_ratio_avg] if args.key?(:wait_ratio_avg)
495
+ @wait_ratio_max = args[:wait_ratio_max] if args.key?(:wait_ratio_max)
496
+ @write_ratio_avg = args[:write_ratio_avg] if args.key?(:write_ratio_avg)
497
+ @write_ratio_max = args[:write_ratio_max] if args.key?(:write_ratio_max)
498
498
  end
499
499
  end
500
500
 
@@ -518,8 +518,8 @@ module Google
518
518
 
519
519
  # Update properties of this object
520
520
  def update!(**args)
521
- @kind = args[:kind] unless args[:kind].nil?
522
- @substeps = args[:substeps] unless args[:substeps].nil?
521
+ @kind = args[:kind] if args.key?(:kind)
522
+ @substeps = args[:substeps] if args.key?(:substeps)
523
523
  end
524
524
  end
525
525
 
@@ -589,13 +589,13 @@ module Google
589
589
 
590
590
  # Update properties of this object
591
591
  def update!(**args)
592
- @compression = args[:compression] unless args[:compression].nil?
593
- @csv_options = args[:csv_options] unless args[:csv_options].nil?
594
- @ignore_unknown_values = args[:ignore_unknown_values] unless args[:ignore_unknown_values].nil?
595
- @max_bad_records = args[:max_bad_records] unless args[:max_bad_records].nil?
596
- @schema = args[:schema] unless args[:schema].nil?
597
- @source_format = args[:source_format] unless args[:source_format].nil?
598
- @source_uris = args[:source_uris] unless args[:source_uris].nil?
592
+ @compression = args[:compression] if args.key?(:compression)
593
+ @csv_options = args[:csv_options] if args.key?(:csv_options)
594
+ @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
595
+ @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
596
+ @schema = args[:schema] if args.key?(:schema)
597
+ @source_format = args[:source_format] if args.key?(:source_format)
598
+ @source_uris = args[:source_uris] if args.key?(:source_uris)
599
599
  end
600
600
  end
601
601
 
@@ -678,17 +678,17 @@ module Google
678
678
 
679
679
  # Update properties of this object
680
680
  def update!(**args)
681
- @cache_hit = args[:cache_hit] unless args[:cache_hit].nil?
682
- @errors = args[:errors] unless args[:errors].nil?
683
- @etag = args[:etag] unless args[:etag].nil?
684
- @job_complete = args[:job_complete] unless args[:job_complete].nil?
685
- @job_reference = args[:job_reference] unless args[:job_reference].nil?
686
- @kind = args[:kind] unless args[:kind].nil?
687
- @page_token = args[:page_token] unless args[:page_token].nil?
688
- @rows = args[:rows] unless args[:rows].nil?
689
- @schema = args[:schema] unless args[:schema].nil?
690
- @total_bytes_processed = args[:total_bytes_processed] unless args[:total_bytes_processed].nil?
691
- @total_rows = args[:total_rows] unless args[:total_rows].nil?
681
+ @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
682
+ @errors = args[:errors] if args.key?(:errors)
683
+ @etag = args[:etag] if args.key?(:etag)
684
+ @job_complete = args[:job_complete] if args.key?(:job_complete)
685
+ @job_reference = args[:job_reference] if args.key?(:job_reference)
686
+ @kind = args[:kind] if args.key?(:kind)
687
+ @page_token = args[:page_token] if args.key?(:page_token)
688
+ @rows = args[:rows] if args.key?(:rows)
689
+ @schema = args[:schema] if args.key?(:schema)
690
+ @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
691
+ @total_rows = args[:total_rows] if args.key?(:total_rows)
692
692
  end
693
693
  end
694
694
 
@@ -749,15 +749,15 @@ module Google
749
749
 
750
750
  # Update properties of this object
751
751
  def update!(**args)
752
- @configuration = args[:configuration] unless args[:configuration].nil?
753
- @etag = args[:etag] unless args[:etag].nil?
754
- @id = args[:id] unless args[:id].nil?
755
- @job_reference = args[:job_reference] unless args[:job_reference].nil?
756
- @kind = args[:kind] unless args[:kind].nil?
757
- @self_link = args[:self_link] unless args[:self_link].nil?
758
- @statistics = args[:statistics] unless args[:statistics].nil?
759
- @status = args[:status] unless args[:status].nil?
760
- @user_email = args[:user_email] unless args[:user_email].nil?
752
+ @configuration = args[:configuration] if args.key?(:configuration)
753
+ @etag = args[:etag] if args.key?(:etag)
754
+ @id = args[:id] if args.key?(:id)
755
+ @job_reference = args[:job_reference] if args.key?(:job_reference)
756
+ @kind = args[:kind] if args.key?(:kind)
757
+ @self_link = args[:self_link] if args.key?(:self_link)
758
+ @statistics = args[:statistics] if args.key?(:statistics)
759
+ @status = args[:status] if args.key?(:status)
760
+ @user_email = args[:user_email] if args.key?(:user_email)
761
761
  end
762
762
  end
763
763
 
@@ -781,8 +781,8 @@ module Google
781
781
 
782
782
  # Update properties of this object
783
783
  def update!(**args)
784
- @job = args[:job] unless args[:job].nil?
785
- @kind = args[:kind] unless args[:kind].nil?
784
+ @job = args[:job] if args.key?(:job)
785
+ @kind = args[:kind] if args.key?(:kind)
786
786
  end
787
787
  end
788
788
 
@@ -825,11 +825,11 @@ module Google
825
825
 
826
826
  # Update properties of this object
827
827
  def update!(**args)
828
- @copy = args[:copy] unless args[:copy].nil?
829
- @dry_run = args[:dry_run] unless args[:dry_run].nil?
830
- @extract = args[:extract] unless args[:extract].nil?
831
- @load = args[:load] unless args[:load].nil?
832
- @query = args[:query] unless args[:query].nil?
828
+ @copy = args[:copy] if args.key?(:copy)
829
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
830
+ @extract = args[:extract] if args.key?(:extract)
831
+ @load = args[:load] if args.key?(:load)
832
+ @query = args[:query] if args.key?(:query)
833
833
  end
834
834
  end
835
835
 
@@ -885,13 +885,13 @@ module Google
885
885
 
886
886
  # Update properties of this object
887
887
  def update!(**args)
888
- @compression = args[:compression] unless args[:compression].nil?
889
- @destination_format = args[:destination_format] unless args[:destination_format].nil?
890
- @destination_uri = args[:destination_uri] unless args[:destination_uri].nil?
891
- @destination_uris = args[:destination_uris] unless args[:destination_uris].nil?
892
- @field_delimiter = args[:field_delimiter] unless args[:field_delimiter].nil?
893
- @print_header = args[:print_header] unless args[:print_header].nil?
894
- @source_table = args[:source_table] unless args[:source_table].nil?
888
+ @compression = args[:compression] if args.key?(:compression)
889
+ @destination_format = args[:destination_format] if args.key?(:destination_format)
890
+ @destination_uri = args[:destination_uri] if args.key?(:destination_uri)
891
+ @destination_uris = args[:destination_uris] if args.key?(:destination_uris)
892
+ @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
893
+ @print_header = args[:print_header] if args.key?(:print_header)
894
+ @source_table = args[:source_table] if args.key?(:source_table)
895
895
  end
896
896
  end
897
897
 
@@ -1047,23 +1047,23 @@ module Google
1047
1047
 
1048
1048
  # Update properties of this object
1049
1049
  def update!(**args)
1050
- @allow_jagged_rows = args[:allow_jagged_rows] unless args[:allow_jagged_rows].nil?
1051
- @allow_quoted_newlines = args[:allow_quoted_newlines] unless args[:allow_quoted_newlines].nil?
1052
- @create_disposition = args[:create_disposition] unless args[:create_disposition].nil?
1053
- @destination_table = args[:destination_table] unless args[:destination_table].nil?
1054
- @encoding = args[:encoding] unless args[:encoding].nil?
1055
- @field_delimiter = args[:field_delimiter] unless args[:field_delimiter].nil?
1056
- @ignore_unknown_values = args[:ignore_unknown_values] unless args[:ignore_unknown_values].nil?
1057
- @max_bad_records = args[:max_bad_records] unless args[:max_bad_records].nil?
1058
- @projection_fields = args[:projection_fields] unless args[:projection_fields].nil?
1059
- @quote = args[:quote] unless args[:quote].nil?
1060
- @schema = args[:schema] unless args[:schema].nil?
1061
- @schema_inline = args[:schema_inline] unless args[:schema_inline].nil?
1062
- @schema_inline_format = args[:schema_inline_format] unless args[:schema_inline_format].nil?
1063
- @skip_leading_rows = args[:skip_leading_rows] unless args[:skip_leading_rows].nil?
1064
- @source_format = args[:source_format] unless args[:source_format].nil?
1065
- @source_uris = args[:source_uris] unless args[:source_uris].nil?
1066
- @write_disposition = args[:write_disposition] unless args[:write_disposition].nil?
1050
+ @allow_jagged_rows = args[:allow_jagged_rows] if args.key?(:allow_jagged_rows)
1051
+ @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
1052
+ @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
1053
+ @destination_table = args[:destination_table] if args.key?(:destination_table)
1054
+ @encoding = args[:encoding] if args.key?(:encoding)
1055
+ @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
1056
+ @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
1057
+ @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
1058
+ @projection_fields = args[:projection_fields] if args.key?(:projection_fields)
1059
+ @quote = args[:quote] if args.key?(:quote)
1060
+ @schema = args[:schema] if args.key?(:schema)
1061
+ @schema_inline = args[:schema_inline] if args.key?(:schema_inline)
1062
+ @schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format)
1063
+ @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows)
1064
+ @source_format = args[:source_format] if args.key?(:source_format)
1065
+ @source_uris = args[:source_uris] if args.key?(:source_uris)
1066
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1067
1067
  end
1068
1068
  end
1069
1069
 
@@ -1131,10 +1131,10 @@ module Google
1131
1131
  # @return [String]
1132
1132
  attr_accessor :query
1133
1133
 
1134
- # [Experimental] If querying an external data source outside of BigQuery,
1135
- # describes the data format, location and other properties of the data source.
1136
- # By defining these properties, the data source can then be queried as if it
1137
- # were a standard BigQuery table.
1134
+ # [Optional] If querying an external data source outside of BigQuery, describes
1135
+ # the data format, location and other properties of the data source. By defining
1136
+ # these properties, the data source can then be queried as if it were a standard
1137
+ # BigQuery table.
1138
1138
  # Corresponds to the JSON property `tableDefinitions`
1139
1139
  # @return [Hash<String,Google::Apis::BigqueryV2::ExternalDataConfiguration>]
1140
1140
  attr_accessor :table_definitions
@@ -1171,19 +1171,19 @@ module Google
1171
1171
 
1172
1172
  # Update properties of this object
1173
1173
  def update!(**args)
1174
- @allow_large_results = args[:allow_large_results] unless args[:allow_large_results].nil?
1175
- @create_disposition = args[:create_disposition] unless args[:create_disposition].nil?
1176
- @default_dataset = args[:default_dataset] unless args[:default_dataset].nil?
1177
- @destination_table = args[:destination_table] unless args[:destination_table].nil?
1178
- @flatten_results = args[:flatten_results] unless args[:flatten_results].nil?
1179
- @maximum_billing_tier = args[:maximum_billing_tier] unless args[:maximum_billing_tier].nil?
1180
- @preserve_nulls = args[:preserve_nulls] unless args[:preserve_nulls].nil?
1181
- @priority = args[:priority] unless args[:priority].nil?
1182
- @query = args[:query] unless args[:query].nil?
1183
- @table_definitions = args[:table_definitions] unless args[:table_definitions].nil?
1184
- @use_query_cache = args[:use_query_cache] unless args[:use_query_cache].nil?
1185
- @user_defined_function_resources = args[:user_defined_function_resources] unless args[:user_defined_function_resources].nil?
1186
- @write_disposition = args[:write_disposition] unless args[:write_disposition].nil?
1174
+ @allow_large_results = args[:allow_large_results] if args.key?(:allow_large_results)
1175
+ @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
1176
+ @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
1177
+ @destination_table = args[:destination_table] if args.key?(:destination_table)
1178
+ @flatten_results = args[:flatten_results] if args.key?(:flatten_results)
1179
+ @maximum_billing_tier = args[:maximum_billing_tier] if args.key?(:maximum_billing_tier)
1180
+ @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
1181
+ @priority = args[:priority] if args.key?(:priority)
1182
+ @query = args[:query] if args.key?(:query)
1183
+ @table_definitions = args[:table_definitions] if args.key?(:table_definitions)
1184
+ @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
1185
+ @user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
1186
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1187
1187
  end
1188
1188
  end
1189
1189
 
@@ -1234,11 +1234,11 @@ module Google
1234
1234
 
1235
1235
  # Update properties of this object
1236
1236
  def update!(**args)
1237
- @create_disposition = args[:create_disposition] unless args[:create_disposition].nil?
1238
- @destination_table = args[:destination_table] unless args[:destination_table].nil?
1239
- @source_table = args[:source_table] unless args[:source_table].nil?
1240
- @source_tables = args[:source_tables] unless args[:source_tables].nil?
1241
- @write_disposition = args[:write_disposition] unless args[:write_disposition].nil?
1237
+ @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
1238
+ @destination_table = args[:destination_table] if args.key?(:destination_table)
1239
+ @source_table = args[:source_table] if args.key?(:source_table)
1240
+ @source_tables = args[:source_tables] if args.key?(:source_tables)
1241
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1242
1242
  end
1243
1243
  end
1244
1244
 
@@ -1272,10 +1272,10 @@ module Google
1272
1272
 
1273
1273
  # Update properties of this object
1274
1274
  def update!(**args)
1275
- @etag = args[:etag] unless args[:etag].nil?
1276
- @jobs = args[:jobs] unless args[:jobs].nil?
1277
- @kind = args[:kind] unless args[:kind].nil?
1278
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1275
+ @etag = args[:etag] if args.key?(:etag)
1276
+ @jobs = args[:jobs] if args.key?(:jobs)
1277
+ @kind = args[:kind] if args.key?(:kind)
1278
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1279
1279
  end
1280
1280
 
1281
1281
  #
@@ -1335,15 +1335,15 @@ module Google
1335
1335
 
1336
1336
  # Update properties of this object
1337
1337
  def update!(**args)
1338
- @configuration = args[:configuration] unless args[:configuration].nil?
1339
- @error_result = args[:error_result] unless args[:error_result].nil?
1340
- @id = args[:id] unless args[:id].nil?
1341
- @job_reference = args[:job_reference] unless args[:job_reference].nil?
1342
- @kind = args[:kind] unless args[:kind].nil?
1343
- @state = args[:state] unless args[:state].nil?
1344
- @statistics = args[:statistics] unless args[:statistics].nil?
1345
- @status = args[:status] unless args[:status].nil?
1346
- @user_email = args[:user_email] unless args[:user_email].nil?
1338
+ @configuration = args[:configuration] if args.key?(:configuration)
1339
+ @error_result = args[:error_result] if args.key?(:error_result)
1340
+ @id = args[:id] if args.key?(:id)
1341
+ @job_reference = args[:job_reference] if args.key?(:job_reference)
1342
+ @kind = args[:kind] if args.key?(:kind)
1343
+ @state = args[:state] if args.key?(:state)
1344
+ @statistics = args[:statistics] if args.key?(:statistics)
1345
+ @status = args[:status] if args.key?(:status)
1346
+ @user_email = args[:user_email] if args.key?(:user_email)
1347
1347
  end
1348
1348
  end
1349
1349
  end
@@ -1370,8 +1370,8 @@ module Google
1370
1370
 
1371
1371
  # Update properties of this object
1372
1372
  def update!(**args)
1373
- @job_id = args[:job_id] unless args[:job_id].nil?
1374
- @project_id = args[:project_id] unless args[:project_id].nil?
1373
+ @job_id = args[:job_id] if args.key?(:job_id)
1374
+ @project_id = args[:project_id] if args.key?(:project_id)
1375
1375
  end
1376
1376
  end
1377
1377
 
@@ -1425,13 +1425,13 @@ module Google
1425
1425
 
1426
1426
  # Update properties of this object
1427
1427
  def update!(**args)
1428
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
1429
- @end_time = args[:end_time] unless args[:end_time].nil?
1430
- @extract = args[:extract] unless args[:extract].nil?
1431
- @load = args[:load] unless args[:load].nil?
1432
- @query = args[:query] unless args[:query].nil?
1433
- @start_time = args[:start_time] unless args[:start_time].nil?
1434
- @total_bytes_processed = args[:total_bytes_processed] unless args[:total_bytes_processed].nil?
1428
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
1429
+ @end_time = args[:end_time] if args.key?(:end_time)
1430
+ @extract = args[:extract] if args.key?(:extract)
1431
+ @load = args[:load] if args.key?(:load)
1432
+ @query = args[:query] if args.key?(:query)
1433
+ @start_time = args[:start_time] if args.key?(:start_time)
1434
+ @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
1435
1435
  end
1436
1436
  end
1437
1437
 
@@ -1472,11 +1472,11 @@ module Google
1472
1472
 
1473
1473
  # Update properties of this object
1474
1474
  def update!(**args)
1475
- @billing_tier = args[:billing_tier] unless args[:billing_tier].nil?
1476
- @cache_hit = args[:cache_hit] unless args[:cache_hit].nil?
1477
- @query_plan = args[:query_plan] unless args[:query_plan].nil?
1478
- @total_bytes_billed = args[:total_bytes_billed] unless args[:total_bytes_billed].nil?
1479
- @total_bytes_processed = args[:total_bytes_processed] unless args[:total_bytes_processed].nil?
1475
+ @billing_tier = args[:billing_tier] if args.key?(:billing_tier)
1476
+ @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
1477
+ @query_plan = args[:query_plan] if args.key?(:query_plan)
1478
+ @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
1479
+ @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
1480
1480
  end
1481
1481
  end
1482
1482
 
@@ -1512,10 +1512,10 @@ module Google
1512
1512
 
1513
1513
  # Update properties of this object
1514
1514
  def update!(**args)
1515
- @input_file_bytes = args[:input_file_bytes] unless args[:input_file_bytes].nil?
1516
- @input_files = args[:input_files] unless args[:input_files].nil?
1517
- @output_bytes = args[:output_bytes] unless args[:output_bytes].nil?
1518
- @output_rows = args[:output_rows] unless args[:output_rows].nil?
1515
+ @input_file_bytes = args[:input_file_bytes] if args.key?(:input_file_bytes)
1516
+ @input_files = args[:input_files] if args.key?(:input_files)
1517
+ @output_bytes = args[:output_bytes] if args.key?(:output_bytes)
1518
+ @output_rows = args[:output_rows] if args.key?(:output_rows)
1519
1519
  end
1520
1520
  end
1521
1521
 
@@ -1536,7 +1536,7 @@ module Google
1536
1536
 
1537
1537
  # Update properties of this object
1538
1538
  def update!(**args)
1539
- @destination_uri_file_counts = args[:destination_uri_file_counts] unless args[:destination_uri_file_counts].nil?
1539
+ @destination_uri_file_counts = args[:destination_uri_file_counts] if args.key?(:destination_uri_file_counts)
1540
1540
  end
1541
1541
  end
1542
1542
 
@@ -1567,9 +1567,9 @@ module Google
1567
1567
 
1568
1568
  # Update properties of this object
1569
1569
  def update!(**args)
1570
- @error_result = args[:error_result] unless args[:error_result].nil?
1571
- @errors = args[:errors] unless args[:errors].nil?
1572
- @state = args[:state] unless args[:state].nil?
1570
+ @error_result = args[:error_result] if args.key?(:error_result)
1571
+ @errors = args[:errors] if args.key?(:errors)
1572
+ @state = args[:state] if args.key?(:state)
1573
1573
  end
1574
1574
  end
1575
1575
 
@@ -1608,11 +1608,11 @@ module Google
1608
1608
 
1609
1609
  # Update properties of this object
1610
1610
  def update!(**args)
1611
- @etag = args[:etag] unless args[:etag].nil?
1612
- @kind = args[:kind] unless args[:kind].nil?
1613
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1614
- @projects = args[:projects] unless args[:projects].nil?
1615
- @total_items = args[:total_items] unless args[:total_items].nil?
1611
+ @etag = args[:etag] if args.key?(:etag)
1612
+ @kind = args[:kind] if args.key?(:kind)
1613
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1614
+ @projects = args[:projects] if args.key?(:projects)
1615
+ @total_items = args[:total_items] if args.key?(:total_items)
1616
1616
  end
1617
1617
 
1618
1618
  #
@@ -1650,11 +1650,11 @@ module Google
1650
1650
 
1651
1651
  # Update properties of this object
1652
1652
  def update!(**args)
1653
- @friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
1654
- @id = args[:id] unless args[:id].nil?
1655
- @kind = args[:kind] unless args[:kind].nil?
1656
- @numeric_id = args[:numeric_id] unless args[:numeric_id].nil?
1657
- @project_reference = args[:project_reference] unless args[:project_reference].nil?
1653
+ @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1654
+ @id = args[:id] if args.key?(:id)
1655
+ @kind = args[:kind] if args.key?(:kind)
1656
+ @numeric_id = args[:numeric_id] if args.key?(:numeric_id)
1657
+ @project_reference = args[:project_reference] if args.key?(:project_reference)
1658
1658
  end
1659
1659
  end
1660
1660
  end
@@ -1675,7 +1675,7 @@ module Google
1675
1675
 
1676
1676
  # Update properties of this object
1677
1677
  def update!(**args)
1678
- @project_id = args[:project_id] unless args[:project_id].nil?
1678
+ @project_id = args[:project_id] if args.key?(:project_id)
1679
1679
  end
1680
1680
  end
1681
1681
 
@@ -1750,14 +1750,14 @@ module Google
1750
1750
 
1751
1751
  # Update properties of this object
1752
1752
  def update!(**args)
1753
- @default_dataset = args[:default_dataset] unless args[:default_dataset].nil?
1754
- @dry_run = args[:dry_run] unless args[:dry_run].nil?
1755
- @kind = args[:kind] unless args[:kind].nil?
1756
- @max_results = args[:max_results] unless args[:max_results].nil?
1757
- @preserve_nulls = args[:preserve_nulls] unless args[:preserve_nulls].nil?
1758
- @query = args[:query] unless args[:query].nil?
1759
- @timeout_ms = args[:timeout_ms] unless args[:timeout_ms].nil?
1760
- @use_query_cache = args[:use_query_cache] unless args[:use_query_cache].nil?
1753
+ @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
1754
+ @dry_run = args[:dry_run] if args.key?(:dry_run)
1755
+ @kind = args[:kind] if args.key?(:kind)
1756
+ @max_results = args[:max_results] if args.key?(:max_results)
1757
+ @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
1758
+ @query = args[:query] if args.key?(:query)
1759
+ @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
1760
+ @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
1761
1761
  end
1762
1762
  end
1763
1763
 
@@ -1834,16 +1834,16 @@ module Google
1834
1834
 
1835
1835
  # Update properties of this object
1836
1836
  def update!(**args)
1837
- @cache_hit = args[:cache_hit] unless args[:cache_hit].nil?
1838
- @errors = args[:errors] unless args[:errors].nil?
1839
- @job_complete = args[:job_complete] unless args[:job_complete].nil?
1840
- @job_reference = args[:job_reference] unless args[:job_reference].nil?
1841
- @kind = args[:kind] unless args[:kind].nil?
1842
- @page_token = args[:page_token] unless args[:page_token].nil?
1843
- @rows = args[:rows] unless args[:rows].nil?
1844
- @schema = args[:schema] unless args[:schema].nil?
1845
- @total_bytes_processed = args[:total_bytes_processed] unless args[:total_bytes_processed].nil?
1846
- @total_rows = args[:total_rows] unless args[:total_rows].nil?
1837
+ @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
1838
+ @errors = args[:errors] if args.key?(:errors)
1839
+ @job_complete = args[:job_complete] if args.key?(:job_complete)
1840
+ @job_reference = args[:job_reference] if args.key?(:job_reference)
1841
+ @kind = args[:kind] if args.key?(:kind)
1842
+ @page_token = args[:page_token] if args.key?(:page_token)
1843
+ @rows = args[:rows] if args.key?(:rows)
1844
+ @schema = args[:schema] if args.key?(:schema)
1845
+ @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
1846
+ @total_rows = args[:total_rows] if args.key?(:total_rows)
1847
1847
  end
1848
1848
  end
1849
1849
 
@@ -1875,9 +1875,9 @@ module Google
1875
1875
 
1876
1876
  # Update properties of this object
1877
1877
  def update!(**args)
1878
- @estimated_bytes = args[:estimated_bytes] unless args[:estimated_bytes].nil?
1879
- @estimated_rows = args[:estimated_rows] unless args[:estimated_rows].nil?
1880
- @oldest_entry_time = args[:oldest_entry_time] unless args[:oldest_entry_time].nil?
1878
+ @estimated_bytes = args[:estimated_bytes] if args.key?(:estimated_bytes)
1879
+ @estimated_rows = args[:estimated_rows] if args.key?(:estimated_rows)
1880
+ @oldest_entry_time = args[:oldest_entry_time] if args.key?(:oldest_entry_time)
1881
1881
  end
1882
1882
  end
1883
1883
 
@@ -1908,7 +1908,7 @@ module Google
1908
1908
  # @return [String]
1909
1909
  attr_accessor :expiration_time
1910
1910
 
1911
- # [Experimental] Describes the data format, location, and other properties of a
1911
+ # [Optional] Describes the data format, location, and other properties of a
1912
1912
  # table stored outside of BigQuery. By defining these properties, the data
1913
1913
  # source can then be queried as if it were a standard BigQuery table.
1914
1914
  # Corresponds to the JSON property `externalDataConfiguration`
@@ -1995,24 +1995,24 @@ module Google
1995
1995
 
1996
1996
  # Update properties of this object
1997
1997
  def update!(**args)
1998
- @creation_time = args[:creation_time] unless args[:creation_time].nil?
1999
- @description = args[:description] unless args[:description].nil?
2000
- @etag = args[:etag] unless args[:etag].nil?
2001
- @expiration_time = args[:expiration_time] unless args[:expiration_time].nil?
2002
- @external_data_configuration = args[:external_data_configuration] unless args[:external_data_configuration].nil?
2003
- @friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
2004
- @id = args[:id] unless args[:id].nil?
2005
- @kind = args[:kind] unless args[:kind].nil?
2006
- @last_modified_time = args[:last_modified_time] unless args[:last_modified_time].nil?
2007
- @location = args[:location] unless args[:location].nil?
2008
- @num_bytes = args[:num_bytes] unless args[:num_bytes].nil?
2009
- @num_rows = args[:num_rows] unless args[:num_rows].nil?
2010
- @schema = args[:schema] unless args[:schema].nil?
2011
- @self_link = args[:self_link] unless args[:self_link].nil?
2012
- @streaming_buffer = args[:streaming_buffer] unless args[:streaming_buffer].nil?
2013
- @table_reference = args[:table_reference] unless args[:table_reference].nil?
2014
- @type = args[:type] unless args[:type].nil?
2015
- @view = args[:view] unless args[:view].nil?
1998
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
1999
+ @description = args[:description] if args.key?(:description)
2000
+ @etag = args[:etag] if args.key?(:etag)
2001
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
2002
+ @external_data_configuration = args[:external_data_configuration] if args.key?(:external_data_configuration)
2003
+ @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
2004
+ @id = args[:id] if args.key?(:id)
2005
+ @kind = args[:kind] if args.key?(:kind)
2006
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
2007
+ @location = args[:location] if args.key?(:location)
2008
+ @num_bytes = args[:num_bytes] if args.key?(:num_bytes)
2009
+ @num_rows = args[:num_rows] if args.key?(:num_rows)
2010
+ @schema = args[:schema] if args.key?(:schema)
2011
+ @self_link = args[:self_link] if args.key?(:self_link)
2012
+ @streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer)
2013
+ @table_reference = args[:table_reference] if args.key?(:table_reference)
2014
+ @type = args[:type] if args.key?(:type)
2015
+ @view = args[:view] if args.key?(:view)
2016
2016
  end
2017
2017
  end
2018
2018
 
@@ -2031,7 +2031,7 @@ module Google
2031
2031
 
2032
2032
  # Update properties of this object
2033
2033
  def update!(**args)
2034
- @v = args[:v] unless args[:v].nil?
2034
+ @v = args[:v] if args.key?(:v)
2035
2035
  end
2036
2036
  end
2037
2037
 
@@ -2065,11 +2065,12 @@ module Google
2065
2065
  attr_accessor :skip_invalid_rows
2066
2066
  alias_method :skip_invalid_rows?, :skip_invalid_rows
2067
2067
 
2068
- # [Optional] If specified, treats the destination table as a base template, and
2069
- # inserts the rows into an instance table named "`destination``templateSuffix`".
2070
- # BigQuery will manage creation of the instance table, using the schema of the
2071
- # base template table. See https://cloud.google.com/bigquery/streaming-data-into-
2072
- # bigquery#template-tables for considerations when working with templates tables.
2068
+ # [Experimental] If specified, treats the destination table as a base template,
2069
+ # and inserts the rows into an instance table named "`destination``
2070
+ # templateSuffix`". BigQuery will manage creation of the instance table, using
2071
+ # the schema of the base template table. See https://cloud.google.com/bigquery/
2072
+ # streaming-data-into-bigquery#template-tables for considerations when working
2073
+ # with templates tables.
2073
2074
  # Corresponds to the JSON property `templateSuffix`
2074
2075
  # @return [String]
2075
2076
  attr_accessor :template_suffix
@@ -2080,11 +2081,11 @@ module Google
2080
2081
 
2081
2082
  # Update properties of this object
2082
2083
  def update!(**args)
2083
- @ignore_unknown_values = args[:ignore_unknown_values] unless args[:ignore_unknown_values].nil?
2084
- @kind = args[:kind] unless args[:kind].nil?
2085
- @rows = args[:rows] unless args[:rows].nil?
2086
- @skip_invalid_rows = args[:skip_invalid_rows] unless args[:skip_invalid_rows].nil?
2087
- @template_suffix = args[:template_suffix] unless args[:template_suffix].nil?
2084
+ @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
2085
+ @kind = args[:kind] if args.key?(:kind)
2086
+ @rows = args[:rows] if args.key?(:rows)
2087
+ @skip_invalid_rows = args[:skip_invalid_rows] if args.key?(:skip_invalid_rows)
2088
+ @template_suffix = args[:template_suffix] if args.key?(:template_suffix)
2088
2089
  end
2089
2090
 
2090
2091
  #
@@ -2108,8 +2109,8 @@ module Google
2108
2109
 
2109
2110
  # Update properties of this object
2110
2111
  def update!(**args)
2111
- @insert_id = args[:insert_id] unless args[:insert_id].nil?
2112
- @json = args[:json] unless args[:json].nil?
2112
+ @insert_id = args[:insert_id] if args.key?(:insert_id)
2113
+ @json = args[:json] if args.key?(:json)
2113
2114
  end
2114
2115
  end
2115
2116
  end
@@ -2134,8 +2135,8 @@ module Google
2134
2135
 
2135
2136
  # Update properties of this object
2136
2137
  def update!(**args)
2137
- @insert_errors = args[:insert_errors] unless args[:insert_errors].nil?
2138
- @kind = args[:kind] unless args[:kind].nil?
2138
+ @insert_errors = args[:insert_errors] if args.key?(:insert_errors)
2139
+ @kind = args[:kind] if args.key?(:kind)
2139
2140
  end
2140
2141
 
2141
2142
  #
@@ -2158,8 +2159,8 @@ module Google
2158
2159
 
2159
2160
  # Update properties of this object
2160
2161
  def update!(**args)
2161
- @errors = args[:errors] unless args[:errors].nil?
2162
- @index = args[:index] unless args[:index].nil?
2162
+ @errors = args[:errors] if args.key?(:errors)
2163
+ @index = args[:index] if args.key?(:index)
2163
2164
  end
2164
2165
  end
2165
2166
  end
@@ -2201,11 +2202,11 @@ module Google
2201
2202
 
2202
2203
  # Update properties of this object
2203
2204
  def update!(**args)
2204
- @etag = args[:etag] unless args[:etag].nil?
2205
- @kind = args[:kind] unless args[:kind].nil?
2206
- @page_token = args[:page_token] unless args[:page_token].nil?
2207
- @rows = args[:rows] unless args[:rows].nil?
2208
- @total_rows = args[:total_rows] unless args[:total_rows].nil?
2205
+ @etag = args[:etag] if args.key?(:etag)
2206
+ @kind = args[:kind] if args.key?(:kind)
2207
+ @page_token = args[:page_token] if args.key?(:page_token)
2208
+ @rows = args[:rows] if args.key?(:rows)
2209
+ @total_rows = args[:total_rows] if args.key?(:total_rows)
2209
2210
  end
2210
2211
  end
2211
2212
 
@@ -2250,11 +2251,11 @@ module Google
2250
2251
 
2251
2252
  # Update properties of this object
2252
2253
  def update!(**args)
2253
- @description = args[:description] unless args[:description].nil?
2254
- @fields = args[:fields] unless args[:fields].nil?
2255
- @mode = args[:mode] unless args[:mode].nil?
2256
- @name = args[:name] unless args[:name].nil?
2257
- @type = args[:type] unless args[:type].nil?
2254
+ @description = args[:description] if args.key?(:description)
2255
+ @fields = args[:fields] if args.key?(:fields)
2256
+ @mode = args[:mode] if args.key?(:mode)
2257
+ @name = args[:name] if args.key?(:name)
2258
+ @type = args[:type] if args.key?(:type)
2258
2259
  end
2259
2260
  end
2260
2261
 
@@ -2293,11 +2294,11 @@ module Google
2293
2294
 
2294
2295
  # Update properties of this object
2295
2296
  def update!(**args)
2296
- @etag = args[:etag] unless args[:etag].nil?
2297
- @kind = args[:kind] unless args[:kind].nil?
2298
- @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
2299
- @tables = args[:tables] unless args[:tables].nil?
2300
- @total_items = args[:total_items] unless args[:total_items].nil?
2297
+ @etag = args[:etag] if args.key?(:etag)
2298
+ @kind = args[:kind] if args.key?(:kind)
2299
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2300
+ @tables = args[:tables] if args.key?(:tables)
2301
+ @total_items = args[:total_items] if args.key?(:total_items)
2301
2302
  end
2302
2303
 
2303
2304
  #
@@ -2335,11 +2336,11 @@ module Google
2335
2336
 
2336
2337
  # Update properties of this object
2337
2338
  def update!(**args)
2338
- @friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
2339
- @id = args[:id] unless args[:id].nil?
2340
- @kind = args[:kind] unless args[:kind].nil?
2341
- @table_reference = args[:table_reference] unless args[:table_reference].nil?
2342
- @type = args[:type] unless args[:type].nil?
2339
+ @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
2340
+ @id = args[:id] if args.key?(:id)
2341
+ @kind = args[:kind] if args.key?(:kind)
2342
+ @table_reference = args[:table_reference] if args.key?(:table_reference)
2343
+ @type = args[:type] if args.key?(:type)
2343
2344
  end
2344
2345
  end
2345
2346
  end
@@ -2370,9 +2371,9 @@ module Google
2370
2371
 
2371
2372
  # Update properties of this object
2372
2373
  def update!(**args)
2373
- @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
2374
- @project_id = args[:project_id] unless args[:project_id].nil?
2375
- @table_id = args[:table_id] unless args[:table_id].nil?
2374
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
2375
+ @project_id = args[:project_id] if args.key?(:project_id)
2376
+ @table_id = args[:table_id] if args.key?(:table_id)
2376
2377
  end
2377
2378
  end
2378
2379
 
@@ -2391,7 +2392,7 @@ module Google
2391
2392
 
2392
2393
  # Update properties of this object
2393
2394
  def update!(**args)
2394
- @f = args[:f] unless args[:f].nil?
2395
+ @f = args[:f] if args.key?(:f)
2395
2396
  end
2396
2397
  end
2397
2398
 
@@ -2410,7 +2411,7 @@ module Google
2410
2411
 
2411
2412
  # Update properties of this object
2412
2413
  def update!(**args)
2413
- @fields = args[:fields] unless args[:fields].nil?
2414
+ @fields = args[:fields] if args.key?(:fields)
2414
2415
  end
2415
2416
  end
2416
2417
 
@@ -2437,8 +2438,8 @@ module Google
2437
2438
 
2438
2439
  # Update properties of this object
2439
2440
  def update!(**args)
2440
- @inline_code = args[:inline_code] unless args[:inline_code].nil?
2441
- @resource_uri = args[:resource_uri] unless args[:resource_uri].nil?
2441
+ @inline_code = args[:inline_code] if args.key?(:inline_code)
2442
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
2442
2443
  end
2443
2444
  end
2444
2445
 
@@ -2462,8 +2463,8 @@ module Google
2462
2463
 
2463
2464
  # Update properties of this object
2464
2465
  def update!(**args)
2465
- @query = args[:query] unless args[:query].nil?
2466
- @user_defined_function_resources = args[:user_defined_function_resources] unless args[:user_defined_function_resources].nil?
2466
+ @query = args[:query] if args.key?(:query)
2467
+ @user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
2467
2468
  end
2468
2469
  end
2469
2470
  end