google-apis-bigquery_v2 0.39.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dabde702fa9d16d61e53365e4d7da01ea13203c60bedae7e51b4e327e2083d07
4
- data.tar.gz: 599fd820dac6e754041c230ca689c1dd5437efe7543f847219a7cdb729fdda45
3
+ metadata.gz: 6b75a89dfc8297544e2d34afaaf5a077f387b71f866505e38c652baf8a3dcdf0
4
+ data.tar.gz: c5eb6f1af719af2126cc63a8e82f9baf416811befb795f6dc82ccc7b10850168
5
5
  SHA512:
6
- metadata.gz: 46e55392355e6da9e5a3ceedd6e4c09affed697d64418b802da3104d579934e1fa87ddda559d703d57759a327d9268bdd999dff945e81a4d970b08c7d7a502f8
7
- data.tar.gz: d428d0d1d2f86e9ab516cff6eb5c83314a78c57b979a0954bcc9e995798d0928ec133365495a53283bc0ab20585355ee9fc32b59eb42ea6994e41bcfb8814a57
6
+ metadata.gz: 3b578e7b2ca1001b9d9d9bbae0fe321a8e243451f1803ba4ea24bc08d76baeff71a8819784e7410dc6e54c01f32db9ed1e7d62af3bfbcf7acabb8acb5c99cb7b
7
+ data.tar.gz: 11378b2b1dbd5656e706583851b72a51121d4d069f013bc90cc48403b200a94b22001445373b0f035e41481cd077d75743563c5764831ed0ba41c7b4615036bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.39.0 (2022-08-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220806
@@ -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,31 +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 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`.
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`.
979
981
  # Corresponds to the JSON property `members`
980
982
  # @return [Array<String>]
981
983
  attr_accessor :members
@@ -3742,6 +3744,11 @@ module Google
3742
3744
  # @return [Google::Apis::BigqueryV2::Clustering]
3743
3745
  attr_accessor :clustering
3744
3746
 
3747
+ # Connection properties.
3748
+ # Corresponds to the JSON property `connectionProperties`
3749
+ # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
3750
+ attr_accessor :connection_properties
3751
+
3745
3752
  # [Optional] Specifies whether the job is allowed to create new tables. The
3746
3753
  # following values are supported: CREATE_IF_NEEDED: If the table does not exist,
3747
3754
  # BigQuery creates the table. CREATE_NEVER: The table must already exist. If it
@@ -3988,6 +3995,7 @@ module Google
3988
3995
  @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
3989
3996
  @autodetect = args[:autodetect] if args.key?(:autodetect)
3990
3997
  @clustering = args[:clustering] if args.key?(:clustering)
3998
+ @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
3991
3999
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
3992
4000
  @decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
3993
4001
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
@@ -4748,6 +4756,11 @@ module Google
4748
4756
  # @return [Google::Apis::BigqueryV2::SearchStatistics]
4749
4757
  attr_accessor :search_statistics
4750
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
+
4751
4764
  # The type of query statement, if valid. Possible values (new values might be
4752
4765
  # added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
4753
4766
  # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
@@ -4838,6 +4851,7 @@ module Google
4838
4851
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
4839
4852
  @schema = args[:schema] if args.key?(:schema)
4840
4853
  @search_statistics = args[:search_statistics] if args.key?(:search_statistics)
4854
+ @spark_statistics = args[:spark_statistics] if args.key?(:spark_statistics)
4841
4855
  @statement_type = args[:statement_type] if args.key?(:statement_type)
4842
4856
  @timeline = args[:timeline] if args.key?(:timeline)
4843
4857
  @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
@@ -6452,8 +6466,8 @@ module Google
6452
6466
  # The data type of a variable such as a function argument. Examples include: *
6453
6467
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6454
6468
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6455
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6456
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
6469
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
6470
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6457
6471
  # DATE"` ` ` ] ` `
6458
6472
  # Corresponds to the JSON property `returnType`
6459
6473
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -6877,6 +6891,31 @@ module Google
6877
6891
  end
6878
6892
  end
6879
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
+
6880
6919
  # Options for a user-defined Spark routine.
6881
6920
  class SparkOptions
6882
6921
  include Google::Apis::Core::Hashable
@@ -6956,11 +6995,48 @@ module Google
6956
6995
  end
6957
6996
  end
6958
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
+
6959
7035
  # The data type of a variable such as a function argument. Examples include: *
6960
7036
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6961
7037
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6962
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6963
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7038
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7039
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6964
7040
  # DATE"` ` ` ] ` `
6965
7041
  class StandardSqlDataType
6966
7042
  include Google::Apis::Core::Hashable
@@ -6968,8 +7044,8 @@ module Google
6968
7044
  # The data type of a variable such as a function argument. Examples include: *
6969
7045
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6970
7046
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6971
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6972
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7047
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7048
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6973
7049
  # DATE"` ` ` ] ` `
6974
7050
  # Corresponds to the JSON property `arrayElementType`
6975
7051
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -7010,8 +7086,8 @@ module Google
7010
7086
  # The data type of a variable such as a function argument. Examples include: *
7011
7087
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
7012
7088
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
7013
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
7014
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7089
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7090
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
7015
7091
  # DATE"` ` ` ] ` `
7016
7092
  # Corresponds to the JSON property `type`
7017
7093
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -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.39.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 = "20220806"
25
+ REVISION = "20220903"
26
26
  end
27
27
  end
28
28
  end
@@ -820,12 +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
+
823
829
  class SparkOptions
824
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
831
 
826
832
  include Google::Apis::Core::JsonObjectSupport
827
833
  end
828
834
 
835
+ class SparkStatistics
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
829
841
  class StandardSqlDataType
830
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
843
 
@@ -1950,6 +1962,8 @@ module Google
1950
1962
  property :autodetect, as: 'autodetect'
1951
1963
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
1952
1964
 
1965
+ collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1966
+
1953
1967
  property :create_disposition, as: 'createDisposition'
1954
1968
  collection :decimal_target_types, as: 'decimalTargetTypes'
1955
1969
  property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
@@ -2170,6 +2184,8 @@ module Google
2170
2184
 
2171
2185
  property :search_statistics, as: 'searchStatistics', class: Google::Apis::BigqueryV2::SearchStatistics, decorator: Google::Apis::BigqueryV2::SearchStatistics::Representation
2172
2186
 
2187
+ property :spark_statistics, as: 'sparkStatistics', class: Google::Apis::BigqueryV2::SparkStatistics, decorator: Google::Apis::BigqueryV2::SparkStatistics::Representation
2188
+
2173
2189
  property :statement_type, as: 'statementType'
2174
2190
  collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
2175
2191
 
@@ -2700,6 +2716,14 @@ module Google
2700
2716
  end
2701
2717
  end
2702
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
+
2703
2727
  class SparkOptions
2704
2728
  # @private
2705
2729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2715,6 +2739,17 @@ module Google
2715
2739
  end
2716
2740
  end
2717
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
+
2718
2753
  class StandardSqlDataType
2719
2754
  # @private
2720
2755
  class Representation < Google::Apis::Core::JsonRepresentation
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.39.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-15 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.39.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: []