google-apis-bigquery_v2 0.52.0 → 0.54.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: 6d47a6eb9e61a19bcbfd624414e61d59f6f7ff9740642b45f1b6cdfd47f02173
4
- data.tar.gz: 4e53d6f921bbd9d679fc4882de042731a526263dca222706aef7de9547f3f31a
3
+ metadata.gz: 66ee9c25946b6b9372bb90583a4e4a887b830006c18417f8ffe7edf9eef41cbc
4
+ data.tar.gz: 1474ea52436013a6935f4b9438bca064d42637be2e4c080d8e655403fe93a602
5
5
  SHA512:
6
- metadata.gz: 2a7225c2abc29eadef575592554f448ed1245bc558acccd8dec36bdd9e502a76d891b05a417ad050166e13329d24357a46f063967778133a16228f365be65af9
7
- data.tar.gz: f382346baaf4e9d8d826abd458165e52dd8ad642a9093413069cfdea335152e6ab9104f0fed9244e7ff2ebcb47eee656a62f4bf2d439028b1b1b651b1730e8c9
6
+ metadata.gz: bf21c143ccd3028635b72cb5ef7f5d9ceb600c4354c92f609a716168901592c52fc260e4a493e1a2b9649114dc88fb0c40ca1f873baafdde358a77f5f10c57c4
7
+ data.tar.gz: e3747d9752fe0a36fed948fdf24a7255334c1efb2a584ae5d6ca6487a446fe8425ef04865f91454b833fed5c4f0da54a02fb17ba5c2f8d75b39aeb3f7bd1bad2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.54.0 (2023-05-28)
4
+
5
+ * Regenerated from discovery document revision 20230520
6
+
7
+ ### v0.53.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230506
10
+
3
11
  ### v0.52.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230422
@@ -2178,7 +2178,7 @@ module Google
2178
2178
  class EncryptionConfiguration
2179
2179
  include Google::Apis::Core::Hashable
2180
2180
 
2181
- # [Optional] Describes the Cloud KMS encryption key that will be used to protect
2181
+ # Optional. Describes the Cloud KMS encryption key that will be used to protect
2182
2182
  # destination BigQuery table. The BigQuery Service Account associated with your
2183
2183
  # project requires access to this encryption key.
2184
2184
  # Corresponds to the JSON property `kmsKeyName`
@@ -2700,6 +2700,12 @@ module Google
2700
2700
  attr_accessor :ignore_unknown_values
2701
2701
  alias_method :ignore_unknown_values?, :ignore_unknown_values
2702
2702
 
2703
+ # Additional properties to set if `sourceFormat` is set to `
2704
+ # NEWLINE_DELIMITED_JSON`.
2705
+ # Corresponds to the JSON property `jsonOptions`
2706
+ # @return [Google::Apis::BigqueryV2::JsonOptions]
2707
+ attr_accessor :json_options
2708
+
2703
2709
  # [Optional] The maximum number of bad records that BigQuery can ignore when
2704
2710
  # reading data. If the number of bad records exceeds this value, an invalid
2705
2711
  # error is returned in the job result. This is only valid for CSV, JSON, and
@@ -2778,6 +2784,7 @@ module Google
2778
2784
  @google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
2779
2785
  @hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
2780
2786
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
2787
+ @json_options = args[:json_options] if args.key?(:json_options)
2781
2788
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
2782
2789
  @metadata_cache_mode = args[:metadata_cache_mode] if args.key?(:metadata_cache_mode)
2783
2790
  @object_metadata = args[:object_metadata] if args.key?(:object_metadata)
@@ -5126,6 +5133,26 @@ module Google
5126
5133
  end
5127
5134
  end
5128
5135
 
5136
+ #
5137
+ class JsonOptions
5138
+ include Google::Apis::Core::Hashable
5139
+
5140
+ # [Optional] The character encoding of the data. The supported values are UTF-8,
5141
+ # UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
5142
+ # Corresponds to the JSON property `encoding`
5143
+ # @return [String]
5144
+ attr_accessor :encoding
5145
+
5146
+ def initialize(**args)
5147
+ update!(**args)
5148
+ end
5149
+
5150
+ # Update properties of this object
5151
+ def update!(**args)
5152
+ @encoding = args[:encoding] if args.key?(:encoding)
5153
+ end
5154
+ end
5155
+
5129
5156
  #
5130
5157
  class ListModelsResponse
5131
5158
  include Google::Apis::Core::Hashable
@@ -5535,18 +5562,18 @@ module Google
5535
5562
  class ModelReference
5536
5563
  include Google::Apis::Core::Hashable
5537
5564
 
5538
- # [Required] The ID of the dataset containing this model.
5565
+ # Required. The ID of the dataset containing this model.
5539
5566
  # Corresponds to the JSON property `datasetId`
5540
5567
  # @return [String]
5541
5568
  attr_accessor :dataset_id
5542
5569
 
5543
- # [Required] The ID of the model. The ID must contain only letters (a-z, A-Z),
5570
+ # Required. The ID of the model. The ID must contain only letters (a-z, A-Z),
5544
5571
  # numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
5545
5572
  # Corresponds to the JSON property `modelId`
5546
5573
  # @return [String]
5547
5574
  attr_accessor :model_id
5548
5575
 
5549
- # [Required] The ID of the project containing this model.
5576
+ # Required. The ID of the project containing this model.
5550
5577
  # Corresponds to the JSON property `projectId`
5551
5578
  # @return [String]
5552
5579
  attr_accessor :project_id
@@ -6692,17 +6719,17 @@ module Google
6692
6719
  class RoutineReference
6693
6720
  include Google::Apis::Core::Hashable
6694
6721
 
6695
- # [Required] The ID of the dataset containing this routine.
6722
+ # Required. The ID of the dataset containing this routine.
6696
6723
  # Corresponds to the JSON property `datasetId`
6697
6724
  # @return [String]
6698
6725
  attr_accessor :dataset_id
6699
6726
 
6700
- # [Required] The ID of the project containing this routine.
6727
+ # Required. The ID of the project containing this routine.
6701
6728
  # Corresponds to the JSON property `projectId`
6702
6729
  # @return [String]
6703
6730
  attr_accessor :project_id
6704
6731
 
6705
- # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z),
6732
+ # Required. The ID of the routine. The ID must contain only letters (a-z, A-Z),
6706
6733
  # numbers (0-9), or underscores (_). The maximum length is 256 characters.
6707
6734
  # Corresponds to the JSON property `routineId`
6708
6735
  # @return [String]
@@ -6799,24 +6826,24 @@ module Google
6799
6826
  class RowAccessPolicyReference
6800
6827
  include Google::Apis::Core::Hashable
6801
6828
 
6802
- # [Required] The ID of the dataset containing this row access policy.
6829
+ # Required. The ID of the dataset containing this row access policy.
6803
6830
  # Corresponds to the JSON property `datasetId`
6804
6831
  # @return [String]
6805
6832
  attr_accessor :dataset_id
6806
6833
 
6807
- # [Required] The ID of the row access policy. The ID must contain only letters (
6808
- # a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256
6834
+ # Required. The ID of the row access policy. The ID must contain only letters (a-
6835
+ # z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256
6809
6836
  # characters.
6810
6837
  # Corresponds to the JSON property `policyId`
6811
6838
  # @return [String]
6812
6839
  attr_accessor :policy_id
6813
6840
 
6814
- # [Required] The ID of the project containing this row access policy.
6841
+ # Required. The ID of the project containing this row access policy.
6815
6842
  # Corresponds to the JSON property `projectId`
6816
6843
  # @return [String]
6817
6844
  attr_accessor :project_id
6818
6845
 
6819
- # [Required] The ID of the table containing this row access policy.
6846
+ # Required. The ID of the table containing this row access policy.
6820
6847
  # Corresponds to the JSON property `tableId`
6821
6848
  # @return [String]
6822
6849
  attr_accessor :table_id
@@ -7493,6 +7520,17 @@ module Google
7493
7520
  # @return [Google::Apis::BigqueryV2::ModelDefinition]
7494
7521
  attr_accessor :model
7495
7522
 
7523
+ # [Output-only] Number of logical bytes that are less than 90 days old.
7524
+ # Corresponds to the JSON property `numActiveLogicalBytes`
7525
+ # @return [Fixnum]
7526
+ attr_accessor :num_active_logical_bytes
7527
+
7528
+ # [Output-only] Number of physical bytes less than 90 days old. This data is not
7529
+ # kept in real time, and might be delayed by a few seconds to a few minutes.
7530
+ # Corresponds to the JSON property `numActivePhysicalBytes`
7531
+ # @return [Fixnum]
7532
+ attr_accessor :num_active_physical_bytes
7533
+
7496
7534
  # [Output-only] The size of this table in bytes, excluding any data in the
7497
7535
  # streaming buffer.
7498
7536
  # Corresponds to the JSON property `numBytes`
@@ -7505,64 +7543,53 @@ module Google
7505
7543
  # @return [Fixnum]
7506
7544
  attr_accessor :num_long_term_bytes
7507
7545
 
7508
- # [Output-only] [TrustedTester] The physical size of this table in bytes,
7509
- # excluding any data in the streaming buffer. This includes compression and
7510
- # storage used for time travel.
7511
- # Corresponds to the JSON property `numPhysicalBytes`
7512
- # @return [Fixnum]
7513
- attr_accessor :num_physical_bytes
7514
-
7515
- # [Output-only] The number of rows of data in this table, excluding any data in
7516
- # the streaming buffer.
7517
- # Corresponds to the JSON property `numRows`
7518
- # @return [Fixnum]
7519
- attr_accessor :num_rows
7520
-
7521
- # [Output-only] Number of logical bytes that are less than 90 days old.
7522
- # Corresponds to the JSON property `num_active_logical_bytes`
7523
- # @return [Fixnum]
7524
- attr_accessor :num_active_logical_bytes
7525
-
7526
- # [Output-only] Number of physical bytes less than 90 days old. This data is not
7527
- # kept in real time, and might be delayed by a few seconds to a few minutes.
7528
- # Corresponds to the JSON property `num_active_physical_bytes`
7529
- # @return [Fixnum]
7530
- attr_accessor :num_active_physical_bytes
7531
-
7532
7546
  # [Output-only] Number of logical bytes that are more than 90 days old.
7533
- # Corresponds to the JSON property `num_long_term_logical_bytes`
7547
+ # Corresponds to the JSON property `numLongTermLogicalBytes`
7534
7548
  # @return [Fixnum]
7535
7549
  attr_accessor :num_long_term_logical_bytes
7536
7550
 
7537
7551
  # [Output-only] Number of physical bytes more than 90 days old. This data is not
7538
7552
  # kept in real time, and might be delayed by a few seconds to a few minutes.
7539
- # Corresponds to the JSON property `num_long_term_physical_bytes`
7553
+ # Corresponds to the JSON property `numLongTermPhysicalBytes`
7540
7554
  # @return [Fixnum]
7541
7555
  attr_accessor :num_long_term_physical_bytes
7542
7556
 
7543
7557
  # [Output-only] The number of partitions present in the table or materialized
7544
7558
  # view. This data is not kept in real time, and might be delayed by a few
7545
7559
  # seconds to a few minutes.
7546
- # Corresponds to the JSON property `num_partitions`
7560
+ # Corresponds to the JSON property `numPartitions`
7547
7561
  # @return [Fixnum]
7548
7562
  attr_accessor :num_partitions
7549
7563
 
7564
+ # [Output-only] [TrustedTester] The physical size of this table in bytes,
7565
+ # excluding any data in the streaming buffer. This includes compression and
7566
+ # storage used for time travel.
7567
+ # Corresponds to the JSON property `numPhysicalBytes`
7568
+ # @return [Fixnum]
7569
+ attr_accessor :num_physical_bytes
7570
+
7571
+ # [Output-only] The number of rows of data in this table, excluding any data in
7572
+ # the streaming buffer.
7573
+ # Corresponds to the JSON property `numRows`
7574
+ # @return [Fixnum]
7575
+ attr_accessor :num_rows
7576
+
7550
7577
  # [Output-only] Number of physical bytes used by time travel storage (deleted or
7551
7578
  # changed data). This data is not kept in real time, and might be delayed by a
7552
7579
  # few seconds to a few minutes.
7553
- # Corresponds to the JSON property `num_time_travel_physical_bytes`
7580
+ # Corresponds to the JSON property `numTimeTravelPhysicalBytes`
7554
7581
  # @return [Fixnum]
7555
7582
  attr_accessor :num_time_travel_physical_bytes
7556
7583
 
7557
7584
  # [Output-only] Total number of logical bytes in the table or materialized view.
7558
- # Corresponds to the JSON property `num_total_logical_bytes`
7585
+ # Corresponds to the JSON property `numTotalLogicalBytes`
7559
7586
  # @return [Fixnum]
7560
7587
  attr_accessor :num_total_logical_bytes
7561
7588
 
7562
7589
  # [Output-only] The physical size of this table in bytes. This also includes
7563
7590
  # storage used for time travel. This data is not kept in real time, and might be
7564
7591
  # delayed by a few seconds to a few minutes.
7565
- # Corresponds to the JSON property `num_total_physical_bytes`
7592
+ # Corresponds to the JSON property `numTotalPhysicalBytes`
7566
7593
  # @return [Fixnum]
7567
7594
  attr_accessor :num_total_physical_bytes
7568
7595
 
@@ -7601,6 +7628,11 @@ module Google
7601
7628
  # @return [Google::Apis::BigqueryV2::Streamingbuffer]
7602
7629
  attr_accessor :streaming_buffer
7603
7630
 
7631
+ # [Optional] The table constraints on the table.
7632
+ # Corresponds to the JSON property `tableConstraints`
7633
+ # @return [Google::Apis::BigqueryV2::TableConstraints]
7634
+ attr_accessor :table_constraints
7635
+
7604
7636
  # [Required] Reference describing the ID of this table.
7605
7637
  # Corresponds to the JSON property `tableReference`
7606
7638
  # @return [Google::Apis::BigqueryV2::TableReference]
@@ -7652,15 +7684,15 @@ module Google
7652
7684
  @materialized_view = args[:materialized_view] if args.key?(:materialized_view)
7653
7685
  @max_staleness = args[:max_staleness] if args.key?(:max_staleness)
7654
7686
  @model = args[:model] if args.key?(:model)
7655
- @num_bytes = args[:num_bytes] if args.key?(:num_bytes)
7656
- @num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
7657
- @num_physical_bytes = args[:num_physical_bytes] if args.key?(:num_physical_bytes)
7658
- @num_rows = args[:num_rows] if args.key?(:num_rows)
7659
7687
  @num_active_logical_bytes = args[:num_active_logical_bytes] if args.key?(:num_active_logical_bytes)
7660
7688
  @num_active_physical_bytes = args[:num_active_physical_bytes] if args.key?(:num_active_physical_bytes)
7689
+ @num_bytes = args[:num_bytes] if args.key?(:num_bytes)
7690
+ @num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
7661
7691
  @num_long_term_logical_bytes = args[:num_long_term_logical_bytes] if args.key?(:num_long_term_logical_bytes)
7662
7692
  @num_long_term_physical_bytes = args[:num_long_term_physical_bytes] if args.key?(:num_long_term_physical_bytes)
7663
7693
  @num_partitions = args[:num_partitions] if args.key?(:num_partitions)
7694
+ @num_physical_bytes = args[:num_physical_bytes] if args.key?(:num_physical_bytes)
7695
+ @num_rows = args[:num_rows] if args.key?(:num_rows)
7664
7696
  @num_time_travel_physical_bytes = args[:num_time_travel_physical_bytes] if args.key?(:num_time_travel_physical_bytes)
7665
7697
  @num_total_logical_bytes = args[:num_total_logical_bytes] if args.key?(:num_total_logical_bytes)
7666
7698
  @num_total_physical_bytes = args[:num_total_physical_bytes] if args.key?(:num_total_physical_bytes)
@@ -7670,6 +7702,7 @@ module Google
7670
7702
  @self_link = args[:self_link] if args.key?(:self_link)
7671
7703
  @snapshot_definition = args[:snapshot_definition] if args.key?(:snapshot_definition)
7672
7704
  @streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer)
7705
+ @table_constraints = args[:table_constraints] if args.key?(:table_constraints)
7673
7706
  @table_reference = args[:table_reference] if args.key?(:table_reference)
7674
7707
  @time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
7675
7708
  @type = args[:type] if args.key?(:type)
@@ -7696,6 +7729,137 @@ module Google
7696
7729
  end
7697
7730
  end
7698
7731
 
7732
+ #
7733
+ class TableConstraints
7734
+ include Google::Apis::Core::Hashable
7735
+
7736
+ # [Optional] The foreign keys of the tables.
7737
+ # Corresponds to the JSON property `foreignKeys`
7738
+ # @return [Array<Google::Apis::BigqueryV2::TableConstraints::ForeignKey>]
7739
+ attr_accessor :foreign_keys
7740
+
7741
+ # [Optional] The primary key of the table.
7742
+ # Corresponds to the JSON property `primaryKey`
7743
+ # @return [Google::Apis::BigqueryV2::TableConstraints::PrimaryKey]
7744
+ attr_accessor :primary_key
7745
+
7746
+ def initialize(**args)
7747
+ update!(**args)
7748
+ end
7749
+
7750
+ # Update properties of this object
7751
+ def update!(**args)
7752
+ @foreign_keys = args[:foreign_keys] if args.key?(:foreign_keys)
7753
+ @primary_key = args[:primary_key] if args.key?(:primary_key)
7754
+ end
7755
+
7756
+ #
7757
+ class ForeignKey
7758
+ include Google::Apis::Core::Hashable
7759
+
7760
+ #
7761
+ # Corresponds to the JSON property `columnReferences`
7762
+ # @return [Array<Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference>]
7763
+ attr_accessor :column_references
7764
+
7765
+ #
7766
+ # Corresponds to the JSON property `name`
7767
+ # @return [String]
7768
+ attr_accessor :name
7769
+
7770
+ #
7771
+ # Corresponds to the JSON property `referencedTable`
7772
+ # @return [Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable]
7773
+ attr_accessor :referenced_table
7774
+
7775
+ def initialize(**args)
7776
+ update!(**args)
7777
+ end
7778
+
7779
+ # Update properties of this object
7780
+ def update!(**args)
7781
+ @column_references = args[:column_references] if args.key?(:column_references)
7782
+ @name = args[:name] if args.key?(:name)
7783
+ @referenced_table = args[:referenced_table] if args.key?(:referenced_table)
7784
+ end
7785
+
7786
+ #
7787
+ class ColumnReference
7788
+ include Google::Apis::Core::Hashable
7789
+
7790
+ #
7791
+ # Corresponds to the JSON property `referencedColumn`
7792
+ # @return [String]
7793
+ attr_accessor :referenced_column
7794
+
7795
+ #
7796
+ # Corresponds to the JSON property `referencingColumn`
7797
+ # @return [String]
7798
+ attr_accessor :referencing_column
7799
+
7800
+ def initialize(**args)
7801
+ update!(**args)
7802
+ end
7803
+
7804
+ # Update properties of this object
7805
+ def update!(**args)
7806
+ @referenced_column = args[:referenced_column] if args.key?(:referenced_column)
7807
+ @referencing_column = args[:referencing_column] if args.key?(:referencing_column)
7808
+ end
7809
+ end
7810
+
7811
+ #
7812
+ class ReferencedTable
7813
+ include Google::Apis::Core::Hashable
7814
+
7815
+ #
7816
+ # Corresponds to the JSON property `datasetId`
7817
+ # @return [String]
7818
+ attr_accessor :dataset_id
7819
+
7820
+ #
7821
+ # Corresponds to the JSON property `projectId`
7822
+ # @return [String]
7823
+ attr_accessor :project_id
7824
+
7825
+ #
7826
+ # Corresponds to the JSON property `tableId`
7827
+ # @return [String]
7828
+ attr_accessor :table_id
7829
+
7830
+ def initialize(**args)
7831
+ update!(**args)
7832
+ end
7833
+
7834
+ # Update properties of this object
7835
+ def update!(**args)
7836
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
7837
+ @project_id = args[:project_id] if args.key?(:project_id)
7838
+ @table_id = args[:table_id] if args.key?(:table_id)
7839
+ end
7840
+ end
7841
+ end
7842
+
7843
+ # [Optional] The primary key of the table.
7844
+ class PrimaryKey
7845
+ include Google::Apis::Core::Hashable
7846
+
7847
+ #
7848
+ # Corresponds to the JSON property `columns`
7849
+ # @return [Array<String>]
7850
+ attr_accessor :columns
7851
+
7852
+ def initialize(**args)
7853
+ update!(**args)
7854
+ end
7855
+
7856
+ # Update properties of this object
7857
+ def update!(**args)
7858
+ @columns = args[:columns] if args.key?(:columns)
7859
+ end
7860
+ end
7861
+ end
7862
+
7699
7863
  #
7700
7864
  class InsertAllTableDataRequest
7701
7865
  include Google::Apis::Core::Hashable
@@ -8357,6 +8521,13 @@ module Google
8357
8521
  attr_accessor :adjust_step_changes
8358
8522
  alias_method :adjust_step_changes?, :adjust_step_changes
8359
8523
 
8524
+ # Whether to use approximate feature contribution method in XGBoost model
8525
+ # explanation for global explain.
8526
+ # Corresponds to the JSON property `approxGlobalFeatureContrib`
8527
+ # @return [Boolean]
8528
+ attr_accessor :approx_global_feature_contrib
8529
+ alias_method :approx_global_feature_contrib?, :approx_global_feature_contrib
8530
+
8360
8531
  # Whether to enable auto ARIMA or not.
8361
8532
  # Corresponds to the JSON property `autoArima`
8362
8533
  # @return [Boolean]
@@ -8751,6 +8922,7 @@ module Google
8751
8922
  # Update properties of this object
8752
8923
  def update!(**args)
8753
8924
  @adjust_step_changes = args[:adjust_step_changes] if args.key?(:adjust_step_changes)
8925
+ @approx_global_feature_contrib = args[:approx_global_feature_contrib] if args.key?(:approx_global_feature_contrib)
8754
8926
  @auto_arima = args[:auto_arima] if args.key?(:auto_arima)
8755
8927
  @auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
8756
8928
  @auto_arima_min_order = args[:auto_arima_min_order] if args.key?(:auto_arima_min_order)
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230422"
25
+ REVISION = "20230520"
26
26
  end
27
27
  end
28
28
  end
@@ -580,6 +580,12 @@ module Google
580
580
  include Google::Apis::Core::JsonObjectSupport
581
581
  end
582
582
 
583
+ class JsonOptions
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
583
589
  class ListModelsResponse
584
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
591
 
@@ -898,6 +904,36 @@ module Google
898
904
  include Google::Apis::Core::JsonObjectSupport
899
905
  end
900
906
 
907
+ class TableConstraints
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ class ForeignKey
911
+ class Representation < Google::Apis::Core::JsonRepresentation; end
912
+
913
+ class ColumnReference
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class ReferencedTable
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ include Google::Apis::Core::JsonObjectSupport
926
+ end
927
+
928
+ class PrimaryKey
929
+ class Representation < Google::Apis::Core::JsonRepresentation; end
930
+
931
+ include Google::Apis::Core::JsonObjectSupport
932
+ end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
901
937
  class InsertAllTableDataRequest
902
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
939
 
@@ -1690,6 +1726,8 @@ module Google
1690
1726
  property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
1691
1727
 
1692
1728
  property :ignore_unknown_values, as: 'ignoreUnknownValues'
1729
+ property :json_options, as: 'jsonOptions', class: Google::Apis::BigqueryV2::JsonOptions, decorator: Google::Apis::BigqueryV2::JsonOptions::Representation
1730
+
1693
1731
  property :max_bad_records, as: 'maxBadRecords'
1694
1732
  property :metadata_cache_mode, as: 'metadataCacheMode'
1695
1733
  property :object_metadata, as: 'objectMetadata'
@@ -2275,6 +2313,13 @@ module Google
2275
2313
  end
2276
2314
  end
2277
2315
 
2316
+ class JsonOptions
2317
+ # @private
2318
+ class Representation < Google::Apis::Core::JsonRepresentation
2319
+ property :encoding, as: 'encoding'
2320
+ end
2321
+ end
2322
+
2278
2323
  class ListModelsResponse
2279
2324
  # @private
2280
2325
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2875,18 +2920,18 @@ module Google
2875
2920
  property :max_staleness, :base64 => true, as: 'maxStaleness'
2876
2921
  property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
2877
2922
 
2923
+ property :num_active_logical_bytes, :numeric_string => true, as: 'numActiveLogicalBytes'
2924
+ property :num_active_physical_bytes, :numeric_string => true, as: 'numActivePhysicalBytes'
2878
2925
  property :num_bytes, :numeric_string => true, as: 'numBytes'
2879
2926
  property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
2927
+ property :num_long_term_logical_bytes, :numeric_string => true, as: 'numLongTermLogicalBytes'
2928
+ property :num_long_term_physical_bytes, :numeric_string => true, as: 'numLongTermPhysicalBytes'
2929
+ property :num_partitions, :numeric_string => true, as: 'numPartitions'
2880
2930
  property :num_physical_bytes, :numeric_string => true, as: 'numPhysicalBytes'
2881
2931
  property :num_rows, :numeric_string => true, as: 'numRows'
2882
- property :num_active_logical_bytes, :numeric_string => true, as: 'num_active_logical_bytes'
2883
- property :num_active_physical_bytes, :numeric_string => true, as: 'num_active_physical_bytes'
2884
- property :num_long_term_logical_bytes, :numeric_string => true, as: 'num_long_term_logical_bytes'
2885
- property :num_long_term_physical_bytes, :numeric_string => true, as: 'num_long_term_physical_bytes'
2886
- property :num_partitions, :numeric_string => true, as: 'num_partitions'
2887
- property :num_time_travel_physical_bytes, :numeric_string => true, as: 'num_time_travel_physical_bytes'
2888
- property :num_total_logical_bytes, :numeric_string => true, as: 'num_total_logical_bytes'
2889
- property :num_total_physical_bytes, :numeric_string => true, as: 'num_total_physical_bytes'
2932
+ property :num_time_travel_physical_bytes, :numeric_string => true, as: 'numTimeTravelPhysicalBytes'
2933
+ property :num_total_logical_bytes, :numeric_string => true, as: 'numTotalLogicalBytes'
2934
+ property :num_total_physical_bytes, :numeric_string => true, as: 'numTotalPhysicalBytes'
2890
2935
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
2891
2936
 
2892
2937
  property :require_partition_filter, as: 'requirePartitionFilter'
@@ -2897,6 +2942,8 @@ module Google
2897
2942
 
2898
2943
  property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation
2899
2944
 
2945
+ property :table_constraints, as: 'tableConstraints', class: Google::Apis::BigqueryV2::TableConstraints, decorator: Google::Apis::BigqueryV2::TableConstraints::Representation
2946
+
2900
2947
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2901
2948
 
2902
2949
  property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
@@ -2914,6 +2961,51 @@ module Google
2914
2961
  end
2915
2962
  end
2916
2963
 
2964
+ class TableConstraints
2965
+ # @private
2966
+ class Representation < Google::Apis::Core::JsonRepresentation
2967
+ collection :foreign_keys, as: 'foreignKeys', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::Representation
2968
+
2969
+ property :primary_key, as: 'primaryKey', class: Google::Apis::BigqueryV2::TableConstraints::PrimaryKey, decorator: Google::Apis::BigqueryV2::TableConstraints::PrimaryKey::Representation
2970
+
2971
+ end
2972
+
2973
+ class ForeignKey
2974
+ # @private
2975
+ class Representation < Google::Apis::Core::JsonRepresentation
2976
+ collection :column_references, as: 'columnReferences', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference::Representation
2977
+
2978
+ property :name, as: 'name'
2979
+ property :referenced_table, as: 'referencedTable', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable::Representation
2980
+
2981
+ end
2982
+
2983
+ class ColumnReference
2984
+ # @private
2985
+ class Representation < Google::Apis::Core::JsonRepresentation
2986
+ property :referenced_column, as: 'referencedColumn'
2987
+ property :referencing_column, as: 'referencingColumn'
2988
+ end
2989
+ end
2990
+
2991
+ class ReferencedTable
2992
+ # @private
2993
+ class Representation < Google::Apis::Core::JsonRepresentation
2994
+ property :dataset_id, as: 'datasetId'
2995
+ property :project_id, as: 'projectId'
2996
+ property :table_id, as: 'tableId'
2997
+ end
2998
+ end
2999
+ end
3000
+
3001
+ class PrimaryKey
3002
+ # @private
3003
+ class Representation < Google::Apis::Core::JsonRepresentation
3004
+ collection :columns, as: 'columns'
3005
+ end
3006
+ end
3007
+ end
3008
+
2917
3009
  class InsertAllTableDataRequest
2918
3010
  # @private
2919
3011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3095,6 +3187,7 @@ module Google
3095
3187
  # @private
3096
3188
  class Representation < Google::Apis::Core::JsonRepresentation
3097
3189
  property :adjust_step_changes, as: 'adjustStepChanges'
3190
+ property :approx_global_feature_contrib, as: 'approxGlobalFeatureContrib'
3098
3191
  property :auto_arima, as: 'autoArima'
3099
3192
  property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
3100
3193
  property :auto_arima_min_order, :numeric_string => true, as: 'autoArimaMinOrder'
@@ -982,9 +982,9 @@ module Google
982
982
  # @param [String] dataset_id
983
983
  # Required. Dataset ID of the routines to list
984
984
  # @param [String] filter
985
- # If set, then only the Routines matching this filter are returned. The current
986
- # supported form is either "routine_type:" or "routineType:", where is a
987
- # RoutineType enum. Example: "routineType:SCALAR_FUNCTION".
985
+ # If set, then only the Routines matching this filter are returned. The
986
+ # supported format is `routineType:`RoutineType``, where ``RoutineType`` is a
987
+ # RoutineType enum. For example: `routineType:SCALAR_FUNCTION`.
988
988
  # @param [Fixnum] max_results
989
989
  # The maximum number of results to return in a single response page. Leverage
990
990
  # the page tokens to iterate through the entire collection.
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.52.0
4
+ version: 0.54.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: 2023-05-14 00:00:00.000000000 Z
11
+ date: 2023-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.54.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []