google-apis-bigquery_v2 0.59.0 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78c31b8164246d4ce4392b330cde3cfc8f210f4ac50f1e96c0a0e8dac8be847f
4
- data.tar.gz: 5db92d6e90f37f68eeba7f8689facc9646609be55c63129b4bc755dbb309b153
3
+ metadata.gz: 4b617a99890fcee57c60cc923e5bec380a6afdc7a223c319f231f66dcffd0acd
4
+ data.tar.gz: 7203c3a5e52f9879edb44c00d643bc6ddfdd917c6c01c503bbaf737ce6673205
5
5
  SHA512:
6
- metadata.gz: 2c74375655a890eec6f4504d57a5f1d198777ed37cc4c0ea26e3124893bada8cdde733dc463e6a6f45bf73d54bed42014e6066dd6fc152a697af8d7f2aa33db0
7
- data.tar.gz: 5d2b71d4c96774d73514abeef496635de74771da190d5c6bbdeb21fddadc677de2a1cec24d7a9a563aed3ee2f53db52cbbf22f2d46dec3d64dd896f9dbb8e620
6
+ metadata.gz: a659c4f9e8c3132000e89bced5e9f4906db0c35210a5b2619b45abcf195318eb706b952cd9c4022a1b00ffbc49ca563ffee0f58efe80f4686efa1e193b28a50b
7
+ data.tar.gz: fd36ae672a4d010e400bdd1ad6eb819b2f3f68c30393890d5bfcec5a7f1e98582b5665c49f277cf5315476b3afaaa828f1703aa2a4edb537211d8b167ceeeb1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.60.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231008
6
+
3
7
  ### v0.59.0 (2023-08-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20230812
@@ -88,6 +88,35 @@ module Google
88
88
  end
89
89
  end
90
90
 
91
+ # Represents privacy policy associated with "aggregation threshold" method.
92
+ class AggregationThresholdPolicy
93
+ include Google::Apis::Core::Hashable
94
+
95
+ # Optional. The privacy unit column(s) associated with this policy. For now,
96
+ # only one column per data source object (table, view) is allowed as a privacy
97
+ # unit column. Representing as a repeated field in metadata for extensibility to
98
+ # multiple columns in future. Duplicates and Repeated struct fields are not
99
+ # allowed. For nested fields, use dot notation ("outer.inner")
100
+ # Corresponds to the JSON property `privacyUnitColumns`
101
+ # @return [Array<String>]
102
+ attr_accessor :privacy_unit_columns
103
+
104
+ # Optional. The threshold for the "aggregation threshold" policy.
105
+ # Corresponds to the JSON property `threshold`
106
+ # @return [Fixnum]
107
+ attr_accessor :threshold
108
+
109
+ def initialize(**args)
110
+ update!(**args)
111
+ end
112
+
113
+ # Update properties of this object
114
+ def update!(**args)
115
+ @privacy_unit_columns = args[:privacy_unit_columns] if args.key?(:privacy_unit_columns)
116
+ @threshold = args[:threshold] if args.key?(:threshold)
117
+ end
118
+ end
119
+
91
120
  # Input/output argument of a function or a stored procedure.
92
121
  class Argument
93
122
  include Google::Apis::Core::Hashable
@@ -107,6 +136,15 @@ module Google
107
136
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
108
137
  attr_accessor :data_type
109
138
 
139
+ # Optional. Whether the argument is an aggregate function parameter. Must be
140
+ # Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION,
141
+ # if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL;
142
+ # Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
143
+ # Corresponds to the JSON property `isAggregate`
144
+ # @return [Boolean]
145
+ attr_accessor :is_aggregate
146
+ alias_method :is_aggregate?, :is_aggregate
147
+
110
148
  # Optional. Specifies whether the argument is input or output. Can be set for
111
149
  # procedures only.
112
150
  # Corresponds to the JSON property `mode`
@@ -127,6 +165,7 @@ module Google
127
165
  def update!(**args)
128
166
  @argument_kind = args[:argument_kind] if args.key?(:argument_kind)
129
167
  @data_type = args[:data_type] if args.key?(:data_type)
168
+ @is_aggregate = args[:is_aggregate] if args.key?(:is_aggregate)
130
169
  @mode = args[:mode] if args.key?(:mode)
131
170
  @name = args[:name] if args.key?(:name)
132
171
  end
@@ -1494,7 +1533,7 @@ module Google
1494
1533
 
1495
1534
  # [Optional] An custom string that will represent a NULL value in CSV import
1496
1535
  # data.
1497
- # Corresponds to the JSON property `null_marker`
1536
+ # Corresponds to the JSON property `nullMarker`
1498
1537
  # @return [String]
1499
1538
  attr_accessor :null_marker
1500
1539
 
@@ -3644,6 +3683,13 @@ module Google
3644
3683
  # @return [String]
3645
3684
  attr_accessor :id
3646
3685
 
3686
+ # [Output-only] If set, it provides the reason why a Job was created. If not set,
3687
+ # it should be treated as the default: REQUESTED. This feature is not yet
3688
+ # available. Jobs will always be created.
3689
+ # Corresponds to the JSON property `jobCreationReason`
3690
+ # @return [Object]
3691
+ attr_accessor :job_creation_reason
3692
+
3647
3693
  # [Optional] Reference describing the unique-per-user name of the job.
3648
3694
  # Corresponds to the JSON property `jobReference`
3649
3695
  # @return [Google::Apis::BigqueryV2::JobReference]
@@ -3685,6 +3731,7 @@ module Google
3685
3731
  @configuration = args[:configuration] if args.key?(:configuration)
3686
3732
  @etag = args[:etag] if args.key?(:etag)
3687
3733
  @id = args[:id] if args.key?(:id)
3734
+ @job_creation_reason = args[:job_creation_reason] if args.key?(:job_creation_reason)
3688
3735
  @job_reference = args[:job_reference] if args.key?(:job_reference)
3689
3736
  @kind = args[:kind] if args.key?(:kind)
3690
3737
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -4507,6 +4554,30 @@ module Google
4507
4554
  end
4508
4555
  end
4509
4556
 
4557
+ # Reason about why a Job was created from a [`jobs.query`](https://cloud.google.
4558
+ # com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `
4559
+ # JOB_CREATION_OPTIONAL` Job creation mode. For [`jobs.insert`](https://cloud.
4560
+ # google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will
4561
+ # always be `REQUESTED`. This feature is not yet available. Jobs will always be
4562
+ # created.
4563
+ class JobCreationReason
4564
+ include Google::Apis::Core::Hashable
4565
+
4566
+ # Output only. Specifies the high level reason why a Job was created.
4567
+ # Corresponds to the JSON property `code`
4568
+ # @return [String]
4569
+ attr_accessor :code
4570
+
4571
+ def initialize(**args)
4572
+ update!(**args)
4573
+ end
4574
+
4575
+ # Update properties of this object
4576
+ def update!(**args)
4577
+ @code = args[:code] if args.key?(:code)
4578
+ end
4579
+ end
4580
+
4510
4581
  #
4511
4582
  class JobList
4512
4583
  include Google::Apis::Core::Hashable
@@ -4859,8 +4930,8 @@ module Google
4859
4930
  # @return [String]
4860
4931
  attr_accessor :ddl_operation_performed
4861
4932
 
4862
- # [Output only] The DDL target dataset. Present only for CREATE/ALTER/DROP
4863
- # SCHEMA queries.
4933
+ # [Output only] The DDL target dataset. Present only for CREATE/ALTER/DROP/
4934
+ # UNDROP SCHEMA queries.
4864
4935
  # Corresponds to the JSON property `ddlTargetDataset`
4865
4936
  # @return [Google::Apis::BigqueryV2::DatasetReference]
4866
4937
  attr_accessor :ddl_target_dataset
@@ -5248,7 +5319,7 @@ module Google
5248
5319
  end
5249
5320
  end
5250
5321
 
5251
- #
5322
+ # Response format for a single page when listing BigQuery ML models.
5252
5323
  class ListModelsResponse
5253
5324
  include Google::Apis::Core::Hashable
5254
5325
 
@@ -5274,7 +5345,7 @@ module Google
5274
5345
  end
5275
5346
  end
5276
5347
 
5277
- #
5348
+ # Describes the format of a single result page when listing routines.
5278
5349
  class ListRoutinesResponse
5279
5350
  include Google::Apis::Core::Hashable
5280
5351
 
@@ -5886,6 +5957,26 @@ module Google
5886
5957
  end
5887
5958
  end
5888
5959
 
5960
+ # Represents privacy policy that contains the privacy requirements specified by
5961
+ # the data owner. Currently, this is only supported on views.
5962
+ class PrivacyPolicy
5963
+ include Google::Apis::Core::Hashable
5964
+
5965
+ # Represents privacy policy associated with "aggregation threshold" method.
5966
+ # Corresponds to the JSON property `aggregationThresholdPolicy`
5967
+ # @return [Google::Apis::BigqueryV2::AggregationThresholdPolicy]
5968
+ attr_accessor :aggregation_threshold_policy
5969
+
5970
+ def initialize(**args)
5971
+ update!(**args)
5972
+ end
5973
+
5974
+ # Update properties of this object
5975
+ def update!(**args)
5976
+ @aggregation_threshold_policy = args[:aggregation_threshold_policy] if args.key?(:aggregation_threshold_policy)
5977
+ end
5978
+ end
5979
+
5889
5980
  #
5890
5981
  class ProjectList
5891
5982
  include Google::Apis::Core::Hashable
@@ -6158,6 +6249,13 @@ module Google
6158
6249
  attr_accessor :dry_run
6159
6250
  alias_method :dry_run?, :dry_run
6160
6251
 
6252
+ # Optional. If not set, jobs are always required. If set, the query request will
6253
+ # follow the behavior described JobCreationMode. This feature is not yet
6254
+ # available. Jobs will always be created.
6255
+ # Corresponds to the JSON property `jobCreationMode`
6256
+ # @return [String]
6257
+ attr_accessor :job_creation_mode
6258
+
6161
6259
  # The resource type of the request.
6162
6260
  # Corresponds to the JSON property `kind`
6163
6261
  # @return [String]
@@ -6280,6 +6378,7 @@ module Google
6280
6378
  @create_session = args[:create_session] if args.key?(:create_session)
6281
6379
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
6282
6380
  @dry_run = args[:dry_run] if args.key?(:dry_run)
6381
+ @job_creation_mode = args[:job_creation_mode] if args.key?(:job_creation_mode)
6283
6382
  @kind = args[:kind] if args.key?(:kind)
6284
6383
  @labels = args[:labels] if args.key?(:labels)
6285
6384
  @location = args[:location] if args.key?(:location)
@@ -6327,6 +6426,16 @@ module Google
6327
6426
  attr_accessor :job_complete
6328
6427
  alias_method :job_complete?, :job_complete
6329
6428
 
6429
+ # Optional. Only relevant when a job_reference is present in the response. If
6430
+ # job_reference is not present it will always be unset. When job_reference is
6431
+ # present, this field should be interpreted as follows: If set, it will provide
6432
+ # the reason of why a Job was created. If not set, it should be treated as the
6433
+ # default: REQUESTED. This feature is not yet available. Jobs will always be
6434
+ # created.
6435
+ # Corresponds to the JSON property `jobCreationReason`
6436
+ # @return [Object]
6437
+ attr_accessor :job_creation_reason
6438
+
6330
6439
  # Reference to the Job that was created to run the query. This field will be
6331
6440
  # present even if the original request timed out, in which case GetQueryResults
6332
6441
  # can be used to read the results once the query has completed. Since this API
@@ -6352,6 +6461,12 @@ module Google
6352
6461
  # @return [String]
6353
6462
  attr_accessor :page_token
6354
6463
 
6464
+ # Query ID for the completed query. This ID will be auto-generated. This field
6465
+ # is not yet available and it is currently not guaranteed to be populated.
6466
+ # Corresponds to the JSON property `queryId`
6467
+ # @return [String]
6468
+ attr_accessor :query_id
6469
+
6355
6470
  # An object with as many results as can be contained within the maximum
6356
6471
  # permitted reply size. To get any additional rows, you can call GetQueryResults
6357
6472
  # and specify the jobReference returned above.
@@ -6391,10 +6506,12 @@ module Google
6391
6506
  @dml_stats = args[:dml_stats] if args.key?(:dml_stats)
6392
6507
  @errors = args[:errors] if args.key?(:errors)
6393
6508
  @job_complete = args[:job_complete] if args.key?(:job_complete)
6509
+ @job_creation_reason = args[:job_creation_reason] if args.key?(:job_creation_reason)
6394
6510
  @job_reference = args[:job_reference] if args.key?(:job_reference)
6395
6511
  @kind = args[:kind] if args.key?(:kind)
6396
6512
  @num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
6397
6513
  @page_token = args[:page_token] if args.key?(:page_token)
6514
+ @query_id = args[:query_id] if args.key?(:query_id)
6398
6515
  @rows = args[:rows] if args.key?(:rows)
6399
6516
  @schema = args[:schema] if args.key?(:schema)
6400
6517
  @session_info = args[:session_info] if args.key?(:session_info)
@@ -6708,8 +6825,10 @@ module Google
6708
6825
  # @return [Fixnum]
6709
6826
  attr_accessor :creation_time
6710
6827
 
6711
- # Optional. Data governance specific option, if the value is DATA_MASKING, the
6712
- # function will be validated as masking functions.
6828
+ # Optional. If set to `DATA_MASKING`, the function is validated and made
6829
+ # available as a masking function. For more information, see [Create custom
6830
+ # masking routines](https://cloud.google.com/bigquery/docs/user-defined-
6831
+ # functions#custom-mask).
6713
6832
  # Corresponds to the JSON property `dataGovernanceType`
6714
6833
  # @return [String]
6715
6834
  attr_accessor :data_governance_type
@@ -6791,6 +6910,12 @@ module Google
6791
6910
  # @return [String]
6792
6911
  attr_accessor :routine_type
6793
6912
 
6913
+ # Optional. The security mode of the routine, if defined. If not defined, the
6914
+ # security mode is automatically determined from the routine's configuration.
6915
+ # Corresponds to the JSON property `securityMode`
6916
+ # @return [String]
6917
+ attr_accessor :security_mode
6918
+
6794
6919
  # Options for a user-defined Spark routine.
6795
6920
  # Corresponds to the JSON property `sparkOptions`
6796
6921
  # @return [Google::Apis::BigqueryV2::SparkOptions]
@@ -6827,6 +6952,7 @@ module Google
6827
6952
  @return_type = args[:return_type] if args.key?(:return_type)
6828
6953
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
6829
6954
  @routine_type = args[:routine_type] if args.key?(:routine_type)
6955
+ @security_mode = args[:security_mode] if args.key?(:security_mode)
6830
6956
  @spark_options = args[:spark_options] if args.key?(:spark_options)
6831
6957
  @strict_mode = args[:strict_mode] if args.key?(:strict_mode)
6832
6958
  end
@@ -7205,12 +7331,12 @@ module Google
7205
7331
  include Google::Apis::Core::Hashable
7206
7332
 
7207
7333
  # [Output-only] Project ID used for logging
7208
- # Corresponds to the JSON property `project_id`
7334
+ # Corresponds to the JSON property `projectId`
7209
7335
  # @return [String]
7210
7336
  attr_accessor :project_id
7211
7337
 
7212
7338
  # [Output-only] Resource type used for logging
7213
- # Corresponds to the JSON property `resource_type`
7339
+ # Corresponds to the JSON property `resourceType`
7214
7340
  # @return [String]
7215
7341
  attr_accessor :resource_type
7216
7342
 
@@ -7382,7 +7508,7 @@ module Google
7382
7508
  # @return [Google::Apis::BigqueryV2::StandardSqlDataType]
7383
7509
  attr_accessor :range_element_type
7384
7510
 
7385
- # The fields of this struct, in order, if type_kind = "STRUCT".
7511
+ # The representation of a SQL STRUCT type.
7386
7512
  # Corresponds to the JSON property `structType`
7387
7513
  # @return [Google::Apis::BigqueryV2::StandardSqlStructType]
7388
7514
  attr_accessor :struct_type
@@ -7436,11 +7562,11 @@ module Google
7436
7562
  end
7437
7563
  end
7438
7564
 
7439
- #
7565
+ # The representation of a SQL STRUCT type.
7440
7566
  class StandardSqlStructType
7441
7567
  include Google::Apis::Core::Hashable
7442
7568
 
7443
- #
7569
+ # Fields within the struct.
7444
7570
  # Corresponds to the JSON property `fields`
7445
7571
  # @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
7446
7572
  attr_accessor :fields
@@ -7739,6 +7865,16 @@ module Google
7739
7865
  attr_accessor :require_partition_filter
7740
7866
  alias_method :require_partition_filter?, :require_partition_filter
7741
7867
 
7868
+ # [Optional] The tags associated with this table. Tag keys are globally unique.
7869
+ # See additional information on [tags](https://cloud.google.com/iam/docs/tags-
7870
+ # access-control#definitions). An object containing a list of "key": value pairs.
7871
+ # The key is the namespaced friendly name of the tag key, e.g. "12345/
7872
+ # environment" where 12345 is parent id. The value is the friendly short name of
7873
+ # the tag value, e.g. "production".
7874
+ # Corresponds to the JSON property `resourceTags`
7875
+ # @return [Hash<String,String>]
7876
+ attr_accessor :resource_tags
7877
+
7742
7878
  # [Optional] Describes the schema of this table.
7743
7879
  # Corresponds to the JSON property `schema`
7744
7880
  # @return [Google::Apis::BigqueryV2::TableSchema]
@@ -7832,6 +7968,7 @@ module Google
7832
7968
  @num_total_physical_bytes = args[:num_total_physical_bytes] if args.key?(:num_total_physical_bytes)
7833
7969
  @range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
7834
7970
  @require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
7971
+ @resource_tags = args[:resource_tags] if args.key?(:resource_tags)
7835
7972
  @schema = args[:schema] if args.key?(:schema)
7836
7973
  @self_link = args[:self_link] if args.key?(:self_link)
7837
7974
  @snapshot_definition = args[:snapshot_definition] if args.key?(:snapshot_definition)
@@ -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.59.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230812"
25
+ REVISION = "20231008"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AggregationThresholdPolicy
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Argument
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -526,6 +532,12 @@ module Google
526
532
  include Google::Apis::Core::JsonObjectSupport
527
533
  end
528
534
 
535
+ class JobCreationReason
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
529
541
  class JobList
530
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
543
 
@@ -682,6 +694,12 @@ module Google
682
694
  include Google::Apis::Core::JsonObjectSupport
683
695
  end
684
696
 
697
+ class PrivacyPolicy
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
685
703
  class ProjectList
686
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
705
 
@@ -1103,12 +1121,21 @@ module Google
1103
1121
  end
1104
1122
  end
1105
1123
 
1124
+ class AggregationThresholdPolicy
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ collection :privacy_unit_columns, as: 'privacyUnitColumns'
1128
+ property :threshold, :numeric_string => true, as: 'threshold'
1129
+ end
1130
+ end
1131
+
1106
1132
  class Argument
1107
1133
  # @private
1108
1134
  class Representation < Google::Apis::Core::JsonRepresentation
1109
1135
  property :argument_kind, as: 'argumentKind'
1110
1136
  property :data_type, as: 'dataType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
1111
1137
 
1138
+ property :is_aggregate, as: 'isAggregate'
1112
1139
  property :mode, as: 'mode'
1113
1140
  property :name, as: 'name'
1114
1141
  end
@@ -1457,7 +1484,7 @@ module Google
1457
1484
  property :allow_quoted_newlines, as: 'allowQuotedNewlines'
1458
1485
  property :encoding, as: 'encoding'
1459
1486
  property :field_delimiter, as: 'fieldDelimiter'
1460
- property :null_marker, as: 'null_marker'
1487
+ property :null_marker, as: 'nullMarker'
1461
1488
  property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
1462
1489
  property :quote, as: 'quote'
1463
1490
  property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
@@ -2006,6 +2033,7 @@ module Google
2006
2033
 
2007
2034
  property :etag, as: 'etag'
2008
2035
  property :id, as: 'id'
2036
+ property :job_creation_reason, as: 'jobCreationReason'
2009
2037
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
2010
2038
 
2011
2039
  property :kind, as: 'kind'
@@ -2172,6 +2200,13 @@ module Google
2172
2200
  end
2173
2201
  end
2174
2202
 
2203
+ class JobCreationReason
2204
+ # @private
2205
+ class Representation < Google::Apis::Core::JsonRepresentation
2206
+ property :code, as: 'code'
2207
+ end
2208
+ end
2209
+
2175
2210
  class JobList
2176
2211
  # @private
2177
2212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2525,6 +2560,14 @@ module Google
2525
2560
  end
2526
2561
  end
2527
2562
 
2563
+ class PrivacyPolicy
2564
+ # @private
2565
+ class Representation < Google::Apis::Core::JsonRepresentation
2566
+ property :aggregation_threshold_policy, as: 'aggregationThresholdPolicy', class: Google::Apis::BigqueryV2::AggregationThresholdPolicy, decorator: Google::Apis::BigqueryV2::AggregationThresholdPolicy::Representation
2567
+
2568
+ end
2569
+ end
2570
+
2528
2571
  class ProjectList
2529
2572
  # @private
2530
2573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2609,6 +2652,7 @@ module Google
2609
2652
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2610
2653
 
2611
2654
  property :dry_run, as: 'dryRun'
2655
+ property :job_creation_mode, as: 'jobCreationMode'
2612
2656
  property :kind, as: 'kind'
2613
2657
  hash :labels, as: 'labels'
2614
2658
  property :location, as: 'location'
@@ -2635,11 +2679,13 @@ module Google
2635
2679
  collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2636
2680
 
2637
2681
  property :job_complete, as: 'jobComplete'
2682
+ property :job_creation_reason, as: 'jobCreationReason'
2638
2683
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
2639
2684
 
2640
2685
  property :kind, as: 'kind'
2641
2686
  property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
2642
2687
  property :page_token, as: 'pageToken'
2688
+ property :query_id, as: 'queryId'
2643
2689
  collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
2644
2690
 
2645
2691
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
@@ -2746,6 +2792,7 @@ module Google
2746
2792
  property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
2747
2793
 
2748
2794
  property :routine_type, as: 'routineType'
2795
+ property :security_mode, as: 'securityMode'
2749
2796
  property :spark_options, as: 'sparkOptions', class: Google::Apis::BigqueryV2::SparkOptions, decorator: Google::Apis::BigqueryV2::SparkOptions::Representation
2750
2797
 
2751
2798
  property :strict_mode, as: 'strictMode'
@@ -2858,8 +2905,8 @@ module Google
2858
2905
  class SparkLoggingInfo
2859
2906
  # @private
2860
2907
  class Representation < Google::Apis::Core::JsonRepresentation
2861
- property :project_id, as: 'project_id'
2862
- property :resource_type, as: 'resource_type'
2908
+ property :project_id, as: 'projectId'
2909
+ property :resource_type, as: 'resourceType'
2863
2910
  end
2864
2911
  end
2865
2912
 
@@ -2989,6 +3036,7 @@ module Google
2989
3036
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
2990
3037
 
2991
3038
  property :require_partition_filter, as: 'requirePartitionFilter'
3039
+ hash :resource_tags, as: 'resourceTags'
2992
3040
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2993
3041
 
2994
3042
  property :self_link, as: 'selfLink'
@@ -99,6 +99,10 @@ module Google
99
99
  # Project ID of the requested dataset
100
100
  # @param [String] dataset_id
101
101
  # Dataset ID of the requested dataset
102
+ # @param [String] dataset_view
103
+ # Specifies the view that determines which dataset information is returned. By
104
+ # default, metadata and ACL information are returned. Allowed values: METADATA,
105
+ # ACL, FULL.
102
106
  # @param [String] fields
103
107
  # Selector specifying which fields to include in a partial response.
104
108
  # @param [String] quota_user
@@ -118,12 +122,13 @@ module Google
118
122
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
123
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
124
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
- def get_dataset(project_id, dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
125
+ def get_dataset(project_id, dataset_id, dataset_view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
122
126
  command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}', options)
123
127
  command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
124
128
  command.response_class = Google::Apis::BigqueryV2::Dataset
125
129
  command.params['projectId'] = project_id unless project_id.nil?
126
130
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
131
+ command.query['datasetView'] = dataset_view unless dataset_view.nil?
127
132
  command.query['fields'] = fields unless fields.nil?
128
133
  command.query['quotaUser'] = quota_user unless quota_user.nil?
129
134
  command.query['userIp'] = user_ip unless user_ip.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.60.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: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2023-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.60.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: []