google-apis-bigquery_v2 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/bigquery_v2/classes.rb +121 -20
- data/lib/google/apis/bigquery_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigquery_v2/representations.rb +25 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dabde702fa9d16d61e53365e4d7da01ea13203c60bedae7e51b4e327e2083d07
|
4
|
+
data.tar.gz: 599fd820dac6e754041c230ca689c1dd5437efe7543f847219a7cdb729fdda45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46e55392355e6da9e5a3ceedd6e4c09affed697d64418b802da3104d579934e1fa87ddda559d703d57759a327d9268bdd999dff945e81a4d970b08c7d7a502f8
|
7
|
+
data.tar.gz: d428d0d1d2f86e9ab516cff6eb5c83314a78c57b979a0954bcc9e995798d0928ec133365495a53283bc0ab20585355ee9fc32b59eb42ea6994e41bcfb8814a57
|
data/CHANGELOG.md
CHANGED
@@ -954,25 +954,28 @@ module Google
|
|
954
954
|
# anyone who is authenticated with a Google account or a service account. * `
|
955
955
|
# user:`emailid``: An email address that represents a specific Google account.
|
956
956
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
957
|
-
# address that represents a service account. For example, `my-other-app@
|
958
|
-
# gserviceaccount.com`. * `
|
959
|
-
#
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
# emailid
|
969
|
-
#
|
970
|
-
#
|
971
|
-
#
|
972
|
-
#
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
957
|
+
# address that represents a Google service account. For example, `my-other-app@
|
958
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
959
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
960
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
961
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
962
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
963
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
964
|
+
# email address (plus unique identifier) representing a user that has been
|
965
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
966
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
967
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
968
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
969
|
+
# representing a service account that has been recently deleted. For example, `
|
970
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
971
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
972
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
973
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
974
|
+
# representing a Google group that has been recently deleted. For example, `
|
975
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
976
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
977
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
978
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
976
979
|
# Corresponds to the JSON property `members`
|
977
980
|
# @return [Array<String>]
|
978
981
|
attr_accessor :members
|
@@ -6466,6 +6469,11 @@ module Google
|
|
6466
6469
|
# @return [String]
|
6467
6470
|
attr_accessor :routine_type
|
6468
6471
|
|
6472
|
+
# Options for a user-defined Spark routine.
|
6473
|
+
# Corresponds to the JSON property `sparkOptions`
|
6474
|
+
# @return [Google::Apis::BigqueryV2::SparkOptions]
|
6475
|
+
attr_accessor :spark_options
|
6476
|
+
|
6469
6477
|
# Optional. Can be set for procedures only. If true (default), the definition
|
6470
6478
|
# body will be validated in the creation and the updates of the procedure. For
|
6471
6479
|
# procedures with an argument of ANY TYPE, the definition body validtion is not
|
@@ -6496,6 +6504,7 @@ module Google
|
|
6496
6504
|
@return_type = args[:return_type] if args.key?(:return_type)
|
6497
6505
|
@routine_reference = args[:routine_reference] if args.key?(:routine_reference)
|
6498
6506
|
@routine_type = args[:routine_type] if args.key?(:routine_type)
|
6507
|
+
@spark_options = args[:spark_options] if args.key?(:spark_options)
|
6499
6508
|
@strict_mode = args[:strict_mode] if args.key?(:strict_mode)
|
6500
6509
|
end
|
6501
6510
|
end
|
@@ -6868,6 +6877,85 @@ module Google
|
|
6868
6877
|
end
|
6869
6878
|
end
|
6870
6879
|
|
6880
|
+
# Options for a user-defined Spark routine.
|
6881
|
+
class SparkOptions
|
6882
|
+
include Google::Apis::Core::Hashable
|
6883
|
+
|
6884
|
+
# Archive files to be extracted into the working directory of each executor. For
|
6885
|
+
# more information about Apache Spark, see [Apache Spark](https://spark.apache.
|
6886
|
+
# org/docs/latest/index.html).
|
6887
|
+
# Corresponds to the JSON property `archiveUris`
|
6888
|
+
# @return [Array<String>]
|
6889
|
+
attr_accessor :archive_uris
|
6890
|
+
|
6891
|
+
# Fully qualified name of the user-provided Spark connection object. Format: ```"
|
6892
|
+
# projects/`project_id`/locations/`location_id`/connections/`connection_id`"```
|
6893
|
+
# Corresponds to the JSON property `connection`
|
6894
|
+
# @return [String]
|
6895
|
+
attr_accessor :connection
|
6896
|
+
|
6897
|
+
# Custom container image for the runtime environment.
|
6898
|
+
# Corresponds to the JSON property `containerImage`
|
6899
|
+
# @return [String]
|
6900
|
+
attr_accessor :container_image
|
6901
|
+
|
6902
|
+
# Files to be placed in the working directory of each executor. For more
|
6903
|
+
# information about Apache Spark, see [Apache Spark](https://spark.apache.org/
|
6904
|
+
# docs/latest/index.html).
|
6905
|
+
# Corresponds to the JSON property `fileUris`
|
6906
|
+
# @return [Array<String>]
|
6907
|
+
attr_accessor :file_uris
|
6908
|
+
|
6909
|
+
# JARs to include on the driver and executor CLASSPATH. For more information
|
6910
|
+
# about Apache Spark, see [Apache Spark](https://spark.apache.org/docs/latest/
|
6911
|
+
# index.html).
|
6912
|
+
# Corresponds to the JSON property `jarUris`
|
6913
|
+
# @return [Array<String>]
|
6914
|
+
attr_accessor :jar_uris
|
6915
|
+
|
6916
|
+
# The main file URI of the Spark application. Exactly one of the definition_body
|
6917
|
+
# field and the main_file_uri field must be set.
|
6918
|
+
# Corresponds to the JSON property `mainFileUri`
|
6919
|
+
# @return [String]
|
6920
|
+
attr_accessor :main_file_uri
|
6921
|
+
|
6922
|
+
# Configuration properties as a set of key/value pairs, which will be passed on
|
6923
|
+
# to the Spark application. For more information, see [Apache Spark](https://
|
6924
|
+
# spark.apache.org/docs/latest/index.html).
|
6925
|
+
# Corresponds to the JSON property `properties`
|
6926
|
+
# @return [Hash<String,String>]
|
6927
|
+
attr_accessor :properties
|
6928
|
+
|
6929
|
+
# Python files to be placed on the PYTHONPATH for PySpark application. Supported
|
6930
|
+
# file types: `.py`, `.egg`, and `.zip`. For more information about Apache Spark,
|
6931
|
+
# see [Apache Spark](https://spark.apache.org/docs/latest/index.html).
|
6932
|
+
# Corresponds to the JSON property `pyFileUris`
|
6933
|
+
# @return [Array<String>]
|
6934
|
+
attr_accessor :py_file_uris
|
6935
|
+
|
6936
|
+
# Runtime version. If not specified, the default runtime version is used.
|
6937
|
+
# Corresponds to the JSON property `runtimeVersion`
|
6938
|
+
# @return [String]
|
6939
|
+
attr_accessor :runtime_version
|
6940
|
+
|
6941
|
+
def initialize(**args)
|
6942
|
+
update!(**args)
|
6943
|
+
end
|
6944
|
+
|
6945
|
+
# Update properties of this object
|
6946
|
+
def update!(**args)
|
6947
|
+
@archive_uris = args[:archive_uris] if args.key?(:archive_uris)
|
6948
|
+
@connection = args[:connection] if args.key?(:connection)
|
6949
|
+
@container_image = args[:container_image] if args.key?(:container_image)
|
6950
|
+
@file_uris = args[:file_uris] if args.key?(:file_uris)
|
6951
|
+
@jar_uris = args[:jar_uris] if args.key?(:jar_uris)
|
6952
|
+
@main_file_uri = args[:main_file_uri] if args.key?(:main_file_uri)
|
6953
|
+
@properties = args[:properties] if args.key?(:properties)
|
6954
|
+
@py_file_uris = args[:py_file_uris] if args.key?(:py_file_uris)
|
6955
|
+
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
6956
|
+
end
|
6957
|
+
end
|
6958
|
+
|
6871
6959
|
# The data type of a variable such as a function argument. Examples include: *
|
6872
6960
|
# INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
|
6873
6961
|
# arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
|
@@ -8037,6 +8125,12 @@ module Google
|
|
8037
8125
|
attr_accessor :clean_spikes_and_dips
|
8038
8126
|
alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
|
8039
8127
|
|
8128
|
+
# Enums for color space, used for processing images in Object Table. See more
|
8129
|
+
# details at https://www.tensorflow.org/io/tutorials/colorspace.
|
8130
|
+
# Corresponds to the JSON property `colorSpace`
|
8131
|
+
# @return [String]
|
8132
|
+
attr_accessor :color_space
|
8133
|
+
|
8040
8134
|
# Subsample ratio of columns for each level for boosted tree models.
|
8041
8135
|
# Corresponds to the JSON property `colsampleBylevel`
|
8042
8136
|
# @return [Float]
|
@@ -8300,7 +8394,7 @@ module Google
|
|
8300
8394
|
attr_accessor :preserve_input_structs
|
8301
8395
|
alias_method :preserve_input_structs?, :preserve_input_structs
|
8302
8396
|
|
8303
|
-
# Number of paths for the sampled
|
8397
|
+
# Number of paths for the sampled Shapley explain method.
|
8304
8398
|
# Corresponds to the JSON property `sampledShapleyNumPaths`
|
8305
8399
|
# @return [Fixnum]
|
8306
8400
|
attr_accessor :sampled_shapley_num_paths
|
@@ -8375,6 +8469,7 @@ module Google
|
|
8375
8469
|
@booster_type = args[:booster_type] if args.key?(:booster_type)
|
8376
8470
|
@calculate_p_values = args[:calculate_p_values] if args.key?(:calculate_p_values)
|
8377
8471
|
@clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
|
8472
|
+
@color_space = args[:color_space] if args.key?(:color_space)
|
8378
8473
|
@colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
|
8379
8474
|
@colsample_bynode = args[:colsample_bynode] if args.key?(:colsample_bynode)
|
8380
8475
|
@colsample_bytree = args[:colsample_bytree] if args.key?(:colsample_bytree)
|
@@ -8480,6 +8575,11 @@ module Google
|
|
8480
8575
|
# @return [Google::Apis::BigqueryV2::TrainingOptions]
|
8481
8576
|
attr_accessor :training_options
|
8482
8577
|
|
8578
|
+
# The start time of this training run, in milliseconds since epoch.
|
8579
|
+
# Corresponds to the JSON property `trainingStartTime`
|
8580
|
+
# @return [Fixnum]
|
8581
|
+
attr_accessor :training_start_time
|
8582
|
+
|
8483
8583
|
# The model id in Vertex AI Model Registry for this training run
|
8484
8584
|
# Corresponds to the JSON property `vertexAiModelId`
|
8485
8585
|
# @return [String]
|
@@ -8503,6 +8603,7 @@ module Google
|
|
8503
8603
|
@results = args[:results] if args.key?(:results)
|
8504
8604
|
@start_time = args[:start_time] if args.key?(:start_time)
|
8505
8605
|
@training_options = args[:training_options] if args.key?(:training_options)
|
8606
|
+
@training_start_time = args[:training_start_time] if args.key?(:training_start_time)
|
8506
8607
|
@vertex_ai_model_id = args[:vertex_ai_model_id] if args.key?(:vertex_ai_model_id)
|
8507
8608
|
@vertex_ai_model_version = args[:vertex_ai_model_version] if args.key?(:vertex_ai_model_version)
|
8508
8609
|
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.
|
19
|
+
GEM_VERSION = "0.39.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 = "
|
25
|
+
REVISION = "20220806"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -820,6 +820,12 @@ module Google
|
|
820
820
|
include Google::Apis::Core::JsonObjectSupport
|
821
821
|
end
|
822
822
|
|
823
|
+
class SparkOptions
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
823
829
|
class StandardSqlDataType
|
824
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
831
|
|
@@ -2585,6 +2591,8 @@ module Google
|
|
2585
2591
|
property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
2586
2592
|
|
2587
2593
|
property :routine_type, as: 'routineType'
|
2594
|
+
property :spark_options, as: 'sparkOptions', class: Google::Apis::BigqueryV2::SparkOptions, decorator: Google::Apis::BigqueryV2::SparkOptions::Representation
|
2595
|
+
|
2588
2596
|
property :strict_mode, as: 'strictMode'
|
2589
2597
|
end
|
2590
2598
|
end
|
@@ -2692,6 +2700,21 @@ module Google
|
|
2692
2700
|
end
|
2693
2701
|
end
|
2694
2702
|
|
2703
|
+
class SparkOptions
|
2704
|
+
# @private
|
2705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2706
|
+
collection :archive_uris, as: 'archiveUris'
|
2707
|
+
property :connection, as: 'connection'
|
2708
|
+
property :container_image, as: 'containerImage'
|
2709
|
+
collection :file_uris, as: 'fileUris'
|
2710
|
+
collection :jar_uris, as: 'jarUris'
|
2711
|
+
property :main_file_uri, as: 'mainFileUri'
|
2712
|
+
hash :properties, as: 'properties'
|
2713
|
+
collection :py_file_uris, as: 'pyFileUris'
|
2714
|
+
property :runtime_version, as: 'runtimeVersion'
|
2715
|
+
end
|
2716
|
+
end
|
2717
|
+
|
2695
2718
|
class StandardSqlDataType
|
2696
2719
|
# @private
|
2697
2720
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2996,6 +3019,7 @@ module Google
|
|
2996
3019
|
property :booster_type, as: 'boosterType'
|
2997
3020
|
property :calculate_p_values, as: 'calculatePValues'
|
2998
3021
|
property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
|
3022
|
+
property :color_space, as: 'colorSpace'
|
2999
3023
|
property :colsample_bylevel, as: 'colsampleBylevel'
|
3000
3024
|
property :colsample_bynode, as: 'colsampleBynode'
|
3001
3025
|
property :colsample_bytree, as: 'colsampleBytree'
|
@@ -3075,6 +3099,7 @@ module Google
|
|
3075
3099
|
property :start_time, as: 'startTime'
|
3076
3100
|
property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingOptions::Representation
|
3077
3101
|
|
3102
|
+
property :training_start_time, :numeric_string => true, as: 'trainingStartTime'
|
3078
3103
|
property :vertex_ai_model_id, as: 'vertexAiModelId'
|
3079
3104
|
property :vertex_ai_model_version, as: 'vertexAiModelVersion'
|
3080
3105
|
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.
|
4
|
+
version: 0.39.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-
|
11
|
+
date: 2022-08-15 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.39.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: []
|