google-apis-bigquery_v2 0.18.0 → 0.22.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 +2 -2
- data/lib/google/apis/bigquery_v2/classes.rb +112 -78
- data/lib/google/apis/bigquery_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigquery_v2/representations.rb +19 -4
- data/lib/google/apis/bigquery_v2/service.rb +8 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aca60a2c640a75704b378096f71254436651d86a4de0ae8eeca1bc390aad64a9
|
4
|
+
data.tar.gz: 44b86049799ffd752264a2441b577f14125b0bc3c7618942d3c7149132210386
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1323879eb5233824cecde95d3b1319d0f23d4aa9425ac426cc7f9f0090900ded98b08d117b6844e7f9c05e2a0a9ad8e9fb8b6dc872b3ecf8e7763fe1a3abb82
|
7
|
+
data.tar.gz: 21a4a7477bdedc27bdac1b10d92540ecf1bf46f96dffc13418b3c382c4d0733d0bb6e48662675d1b313180ab32d72bc6376ca80de53292b82061641fb7cbae66
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.22.0 (2021-12-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211129
|
6
|
+
|
7
|
+
### v0.21.0 (2021-11-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211106
|
10
|
+
|
11
|
+
### v0.20.0 (2021-10-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211017
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.19.0 (2021-10-02)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210927
|
19
|
+
|
3
20
|
### v0.18.0 (2021-09-21)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210910
|
data/OVERVIEW.md
CHANGED
@@ -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,6 +1912,11 @@ module Google
|
|
1912
1912
|
# @return [String]
|
1913
1913
|
attr_accessor :description
|
1914
1914
|
|
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
|
1919
|
+
|
1915
1920
|
# [Optional] The friendly name for the destination table. This will only be used
|
1916
1921
|
# if the destination table is newly created. If the table already exists and a
|
1917
1922
|
# value different than the current friendly name is provided, the job will fail.
|
@@ -1934,6 +1939,7 @@ module Google
|
|
1934
1939
|
# Update properties of this object
|
1935
1940
|
def update!(**args)
|
1936
1941
|
@description = args[:description] if args.key?(:description)
|
1942
|
+
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1937
1943
|
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
|
1938
1944
|
@labels = args[:labels] if args.key?(:labels)
|
1939
1945
|
end
|
@@ -2584,13 +2590,16 @@ module Google
|
|
2584
2590
|
class GetPolicyOptions
|
2585
2591
|
include Google::Apis::Core::Hashable
|
2586
2592
|
|
2587
|
-
# Optional. The policy
|
2588
|
-
# 3. Requests specifying an invalid value will be
|
2589
|
-
# policies with any conditional bindings must
|
2590
|
-
#
|
2591
|
-
# field unset.
|
2592
|
-
#
|
2593
|
-
#
|
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).
|
2594
2603
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
2595
2604
|
# @return [Fixnum]
|
2596
2605
|
attr_accessor :requested_policy_version
|
@@ -2818,21 +2827,10 @@ module Google
|
|
2818
2827
|
end
|
2819
2828
|
end
|
2820
2829
|
|
2821
|
-
#
|
2830
|
+
#
|
2822
2831
|
class IterationResult
|
2823
2832
|
include Google::Apis::Core::Hashable
|
2824
2833
|
|
2825
|
-
# (Auto-)arima fitting result. Wrap everything in ArimaResult for easier
|
2826
|
-
# refactoring if we want to use model-specific iteration results.
|
2827
|
-
# Corresponds to the JSON property `arimaResult`
|
2828
|
-
# @return [Google::Apis::BigqueryV2::ArimaResult]
|
2829
|
-
attr_accessor :arima_result
|
2830
|
-
|
2831
|
-
# Information about top clusters for clustering models.
|
2832
|
-
# Corresponds to the JSON property `clusterInfos`
|
2833
|
-
# @return [Array<Google::Apis::BigqueryV2::ClusterInfo>]
|
2834
|
-
attr_accessor :cluster_infos
|
2835
|
-
|
2836
2834
|
# Time taken to run the iteration in milliseconds.
|
2837
2835
|
# Corresponds to the JSON property `durationMs`
|
2838
2836
|
# @return [Fixnum]
|
@@ -2864,8 +2862,6 @@ module Google
|
|
2864
2862
|
|
2865
2863
|
# Update properties of this object
|
2866
2864
|
def update!(**args)
|
2867
|
-
@arima_result = args[:arima_result] if args.key?(:arima_result)
|
2868
|
-
@cluster_infos = args[:cluster_infos] if args.key?(:cluster_infos)
|
2869
2865
|
@duration_ms = args[:duration_ms] if args.key?(:duration_ms)
|
2870
2866
|
@eval_loss = args[:eval_loss] if args.key?(:eval_loss)
|
2871
2867
|
@index = args[:index] if args.key?(:index)
|
@@ -4082,6 +4078,11 @@ module Google
|
|
4082
4078
|
# @return [Fixnum]
|
4083
4079
|
attr_accessor :estimated_bytes_processed
|
4084
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
|
+
|
4085
4086
|
# [Output-only, Beta] Information about create model query job progress.
|
4086
4087
|
# Corresponds to the JSON property `modelTraining`
|
4087
4088
|
# @return [Google::Apis::BigqueryV2::BigQueryModelTraining]
|
@@ -4210,6 +4211,7 @@ module Google
|
|
4210
4211
|
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
|
4211
4212
|
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
4212
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)
|
4213
4215
|
@model_training = args[:model_training] if args.key?(:model_training)
|
4214
4216
|
@model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
|
4215
4217
|
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
|
@@ -4506,6 +4508,33 @@ module Google
|
|
4506
4508
|
end
|
4507
4509
|
end
|
4508
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
|
+
|
4509
4538
|
#
|
4510
4539
|
class Model
|
4511
4540
|
include Google::Apis::Core::Hashable
|
@@ -4780,31 +4809,31 @@ module Google
|
|
4780
4809
|
|
4781
4810
|
# An Identity and Access Management (IAM) policy, which specifies access
|
4782
4811
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
4783
|
-
# A `binding` binds one or more `members
|
4784
|
-
# user accounts, service accounts, Google groups, and domains (
|
4785
|
-
# A `role` is a named list of permissions; each `role` can be
|
4786
|
-
# role or a user-created custom role. For some types of Google
|
4787
|
-
# a `binding` can also specify a `condition`, which is a
|
4788
|
-
# allows access to a resource only if the expression
|
4789
|
-
# condition can add constraints based on attributes of
|
4790
|
-
# or both. To learn which resources support
|
4791
|
-
# see the [IAM documentation](https://cloud.
|
4792
|
-
# resource-policies). **JSON example:** ` "
|
4793
|
-
# resourcemanager.organizationAdmin", "members": [
|
4794
|
-
# group:admins@example.com", "domain:google.com", "
|
4795
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
4796
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
4797
|
-
# title": "expirable access", "description": "Does not grant
|
4798
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
4799
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
4800
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
4801
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4802
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
4803
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
4804
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
4805
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
4806
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
4807
|
-
# 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/).
|
4808
4837
|
class Policy
|
4809
4838
|
include Google::Apis::Core::Hashable
|
4810
4839
|
|
@@ -4813,9 +4842,14 @@ module Google
|
|
4813
4842
|
# @return [Array<Google::Apis::BigqueryV2::AuditConfig>]
|
4814
4843
|
attr_accessor :audit_configs
|
4815
4844
|
|
4816
|
-
# Associates a list of `members
|
4817
|
-
# condition` that determines how and when the `bindings` are applied.
|
4818
|
-
# 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`.
|
4819
4853
|
# Corresponds to the JSON property `bindings`
|
4820
4854
|
# @return [Array<Google::Apis::BigqueryV2::Binding>]
|
4821
4855
|
attr_accessor :bindings
|
@@ -5953,31 +5987,31 @@ module Google
|
|
5953
5987
|
|
5954
5988
|
# An Identity and Access Management (IAM) policy, which specifies access
|
5955
5989
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
5956
|
-
# A `binding` binds one or more `members
|
5957
|
-
# user accounts, service accounts, Google groups, and domains (
|
5958
|
-
# A `role` is a named list of permissions; each `role` can be
|
5959
|
-
# role or a user-created custom role. For some types of Google
|
5960
|
-
# a `binding` can also specify a `condition`, which is a
|
5961
|
-
# allows access to a resource only if the expression
|
5962
|
-
# condition can add constraints based on attributes of
|
5963
|
-
# or both. To learn which resources support
|
5964
|
-
# see the [IAM documentation](https://cloud.
|
5965
|
-
# resource-policies). **JSON example:** ` "
|
5966
|
-
# resourcemanager.organizationAdmin", "members": [
|
5967
|
-
# group:admins@example.com", "domain:google.com", "
|
5968
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
5969
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
5970
|
-
# title": "expirable access", "description": "Does not grant
|
5971
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
5972
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
5973
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
5974
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
5975
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
5976
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
5977
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
5978
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
5979
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
5980
|
-
# 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/).
|
5981
6015
|
# Corresponds to the JSON property `policy`
|
5982
6016
|
# @return [Google::Apis::BigqueryV2::Policy]
|
5983
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.22.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,6 +1340,8 @@ module Google
|
|
1334
1340
|
# @private
|
1335
1341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1336
1342
|
property :description, as: 'description'
|
1343
|
+
property :expiration_time, as: 'expirationTime', type: DateTime
|
1344
|
+
|
1337
1345
|
property :friendly_name, as: 'friendlyName'
|
1338
1346
|
hash :labels, as: 'labels'
|
1339
1347
|
end
|
@@ -1549,10 +1557,6 @@ module Google
|
|
1549
1557
|
class IterationResult
|
1550
1558
|
# @private
|
1551
1559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1552
|
-
property :arima_result, as: 'arimaResult', class: Google::Apis::BigqueryV2::ArimaResult, decorator: Google::Apis::BigqueryV2::ArimaResult::Representation
|
1553
|
-
|
1554
|
-
collection :cluster_infos, as: 'clusterInfos', class: Google::Apis::BigqueryV2::ClusterInfo, decorator: Google::Apis::BigqueryV2::ClusterInfo::Representation
|
1555
|
-
|
1556
1560
|
property :duration_ms, :numeric_string => true, as: 'durationMs'
|
1557
1561
|
property :eval_loss, as: 'evalLoss'
|
1558
1562
|
property :index, as: 'index'
|
@@ -1829,6 +1833,8 @@ module Google
|
|
1829
1833
|
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
1830
1834
|
|
1831
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
|
+
|
1832
1838
|
property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
|
1833
1839
|
|
1834
1840
|
property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
|
@@ -1939,6 +1945,15 @@ module Google
|
|
1939
1945
|
end
|
1940
1946
|
end
|
1941
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
|
+
|
1942
1957
|
class Model
|
1943
1958
|
# @private
|
1944
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.22.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: 2021-
|
11
|
+
date: 2021-12-06 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.22.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:
|