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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +11 -2
- data/api_names.yaml +76 -43
- data/api_names_out.yaml +3853 -3508
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
- data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
- data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
- data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
- data/generated/google/apis/analytics_v3/classes.rb +582 -582
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
- data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
- data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
- data/generated/google/apis/appengine_v1beta5.rb +35 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/classes.rb +12 -12
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +266 -265
- data/generated/google/apis/blogger_v3/classes.rb +145 -145
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +431 -431
- data/generated/google/apis/books_v1/service.rb +3 -12
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +180 -180
- data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
- data/generated/google/apis/classroom_v1/classes.rb +42 -42
- data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
- data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
- data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
- data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1051 -998
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +426 -366
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1332 -946
- data/generated/google/apis/compute_v1/representations.rb +108 -0
- data/generated/google/apis/compute_v1/service.rb +686 -318
- data/generated/google/apis/container_v1/classes.rb +43 -43
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +767 -639
- data/generated/google/apis/content_v2/representations.rb +40 -0
- data/generated/google/apis/coordinate_v1/classes.rb +66 -66
- data/generated/google/apis/customsearch_v1/classes.rb +96 -96
- data/generated/google/apis/dataproc_v1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +175 -0
- data/generated/google/apis/dataproc_v1/representations.rb +84 -0
- data/generated/google/apis/dataproc_v1/service.rb +142 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
- data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
- data/generated/google/apis/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- data/generated/google/apis/discovery_v1/classes.rb +106 -106
- data/generated/google/apis/dns_v1/classes.rb +39 -39
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +308 -308
- data/generated/google/apis/drive_v2/service.rb +44 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +178 -178
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/fitness_v1/classes.rb +74 -74
- data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_management_v1management/classes.rb +55 -46
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/games_v1/classes.rb +484 -475
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +441 -232
- data/generated/google/apis/genomics_v1/representations.rb +85 -0
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +73 -73
- data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +11 -11
- data/generated/google/apis/logging_v2beta1.rb +47 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
- data/generated/google/apis/logging_v2beta1/service.rb +547 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
- data/generated/google/apis/mirror_v1/classes.rb +101 -101
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/classes.rb +27 -27
- data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
- data/generated/google/apis/partners_v2/classes.rb +87 -87
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1594 -0
- data/generated/google/apis/people_v1/representations.rb +593 -0
- data/generated/google/apis/people_v1/service.rb +193 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/classes.rb +215 -215
- data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
- data/generated/google/apis/pubsub_v1/classes.rb +36 -36
- data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
- data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +55 -55
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
- data/generated/google/apis/script_v1/classes.rb +18 -18
- data/generated/google/apis/site_verification_v1/classes.rb +12 -12
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +130 -130
- data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
- data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
- data/generated/google/apis/tasks_v1/classes.rb +32 -32
- data/generated/google/apis/translate_v2/classes.rb +10 -10
- data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
- data/generated/google/apis/webmasters_v3/classes.rb +49 -49
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +882 -895
- data/generated/google/apis/youtube_v3/representations.rb +2 -13
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/upload.rb +1 -1
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/base_cli.rb +2 -1
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/script/generate +17 -13
- metadata +35 -6
- data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
- data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
- 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 = '
|
|
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]
|
|
88
|
-
@allow_quoted_newlines = args[:allow_quoted_newlines]
|
|
89
|
-
@encoding = args[:encoding]
|
|
90
|
-
@field_delimiter = args[:field_delimiter]
|
|
91
|
-
@quote = args[:quote]
|
|
92
|
-
@skip_leading_rows = args[:skip_leading_rows]
|
|
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]
|
|
190
|
-
@creation_time = args[:creation_time]
|
|
191
|
-
@dataset_reference = args[:dataset_reference]
|
|
192
|
-
@default_table_expiration_ms = args[:default_table_expiration_ms]
|
|
193
|
-
@description = args[:description]
|
|
194
|
-
@etag = args[:etag]
|
|
195
|
-
@friendly_name = args[:friendly_name]
|
|
196
|
-
@id = args[:id]
|
|
197
|
-
@kind = args[:kind]
|
|
198
|
-
@last_modified_time = args[:last_modified_time]
|
|
199
|
-
@location = args[:location]
|
|
200
|
-
@self_link = args[:self_link]
|
|
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]
|
|
255
|
-
@group_by_email = args[:group_by_email]
|
|
256
|
-
@role = args[:role]
|
|
257
|
-
@special_group = args[:special_group]
|
|
258
|
-
@user_by_email = args[:user_by_email]
|
|
259
|
-
@view = args[:view]
|
|
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]
|
|
300
|
-
@etag = args[:etag]
|
|
301
|
-
@kind = args[:kind]
|
|
302
|
-
@next_page_token = args[:next_page_token]
|
|
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]
|
|
337
|
-
@friendly_name = args[:friendly_name]
|
|
338
|
-
@id = args[:id]
|
|
339
|
-
@kind = args[:kind]
|
|
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]
|
|
367
|
-
@project_id = args[:project_id]
|
|
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]
|
|
403
|
-
@location = args[:location]
|
|
404
|
-
@message = args[:message]
|
|
405
|
-
@reason = args[:reason]
|
|
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]
|
|
486
|
-
@compute_ratio_max = args[:compute_ratio_max]
|
|
487
|
-
@id = args[:id]
|
|
488
|
-
@name = args[:name]
|
|
489
|
-
@read_ratio_avg = args[:read_ratio_avg]
|
|
490
|
-
@read_ratio_max = args[:read_ratio_max]
|
|
491
|
-
@records_read = args[:records_read]
|
|
492
|
-
@records_written = args[:records_written]
|
|
493
|
-
@steps = args[:steps]
|
|
494
|
-
@wait_ratio_avg = args[:wait_ratio_avg]
|
|
495
|
-
@wait_ratio_max = args[:wait_ratio_max]
|
|
496
|
-
@write_ratio_avg = args[:write_ratio_avg]
|
|
497
|
-
@write_ratio_max = args[:write_ratio_max]
|
|
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]
|
|
522
|
-
@substeps = args[:substeps]
|
|
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]
|
|
593
|
-
@csv_options = args[:csv_options]
|
|
594
|
-
@ignore_unknown_values = args[:ignore_unknown_values]
|
|
595
|
-
@max_bad_records = args[:max_bad_records]
|
|
596
|
-
@schema = args[:schema]
|
|
597
|
-
@source_format = args[:source_format]
|
|
598
|
-
@source_uris = args[:source_uris]
|
|
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]
|
|
682
|
-
@errors = args[:errors]
|
|
683
|
-
@etag = args[:etag]
|
|
684
|
-
@job_complete = args[:job_complete]
|
|
685
|
-
@job_reference = args[:job_reference]
|
|
686
|
-
@kind = args[:kind]
|
|
687
|
-
@page_token = args[:page_token]
|
|
688
|
-
@rows = args[:rows]
|
|
689
|
-
@schema = args[:schema]
|
|
690
|
-
@total_bytes_processed = args[:total_bytes_processed]
|
|
691
|
-
@total_rows = args[:total_rows]
|
|
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]
|
|
753
|
-
@etag = args[:etag]
|
|
754
|
-
@id = args[:id]
|
|
755
|
-
@job_reference = args[:job_reference]
|
|
756
|
-
@kind = args[:kind]
|
|
757
|
-
@self_link = args[:self_link]
|
|
758
|
-
@statistics = args[:statistics]
|
|
759
|
-
@status = args[:status]
|
|
760
|
-
@user_email = args[:user_email]
|
|
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]
|
|
785
|
-
@kind = args[:kind]
|
|
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]
|
|
829
|
-
@dry_run = args[:dry_run]
|
|
830
|
-
@extract = args[:extract]
|
|
831
|
-
@load = args[:load]
|
|
832
|
-
@query = args[:query]
|
|
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]
|
|
889
|
-
@destination_format = args[:destination_format]
|
|
890
|
-
@destination_uri = args[:destination_uri]
|
|
891
|
-
@destination_uris = args[:destination_uris]
|
|
892
|
-
@field_delimiter = args[:field_delimiter]
|
|
893
|
-
@print_header = args[:print_header]
|
|
894
|
-
@source_table = args[:source_table]
|
|
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]
|
|
1051
|
-
@allow_quoted_newlines = args[:allow_quoted_newlines]
|
|
1052
|
-
@create_disposition = args[:create_disposition]
|
|
1053
|
-
@destination_table = args[:destination_table]
|
|
1054
|
-
@encoding = args[:encoding]
|
|
1055
|
-
@field_delimiter = args[:field_delimiter]
|
|
1056
|
-
@ignore_unknown_values = args[:ignore_unknown_values]
|
|
1057
|
-
@max_bad_records = args[:max_bad_records]
|
|
1058
|
-
@projection_fields = args[:projection_fields]
|
|
1059
|
-
@quote = args[:quote]
|
|
1060
|
-
@schema = args[:schema]
|
|
1061
|
-
@schema_inline = args[:schema_inline]
|
|
1062
|
-
@schema_inline_format = args[:schema_inline_format]
|
|
1063
|
-
@skip_leading_rows = args[:skip_leading_rows]
|
|
1064
|
-
@source_format = args[:source_format]
|
|
1065
|
-
@source_uris = args[:source_uris]
|
|
1066
|
-
@write_disposition = args[:write_disposition]
|
|
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
|
-
# [
|
|
1135
|
-
#
|
|
1136
|
-
#
|
|
1137
|
-
#
|
|
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]
|
|
1175
|
-
@create_disposition = args[:create_disposition]
|
|
1176
|
-
@default_dataset = args[:default_dataset]
|
|
1177
|
-
@destination_table = args[:destination_table]
|
|
1178
|
-
@flatten_results = args[:flatten_results]
|
|
1179
|
-
@maximum_billing_tier = args[:maximum_billing_tier]
|
|
1180
|
-
@preserve_nulls = args[:preserve_nulls]
|
|
1181
|
-
@priority = args[:priority]
|
|
1182
|
-
@query = args[:query]
|
|
1183
|
-
@table_definitions = args[:table_definitions]
|
|
1184
|
-
@use_query_cache = args[:use_query_cache]
|
|
1185
|
-
@user_defined_function_resources = args[:user_defined_function_resources]
|
|
1186
|
-
@write_disposition = args[:write_disposition]
|
|
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]
|
|
1238
|
-
@destination_table = args[:destination_table]
|
|
1239
|
-
@source_table = args[:source_table]
|
|
1240
|
-
@source_tables = args[:source_tables]
|
|
1241
|
-
@write_disposition = args[:write_disposition]
|
|
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]
|
|
1276
|
-
@jobs = args[:jobs]
|
|
1277
|
-
@kind = args[:kind]
|
|
1278
|
-
@next_page_token = args[:next_page_token]
|
|
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]
|
|
1339
|
-
@error_result = args[:error_result]
|
|
1340
|
-
@id = args[:id]
|
|
1341
|
-
@job_reference = args[:job_reference]
|
|
1342
|
-
@kind = args[:kind]
|
|
1343
|
-
@state = args[:state]
|
|
1344
|
-
@statistics = args[:statistics]
|
|
1345
|
-
@status = args[:status]
|
|
1346
|
-
@user_email = args[:user_email]
|
|
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]
|
|
1374
|
-
@project_id = args[:project_id]
|
|
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]
|
|
1429
|
-
@end_time = args[:end_time]
|
|
1430
|
-
@extract = args[:extract]
|
|
1431
|
-
@load = args[:load]
|
|
1432
|
-
@query = args[:query]
|
|
1433
|
-
@start_time = args[:start_time]
|
|
1434
|
-
@total_bytes_processed = args[:total_bytes_processed]
|
|
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]
|
|
1476
|
-
@cache_hit = args[:cache_hit]
|
|
1477
|
-
@query_plan = args[:query_plan]
|
|
1478
|
-
@total_bytes_billed = args[:total_bytes_billed]
|
|
1479
|
-
@total_bytes_processed = args[:total_bytes_processed]
|
|
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]
|
|
1516
|
-
@input_files = args[:input_files]
|
|
1517
|
-
@output_bytes = args[:output_bytes]
|
|
1518
|
-
@output_rows = args[:output_rows]
|
|
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]
|
|
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]
|
|
1571
|
-
@errors = args[:errors]
|
|
1572
|
-
@state = args[:state]
|
|
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]
|
|
1612
|
-
@kind = args[:kind]
|
|
1613
|
-
@next_page_token = args[:next_page_token]
|
|
1614
|
-
@projects = args[:projects]
|
|
1615
|
-
@total_items = args[:total_items]
|
|
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]
|
|
1654
|
-
@id = args[:id]
|
|
1655
|
-
@kind = args[:kind]
|
|
1656
|
-
@numeric_id = args[:numeric_id]
|
|
1657
|
-
@project_reference = args[:project_reference]
|
|
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]
|
|
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]
|
|
1754
|
-
@dry_run = args[:dry_run]
|
|
1755
|
-
@kind = args[:kind]
|
|
1756
|
-
@max_results = args[:max_results]
|
|
1757
|
-
@preserve_nulls = args[:preserve_nulls]
|
|
1758
|
-
@query = args[:query]
|
|
1759
|
-
@timeout_ms = args[:timeout_ms]
|
|
1760
|
-
@use_query_cache = args[:use_query_cache]
|
|
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]
|
|
1838
|
-
@errors = args[:errors]
|
|
1839
|
-
@job_complete = args[:job_complete]
|
|
1840
|
-
@job_reference = args[:job_reference]
|
|
1841
|
-
@kind = args[:kind]
|
|
1842
|
-
@page_token = args[:page_token]
|
|
1843
|
-
@rows = args[:rows]
|
|
1844
|
-
@schema = args[:schema]
|
|
1845
|
-
@total_bytes_processed = args[:total_bytes_processed]
|
|
1846
|
-
@total_rows = args[:total_rows]
|
|
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]
|
|
1879
|
-
@estimated_rows = args[:estimated_rows]
|
|
1880
|
-
@oldest_entry_time = args[:oldest_entry_time]
|
|
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
|
-
# [
|
|
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]
|
|
1999
|
-
@description = args[:description]
|
|
2000
|
-
@etag = args[:etag]
|
|
2001
|
-
@expiration_time = args[:expiration_time]
|
|
2002
|
-
@external_data_configuration = args[:external_data_configuration]
|
|
2003
|
-
@friendly_name = args[:friendly_name]
|
|
2004
|
-
@id = args[:id]
|
|
2005
|
-
@kind = args[:kind]
|
|
2006
|
-
@last_modified_time = args[:last_modified_time]
|
|
2007
|
-
@location = args[:location]
|
|
2008
|
-
@num_bytes = args[:num_bytes]
|
|
2009
|
-
@num_rows = args[:num_rows]
|
|
2010
|
-
@schema = args[:schema]
|
|
2011
|
-
@self_link = args[:self_link]
|
|
2012
|
-
@streaming_buffer = args[:streaming_buffer]
|
|
2013
|
-
@table_reference = args[:table_reference]
|
|
2014
|
-
@type = args[:type]
|
|
2015
|
-
@view = args[:view]
|
|
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]
|
|
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
|
-
# [
|
|
2069
|
-
# inserts the rows into an instance table named "`destination``
|
|
2070
|
-
# BigQuery will manage creation of the instance table, using
|
|
2071
|
-
# base template table. See https://cloud.google.com/bigquery/
|
|
2072
|
-
# bigquery#template-tables for considerations when working
|
|
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]
|
|
2084
|
-
@kind = args[:kind]
|
|
2085
|
-
@rows = args[:rows]
|
|
2086
|
-
@skip_invalid_rows = args[:skip_invalid_rows]
|
|
2087
|
-
@template_suffix = args[:template_suffix]
|
|
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]
|
|
2112
|
-
@json = args[:json]
|
|
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]
|
|
2138
|
-
@kind = args[:kind]
|
|
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]
|
|
2162
|
-
@index = args[:index]
|
|
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]
|
|
2205
|
-
@kind = args[:kind]
|
|
2206
|
-
@page_token = args[:page_token]
|
|
2207
|
-
@rows = args[:rows]
|
|
2208
|
-
@total_rows = args[:total_rows]
|
|
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]
|
|
2254
|
-
@fields = args[:fields]
|
|
2255
|
-
@mode = args[:mode]
|
|
2256
|
-
@name = args[:name]
|
|
2257
|
-
@type = args[:type]
|
|
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]
|
|
2297
|
-
@kind = args[:kind]
|
|
2298
|
-
@next_page_token = args[:next_page_token]
|
|
2299
|
-
@tables = args[:tables]
|
|
2300
|
-
@total_items = args[:total_items]
|
|
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]
|
|
2339
|
-
@id = args[:id]
|
|
2340
|
-
@kind = args[:kind]
|
|
2341
|
-
@table_reference = args[:table_reference]
|
|
2342
|
-
@type = args[:type]
|
|
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]
|
|
2374
|
-
@project_id = args[:project_id]
|
|
2375
|
-
@table_id = args[:table_id]
|
|
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]
|
|
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]
|
|
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]
|
|
2441
|
-
@resource_uri = args[:resource_uri]
|
|
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]
|
|
2466
|
-
@user_defined_function_resources = args[:user_defined_function_resources]
|
|
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
|