google-apis-bigquery_v2 0.16.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c56bd25eff0f8c009964ca73eb8ae1476978917197c494063e3a780d2d2e4392
4
- data.tar.gz: 7b9698870bca8b7ef465ae71e914b1c16b97e8227c7288d080cc820cffa7a5e6
3
+ metadata.gz: 50d2d62edad7bb96cdef176c5edaed244ff60db9f67f0b885f2a2800cbeb1558
4
+ data.tar.gz: 9753b1540aef425efd596833ceb10ff07a18726f13b4cac70848a3057967bd1a
5
5
  SHA512:
6
- metadata.gz: e12cdba6cd580092483799616e4a5b6f07acdc881f099efb063dc1272a81d7a7d110cdada197090ed08a5600f3f76b8b9bc1b571f6ea6b8b0905cae8400fd0df
7
- data.tar.gz: d2025d016e4e7f6438c887c10efa7898edeead00694b7f9d24c4b198cea6f93b23ab4faded61e10d74a0f2b547607d06e6159b391afafa86d41b2a230dfdf9d5
6
+ metadata.gz: bb110009b319749e04324fe622192ac66b3500767da2240872a798457fce614dd74c29e2af3a3a8e38f7edc6d3467b0393ec663a007f5f9632e869b804a74f47
7
+ data.tar.gz: 6e5dcdca7dd2f9af3b219663ca2f165ec602ec3815ca622bb09ea1dde3990921b5535bbbdaeba188329bfdfd39ed16c585aa0f87dd23a1bb7cdeab9d68d3a00b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.20.0 (2021-10-22)
4
+
5
+ * Regenerated from discovery document revision 20211017
6
+ * Unspecified changes
7
+
8
+ ### v0.19.0 (2021-10-02)
9
+
10
+ * Regenerated from discovery document revision 20210927
11
+
12
+ ### v0.18.0 (2021-09-21)
13
+
14
+ * Regenerated from discovery document revision 20210910
15
+
16
+ ### v0.17.0 (2021-09-10)
17
+
18
+ * Regenerated from discovery document revision 20210904
19
+
3
20
  ### v0.16.0 (2021-09-02)
4
21
 
5
22
  * Regenerated from discovery document revision 20210828
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -541,9 +541,9 @@ module Google
541
541
  class AvroOptions
542
542
  include Google::Apis::Core::Hashable
543
543
 
544
- # [Optional] If set to true will enable interpreting logical types into their
545
- # corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie.
546
- # INTEGER).
544
+ # [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret
545
+ # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
546
+ # instead of using the raw type (for example, INTEGER).
547
547
  # Corresponds to the JSON property `useAvroLogicalTypes`
548
548
  # @return [Boolean]
549
549
  attr_accessor :use_avro_logical_types
@@ -922,7 +922,7 @@ module Google
922
922
  end
923
923
  end
924
924
 
925
- # Associates `members` with a `role`.
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 identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
979
- # , or `roles/owner`.
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
@@ -1510,6 +1510,11 @@ module Google
1510
1510
  # @return [Google::Apis::BigqueryV2::DatasetReference]
1511
1511
  attr_accessor :dataset_reference
1512
1512
 
1513
+ # [Output-only] The default collation of the dataset.
1514
+ # Corresponds to the JSON property `defaultCollation`
1515
+ # @return [String]
1516
+ attr_accessor :default_collation
1517
+
1513
1518
  #
1514
1519
  # Corresponds to the JSON property `defaultEncryptionConfiguration`
1515
1520
  # @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
@@ -1619,6 +1624,7 @@ module Google
1619
1624
  @access = args[:access] if args.key?(:access)
1620
1625
  @creation_time = args[:creation_time] if args.key?(:creation_time)
1621
1626
  @dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
1627
+ @default_collation = args[:default_collation] if args.key?(:default_collation)
1622
1628
  @default_encryption_configuration = args[:default_encryption_configuration] if args.key?(:default_encryption_configuration)
1623
1629
  @default_partition_expiration_ms = args[:default_partition_expiration_ms] if args.key?(:default_partition_expiration_ms)
1624
1630
  @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
@@ -1906,6 +1912,18 @@ module Google
1906
1912
  # @return [String]
1907
1913
  attr_accessor :description
1908
1914
 
1915
+ # [Optional] The destination table expiration time. If this field is set: For a
1916
+ # new table, it will set the table's expiration time (even if there is a dataset
1917
+ # level default table expiration time). For an existing table, it will update
1918
+ # the table's expiration time. If this field is not set: For a new table, if
1919
+ # dataset level default table expiration time is present, that will be applied.
1920
+ # For an existing table, no change is made to the table's expiration time.
1921
+ # Additionally this field is only applied when data is written to an empty table
1922
+ # (WRITE_EMPTY) or data is overwritten to a table (WRITE_TRUNCATE).
1923
+ # Corresponds to the JSON property `expirationTime`
1924
+ # @return [DateTime]
1925
+ attr_accessor :expiration_time
1926
+
1909
1927
  # [Optional] The friendly name for the destination table. This will only be used
1910
1928
  # if the destination table is newly created. If the table already exists and a
1911
1929
  # value different than the current friendly name is provided, the job will fail.
@@ -1928,6 +1946,7 @@ module Google
1928
1946
  # Update properties of this object
1929
1947
  def update!(**args)
1930
1948
  @description = args[:description] if args.key?(:description)
1949
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
1931
1950
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1932
1951
  @labels = args[:labels] if args.key?(:labels)
1933
1952
  end
@@ -2812,21 +2831,10 @@ module Google
2812
2831
  end
2813
2832
  end
2814
2833
 
2815
- # Information about a single iteration of the training run.
2834
+ #
2816
2835
  class IterationResult
2817
2836
  include Google::Apis::Core::Hashable
2818
2837
 
2819
- # (Auto-)arima fitting result. Wrap everything in ArimaResult for easier
2820
- # refactoring if we want to use model-specific iteration results.
2821
- # Corresponds to the JSON property `arimaResult`
2822
- # @return [Google::Apis::BigqueryV2::ArimaResult]
2823
- attr_accessor :arima_result
2824
-
2825
- # Information about top clusters for clustering models.
2826
- # Corresponds to the JSON property `clusterInfos`
2827
- # @return [Array<Google::Apis::BigqueryV2::ClusterInfo>]
2828
- attr_accessor :cluster_infos
2829
-
2830
2838
  # Time taken to run the iteration in milliseconds.
2831
2839
  # Corresponds to the JSON property `durationMs`
2832
2840
  # @return [Fixnum]
@@ -2858,8 +2866,6 @@ module Google
2858
2866
 
2859
2867
  # Update properties of this object
2860
2868
  def update!(**args)
2861
- @arima_result = args[:arima_result] if args.key?(:arima_result)
2862
- @cluster_infos = args[:cluster_infos] if args.key?(:cluster_infos)
2863
2869
  @duration_ms = args[:duration_ms] if args.key?(:duration_ms)
2864
2870
  @eval_loss = args[:eval_loss] if args.key?(:eval_loss)
2865
2871
  @index = args[:index] if args.key?(:index)
@@ -3353,9 +3359,9 @@ module Google
3353
3359
  # @return [Google::Apis::BigqueryV2::TimePartitioning]
3354
3360
  attr_accessor :time_partitioning
3355
3361
 
3356
- # [Optional] If sourceFormat is set to "AVRO", indicates whether to enable
3357
- # interpreting logical types into their corresponding types (ie. TIMESTAMP),
3358
- # instead of only using their raw types (ie. INTEGER).
3362
+ # [Optional] If sourceFormat is set to "AVRO", indicates whether to interpret
3363
+ # logical types as the corresponding BigQuery data type (for example, TIMESTAMP),
3364
+ # instead of using the raw type (for example, INTEGER).
3359
3365
  # Corresponds to the JSON property `useAvroLogicalTypes`
3360
3366
  # @return [Boolean]
3361
3367
  attr_accessor :use_avro_logical_types
@@ -4076,6 +4082,11 @@ module Google
4076
4082
  # @return [Fixnum]
4077
4083
  attr_accessor :estimated_bytes_processed
4078
4084
 
4085
+ # [Output-only] Statistics of a BigQuery ML training job.
4086
+ # Corresponds to the JSON property `mlStatistics`
4087
+ # @return [Google::Apis::BigqueryV2::MlStatistics]
4088
+ attr_accessor :ml_statistics
4089
+
4079
4090
  # [Output-only, Beta] Information about create model query job progress.
4080
4091
  # Corresponds to the JSON property `modelTraining`
4081
4092
  # @return [Google::Apis::BigqueryV2::BigQueryModelTraining]
@@ -4204,6 +4215,7 @@ module Google
4204
4215
  @ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
4205
4216
  @dml_stats = args[:dml_stats] if args.key?(:dml_stats)
4206
4217
  @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
4218
+ @ml_statistics = args[:ml_statistics] if args.key?(:ml_statistics)
4207
4219
  @model_training = args[:model_training] if args.key?(:model_training)
4208
4220
  @model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
4209
4221
  @model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
@@ -4500,6 +4512,33 @@ module Google
4500
4512
  end
4501
4513
  end
4502
4514
 
4515
+ #
4516
+ class MlStatistics
4517
+ include Google::Apis::Core::Hashable
4518
+
4519
+ # Results for all completed iterations.
4520
+ # Corresponds to the JSON property `iterationResults`
4521
+ # @return [Array<Google::Apis::BigqueryV2::IterationResult>]
4522
+ attr_accessor :iteration_results
4523
+
4524
+ # Maximum number of iterations specified as max_iterations in the 'CREATE MODEL'
4525
+ # query. The actual number of iterations may be less than this number due to
4526
+ # early stop.
4527
+ # Corresponds to the JSON property `maxIterations`
4528
+ # @return [Fixnum]
4529
+ attr_accessor :max_iterations
4530
+
4531
+ def initialize(**args)
4532
+ update!(**args)
4533
+ end
4534
+
4535
+ # Update properties of this object
4536
+ def update!(**args)
4537
+ @iteration_results = args[:iteration_results] if args.key?(:iteration_results)
4538
+ @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
4539
+ end
4540
+ end
4541
+
4503
4542
  #
4504
4543
  class Model
4505
4544
  include Google::Apis::Core::Hashable
@@ -4774,31 +4813,31 @@ module Google
4774
4813
 
4775
4814
  # An Identity and Access Management (IAM) policy, which specifies access
4776
4815
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4777
- # A `binding` binds one or more `members` to a single `role`. Members can be
4778
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
4779
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
4780
- # role or a user-created custom role. For some types of Google Cloud resources,
4781
- # a `binding` can also specify a `condition`, which is a logical expression that
4782
- # allows access to a resource only if the expression evaluates to `true`. A
4783
- # condition can add constraints based on attributes of the request, the resource,
4784
- # or both. To learn which resources support conditions in their IAM policies,
4785
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
4786
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
4787
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
4788
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
4789
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
4790
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
4791
- # title": "expirable access", "description": "Does not grant access after Sep
4792
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
4793
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
4794
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
4795
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
4796
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4797
- # roles/resourcemanager.organizationViewer condition: title: expirable access
4798
- # description: Does not grant access after Sep 2020 expression: request.time <
4799
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
4800
- # description of IAM and its features, see the [IAM documentation](https://cloud.
4801
- # google.com/iam/docs/).
4816
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
4817
+ # Principals can be user accounts, service accounts, Google groups, and domains (
4818
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
4819
+ # an IAM predefined role or a user-created custom role. For some types of Google
4820
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
4821
+ # logical expression that allows access to a resource only if the expression
4822
+ # evaluates to `true`. A condition can add constraints based on attributes of
4823
+ # the request, the resource, or both. To learn which resources support
4824
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
4825
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
4826
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
4827
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
4828
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
4829
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
4830
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
4831
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
4832
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
4833
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
4834
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
4835
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
4836
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
4837
+ # access description: Does not grant access after Sep 2020 expression: request.
4838
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
4839
+ # a description of IAM and its features, see the [IAM documentation](https://
4840
+ # cloud.google.com/iam/docs/).
4802
4841
  class Policy
4803
4842
  include Google::Apis::Core::Hashable
4804
4843
 
@@ -4807,9 +4846,14 @@ module Google
4807
4846
  # @return [Array<Google::Apis::BigqueryV2::AuditConfig>]
4808
4847
  attr_accessor :audit_configs
4809
4848
 
4810
- # Associates a list of `members` to a `role`. Optionally, may specify a `
4811
- # condition` that determines how and when the `bindings` are applied. Each of
4812
- # the `bindings` must contain at least one member.
4849
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
4850
+ # specify a `condition` that determines how and when the `bindings` are applied.
4851
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
4852
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
4853
+ # can be Google groups. Each occurrence of a principal counts towards these
4854
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
4855
+ # example.com`, and not to any other principal, then you can add another 1,450
4856
+ # principals to the `bindings` in the `Policy`.
4813
4857
  # Corresponds to the JSON property `bindings`
4814
4858
  # @return [Array<Google::Apis::BigqueryV2::Binding>]
4815
4859
  attr_accessor :bindings
@@ -5947,31 +5991,31 @@ module Google
5947
5991
 
5948
5992
  # An Identity and Access Management (IAM) policy, which specifies access
5949
5993
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
5950
- # A `binding` binds one or more `members` to a single `role`. Members can be
5951
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
5952
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
5953
- # role or a user-created custom role. For some types of Google Cloud resources,
5954
- # a `binding` can also specify a `condition`, which is a logical expression that
5955
- # allows access to a resource only if the expression evaluates to `true`. A
5956
- # condition can add constraints based on attributes of the request, the resource,
5957
- # or both. To learn which resources support conditions in their IAM policies,
5958
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
5959
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
5960
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
5961
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
5962
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
5963
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
5964
- # title": "expirable access", "description": "Does not grant access after Sep
5965
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
5966
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
5967
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
5968
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
5969
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
5970
- # roles/resourcemanager.organizationViewer condition: title: expirable access
5971
- # description: Does not grant access after Sep 2020 expression: request.time <
5972
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
5973
- # description of IAM and its features, see the [IAM documentation](https://cloud.
5974
- # google.com/iam/docs/).
5994
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
5995
+ # Principals can be user accounts, service accounts, Google groups, and domains (
5996
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
5997
+ # an IAM predefined role or a user-created custom role. For some types of Google
5998
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
5999
+ # logical expression that allows access to a resource only if the expression
6000
+ # evaluates to `true`. A condition can add constraints based on attributes of
6001
+ # the request, the resource, or both. To learn which resources support
6002
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6003
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
6004
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
6005
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
6006
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
6007
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
6008
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
6009
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
6010
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
6011
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
6012
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
6013
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
6014
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
6015
+ # access description: Does not grant access after Sep 2020 expression: request.
6016
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
6017
+ # a description of IAM and its features, see the [IAM documentation](https://
6018
+ # cloud.google.com/iam/docs/).
5975
6019
  # Corresponds to the JSON property `policy`
5976
6020
  # @return [Google::Apis::BigqueryV2::Policy]
5977
6021
  attr_accessor :policy
@@ -6175,6 +6219,11 @@ module Google
6175
6219
  # @return [Fixnum]
6176
6220
  attr_accessor :creation_time
6177
6221
 
6222
+ # [Output-only] The default collation of the table.
6223
+ # Corresponds to the JSON property `defaultCollation`
6224
+ # @return [String]
6225
+ attr_accessor :default_collation
6226
+
6178
6227
  # [Optional] A user-friendly description of this table.
6179
6228
  # Corresponds to the JSON property `description`
6180
6229
  # @return [String]
@@ -6351,6 +6400,7 @@ module Google
6351
6400
  def update!(**args)
6352
6401
  @clustering = args[:clustering] if args.key?(:clustering)
6353
6402
  @creation_time = args[:creation_time] if args.key?(:creation_time)
6403
+ @default_collation = args[:default_collation] if args.key?(:default_collation)
6354
6404
  @description = args[:description] if args.key?(:description)
6355
6405
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
6356
6406
  @etag = args[:etag] if args.key?(:etag)
@@ -7057,12 +7107,37 @@ module Google
7057
7107
  # @return [Fixnum]
7058
7108
  attr_accessor :batch_size
7059
7109
 
7110
+ # Booster type for boosted tree models.
7111
+ # Corresponds to the JSON property `boosterType`
7112
+ # @return [String]
7113
+ attr_accessor :booster_type
7114
+
7060
7115
  # If true, clean spikes and dips in the input time series.
7061
7116
  # Corresponds to the JSON property `cleanSpikesAndDips`
7062
7117
  # @return [Boolean]
7063
7118
  attr_accessor :clean_spikes_and_dips
7064
7119
  alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
7065
7120
 
7121
+ # Subsample ratio of columns for each level for boosted tree models.
7122
+ # Corresponds to the JSON property `colsampleBylevel`
7123
+ # @return [Float]
7124
+ attr_accessor :colsample_bylevel
7125
+
7126
+ # Subsample ratio of columns for each node(split) for boosted tree models.
7127
+ # Corresponds to the JSON property `colsampleBynode`
7128
+ # @return [Float]
7129
+ attr_accessor :colsample_bynode
7130
+
7131
+ # Subsample ratio of columns when constructing each tree for boosted tree models.
7132
+ # Corresponds to the JSON property `colsampleBytree`
7133
+ # @return [Float]
7134
+ attr_accessor :colsample_bytree
7135
+
7136
+ # Type of normalization algorithm for boosted tree models using dart booster.
7137
+ # Corresponds to the JSON property `dartNormalizeType`
7138
+ # @return [String]
7139
+ attr_accessor :dart_normalize_type
7140
+
7066
7141
  # The data frequency of a time series.
7067
7142
  # Corresponds to the JSON property `dataFrequency`
7068
7143
  # @return [String]
@@ -7223,6 +7298,11 @@ module Google
7223
7298
  # @return [Float]
7224
7299
  attr_accessor :min_split_loss
7225
7300
 
7301
+ # Minimum sum of instance weight needed in a child for boosted tree models.
7302
+ # Corresponds to the JSON property `minTreeChildWeight`
7303
+ # @return [Fixnum]
7304
+ attr_accessor :min_tree_child_weight
7305
+
7226
7306
  # Google Cloud Storage URI from which the model was imported. Only applicable
7227
7307
  # for imported models.
7228
7308
  # Corresponds to the JSON property `modelUri`
@@ -7244,6 +7324,12 @@ module Google
7244
7324
  # @return [Fixnum]
7245
7325
  attr_accessor :num_factors
7246
7326
 
7327
+ # Number of parallel trees constructed during each iteration for boosted tree
7328
+ # models.
7329
+ # Corresponds to the JSON property `numParallelTree`
7330
+ # @return [Fixnum]
7331
+ attr_accessor :num_parallel_tree
7332
+
7247
7333
  # Optimization strategy for training linear regression models.
7248
7334
  # Corresponds to the JSON property `optimizationStrategy`
7249
7335
  # @return [String]
@@ -7283,6 +7369,11 @@ module Google
7283
7369
  # @return [String]
7284
7370
  attr_accessor :time_series_timestamp_column
7285
7371
 
7372
+ # Tree construction algorithm for boosted tree models.
7373
+ # Corresponds to the JSON property `treeMethod`
7374
+ # @return [String]
7375
+ attr_accessor :tree_method
7376
+
7286
7377
  # User column specified for matrix factorization models.
7287
7378
  # Corresponds to the JSON property `userColumn`
7288
7379
  # @return [String]
@@ -7309,7 +7400,12 @@ module Google
7309
7400
  @auto_arima = args[:auto_arima] if args.key?(:auto_arima)
7310
7401
  @auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
7311
7402
  @batch_size = args[:batch_size] if args.key?(:batch_size)
7403
+ @booster_type = args[:booster_type] if args.key?(:booster_type)
7312
7404
  @clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
7405
+ @colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
7406
+ @colsample_bynode = args[:colsample_bynode] if args.key?(:colsample_bynode)
7407
+ @colsample_bytree = args[:colsample_bytree] if args.key?(:colsample_bytree)
7408
+ @dart_normalize_type = args[:dart_normalize_type] if args.key?(:dart_normalize_type)
7313
7409
  @data_frequency = args[:data_frequency] if args.key?(:data_frequency)
7314
7410
  @data_split_column = args[:data_split_column] if args.key?(:data_split_column)
7315
7411
  @data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction)
@@ -7338,10 +7434,12 @@ module Google
7338
7434
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
7339
7435
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
7340
7436
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
7437
+ @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
7341
7438
  @model_uri = args[:model_uri] if args.key?(:model_uri)
7342
7439
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
7343
7440
  @num_clusters = args[:num_clusters] if args.key?(:num_clusters)
7344
7441
  @num_factors = args[:num_factors] if args.key?(:num_factors)
7442
+ @num_parallel_tree = args[:num_parallel_tree] if args.key?(:num_parallel_tree)
7345
7443
  @optimization_strategy = args[:optimization_strategy] if args.key?(:optimization_strategy)
7346
7444
  @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
7347
7445
  @subsample = args[:subsample] if args.key?(:subsample)
@@ -7349,6 +7447,7 @@ module Google
7349
7447
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
7350
7448
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
7351
7449
  @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
7450
+ @tree_method = args[:tree_method] if args.key?(:tree_method)
7352
7451
  @user_column = args[:user_column] if args.key?(:user_column)
7353
7452
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
7354
7453
  @warm_start = args[:warm_start] if args.key?(:warm_start)
@@ -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.16.0"
19
+ GEM_VERSION = "0.20.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 = "20210828"
25
+ REVISION = "20211017"
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
 
@@ -1244,6 +1250,7 @@ module Google
1244
1250
  property :creation_time, :numeric_string => true, as: 'creationTime'
1245
1251
  property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1246
1252
 
1253
+ property :default_collation, as: 'defaultCollation'
1247
1254
  property :default_encryption_configuration, as: 'defaultEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1248
1255
 
1249
1256
  property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs'
@@ -1333,6 +1340,8 @@ module Google
1333
1340
  # @private
1334
1341
  class Representation < Google::Apis::Core::JsonRepresentation
1335
1342
  property :description, as: 'description'
1343
+ property :expiration_time, as: 'expirationTime', type: DateTime
1344
+
1336
1345
  property :friendly_name, as: 'friendlyName'
1337
1346
  hash :labels, as: 'labels'
1338
1347
  end
@@ -1548,10 +1557,6 @@ module Google
1548
1557
  class IterationResult
1549
1558
  # @private
1550
1559
  class Representation < Google::Apis::Core::JsonRepresentation
1551
- property :arima_result, as: 'arimaResult', class: Google::Apis::BigqueryV2::ArimaResult, decorator: Google::Apis::BigqueryV2::ArimaResult::Representation
1552
-
1553
- collection :cluster_infos, as: 'clusterInfos', class: Google::Apis::BigqueryV2::ClusterInfo, decorator: Google::Apis::BigqueryV2::ClusterInfo::Representation
1554
-
1555
1560
  property :duration_ms, :numeric_string => true, as: 'durationMs'
1556
1561
  property :eval_loss, as: 'evalLoss'
1557
1562
  property :index, as: 'index'
@@ -1828,6 +1833,8 @@ module Google
1828
1833
  property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
1829
1834
 
1830
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
+
1831
1838
  property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
1832
1839
 
1833
1840
  property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
@@ -1938,6 +1945,15 @@ module Google
1938
1945
  end
1939
1946
  end
1940
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
+
1941
1957
  class Model
1942
1958
  # @private
1943
1959
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2366,6 +2382,7 @@ module Google
2366
2382
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
2367
2383
 
2368
2384
  property :creation_time, :numeric_string => true, as: 'creationTime'
2385
+ property :default_collation, as: 'defaultCollation'
2369
2386
  property :description, as: 'description'
2370
2387
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
2371
2388
 
@@ -2596,7 +2613,12 @@ module Google
2596
2613
  property :auto_arima, as: 'autoArima'
2597
2614
  property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
2598
2615
  property :batch_size, :numeric_string => true, as: 'batchSize'
2616
+ property :booster_type, as: 'boosterType'
2599
2617
  property :clean_spikes_and_dips, as: 'cleanSpikesAndDips'
2618
+ property :colsample_bylevel, as: 'colsampleBylevel'
2619
+ property :colsample_bynode, as: 'colsampleBynode'
2620
+ property :colsample_bytree, as: 'colsampleBytree'
2621
+ property :dart_normalize_type, as: 'dartNormalizeType'
2600
2622
  property :data_frequency, as: 'dataFrequency'
2601
2623
  property :data_split_column, as: 'dataSplitColumn'
2602
2624
  property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
@@ -2625,11 +2647,13 @@ module Google
2625
2647
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
2626
2648
  property :min_relative_progress, as: 'minRelativeProgress'
2627
2649
  property :min_split_loss, as: 'minSplitLoss'
2650
+ property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
2628
2651
  property :model_uri, as: 'modelUri'
2629
2652
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
2630
2653
 
2631
2654
  property :num_clusters, :numeric_string => true, as: 'numClusters'
2632
2655
  property :num_factors, :numeric_string => true, as: 'numFactors'
2656
+ property :num_parallel_tree, :numeric_string => true, as: 'numParallelTree'
2633
2657
  property :optimization_strategy, as: 'optimizationStrategy'
2634
2658
  property :preserve_input_structs, as: 'preserveInputStructs'
2635
2659
  property :subsample, as: 'subsample'
@@ -2637,6 +2661,7 @@ module Google
2637
2661
  property :time_series_id_column, as: 'timeSeriesIdColumn'
2638
2662
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
2639
2663
  property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
2664
+ property :tree_method, as: 'treeMethod'
2640
2665
  property :user_column, as: 'userColumn'
2641
2666
  property :wals_alpha, as: 'walsAlpha'
2642
2667
  property :warm_start, as: 'warmStart'
@@ -340,14 +340,14 @@ module Google
340
340
  execute_or_queue_command(command, &block)
341
341
  end
342
342
 
343
- # Requests that a job is deleted. This call will return when the job is deleted.
344
- # This method is available in limited preview.
343
+ # Requests the deletion of the metadata of a job. This call returns when the job'
344
+ # s metadata is deleted.
345
345
  # @param [String] project_id
346
- # Required. Project ID of the job to be deleted.
346
+ # Required. Project ID of the job for which metadata is to be deleted.
347
347
  # @param [String] job_id
348
- # Required. Job ID of the job to be deleted. If this is a parent job which has
349
- # child jobs, all child jobs will be deleted as well. Deletion of child jobs
350
- # directly is not allowed.
348
+ # Required. Job ID of the job for which metadata is to be deleted. If this is a
349
+ # parent job which has child jobs, the metadata from all child jobs will be
350
+ # deleted as well. Direct deletion of the metadata of child jobs is not allowed.
351
351
  # @param [String] location
352
352
  # The geographic location of the job. Required. See details at: https://cloud.
353
353
  # google.com/bigquery/docs/locations#specifying_your_location.
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.16.0
4
+ version: 0.20.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-09-06 00:00:00.000000000 Z
11
+ date: 2021-10-27 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/master/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.16.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
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.20.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: