lib/google-cloud-bigquery.rb in google-cloud-bigquery-1.10.0 vs lib/google-cloud-bigquery.rb in google-cloud-bigquery-1.11.0
- old
+ new
@@ -63,11 +63,11 @@
# gcloud = Google::Cloud.new
# platform_scope = "https://www.googleapis.com/auth/cloud-platform"
# bigquery = gcloud.bigquery scope: platform_scope
#
def bigquery scope: nil, retries: nil, timeout: nil
- Google::Cloud.bigquery @project, @keyfile, scope: scope,
+ Google::Cloud.bigquery @project, @keyfile, scope: scope,
retries: (retries || @retries),
timeout: (timeout || @timeout)
end
##
@@ -127,10 +127,10 @@
end
config.add_field! :project_id, default_project, match: String, allow_nil: true
config.add_alias! :project, :project_id
config.add_field! :credentials, default_creds,
- match: [String, Hash, Google::Auth::Credentials],
+ match: [String, Hash, Google::Auth::Credentials],
allow_nil: true
config.add_alias! :keyfile, :credentials
config.add_field! :scope, nil, match: [String, Array]
config.add_field! :retries, nil, match: Integer
config.add_field! :timeout, nil, match: Integer