google-apis-bigquery_v2 0.56.0 → 0.58.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a44c910c5081978430c675926c9268870fef6a7daf83837595af8ad936bdfe05
|
4
|
+
data.tar.gz: 47bdf0a2cb09f3ce7ecfcbee024a30924704aad91eddca48099f0207e452e8cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2b1a0178390792340ce5a43fcd3873523480f64899ceadb795161ca54f9edcb789ea769bcc7c5c6b3619c0171bf73d03b18f878472e2e16537484d12f0d7551
|
7
|
+
data.tar.gz: 8e423dae7e5798536f314c4b21fe376cc251248c2bf66d60212874ef4bb3f8bc4b78143081ca73cb049ed70e36023d8ab88c9e91b24d62b3a4101c51da855e2c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.58.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230805
|
6
|
+
|
7
|
+
### v0.57.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230715
|
10
|
+
|
3
11
|
### v0.56.0 (2023-07-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230708
|
@@ -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
|
@@ -3364,7 +3407,7 @@ module Google
|
|
3364
3407
|
|
3365
3408
|
# [Output-only] Specifies the base table involved in the reason that no search
|
3366
3409
|
# index was used.
|
3367
|
-
# Corresponds to the JSON property `
|
3410
|
+
# Corresponds to the JSON property `baseTable`
|
3368
3411
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
3369
3412
|
attr_accessor :base_table
|
3370
3413
|
|
@@ -3375,7 +3418,7 @@ module Google
|
|
3375
3418
|
attr_accessor :code
|
3376
3419
|
|
3377
3420
|
# [Output-only] Specifies the name of the unused search index, if available.
|
3378
|
-
# Corresponds to the JSON property `
|
3421
|
+
# Corresponds to the JSON property `indexName`
|
3379
3422
|
# @return [String]
|
3380
3423
|
attr_accessor :index_name
|
3381
3424
|
|
@@ -5096,12 +5139,12 @@ module Google
|
|
5096
5139
|
include Google::Apis::Core::Hashable
|
5097
5140
|
|
5098
5141
|
# [Output-only] Number of logical bytes copied to the destination table.
|
5099
|
-
# Corresponds to the JSON property `
|
5142
|
+
# Corresponds to the JSON property `copiedLogicalBytes`
|
5100
5143
|
# @return [Fixnum]
|
5101
5144
|
attr_accessor :copied_logical_bytes
|
5102
5145
|
|
5103
5146
|
# [Output-only] Number of rows copied to the destination table.
|
5104
|
-
# Corresponds to the JSON property `
|
5147
|
+
# Corresponds to the JSON property `copiedRows`
|
5105
5148
|
# @return [Fixnum]
|
5106
5149
|
attr_accessor :copied_rows
|
5107
5150
|
|
@@ -5277,7 +5320,7 @@ module Google
|
|
5277
5320
|
|
5278
5321
|
# [Optional] Allow non incremental materialized view definition. The default
|
5279
5322
|
# value is "false".
|
5280
|
-
# Corresponds to the JSON property `
|
5323
|
+
# Corresponds to the JSON property `allowNonIncrementalDefinition`
|
5281
5324
|
# @return [Boolean]
|
5282
5325
|
attr_accessor :allow_non_incremental_definition
|
5283
5326
|
alias_method :allow_non_incremental_definition?, :allow_non_incremental_definition
|
@@ -5485,6 +5528,13 @@ module Google
|
|
5485
5528
|
# @return [Array<Google::Apis::BigqueryV2::TrainingRun>]
|
5486
5529
|
attr_accessor :training_runs
|
5487
5530
|
|
5531
|
+
# Output only. This field will be populated if a TRANSFORM clause was used to
|
5532
|
+
# train a model. TRANSFORM clause (if used) takes feature_columns as input and
|
5533
|
+
# outputs transform_columns. transform_columns then are used to train the model.
|
5534
|
+
# Corresponds to the JSON property `transformColumns`
|
5535
|
+
# @return [Array<Google::Apis::BigqueryV2::TransformColumn>]
|
5536
|
+
attr_accessor :transform_columns
|
5537
|
+
|
5488
5538
|
def initialize(**args)
|
5489
5539
|
update!(**args)
|
5490
5540
|
end
|
@@ -5511,6 +5561,7 @@ module Google
|
|
5511
5561
|
@optimal_trial_ids = args[:optimal_trial_ids] if args.key?(:optimal_trial_ids)
|
5512
5562
|
@remote_model_info = args[:remote_model_info] if args.key?(:remote_model_info)
|
5513
5563
|
@training_runs = args[:training_runs] if args.key?(:training_runs)
|
5564
|
+
@transform_columns = args[:transform_columns] if args.key?(:transform_columns)
|
5514
5565
|
end
|
5515
5566
|
end
|
5516
5567
|
|
@@ -5678,22 +5729,22 @@ module Google
|
|
5678
5729
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
5679
5730
|
# the request, the resource, or both. To learn which resources support
|
5680
5731
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
5681
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
5732
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
5682
5733
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
5683
5734
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
5684
5735
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
5685
5736
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
5686
5737
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
5687
5738
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
5688
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
5689
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
5690
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
5691
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
5692
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
5693
|
-
# access description: Does not grant access after Sep 2020
|
5694
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
5695
|
-
# a description of IAM and its features, see the
|
5696
|
-
# cloud.google.com/iam/docs/).
|
5739
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
5740
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
5741
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
5742
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
5743
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
5744
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
5745
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
5746
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
5747
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
5697
5748
|
class Policy
|
5698
5749
|
include Google::Apis::Core::Hashable
|
5699
5750
|
|
@@ -6584,6 +6635,11 @@ module Google
|
|
6584
6635
|
# @return [Fixnum]
|
6585
6636
|
attr_accessor :max_batching_rows
|
6586
6637
|
|
6638
|
+
# Output only. The model version for LLM.
|
6639
|
+
# Corresponds to the JSON property `remoteModelVersion`
|
6640
|
+
# @return [String]
|
6641
|
+
attr_accessor :remote_model_version
|
6642
|
+
|
6587
6643
|
# Output only. The remote service type for remote model.
|
6588
6644
|
# Corresponds to the JSON property `remoteServiceType`
|
6589
6645
|
# @return [String]
|
@@ -6598,6 +6654,7 @@ module Google
|
|
6598
6654
|
@connection = args[:connection] if args.key?(:connection)
|
6599
6655
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
6600
6656
|
@max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
|
6657
|
+
@remote_model_version = args[:remote_model_version] if args.key?(:remote_model_version)
|
6601
6658
|
@remote_service_type = args[:remote_service_type] if args.key?(:remote_service_type)
|
6602
6659
|
end
|
6603
6660
|
end
|
@@ -6617,6 +6674,12 @@ module Google
|
|
6617
6674
|
# @return [Fixnum]
|
6618
6675
|
attr_accessor :creation_time
|
6619
6676
|
|
6677
|
+
# Optional. Data governance specific option, if the value is DATA_MASKING, the
|
6678
|
+
# function will be validated as masking functions.
|
6679
|
+
# Corresponds to the JSON property `dataGovernanceType`
|
6680
|
+
# @return [String]
|
6681
|
+
attr_accessor :data_governance_type
|
6682
|
+
|
6620
6683
|
# Required. The body of the routine. For functions, this is the expression in
|
6621
6684
|
# the AS clause. If language=SQL, it is the substring inside (but excluding) the
|
6622
6685
|
# parentheses. For example, for the function created with the following
|
@@ -6717,6 +6780,7 @@ module Google
|
|
6717
6780
|
def update!(**args)
|
6718
6781
|
@arguments = args[:arguments] if args.key?(:arguments)
|
6719
6782
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
6783
|
+
@data_governance_type = args[:data_governance_type] if args.key?(:data_governance_type)
|
6720
6784
|
@definition_body = args[:definition_body] if args.key?(:definition_body)
|
6721
6785
|
@description = args[:description] if args.key?(:description)
|
6722
6786
|
@determinism_level = args[:determinism_level] if args.key?(:determinism_level)
|
@@ -6984,9 +7048,9 @@ module Google
|
|
6984
7048
|
# When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why
|
6985
7049
|
# index was not used in all or part of the search query. If index_usage_mode is
|
6986
7050
|
# FULLLY_USED, this field is not populated.
|
6987
|
-
# Corresponds to the JSON property `
|
7051
|
+
# Corresponds to the JSON property `indexUnusedReasons`
|
6988
7052
|
# @return [Array<Google::Apis::BigqueryV2::IndexUnusedReason>]
|
6989
|
-
attr_accessor :
|
7053
|
+
attr_accessor :index_unused_reasons
|
6990
7054
|
|
6991
7055
|
# Specifies index usage mode for the query.
|
6992
7056
|
# Corresponds to the JSON property `indexUsageMode`
|
@@ -6999,7 +7063,7 @@ module Google
|
|
6999
7063
|
|
7000
7064
|
# Update properties of this object
|
7001
7065
|
def update!(**args)
|
7002
|
-
@
|
7066
|
+
@index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
|
7003
7067
|
@index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
|
7004
7068
|
end
|
7005
7069
|
end
|
@@ -7038,22 +7102,22 @@ module Google
|
|
7038
7102
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
7039
7103
|
# the request, the resource, or both. To learn which resources support
|
7040
7104
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
7041
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
7105
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
7042
7106
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
7043
7107
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
7044
7108
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
7045
7109
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
7046
7110
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
7047
7111
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
7048
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
7049
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
7050
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
7051
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
7052
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
7053
|
-
# access description: Does not grant access after Sep 2020
|
7054
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
7055
|
-
# a description of IAM and its features, see the
|
7056
|
-
# cloud.google.com/iam/docs/).
|
7112
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
7113
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
7114
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
7115
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
7116
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
7117
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
7118
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
7119
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
7120
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
7057
7121
|
# Corresponds to the JSON property `policy`
|
7058
7122
|
# @return [Google::Apis::BigqueryV2::Policy]
|
7059
7123
|
attr_accessor :policy
|
@@ -7228,17 +7292,17 @@ module Google
|
|
7228
7292
|
attr_accessor :endpoints
|
7229
7293
|
|
7230
7294
|
# [Output-only] Logging info is used to generate a link to Cloud Logging.
|
7231
|
-
# Corresponds to the JSON property `
|
7295
|
+
# Corresponds to the JSON property `loggingInfo`
|
7232
7296
|
# @return [Google::Apis::BigqueryV2::SparkLoggingInfo]
|
7233
7297
|
attr_accessor :logging_info
|
7234
7298
|
|
7235
7299
|
# [Output-only] Spark job id if a Spark job is created successfully.
|
7236
|
-
# Corresponds to the JSON property `
|
7300
|
+
# Corresponds to the JSON property `sparkJobId`
|
7237
7301
|
# @return [String]
|
7238
7302
|
attr_accessor :spark_job_id
|
7239
7303
|
|
7240
7304
|
# [Output-only] Location where the Spark job is executed.
|
7241
|
-
# Corresponds to the JSON property `
|
7305
|
+
# Corresponds to the JSON property `sparkJobLocation`
|
7242
7306
|
# @return [String]
|
7243
7307
|
attr_accessor :spark_job_location
|
7244
7308
|
|
@@ -7274,6 +7338,16 @@ module Google
|
|
7274
7338
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
7275
7339
|
attr_accessor :array_element_type
|
7276
7340
|
|
7341
|
+
# The data type of a variable such as a function argument. Examples include: *
|
7342
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
7343
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
7344
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
|
7345
|
+
# "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
|
7346
|
+
# DATE"` ` ` ] ` `
|
7347
|
+
# Corresponds to the JSON property `rangeElementType`
|
7348
|
+
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
7349
|
+
attr_accessor :range_element_type
|
7350
|
+
|
7277
7351
|
# The fields of this struct, in order, if type_kind = "STRUCT".
|
7278
7352
|
# Corresponds to the JSON property `structType`
|
7279
7353
|
# @return [Google::Apis::BigqueryV2::StandardSqlStructType]
|
@@ -7292,6 +7366,7 @@ module Google
|
|
7292
7366
|
# Update properties of this object
|
7293
7367
|
def update!(**args)
|
7294
7368
|
@array_element_type = args[:array_element_type] if args.key?(:array_element_type)
|
7369
|
+
@range_element_type = args[:range_element_type] if args.key?(:range_element_type)
|
7295
7370
|
@struct_type = args[:struct_type] if args.key?(:struct_type)
|
7296
7371
|
@type_kind = args[:type_kind] if args.key?(:type_kind)
|
7297
7372
|
end
|
@@ -7422,6 +7497,11 @@ module Google
|
|
7422
7497
|
class Table
|
7423
7498
|
include Google::Apis::Core::Hashable
|
7424
7499
|
|
7500
|
+
# [Optional] Specifies the configuration of a BigLake managed table.
|
7501
|
+
# Corresponds to the JSON property `biglakeConfiguration`
|
7502
|
+
# @return [Google::Apis::BigqueryV2::BigLakeConfiguration]
|
7503
|
+
attr_accessor :biglake_configuration
|
7504
|
+
|
7425
7505
|
# [Output-only] Clone definition.
|
7426
7506
|
# Corresponds to the JSON property `cloneDefinition`
|
7427
7507
|
# @return [Google::Apis::BigqueryV2::CloneDefinition]
|
@@ -7684,6 +7764,7 @@ module Google
|
|
7684
7764
|
|
7685
7765
|
# Update properties of this object
|
7686
7766
|
def update!(**args)
|
7767
|
+
@biglake_configuration = args[:biglake_configuration] if args.key?(:biglake_configuration)
|
7687
7768
|
@clone_definition = args[:clone_definition] if args.key?(:clone_definition)
|
7688
7769
|
@clustering = args[:clustering] if args.key?(:clustering)
|
7689
7770
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
@@ -8597,6 +8678,11 @@ module Google
|
|
8597
8678
|
attr_accessor :calculate_p_values
|
8598
8679
|
alias_method :calculate_p_values?, :calculate_p_values
|
8599
8680
|
|
8681
|
+
# Categorical feature encoding method.
|
8682
|
+
# Corresponds to the JSON property `categoryEncodingMethod`
|
8683
|
+
# @return [String]
|
8684
|
+
attr_accessor :category_encoding_method
|
8685
|
+
|
8600
8686
|
# If true, clean spikes and dips in the input time series.
|
8601
8687
|
# Corresponds to the JSON property `cleanSpikesAndDips`
|
8602
8688
|
# @return [Boolean]
|
@@ -8711,6 +8797,11 @@ module Google
|
|
8711
8797
|
# @return [String]
|
8712
8798
|
attr_accessor :holiday_region
|
8713
8799
|
|
8800
|
+
# A list of geographical regions that are used for time series modeling.
|
8801
|
+
# Corresponds to the JSON property `holidayRegions`
|
8802
|
+
# @return [Array<String>]
|
8803
|
+
attr_accessor :holiday_regions
|
8804
|
+
|
8714
8805
|
# The number of periods ahead that need to be forecasted.
|
8715
8806
|
# Corresponds to the JSON property `horizon`
|
8716
8807
|
# @return [Fixnum]
|
@@ -8811,8 +8902,9 @@ module Google
|
|
8811
8902
|
# @return [Fixnum]
|
8812
8903
|
attr_accessor :max_parallel_trials
|
8813
8904
|
|
8814
|
-
#
|
8815
|
-
#
|
8905
|
+
# The maximum number of time points in a time series that can be used in
|
8906
|
+
# modeling the trend component of the time series. Don't use this option with
|
8907
|
+
# the `timeSeriesLengthFraction` or `minTimeSeriesLength` options.
|
8816
8908
|
# Corresponds to the JSON property `maxTimeSeriesLength`
|
8817
8909
|
# @return [Fixnum]
|
8818
8910
|
attr_accessor :max_time_series_length
|
@@ -8833,8 +8925,14 @@ module Google
|
|
8833
8925
|
# @return [Float]
|
8834
8926
|
attr_accessor :min_split_loss
|
8835
8927
|
|
8836
|
-
#
|
8837
|
-
#
|
8928
|
+
# The minimum number of time points in a time series that are used in modeling
|
8929
|
+
# the trend component of the time series. If you use this option you must also
|
8930
|
+
# set the `timeSeriesLengthFraction` option. This training option ensures that
|
8931
|
+
# enough time points are available when you use `timeSeriesLengthFraction` in
|
8932
|
+
# trend modeling. This is particularly important when forecasting multiple time
|
8933
|
+
# series in a single query using `timeSeriesIdColumn`. If the total number of
|
8934
|
+
# time points is less than the `minTimeSeriesLength` value, then the query uses
|
8935
|
+
# all available time points.
|
8838
8936
|
# Corresponds to the JSON property `minTimeSeriesLength`
|
8839
8937
|
# @return [Fixnum]
|
8840
8938
|
attr_accessor :min_time_series_length
|
@@ -8953,7 +9051,12 @@ module Google
|
|
8953
9051
|
# @return [Array<String>]
|
8954
9052
|
attr_accessor :time_series_id_columns
|
8955
9053
|
|
8956
|
-
#
|
9054
|
+
# The fraction of the interpolated length of the time series that's used to
|
9055
|
+
# model the time series trend component. All of the time points of the time
|
9056
|
+
# series are used to model the non-trend component. This training option
|
9057
|
+
# accelerates modeling training without sacrificing much forecasting accuracy.
|
9058
|
+
# You can use this option with `minTimeSeriesLength` but not with `
|
9059
|
+
# maxTimeSeriesLength`.
|
8957
9060
|
# Corresponds to the JSON property `timeSeriesLengthFraction`
|
8958
9061
|
# @return [Float]
|
8959
9062
|
attr_accessor :time_series_length_fraction
|
@@ -8968,7 +9071,11 @@ module Google
|
|
8968
9071
|
# @return [String]
|
8969
9072
|
attr_accessor :tree_method
|
8970
9073
|
|
8971
|
-
#
|
9074
|
+
# Smoothing window size for the trend component. When a positive value is
|
9075
|
+
# specified, a center moving average smoothing is applied on the history trend.
|
9076
|
+
# When the smoothing window is out of the boundary at the beginning or the end
|
9077
|
+
# of the trend, the first element or the last element is padded to fill the
|
9078
|
+
# smoothing window before the average is applied.
|
8972
9079
|
# Corresponds to the JSON property `trendSmoothingWindowSize`
|
8973
9080
|
# @return [Fixnum]
|
8974
9081
|
attr_accessor :trend_smoothing_window_size
|
@@ -9017,6 +9124,7 @@ module Google
|
|
9017
9124
|
@booster_type = args[:booster_type] if args.key?(:booster_type)
|
9018
9125
|
@budget_hours = args[:budget_hours] if args.key?(:budget_hours)
|
9019
9126
|
@calculate_p_values = args[:calculate_p_values] if args.key?(:calculate_p_values)
|
9127
|
+
@category_encoding_method = args[:category_encoding_method] if args.key?(:category_encoding_method)
|
9020
9128
|
@clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
|
9021
9129
|
@color_space = args[:color_space] if args.key?(:color_space)
|
9022
9130
|
@colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
|
@@ -9036,6 +9144,7 @@ module Google
|
|
9036
9144
|
@fit_intercept = args[:fit_intercept] if args.key?(:fit_intercept)
|
9037
9145
|
@hidden_units = args[:hidden_units] if args.key?(:hidden_units)
|
9038
9146
|
@holiday_region = args[:holiday_region] if args.key?(:holiday_region)
|
9147
|
+
@holiday_regions = args[:holiday_regions] if args.key?(:holiday_regions)
|
9039
9148
|
@horizon = args[:horizon] if args.key?(:horizon)
|
9040
9149
|
@hparam_tuning_objectives = args[:hparam_tuning_objectives] if args.key?(:hparam_tuning_objectives)
|
9041
9150
|
@include_drift = args[:include_drift] if args.key?(:include_drift)
|
@@ -9191,6 +9300,42 @@ module Google
|
|
9191
9300
|
end
|
9192
9301
|
end
|
9193
9302
|
|
9303
|
+
# Information about a single transform column.
|
9304
|
+
class TransformColumn
|
9305
|
+
include Google::Apis::Core::Hashable
|
9306
|
+
|
9307
|
+
# Output only. Name of the column.
|
9308
|
+
# Corresponds to the JSON property `name`
|
9309
|
+
# @return [String]
|
9310
|
+
attr_accessor :name
|
9311
|
+
|
9312
|
+
# Output only. The SQL expression used in the column transform.
|
9313
|
+
# Corresponds to the JSON property `transformSql`
|
9314
|
+
# @return [String]
|
9315
|
+
attr_accessor :transform_sql
|
9316
|
+
|
9317
|
+
# The data type of a variable such as a function argument. Examples include: *
|
9318
|
+
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
9319
|
+
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
9320
|
+
# "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
|
9321
|
+
# "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
|
9322
|
+
# DATE"` ` ` ] ` `
|
9323
|
+
# Corresponds to the JSON property `type`
|
9324
|
+
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
9325
|
+
attr_accessor :type
|
9326
|
+
|
9327
|
+
def initialize(**args)
|
9328
|
+
update!(**args)
|
9329
|
+
end
|
9330
|
+
|
9331
|
+
# Update properties of this object
|
9332
|
+
def update!(**args)
|
9333
|
+
@name = args[:name] if args.key?(:name)
|
9334
|
+
@transform_sql = args[:transform_sql] if args.key?(:transform_sql)
|
9335
|
+
@type = args[:type] if args.key?(:type)
|
9336
|
+
end
|
9337
|
+
end
|
9338
|
+
|
9194
9339
|
# This is used for defining User Defined Function (UDF) resources only when
|
9195
9340
|
# using legacy SQL. Users of Standard SQL should leverage either DDL (e.g.
|
9196
9341
|
# CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources.
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.58.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 = "
|
25
|
+
REVISION = "20230805"
|
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
|
|
@@ -1054,6 +1060,12 @@ module Google
|
|
1054
1060
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1061
|
end
|
1056
1062
|
|
1063
|
+
class TransformColumn
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
|
+
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
1067
|
+
end
|
1068
|
+
|
1057
1069
|
class UserDefinedFunctionResource
|
1058
1070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1071
|
|
@@ -1219,6 +1231,16 @@ module Google
|
|
1219
1231
|
end
|
1220
1232
|
end
|
1221
1233
|
|
1234
|
+
class BigLakeConfiguration
|
1235
|
+
# @private
|
1236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1237
|
+
property :connection_id, as: 'connectionId'
|
1238
|
+
property :file_format, as: 'fileFormat'
|
1239
|
+
property :storage_uri, as: 'storageUri'
|
1240
|
+
property :table_format, as: 'tableFormat'
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1222
1244
|
class BigQueryModelTraining
|
1223
1245
|
# @private
|
1224
1246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1896,10 +1918,10 @@ module Google
|
|
1896
1918
|
class IndexUnusedReason
|
1897
1919
|
# @private
|
1898
1920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1899
|
-
property :base_table, as: '
|
1921
|
+
property :base_table, as: 'baseTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1900
1922
|
|
1901
1923
|
property :code, as: 'code'
|
1902
|
-
property :index_name, as: '
|
1924
|
+
property :index_name, as: 'indexName'
|
1903
1925
|
property :message, as: 'message'
|
1904
1926
|
end
|
1905
1927
|
end
|
@@ -2299,8 +2321,8 @@ module Google
|
|
2299
2321
|
class JobStatistics5
|
2300
2322
|
# @private
|
2301
2323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2302
|
-
property :copied_logical_bytes, :numeric_string => true, as: '
|
2303
|
-
property :copied_rows, :numeric_string => true, as: '
|
2324
|
+
property :copied_logical_bytes, :numeric_string => true, as: 'copiedLogicalBytes'
|
2325
|
+
property :copied_rows, :numeric_string => true, as: 'copiedRows'
|
2304
2326
|
end
|
2305
2327
|
end
|
2306
2328
|
|
@@ -2359,7 +2381,7 @@ module Google
|
|
2359
2381
|
class MaterializedViewDefinition
|
2360
2382
|
# @private
|
2361
2383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2362
|
-
property :allow_non_incremental_definition, as: '
|
2384
|
+
property :allow_non_incremental_definition, as: 'allowNonIncrementalDefinition'
|
2363
2385
|
property :enable_refresh, as: 'enableRefresh'
|
2364
2386
|
property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
|
2365
2387
|
property :max_staleness, :base64 => true, as: 'maxStaleness'
|
@@ -2408,6 +2430,8 @@ module Google
|
|
2408
2430
|
|
2409
2431
|
collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation
|
2410
2432
|
|
2433
|
+
collection :transform_columns, as: 'transformColumns', class: Google::Apis::BigqueryV2::TransformColumn, decorator: Google::Apis::BigqueryV2::TransformColumn::Representation
|
2434
|
+
|
2411
2435
|
end
|
2412
2436
|
end
|
2413
2437
|
|
@@ -2672,6 +2696,7 @@ module Google
|
|
2672
2696
|
property :connection, as: 'connection'
|
2673
2697
|
property :endpoint, as: 'endpoint'
|
2674
2698
|
property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
|
2699
|
+
property :remote_model_version, as: 'remoteModelVersion'
|
2675
2700
|
property :remote_service_type, as: 'remoteServiceType'
|
2676
2701
|
end
|
2677
2702
|
end
|
@@ -2682,6 +2707,7 @@ module Google
|
|
2682
2707
|
collection :arguments, as: 'arguments', class: Google::Apis::BigqueryV2::Argument, decorator: Google::Apis::BigqueryV2::Argument::Representation
|
2683
2708
|
|
2684
2709
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
2710
|
+
property :data_governance_type, as: 'dataGovernanceType'
|
2685
2711
|
property :definition_body, as: 'definitionBody'
|
2686
2712
|
property :description, as: 'description'
|
2687
2713
|
property :determinism_level, as: 'determinismLevel'
|
@@ -2775,7 +2801,7 @@ module Google
|
|
2775
2801
|
class SearchStatistics
|
2776
2802
|
# @private
|
2777
2803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2778
|
-
collection :
|
2804
|
+
collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
|
2779
2805
|
|
2780
2806
|
property :index_usage_mode, as: 'indexUsageMode'
|
2781
2807
|
end
|
@@ -2835,10 +2861,10 @@ module Google
|
|
2835
2861
|
# @private
|
2836
2862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2837
2863
|
hash :endpoints, as: 'endpoints'
|
2838
|
-
property :logging_info, as: '
|
2864
|
+
property :logging_info, as: 'loggingInfo', class: Google::Apis::BigqueryV2::SparkLoggingInfo, decorator: Google::Apis::BigqueryV2::SparkLoggingInfo::Representation
|
2839
2865
|
|
2840
|
-
property :spark_job_id, as: '
|
2841
|
-
property :spark_job_location, as: '
|
2866
|
+
property :spark_job_id, as: 'sparkJobId'
|
2867
|
+
property :spark_job_location, as: 'sparkJobLocation'
|
2842
2868
|
end
|
2843
2869
|
end
|
2844
2870
|
|
@@ -2847,6 +2873,8 @@ module Google
|
|
2847
2873
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2848
2874
|
property :array_element_type, as: 'arrayElementType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
2849
2875
|
|
2876
|
+
property :range_element_type, as: 'rangeElementType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
2877
|
+
|
2850
2878
|
property :struct_type, as: 'structType', class: Google::Apis::BigqueryV2::StandardSqlStructType, decorator: Google::Apis::BigqueryV2::StandardSqlStructType::Representation
|
2851
2879
|
|
2852
2880
|
property :type_kind, as: 'typeKind'
|
@@ -2897,6 +2925,8 @@ module Google
|
|
2897
2925
|
class Table
|
2898
2926
|
# @private
|
2899
2927
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2928
|
+
property :biglake_configuration, as: 'biglakeConfiguration', class: Google::Apis::BigqueryV2::BigLakeConfiguration, decorator: Google::Apis::BigqueryV2::BigLakeConfiguration::Representation
|
2929
|
+
|
2900
2930
|
property :clone_definition, as: 'cloneDefinition', class: Google::Apis::BigqueryV2::CloneDefinition, decorator: Google::Apis::BigqueryV2::CloneDefinition::Representation
|
2901
2931
|
|
2902
2932
|
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
@@ -3199,6 +3229,7 @@ module Google
|
|
3199
3229
|
property :booster_type, as: 'boosterType'
|
3200
3230
|
property :budget_hours, as: 'budgetHours'
|
3201
3231
|
property :calculate_p_values, as: 'calculatePValues'
|
3232
|
+
property :category_encoding_method, as: 'categoryEncodingMethod'
|
3202
3233
|
property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
|
3203
3234
|
property :color_space, as: 'colorSpace'
|
3204
3235
|
property :colsample_bylevel, as: 'colsampleBylevel'
|
@@ -3218,6 +3249,7 @@ module Google
|
|
3218
3249
|
property :fit_intercept, as: 'fitIntercept'
|
3219
3250
|
collection :hidden_units, as: 'hiddenUnits'
|
3220
3251
|
property :holiday_region, as: 'holidayRegion'
|
3252
|
+
collection :holiday_regions, as: 'holidayRegions'
|
3221
3253
|
property :horizon, :numeric_string => true, as: 'horizon'
|
3222
3254
|
collection :hparam_tuning_objectives, as: 'hparamTuningObjectives'
|
3223
3255
|
property :include_drift, as: 'includeDrift'
|
@@ -3305,6 +3337,16 @@ module Google
|
|
3305
3337
|
end
|
3306
3338
|
end
|
3307
3339
|
|
3340
|
+
class TransformColumn
|
3341
|
+
# @private
|
3342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3343
|
+
property :name, as: 'name'
|
3344
|
+
property :transform_sql, as: 'transformSql'
|
3345
|
+
property :type, as: 'type', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
3346
|
+
|
3347
|
+
end
|
3348
|
+
end
|
3349
|
+
|
3308
3350
|
class UserDefinedFunctionResource
|
3309
3351
|
# @private
|
3310
3352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1158,46 +1158,6 @@ module Google
|
|
1158
1158
|
execute_or_queue_command(command, &block)
|
1159
1159
|
end
|
1160
1160
|
|
1161
|
-
# Sets the access control policy on the specified resource. Replaces any
|
1162
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1163
|
-
# PERMISSION_DENIED` errors.
|
1164
|
-
# @param [String] resource
|
1165
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1166
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1167
|
-
# appropriate value for this field.
|
1168
|
-
# @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
|
1169
|
-
# @param [String] fields
|
1170
|
-
# Selector specifying which fields to include in a partial response.
|
1171
|
-
# @param [String] quota_user
|
1172
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1173
|
-
# characters.
|
1174
|
-
# @param [String] user_ip
|
1175
|
-
# Deprecated. Please use quotaUser instead.
|
1176
|
-
# @param [Google::Apis::RequestOptions] options
|
1177
|
-
# Request-specific options
|
1178
|
-
#
|
1179
|
-
# @yield [result, err] Result & error if block supplied
|
1180
|
-
# @yieldparam result [Google::Apis::BigqueryV2::Policy] parsed result object
|
1181
|
-
# @yieldparam err [StandardError] error object if request failed
|
1182
|
-
#
|
1183
|
-
# @return [Google::Apis::BigqueryV2::Policy]
|
1184
|
-
#
|
1185
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1186
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
|
-
def set_row_access_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1189
|
-
command = make_simple_command(:post, '{+resource}:setIamPolicy', options)
|
1190
|
-
command.request_representation = Google::Apis::BigqueryV2::SetIamPolicyRequest::Representation
|
1191
|
-
command.request_object = set_iam_policy_request_object
|
1192
|
-
command.response_representation = Google::Apis::BigqueryV2::Policy::Representation
|
1193
|
-
command.response_class = Google::Apis::BigqueryV2::Policy
|
1194
|
-
command.params['resource'] = resource unless resource.nil?
|
1195
|
-
command.query['fields'] = fields unless fields.nil?
|
1196
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1197
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1198
|
-
execute_or_queue_command(command, &block)
|
1199
|
-
end
|
1200
|
-
|
1201
1161
|
# Returns permissions that a caller has on the specified resource. If the
|
1202
1162
|
# resource does not exist, this will return an empty set of permissions, not a `
|
1203
1163
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
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.
|
4
|
+
version: 0.58.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-
|
11
|
+
date: 2023-08-13 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.58.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: []
|