google-apis-bigquery_v2 0.8.0 → 0.9.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 778dfced54c125ee98588dcec7cb0de4b8dc2d64ec5d18011044632ab7663f77
4
- data.tar.gz: b1614b55689ba49032d8792c839f3d254d3c7351810d3fb8a1ee9c041becd45b
3
+ metadata.gz: b70f30627fcc54e305122d5442de5e82bac938d607850bee31bba0382b2b6d55
4
+ data.tar.gz: 5e02bf116b0debbb6806105a48d70f149c6794abe1c25496648a296678aa882f
5
5
  SHA512:
6
- metadata.gz: 1421d85e292bd09908b44ee4b511ec2374fd413ac4956edda32e5d0cabfbf2b47e3ab1c79a8c7e119d6f511b9e6d95c6652bcf420a3666f8d394aafb411f4aed
7
- data.tar.gz: ec68a45436c34ae3b89f229bc1e6b2a833552b09fba8c77a910e74d4c162961e9bbf477a74627a3cc7d0fca296b476293d0b9eff4978d9e3b07384f24d69b1d0
6
+ metadata.gz: 1813455a88fd9af79994b9f3ab42ef1f2c39b58370e6fdd7fd033a6d2943e9abb360ea270b02afa7ab17c9d0a00b46f3f00acce86439773d714c5efa983507ec
7
+ data.tar.gz: bec0fc87928500af6243a25a0feeb6346ad55321d44f3d96b6477e59fc6aa736a9d3578c2267751ed5e793aa31221308799474419f54696b23138f947c1a2ccb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.9.0 (2021-04-02)
4
+
5
+ * Regenerated from discovery document revision 20210327
6
+
3
7
  ### v0.8.0 (2021-03-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20210313
@@ -6526,9 +6526,9 @@ module Google
6526
6526
 
6527
6527
  # [Required] The field data type. Possible values include STRING, BYTES, INTEGER,
6528
6528
  # INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), NUMERIC, BIGNUMERIC,
6529
- # BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (
6530
- # where RECORD indicates that the field contains a nested schema) or STRUCT (
6531
- # same as RECORD).
6529
+ # BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, INTERVAL,
6530
+ # RECORD (where RECORD indicates that the field contains a nested schema) or
6531
+ # STRUCT (same as RECORD).
6532
6532
  # Corresponds to the JSON property `type`
6533
6533
  # @return [String]
6534
6534
  attr_accessor :type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryV2
18
18
  # Version of the google-apis-bigquery_v2 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210313"
25
+ REVISION = "20210327"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,47 @@ module Google
340
340
  execute_or_queue_command(command, &block)
341
341
  end
342
342
 
343
+ # Requests that a job is deleted. This call will return when the job is deleted.
344
+ # This method is available in limited preview.
345
+ # @param [String] project_id
346
+ # Required. Project ID of the job to be deleted.
347
+ # @param [String] job_id
348
+ # Required. Job ID of the job to be deleted. If this is a parent job which has
349
+ # child jobs, all child jobs will be deleted as well. Deletion of child jobs
350
+ # directly is not allowed.
351
+ # @param [String] location
352
+ # The geographic location of the job. Required. See details at: https://cloud.
353
+ # google.com/bigquery/docs/locations#specifying_your_location.
354
+ # @param [String] fields
355
+ # Selector specifying which fields to include in a partial response.
356
+ # @param [String] quota_user
357
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
358
+ # characters.
359
+ # @param [String] user_ip
360
+ # Deprecated. Please use quotaUser instead.
361
+ # @param [Google::Apis::RequestOptions] options
362
+ # Request-specific options
363
+ #
364
+ # @yield [result, err] Result & error if block supplied
365
+ # @yieldparam result [NilClass] No result returned for this method
366
+ # @yieldparam err [StandardError] error object if request failed
367
+ #
368
+ # @return [void]
369
+ #
370
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
371
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
372
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
373
+ def delete_job(project_id, job_id, location: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
374
+ command = make_simple_command(:delete, 'projects/{+projectId}/jobs/{+jobId}/delete', options)
375
+ command.params['projectId'] = project_id unless project_id.nil?
376
+ command.params['jobId'] = job_id unless job_id.nil?
377
+ command.query['location'] = location unless location.nil?
378
+ command.query['fields'] = fields unless fields.nil?
379
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
380
+ command.query['userIp'] = user_ip unless user_ip.nil?
381
+ execute_or_queue_command(command, &block)
382
+ end
383
+
343
384
  # Returns information about a specific job. Job information is available for a
344
385
  # six month period after creation. Requires that you're the person who ran the
345
386
  # job, or have the Is Owner project role.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.8.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
57
57
  post_install_message:
58
58
  rdoc_options: []