google-apis-bigquery_v2 0.17.0 → 0.21.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: b5091e316b06374adfd8c8c737e8bc47cf8de7c01ec4f149281acb175b1023e8
4
- data.tar.gz: 3ef80007dd5e777bd27641b4107e09fd176a8c1c8fc3365aa8e9ff6c0fe7f99a
3
+ metadata.gz: 4c964f079d3236c230e88bbb63177ebd69540d46a2634f4c57d4b4e0ec6912cc
4
+ data.tar.gz: 997dfafffbab6e173a3609c09f322713863d84d4155d659e5b64e448f5029acc
5
5
  SHA512:
6
- metadata.gz: 69df559cfa6940c409925b3a248a699ffe6a69786f99a2db08aa48d81812771e1320a6aa7d30e3afd3bbd2471be533d8721c7d4d86813a6fb5a323f1077b2a8a
7
- data.tar.gz: '0329b563c3978e59d46bf336c5d94312b2d00fe167f055469199133cf250f01c78064b448f73fcd636c67fa022fb2ce3d4fe7c6f246cd72a4c2d66661ec1fc4d'
6
+ metadata.gz: 66667cb86c332dcfd1eba1c4aa3ccd017b718c5733b063e5467047a16d8479c6dc6f7fe3a58e186277e9498b22307451bb04a3ee60aee99300e26d1ff4f52e47
7
+ data.tar.gz: bdc937e75905b08e681c0a1eb255094aae5803c1120548e566db45ecd66a85291756333aed0897908c652dfc345def2e811de32aa36ecc39e4d8d100082a9a7c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.21.0 (2021-11-14)
4
+
5
+ * Regenerated from discovery document revision 20211106
6
+
7
+ ### v0.20.0 (2021-10-22)
8
+
9
+ * Regenerated from discovery document revision 20211017
10
+ * Unspecified changes
11
+
12
+ ### v0.19.0 (2021-10-02)
13
+
14
+ * Regenerated from discovery document revision 20210927
15
+
16
+ ### v0.18.0 (2021-09-21)
17
+
18
+ * Regenerated from discovery document revision 20210910
19
+
3
20
  ### v0.17.0 (2021-09-10)
4
21
 
5
22
  * Regenerated from discovery document revision 20210904
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
 
@@ -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
@@ -1912,6 +1912,18 @@ module Google
1912
1912
  # @return [String]
1913
1913
  attr_accessor :description
1914
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
+
1915
1927
  # [Optional] The friendly name for the destination table. This will only be used
1916
1928
  # if the destination table is newly created. If the table already exists and a
1917
1929
  # value different than the current friendly name is provided, the job will fail.
@@ -1934,6 +1946,7 @@ module Google
1934
1946
  # Update properties of this object
1935
1947
  def update!(**args)
1936
1948
  @description = args[:description] if args.key?(:description)
1949
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
1937
1950
  @friendly_name = args[:friendly_name] if args.key?(:friendly_name)
1938
1951
  @labels = args[:labels] if args.key?(:labels)
1939
1952
  end
@@ -2584,13 +2597,16 @@ module Google
2584
2597
  class GetPolicyOptions
2585
2598
  include Google::Apis::Core::Hashable
2586
2599
 
2587
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
2588
- # 3. Requests specifying an invalid value will be rejected. Requests for
2589
- # policies with any conditional bindings must specify version 3. Policies
2590
- # without any conditional bindings may specify any valid value or leave the
2591
- # field unset. To learn which resources support conditions in their IAM policies,
2592
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2593
- # resource-policies).
2600
+ # Optional. The maximum policy version that will be used to format the policy.
2601
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2602
+ # rejected. Requests for policies with any conditional role bindings must
2603
+ # specify version 3. Policies with no conditional role bindings may specify any
2604
+ # valid value or leave the field unset. The policy in the response might use the
2605
+ # policy version that you specified, or it might use a lower policy version. For
2606
+ # example, if you specify version 3, but the policy has no conditional role
2607
+ # bindings, the response uses version 1. To learn which resources support
2608
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2609
+ # google.com/iam/help/conditions/resource-policies).
2594
2610
  # Corresponds to the JSON property `requestedPolicyVersion`
2595
2611
  # @return [Fixnum]
2596
2612
  attr_accessor :requested_policy_version
@@ -2818,21 +2834,10 @@ module Google
2818
2834
  end
2819
2835
  end
2820
2836
 
2821
- # Information about a single iteration of the training run.
2837
+ #
2822
2838
  class IterationResult
2823
2839
  include Google::Apis::Core::Hashable
2824
2840
 
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
2841
  # Time taken to run the iteration in milliseconds.
2837
2842
  # Corresponds to the JSON property `durationMs`
2838
2843
  # @return [Fixnum]
@@ -2864,8 +2869,6 @@ module Google
2864
2869
 
2865
2870
  # Update properties of this object
2866
2871
  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
2872
  @duration_ms = args[:duration_ms] if args.key?(:duration_ms)
2870
2873
  @eval_loss = args[:eval_loss] if args.key?(:eval_loss)
2871
2874
  @index = args[:index] if args.key?(:index)
@@ -4082,6 +4085,11 @@ module Google
4082
4085
  # @return [Fixnum]
4083
4086
  attr_accessor :estimated_bytes_processed
4084
4087
 
4088
+ # [Output-only] Statistics of a BigQuery ML training job.
4089
+ # Corresponds to the JSON property `mlStatistics`
4090
+ # @return [Google::Apis::BigqueryV2::MlStatistics]
4091
+ attr_accessor :ml_statistics
4092
+
4085
4093
  # [Output-only, Beta] Information about create model query job progress.
4086
4094
  # Corresponds to the JSON property `modelTraining`
4087
4095
  # @return [Google::Apis::BigqueryV2::BigQueryModelTraining]
@@ -4210,6 +4218,7 @@ module Google
4210
4218
  @ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
4211
4219
  @dml_stats = args[:dml_stats] if args.key?(:dml_stats)
4212
4220
  @estimated_bytes_processed = args[:estimated_bytes_processed] if args.key?(:estimated_bytes_processed)
4221
+ @ml_statistics = args[:ml_statistics] if args.key?(:ml_statistics)
4213
4222
  @model_training = args[:model_training] if args.key?(:model_training)
4214
4223
  @model_training_current_iteration = args[:model_training_current_iteration] if args.key?(:model_training_current_iteration)
4215
4224
  @model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
@@ -4506,6 +4515,33 @@ module Google
4506
4515
  end
4507
4516
  end
4508
4517
 
4518
+ #
4519
+ class MlStatistics
4520
+ include Google::Apis::Core::Hashable
4521
+
4522
+ # Results for all completed iterations.
4523
+ # Corresponds to the JSON property `iterationResults`
4524
+ # @return [Array<Google::Apis::BigqueryV2::IterationResult>]
4525
+ attr_accessor :iteration_results
4526
+
4527
+ # Maximum number of iterations specified as max_iterations in the 'CREATE MODEL'
4528
+ # query. The actual number of iterations may be less than this number due to
4529
+ # early stop.
4530
+ # Corresponds to the JSON property `maxIterations`
4531
+ # @return [Fixnum]
4532
+ attr_accessor :max_iterations
4533
+
4534
+ def initialize(**args)
4535
+ update!(**args)
4536
+ end
4537
+
4538
+ # Update properties of this object
4539
+ def update!(**args)
4540
+ @iteration_results = args[:iteration_results] if args.key?(:iteration_results)
4541
+ @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
4542
+ end
4543
+ end
4544
+
4509
4545
  #
4510
4546
  class Model
4511
4547
  include Google::Apis::Core::Hashable
@@ -4780,31 +4816,31 @@ module Google
4780
4816
 
4781
4817
  # An Identity and Access Management (IAM) policy, which specifies access
4782
4818
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4783
- # A `binding` binds one or more `members` to a single `role`. Members can be
4784
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
4785
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
4786
- # role or a user-created custom role. For some types of Google Cloud resources,
4787
- # a `binding` can also specify a `condition`, which is a logical expression that
4788
- # allows access to a resource only if the expression evaluates to `true`. A
4789
- # condition can add constraints based on attributes of the request, the resource,
4790
- # or both. To learn which resources support conditions in their IAM policies,
4791
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
4792
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
4793
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
4794
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
4795
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
4796
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
4797
- # title": "expirable access", "description": "Does not grant access after Sep
4798
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
4799
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
4800
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
4801
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
4802
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4803
- # roles/resourcemanager.organizationViewer condition: title: expirable access
4804
- # description: Does not grant access after Sep 2020 expression: request.time <
4805
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
4806
- # description of IAM and its features, see the [IAM documentation](https://cloud.
4807
- # google.com/iam/docs/).
4819
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
4820
+ # Principals can be user accounts, service accounts, Google groups, and domains (
4821
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
4822
+ # an IAM predefined role or a user-created custom role. For some types of Google
4823
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
4824
+ # logical expression that allows access to a resource only if the expression
4825
+ # evaluates to `true`. A condition can add constraints based on attributes of
4826
+ # the request, the resource, or both. To learn which resources support
4827
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
4828
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
4829
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
4830
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
4831
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
4832
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
4833
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
4834
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
4835
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
4836
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
4837
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
4838
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
4839
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
4840
+ # access description: Does not grant access after Sep 2020 expression: request.
4841
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
4842
+ # a description of IAM and its features, see the [IAM documentation](https://
4843
+ # cloud.google.com/iam/docs/).
4808
4844
  class Policy
4809
4845
  include Google::Apis::Core::Hashable
4810
4846
 
@@ -4813,9 +4849,14 @@ module Google
4813
4849
  # @return [Array<Google::Apis::BigqueryV2::AuditConfig>]
4814
4850
  attr_accessor :audit_configs
4815
4851
 
4816
- # Associates a list of `members` to a `role`. Optionally, may specify a `
4817
- # condition` that determines how and when the `bindings` are applied. Each of
4818
- # the `bindings` must contain at least one member.
4852
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
4853
+ # specify a `condition` that determines how and when the `bindings` are applied.
4854
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
4855
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
4856
+ # can be Google groups. Each occurrence of a principal counts towards these
4857
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
4858
+ # example.com`, and not to any other principal, then you can add another 1,450
4859
+ # principals to the `bindings` in the `Policy`.
4819
4860
  # Corresponds to the JSON property `bindings`
4820
4861
  # @return [Array<Google::Apis::BigqueryV2::Binding>]
4821
4862
  attr_accessor :bindings
@@ -5953,31 +5994,31 @@ module Google
5953
5994
 
5954
5995
  # An Identity and Access Management (IAM) policy, which specifies access
5955
5996
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
5956
- # A `binding` binds one or more `members` to a single `role`. Members can be
5957
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
5958
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
5959
- # role or a user-created custom role. For some types of Google Cloud resources,
5960
- # a `binding` can also specify a `condition`, which is a logical expression that
5961
- # allows access to a resource only if the expression evaluates to `true`. A
5962
- # condition can add constraints based on attributes of the request, the resource,
5963
- # or both. To learn which resources support conditions in their IAM policies,
5964
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
5965
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
5966
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
5967
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
5968
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
5969
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
5970
- # title": "expirable access", "description": "Does not grant access after Sep
5971
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
5972
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
5973
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
5974
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
5975
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
5976
- # roles/resourcemanager.organizationViewer condition: title: expirable access
5977
- # description: Does not grant access after Sep 2020 expression: request.time <
5978
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
5979
- # description of IAM and its features, see the [IAM documentation](https://cloud.
5980
- # google.com/iam/docs/).
5997
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
5998
+ # Principals can be user accounts, service accounts, Google groups, and domains (
5999
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
6000
+ # an IAM predefined role or a user-created custom role. For some types of Google
6001
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
6002
+ # logical expression that allows access to a resource only if the expression
6003
+ # evaluates to `true`. A condition can add constraints based on attributes of
6004
+ # the request, the resource, or both. To learn which resources support
6005
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6006
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
6007
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
6008
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
6009
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
6010
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
6011
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
6012
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
6013
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
6014
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
6015
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
6016
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
6017
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
6018
+ # access description: Does not grant access after Sep 2020 expression: request.
6019
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
6020
+ # a description of IAM and its features, see the [IAM documentation](https://
6021
+ # cloud.google.com/iam/docs/).
5981
6022
  # Corresponds to the JSON property `policy`
5982
6023
  # @return [Google::Apis::BigqueryV2::Policy]
5983
6024
  attr_accessor :policy
@@ -7069,12 +7110,37 @@ module Google
7069
7110
  # @return [Fixnum]
7070
7111
  attr_accessor :batch_size
7071
7112
 
7113
+ # Booster type for boosted tree models.
7114
+ # Corresponds to the JSON property `boosterType`
7115
+ # @return [String]
7116
+ attr_accessor :booster_type
7117
+
7072
7118
  # If true, clean spikes and dips in the input time series.
7073
7119
  # Corresponds to the JSON property `cleanSpikesAndDips`
7074
7120
  # @return [Boolean]
7075
7121
  attr_accessor :clean_spikes_and_dips
7076
7122
  alias_method :clean_spikes_and_dips?, :clean_spikes_and_dips
7077
7123
 
7124
+ # Subsample ratio of columns for each level for boosted tree models.
7125
+ # Corresponds to the JSON property `colsampleBylevel`
7126
+ # @return [Float]
7127
+ attr_accessor :colsample_bylevel
7128
+
7129
+ # Subsample ratio of columns for each node(split) for boosted tree models.
7130
+ # Corresponds to the JSON property `colsampleBynode`
7131
+ # @return [Float]
7132
+ attr_accessor :colsample_bynode
7133
+
7134
+ # Subsample ratio of columns when constructing each tree for boosted tree models.
7135
+ # Corresponds to the JSON property `colsampleBytree`
7136
+ # @return [Float]
7137
+ attr_accessor :colsample_bytree
7138
+
7139
+ # Type of normalization algorithm for boosted tree models using dart booster.
7140
+ # Corresponds to the JSON property `dartNormalizeType`
7141
+ # @return [String]
7142
+ attr_accessor :dart_normalize_type
7143
+
7078
7144
  # The data frequency of a time series.
7079
7145
  # Corresponds to the JSON property `dataFrequency`
7080
7146
  # @return [String]
@@ -7235,6 +7301,11 @@ module Google
7235
7301
  # @return [Float]
7236
7302
  attr_accessor :min_split_loss
7237
7303
 
7304
+ # Minimum sum of instance weight needed in a child for boosted tree models.
7305
+ # Corresponds to the JSON property `minTreeChildWeight`
7306
+ # @return [Fixnum]
7307
+ attr_accessor :min_tree_child_weight
7308
+
7238
7309
  # Google Cloud Storage URI from which the model was imported. Only applicable
7239
7310
  # for imported models.
7240
7311
  # Corresponds to the JSON property `modelUri`
@@ -7256,6 +7327,12 @@ module Google
7256
7327
  # @return [Fixnum]
7257
7328
  attr_accessor :num_factors
7258
7329
 
7330
+ # Number of parallel trees constructed during each iteration for boosted tree
7331
+ # models.
7332
+ # Corresponds to the JSON property `numParallelTree`
7333
+ # @return [Fixnum]
7334
+ attr_accessor :num_parallel_tree
7335
+
7259
7336
  # Optimization strategy for training linear regression models.
7260
7337
  # Corresponds to the JSON property `optimizationStrategy`
7261
7338
  # @return [String]
@@ -7295,6 +7372,11 @@ module Google
7295
7372
  # @return [String]
7296
7373
  attr_accessor :time_series_timestamp_column
7297
7374
 
7375
+ # Tree construction algorithm for boosted tree models.
7376
+ # Corresponds to the JSON property `treeMethod`
7377
+ # @return [String]
7378
+ attr_accessor :tree_method
7379
+
7298
7380
  # User column specified for matrix factorization models.
7299
7381
  # Corresponds to the JSON property `userColumn`
7300
7382
  # @return [String]
@@ -7321,7 +7403,12 @@ module Google
7321
7403
  @auto_arima = args[:auto_arima] if args.key?(:auto_arima)
7322
7404
  @auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
7323
7405
  @batch_size = args[:batch_size] if args.key?(:batch_size)
7406
+ @booster_type = args[:booster_type] if args.key?(:booster_type)
7324
7407
  @clean_spikes_and_dips = args[:clean_spikes_and_dips] if args.key?(:clean_spikes_and_dips)
7408
+ @colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
7409
+ @colsample_bynode = args[:colsample_bynode] if args.key?(:colsample_bynode)
7410
+ @colsample_bytree = args[:colsample_bytree] if args.key?(:colsample_bytree)
7411
+ @dart_normalize_type = args[:dart_normalize_type] if args.key?(:dart_normalize_type)
7325
7412
  @data_frequency = args[:data_frequency] if args.key?(:data_frequency)
7326
7413
  @data_split_column = args[:data_split_column] if args.key?(:data_split_column)
7327
7414
  @data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction)
@@ -7350,10 +7437,12 @@ module Google
7350
7437
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
7351
7438
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
7352
7439
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
7440
+ @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
7353
7441
  @model_uri = args[:model_uri] if args.key?(:model_uri)
7354
7442
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
7355
7443
  @num_clusters = args[:num_clusters] if args.key?(:num_clusters)
7356
7444
  @num_factors = args[:num_factors] if args.key?(:num_factors)
7445
+ @num_parallel_tree = args[:num_parallel_tree] if args.key?(:num_parallel_tree)
7357
7446
  @optimization_strategy = args[:optimization_strategy] if args.key?(:optimization_strategy)
7358
7447
  @preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
7359
7448
  @subsample = args[:subsample] if args.key?(:subsample)
@@ -7361,6 +7450,7 @@ module Google
7361
7450
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
7362
7451
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
7363
7452
  @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
7453
+ @tree_method = args[:tree_method] if args.key?(:tree_method)
7364
7454
  @user_column = args[:user_column] if args.key?(:user_column)
7365
7455
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
7366
7456
  @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.17.0"
19
+ GEM_VERSION = "0.21.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 = "20210904"
25
+ REVISION = "20211106"
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
@@ -2598,7 +2613,12 @@ module Google
2598
2613
  property :auto_arima, as: 'autoArima'
2599
2614
  property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
2600
2615
  property :batch_size, :numeric_string => true, as: 'batchSize'
2616
+ property :booster_type, as: 'boosterType'
2601
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'
2602
2622
  property :data_frequency, as: 'dataFrequency'
2603
2623
  property :data_split_column, as: 'dataSplitColumn'
2604
2624
  property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
@@ -2627,11 +2647,13 @@ module Google
2627
2647
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
2628
2648
  property :min_relative_progress, as: 'minRelativeProgress'
2629
2649
  property :min_split_loss, as: 'minSplitLoss'
2650
+ property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
2630
2651
  property :model_uri, as: 'modelUri'
2631
2652
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
2632
2653
 
2633
2654
  property :num_clusters, :numeric_string => true, as: 'numClusters'
2634
2655
  property :num_factors, :numeric_string => true, as: 'numFactors'
2656
+ property :num_parallel_tree, :numeric_string => true, as: 'numParallelTree'
2635
2657
  property :optimization_strategy, as: 'optimizationStrategy'
2636
2658
  property :preserve_input_structs, as: 'preserveInputStructs'
2637
2659
  property :subsample, as: 'subsample'
@@ -2639,6 +2661,7 @@ module Google
2639
2661
  property :time_series_id_column, as: 'timeSeriesIdColumn'
2640
2662
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
2641
2663
  property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
2664
+ property :tree_method, as: 'treeMethod'
2642
2665
  property :user_column, as: 'userColumn'
2643
2666
  property :wals_alpha, as: 'walsAlpha'
2644
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.17.0
4
+ version: 0.21.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-13 00:00:00.000000000 Z
11
+ date: 2021-11-15 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.17.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.21.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: