google-apis-bigquery_v2 0.57.0 → 0.59.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: e1f77fe304de033da3a8270f6cf61b94ef168ed4d0bcce36b2350e4c9f9baf50
4
- data.tar.gz: 5a54609029acc737e9af7a1175e3335c509fb6ba77c7560bc4a5df1f1968753d
3
+ metadata.gz: 78c31b8164246d4ce4392b330cde3cfc8f210f4ac50f1e96c0a0e8dac8be847f
4
+ data.tar.gz: 5db92d6e90f37f68eeba7f8689facc9646609be55c63129b4bc755dbb309b153
5
5
  SHA512:
6
- metadata.gz: 79cc2a0d44f3c8a8e8ca31ed3814c9e29ab14d522a6ece9c066581e4281cbf54ebd4188a190852fe61c64aedd588cfa426a78e0228577798e20338400e31465a
7
- data.tar.gz: b73d4fa990bec8f2981126e98f5b190d59ebb0c3f28dbb3190626ac405f94a0d643768edad9a4efd6b1ce17d8c3d5bcc134cacb8b8bf0c92ac908afbe5fe1eef
6
+ metadata.gz: 2c74375655a890eec6f4504d57a5f1d198777ed37cc4c0ea26e3124893bada8cdde733dc463e6a6f45bf73d54bed42014e6066dd6fc152a697af8d7f2aa33db0
7
+ data.tar.gz: 5d2b71d4c96774d73514abeef496635de74771da190d5c6bbdeb21fddadc677de2a1cec24d7a9a563aed3ee2f53db52cbbf22f2d46dec3d64dd896f9dbb8e620
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.59.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230812
6
+
7
+ ### v0.58.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230805
10
+
3
11
  ### v0.57.0 (2023-07-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230715
@@ -622,6 +622,49 @@ module Google
622
622
  end
623
623
  end
624
624
 
625
+ #
626
+ class BigLakeConfiguration
627
+ include Google::Apis::Core::Hashable
628
+
629
+ # [Required] Required and immutable. Credential reference for accessing external
630
+ # storage system. Normalized as project_id.location_id.connection_id.
631
+ # Corresponds to the JSON property `connectionId`
632
+ # @return [String]
633
+ attr_accessor :connection_id
634
+
635
+ # [Required] Required and immutable. Open source file format that the table data
636
+ # is stored in. Currently only PARQUET is supported.
637
+ # Corresponds to the JSON property `fileFormat`
638
+ # @return [String]
639
+ attr_accessor :file_format
640
+
641
+ # [Required] Required and immutable. Fully qualified location prefix of the
642
+ # external folder where data is stored. Normalized to standard format: "gs:////".
643
+ # Starts with "gs://" rather than "/bigstore/". Ends with "/". Does not contain
644
+ # "*". See also BigLakeStorageMetadata on how it is used.
645
+ # Corresponds to the JSON property `storageUri`
646
+ # @return [String]
647
+ attr_accessor :storage_uri
648
+
649
+ # [Required] Required and immutable. Open source file format that the table data
650
+ # is stored in. Currently only PARQUET is supported.
651
+ # Corresponds to the JSON property `tableFormat`
652
+ # @return [String]
653
+ attr_accessor :table_format
654
+
655
+ def initialize(**args)
656
+ update!(**args)
657
+ end
658
+
659
+ # Update properties of this object
660
+ def update!(**args)
661
+ @connection_id = args[:connection_id] if args.key?(:connection_id)
662
+ @file_format = args[:file_format] if args.key?(:file_format)
663
+ @storage_uri = args[:storage_uri] if args.key?(:storage_uri)
664
+ @table_format = args[:table_format] if args.key?(:table_format)
665
+ end
666
+ end
667
+
625
668
  #
626
669
  class BigQueryModelTraining
627
670
  include Google::Apis::Core::Hashable
@@ -1644,6 +1687,12 @@ module Google
1644
1687
  # @return [String]
1645
1688
  attr_accessor :etag
1646
1689
 
1690
+ # [Optional] Information about the external metadata storage where the dataset
1691
+ # is defined. Filled out when the dataset type is EXTERNAL.
1692
+ # Corresponds to the JSON property `externalDatasetReference`
1693
+ # @return [Google::Apis::BigqueryV2::ExternalDatasetReference]
1694
+ attr_accessor :external_dataset_reference
1695
+
1647
1696
  # [Optional] A descriptive name for the dataset.
1648
1697
  # Corresponds to the JSON property `friendlyName`
1649
1698
  # @return [String]
@@ -1732,6 +1781,7 @@ module Google
1732
1781
  @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
1733
1782
  @description = args[:description] if args.key?(:description)
1734
1783
  @etag = args[:etag] if args.key?(:etag)
1784
+ @external_dataset_reference = args[:external_dataset_reference] if args.key?(:external_dataset_reference)
1735
1785
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1736
1786
  @id = args[:id] if args.key?(:id)
1737
1787
  @is_case_insensitive = args[:is_case_insensitive] if args.key?(:is_case_insensitive)
@@ -2805,6 +2855,33 @@ module Google
2805
2855
  end
2806
2856
  end
2807
2857
 
2858
+ #
2859
+ class ExternalDatasetReference
2860
+ include Google::Apis::Core::Hashable
2861
+
2862
+ # [Required] The connection id that is used to access the external_source.
2863
+ # Format: projects/`project_id`/locations/`location_id`/connections/`
2864
+ # connection_id`
2865
+ # Corresponds to the JSON property `connection`
2866
+ # @return [String]
2867
+ attr_accessor :connection
2868
+
2869
+ # [Required] External source that backs this dataset.
2870
+ # Corresponds to the JSON property `externalSource`
2871
+ # @return [String]
2872
+ attr_accessor :external_source
2873
+
2874
+ def initialize(**args)
2875
+ update!(**args)
2876
+ end
2877
+
2878
+ # Update properties of this object
2879
+ def update!(**args)
2880
+ @connection = args[:connection] if args.key?(:connection)
2881
+ @external_source = args[:external_source] if args.key?(:external_source)
2882
+ end
2883
+ end
2884
+
2808
2885
  # Representative value of a single feature within the cluster.
2809
2886
  class FeatureValue
2810
2887
  include Google::Apis::Core::Hashable
@@ -3364,7 +3441,7 @@ module Google
3364
3441
 
3365
3442
  # [Output-only] Specifies the base table involved in the reason that no search
3366
3443
  # index was used.
3367
- # Corresponds to the JSON property `base_table`
3444
+ # Corresponds to the JSON property `baseTable`
3368
3445
  # @return [Google::Apis::BigqueryV2::TableReference]
3369
3446
  attr_accessor :base_table
3370
3447
 
@@ -3375,7 +3452,7 @@ module Google
3375
3452
  attr_accessor :code
3376
3453
 
3377
3454
  # [Output-only] Specifies the name of the unused search index, if available.
3378
- # Corresponds to the JSON property `index_name`
3455
+ # Corresponds to the JSON property `indexName`
3379
3456
  # @return [String]
3380
3457
  attr_accessor :index_name
3381
3458
 
@@ -5096,12 +5173,12 @@ module Google
5096
5173
  include Google::Apis::Core::Hashable
5097
5174
 
5098
5175
  # [Output-only] Number of logical bytes copied to the destination table.
5099
- # Corresponds to the JSON property `copied_logical_bytes`
5176
+ # Corresponds to the JSON property `copiedLogicalBytes`
5100
5177
  # @return [Fixnum]
5101
5178
  attr_accessor :copied_logical_bytes
5102
5179
 
5103
5180
  # [Output-only] Number of rows copied to the destination table.
5104
- # Corresponds to the JSON property `copied_rows`
5181
+ # Corresponds to the JSON property `copiedRows`
5105
5182
  # @return [Fixnum]
5106
5183
  attr_accessor :copied_rows
5107
5184
 
@@ -5277,7 +5354,7 @@ module Google
5277
5354
 
5278
5355
  # [Optional] Allow non incremental materialized view definition. The default
5279
5356
  # value is "false".
5280
- # Corresponds to the JSON property `allow_non_incremental_definition`
5357
+ # Corresponds to the JSON property `allowNonIncrementalDefinition`
5281
5358
  # @return [Boolean]
5282
5359
  attr_accessor :allow_non_incremental_definition
5283
5360
  alias_method :allow_non_incremental_definition?, :allow_non_incremental_definition
@@ -5686,22 +5763,22 @@ module Google
5686
5763
  # evaluates to `true`. A condition can add constraints based on attributes of
5687
5764
  # the request, the resource, or both. To learn which resources support
5688
5765
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5689
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
5766
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
5690
5767
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
5691
5768
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
5692
5769
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
5693
5770
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
5694
5771
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
5695
5772
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
5696
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
5697
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
5698
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
5699
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
5700
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
5701
- # access description: Does not grant access after Sep 2020 expression: request.
5702
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
5703
- # a description of IAM and its features, see the [IAM documentation](https://
5704
- # cloud.google.com/iam/docs/).
5773
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
5774
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
5775
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
5776
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
5777
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
5778
+ # title: expirable access description: Does not grant access after Sep 2020
5779
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
5780
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
5781
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
5705
5782
  class Policy
5706
5783
  include Google::Apis::Core::Hashable
5707
5784
 
@@ -6592,6 +6669,11 @@ module Google
6592
6669
  # @return [Fixnum]
6593
6670
  attr_accessor :max_batching_rows
6594
6671
 
6672
+ # Output only. The model version for LLM.
6673
+ # Corresponds to the JSON property `remoteModelVersion`
6674
+ # @return [String]
6675
+ attr_accessor :remote_model_version
6676
+
6595
6677
  # Output only. The remote service type for remote model.
6596
6678
  # Corresponds to the JSON property `remoteServiceType`
6597
6679
  # @return [String]
@@ -6606,6 +6688,7 @@ module Google
6606
6688
  @connection = args[:connection] if args.key?(:connection)
6607
6689
  @endpoint = args[:endpoint] if args.key?(:endpoint)
6608
6690
  @max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
6691
+ @remote_model_version = args[:remote_model_version] if args.key?(:remote_model_version)
6609
6692
  @remote_service_type = args[:remote_service_type] if args.key?(:remote_service_type)
6610
6693
  end
6611
6694
  end
@@ -6625,6 +6708,12 @@ module Google
6625
6708
  # @return [Fixnum]
6626
6709
  attr_accessor :creation_time
6627
6710
 
6711
+ # Optional. Data governance specific option, if the value is DATA_MASKING, the
6712
+ # function will be validated as masking functions.
6713
+ # Corresponds to the JSON property `dataGovernanceType`
6714
+ # @return [String]
6715
+ attr_accessor :data_governance_type
6716
+
6628
6717
  # Required. The body of the routine. For functions, this is the expression in
6629
6718
  # the AS clause. If language=SQL, it is the substring inside (but excluding) the
6630
6719
  # parentheses. For example, for the function created with the following
@@ -6725,6 +6814,7 @@ module Google
6725
6814
  def update!(**args)
6726
6815
  @arguments = args[:arguments] if args.key?(:arguments)
6727
6816
  @creation_time = args[:creation_time] if args.key?(:creation_time)
6817
+ @data_governance_type = args[:data_governance_type] if args.key?(:data_governance_type)
6728
6818
  @definition_body = args[:definition_body] if args.key?(:definition_body)
6729
6819
  @description = args[:description] if args.key?(:description)
6730
6820
  @determinism_level = args[:determinism_level] if args.key?(:determinism_level)
@@ -6992,9 +7082,9 @@ module Google
6992
7082
  # When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why
6993
7083
  # index was not used in all or part of the search query. If index_usage_mode is
6994
7084
  # FULLLY_USED, this field is not populated.
6995
- # Corresponds to the JSON property `indexUnusedReason`
7085
+ # Corresponds to the JSON property `indexUnusedReasons`
6996
7086
  # @return [Array<Google::Apis::BigqueryV2::IndexUnusedReason>]
6997
- attr_accessor :index_unused_reason
7087
+ attr_accessor :index_unused_reasons
6998
7088
 
6999
7089
  # Specifies index usage mode for the query.
7000
7090
  # Corresponds to the JSON property `indexUsageMode`
@@ -7007,7 +7097,7 @@ module Google
7007
7097
 
7008
7098
  # Update properties of this object
7009
7099
  def update!(**args)
7010
- @index_unused_reason = args[:index_unused_reason] if args.key?(:index_unused_reason)
7100
+ @index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
7011
7101
  @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
7012
7102
  end
7013
7103
  end
@@ -7046,22 +7136,22 @@ module Google
7046
7136
  # evaluates to `true`. A condition can add constraints based on attributes of
7047
7137
  # the request, the resource, or both. To learn which resources support
7048
7138
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
7049
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
7139
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
7050
7140
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
7051
7141
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
7052
7142
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
7053
7143
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
7054
7144
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
7055
7145
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
7056
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
7057
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
7058
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
7059
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
7060
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
7061
- # access description: Does not grant access after Sep 2020 expression: request.
7062
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
7063
- # a description of IAM and its features, see the [IAM documentation](https://
7064
- # cloud.google.com/iam/docs/).
7146
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
7147
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
7148
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
7149
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
7150
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
7151
+ # title: expirable access description: Does not grant access after Sep 2020
7152
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
7153
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
7154
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
7065
7155
  # Corresponds to the JSON property `policy`
7066
7156
  # @return [Google::Apis::BigqueryV2::Policy]
7067
7157
  attr_accessor :policy
@@ -7236,17 +7326,17 @@ module Google
7236
7326
  attr_accessor :endpoints
7237
7327
 
7238
7328
  # [Output-only] Logging info is used to generate a link to Cloud Logging.
7239
- # Corresponds to the JSON property `logging_info`
7329
+ # Corresponds to the JSON property `loggingInfo`
7240
7330
  # @return [Google::Apis::BigqueryV2::SparkLoggingInfo]
7241
7331
  attr_accessor :logging_info
7242
7332
 
7243
7333
  # [Output-only] Spark job id if a Spark job is created successfully.
7244
- # Corresponds to the JSON property `spark_job_id`
7334
+ # Corresponds to the JSON property `sparkJobId`
7245
7335
  # @return [String]
7246
7336
  attr_accessor :spark_job_id
7247
7337
 
7248
7338
  # [Output-only] Location where the Spark job is executed.
7249
- # Corresponds to the JSON property `spark_job_location`
7339
+ # Corresponds to the JSON property `sparkJobLocation`
7250
7340
  # @return [String]
7251
7341
  attr_accessor :spark_job_location
7252
7342
 
@@ -7282,6 +7372,16 @@ module Google
7282
7372
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
7283
7373
  attr_accessor :array_element_type
7284
7374
 
7375
+ # The data type of a variable such as a function argument. Examples include: *
7376
+ # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
7377
+ # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
7378
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7379
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
7380
+ # DATE"` ` ` ] ` `
7381
+ # Corresponds to the JSON property `rangeElementType`
7382
+ # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
7383
+ attr_accessor :range_element_type
7384
+
7285
7385
  # The fields of this struct, in order, if type_kind = "STRUCT".
7286
7386
  # Corresponds to the JSON property `structType`
7287
7387
  # @return [Google::Apis::BigqueryV2::StandardSqlStructType]
@@ -7300,6 +7400,7 @@ module Google
7300
7400
  # Update properties of this object
7301
7401
  def update!(**args)
7302
7402
  @array_element_type = args[:array_element_type] if args.key?(:array_element_type)
7403
+ @range_element_type = args[:range_element_type] if args.key?(:range_element_type)
7303
7404
  @struct_type = args[:struct_type] if args.key?(:struct_type)
7304
7405
  @type_kind = args[:type_kind] if args.key?(:type_kind)
7305
7406
  end
@@ -7430,6 +7531,11 @@ module Google
7430
7531
  class Table
7431
7532
  include Google::Apis::Core::Hashable
7432
7533
 
7534
+ # [Optional] Specifies the configuration of a BigLake managed table.
7535
+ # Corresponds to the JSON property `biglakeConfiguration`
7536
+ # @return [Google::Apis::BigqueryV2::BigLakeConfiguration]
7537
+ attr_accessor :biglake_configuration
7538
+
7433
7539
  # [Output-only] Clone definition.
7434
7540
  # Corresponds to the JSON property `cloneDefinition`
7435
7541
  # @return [Google::Apis::BigqueryV2::CloneDefinition]
@@ -7692,6 +7798,7 @@ module Google
7692
7798
 
7693
7799
  # Update properties of this object
7694
7800
  def update!(**args)
7801
+ @biglake_configuration = args[:biglake_configuration] if args.key?(:biglake_configuration)
7695
7802
  @clone_definition = args[:clone_definition] if args.key?(:clone_definition)
7696
7803
  @clustering = args[:clustering] if args.key?(:clustering)
7697
7804
  @creation_time = args[:creation_time] if args.key?(:creation_time)
@@ -8148,6 +8255,13 @@ module Google
8148
8255
  # @return [Fixnum]
8149
8256
  attr_accessor :precision
8150
8257
 
8258
+ # Optional. The subtype of the RANGE, if the type of this field is RANGE. If the
8259
+ # type is RANGE, this field is required. Possible values for the field element
8260
+ # type of a RANGE include: - DATE - DATETIME - TIMESTAMP
8261
+ # Corresponds to the JSON property `rangeElementType`
8262
+ # @return [Google::Apis::BigqueryV2::TableFieldSchema::RangeElementType]
8263
+ attr_accessor :range_element_type
8264
+
8151
8265
  # Optional. Rounding Mode specification of the field. It only can be set on
8152
8266
  # NUMERIC or BIGNUMERIC type fields.
8153
8267
  # Corresponds to the JSON property `roundingMode`
@@ -8184,6 +8298,7 @@ module Google
8184
8298
  @name = args[:name] if args.key?(:name)
8185
8299
  @policy_tags = args[:policy_tags] if args.key?(:policy_tags)
8186
8300
  @precision = args[:precision] if args.key?(:precision)
8301
+ @range_element_type = args[:range_element_type] if args.key?(:range_element_type)
8187
8302
  @rounding_mode = args[:rounding_mode] if args.key?(:rounding_mode)
8188
8303
  @scale = args[:scale] if args.key?(:scale)
8189
8304
  @type = args[:type] if args.key?(:type)
@@ -8229,6 +8344,27 @@ module Google
8229
8344
  @names = args[:names] if args.key?(:names)
8230
8345
  end
8231
8346
  end
8347
+
8348
+ # Optional. The subtype of the RANGE, if the type of this field is RANGE. If the
8349
+ # type is RANGE, this field is required. Possible values for the field element
8350
+ # type of a RANGE include: - DATE - DATETIME - TIMESTAMP
8351
+ class RangeElementType
8352
+ include Google::Apis::Core::Hashable
8353
+
8354
+ # The field element type of a RANGE
8355
+ # Corresponds to the JSON property `type`
8356
+ # @return [String]
8357
+ attr_accessor :type
8358
+
8359
+ def initialize(**args)
8360
+ update!(**args)
8361
+ end
8362
+
8363
+ # Update properties of this object
8364
+ def update!(**args)
8365
+ @type = args[:type] if args.key?(:type)
8366
+ end
8367
+ end
8232
8368
  end
8233
8369
 
8234
8370
  #
@@ -8605,6 +8741,11 @@ module Google
8605
8741
  attr_accessor :calculate_p_values
8606
8742
  alias_method :calculate_p_values?, :calculate_p_values
8607
8743
 
8744
+ # Categorical feature encoding method.
8745
+ # Corresponds to the JSON property `categoryEncodingMethod`
8746
+ # @return [String]
8747
+ attr_accessor :category_encoding_method
8748
+
8608
8749
  # If true, clean spikes and dips in the input time series.
8609
8750
  # Corresponds to the JSON property `cleanSpikesAndDips`
8610
8751
  # @return [Boolean]
@@ -8719,6 +8860,11 @@ module Google
8719
8860
  # @return [String]
8720
8861
  attr_accessor :holiday_region
8721
8862
 
8863
+ # A list of geographical regions that are used for time series modeling.
8864
+ # Corresponds to the JSON property `holidayRegions`
8865
+ # @return [Array<String>]
8866
+ attr_accessor :holiday_regions
8867
+
8722
8868
  # The number of periods ahead that need to be forecasted.
8723
8869
  # Corresponds to the JSON property `horizon`
8724
8870
  # @return [Fixnum]
@@ -8819,8 +8965,9 @@ module Google
8819
8965
  # @return [Fixnum]
8820
8966
  attr_accessor :max_parallel_trials
8821
8967
 
8822
- # Get truncated length by last n points in time series. Use separately from
8823
- # time_series_length_fraction and min_time_series_length.
8968
+ # The maximum number of time points in a time series that can be used in
8969
+ # modeling the trend component of the time series. Don't use this option with
8970
+ # the `timeSeriesLengthFraction` or `minTimeSeriesLength` options.
8824
8971
  # Corresponds to the JSON property `maxTimeSeriesLength`
8825
8972
  # @return [Fixnum]
8826
8973
  attr_accessor :max_time_series_length
@@ -8841,8 +8988,14 @@ module Google
8841
8988
  # @return [Float]
8842
8989
  attr_accessor :min_split_loss
8843
8990
 
8844
- # Set fast trend ARIMA_PLUS model minimum training length. Use in pair with
8845
- # time_series_length_fraction.
8991
+ # The minimum number of time points in a time series that are used in modeling
8992
+ # the trend component of the time series. If you use this option you must also
8993
+ # set the `timeSeriesLengthFraction` option. This training option ensures that
8994
+ # enough time points are available when you use `timeSeriesLengthFraction` in
8995
+ # trend modeling. This is particularly important when forecasting multiple time
8996
+ # series in a single query using `timeSeriesIdColumn`. If the total number of
8997
+ # time points is less than the `minTimeSeriesLength` value, then the query uses
8998
+ # all available time points.
8846
8999
  # Corresponds to the JSON property `minTimeSeriesLength`
8847
9000
  # @return [Fixnum]
8848
9001
  attr_accessor :min_time_series_length
@@ -8961,7 +9114,12 @@ module Google
8961
9114
  # @return [Array<String>]
8962
9115
  attr_accessor :time_series_id_columns
8963
9116
 
8964
- # Get truncated length by fraction in time series.
9117
+ # The fraction of the interpolated length of the time series that's used to
9118
+ # model the time series trend component. All of the time points of the time
9119
+ # series are used to model the non-trend component. This training option
9120
+ # accelerates modeling training without sacrificing much forecasting accuracy.
9121
+ # You can use this option with `minTimeSeriesLength` but not with `
9122
+ # maxTimeSeriesLength`.
8965
9123
  # Corresponds to the JSON property `timeSeriesLengthFraction`
8966
9124
  # @return [Float]
8967
9125
  attr_accessor :time_series_length_fraction
@@ -8976,7 +9134,11 @@ module Google
8976
9134
  # @return [String]
8977
9135
  attr_accessor :tree_method
8978
9136
 
8979
- # The smoothing window size for the trend component of the time series.
9137
+ # Smoothing window size for the trend component. When a positive value is
9138
+ # specified, a center moving average smoothing is applied on the history trend.
9139
+ # When the smoothing window is out of the boundary at the beginning or the end
9140
+ # of the trend, the first element or the last element is padded to fill the
9141
+ # smoothing window before the average is applied.
8980
9142
  # Corresponds to the JSON property `trendSmoothingWindowSize`
8981
9143
  # @return [Fixnum]
8982
9144
  attr_accessor :trend_smoothing_window_size
@@ -9025,6 +9187,7 @@ module Google
9025
9187
  @booster_type = args[:booster_type] if args.key?(:booster_type)
9026
9188
  @budget_hours = args[:budget_hours] if args.key?(:budget_hours)
9027
9189
  @calculate_p_values = args[:calculate_p_values] if args.key?(:calculate_p_values)
9190
+ @category_encoding_method = args[:category_encoding_method] if args.key?(:category_encoding_method)
9028
9191
  @clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
9029
9192
  @color_space = args[:color_space] if args.key?(:color_space)
9030
9193
  @colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
@@ -9044,6 +9207,7 @@ module Google
9044
9207
  @fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
9045
9208
  @hidden_units = args[:hidden_units] if args.key?(:hidden_units)
9046
9209
  @holiday_region = args[:holiday_region] if args.key?(:holiday_region)
9210
+ @holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
9047
9211
  @horizon = args[:horizon] if args.key?(:horizon)
9048
9212
  @hparam_tuning_objectives = args[:hparam_tuning_objectives] if args.key?(:hparam_tuning_objectives)
9049
9213
  @include_drift = args[:include_drift] if args.key?(:include_drift)
@@ -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.57.0"
19
+ GEM_VERSION = "0.59.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 = "20230715"
25
+ REVISION = "20230812"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class BigLakeConfiguration
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class BigQueryModelTraining
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -370,6 +376,12 @@ module Google
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
379
+ class ExternalDatasetReference
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
373
385
  class FeatureValue
374
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
387
 
@@ -978,6 +990,12 @@ module Google
978
990
 
979
991
  include Google::Apis::Core::JsonObjectSupport
980
992
  end
993
+
994
+ class RangeElementType
995
+ class Representation < Google::Apis::Core::JsonRepresentation; end
996
+
997
+ include Google::Apis::Core::JsonObjectSupport
998
+ end
981
999
 
982
1000
  include Google::Apis::Core::JsonObjectSupport
983
1001
  end
@@ -1225,6 +1243,16 @@ module Google
1225
1243
  end
1226
1244
  end
1227
1245
 
1246
+ class BigLakeConfiguration
1247
+ # @private
1248
+ class Representation < Google::Apis::Core::JsonRepresentation
1249
+ property :connection_id, as: 'connectionId'
1250
+ property :file_format, as: 'fileFormat'
1251
+ property :storage_uri, as: 'storageUri'
1252
+ property :table_format, as: 'tableFormat'
1253
+ end
1254
+ end
1255
+
1228
1256
  class BigQueryModelTraining
1229
1257
  # @private
1230
1258
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1471,6 +1499,8 @@ module Google
1471
1499
  property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs'
1472
1500
  property :description, as: 'description'
1473
1501
  property :etag, as: 'etag'
1502
+ property :external_dataset_reference, as: 'externalDatasetReference', class: Google::Apis::BigqueryV2::ExternalDatasetReference, decorator: Google::Apis::BigqueryV2::ExternalDatasetReference::Representation
1503
+
1474
1504
  property :friendly_name, as: 'friendlyName'
1475
1505
  property :id, as: 'id'
1476
1506
  property :is_case_insensitive, as: 'isCaseInsensitive'
@@ -1748,6 +1778,14 @@ module Google
1748
1778
  end
1749
1779
  end
1750
1780
 
1781
+ class ExternalDatasetReference
1782
+ # @private
1783
+ class Representation < Google::Apis::Core::JsonRepresentation
1784
+ property :connection, as: 'connection'
1785
+ property :external_source, as: 'externalSource'
1786
+ end
1787
+ end
1788
+
1751
1789
  class FeatureValue
1752
1790
  # @private
1753
1791
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1902,10 +1940,10 @@ module Google
1902
1940
  class IndexUnusedReason
1903
1941
  # @private
1904
1942
  class Representation < Google::Apis::Core::JsonRepresentation
1905
- property :base_table, as: 'base_table', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1943
+ property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1906
1944
 
1907
1945
  property :code, as: 'code'
1908
- property :index_name, as: 'index_name'
1946
+ property :index_name, as: 'indexName'
1909
1947
  property :message, as: 'message'
1910
1948
  end
1911
1949
  end
@@ -2305,8 +2343,8 @@ module Google
2305
2343
  class JobStatistics5
2306
2344
  # @private
2307
2345
  class Representation < Google::Apis::Core::JsonRepresentation
2308
- property :copied_logical_bytes, :numeric_string => true, as: 'copied_logical_bytes'
2309
- property :copied_rows, :numeric_string => true, as: 'copied_rows'
2346
+ property :copied_logical_bytes, :numeric_string => true, as: 'copiedLogicalBytes'
2347
+ property :copied_rows, :numeric_string => true, as: 'copiedRows'
2310
2348
  end
2311
2349
  end
2312
2350
 
@@ -2365,7 +2403,7 @@ module Google
2365
2403
  class MaterializedViewDefinition
2366
2404
  # @private
2367
2405
  class Representation < Google::Apis::Core::JsonRepresentation
2368
- property :allow_non_incremental_definition, as: 'allow_non_incremental_definition'
2406
+ property :allow_non_incremental_definition, as: 'allowNonIncrementalDefinition'
2369
2407
  property :enable_refresh, as: 'enableRefresh'
2370
2408
  property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
2371
2409
  property :max_staleness, :base64 => true, as: 'maxStaleness'
@@ -2680,6 +2718,7 @@ module Google
2680
2718
  property :connection, as: 'connection'
2681
2719
  property :endpoint, as: 'endpoint'
2682
2720
  property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
2721
+ property :remote_model_version, as: 'remoteModelVersion'
2683
2722
  property :remote_service_type, as: 'remoteServiceType'
2684
2723
  end
2685
2724
  end
@@ -2690,6 +2729,7 @@ module Google
2690
2729
  collection :arguments, as: 'arguments', class: Google::Apis::BigqueryV2::Argument, decorator: Google::Apis::BigqueryV2::Argument::Representation
2691
2730
 
2692
2731
  property :creation_time, :numeric_string => true, as: 'creationTime'
2732
+ property :data_governance_type, as: 'dataGovernanceType'
2693
2733
  property :definition_body, as: 'definitionBody'
2694
2734
  property :description, as: 'description'
2695
2735
  property :determinism_level, as: 'determinismLevel'
@@ -2783,7 +2823,7 @@ module Google
2783
2823
  class SearchStatistics
2784
2824
  # @private
2785
2825
  class Representation < Google::Apis::Core::JsonRepresentation
2786
- collection :index_unused_reason, as: 'indexUnusedReason', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
2826
+ collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
2787
2827
 
2788
2828
  property :index_usage_mode, as: 'indexUsageMode'
2789
2829
  end
@@ -2843,10 +2883,10 @@ module Google
2843
2883
  # @private
2844
2884
  class Representation < Google::Apis::Core::JsonRepresentation
2845
2885
  hash :endpoints, as: 'endpoints'
2846
- property :logging_info, as: 'logging_info', class: Google::Apis::BigqueryV2::SparkLoggingInfo, decorator: Google::Apis::BigqueryV2::SparkLoggingInfo::Representation
2886
+ property :logging_info, as: 'loggingInfo', class: Google::Apis::BigqueryV2::SparkLoggingInfo, decorator: Google::Apis::BigqueryV2::SparkLoggingInfo::Representation
2847
2887
 
2848
- property :spark_job_id, as: 'spark_job_id'
2849
- property :spark_job_location, as: 'spark_job_location'
2888
+ property :spark_job_id, as: 'sparkJobId'
2889
+ property :spark_job_location, as: 'sparkJobLocation'
2850
2890
  end
2851
2891
  end
2852
2892
 
@@ -2855,6 +2895,8 @@ module Google
2855
2895
  class Representation < Google::Apis::Core::JsonRepresentation
2856
2896
  property :array_element_type, as: 'arrayElementType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2857
2897
 
2898
+ property :range_element_type, as: 'rangeElementType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2899
+
2858
2900
  property :struct_type, as: 'structType', class: Google::Apis::BigqueryV2::StandardSqlStructType, decorator: Google::Apis::BigqueryV2::StandardSqlStructType::Representation
2859
2901
 
2860
2902
  property :type_kind, as: 'typeKind'
@@ -2905,6 +2947,8 @@ module Google
2905
2947
  class Table
2906
2948
  # @private
2907
2949
  class Representation < Google::Apis::Core::JsonRepresentation
2950
+ property :biglake_configuration, as: 'biglakeConfiguration', class: Google::Apis::BigqueryV2::BigLakeConfiguration, decorator: Google::Apis::BigqueryV2::BigLakeConfiguration::Representation
2951
+
2908
2952
  property :clone_definition, as: 'cloneDefinition', class: Google::Apis::BigqueryV2::CloneDefinition, decorator: Google::Apis::BigqueryV2::CloneDefinition::Representation
2909
2953
 
2910
2954
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
@@ -3082,6 +3126,8 @@ module Google
3082
3126
  property :policy_tags, as: 'policyTags', class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags, decorator: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags::Representation
3083
3127
 
3084
3128
  property :precision, :numeric_string => true, as: 'precision'
3129
+ property :range_element_type, as: 'rangeElementType', class: Google::Apis::BigqueryV2::TableFieldSchema::RangeElementType, decorator: Google::Apis::BigqueryV2::TableFieldSchema::RangeElementType::Representation
3130
+
3085
3131
  property :rounding_mode, as: 'roundingMode'
3086
3132
  property :scale, :numeric_string => true, as: 'scale'
3087
3133
  property :type, as: 'type'
@@ -3100,6 +3146,13 @@ module Google
3100
3146
  collection :names, as: 'names'
3101
3147
  end
3102
3148
  end
3149
+
3150
+ class RangeElementType
3151
+ # @private
3152
+ class Representation < Google::Apis::Core::JsonRepresentation
3153
+ property :type, as: 'type'
3154
+ end
3155
+ end
3103
3156
  end
3104
3157
 
3105
3158
  class TableList
@@ -3207,6 +3260,7 @@ module Google
3207
3260
  property :booster_type, as: 'boosterType'
3208
3261
  property :budget_hours, as: 'budgetHours'
3209
3262
  property :calculate_p_values, as: 'calculatePValues'
3263
+ property :category_encoding_method, as: 'categoryEncodingMethod'
3210
3264
  property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
3211
3265
  property :color_space, as: 'colorSpace'
3212
3266
  property :colsample_bylevel, as: 'colsampleBylevel'
@@ -3226,6 +3280,7 @@ module Google
3226
3280
  property :fit_intercept, as: 'fitIntercept'
3227
3281
  collection :hidden_units, as: 'hiddenUnits'
3228
3282
  property :holiday_region, as: 'holidayRegion'
3283
+ collection :holiday_regions, as: 'holidayRegions'
3229
3284
  property :horizon, :numeric_string => true, as: 'horizon'
3230
3285
  collection :hparam_tuning_objectives, as: 'hparamTuningObjectives'
3231
3286
  property :include_drift, as: 'includeDrift'
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.57.0
4
+ version: 0.59.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.59.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery API V2