google-apis-bigquery_v2 0.37.0 → 0.40.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: 32d2df0ba51f14f794d3e52af1c7cf2f50b2e548309cfca0825197453b9e9775
4
- data.tar.gz: 9fe1896be61045533a0b61418669b7de35eca0aeccce3fcf960197b97a48dd95
3
+ metadata.gz: 6b75a89dfc8297544e2d34afaaf5a077f387b71f866505e38c652baf8a3dcdf0
4
+ data.tar.gz: c5eb6f1af719af2126cc63a8e82f9baf416811befb795f6dc82ccc7b10850168
5
5
  SHA512:
6
- metadata.gz: ac90f0660bd2fd45b64a54560c4e937e46c95097836659e1b02bc09060fd8382c04597a00e1ef702dcb8145de5bdcb286c4ea47ee3b54b00c480d2f2354b5c12
7
- data.tar.gz: 427ee1380c2a6367f0066fe2fcacad41607262866ca138b38579c5667d54f6a7b17f523e60124ee42cddfbf75c2c06a6a12a1fc2308c6dc297066465168f8e07
6
+ metadata.gz: 3b578e7b2ca1001b9d9d9bbae0fe321a8e243451f1803ba4ea24bc08d76baeff71a8819784e7410dc6e54c01f32db9ed1e7d62af3bfbcf7acabb8acb5c99cb7b
7
+ data.tar.gz: 11378b2b1dbd5656e706583851b72a51121d4d069f013bc90cc48403b200a94b22001445373b0f035e41481cd077d75743563c5764831ed0ba41c7b4615036bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.40.0 (2022-09-10)
4
+
5
+ * Regenerated from discovery document revision 20220903
6
+
7
+ ### v0.39.0 (2022-08-12)
8
+
9
+ * Regenerated from discovery document revision 20220806
10
+
11
+ ### v0.38.0 (2022-08-04)
12
+
13
+ * Regenerated from discovery document revision 20220730
14
+
3
15
  ### v0.37.0 (2022-07-26)
4
16
 
5
17
  * Regenerated from discovery document revision 20220716
@@ -100,8 +100,8 @@ module Google
100
100
  # The data type of a variable such as a function argument. Examples include: *
101
101
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
102
102
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
103
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
104
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
103
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
104
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
105
105
  # DATE"` ` ` ] ` `
106
106
  # Corresponds to the JSON property `dataType`
107
107
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -951,28 +951,33 @@ module Google
951
951
  # members` can have the following values: * `allUsers`: A special identifier
952
952
  # that represents anyone who is on the internet; with or without a Google
953
953
  # account. * `allAuthenticatedUsers`: A special identifier that represents
954
- # anyone who is authenticated with a Google account or a service account. * `
955
- # user:`emailid``: An email address that represents a specific Google account.
956
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
957
- # address that represents a service account. For example, `my-other-app@appspot.
958
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
959
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
960
- # `uniqueid``: An email address (plus unique identifier) representing a user
961
- # that has been recently deleted. For example, `alice@example.com?uid=
962
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
963
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
964
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
965
- # identifier) representing a service account that has been recently deleted. For
966
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
967
- # If the service account is undeleted, this value reverts to `serviceAccount:`
968
- # emailid`` and the undeleted service account retains the role in the binding. *
969
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
970
- # identifier) representing a Google group that has been recently deleted. For
971
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
972
- # recovered, this value reverts to `group:`emailid`` and the recovered group
973
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
974
- # primary) that represents all the users of that domain. For example, `google.
975
- # com` or `example.com`.
954
+ # anyone who is authenticated with a Google account or a service account. Does
955
+ # not include identities that come from external identity providers (IdPs)
956
+ # through identity federation. * `user:`emailid``: An email address that
957
+ # represents a specific Google account. For example, `alice@example.com` . * `
958
+ # serviceAccount:`emailid``: An email address that represents a Google service
959
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
960
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
961
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
962
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
963
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
964
+ # email address that represents a Google group. For example, `admins@example.com`
965
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
966
+ # identifier) representing a user that has been recently deleted. For example, `
967
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
968
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
969
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
970
+ # address (plus unique identifier) representing a service account that has been
971
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
972
+ # 123456789012345678901`. If the service account is undeleted, this value
973
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
974
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
975
+ # An email address (plus unique identifier) representing a Google group that has
976
+ # been recently deleted. For example, `admins@example.com?uid=
977
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
978
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
979
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
980
+ # of that domain. For example, `google.com` or `example.com`.
976
981
  # Corresponds to the JSON property `members`
977
982
  # @return [Array<String>]
978
983
  attr_accessor :members
@@ -3739,6 +3744,11 @@ module Google
3739
3744
  # @return [Google::Apis::BigqueryV2::Clustering]
3740
3745
  attr_accessor :clustering
3741
3746
 
3747
+ # Connection properties.
3748
+ # Corresponds to the JSON property `connectionProperties`
3749
+ # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
3750
+ attr_accessor :connection_properties
3751
+
3742
3752
  # [Optional] Specifies whether the job is allowed to create new tables. The
3743
3753
  # following values are supported: CREATE_IF_NEEDED: If the table does not exist,
3744
3754
  # BigQuery creates the table. CREATE_NEVER: The table must already exist. If it
@@ -3985,6 +3995,7 @@ module Google
3985
3995
  @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
3986
3996
  @autodetect = args[:autodetect] if args.key?(:autodetect)
3987
3997
  @clustering = args[:clustering] if args.key?(:clustering)
3998
+ @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
3988
3999
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
3989
4000
  @decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
3990
4001
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
@@ -4745,6 +4756,11 @@ module Google
4745
4756
  # @return [Google::Apis::BigqueryV2::SearchStatistics]
4746
4757
  attr_accessor :search_statistics
4747
4758
 
4759
+ # [Output-only] Statistics of a Spark procedure job.
4760
+ # Corresponds to the JSON property `sparkStatistics`
4761
+ # @return [Google::Apis::BigqueryV2::SparkStatistics]
4762
+ attr_accessor :spark_statistics
4763
+
4748
4764
  # The type of query statement, if valid. Possible values (new values might be
4749
4765
  # added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
4750
4766
  # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
@@ -4835,6 +4851,7 @@ module Google
4835
4851
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
4836
4852
  @schema = args[:schema] if args.key?(:schema)
4837
4853
  @search_statistics = args[:search_statistics] if args.key?(:search_statistics)
4854
+ @spark_statistics = args[:spark_statistics] if args.key?(:spark_statistics)
4838
4855
  @statement_type = args[:statement_type] if args.key?(:statement_type)
4839
4856
  @timeline = args[:timeline] if args.key?(:timeline)
4840
4857
  @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
@@ -6336,20 +6353,20 @@ module Google
6336
6353
  include Google::Apis::Core::Hashable
6337
6354
 
6338
6355
  # Fully qualified name of the user-provided connection object which holds the
6339
- # authentication information to send requests to the remote service. projects/`
6340
- # project_id`/locations/`location_id`/connections/`connection_id`
6356
+ # authentication information to send requests to the remote service. Format: ```"
6357
+ # projects/`projectId`/locations/`locationId`/connections/`connectionId`"```
6341
6358
  # Corresponds to the JSON property `connection`
6342
6359
  # @return [String]
6343
6360
  attr_accessor :connection
6344
6361
 
6345
- # Endpoint of the user-provided remote service (e.g. a function url in Google
6346
- # Cloud Functions).
6362
+ # Endpoint of the user-provided remote service, e.g. ```https://us-east1-
6363
+ # my_gcf_project.cloudfunctions.net/remote_add```
6347
6364
  # Corresponds to the JSON property `endpoint`
6348
6365
  # @return [String]
6349
6366
  attr_accessor :endpoint
6350
6367
 
6351
6368
  # Max number of rows in each batch sent to the remote service. If absent or if 0,
6352
- # it means no limit.
6369
+ # BigQuery dynamically decides the number of rows in a batch.
6353
6370
  # Corresponds to the JSON property `maxBatchingRows`
6354
6371
  # @return [Fixnum]
6355
6372
  attr_accessor :max_batching_rows
@@ -6449,8 +6466,8 @@ module Google
6449
6466
  # The data type of a variable such as a function argument. Examples include: *
6450
6467
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6451
6468
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6452
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6453
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
6469
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
6470
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6454
6471
  # DATE"` ` ` ] ` `
6455
6472
  # Corresponds to the JSON property `returnType`
6456
6473
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -6466,6 +6483,11 @@ module Google
6466
6483
  # @return [String]
6467
6484
  attr_accessor :routine_type
6468
6485
 
6486
+ # Options for a user-defined Spark routine.
6487
+ # Corresponds to the JSON property `sparkOptions`
6488
+ # @return [Google::Apis::BigqueryV2::SparkOptions]
6489
+ attr_accessor :spark_options
6490
+
6469
6491
  # Optional. Can be set for procedures only. If true (default), the definition
6470
6492
  # body will be validated in the creation and the updates of the procedure. For
6471
6493
  # procedures with an argument of ANY TYPE, the definition body validtion is not
@@ -6496,6 +6518,7 @@ module Google
6496
6518
  @return_type = args[:return_type] if args.key?(:return_type)
6497
6519
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
6498
6520
  @routine_type = args[:routine_type] if args.key?(:routine_type)
6521
+ @spark_options = args[:spark_options] if args.key?(:spark_options)
6499
6522
  @strict_mode = args[:strict_mode] if args.key?(:strict_mode)
6500
6523
  end
6501
6524
  end
@@ -6868,11 +6891,152 @@ module Google
6868
6891
  end
6869
6892
  end
6870
6893
 
6894
+ #
6895
+ class SparkLoggingInfo
6896
+ include Google::Apis::Core::Hashable
6897
+
6898
+ # [Output-only] Project ID used for logging
6899
+ # Corresponds to the JSON property `project_id`
6900
+ # @return [String]
6901
+ attr_accessor :project_id
6902
+
6903
+ # [Output-only] Resource type used for logging
6904
+ # Corresponds to the JSON property `resource_type`
6905
+ # @return [String]
6906
+ attr_accessor :resource_type
6907
+
6908
+ def initialize(**args)
6909
+ update!(**args)
6910
+ end
6911
+
6912
+ # Update properties of this object
6913
+ def update!(**args)
6914
+ @project_id = args[:project_id] if args.key?(:project_id)
6915
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
6916
+ end
6917
+ end
6918
+
6919
+ # Options for a user-defined Spark routine.
6920
+ class SparkOptions
6921
+ include Google::Apis::Core::Hashable
6922
+
6923
+ # Archive files to be extracted into the working directory of each executor. For
6924
+ # more information about Apache Spark, see [Apache Spark](https://spark.apache.
6925
+ # org/docs/latest/index.html).
6926
+ # Corresponds to the JSON property `archiveUris`
6927
+ # @return [Array<String>]
6928
+ attr_accessor :archive_uris
6929
+
6930
+ # Fully qualified name of the user-provided Spark connection object. Format: ```"
6931
+ # projects/`project_id`/locations/`location_id`/connections/`connection_id`"```
6932
+ # Corresponds to the JSON property `connection`
6933
+ # @return [String]
6934
+ attr_accessor :connection
6935
+
6936
+ # Custom container image for the runtime environment.
6937
+ # Corresponds to the JSON property `containerImage`
6938
+ # @return [String]
6939
+ attr_accessor :container_image
6940
+
6941
+ # Files to be placed in the working directory of each executor. For more
6942
+ # information about Apache Spark, see [Apache Spark](https://spark.apache.org/
6943
+ # docs/latest/index.html).
6944
+ # Corresponds to the JSON property `fileUris`
6945
+ # @return [Array<String>]
6946
+ attr_accessor :file_uris
6947
+
6948
+ # JARs to include on the driver and executor CLASSPATH. For more information
6949
+ # about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/
6950
+ # index.html).
6951
+ # Corresponds to the JSON property `jarUris`
6952
+ # @return [Array<String>]
6953
+ attr_accessor :jar_uris
6954
+
6955
+ # The main file URI of the Spark application. Exactly one of the definition_body
6956
+ # field and the main_file_uri field must be set.
6957
+ # Corresponds to the JSON property `mainFileUri`
6958
+ # @return [String]
6959
+ attr_accessor :main_file_uri
6960
+
6961
+ # Configuration properties as a set of key/value pairs, which will be passed on
6962
+ # to the Spark application. For more information, see [Apache Spark](https://
6963
+ # spark.apache.org/docs/latest/index.html).
6964
+ # Corresponds to the JSON property `properties`
6965
+ # @return [Hash<String,String>]
6966
+ attr_accessor :properties
6967
+
6968
+ # Python files to be placed on the PYTHONPATH for PySpark application. Supported
6969
+ # file types: `.py`, `.egg`, and `.zip`. For more information about Apache Spark,
6970
+ # see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
6971
+ # Corresponds to the JSON property `pyFileUris`
6972
+ # @return [Array<String>]
6973
+ attr_accessor :py_file_uris
6974
+
6975
+ # Runtime version. If not specified, the default runtime version is used.
6976
+ # Corresponds to the JSON property `runtimeVersion`
6977
+ # @return [String]
6978
+ attr_accessor :runtime_version
6979
+
6980
+ def initialize(**args)
6981
+ update!(**args)
6982
+ end
6983
+
6984
+ # Update properties of this object
6985
+ def update!(**args)
6986
+ @archive_uris = args[:archive_uris] if args.key?(:archive_uris)
6987
+ @connection = args[:connection] if args.key?(:connection)
6988
+ @container_image = args[:container_image] if args.key?(:container_image)
6989
+ @file_uris = args[:file_uris] if args.key?(:file_uris)
6990
+ @jar_uris = args[:jar_uris] if args.key?(:jar_uris)
6991
+ @main_file_uri = args[:main_file_uri] if args.key?(:main_file_uri)
6992
+ @properties = args[:properties] if args.key?(:properties)
6993
+ @py_file_uris = args[:py_file_uris] if args.key?(:py_file_uris)
6994
+ @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
6995
+ end
6996
+ end
6997
+
6998
+ #
6999
+ class SparkStatistics
7000
+ include Google::Apis::Core::Hashable
7001
+
7002
+ # [Output-only] Endpoints generated for the Spark job.
7003
+ # Corresponds to the JSON property `endpoints`
7004
+ # @return [Hash<String,String>]
7005
+ attr_accessor :endpoints
7006
+
7007
+ # [Output-only] Logging info is used to generate a link to Cloud Logging.
7008
+ # Corresponds to the JSON property `logging_info`
7009
+ # @return [Google::Apis::BigqueryV2::SparkLoggingInfo]
7010
+ attr_accessor :logging_info
7011
+
7012
+ # [Output-only] Spark job id if a Spark job is created successfully.
7013
+ # Corresponds to the JSON property `spark_job_id`
7014
+ # @return [String]
7015
+ attr_accessor :spark_job_id
7016
+
7017
+ # [Output-only] Location where the Spark job is executed.
7018
+ # Corresponds to the JSON property `spark_job_location`
7019
+ # @return [String]
7020
+ attr_accessor :spark_job_location
7021
+
7022
+ def initialize(**args)
7023
+ update!(**args)
7024
+ end
7025
+
7026
+ # Update properties of this object
7027
+ def update!(**args)
7028
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
7029
+ @logging_info = args[:logging_info] if args.key?(:logging_info)
7030
+ @spark_job_id = args[:spark_job_id] if args.key?(:spark_job_id)
7031
+ @spark_job_location = args[:spark_job_location] if args.key?(:spark_job_location)
7032
+ end
7033
+ end
7034
+
6871
7035
  # The data type of a variable such as a function argument. Examples include: *
6872
7036
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6873
7037
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6874
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6875
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7038
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7039
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6876
7040
  # DATE"` ` ` ] ` `
6877
7041
  class StandardSqlDataType
6878
7042
  include Google::Apis::Core::Hashable
@@ -6880,8 +7044,8 @@ module Google
6880
7044
  # The data type of a variable such as a function argument. Examples include: *
6881
7045
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6882
7046
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6883
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6884
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7047
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7048
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6885
7049
  # DATE"` ` ` ] ` `
6886
7050
  # Corresponds to the JSON property `arrayElementType`
6887
7051
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -6922,8 +7086,8 @@ module Google
6922
7086
  # The data type of a variable such as a function argument. Examples include: *
6923
7087
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6924
7088
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6925
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6926
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7089
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7090
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6927
7091
  # DATE"` ` ` ] ` `
6928
7092
  # Corresponds to the JSON property `type`
6929
7093
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -8037,6 +8201,12 @@ module Google
8037
8201
  attr_accessor :clean_spikes_and_dips
8038
8202
  alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
8039
8203
 
8204
+ # Enums for color space, used for processing images in Object Table. See more
8205
+ # details at https://www.tensorflow.org/io/tutorials/colorspace.
8206
+ # Corresponds to the JSON property `colorSpace`
8207
+ # @return [String]
8208
+ attr_accessor :color_space
8209
+
8040
8210
  # Subsample ratio of columns for each level for boosted tree models.
8041
8211
  # Corresponds to the JSON property `colsampleBylevel`
8042
8212
  # @return [Float]
@@ -8300,7 +8470,7 @@ module Google
8300
8470
  attr_accessor :preserve_input_structs
8301
8471
  alias_method :preserve_input_structs?, :preserve_input_structs
8302
8472
 
8303
- # Number of paths for the sampled shapley explain method.
8473
+ # Number of paths for the sampled Shapley explain method.
8304
8474
  # Corresponds to the JSON property `sampledShapleyNumPaths`
8305
8475
  # @return [Fixnum]
8306
8476
  attr_accessor :sampled_shapley_num_paths
@@ -8375,6 +8545,7 @@ module Google
8375
8545
  @booster_type = args[:booster_type] if args.key?(:booster_type)
8376
8546
  @calculate_p_values = args[:calculate_p_values] if args.key?(:calculate_p_values)
8377
8547
  @clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
8548
+ @color_space = args[:color_space] if args.key?(:color_space)
8378
8549
  @colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
8379
8550
  @colsample_bynode = args[:colsample_bynode] if args.key?(:colsample_bynode)
8380
8551
  @colsample_bytree = args[:colsample_bytree] if args.key?(:colsample_bytree)
@@ -8480,6 +8651,11 @@ module Google
8480
8651
  # @return [Google::Apis::BigqueryV2::TrainingOptions]
8481
8652
  attr_accessor :training_options
8482
8653
 
8654
+ # The start time of this training run, in milliseconds since epoch.
8655
+ # Corresponds to the JSON property `trainingStartTime`
8656
+ # @return [Fixnum]
8657
+ attr_accessor :training_start_time
8658
+
8483
8659
  # The model id in Vertex AI Model Registry for this training run
8484
8660
  # Corresponds to the JSON property `vertexAiModelId`
8485
8661
  # @return [String]
@@ -8503,6 +8679,7 @@ module Google
8503
8679
  @results = args[:results] if args.key?(:results)
8504
8680
  @start_time = args[:start_time] if args.key?(:start_time)
8505
8681
  @training_options = args[:training_options] if args.key?(:training_options)
8682
+ @training_start_time = args[:training_start_time] if args.key?(:training_start_time)
8506
8683
  @vertex_ai_model_id = args[:vertex_ai_model_id] if args.key?(:vertex_ai_model_id)
8507
8684
  @vertex_ai_model_version = args[:vertex_ai_model_version] if args.key?(:vertex_ai_model_version)
8508
8685
  end
@@ -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.37.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220716"
25
+ REVISION = "20220903"
26
26
  end
27
27
  end
28
28
  end
@@ -820,6 +820,24 @@ module Google
820
820
  include Google::Apis::Core::JsonObjectSupport
821
821
  end
822
822
 
823
+ class SparkLoggingInfo
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class SparkOptions
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
835
+ class SparkStatistics
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
823
841
  class StandardSqlDataType
824
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
843
 
@@ -1944,6 +1962,8 @@ module Google
1944
1962
  property :autodetect, as: 'autodetect'
1945
1963
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
1946
1964
 
1965
+ collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1966
+
1947
1967
  property :create_disposition, as: 'createDisposition'
1948
1968
  collection :decimal_target_types, as: 'decimalTargetTypes'
1949
1969
  property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
@@ -2164,6 +2184,8 @@ module Google
2164
2184
 
2165
2185
  property :search_statistics, as: 'searchStatistics', class: Google::Apis::BigqueryV2::SearchStatistics, decorator: Google::Apis::BigqueryV2::SearchStatistics::Representation
2166
2186
 
2187
+ property :spark_statistics, as: 'sparkStatistics', class: Google::Apis::BigqueryV2::SparkStatistics, decorator: Google::Apis::BigqueryV2::SparkStatistics::Representation
2188
+
2167
2189
  property :statement_type, as: 'statementType'
2168
2190
  collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
2169
2191
 
@@ -2585,6 +2607,8 @@ module Google
2585
2607
  property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
2586
2608
 
2587
2609
  property :routine_type, as: 'routineType'
2610
+ property :spark_options, as: 'sparkOptions', class: Google::Apis::BigqueryV2::SparkOptions, decorator: Google::Apis::BigqueryV2::SparkOptions::Representation
2611
+
2588
2612
  property :strict_mode, as: 'strictMode'
2589
2613
  end
2590
2614
  end
@@ -2692,6 +2716,40 @@ module Google
2692
2716
  end
2693
2717
  end
2694
2718
 
2719
+ class SparkLoggingInfo
2720
+ # @private
2721
+ class Representation < Google::Apis::Core::JsonRepresentation
2722
+ property :project_id, as: 'project_id'
2723
+ property :resource_type, as: 'resource_type'
2724
+ end
2725
+ end
2726
+
2727
+ class SparkOptions
2728
+ # @private
2729
+ class Representation < Google::Apis::Core::JsonRepresentation
2730
+ collection :archive_uris, as: 'archiveUris'
2731
+ property :connection, as: 'connection'
2732
+ property :container_image, as: 'containerImage'
2733
+ collection :file_uris, as: 'fileUris'
2734
+ collection :jar_uris, as: 'jarUris'
2735
+ property :main_file_uri, as: 'mainFileUri'
2736
+ hash :properties, as: 'properties'
2737
+ collection :py_file_uris, as: 'pyFileUris'
2738
+ property :runtime_version, as: 'runtimeVersion'
2739
+ end
2740
+ end
2741
+
2742
+ class SparkStatistics
2743
+ # @private
2744
+ class Representation < Google::Apis::Core::JsonRepresentation
2745
+ hash :endpoints, as: 'endpoints'
2746
+ property :logging_info, as: 'logging_info', class: Google::Apis::BigqueryV2::SparkLoggingInfo, decorator: Google::Apis::BigqueryV2::SparkLoggingInfo::Representation
2747
+
2748
+ property :spark_job_id, as: 'spark_job_id'
2749
+ property :spark_job_location, as: 'spark_job_location'
2750
+ end
2751
+ end
2752
+
2695
2753
  class StandardSqlDataType
2696
2754
  # @private
2697
2755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2996,6 +3054,7 @@ module Google
2996
3054
  property :booster_type, as: 'boosterType'
2997
3055
  property :calculate_p_values, as: 'calculatePValues'
2998
3056
  property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
3057
+ property :color_space, as: 'colorSpace'
2999
3058
  property :colsample_bylevel, as: 'colsampleBylevel'
3000
3059
  property :colsample_bynode, as: 'colsampleBynode'
3001
3060
  property :colsample_bytree, as: 'colsampleBytree'
@@ -3075,6 +3134,7 @@ module Google
3075
3134
  property :start_time, as: 'startTime'
3076
3135
  property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingOptions::Representation
3077
3136
 
3137
+ property :training_start_time, :numeric_string => true, as: 'trainingStartTime'
3078
3138
  property :vertex_ai_model_id, as: 'vertexAiModelId'
3079
3139
  property :vertex_ai_model_version, as: 'vertexAiModelVersion'
3080
3140
  end
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.37.0
4
+ version: 0.40.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: 2022-08-01 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.40.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: []