google-apis-bigquery_v2 0.72.0 → 0.73.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: d7038ac09945fd805691e3fe0865f4535c9cc55c756ce26ecd17fcd697029abc
4
- data.tar.gz: 76af76a2e31e2eb3c2d1c0bb83e21c50e768ea276bfe24d006698a7520ec2bf5
3
+ metadata.gz: c6cf3a4ec4c0427cfb9f75ce9d56761bb2fafa4963f3427e715553fbc019daa6
4
+ data.tar.gz: c9c7e7a99bf5c49cf1268a955b926b4a9cc4a35b4c43923a650d96708d478818
5
5
  SHA512:
6
- metadata.gz: b3535ab6c7a52ccbc0bfb64f8b98f7c123ce4feeb4c28dfb28b681ff203a763c8c9d36c4c1aaadd47f46c890580e2ce53051a8e726f190a8274840afa58d9152
7
- data.tar.gz: 1782977ddeafd3ce28154d8b5c070cfa33309977bb6ece07992189a724c7d2508ec2ed36e8a8b30fc5aa1e7dfd84b8039afa514fd0cdb534b7c285b3e5be8ac3
6
+ metadata.gz: bd26b7e773dd49ebceea4179bf6ea698e5b916a8c8128b71f6964dea0c3c64b16b49a747b7e9243f964cb6c7bb7dcde10754391d672ad0ab9789769aaccf61fe
7
+ data.tar.gz: 624835be67d08cf72a28455703848b9581fa52a18952bc13882debc4efa4525541ebc2b746987e0c6a717834e4672a5ce9a4103dfcc95ff14a7f0ab753374eef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.73.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240629
6
+
3
7
  ### v0.72.0 (2024-06-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240616
@@ -667,8 +667,8 @@ module Google
667
667
 
668
668
  # Required. The connection specifying the credentials to be used to read and
669
669
  # write to external storage, such as Cloud Storage. The connection_id can have
670
- # the form "<project\_id>.<location\_id>.<connection\_id>" or "projects/<project\
671
- # _id>/locations/<location\_id>/connections/<connection\_id>".
670
+ # the form ``project`.`location`.`connection_id`` or `projects/`project`/
671
+ # locations/`location`/connections/`connection_id`".
672
672
  # Corresponds to the JSON property `connectionId`
673
673
  # @return [String]
674
674
  attr_accessor :connection_id
@@ -680,7 +680,7 @@ module Google
680
680
 
681
681
  # Required. The fully qualified location prefix of the external folder where
682
682
  # table data is stored. The '*' wildcard character is not allowed. The URI
683
- # should be in the format "gs://bucket/path_to_table/"
683
+ # should be in the format `gs://bucket/path_to_table/`
684
684
  # Corresponds to the JSON property `storageUri`
685
685
  # @return [String]
686
686
  attr_accessor :storage_uri
@@ -758,10 +758,10 @@ module Google
758
758
  alias_method :only_read_latest?, :only_read_latest
759
759
 
760
760
  # [Required] Qualifier of the column. Columns in the parent column family that
761
- # has this exact qualifier are exposed as . field. If the qualifier is valid UTF-
762
- # 8 string, it can be specified in the qualifier_string field. Otherwise, a base-
763
- # 64 encoded value must be set to qualifier_encoded. The column field name is
764
- # the same as the column qualifier. However, if the qualifier is not a valid
761
+ # has this exact qualifier are exposed as `.` field. If the qualifier is valid
762
+ # UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a
763
+ # base-64 encoded value must be set to qualifier_encoded. The column field name
764
+ # is the same as the column qualifier. However, if the qualifier is not a valid
765
765
  # BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must
766
766
  # be provided as field_name.
767
767
  # Corresponds to the JSON property `qualifierEncoded`
@@ -805,8 +805,8 @@ module Google
805
805
 
806
806
  # Optional. Lists of columns that should be exposed as individual fields as
807
807
  # opposed to a list of (column name, value) pairs. All columns whose qualifier
808
- # matches a qualifier in this list can be accessed as .. Other columns can be
809
- # accessed as a list through .Column field.
808
+ # matches a qualifier in this list can be accessed as `.`. Other columns can be
809
+ # accessed as a list through the `.Column` field.
810
810
  # Corresponds to the JSON property `columns`
811
811
  # @return [Array<Google::Apis::BigqueryV2::BigtableColumn>]
812
812
  attr_accessor :columns
@@ -1701,7 +1701,7 @@ module Google
1701
1701
  end
1702
1702
  end
1703
1703
 
1704
- #
1704
+ # Represents a BigQuery dataset.
1705
1705
  class Dataset
1706
1706
  include Google::Apis::Core::Hashable
1707
1707
 
@@ -1723,7 +1723,7 @@ module Google
1723
1723
  # @return [Fixnum]
1724
1724
  attr_accessor :creation_time
1725
1725
 
1726
- # Required. A reference that identifies the dataset.
1726
+ # Identifier for a dataset.
1727
1727
  # Corresponds to the JSON property `datasetReference`
1728
1728
  # @return [Google::Apis::BigqueryV2::DatasetReference]
1729
1729
  attr_accessor :dataset_reference
@@ -1740,10 +1740,7 @@ module Google
1740
1740
  # @return [String]
1741
1741
  attr_accessor :default_collation
1742
1742
 
1743
- # The default encryption key for all tables in the dataset. After this property
1744
- # is set, the encryption key of all newly-created tables in the dataset is set
1745
- # to this value unless the table creation request or query explicitly overrides
1746
- # the key.
1743
+ # Configuration for Cloud KMS encryption settings.
1747
1744
  # Corresponds to the JSON property `defaultEncryptionConfiguration`
1748
1745
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
1749
1746
  attr_accessor :default_encryption_configuration
@@ -1837,7 +1834,9 @@ module Google
1837
1834
 
1838
1835
  # The labels associated with this dataset. You can use these to organize and
1839
1836
  # group your datasets. You can set this property when inserting or updating a
1840
- # dataset. See Creating and Updating Dataset Labels for more information.
1837
+ # dataset. See [Creating and Updating Dataset Labels](https://cloud.google.com/
1838
+ # bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels)
1839
+ # for more information.
1841
1840
  # Corresponds to the JSON property `labels`
1842
1841
  # @return [Hash<String,String>]
1843
1842
  attr_accessor :labels
@@ -1995,11 +1994,11 @@ module Google
1995
1994
  attr_accessor :iam_member
1996
1995
 
1997
1996
  # An IAM role ID that should be granted to the user, group, or domain specified
1998
- # in this access entry. The following legacy mappings will be applied: OWNER <=>
1999
- # roles/bigquery.dataOwner WRITER <=> roles/bigquery.dataEditor READER <=> roles/
2000
- # bigquery.dataViewer This field will accept any of the above formats, but will
2001
- # return only the legacy format. For example, if you set this field to "roles/
2002
- # bigquery.dataOwner", it will be returned back as "OWNER".
1997
+ # in this access entry. The following legacy mappings will be applied: * `OWNER`:
1998
+ # `roles/bigquery.dataOwner` * `WRITER`: `roles/bigquery.dataEditor` * `READER`:
1999
+ # `roles/bigquery.dataViewer` This field will accept any of the above formats,
2000
+ # but will return only the legacy format. For example, if you set this field to "
2001
+ # roles/bigquery.dataOwner", it will be returned back as "OWNER".
2003
2002
  # Corresponds to the JSON property `role`
2004
2003
  # @return [String]
2005
2004
  attr_accessor :role
@@ -2009,9 +2008,9 @@ module Google
2009
2008
  # @return [Google::Apis::BigqueryV2::RoutineReference]
2010
2009
  attr_accessor :routine
2011
2010
 
2012
- # [Pick one] A special group to grant access to. Possible values include:
2013
- # projectOwners: Owners of the enclosing project. projectReaders: Readers of the
2014
- # enclosing project. projectWriters: Writers of the enclosing project.
2011
+ # [Pick one] A special group to grant access to. Possible values include: *
2012
+ # projectOwners: Owners of the enclosing project. * projectReaders: Readers of
2013
+ # the enclosing project. * projectWriters: Writers of the enclosing project. *
2015
2014
  # allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-
2016
2015
  # named IAM members.
2017
2016
  # Corresponds to the JSON property `specialGroup`
@@ -2087,7 +2086,7 @@ module Google
2087
2086
  class DatasetAccessEntry
2088
2087
  include Google::Apis::Core::Hashable
2089
2088
 
2090
- # The dataset this entry applies to
2089
+ # Identifier for a dataset.
2091
2090
  # Corresponds to the JSON property `dataset`
2092
2091
  # @return [Google::Apis::BigqueryV2::DatasetReference]
2093
2092
  attr_accessor :dataset
@@ -2164,8 +2163,7 @@ module Google
2164
2163
  class Dataset
2165
2164
  include Google::Apis::Core::Hashable
2166
2165
 
2167
- # The dataset reference. Use this property to access specific parts of the
2168
- # dataset's ID, such as project ID or dataset ID.
2166
+ # Identifier for a dataset.
2169
2167
  # Corresponds to the JSON property `datasetReference`
2170
2168
  # @return [Google::Apis::BigqueryV2::DatasetReference]
2171
2169
  attr_accessor :dataset_reference
@@ -2213,7 +2211,7 @@ module Google
2213
2211
  end
2214
2212
  end
2215
2213
 
2216
- #
2214
+ # Identifier for a dataset.
2217
2215
  class DatasetReference
2218
2216
  include Google::Apis::Core::Hashable
2219
2217
 
@@ -2505,7 +2503,7 @@ module Google
2505
2503
  end
2506
2504
  end
2507
2505
 
2508
- #
2506
+ # Configuration for Cloud KMS encryption settings.
2509
2507
  class EncryptionConfiguration
2510
2508
  include Google::Apis::Core::Hashable
2511
2509
 
@@ -3079,8 +3077,8 @@ module Google
3079
3077
 
3080
3078
  # Optional. The connection specifying the credentials to be used to read
3081
3079
  # external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id
3082
- # can have the form "<project\_id>.<location\_id>.<connection\_id>" or "projects/
3083
- # <project\_id>/locations/<location\_id>/connections/<connection\_id>".
3080
+ # can have the form ``project_id`.`location_id`;`connection_id`` or `projects/`
3081
+ # project_id`/locations/`location_id`/connections/`connection_id``.
3084
3082
  # Corresponds to the JSON property `connectionId`
3085
3083
  # @return [String]
3086
3084
  attr_accessor :connection_id
@@ -4575,7 +4573,7 @@ module Google
4575
4573
  # @return [Array<String>]
4576
4574
  attr_accessor :decimal_target_types
4577
4575
 
4578
- # Custom encryption configuration (e.g., Cloud KMS keys)
4576
+ # Configuration for Cloud KMS encryption settings.
4579
4577
  # Corresponds to the JSON property `destinationEncryptionConfiguration`
4580
4578
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
4581
4579
  attr_accessor :destination_encryption_configuration
@@ -4908,16 +4906,12 @@ module Google
4908
4906
  attr_accessor :create_session
4909
4907
  alias_method :create_session?, :create_session
4910
4908
 
4911
- # Optional. Specifies the default dataset to use for unqualified table names in
4912
- # the query. This setting does not alter behavior of unqualified dataset names.
4913
- # Setting the system variable `@@dataset_id` achieves the same behavior. See
4914
- # https://cloud.google.com/bigquery/docs/reference/system-variables for more
4915
- # information on system variables.
4909
+ # Identifier for a dataset.
4916
4910
  # Corresponds to the JSON property `defaultDataset`
4917
4911
  # @return [Google::Apis::BigqueryV2::DatasetReference]
4918
4912
  attr_accessor :default_dataset
4919
4913
 
4920
- # Custom encryption configuration (e.g., Cloud KMS keys)
4914
+ # Configuration for Cloud KMS encryption settings.
4921
4915
  # Corresponds to the JSON property `destinationEncryptionConfiguration`
4922
4916
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
4923
4917
  attr_accessor :destination_encryption_configuration
@@ -5119,7 +5113,7 @@ module Google
5119
5113
  # @return [String]
5120
5114
  attr_accessor :create_disposition
5121
5115
 
5122
- # Custom encryption configuration (e.g., Cloud KMS keys).
5116
+ # Configuration for Cloud KMS encryption settings.
5123
5117
  # Corresponds to the JSON property `destinationEncryptionConfiguration`
5124
5118
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
5125
5119
  attr_accessor :destination_encryption_configuration
@@ -5560,7 +5554,7 @@ module Google
5560
5554
  attr_accessor :cache_hit
5561
5555
  alias_method :cache_hit?, :cache_hit
5562
5556
 
5563
- # Output only. Referenced dataset for DCL statement.
5557
+ # Identifier for a dataset.
5564
5558
  # Corresponds to the JSON property `dclTargetDataset`
5565
5559
  # @return [Google::Apis::BigqueryV2::DatasetReference]
5566
5560
  attr_accessor :dcl_target_dataset
@@ -5593,8 +5587,7 @@ module Google
5593
5587
  # @return [String]
5594
5588
  attr_accessor :ddl_operation_performed
5595
5589
 
5596
- # Output only. The DDL target dataset. Present only for CREATE/ALTER/DROP SCHEMA(
5597
- # dataset) queries.
5590
+ # Identifier for a dataset.
5598
5591
  # Corresponds to the JSON property `ddlTargetDataset`
5599
5592
  # @return [Google::Apis::BigqueryV2::DatasetReference]
5600
5593
  attr_accessor :ddl_target_dataset
@@ -6164,7 +6157,7 @@ module Google
6164
6157
  class LinkedDatasetSource
6165
6158
  include Google::Apis::Core::Hashable
6166
6159
 
6167
- # The source dataset reference contains project numbers and not project ids.
6160
+ # Identifier for a dataset.
6168
6161
  # Corresponds to the JSON property `sourceDataset`
6169
6162
  # @return [Google::Apis::BigqueryV2::DatasetReference]
6170
6163
  attr_accessor :source_dataset
@@ -6581,10 +6574,7 @@ module Google
6581
6574
  # @return [String]
6582
6575
  attr_accessor :description
6583
6576
 
6584
- # Custom encryption configuration (e.g., Cloud KMS keys). This shows the
6585
- # encryption configuration of the model data while stored in BigQuery storage.
6586
- # This field can be used with PatchModel to update encryption key for an already
6587
- # encrypted model.
6577
+ # Configuration for Cloud KMS encryption settings.
6588
6578
  # Corresponds to the JSON property `encryptionConfiguration`
6589
6579
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
6590
6580
  attr_accessor :encryption_configuration
@@ -7451,9 +7441,7 @@ module Google
7451
7441
  attr_accessor :create_session
7452
7442
  alias_method :create_session?, :create_session
7453
7443
 
7454
- # Optional. Specifies the default datasetId and projectId to assume for any
7455
- # unqualified table names in the query. If not set, all table names in the query
7456
- # string must be qualified in the format 'datasetId.tableId'.
7444
+ # Identifier for a dataset.
7457
7445
  # Corresponds to the JSON property `defaultDataset`
7458
7446
  # @return [Google::Apis::BigqueryV2::DatasetReference]
7459
7447
  attr_accessor :default_dataset
@@ -9259,7 +9247,7 @@ module Google
9259
9247
  # @return [String]
9260
9248
  attr_accessor :description
9261
9249
 
9262
- # Custom encryption configuration (e.g., Cloud KMS keys).
9250
+ # Configuration for Cloud KMS encryption settings.
9263
9251
  # Corresponds to the JSON property `encryptionConfiguration`
9264
9252
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
9265
9253
  attr_accessor :encryption_configuration
@@ -10301,6 +10289,12 @@ module Google
10301
10289
  # @return [String]
10302
10290
  attr_accessor :explanation
10303
10291
 
10292
+ # Duration since last refresh as of this job for managed tables (indicates
10293
+ # metadata cache staleness as seen by this job).
10294
+ # Corresponds to the JSON property `staleness`
10295
+ # @return [String]
10296
+ attr_accessor :staleness
10297
+
10304
10298
  # Metadata caching eligible table referenced in the query.
10305
10299
  # Corresponds to the JSON property `tableReference`
10306
10300
  # @return [Google::Apis::BigqueryV2::TableReference]
@@ -10323,6 +10317,7 @@ module Google
10323
10317
  # Update properties of this object
10324
10318
  def update!(**args)
10325
10319
  @explanation = args[:explanation] if args.key?(:explanation)
10320
+ @staleness = args[:staleness] if args.key?(:staleness)
10326
10321
  @table_reference = args[:table_reference] if args.key?(:table_reference)
10327
10322
  @table_type = args[:table_type] if args.key?(:table_type)
10328
10323
  @unused_reason = args[:unused_reason] if args.key?(:unused_reason)
@@ -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.72.0"
19
+ GEM_VERSION = "0.73.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 = "20240616"
25
+ REVISION = "20240629"
26
26
  end
27
27
  end
28
28
  end
@@ -3863,6 +3863,7 @@ module Google
3863
3863
  # @private
3864
3864
  class Representation < Google::Apis::Core::JsonRepresentation
3865
3865
  property :explanation, as: 'explanation'
3866
+ property :staleness, as: 'staleness'
3866
3867
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
3867
3868
 
3868
3869
  property :table_type, as: 'tableType'
@@ -167,9 +167,9 @@ module Google
167
167
  # Whether to list all datasets, including hidden ones
168
168
  # @param [String] filter
169
169
  # An expression for filtering the results of the request by label. The syntax is
170
- # \"labels.<name>[:<value>]\". Multiple filters can be ANDed together by
171
- # connecting with a space. Example: \"labels.department:receiving labels.active\"
172
- # . See [Filtering datasets using labels](/bigquery/docs/filtering-labels#
170
+ # `labels.[:]`. Multiple filters can be ANDed together by connecting with a
171
+ # space. Example: `labels.department:receiving labels.active`. See [Filtering
172
+ # datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#
173
173
  # filtering_datasets_using_labels) for details.
174
174
  # @param [Fixnum] max_results
175
175
  # The maximum number of results to return in a single response page. Leverage
@@ -331,8 +331,8 @@ module Google
331
331
  # Required. Job ID of the job to cancel
332
332
  # @param [String] location
333
333
  # The geographic location of the job. You must specify the location to run the
334
- # job for the following scenarios: - If the location to run a job is not in the `
335
- # us` or the `eu` multi-regional location - If the job's location is in a single
334
+ # job for the following scenarios: * If the location to run a job is not in the `
335
+ # us` or the `eu` multi-regional location * If the job's location is in a single
336
336
  # region (for example, `us-central1`) For more information, see https://cloud.
337
337
  # google.com/bigquery/docs/locations#specifying_your_location.
338
338
  # @param [String] fields
@@ -411,8 +411,8 @@ module Google
411
411
  # Required. Job ID of the requested job.
412
412
  # @param [String] location
413
413
  # The geographic location of the job. You must specify the location to run the
414
- # job for the following scenarios: - If the location to run a job is not in the `
415
- # us` or the `eu` multi-regional location - If the job's location is in a single
414
+ # job for the following scenarios: * If the location to run a job is not in the `
415
+ # us` or the `eu` multi-regional location * If the job's location is in a single
416
416
  # region (for example, `us-central1`) For more information, see https://cloud.
417
417
  # google.com/bigquery/docs/locations#specifying_your_location.
418
418
  # @param [String] fields
@@ -453,8 +453,8 @@ module Google
453
453
  # Optional. Output timestamp as usec int64. Default is false.
454
454
  # @param [String] location
455
455
  # The geographic location of the job. You must specify the location to run the
456
- # job for the following scenarios: - If the location to run a job is not in the `
457
- # us` or the `eu` multi-regional location - If the job's location is in a single
456
+ # job for the following scenarios: * If the location to run a job is not in the `
457
+ # us` or the `eu` multi-regional location * If the job's location is in a single
458
458
  # region (for example, `us-central1`) For more information, see https://cloud.
459
459
  # google.com/bigquery/docs/locations#specifying_your_location.
460
460
  # @param [Fixnum] max_results
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.72.0
4
+ version: 0.73.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-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.73.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: []