google-apis-bigquery_v2 0.19.0 → 0.23.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 +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/bigquery_v2/classes.rb +111 -91
- data/lib/google/apis/bigquery_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigquery_v2/representations.rb +19 -5
- data/lib/google/apis/bigquery_v2/service.rb +8 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f7d3671e13bbdd4de3b03fbea6b636ab819899f7cface37194f2fc31a43041f
|
4
|
+
data.tar.gz: 9a4a5d2b5012c8926e5d2605db2375b5c552085b776bc02ee7d44c8ae33c7b41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ce45ae03c6456d55ca6ad04c0ae60d80acc359e4f61ee2f6250434d6b91b9411cd3ea61f1039445fef1724c4930903563fef2daefd41e509265aca454c54e4
|
7
|
+
data.tar.gz: '0586322ca3bf369277f7c1ba14a9d9dc831b84620ffd53328ac3cb752450ece1d61c947c4477d03fca4ca5978a72c9b51695acc49ee078592c6bbad1d7a85220'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.23.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.22.0 (2021-12-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211129
|
10
|
+
|
11
|
+
### v0.21.0 (2021-11-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211106
|
14
|
+
|
15
|
+
### v0.20.0 (2021-10-22)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211017
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.19.0 (2021-10-02)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210927
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/bigquery_v2"
|
|
51
51
|
client = Google::Apis::BigqueryV2::BigqueryService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Bigquery service in particular.)
|
67
67
|
|
@@ -922,7 +922,7 @@ module Google
|
|
922
922
|
end
|
923
923
|
end
|
924
924
|
|
925
|
-
# Associates `members
|
925
|
+
# Associates `members`, or principals, with a `role`.
|
926
926
|
class Binding
|
927
927
|
include Google::Apis::Core::Hashable
|
928
928
|
|
@@ -945,7 +945,7 @@ module Google
|
|
945
945
|
# @return [Google::Apis::BigqueryV2::Expr]
|
946
946
|
attr_accessor :condition
|
947
947
|
|
948
|
-
# Specifies the
|
948
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
949
949
|
# members` can have the following values: * `allUsers`: A special identifier
|
950
950
|
# that represents anyone who is on the internet; with or without a Google
|
951
951
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -975,8 +975,8 @@ module Google
|
|
975
975
|
# @return [Array<String>]
|
976
976
|
attr_accessor :members
|
977
977
|
|
978
|
-
# Role that is assigned to `members
|
979
|
-
#
|
978
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
979
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
980
980
|
# Corresponds to the JSON property `role`
|
981
981
|
# @return [String]
|
982
982
|
attr_accessor :role
|
@@ -1912,18 +1912,10 @@ module Google
|
|
1912
1912
|
# @return [String]
|
1913
1913
|
attr_accessor :description
|
1914
1914
|
|
1915
|
-
# [
|
1916
|
-
#
|
1917
|
-
#
|
1918
|
-
|
1919
|
-
# new table, if dataset level default table expiration time is present, that
|
1920
|
-
# will be applied. For an existing table, no change is made to the table's
|
1921
|
-
# expiration time. Additionally this field is only applied when data is written
|
1922
|
-
# to an empty table (WRITE_EMPTY) or data is overwritten to a table (
|
1923
|
-
# WRITE_TRUNCATE).
|
1924
|
-
# Corresponds to the JSON property `expirationTimestampMillis`
|
1925
|
-
# @return [Fixnum]
|
1926
|
-
attr_accessor :expiration_timestamp_millis
|
1915
|
+
# [Internal] This field is for Google internal use only.
|
1916
|
+
# Corresponds to the JSON property `expirationTime`
|
1917
|
+
# @return [DateTime]
|
1918
|
+
attr_accessor :expiration_time
|
1927
1919
|
|
1928
1920
|
# [Optional] The friendly name for the destination table. This will only be used
|
1929
1921
|
# if the destination table is newly created. If the table already exists and a
|
@@ -1947,7 +1939,7 @@ module Google
|
|
1947
1939
|
# Update properties of this object
|
1948
1940
|
def update!(**args)
|
1949
1941
|
@description = args[:description] if args.key?(:description)
|
1950
|
-
@
|
1942
|
+
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1951
1943
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
1952
1944
|
@labels = args[:labels] if args.key?(:labels)
|
1953
1945
|
end
|
@@ -2598,13 +2590,16 @@ module Google
|
|
2598
2590
|
class GetPolicyOptions
|
2599
2591
|
include Google::Apis::Core::Hashable
|
2600
2592
|
|
2601
|
-
# Optional. The policy
|
2602
|
-
# 3. Requests specifying an invalid value will be
|
2603
|
-
# policies with any conditional bindings must
|
2604
|
-
#
|
2605
|
-
# field unset.
|
2606
|
-
#
|
2607
|
-
#
|
2593
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2594
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2595
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2596
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2597
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2598
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2599
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2600
|
+
# bindings, the response uses version 1. To learn which resources support
|
2601
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2602
|
+
# google.com/iam/help/conditions/resource-policies).
|
2608
2603
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
2609
2604
|
# @return [Fixnum]
|
2610
2605
|
attr_accessor :requested_policy_version
|
@@ -2832,21 +2827,10 @@ module Google
|
|
2832
2827
|
end
|
2833
2828
|
end
|
2834
2829
|
|
2835
|
-
#
|
2830
|
+
#
|
2836
2831
|
class IterationResult
|
2837
2832
|
include Google::Apis::Core::Hashable
|
2838
2833
|
|
2839
|
-
# (Auto-)arima fitting result. Wrap everything in ArimaResult for easier
|
2840
|
-
# refactoring if we want to use model-specific iteration results.
|
2841
|
-
# Corresponds to the JSON property `arimaResult`
|
2842
|
-
# @return [Google::Apis::BigqueryV2::ArimaResult]
|
2843
|
-
attr_accessor :arima_result
|
2844
|
-
|
2845
|
-
# Information about top clusters for clustering models.
|
2846
|
-
# Corresponds to the JSON property `clusterInfos`
|
2847
|
-
# @return [Array<Google::Apis::BigqueryV2::ClusterInfo>]
|
2848
|
-
attr_accessor :cluster_infos
|
2849
|
-
|
2850
2834
|
# Time taken to run the iteration in milliseconds.
|
2851
2835
|
# Corresponds to the JSON property `durationMs`
|
2852
2836
|
# @return [Fixnum]
|
@@ -2878,8 +2862,6 @@ module Google
|
|
2878
2862
|
|
2879
2863
|
# Update properties of this object
|
2880
2864
|
def update!(**args)
|
2881
|
-
@arima_result = args[:arima_result] if args.key?(:arima_result)
|
2882
|
-
@cluster_infos = args[:cluster_infos] if args.key?(:cluster_infos)
|
2883
2865
|
@duration_ms = args[:duration_ms] if args.key?(:duration_ms)
|
2884
2866
|
@eval_loss = args[:eval_loss] if args.key?(:eval_loss)
|
2885
2867
|
@index = args[:index] if args.key?(:index)
|
@@ -4096,6 +4078,11 @@ module Google
|
|
4096
4078
|
# @return [Fixnum]
|
4097
4079
|
attr_accessor :estimated_bytes_processed
|
4098
4080
|
|
4081
|
+
# [Output-only] Statistics of a BigQuery ML training job.
|
4082
|
+
# Corresponds to the JSON property `mlStatistics`
|
4083
|
+
# @return [Google::Apis::BigqueryV2::MlStatistics]
|
4084
|
+
attr_accessor :ml_statistics
|
4085
|
+
|
4099
4086
|
# [Output-only, Beta] Information about create model query job progress.
|
4100
4087
|
# Corresponds to the JSON property `modelTraining`
|
4101
4088
|
# @return [Google::Apis::BigqueryV2::BigQueryModelTraining]
|
@@ -4224,6 +4211,7 @@ module Google
|
|
4224
4211
|
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
|
4225
4212
|
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
4226
4213
|
@estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
|
4214
|
+
@ml_statistics = args[:ml_statistics] if args.key?(:ml_statistics)
|
4227
4215
|
@model_training = args[:model_training] if args.key?(:model_training)
|
4228
4216
|
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
4229
4217
|
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
|
@@ -4520,6 +4508,33 @@ module Google
|
|
4520
4508
|
end
|
4521
4509
|
end
|
4522
4510
|
|
4511
|
+
#
|
4512
|
+
class MlStatistics
|
4513
|
+
include Google::Apis::Core::Hashable
|
4514
|
+
|
4515
|
+
# Results for all completed iterations.
|
4516
|
+
# Corresponds to the JSON property `iterationResults`
|
4517
|
+
# @return [Array<Google::Apis::BigqueryV2::IterationResult>]
|
4518
|
+
attr_accessor :iteration_results
|
4519
|
+
|
4520
|
+
# Maximum number of iterations specified as max_iterations in the 'CREATE MODEL'
|
4521
|
+
# query. The actual number of iterations may be less than this number due to
|
4522
|
+
# early stop.
|
4523
|
+
# Corresponds to the JSON property `maxIterations`
|
4524
|
+
# @return [Fixnum]
|
4525
|
+
attr_accessor :max_iterations
|
4526
|
+
|
4527
|
+
def initialize(**args)
|
4528
|
+
update!(**args)
|
4529
|
+
end
|
4530
|
+
|
4531
|
+
# Update properties of this object
|
4532
|
+
def update!(**args)
|
4533
|
+
@iteration_results = args[:iteration_results] if args.key?(:iteration_results)
|
4534
|
+
@max_iterations = args[:max_iterations] if args.key?(:max_iterations)
|
4535
|
+
end
|
4536
|
+
end
|
4537
|
+
|
4523
4538
|
#
|
4524
4539
|
class Model
|
4525
4540
|
include Google::Apis::Core::Hashable
|
@@ -4794,31 +4809,31 @@ module Google
|
|
4794
4809
|
|
4795
4810
|
# An Identity and Access Management (IAM) policy, which specifies access
|
4796
4811
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
4797
|
-
# A `binding` binds one or more `members
|
4798
|
-
# user accounts, service accounts, Google groups, and domains (
|
4799
|
-
# A `role` is a named list of permissions; each `role` can be
|
4800
|
-
# role or a user-created custom role. For some types of Google
|
4801
|
-
# a `binding` can also specify a `condition`, which is a
|
4802
|
-
# allows access to a resource only if the expression
|
4803
|
-
# condition can add constraints based on attributes of
|
4804
|
-
# or both. To learn which resources support
|
4805
|
-
# see the [IAM documentation](https://cloud.
|
4806
|
-
# resource-policies). **JSON example:** ` "
|
4807
|
-
# resourcemanager.organizationAdmin", "members": [
|
4808
|
-
# group:admins@example.com", "domain:google.com", "
|
4809
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
4810
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
4811
|
-
# title": "expirable access", "description": "Does not grant
|
4812
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
4813
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
4814
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
4815
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4816
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
4817
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
4818
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
4819
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
4820
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
4821
|
-
# google.com/iam/docs/).
|
4812
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
4813
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
4814
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
4815
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
4816
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
4817
|
+
# logical expression that allows access to a resource only if the expression
|
4818
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
4819
|
+
# the request, the resource, or both. To learn which resources support
|
4820
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
4821
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
4822
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
4823
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
4824
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
4825
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
4826
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
4827
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
4828
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
4829
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
4830
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4831
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
4832
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
4833
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
4834
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
4835
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
4836
|
+
# cloud.google.com/iam/docs/).
|
4822
4837
|
class Policy
|
4823
4838
|
include Google::Apis::Core::Hashable
|
4824
4839
|
|
@@ -4827,9 +4842,14 @@ module Google
|
|
4827
4842
|
# @return [Array<Google::Apis::BigqueryV2::AuditConfig>]
|
4828
4843
|
attr_accessor :audit_configs
|
4829
4844
|
|
4830
|
-
# Associates a list of `members
|
4831
|
-
# condition` that determines how and when the `bindings` are applied.
|
4832
|
-
# the `bindings` must contain at least one
|
4845
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
4846
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
4847
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
4848
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
4849
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
4850
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
4851
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
4852
|
+
# principals to the `bindings` in the `Policy`.
|
4833
4853
|
# Corresponds to the JSON property `bindings`
|
4834
4854
|
# @return [Array<Google::Apis::BigqueryV2::Binding>]
|
4835
4855
|
attr_accessor :bindings
|
@@ -5967,31 +5987,31 @@ module Google
|
|
5967
5987
|
|
5968
5988
|
# An Identity and Access Management (IAM) policy, which specifies access
|
5969
5989
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
5970
|
-
# A `binding` binds one or more `members
|
5971
|
-
# user accounts, service accounts, Google groups, and domains (
|
5972
|
-
# A `role` is a named list of permissions; each `role` can be
|
5973
|
-
# role or a user-created custom role. For some types of Google
|
5974
|
-
# a `binding` can also specify a `condition`, which is a
|
5975
|
-
# allows access to a resource only if the expression
|
5976
|
-
# condition can add constraints based on attributes of
|
5977
|
-
# or both. To learn which resources support
|
5978
|
-
# see the [IAM documentation](https://cloud.
|
5979
|
-
# resource-policies). **JSON example:** ` "
|
5980
|
-
# resourcemanager.organizationAdmin", "members": [
|
5981
|
-
# group:admins@example.com", "domain:google.com", "
|
5982
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
5983
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
5984
|
-
# title": "expirable access", "description": "Does not grant
|
5985
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
5986
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
5987
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
5988
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
5989
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
5990
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
5991
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
5992
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
5993
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
5994
|
-
# google.com/iam/docs/).
|
5990
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
5991
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
5992
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
5993
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
5994
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
5995
|
+
# logical expression that allows access to a resource only if the expression
|
5996
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
5997
|
+
# the request, the resource, or both. To learn which resources support
|
5998
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
5999
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
6000
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
6001
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
6002
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
6003
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
6004
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
6005
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
6006
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
6007
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
6008
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
6009
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
6010
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
6011
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
6012
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
6013
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
6014
|
+
# cloud.google.com/iam/docs/).
|
5995
6015
|
# Corresponds to the JSON property `policy`
|
5996
6016
|
# @return [Google::Apis::BigqueryV2::Policy]
|
5997
6017
|
attr_accessor :policy
|
@@ -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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -508,6 +508,12 @@ module Google
|
|
508
508
|
include Google::Apis::Core::JsonObjectSupport
|
509
509
|
end
|
510
510
|
|
511
|
+
class MlStatistics
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
511
517
|
class Model
|
512
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
519
|
|
@@ -1334,7 +1340,8 @@ module Google
|
|
1334
1340
|
# @private
|
1335
1341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1336
1342
|
property :description, as: 'description'
|
1337
|
-
property :
|
1343
|
+
property :expiration_time, as: 'expirationTime', type: DateTime
|
1344
|
+
|
1338
1345
|
property :friendly_name, as: 'friendlyName'
|
1339
1346
|
hash :labels, as: 'labels'
|
1340
1347
|
end
|
@@ -1550,10 +1557,6 @@ module Google
|
|
1550
1557
|
class IterationResult
|
1551
1558
|
# @private
|
1552
1559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1553
|
-
property :arima_result, as: 'arimaResult', class: Google::Apis::BigqueryV2::ArimaResult, decorator: Google::Apis::BigqueryV2::ArimaResult::Representation
|
1554
|
-
|
1555
|
-
collection :cluster_infos, as: 'clusterInfos', class: Google::Apis::BigqueryV2::ClusterInfo, decorator: Google::Apis::BigqueryV2::ClusterInfo::Representation
|
1556
|
-
|
1557
1560
|
property :duration_ms, :numeric_string => true, as: 'durationMs'
|
1558
1561
|
property :eval_loss, as: 'evalLoss'
|
1559
1562
|
property :index, as: 'index'
|
@@ -1830,6 +1833,8 @@ module Google
|
|
1830
1833
|
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
1831
1834
|
|
1832
1835
|
property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
|
1836
|
+
property :ml_statistics, as: 'mlStatistics', class: Google::Apis::BigqueryV2::MlStatistics, decorator: Google::Apis::BigqueryV2::MlStatistics::Representation
|
1837
|
+
|
1833
1838
|
property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
|
1834
1839
|
|
1835
1840
|
property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
|
@@ -1940,6 +1945,15 @@ module Google
|
|
1940
1945
|
end
|
1941
1946
|
end
|
1942
1947
|
|
1948
|
+
class MlStatistics
|
1949
|
+
# @private
|
1950
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1951
|
+
collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
|
1952
|
+
|
1953
|
+
property :max_iterations, :numeric_string => true, as: 'maxIterations'
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
|
1943
1957
|
class Model
|
1944
1958
|
# @private
|
1945
1959
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1545,6 +1545,8 @@ module Google
|
|
1545
1545
|
# @param [String] table_id
|
1546
1546
|
# Table ID of the table to update
|
1547
1547
|
# @param [Google::Apis::BigqueryV2::Table] table_object
|
1548
|
+
# @param [Boolean] autodetect_schema
|
1549
|
+
# When true will autodetect schema, else will keep original schema
|
1548
1550
|
# @param [String] fields
|
1549
1551
|
# Selector specifying which fields to include in a partial response.
|
1550
1552
|
# @param [String] quota_user
|
@@ -1564,7 +1566,7 @@ module Google
|
|
1564
1566
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1565
1567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1566
1568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1567
|
-
def patch_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1569
|
+
def patch_table(project_id, dataset_id, table_id, table_object = nil, autodetect_schema: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1568
1570
|
command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
1569
1571
|
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
|
1570
1572
|
command.request_object = table_object
|
@@ -1573,6 +1575,7 @@ module Google
|
|
1573
1575
|
command.params['projectId'] = project_id unless project_id.nil?
|
1574
1576
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1575
1577
|
command.params['tableId'] = table_id unless table_id.nil?
|
1578
|
+
command.query['autodetect_schema'] = autodetect_schema unless autodetect_schema.nil?
|
1576
1579
|
command.query['fields'] = fields unless fields.nil?
|
1577
1580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1578
1581
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -1669,6 +1672,8 @@ module Google
|
|
1669
1672
|
# @param [String] table_id
|
1670
1673
|
# Table ID of the table to update
|
1671
1674
|
# @param [Google::Apis::BigqueryV2::Table] table_object
|
1675
|
+
# @param [Boolean] autodetect_schema
|
1676
|
+
# When true will autodetect schema, else will keep original schema
|
1672
1677
|
# @param [String] fields
|
1673
1678
|
# Selector specifying which fields to include in a partial response.
|
1674
1679
|
# @param [String] quota_user
|
@@ -1688,7 +1693,7 @@ module Google
|
|
1688
1693
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1689
1694
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1690
1695
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1691
|
-
def update_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1696
|
+
def update_table(project_id, dataset_id, table_id, table_object = nil, autodetect_schema: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1692
1697
|
command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
|
1693
1698
|
command.request_representation = Google::Apis::BigqueryV2::Table::Representation
|
1694
1699
|
command.request_object = table_object
|
@@ -1697,6 +1702,7 @@ module Google
|
|
1697
1702
|
command.params['projectId'] = project_id unless project_id.nil?
|
1698
1703
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1699
1704
|
command.params['tableId'] = table_id unless table_id.nil?
|
1705
|
+
command.query['autodetect_schema'] = autodetect_schema unless autodetect_schema.nil?
|
1700
1706
|
command.query['fields'] = fields unless fields.nil?
|
1701
1707
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1702
1708
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
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.23.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.23.0
|
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: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery API V2
|