google-cloud-bigquery 1.52.1 → 1.61.1

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.
@@ -37,9 +37,26 @@ module Google
37
37
  #
38
38
  # @param [String] project_id Identifier for a BigQuery project. If not
39
39
  # present, the default project for the credentials is used.
40
- # @param [String, Hash, Google::Auth::Credentials] credentials The path to
41
- # the keyfile as a String, the contents of the keyfile as a Hash, or a
42
- # Google::Auth::Credentials object. (See {Bigquery::Credentials})
40
+ # @param [Google::Auth::Credentials] credentials A Google::Auth::Credentials
41
+ # object. (See {Bigquery::Credentials})
42
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
43
+ # is deprecated. Providing an unvalidated credential configuration to
44
+ # Google APIs can compromise the security of your systems and data.
45
+ #
46
+ # @example
47
+ #
48
+ # # The recommended way to provide credentials is to use the `make_creds` method
49
+ # # on the appropriate credentials class for your environment.
50
+ #
51
+ # require "googleauth"
52
+ #
53
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
54
+ # json_key_io: ::File.open("/path/to/keyfile.json")
55
+ # )
56
+ #
57
+ # client = ::Google::Cloud::Bigquery.new do |config|
58
+ # config.credentials = credentials
59
+ # end
43
60
  # @param [String, Array<String>] scope The OAuth 2.0 scopes controlling
44
61
  # the set of resources and operations that the connection can access.
45
62
  # See # [Using OAuth 2.0 to Access Google #
@@ -98,12 +115,11 @@ module Google
98
115
  #
99
116
  # * `project_id` - (String) Identifier for a BigQuery project. (The
100
117
  # parameter `project` is considered deprecated, but may also be used.)
101
- # * `credentials` - (String, Hash, Google::Auth::Credentials) The path to
102
- # the keyfile as a String, the contents of the keyfile as a Hash, or a
103
- # Google::Auth::Credentials object. (See {Bigquery::Credentials}) (The
104
- # parameter `keyfile` is considered deprecated, but may also be used.)
105
- # * `endpoint` - (String) Override of the endpoint host name, or `nil`
106
- # to use the default endpoint.
118
+ # * `credentials` - (Google::Auth::Credentials) A Google::Auth::Credentials
119
+ # object. (See {Bigquery::Credentials})
120
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
121
+ # is deprecated. Providing an unvalidated credential configuration to
122
+ # Google APIs can compromise the security of your systems and data.
107
123
  # * `scope` - (String, Array<String>) The OAuth 2.0 scopes controlling
108
124
  # the set of resources and operations that the connection can access.
109
125
  # * `retries` - (Integer) Number of times to retry requests on server
@@ -87,9 +87,25 @@ module Google
87
87
  #
88
88
  # @param [String] project_id Identifier for a BigQuery project. If not
89
89
  # present, the default project for the credentials is used.
90
- # @param [String, Hash, Google::Auth::Credentials] credentials The path to
91
- # the keyfile as a String, the contents of the keyfile as a Hash, or a
92
- # Google::Auth::Credentials object. (See {Bigquery::Credentials})
90
+ # @param [Google::Auth::Credentials] credentials A Google::Auth::Credentials
91
+ # object. (See {Bigquery::Credentials})
92
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
93
+ # is deprecated. Providing an unvalidated credential configuration to
94
+ # Google APIs can compromise the security of your systems and data.
95
+ #
96
+ # @example
97
+ #
98
+ # # The recommended way to provide credentials is to use the `make_creds` method
99
+ # # on the appropriate credentials class for your environment.
100
+ #
101
+ # require "googleauth"
102
+ #
103
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
104
+ # json_key_io: ::File.open("/path/to/keyfile.json")
105
+ # )
106
+ #
107
+ # client = ::Google::Cloud::Bigquery.new credentials: credentials
108
+ #
93
109
  # @param [String, Array<String>] scope The OAuth 2.0 scopes controlling the
94
110
  # set of resources and operations that the connection can access. See
95
111
  # [Using OAuth 2.0 to Access Google
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.52.1
4
+ version: 1.61.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  - Chris Smith
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-25 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal
@@ -56,16 +56,22 @@ dependencies:
56
56
  name: google-apis-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0.18'
62
+ - - "<"
60
63
  - !ruby/object:Gem::Version
61
- version: '0.13'
64
+ version: '2'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - "~>"
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0.18'
72
+ - - "<"
67
73
  - !ruby/object:Gem::Version
68
- version: '0.13'
74
+ version: '2'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: googleauth
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -128,6 +134,7 @@ files:
128
134
  - lib/google-cloud-bigquery.rb
129
135
  - lib/google/cloud/bigquery.rb
130
136
  - lib/google/cloud/bigquery/argument.rb
137
+ - lib/google/cloud/bigquery/condition.rb
131
138
  - lib/google/cloud/bigquery/convert.rb
132
139
  - lib/google/cloud/bigquery/copy_job.rb
133
140
  - lib/google/cloud/bigquery/credentials.rb
@@ -158,6 +165,7 @@ files:
158
165
  - lib/google/cloud/bigquery/project.rb
159
166
  - lib/google/cloud/bigquery/project/list.rb
160
167
  - lib/google/cloud/bigquery/query_job.rb
168
+ - lib/google/cloud/bigquery/remote_function_options.rb
161
169
  - lib/google/cloud/bigquery/routine.rb
162
170
  - lib/google/cloud/bigquery/routine/list.rb
163
171
  - lib/google/cloud/bigquery/schema.rb
@@ -187,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
195
  - !ruby/object:Gem::Version
188
196
  version: '0'
189
197
  requirements: []
190
- rubygems_version: 3.6.5
198
+ rubygems_version: 3.6.9
191
199
  specification_version: 4
192
200
  summary: API Client library for Google BigQuery
193
201
  test_files: []