google-apis-bigquery_v2 0.70.0 → 0.71.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: 767d29ef3be9ecb9833faa3df39d24f5f278c7246ea7910259e8ba09799b2d6b
4
- data.tar.gz: 27668b9cf7f70554e7241544e7ce26c05e4ca8037509a1177a7452748bafea14
3
+ metadata.gz: ea5bafbc02acad773631d6715b9e33deda84719df82c08d022163a24822584b5
4
+ data.tar.gz: e07f63a83dcef6c6979605fed92d91007b8b34597fa16c8b5d0649051d155451
5
5
  SHA512:
6
- metadata.gz: f855b9e3c303b2b716c8d7130d6949a6560e0a6e29a9f585e50a3b7936dc17b0c9371335823de188dbd9db846ac3ef1f9f592460276ffc12dabfb9ef5a54d9df
7
- data.tar.gz: 5058b9d64b35ef2642fdfb94c7e172b8ac5bf6e675c894dd6fb7a3451dfc66b2061003e1cabe91340deb4a7c6c9c5971f47aff842fd4416b092afb84ade18fd1
6
+ metadata.gz: efaf209becb06b656ab7f8b24f10c1b17d0a9589b245f423576260aff614667f00f620b906a19c293df49c111873998a065a5862fc03195caa7cb7c932bdd62b
7
+ data.tar.gz: 52ee5f852512ecf423398c056297e7d4bf1a8462e138e0864fa986a5f7346fefbbe01a466827a89d7887713ca8ecb6a0bbc178bc16983ebae5f7b556c508622c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.71.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240602
6
+
3
7
  ### v0.70.0 (2024-05-19)
4
8
 
5
9
  * Regenerated using generator version 0.15.0
@@ -1737,10 +1737,10 @@ module Google
1737
1737
  # @return [String]
1738
1738
  attr_accessor :default_collation
1739
1739
 
1740
- # The default encryption key for all tables in the dataset. Once this property
1741
- # is set, all newly-created partitioned tables in the dataset will have
1742
- # encryption key set to this value, unless table creation request (or query)
1743
- # overrides the key.
1740
+ # The default encryption key for all tables in the dataset. After this property
1741
+ # is set, the encryption key of all newly-created tables in the dataset is set
1742
+ # to this value unless the table creation request or query explicitly overrides
1743
+ # the key.
1744
1744
  # Corresponds to the JSON property `defaultEncryptionConfiguration`
1745
1745
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
1746
1746
  attr_accessor :default_encryption_configuration
@@ -1867,6 +1867,16 @@ module Google
1867
1867
  # @return [Fixnum]
1868
1868
  attr_accessor :max_time_travel_hours
1869
1869
 
1870
+ # Optional. The [tags](/bigquery/docs/tags) attached to this dataset. Tag keys
1871
+ # are globally unique. Tag key is expected to be in the namespaced format, for
1872
+ # example "123456789012/environment" where 123456789012 is the ID of the parent
1873
+ # organization or project resource for this tag key. Tag value is expected to be
1874
+ # the short name, for example "Production". See [Tag definitions](/iam/docs/tags-
1875
+ # access-control#definitions) for more details.
1876
+ # Corresponds to the JSON property `resourceTags`
1877
+ # @return [Hash<String,String>]
1878
+ attr_accessor :resource_tags
1879
+
1870
1880
  # Optional. Output only. Restriction config for all tables and dataset. If set,
1871
1881
  # restrict certain accesses on the dataset and all its tables based on the
1872
1882
  # config. See [Data egress](/bigquery/docs/analytics-hub-introduction#
@@ -1939,6 +1949,7 @@ module Google
1939
1949
  @linked_dataset_source = args[:linked_dataset_source] if args.key?(:linked_dataset_source)
1940
1950
  @location = args[:location] if args.key?(:location)
1941
1951
  @max_time_travel_hours = args[:max_time_travel_hours] if args.key?(:max_time_travel_hours)
1952
+ @resource_tags = args[:resource_tags] if args.key?(:resource_tags)
1942
1953
  @restrictions = args[:restrictions] if args.key?(:restrictions)
1943
1954
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1944
1955
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -3364,6 +3375,32 @@ module Google
3364
3375
  end
3365
3376
  end
3366
3377
 
3378
+ # A view can be represented in multiple ways. Each representation has its own
3379
+ # dialect. This message stores the metadata required for these representations.
3380
+ class ForeignViewDefinition
3381
+ include Google::Apis::Core::Hashable
3382
+
3383
+ # Optional. Represents the dialect of the query.
3384
+ # Corresponds to the JSON property `dialect`
3385
+ # @return [String]
3386
+ attr_accessor :dialect
3387
+
3388
+ # Required. The query that defines the view.
3389
+ # Corresponds to the JSON property `query`
3390
+ # @return [String]
3391
+ attr_accessor :query
3392
+
3393
+ def initialize(**args)
3394
+ update!(**args)
3395
+ end
3396
+
3397
+ # Update properties of this object
3398
+ def update!(**args)
3399
+ @dialect = args[:dialect] if args.key?(:dialect)
3400
+ @query = args[:query] if args.key?(:query)
3401
+ end
3402
+ end
3403
+
3367
3404
  # Request message for `GetIamPolicy` method.
3368
3405
  class GetIamPolicyRequest
3369
3406
  include Google::Apis::Core::Hashable
@@ -4289,7 +4326,10 @@ module Google
4289
4326
  attr_accessor :extract
4290
4327
 
4291
4328
  # Optional. Job timeout in milliseconds. If this time limit is exceeded,
4292
- # BigQuery might attempt to stop the job.
4329
+ # BigQuery will attempt to stop a longer job, but may not always succeed in
4330
+ # canceling it before the job completes. For example, a job that takes more than
4331
+ # 60 seconds to complete has a better chance of being stopped than a job that
4332
+ # takes 10 seconds to complete.
4293
4333
  # Corresponds to the JSON property `jobTimeoutMs`
4294
4334
  # @return [Fixnum]
4295
4335
  attr_accessor :job_timeout_ms
@@ -4461,6 +4501,13 @@ module Google
4461
4501
  # @return [Google::Apis::BigqueryV2::Clustering]
4462
4502
  attr_accessor :clustering
4463
4503
 
4504
+ # Optional. Character map supported for column names in CSV/Parquet loads.
4505
+ # Defaults to STRICT and can be overridden by Project Config Service. Using this
4506
+ # option with unsupporting load formats will result in an error.
4507
+ # Corresponds to the JSON property `columnNameCharacterMap`
4508
+ # @return [String]
4509
+ attr_accessor :column_name_character_map
4510
+
4464
4511
  # Optional. Connection properties which can modify the load job behavior.
4465
4512
  # Currently, only the 'session_id' connection property is supported, and is used
4466
4513
  # to resolve _SESSION appearing as the dataset id.
@@ -4769,6 +4816,7 @@ module Google
4769
4816
  @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
4770
4817
  @autodetect = args[:autodetect] if args.key?(:autodetect)
4771
4818
  @clustering = args[:clustering] if args.key?(:clustering)
4819
+ @column_name_character_map = args[:column_name_character_map] if args.key?(:column_name_character_map)
4772
4820
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
4773
4821
  @copy_files_only = args[:copy_files_only] if args.key?(:copy_files_only)
4774
4822
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
@@ -6824,7 +6872,7 @@ module Google
6824
6872
  attr_accessor :enum_as_string
6825
6873
  alias_method :enum_as_string?, :enum_as_string
6826
6874
 
6827
- # Optional. Will indicate how to represent a parquet map if present.
6875
+ # Optional. Indicates how to represent a Parquet map if present.
6828
6876
  # Corresponds to the JSON property `mapTargetType`
6829
6877
  # @return [String]
6830
6878
  attr_accessor :map_target_type
@@ -7748,9 +7796,8 @@ module Google
7748
7796
  class RangePartitioning
7749
7797
  include Google::Apis::Core::Hashable
7750
7798
 
7751
- # Required. [Experimental] The table is partitioned by this field. The field
7752
- # must be a top-level NULLABLE/REQUIRED field. The only supported type is
7753
- # INTEGER/INT64.
7799
+ # Required. The name of the column to partition the table on. It must be a top-
7800
+ # level, INT64 column whose mode is NULLABLE or REQUIRED.
7754
7801
  # Corresponds to the JSON property `field`
7755
7802
  # @return [String]
7756
7803
  attr_accessor :field
@@ -9312,6 +9359,13 @@ module Google
9312
9359
  # @return [Fixnum]
9313
9360
  attr_accessor :num_bytes
9314
9361
 
9362
+ # Output only. Number of physical bytes used by current live data storage. This
9363
+ # data is not kept in real time, and might be delayed by a few seconds to a few
9364
+ # minutes.
9365
+ # Corresponds to the JSON property `numCurrentPhysicalBytes`
9366
+ # @return [Fixnum]
9367
+ attr_accessor :num_current_physical_bytes
9368
+
9315
9369
  # Output only. The number of logical bytes in the table that are considered "
9316
9370
  # long-term storage".
9317
9371
  # Corresponds to the JSON property `numLongTermBytes`
@@ -9499,6 +9553,7 @@ module Google
9499
9553
  @num_active_logical_bytes = args[:num_active_logical_bytes] if args.key?(:num_active_logical_bytes)
9500
9554
  @num_active_physical_bytes = args[:num_active_physical_bytes] if args.key?(:num_active_physical_bytes)
9501
9555
  @num_bytes = args[:num_bytes] if args.key?(:num_bytes)
9556
+ @num_current_physical_bytes = args[:num_current_physical_bytes] if args.key?(:num_current_physical_bytes)
9502
9557
  @num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
9503
9558
  @num_long_term_logical_bytes = args[:num_long_term_logical_bytes] if args.key?(:num_long_term_logical_bytes)
9504
9559
  @num_long_term_physical_bytes = args[:num_long_term_physical_bytes] if args.key?(:num_long_term_physical_bytes)
@@ -11211,7 +11266,8 @@ module Google
11211
11266
  include Google::Apis::Core::Hashable
11212
11267
 
11213
11268
  # Optional. The exact time when the dataset was deleted. If not specified, the
11214
- # most recently deleted version is undeleted.
11269
+ # most recently deleted version is undeleted. Undeleting a dataset using
11270
+ # deletion time is not supported.
11215
11271
  # Corresponds to the JSON property `deletionTime`
11216
11272
  # @return [String]
11217
11273
  attr_accessor :deletion_time
@@ -11290,6 +11346,11 @@ module Google
11290
11346
  class ViewDefinition
11291
11347
  include Google::Apis::Core::Hashable
11292
11348
 
11349
+ # Optional. Foreign view representations.
11350
+ # Corresponds to the JSON property `foreignDefinitions`
11351
+ # @return [Array<Google::Apis::BigqueryV2::ForeignViewDefinition>]
11352
+ attr_accessor :foreign_definitions
11353
+
11293
11354
  # Represents privacy policy that contains the privacy requirements specified by
11294
11355
  # the data owner. Currently, this is only supported on views.
11295
11356
  # Corresponds to the JSON property `privacyPolicy`
@@ -11329,6 +11390,7 @@ module Google
11329
11390
 
11330
11391
  # Update properties of this object
11331
11392
  def update!(**args)
11393
+ @foreign_definitions = args[:foreign_definitions] if args.key?(:foreign_definitions)
11332
11394
  @privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy)
11333
11395
  @query = args[:query] if args.key?(:query)
11334
11396
  @use_explicit_column_names = args[:use_explicit_column_names] if args.key?(:use_explicit_column_names)
@@ -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.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240423"
25
+ REVISION = "20240602"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,12 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class ForeignViewDefinition
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
439
445
  class GetIamPolicyRequest
440
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
447
 
@@ -1766,6 +1772,7 @@ module Google
1766
1772
 
1767
1773
  property :location, as: 'location'
1768
1774
  property :max_time_travel_hours, :numeric_string => true, as: 'maxTimeTravelHours'
1775
+ hash :resource_tags, as: 'resourceTags'
1769
1776
  property :restrictions, as: 'restrictions', class: Google::Apis::BigqueryV2::RestrictionConfig, decorator: Google::Apis::BigqueryV2::RestrictionConfig::Representation
1770
1777
 
1771
1778
  property :satisfies_pzi, as: 'satisfiesPzi'
@@ -2118,6 +2125,14 @@ module Google
2118
2125
  end
2119
2126
  end
2120
2127
 
2128
+ class ForeignViewDefinition
2129
+ # @private
2130
+ class Representation < Google::Apis::Core::JsonRepresentation
2131
+ property :dialect, as: 'dialect'
2132
+ property :query, as: 'query'
2133
+ end
2134
+ end
2135
+
2121
2136
  class GetIamPolicyRequest
2122
2137
  # @private
2123
2138
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2420,6 +2435,7 @@ module Google
2420
2435
  property :autodetect, as: 'autodetect'
2421
2436
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
2422
2437
 
2438
+ property :column_name_character_map, as: 'columnNameCharacterMap'
2423
2439
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
2424
2440
 
2425
2441
  property :copy_files_only, as: 'copyFilesOnly'
@@ -3608,6 +3624,7 @@ module Google
3608
3624
  property :num_active_logical_bytes, :numeric_string => true, as: 'numActiveLogicalBytes'
3609
3625
  property :num_active_physical_bytes, :numeric_string => true, as: 'numActivePhysicalBytes'
3610
3626
  property :num_bytes, :numeric_string => true, as: 'numBytes'
3627
+ property :num_current_physical_bytes, :numeric_string => true, as: 'numCurrentPhysicalBytes'
3611
3628
  property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
3612
3629
  property :num_long_term_logical_bytes, :numeric_string => true, as: 'numLongTermLogicalBytes'
3613
3630
  property :num_long_term_physical_bytes, :numeric_string => true, as: 'numLongTermPhysicalBytes'
@@ -4076,6 +4093,8 @@ module Google
4076
4093
  class ViewDefinition
4077
4094
  # @private
4078
4095
  class Representation < Google::Apis::Core::JsonRepresentation
4096
+ collection :foreign_definitions, as: 'foreignDefinitions', class: Google::Apis::BigqueryV2::ForeignViewDefinition, decorator: Google::Apis::BigqueryV2::ForeignViewDefinition::Representation
4097
+
4079
4098
  property :privacy_policy, as: 'privacyPolicy', class: Google::Apis::BigqueryV2::PrivacyPolicy, decorator: Google::Apis::BigqueryV2::PrivacyPolicy::Representation
4080
4099
 
4081
4100
  property :query, as: 'query'
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.70.0
4
+ version: 0.71.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-09 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.71.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: []