module Google::Cloud
def self.bigquery project_id = nil, credentials = nil, scope: nil, retries: nil, timeout: nil
-
(Google::Cloud::Bigquery::Project)
-
Parameters:
-
timeout
(Integer
) -- Default timeout to use in requests. Optional. -
retries
(Integer
) -- Number of times to retry requests on server -
scope
(String, Array
) -- The OAuth 2.0 scopes controlling the -
credentials
(String, Hash, Google::Auth::Credentials
) -- The path to -
project_id
(String
) -- Identifier for a BigQuery project. If not
def self.bigquery project_id = nil, credentials = nil, scope: nil, retries: nil, timeout: nil require "google/cloud/bigquery" Google::Cloud::Bigquery.new project_id: project_id, credentials: credentials, scope: scope, retries: retries, timeout: timeout end
def bigquery scope: nil, retries: nil, timeout: nil
- Example: The default scope can be overridden with the `scope` option: -
Returns:
-
(Google::Cloud::Bigquery::Project)
-
Parameters:
-
timeout
(Integer
) -- Default request timeout in seconds. Optional. -
retries
(Integer
) -- Number of times to retry requests on server -
scope
(String, Array
) -- The OAuth 2.0 scopes controlling the
def bigquery scope: nil, retries: nil, timeout: nil retries ||= @retries timeout ||= @timeout Google::Cloud.bigquery @project, @keyfile, scope: scope, retries: retries, timeout: timeout end