google-apis-bigquery_v2 0.39.0 → 0.41.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: dabde702fa9d16d61e53365e4d7da01ea13203c60bedae7e51b4e327e2083d07
4
- data.tar.gz: 599fd820dac6e754041c230ca689c1dd5437efe7543f847219a7cdb729fdda45
3
+ metadata.gz: 6ac9abf5b5482e69b800162ba11b4f88f0cd3647f536376b87e95c133a9e7197
4
+ data.tar.gz: dcfbd1acf6fe2aed2360e679b3ecf2141b682715d81aba561c53bbe7a92103e3
5
5
  SHA512:
6
- metadata.gz: 46e55392355e6da9e5a3ceedd6e4c09affed697d64418b802da3104d579934e1fa87ddda559d703d57759a327d9268bdd999dff945e81a4d970b08c7d7a502f8
7
- data.tar.gz: d428d0d1d2f86e9ab516cff6eb5c83314a78c57b979a0954bcc9e995798d0928ec133365495a53283bc0ab20585355ee9fc32b59eb42ea6994e41bcfb8814a57
6
+ metadata.gz: e730ab952f21a6bf456111e57d327ae75f63950edd54a3be73af9cee190b2dbf45b0be80d5e503e1eba9fbeeba85cdeab51cd27590dc2626ec57c1ae4eab9b04
7
+ data.tar.gz: 2ca12dc4c0847007d6cbef236826f789d027843588c6013b3d91672e3f63ca844bd466becbf96bc2ff955e18e45d484aadd7b800f69fc3a2a319d6751ebfc543
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.41.0 (2022-09-22)
4
+
5
+ * Regenerated from discovery document revision 20220913
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.40.0 (2022-09-10)
9
+
10
+ * Regenerated from discovery document revision 20220903
11
+
3
12
  ### v0.39.0 (2022-08-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20220806
@@ -100,8 +100,8 @@ module Google
100
100
  # The data type of a variable such as a function argument. Examples include: *
101
101
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
102
102
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
103
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
104
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
103
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
104
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
105
105
  # DATE"` ` ` ] ` `
106
106
  # Corresponds to the JSON property `dataType`
107
107
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -951,31 +951,33 @@ module Google
951
951
  # members` can have the following values: * `allUsers`: A special identifier
952
952
  # that represents anyone who is on the internet; with or without a Google
953
953
  # account. * `allAuthenticatedUsers`: A special identifier that represents
954
- # anyone who is authenticated with a Google account or a service account. * `
955
- # user:`emailid``: An email address that represents a specific Google account.
956
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
957
- # address that represents a Google service account. For example, `my-other-app@
958
- # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
959
- # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
960
- # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
961
- # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
962
- # . * `group:`emailid``: An email address that represents a Google group. For
963
- # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
964
- # email address (plus unique identifier) representing a user that has been
965
- # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
966
- # If the user is recovered, this value reverts to `user:`emailid`` and the
967
- # recovered user retains the role in the binding. * `deleted:serviceAccount:`
968
- # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
969
- # representing a service account that has been recently deleted. For example, `
970
- # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
971
- # service account is undeleted, this value reverts to `serviceAccount:`emailid``
972
- # and the undeleted service account retains the role in the binding. * `deleted:
973
- # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
974
- # representing a Google group that has been recently deleted. For example, `
975
- # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
976
- # value reverts to `group:`emailid`` and the recovered group retains the role in
977
- # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
978
- # all the users of that domain. For example, `google.com` or `example.com`.
954
+ # anyone who is authenticated with a Google account or a service account. Does
955
+ # not include identities that come from external identity providers (IdPs)
956
+ # through identity federation. * `user:`emailid``: An email address that
957
+ # represents a specific Google account. For example, `alice@example.com` . * `
958
+ # serviceAccount:`emailid``: An email address that represents a Google service
959
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
960
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
961
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
962
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
963
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
964
+ # email address that represents a Google group. For example, `admins@example.com`
965
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
966
+ # identifier) representing a user that has been recently deleted. For example, `
967
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
968
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
969
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
970
+ # address (plus unique identifier) representing a service account that has been
971
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
972
+ # 123456789012345678901`. If the service account is undeleted, this value
973
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
974
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
975
+ # An email address (plus unique identifier) representing a Google group that has
976
+ # been recently deleted. For example, `admins@example.com?uid=
977
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
978
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
979
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
980
+ # of that domain. For example, `google.com` or `example.com`.
979
981
  # Corresponds to the JSON property `members`
980
982
  # @return [Array<String>]
981
983
  attr_accessor :members
@@ -1497,6 +1499,30 @@ module Google
1497
1499
  end
1498
1500
  end
1499
1501
 
1502
+ #
1503
+ class DataMaskingStatistics
1504
+ include Google::Apis::Core::Hashable
1505
+
1506
+ # [Output-only] [Preview] Whether any accessed data was protected by data
1507
+ # masking. The actual evaluation is done by accessStats.masked_field_count > 0.
1508
+ # Since this is only used for the discovery_doc generation purpose, as long as
1509
+ # the type (boolean) matches, client library can leverage this. The actual
1510
+ # evaluation of the variable is done else-where.
1511
+ # Corresponds to the JSON property `dataMaskingApplied`
1512
+ # @return [Boolean]
1513
+ attr_accessor :data_masking_applied
1514
+ alias_method :data_masking_applied?, :data_masking_applied
1515
+
1516
+ def initialize(**args)
1517
+ update!(**args)
1518
+ end
1519
+
1520
+ # Update properties of this object
1521
+ def update!(**args)
1522
+ @data_masking_applied = args[:data_masking_applied] if args.key?(:data_masking_applied)
1523
+ end
1524
+ end
1525
+
1500
1526
  # Data split result. This contains references to the training and evaluation
1501
1527
  # data tables that were used to train the model.
1502
1528
  class DataSplitResult
@@ -3742,6 +3768,11 @@ module Google
3742
3768
  # @return [Google::Apis::BigqueryV2::Clustering]
3743
3769
  attr_accessor :clustering
3744
3770
 
3771
+ # Connection properties.
3772
+ # Corresponds to the JSON property `connectionProperties`
3773
+ # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
3774
+ attr_accessor :connection_properties
3775
+
3745
3776
  # [Optional] Specifies whether the job is allowed to create new tables. The
3746
3777
  # following values are supported: CREATE_IF_NEEDED: If the table does not exist,
3747
3778
  # BigQuery creates the table. CREATE_NEVER: The table must already exist. If it
@@ -3752,6 +3783,14 @@ module Google
3752
3783
  # @return [String]
3753
3784
  attr_accessor :create_disposition
3754
3785
 
3786
+ # If true, creates a new session, where session id will be a server generated
3787
+ # random id. If false, runs query with an existing session_id passed in
3788
+ # ConnectionProperty, otherwise runs the load job in non-session mode.
3789
+ # Corresponds to the JSON property `createSession`
3790
+ # @return [Boolean]
3791
+ attr_accessor :create_session
3792
+ alias_method :create_session?, :create_session
3793
+
3755
3794
  # [Optional] Defines the list of possible SQL data types to which the source
3756
3795
  # decimal values are converted. This list and the precision and the scale
3757
3796
  # parameters of the decimal field determine the target type. In the order of
@@ -3988,7 +4027,9 @@ module Google
3988
4027
  @allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
3989
4028
  @autodetect = args[:autodetect] if args.key?(:autodetect)
3990
4029
  @clustering = args[:clustering] if args.key?(:clustering)
4030
+ @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
3991
4031
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
4032
+ @create_session = args[:create_session] if args.key?(:create_session)
3992
4033
  @decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
3993
4034
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
3994
4035
  @destination_table = args[:destination_table] if args.key?(:destination_table)
@@ -4470,6 +4511,12 @@ module Google
4470
4511
  # @return [Fixnum]
4471
4512
  attr_accessor :creation_time
4472
4513
 
4514
+ # [Output-only] Statistics for data masking. Present only for query and extract
4515
+ # jobs.
4516
+ # Corresponds to the JSON property `dataMaskingStatistics`
4517
+ # @return [Google::Apis::BigqueryV2::DataMaskingStatistics]
4518
+ attr_accessor :data_masking_statistics
4519
+
4473
4520
  # [Output-only] End time of this job, in milliseconds since the epoch. This
4474
4521
  # field will be present whenever a job is in the DONE state.
4475
4522
  # Corresponds to the JSON property `endTime`
@@ -4567,6 +4614,7 @@ module Google
4567
4614
  @completion_ratio = args[:completion_ratio] if args.key?(:completion_ratio)
4568
4615
  @copy = args[:copy] if args.key?(:copy)
4569
4616
  @creation_time = args[:creation_time] if args.key?(:creation_time)
4617
+ @data_masking_statistics = args[:data_masking_statistics] if args.key?(:data_masking_statistics)
4570
4618
  @end_time = args[:end_time] if args.key?(:end_time)
4571
4619
  @extract = args[:extract] if args.key?(:extract)
4572
4620
  @load = args[:load] if args.key?(:load)
@@ -4615,29 +4663,29 @@ module Google
4615
4663
  class JobStatistics2
4616
4664
  include Google::Apis::Core::Hashable
4617
4665
 
4618
- # BI Engine specific Statistics. [Output-only] BI Engine specific Statistics.
4666
+ # BI Engine specific Statistics. [Output only] BI Engine specific Statistics.
4619
4667
  # Corresponds to the JSON property `biEngineStatistics`
4620
4668
  # @return [Google::Apis::BigqueryV2::BiEngineStatistics]
4621
4669
  attr_accessor :bi_engine_statistics
4622
4670
 
4623
- # [Output-only] Billing tier for the job.
4671
+ # [Output only] Billing tier for the job.
4624
4672
  # Corresponds to the JSON property `billingTier`
4625
4673
  # @return [Fixnum]
4626
4674
  attr_accessor :billing_tier
4627
4675
 
4628
- # [Output-only] Whether the query result was fetched from the query cache.
4676
+ # [Output only] Whether the query result was fetched from the query cache.
4629
4677
  # Corresponds to the JSON property `cacheHit`
4630
4678
  # @return [Boolean]
4631
4679
  attr_accessor :cache_hit
4632
4680
  alias_method :cache_hit?, :cache_hit
4633
4681
 
4634
- # [Output-only] [Preview] The number of row access policies affected by a DDL
4682
+ # [Output only] [Preview] The number of row access policies affected by a DDL
4635
4683
  # statement. Present only for DROP ALL ROW ACCESS POLICIES queries.
4636
4684
  # Corresponds to the JSON property `ddlAffectedRowAccessPolicyCount`
4637
4685
  # @return [Fixnum]
4638
4686
  attr_accessor :ddl_affected_row_access_policy_count
4639
4687
 
4640
- # [Output-only] The DDL destination table. Present only for ALTER TABLE RENAME
4688
+ # [Output only] The DDL destination table. Present only for ALTER TABLE RENAME
4641
4689
  # TO queries. Note that ddl_target_table is used just for its type information.
4642
4690
  # Corresponds to the JSON property `ddlDestinationTable`
4643
4691
  # @return [Google::Apis::BigqueryV2::TableReference]
@@ -4654,7 +4702,7 @@ module Google
4654
4702
  # @return [String]
4655
4703
  attr_accessor :ddl_operation_performed
4656
4704
 
4657
- # [Output-only] The DDL target dataset. Present only for CREATE/ALTER/DROP
4705
+ # [Output only] The DDL target dataset. Present only for CREATE/ALTER/DROP
4658
4706
  # SCHEMA queries.
4659
4707
  # Corresponds to the JSON property `ddlTargetDataset`
4660
4708
  # @return [Google::Apis::BigqueryV2::DatasetReference]
@@ -4666,88 +4714,93 @@ module Google
4666
4714
  # @return [Google::Apis::BigqueryV2::RoutineReference]
4667
4715
  attr_accessor :ddl_target_routine
4668
4716
 
4669
- # [Output-only] [Preview] The DDL target row access policy. Present only for
4717
+ # [Output only] [Preview] The DDL target row access policy. Present only for
4670
4718
  # CREATE/DROP ROW ACCESS POLICY queries.
4671
4719
  # Corresponds to the JSON property `ddlTargetRowAccessPolicy`
4672
4720
  # @return [Google::Apis::BigqueryV2::RowAccessPolicyReference]
4673
4721
  attr_accessor :ddl_target_row_access_policy
4674
4722
 
4675
- # [Output-only] The DDL target table. Present only for CREATE/DROP TABLE/VIEW
4723
+ # [Output only] The DDL target table. Present only for CREATE/DROP TABLE/VIEW
4676
4724
  # and DROP ALL ROW ACCESS POLICIES queries.
4677
4725
  # Corresponds to the JSON property `ddlTargetTable`
4678
4726
  # @return [Google::Apis::BigqueryV2::TableReference]
4679
4727
  attr_accessor :ddl_target_table
4680
4728
 
4681
- # [Output-only] Detailed statistics for DML statements Present only for DML
4729
+ # [Output only] Detailed statistics for DML statements Present only for DML
4682
4730
  # statements INSERT, UPDATE, DELETE or TRUNCATE.
4683
4731
  # Corresponds to the JSON property `dmlStats`
4684
4732
  # @return [Google::Apis::BigqueryV2::DmlStatistics]
4685
4733
  attr_accessor :dml_stats
4686
4734
 
4687
- # [Output-only] The original estimate of bytes processed for the job.
4735
+ # [Output only] The original estimate of bytes processed for the job.
4688
4736
  # Corresponds to the JSON property `estimatedBytesProcessed`
4689
4737
  # @return [Fixnum]
4690
4738
  attr_accessor :estimated_bytes_processed
4691
4739
 
4692
- # [Output-only] Statistics of a BigQuery ML training job.
4740
+ # [Output only] Statistics of a BigQuery ML training job.
4693
4741
  # Corresponds to the JSON property `mlStatistics`
4694
4742
  # @return [Google::Apis::BigqueryV2::MlStatistics]
4695
4743
  attr_accessor :ml_statistics
4696
4744
 
4697
- # [Output-only, Beta] Information about create model query job progress.
4745
+ # [Output only, Beta] Information about create model query job progress.
4698
4746
  # Corresponds to the JSON property `modelTraining`
4699
4747
  # @return [Google::Apis::BigqueryV2::BigQueryModelTraining]
4700
4748
  attr_accessor :model_training
4701
4749
 
4702
- # [Output-only, Beta] Deprecated; do not use.
4750
+ # [Output only, Beta] Deprecated; do not use.
4703
4751
  # Corresponds to the JSON property `modelTrainingCurrentIteration`
4704
4752
  # @return [Fixnum]
4705
4753
  attr_accessor :model_training_current_iteration
4706
4754
 
4707
- # [Output-only, Beta] Deprecated; do not use.
4755
+ # [Output only, Beta] Deprecated; do not use.
4708
4756
  # Corresponds to the JSON property `modelTrainingExpectedTotalIteration`
4709
4757
  # @return [Fixnum]
4710
4758
  attr_accessor :model_training_expected_total_iteration
4711
4759
 
4712
- # [Output-only] The number of rows affected by a DML statement. Present only for
4760
+ # [Output only] The number of rows affected by a DML statement. Present only for
4713
4761
  # DML statements INSERT, UPDATE or DELETE.
4714
4762
  # Corresponds to the JSON property `numDmlAffectedRows`
4715
4763
  # @return [Fixnum]
4716
4764
  attr_accessor :num_dml_affected_rows
4717
4765
 
4718
- # [Output-only] Describes execution plan for the query.
4766
+ # [Output only] Describes execution plan for the query.
4719
4767
  # Corresponds to the JSON property `queryPlan`
4720
4768
  # @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
4721
4769
  attr_accessor :query_plan
4722
4770
 
4723
- # [Output-only] Referenced routines (persistent user-defined functions and
4771
+ # [Output only] Referenced routines (persistent user-defined functions and
4724
4772
  # stored procedures) for the job.
4725
4773
  # Corresponds to the JSON property `referencedRoutines`
4726
4774
  # @return [Array<Google::Apis::BigqueryV2::RoutineReference>]
4727
4775
  attr_accessor :referenced_routines
4728
4776
 
4729
- # [Output-only] Referenced tables for the job. Queries that reference more than
4777
+ # [Output only] Referenced tables for the job. Queries that reference more than
4730
4778
  # 50 tables will not have a complete list.
4731
4779
  # Corresponds to the JSON property `referencedTables`
4732
4780
  # @return [Array<Google::Apis::BigqueryV2::TableReference>]
4733
4781
  attr_accessor :referenced_tables
4734
4782
 
4735
- # [Output-only] Job resource usage breakdown by reservation.
4783
+ # [Output only] Job resource usage breakdown by reservation.
4736
4784
  # Corresponds to the JSON property `reservationUsage`
4737
4785
  # @return [Array<Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage>]
4738
4786
  attr_accessor :reservation_usage
4739
4787
 
4740
- # [Output-only] The schema of the results. Present only for successful dry run
4788
+ # [Output only] The schema of the results. Present only for successful dry run
4741
4789
  # of non-legacy SQL queries.
4742
4790
  # Corresponds to the JSON property `schema`
4743
4791
  # @return [Google::Apis::BigqueryV2::TableSchema]
4744
4792
  attr_accessor :schema
4745
4793
 
4746
- # [Output-only] Search query specific statistics.
4794
+ # [Output only] Search query specific statistics.
4747
4795
  # Corresponds to the JSON property `searchStatistics`
4748
4796
  # @return [Google::Apis::BigqueryV2::SearchStatistics]
4749
4797
  attr_accessor :search_statistics
4750
4798
 
4799
+ # [Output only] Statistics of a Spark procedure job.
4800
+ # Corresponds to the JSON property `sparkStatistics`
4801
+ # @return [Google::Apis::BigqueryV2::SparkStatistics]
4802
+ attr_accessor :spark_statistics
4803
+
4751
4804
  # The type of query statement, if valid. Possible values (new values might be
4752
4805
  # added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
4753
4806
  # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
@@ -4768,22 +4821,22 @@ module Google
4768
4821
  # @return [String]
4769
4822
  attr_accessor :statement_type
4770
4823
 
4771
- # [Output-only] [Beta] Describes a timeline of job execution.
4824
+ # [Output only] [Beta] Describes a timeline of job execution.
4772
4825
  # Corresponds to the JSON property `timeline`
4773
4826
  # @return [Array<Google::Apis::BigqueryV2::QueryTimelineSample>]
4774
4827
  attr_accessor :timeline
4775
4828
 
4776
- # [Output-only] Total bytes billed for the job.
4829
+ # [Output only] Total bytes billed for the job.
4777
4830
  # Corresponds to the JSON property `totalBytesBilled`
4778
4831
  # @return [Fixnum]
4779
4832
  attr_accessor :total_bytes_billed
4780
4833
 
4781
- # [Output-only] Total bytes processed for the job.
4834
+ # [Output only] Total bytes processed for the job.
4782
4835
  # Corresponds to the JSON property `totalBytesProcessed`
4783
4836
  # @return [Fixnum]
4784
4837
  attr_accessor :total_bytes_processed
4785
4838
 
4786
- # [Output-only] For dry-run jobs, totalBytesProcessed is an estimate and this
4839
+ # [Output only] For dry-run jobs, totalBytesProcessed is an estimate and this
4787
4840
  # field specifies the accuracy of the estimate. Possible values can be: UNKNOWN:
4788
4841
  # accuracy of the estimate is unknown. PRECISE: estimate is precise. LOWER_BOUND:
4789
4842
  # estimate is lower bound of what the query would cost. UPPER_BOUND: estimate
@@ -4792,13 +4845,13 @@ module Google
4792
4845
  # @return [String]
4793
4846
  attr_accessor :total_bytes_processed_accuracy
4794
4847
 
4795
- # [Output-only] Total number of partitions processed from all partitioned tables
4848
+ # [Output only] Total number of partitions processed from all partitioned tables
4796
4849
  # referenced in the job.
4797
4850
  # Corresponds to the JSON property `totalPartitionsProcessed`
4798
4851
  # @return [Fixnum]
4799
4852
  attr_accessor :total_partitions_processed
4800
4853
 
4801
- # [Output-only] Slot-milliseconds for the job.
4854
+ # [Output only] Slot-milliseconds for the job.
4802
4855
  # Corresponds to the JSON property `totalSlotMs`
4803
4856
  # @return [Fixnum]
4804
4857
  attr_accessor :total_slot_ms
@@ -4838,6 +4891,7 @@ module Google
4838
4891
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
4839
4892
  @schema = args[:schema] if args.key?(:schema)
4840
4893
  @search_statistics = args[:search_statistics] if args.key?(:search_statistics)
4894
+ @spark_statistics = args[:spark_statistics] if args.key?(:spark_statistics)
4841
4895
  @statement_type = args[:statement_type] if args.key?(:statement_type)
4842
4896
  @timeline = args[:timeline] if args.key?(:timeline)
4843
4897
  @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
@@ -4852,12 +4906,12 @@ module Google
4852
4906
  class ReservationUsage
4853
4907
  include Google::Apis::Core::Hashable
4854
4908
 
4855
- # [Output-only] Reservation name or "unreserved" for on-demand resources usage.
4909
+ # [Output only] Reservation name or "unreserved" for on-demand resources usage.
4856
4910
  # Corresponds to the JSON property `name`
4857
4911
  # @return [String]
4858
4912
  attr_accessor :name
4859
4913
 
4860
- # [Output-only] Slot-milliseconds the job spent in the given reservation.
4914
+ # [Output only] Slot-milliseconds the job spent in the given reservation.
4861
4915
  # Corresponds to the JSON property `slotMs`
4862
4916
  # @return [Fixnum]
4863
4917
  attr_accessor :slot_ms
@@ -5304,8 +5358,7 @@ module Google
5304
5358
  # @return [Array<Fixnum>]
5305
5359
  attr_accessor :optimal_trial_ids
5306
5360
 
5307
- # Output only. Information for all training runs in increasing order of
5308
- # start_time.
5361
+ # Information for all training runs in increasing order of start_time.
5309
5362
  # Corresponds to the JSON property `trainingRuns`
5310
5363
  # @return [Array<Google::Apis::BigqueryV2::TrainingRun>]
5311
5364
  attr_accessor :training_runs
@@ -6452,8 +6505,8 @@ module Google
6452
6505
  # The data type of a variable such as a function argument. Examples include: *
6453
6506
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6454
6507
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6455
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6456
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
6508
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
6509
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6457
6510
  # DATE"` ` ` ] ` `
6458
6511
  # Corresponds to the JSON property `returnType`
6459
6512
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -6877,6 +6930,31 @@ module Google
6877
6930
  end
6878
6931
  end
6879
6932
 
6933
+ #
6934
+ class SparkLoggingInfo
6935
+ include Google::Apis::Core::Hashable
6936
+
6937
+ # [Output-only] Project ID used for logging
6938
+ # Corresponds to the JSON property `project_id`
6939
+ # @return [String]
6940
+ attr_accessor :project_id
6941
+
6942
+ # [Output-only] Resource type used for logging
6943
+ # Corresponds to the JSON property `resource_type`
6944
+ # @return [String]
6945
+ attr_accessor :resource_type
6946
+
6947
+ def initialize(**args)
6948
+ update!(**args)
6949
+ end
6950
+
6951
+ # Update properties of this object
6952
+ def update!(**args)
6953
+ @project_id = args[:project_id] if args.key?(:project_id)
6954
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
6955
+ end
6956
+ end
6957
+
6880
6958
  # Options for a user-defined Spark routine.
6881
6959
  class SparkOptions
6882
6960
  include Google::Apis::Core::Hashable
@@ -6956,11 +7034,48 @@ module Google
6956
7034
  end
6957
7035
  end
6958
7036
 
7037
+ #
7038
+ class SparkStatistics
7039
+ include Google::Apis::Core::Hashable
7040
+
7041
+ # [Output-only] Endpoints generated for the Spark job.
7042
+ # Corresponds to the JSON property `endpoints`
7043
+ # @return [Hash<String,String>]
7044
+ attr_accessor :endpoints
7045
+
7046
+ # [Output-only] Logging info is used to generate a link to Cloud Logging.
7047
+ # Corresponds to the JSON property `logging_info`
7048
+ # @return [Google::Apis::BigqueryV2::SparkLoggingInfo]
7049
+ attr_accessor :logging_info
7050
+
7051
+ # [Output-only] Spark job id if a Spark job is created successfully.
7052
+ # Corresponds to the JSON property `spark_job_id`
7053
+ # @return [String]
7054
+ attr_accessor :spark_job_id
7055
+
7056
+ # [Output-only] Location where the Spark job is executed.
7057
+ # Corresponds to the JSON property `spark_job_location`
7058
+ # @return [String]
7059
+ attr_accessor :spark_job_location
7060
+
7061
+ def initialize(**args)
7062
+ update!(**args)
7063
+ end
7064
+
7065
+ # Update properties of this object
7066
+ def update!(**args)
7067
+ @endpoints = args[:endpoints] if args.key?(:endpoints)
7068
+ @logging_info = args[:logging_info] if args.key?(:logging_info)
7069
+ @spark_job_id = args[:spark_job_id] if args.key?(:spark_job_id)
7070
+ @spark_job_location = args[:spark_job_location] if args.key?(:spark_job_location)
7071
+ end
7072
+ end
7073
+
6959
7074
  # The data type of a variable such as a function argument. Examples include: *
6960
7075
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6961
7076
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6962
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6963
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7077
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7078
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6964
7079
  # DATE"` ` ` ] ` `
6965
7080
  class StandardSqlDataType
6966
7081
  include Google::Apis::Core::Hashable
@@ -6968,8 +7083,8 @@ module Google
6968
7083
  # The data type of a variable such as a function argument. Examples include: *
6969
7084
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
6970
7085
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
6971
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
6972
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7086
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7087
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
6973
7088
  # DATE"` ` ` ] ` `
6974
7089
  # Corresponds to the JSON property `arrayElementType`
6975
7090
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -7010,8 +7125,8 @@ module Google
7010
7125
  # The data type of a variable such as a function argument. Examples include: *
7011
7126
  # INT64: ``"typeKind": "INT64"`` * ARRAY: ` "typeKind": "ARRAY", "
7012
7127
  # arrayElementType": `"typeKind": "STRING"` ` * STRUCT>: ` "typeKind": "STRUCT",
7013
- # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind: "STRING"` `, ` "
7014
- # name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typekind": "
7128
+ # "structType": ` "fields": [ ` "name": "x", "type": `"typeKind": "STRING"` `, `
7129
+ # "name": "y", "type": ` "typeKind": "ARRAY", "arrayElementType": `"typeKind": "
7015
7130
  # DATE"` ` ` ] ` `
7016
7131
  # Corresponds to the JSON property `type`
7017
7132
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
@@ -8536,8 +8651,8 @@ module Google
8536
8651
  class TrainingRun
8537
8652
  include Google::Apis::Core::Hashable
8538
8653
 
8539
- # Global explanation contains the explanation of top features on the class level.
8540
- # Applies to classification models only.
8654
+ # Output only. Global explanation contains the explanation of top features on
8655
+ # the class level. Applies to classification models only.
8541
8656
  # Corresponds to the JSON property `classLevelGlobalExplanations`
8542
8657
  # @return [Array<Google::Apis::BigqueryV2::GlobalExplanation>]
8543
8658
  attr_accessor :class_level_global_explanations
@@ -8560,12 +8675,12 @@ module Google
8560
8675
  # @return [Google::Apis::BigqueryV2::GlobalExplanation]
8561
8676
  attr_accessor :model_level_global_explanation
8562
8677
 
8563
- # Output of each iteration run, results.size() <= max_iterations.
8678
+ # Output only. Output of each iteration run, results.size() <= max_iterations.
8564
8679
  # Corresponds to the JSON property `results`
8565
8680
  # @return [Array<Google::Apis::BigqueryV2::IterationResult>]
8566
8681
  attr_accessor :results
8567
8682
 
8568
- # The start time of this training run.
8683
+ # Output only. The start time of this training run.
8569
8684
  # Corresponds to the JSON property `startTime`
8570
8685
  # @return [String]
8571
8686
  attr_accessor :start_time
@@ -8575,7 +8690,7 @@ module Google
8575
8690
  # @return [Google::Apis::BigqueryV2::TrainingOptions]
8576
8691
  attr_accessor :training_options
8577
8692
 
8578
- # The start time of this training run, in milliseconds since epoch.
8693
+ # Output only. The start time of this training run, in milliseconds since epoch.
8579
8694
  # Corresponds to the JSON property `trainingStartTime`
8580
8695
  # @return [Fixnum]
8581
8696
  attr_accessor :training_start_time
@@ -8585,7 +8700,8 @@ module Google
8585
8700
  # @return [String]
8586
8701
  attr_accessor :vertex_ai_model_id
8587
8702
 
8588
- # The model version in Vertex AI Model Registry for this training run
8703
+ # Output only. The model version in Vertex AI Model Registry for this training
8704
+ # run
8589
8705
  # Corresponds to the JSON property `vertexAiModelVersion`
8590
8706
  # @return [String]
8591
8707
  attr_accessor :vertex_ai_model_version
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryV2
18
18
  # Version of the google-apis-bigquery_v2 gem
19
- GEM_VERSION = "0.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220806"
25
+ REVISION = "20220913"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class DataMaskingStatistics
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class DataSplitResult
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -820,12 +826,24 @@ module Google
820
826
  include Google::Apis::Core::JsonObjectSupport
821
827
  end
822
828
 
829
+ class SparkLoggingInfo
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
823
835
  class SparkOptions
824
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
837
 
826
838
  include Google::Apis::Core::JsonObjectSupport
827
839
  end
828
840
 
841
+ class SparkStatistics
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
829
847
  class StandardSqlDataType
830
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
849
 
@@ -1369,6 +1387,13 @@ module Google
1369
1387
  end
1370
1388
  end
1371
1389
 
1390
+ class DataMaskingStatistics
1391
+ # @private
1392
+ class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :data_masking_applied, as: 'dataMaskingApplied'
1394
+ end
1395
+ end
1396
+
1372
1397
  class DataSplitResult
1373
1398
  # @private
1374
1399
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1950,7 +1975,10 @@ module Google
1950
1975
  property :autodetect, as: 'autodetect'
1951
1976
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
1952
1977
 
1978
+ collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1979
+
1953
1980
  property :create_disposition, as: 'createDisposition'
1981
+ property :create_session, as: 'createSession'
1954
1982
  collection :decimal_target_types, as: 'decimalTargetTypes'
1955
1983
  property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1956
1984
 
@@ -2094,6 +2122,8 @@ module Google
2094
2122
  property :copy, as: 'copy', class: Google::Apis::BigqueryV2::JobStatistics5, decorator: Google::Apis::BigqueryV2::JobStatistics5::Representation
2095
2123
 
2096
2124
  property :creation_time, :numeric_string => true, as: 'creationTime'
2125
+ property :data_masking_statistics, as: 'dataMaskingStatistics', class: Google::Apis::BigqueryV2::DataMaskingStatistics, decorator: Google::Apis::BigqueryV2::DataMaskingStatistics::Representation
2126
+
2097
2127
  property :end_time, :numeric_string => true, as: 'endTime'
2098
2128
  property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
2099
2129
 
@@ -2170,6 +2200,8 @@ module Google
2170
2200
 
2171
2201
  property :search_statistics, as: 'searchStatistics', class: Google::Apis::BigqueryV2::SearchStatistics, decorator: Google::Apis::BigqueryV2::SearchStatistics::Representation
2172
2202
 
2203
+ property :spark_statistics, as: 'sparkStatistics', class: Google::Apis::BigqueryV2::SparkStatistics, decorator: Google::Apis::BigqueryV2::SparkStatistics::Representation
2204
+
2173
2205
  property :statement_type, as: 'statementType'
2174
2206
  collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
2175
2207
 
@@ -2700,6 +2732,14 @@ module Google
2700
2732
  end
2701
2733
  end
2702
2734
 
2735
+ class SparkLoggingInfo
2736
+ # @private
2737
+ class Representation < Google::Apis::Core::JsonRepresentation
2738
+ property :project_id, as: 'project_id'
2739
+ property :resource_type, as: 'resource_type'
2740
+ end
2741
+ end
2742
+
2703
2743
  class SparkOptions
2704
2744
  # @private
2705
2745
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2715,6 +2755,17 @@ module Google
2715
2755
  end
2716
2756
  end
2717
2757
 
2758
+ class SparkStatistics
2759
+ # @private
2760
+ class Representation < Google::Apis::Core::JsonRepresentation
2761
+ hash :endpoints, as: 'endpoints'
2762
+ property :logging_info, as: 'logging_info', class: Google::Apis::BigqueryV2::SparkLoggingInfo, decorator: Google::Apis::BigqueryV2::SparkLoggingInfo::Representation
2763
+
2764
+ property :spark_job_id, as: 'spark_job_id'
2765
+ property :spark_job_location, as: 'spark_job_location'
2766
+ end
2767
+ end
2768
+
2718
2769
  class StandardSqlDataType
2719
2770
  # @private
2720
2771
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []