google-apis-bigquery_v2 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56c838165f7a17549feb840b93cb9f673f17bc9852f8b2f0ce226696d4cb0a75
4
- data.tar.gz: 8abc25725e98014460f4358f2463c10946e9e625e2855d82752d6dd717af2c04
3
+ metadata.gz: 778dfced54c125ee98588dcec7cb0de4b8dc2d64ec5d18011044632ab7663f77
4
+ data.tar.gz: b1614b55689ba49032d8792c839f3d254d3c7351810d3fb8a1ee9c041becd45b
5
5
  SHA512:
6
- metadata.gz: 24b362c3b5d48050c840e96d2f938b17bebad183bc5795048bdcb91e0619c7db48b08e8147b02480b81c27ee7ce687bf2770d5f9f505295ac00a7ab90c10d83a
7
- data.tar.gz: 553a09d88e6cf07a19951f4e24ae9cabfa3067d240bce16a84836bfafad89227bdaf0257c1e004dacd55362d68ee089513055c4a9b2317450b6684555e856fb8
6
+ metadata.gz: 1421d85e292bd09908b44ee4b511ec2374fd413ac4956edda32e5d0cabfbf2b47e3ab1c79a8c7e119d6f511b9e6d95c6652bcf420a3666f8d394aafb411f4aed
7
+ data.tar.gz: ec68a45436c34ae3b89f229bc1e6b2a833552b09fba8c77a910e74d4c162961e9bbf477a74627a3cc7d0fca296b476293d0b9eff4978d9e3b07384f24d69b1d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.8.0 (2021-03-18)
4
+
5
+ * Regenerated from discovery document revision 20210313
6
+
3
7
  ### v0.7.0 (2021-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20210303
@@ -38,7 +38,7 @@ module Google
38
38
  # View your data in Google BigQuery
39
39
  AUTH_BIGQUERY_READONLY = 'https://www.googleapis.com/auth/bigquery.readonly'
40
40
 
41
- # View and manage your data across Google Cloud Platform services
41
+ # See, edit, configure, and delete your Google Cloud Platform data
42
42
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
43
43
 
44
44
  # View your data across Google Cloud Platform services
@@ -3792,6 +3792,11 @@ module Google
3792
3792
  # @return [Google::Apis::BigqueryV2::ScriptStatistics]
3793
3793
  attr_accessor :script_statistics
3794
3794
 
3795
+ # [Output-only] [Preview] Information of the session if this job is part of one.
3796
+ # Corresponds to the JSON property `sessionInfoTemplate`
3797
+ # @return [Google::Apis::BigqueryV2::SessionInfo]
3798
+ attr_accessor :session_info_template
3799
+
3795
3800
  # [Output-only] Start time of this job, in milliseconds since the epoch. This
3796
3801
  # field will be present when the job transitions from the PENDING state to
3797
3802
  # either RUNNING or DONE.
@@ -3835,6 +3840,7 @@ module Google
3835
3840
  @reservation_id = args[:reservation_id] if args.key?(:reservation_id)
3836
3841
  @row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
3837
3842
  @script_statistics = args[:script_statistics] if args.key?(:script_statistics)
3843
+ @session_info_template = args[:session_info_template] if args.key?(:session_info_template)
3838
3844
  @start_time = args[:start_time] if args.key?(:start_time)
3839
3845
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
3840
3846
  @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
@@ -5214,6 +5220,11 @@ module Google
5214
5220
  # @return [Google::Apis::BigqueryV2::TableSchema]
5215
5221
  attr_accessor :schema
5216
5222
 
5223
+ # [Output-only] [Preview] Information of the session if this job is part of one.
5224
+ # Corresponds to the JSON property `sessionInfoTemplate`
5225
+ # @return [Google::Apis::BigqueryV2::SessionInfo]
5226
+ attr_accessor :session_info_template
5227
+
5217
5228
  # The total number of bytes processed for this query. If this query was a dry
5218
5229
  # run, this is the number of bytes that would be processed if the query were run.
5219
5230
  # Corresponds to the JSON property `totalBytesProcessed`
@@ -5241,6 +5252,7 @@ module Google
5241
5252
  @page_token = args[:page_token] if args.key?(:page_token)
5242
5253
  @rows = args[:rows] if args.key?(:rows)
5243
5254
  @schema = args[:schema] if args.key?(:schema)
5255
+ @session_info_template = args[:session_info_template] if args.key?(:session_info_template)
5244
5256
  @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
5245
5257
  @total_rows = args[:total_rows] if args.key?(:total_rows)
5246
5258
  end
@@ -5787,6 +5799,25 @@ module Google
5787
5799
  end
5788
5800
  end
5789
5801
 
5802
+ #
5803
+ class SessionInfo
5804
+ include Google::Apis::Core::Hashable
5805
+
5806
+ # [Output-only] // [Preview] Id of the session.
5807
+ # Corresponds to the JSON property `sessionId`
5808
+ # @return [String]
5809
+ attr_accessor :session_id
5810
+
5811
+ def initialize(**args)
5812
+ update!(**args)
5813
+ end
5814
+
5815
+ # Update properties of this object
5816
+ def update!(**args)
5817
+ @session_id = args[:session_id] if args.key?(:session_id)
5818
+ end
5819
+ end
5820
+
5790
5821
  # Request message for `SetIamPolicy` method.
5791
5822
  class SetIamPolicyRequest
5792
5823
  include Google::Apis::Core::Hashable
@@ -6440,6 +6471,16 @@ module Google
6440
6471
  # @return [Array<Google::Apis::BigqueryV2::TableFieldSchema>]
6441
6472
  attr_accessor :fields
6442
6473
 
6474
+ # [Optional] Maximum length of values of this field for STRINGS or BYTES. If
6475
+ # max_length is not specified, no maximum length constraint is imposed on this
6476
+ # field. If type = "STRING", then max_length represents the maximum UTF-8 length
6477
+ # of strings in this field. If type = "BYTES", then max_length represents the
6478
+ # maximum number of bytes in this field. It is invalid to set this field if type
6479
+ # ≠ "STRING" and ≠ "BYTES".
6480
+ # Corresponds to the JSON property `maxLength`
6481
+ # @return [Fixnum]
6482
+ attr_accessor :max_length
6483
+
6443
6484
  # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and
6444
6485
  # REPEATED. The default value is NULLABLE.
6445
6486
  # Corresponds to the JSON property `mode`
@@ -6458,6 +6499,31 @@ module Google
6458
6499
  # @return [Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags]
6459
6500
  attr_accessor :policy_tags
6460
6501
 
6502
+ # [Optional] Precision (maximum number of total digits in base 10) and scale (
6503
+ # maximum number of digits in the fractional part in base 10) constraints for
6504
+ # values of this field for NUMERIC or BIGNUMERIC. It is invalid to set precision
6505
+ # or scale if type ≠ "NUMERIC" and ≠ "BIGNUMERIC". If precision and scale are
6506
+ # not specified, no value range constraint is imposed on this field insofar as
6507
+ # values are permitted by the type. Values of this NUMERIC or BIGNUMERIC field
6508
+ # must be in this range when: - Precision (P) and scale (S) are specified: [-10P-
6509
+ # S + 10-S, 10P-S - 10-S] - Precision (P) is specified but not scale (and thus
6510
+ # scale is interpreted to be equal to zero): [-10P + 1, 10P - 1]. Acceptable
6511
+ # values for precision and scale if both are specified: - If type = "NUMERIC": 1
6512
+ # ≤ precision - scale ≤ 29 and 0 ≤ scale ≤ 9. - If type = "BIGNUMERIC": 1 ≤
6513
+ # precision - scale ≤ 38 and 0 ≤ scale ≤ 38. Acceptable values for precision if
6514
+ # only precision is specified but not scale (and thus scale is interpreted to be
6515
+ # equal to zero): - If type = "NUMERIC": 1 ≤ precision ≤ 29. - If type = "
6516
+ # BIGNUMERIC": 1 ≤ precision ≤ 38. If scale is specified but not precision, then
6517
+ # it is invalid.
6518
+ # Corresponds to the JSON property `precision`
6519
+ # @return [Fixnum]
6520
+ attr_accessor :precision
6521
+
6522
+ # [Optional] See documentation for precision.
6523
+ # Corresponds to the JSON property `scale`
6524
+ # @return [Fixnum]
6525
+ attr_accessor :scale
6526
+
6461
6527
  # [Required] The field data type. Possible values include STRING, BYTES, INTEGER,
6462
6528
  # INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), NUMERIC, BIGNUMERIC,
6463
6529
  # BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (
@@ -6476,9 +6542,12 @@ module Google
6476
6542
  @categories = args[:categories] if args.key?(:categories)
6477
6543
  @description = args[:description] if args.key?(:description)
6478
6544
  @fields = args[:fields] if args.key?(:fields)
6545
+ @max_length = args[:max_length] if args.key?(:max_length)
6479
6546
  @mode = args[:mode] if args.key?(:mode)
6480
6547
  @name = args[:name] if args.key?(:name)
6481
6548
  @policy_tags = args[:policy_tags] if args.key?(:policy_tags)
6549
+ @precision = args[:precision] if args.key?(:precision)
6550
+ @scale = args[:scale] if args.key?(:scale)
6482
6551
  @type = args[:type] if args.key?(:type)
6483
6552
  end
6484
6553
 
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.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 = "20210303"
25
+ REVISION = "20210313"
26
26
  end
27
27
  end
28
28
  end
@@ -682,6 +682,12 @@ module Google
682
682
  include Google::Apis::Core::JsonObjectSupport
683
683
  end
684
684
 
685
+ class SessionInfo
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
685
691
  class SetIamPolicyRequest
686
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
693
 
@@ -1764,6 +1770,8 @@ module Google
1764
1770
 
1765
1771
  property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
1766
1772
 
1773
+ property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
1774
+
1767
1775
  property :start_time, :numeric_string => true, as: 'startTime'
1768
1776
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
1769
1777
  property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
@@ -2116,6 +2124,8 @@ module Google
2116
2124
 
2117
2125
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2118
2126
 
2127
+ property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
2128
+
2119
2129
  property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
2120
2130
  property :total_rows, :numeric_string => true, as: 'totalRows'
2121
2131
  end
@@ -2262,6 +2272,13 @@ module Google
2262
2272
  end
2263
2273
  end
2264
2274
 
2275
+ class SessionInfo
2276
+ # @private
2277
+ class Representation < Google::Apis::Core::JsonRepresentation
2278
+ property :session_id, as: 'sessionId'
2279
+ end
2280
+ end
2281
+
2265
2282
  class SetIamPolicyRequest
2266
2283
  # @private
2267
2284
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2438,10 +2455,13 @@ module Google
2438
2455
  property :description, as: 'description'
2439
2456
  collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
2440
2457
 
2458
+ property :max_length, :numeric_string => true, as: 'maxLength'
2441
2459
  property :mode, as: 'mode'
2442
2460
  property :name, as: 'name'
2443
2461
  property :policy_tags, as: 'policyTags', class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags, decorator: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags::Representation
2444
2462
 
2463
+ property :precision, :numeric_string => true, as: 'precision'
2464
+ property :scale, :numeric_string => true, as: 'scale'
2445
2465
  property :type, as: 'type'
2446
2466
  end
2447
2467
 
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.7.0
4
+ version: 0.8.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-15 00:00:00.000000000 Z
11
+ date: 2021-03-22 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.7.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.8.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: []