google-apis-bigquery_v2 0.65.0 → 0.66.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: a7e03cc94aa30abfb600d73c24f11b35996a824e27122c1db91f0d7602692518
4
- data.tar.gz: e2b5995fed0a6850cd5714ae5f68b43f4e729ad145d1284563edbe94f9c688ad
3
+ metadata.gz: 12b3b8f91c37e1f2672bbda0246599448b8faa5c2c09ebd751d6f1444565c3b4
4
+ data.tar.gz: e350f146fa4164cfe9391f99787c52db8c95ddd9b699cf61a1334b23abedb9cc
5
5
  SHA512:
6
- metadata.gz: 43c9d599f82dad8f40b038a5845552dde604709b9e945c73606848f2462c504bc0a5ffb8ae7c5f204a0b18003d3086ec15b4952321202b79d49e1b7235e93bd6
7
- data.tar.gz: eabb98731b0b213d45a135c068ae82e33fe7913c24c92b63028df534f5cc2b414f28e8b0038aa1c742c060ec466b1584fd44048c12a7f86c8c716963ffc1e366
6
+ metadata.gz: 4e39e0d76bfa17f6cebce71f94c76cf2b7b52ea4f3269329dc39cc6538a0d59f2ff54faa6873e6fffef913913a632f10a510fdb423c642c5857335d10bffe9d2
7
+ data.tar.gz: c1f456b56e776ec24a452b7e61d3678ecb7542b56fbd1e1dd1cd24be9de31beb7e66736cc3d12045a80dd011a4e33bb5e7cba2dc0eca2155fc710b2572c58720
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.66.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240229
6
+
3
7
  ### v0.65.0 (2024-02-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240211
@@ -1833,6 +1833,11 @@ module Google
1833
1833
  # @return [Fixnum]
1834
1834
  attr_accessor :last_modified_time
1835
1835
 
1836
+ # Metadata about the Linked Dataset.
1837
+ # Corresponds to the JSON property `linkedDatasetMetadata`
1838
+ # @return [Google::Apis::BigqueryV2::LinkedDatasetMetadata]
1839
+ attr_accessor :linked_dataset_metadata
1840
+
1836
1841
  # A dataset source type which refers to another BigQuery dataset.
1837
1842
  # Corresponds to the JSON property `linkedDatasetSource`
1838
1843
  # @return [Google::Apis::BigqueryV2::LinkedDatasetSource]
@@ -1910,6 +1915,7 @@ module Google
1910
1915
  @kind = args[:kind] if args.key?(:kind)
1911
1916
  @labels = args[:labels] if args.key?(:labels)
1912
1917
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
1918
+ @linked_dataset_metadata = args[:linked_dataset_metadata] if args.key?(:linked_dataset_metadata)
1913
1919
  @linked_dataset_source = args[:linked_dataset_source] if args.key?(:linked_dataset_source)
1914
1920
  @location = args[:location] if args.key?(:location)
1915
1921
  @max_time_travel_hours = args[:max_time_travel_hours] if args.key?(:max_time_travel_hours)
@@ -5843,6 +5849,26 @@ module Google
5843
5849
  end
5844
5850
  end
5845
5851
 
5852
+ # Metadata about the Linked Dataset.
5853
+ class LinkedDatasetMetadata
5854
+ include Google::Apis::Core::Hashable
5855
+
5856
+ # Output only. Specifies whether Linked Dataset is currently in a linked state
5857
+ # or not.
5858
+ # Corresponds to the JSON property `linkState`
5859
+ # @return [String]
5860
+ attr_accessor :link_state
5861
+
5862
+ def initialize(**args)
5863
+ update!(**args)
5864
+ end
5865
+
5866
+ # Update properties of this object
5867
+ def update!(**args)
5868
+ @link_state = args[:link_state] if args.key?(:link_state)
5869
+ end
5870
+ end
5871
+
5846
5872
  # A dataset source type which refers to another BigQuery dataset.
5847
5873
  class LinkedDatasetSource
5848
5874
  include Google::Apis::Core::Hashable
@@ -6569,6 +6595,47 @@ module Google
6569
6595
  end
6570
6596
  end
6571
6597
 
6598
+ # The partitioning column information.
6599
+ class PartitionedColumn
6600
+ include Google::Apis::Core::Hashable
6601
+
6602
+ # Output only. The name of the partition column.
6603
+ # Corresponds to the JSON property `field`
6604
+ # @return [String]
6605
+ attr_accessor :field
6606
+
6607
+ def initialize(**args)
6608
+ update!(**args)
6609
+ end
6610
+
6611
+ # Update properties of this object
6612
+ def update!(**args)
6613
+ @field = args[:field] if args.key?(:field)
6614
+ end
6615
+ end
6616
+
6617
+ # The partitioning information, which includes managed table and external table
6618
+ # partition information.
6619
+ class PartitioningDefinition
6620
+ include Google::Apis::Core::Hashable
6621
+
6622
+ # Output only. Details about each partitioning column. BigQuery native tables
6623
+ # only support 1 partitioning column. Other table types may support 0, 1 or more
6624
+ # partitioning columns.
6625
+ # Corresponds to the JSON property `partitionedColumn`
6626
+ # @return [Array<Google::Apis::BigqueryV2::PartitionedColumn>]
6627
+ attr_accessor :partitioned_column
6628
+
6629
+ def initialize(**args)
6630
+ update!(**args)
6631
+ end
6632
+
6633
+ # Update properties of this object
6634
+ def update!(**args)
6635
+ @partitioned_column = args[:partitioned_column] if args.key?(:partitioned_column)
6636
+ end
6637
+ end
6638
+
6572
6639
  # Performance insights for the job.
6573
6640
  class PerformanceInsights
6574
6641
  include Google::Apis::Core::Hashable
@@ -8360,27 +8427,26 @@ module Google
8360
8427
  # @return [Hash<String,String>]
8361
8428
  attr_accessor :endpoints
8362
8429
 
8363
- # Output only. The Google Cloud Storage bucket that is used as the default
8364
- # filesystem by the Spark application. This fields is only filled when the Spark
8365
- # procedure uses the INVOKER security mode. It is inferred from the system
8366
- # variable @@spark_proc_properties.staging_bucket if it is provided. Otherwise,
8367
- # BigQuery creates a default staging bucket for the job and returns the bucket
8368
- # name in this field. Example: * `gs://[bucket_name]`
8430
+ # Output only. The Google Cloud Storage bucket that is used as the default file
8431
+ # system by the Spark application. This field is only filled when the Spark
8432
+ # procedure uses the invoker security mode. The `gcsStagingBucket` bucket is
8433
+ # inferred from the `@@spark_proc_properties.staging_bucket` system variable (if
8434
+ # it is provided). Otherwise, BigQuery creates a default staging bucket for the
8435
+ # job and returns the bucket name in this field. Example: * `gs://[bucket_name]`
8369
8436
  # Corresponds to the JSON property `gcsStagingBucket`
8370
8437
  # @return [String]
8371
8438
  attr_accessor :gcs_staging_bucket
8372
8439
 
8373
8440
  # Output only. The Cloud KMS encryption key that is used to protect the
8374
- # resources created by the Spark job. If the Spark procedure uses DEFINER
8375
- # security mode, the Cloud KMS key is inferred from the Spark connection
8376
- # associated with the procedure if it is provided. Otherwise the key is inferred
8377
- # from the default key of the Spark connection's project if the CMEK
8378
- # organization policy is enforced. If the Spark procedure uses INVOKER security
8379
- # mode, the Cloud KMS encryption key is inferred from the system variable @@
8380
- # spark_proc_properties.kms_key_name if it is provided. Otherwise, the key is
8381
- # inferred fromt he default key of the BigQuery job's project if the CMEK
8382
- # organization policy is enforced. Example: * `projects/[kms_project_id]/
8383
- # locations/[region]/keyRings/[key_region]/cryptoKeys/[key]`
8441
+ # resources created by the Spark job. If the Spark procedure uses the invoker
8442
+ # security mode, the Cloud KMS encryption key is either inferred from the
8443
+ # provided system variable, `@@spark_proc_properties.kms_key_name`, or the
8444
+ # default key of the BigQuery job's project (if the CMEK organization policy is
8445
+ # enforced). Otherwise, the Cloud KMS key is either inferred from the Spark
8446
+ # connection associated with the procedure (if it is provided), or from the
8447
+ # default key of the Spark connection's project if the CMEK organization policy
8448
+ # is enforced. Example: * `projects/[kms_project_id]/locations/[region]/keyRings/
8449
+ # [key_region]/cryptoKeys/[key]`
8384
8450
  # Corresponds to the JSON property `kmsKeyName`
8385
8451
  # @return [String]
8386
8452
  attr_accessor :kms_key_name
@@ -8893,6 +8959,12 @@ module Google
8893
8959
  # @return [Fixnum]
8894
8960
  attr_accessor :num_total_physical_bytes
8895
8961
 
8962
+ # The partitioning information, which includes managed table and external table
8963
+ # partition information.
8964
+ # Corresponds to the JSON property `partitionDefinition`
8965
+ # @return [Google::Apis::BigqueryV2::PartitioningDefinition]
8966
+ attr_accessor :partition_definition
8967
+
8896
8968
  # If specified, configures range partitioning for this table.
8897
8969
  # Corresponds to the JSON property `rangePartitioning`
8898
8970
  # @return [Google::Apis::BigqueryV2::RangePartitioning]
@@ -9020,6 +9092,7 @@ module Google
9020
9092
  @num_time_travel_physical_bytes = args[:num_time_travel_physical_bytes] if args.key?(:num_time_travel_physical_bytes)
9021
9093
  @num_total_logical_bytes = args[:num_total_logical_bytes] if args.key?(:num_total_logical_bytes)
9022
9094
  @num_total_physical_bytes = args[:num_total_physical_bytes] if args.key?(:num_total_physical_bytes)
9095
+ @partition_definition = args[:partition_definition] if args.key?(:partition_definition)
9023
9096
  @range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
9024
9097
  @replicas = args[:replicas] if args.key?(:replicas)
9025
9098
  @require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
@@ -9475,7 +9548,8 @@ module Google
9475
9548
  # Required. The field data type. Possible values include: * STRING * BYTES *
9476
9549
  # INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE
9477
9550
  # * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or
9478
- # STRUCT) Use of RECORD/STRUCT indicates that the field contains a nested schema.
9551
+ # STRUCT) * RANGE ([Preview](/products/#product-launch-stages)) Use of RECORD/
9552
+ # STRUCT indicates that the field contains a nested schema.
9479
9553
  # Corresponds to the JSON property `type`
9480
9554
  # @return [String]
9481
9555
  attr_accessor :type
@@ -9546,7 +9620,8 @@ module Google
9546
9620
  class RangeElementType
9547
9621
  include Google::Apis::Core::Hashable
9548
9622
 
9549
- # Required. The type of a field element. See TableFieldSchema.type.
9623
+ # Required. The type of a field element. For more information, see
9624
+ # TableFieldSchema.type.
9550
9625
  # Corresponds to the JSON property `type`
9551
9626
  # @return [String]
9552
9627
  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.65.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240211"
25
+ REVISION = "20240229"
26
26
  end
27
27
  end
28
28
  end
@@ -640,6 +640,12 @@ module Google
640
640
  include Google::Apis::Core::JsonObjectSupport
641
641
  end
642
642
 
643
+ class LinkedDatasetMetadata
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
643
649
  class LinkedDatasetSource
644
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
651
 
@@ -754,6 +760,18 @@ module Google
754
760
  include Google::Apis::Core::JsonObjectSupport
755
761
  end
756
762
 
763
+ class PartitionedColumn
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class PartitioningDefinition
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
757
775
  class PerformanceInsights
758
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
777
 
@@ -1680,6 +1698,8 @@ module Google
1680
1698
  property :kind, as: 'kind'
1681
1699
  hash :labels, as: 'labels'
1682
1700
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1701
+ property :linked_dataset_metadata, as: 'linkedDatasetMetadata', class: Google::Apis::BigqueryV2::LinkedDatasetMetadata, decorator: Google::Apis::BigqueryV2::LinkedDatasetMetadata::Representation
1702
+
1683
1703
  property :linked_dataset_source, as: 'linkedDatasetSource', class: Google::Apis::BigqueryV2::LinkedDatasetSource, decorator: Google::Apis::BigqueryV2::LinkedDatasetSource::Representation
1684
1704
 
1685
1705
  property :location, as: 'location'
@@ -2634,6 +2654,13 @@ module Google
2634
2654
  end
2635
2655
  end
2636
2656
 
2657
+ class LinkedDatasetMetadata
2658
+ # @private
2659
+ class Representation < Google::Apis::Core::JsonRepresentation
2660
+ property :link_state, as: 'linkState'
2661
+ end
2662
+ end
2663
+
2637
2664
  class LinkedDatasetSource
2638
2665
  # @private
2639
2666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2838,6 +2865,21 @@ module Google
2838
2865
  end
2839
2866
  end
2840
2867
 
2868
+ class PartitionedColumn
2869
+ # @private
2870
+ class Representation < Google::Apis::Core::JsonRepresentation
2871
+ property :field, as: 'field'
2872
+ end
2873
+ end
2874
+
2875
+ class PartitioningDefinition
2876
+ # @private
2877
+ class Representation < Google::Apis::Core::JsonRepresentation
2878
+ collection :partitioned_column, as: 'partitionedColumn', class: Google::Apis::BigqueryV2::PartitionedColumn, decorator: Google::Apis::BigqueryV2::PartitionedColumn::Representation
2879
+
2880
+ end
2881
+ end
2882
+
2841
2883
  class PerformanceInsights
2842
2884
  # @private
2843
2885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3413,6 +3455,8 @@ module Google
3413
3455
  property :num_time_travel_physical_bytes, :numeric_string => true, as: 'numTimeTravelPhysicalBytes'
3414
3456
  property :num_total_logical_bytes, :numeric_string => true, as: 'numTotalLogicalBytes'
3415
3457
  property :num_total_physical_bytes, :numeric_string => true, as: 'numTotalPhysicalBytes'
3458
+ property :partition_definition, as: 'partitionDefinition', class: Google::Apis::BigqueryV2::PartitioningDefinition, decorator: Google::Apis::BigqueryV2::PartitioningDefinition::Representation
3459
+
3416
3460
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
3417
3461
 
3418
3462
  collection :replicas, as: 'replicas', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
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.65.0
4
+ version: 0.66.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 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.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.66.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: []