google-apis-bigquery_v2 0.32.0 → 0.35.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: ab3c52f33111266ab05d15d02e3eec02ee5a78c0c64f390fb07dd9d3ffe9bc62
4
- data.tar.gz: 8a1bece5edcd9241931c84d8753c7e34680af25124e7e88592968c72cbf875c5
3
+ metadata.gz: a8bb1599d306b03b0fa6a30c804fa859c91b6c1c0e8e99f73ed713502ae24362
4
+ data.tar.gz: 5da5c85e5a3b5d7a58a78873fa2fb0d4d83178bcdc2eb19b77f0b6f93e3547a3
5
5
  SHA512:
6
- metadata.gz: 82f6ce7e1d0ef996296ebad6675bab896daa22c4b17efc9889875772e4416501af6ca6a9857c83c2532c07b9b58bee1ef5a80b9e0417a3670232101e8a801464
7
- data.tar.gz: 25808b65e821edc734ccb7571038d748ab73d12e3b207b02f8fe8d07c04263d375448a895845b2813794896b2b2faf47f74adfa09fa7e4eacad7aeecc81e3f3f
6
+ metadata.gz: 0c4a1f8991e91fda2d768879eccdf588a614d2647eeb45cc6300679bed90972e567b4ae532c4dff40659a21a4945d23efc9590350e07f203bced8ad5bc77724e
7
+ data.tar.gz: 91ed0df17a987c2d16bbc4dd6e1a88a7273b89b52fd307874d4a553860825701d9d2dc4866dad361961aeea0dc3e06c9385f917713720c12e28aa7a3181da8e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.35.0 (2022-06-23)
4
+
5
+ * Regenerated from discovery document revision 20220611
6
+ * Regenerated using generator version 0.7.0
7
+
8
+ ### v0.34.0 (2022-06-07)
9
+
10
+ * Regenerated from discovery document revision 20220528
11
+ * Regenerated using generator version 0.5.0
12
+
13
+ ### v0.33.0 (2022-05-13)
14
+
15
+ * Regenerated from discovery document revision 20220507
16
+
3
17
  ### v0.32.0 (2022-05-06)
4
18
 
5
19
  * Regenerated from discovery document revision 20220429
@@ -3250,6 +3250,46 @@ module Google
3250
3250
  end
3251
3251
  end
3252
3252
 
3253
+ #
3254
+ class IndexUnusedReason
3255
+ include Google::Apis::Core::Hashable
3256
+
3257
+ # [Output-only] Specifies the base table involved in the reason that no search
3258
+ # index was used.
3259
+ # Corresponds to the JSON property `base_table`
3260
+ # @return [Google::Apis::BigqueryV2::TableReference]
3261
+ attr_accessor :base_table
3262
+
3263
+ # [Output-only] Specifies the high-level reason for the scenario when no search
3264
+ # index was used.
3265
+ # Corresponds to the JSON property `code`
3266
+ # @return [String]
3267
+ attr_accessor :code
3268
+
3269
+ # [Output-only] Specifies the name of the unused search index, if available.
3270
+ # Corresponds to the JSON property `index_name`
3271
+ # @return [String]
3272
+ attr_accessor :index_name
3273
+
3274
+ # [Output-only] Free form human-readable reason for the scenario when no search
3275
+ # index was used.
3276
+ # Corresponds to the JSON property `message`
3277
+ # @return [String]
3278
+ attr_accessor :message
3279
+
3280
+ def initialize(**args)
3281
+ update!(**args)
3282
+ end
3283
+
3284
+ # Update properties of this object
3285
+ def update!(**args)
3286
+ @base_table = args[:base_table] if args.key?(:base_table)
3287
+ @code = args[:code] if args.key?(:code)
3288
+ @index_name = args[:index_name] if args.key?(:index_name)
3289
+ @message = args[:message] if args.key?(:message)
3290
+ end
3291
+ end
3292
+
3253
3293
  # An array of int.
3254
3294
  class IntArray
3255
3295
  include Google::Apis::Core::Hashable
@@ -4677,6 +4717,11 @@ module Google
4677
4717
  # @return [Google::Apis::BigqueryV2::TableSchema]
4678
4718
  attr_accessor :schema
4679
4719
 
4720
+ # [Output-only] Search query specific statistics.
4721
+ # Corresponds to the JSON property `searchStatistics`
4722
+ # @return [Google::Apis::BigqueryV2::SearchStatistics]
4723
+ attr_accessor :search_statistics
4724
+
4680
4725
  # The type of query statement, if valid. Possible values (new values might be
4681
4726
  # added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
4682
4727
  # https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
@@ -4766,6 +4811,7 @@ module Google
4766
4811
  @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
4767
4812
  @reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
4768
4813
  @schema = args[:schema] if args.key?(:schema)
4814
+ @search_statistics = args[:search_statistics] if args.key?(:search_statistics)
4769
4815
  @statement_type = args[:statement_type] if args.key?(:statement_type)
4770
4816
  @timeline = args[:timeline] if args.key?(:timeline)
4771
4817
  @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
@@ -6083,6 +6129,13 @@ module Google
6083
6129
  # @return [Fixnum]
6084
6130
  attr_accessor :elapsed_ms
6085
6131
 
6132
+ # Units of work that can be scheduled immediately. Providing additional slots
6133
+ # for these units of work will speed up the query, provided no other query in
6134
+ # the reservation needs additional slots.
6135
+ # Corresponds to the JSON property `estimatedRunnableUnits`
6136
+ # @return [Fixnum]
6137
+ attr_accessor :estimated_runnable_units
6138
+
6086
6139
  # Total parallel units of work remaining for the active stages.
6087
6140
  # Corresponds to the JSON property `pendingUnits`
6088
6141
  # @return [Fixnum]
@@ -6102,6 +6155,7 @@ module Google
6102
6155
  @active_units = args[:active_units] if args.key?(:active_units)
6103
6156
  @completed_units = args[:completed_units] if args.key?(:completed_units)
6104
6157
  @elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms)
6158
+ @estimated_runnable_units = args[:estimated_runnable_units] if args.key?(:estimated_runnable_units)
6105
6159
  @pending_units = args[:pending_units] if args.key?(:pending_units)
6106
6160
  @total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
6107
6161
  end
@@ -6665,6 +6719,33 @@ module Google
6665
6719
  end
6666
6720
  end
6667
6721
 
6722
+ #
6723
+ class SearchStatistics
6724
+ include Google::Apis::Core::Hashable
6725
+
6726
+ # When index_usage_mode is UNUSED or PARTIALLY_USED, this field explains why
6727
+ # index was not used in all or part of the search query. If index_usage_mode is
6728
+ # FULLLY_USED, this field is not populated.
6729
+ # Corresponds to the JSON property `indexUnusedReason`
6730
+ # @return [Array<Google::Apis::BigqueryV2::IndexUnusedReason>]
6731
+ attr_accessor :index_unused_reason
6732
+
6733
+ # Specifies index usage mode for the query.
6734
+ # Corresponds to the JSON property `indexUsageMode`
6735
+ # @return [String]
6736
+ attr_accessor :index_usage_mode
6737
+
6738
+ def initialize(**args)
6739
+ update!(**args)
6740
+ end
6741
+
6742
+ # Update properties of this object
6743
+ def update!(**args)
6744
+ @index_unused_reason = args[:index_unused_reason] if args.key?(:index_unused_reason)
6745
+ @index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
6746
+ end
6747
+ end
6748
+
6668
6749
  #
6669
6750
  class SessionInfo
6670
6751
  include Google::Apis::Core::Hashable
@@ -7028,6 +7109,13 @@ module Google
7028
7109
  # @return [Google::Apis::BigqueryV2::MaterializedViewDefinition]
7029
7110
  attr_accessor :materialized_view
7030
7111
 
7112
+ # [Optional] Max staleness of data that could be returned when table or
7113
+ # materialized view is queried (formatted as Google SQL Interval type).
7114
+ # Corresponds to the JSON property `maxStaleness`
7115
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
7116
+ # @return [String]
7117
+ attr_accessor :max_staleness
7118
+
7031
7119
  # [Output-only, Beta] Present iff this table represents a ML model. Describes
7032
7120
  # the training information for the model, and it is required to run 'PREDICT'
7033
7121
  # queries.
@@ -7191,6 +7279,7 @@ module Google
7191
7279
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
7192
7280
  @location = args[:location] if args.key?(:location)
7193
7281
  @materialized_view = args[:materialized_view] if args.key?(:materialized_view)
7282
+ @max_staleness = args[:max_staleness] if args.key?(:max_staleness)
7194
7283
  @model = args[:model] if args.key?(:model)
7195
7284
  @num_bytes = args[:num_bytes] if args.key?(:num_bytes)
7196
7285
  @num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
@@ -8109,6 +8198,12 @@ module Google
8109
8198
  # @return [Fixnum]
8110
8199
  attr_accessor :max_parallel_trials
8111
8200
 
8201
+ # Get truncated length by last n points in time series. Use separately from
8202
+ # time_series_length_fraction and min_time_series_length.
8203
+ # Corresponds to the JSON property `maxTimeSeriesLength`
8204
+ # @return [Fixnum]
8205
+ attr_accessor :max_time_series_length
8206
+
8112
8207
  # Maximum depth of a tree for boosted tree models.
8113
8208
  # Corresponds to the JSON property `maxTreeDepth`
8114
8209
  # @return [Fixnum]
@@ -8125,6 +8220,12 @@ module Google
8125
8220
  # @return [Float]
8126
8221
  attr_accessor :min_split_loss
8127
8222
 
8223
+ # Set fast trend ARIMA_PLUS model minimum training length. Use in pair with
8224
+ # time_series_length_fraction.
8225
+ # Corresponds to the JSON property `minTimeSeriesLength`
8226
+ # @return [Fixnum]
8227
+ attr_accessor :min_time_series_length
8228
+
8128
8229
  # Minimum sum of instance weight needed in a child for boosted tree models.
8129
8230
  # Corresponds to the JSON property `minTreeChildWeight`
8130
8231
  # @return [Fixnum]
@@ -8201,6 +8302,11 @@ module Google
8201
8302
  # @return [Array<String>]
8202
8303
  attr_accessor :time_series_id_columns
8203
8304
 
8305
+ # Get truncated length by fraction in time series.
8306
+ # Corresponds to the JSON property `timeSeriesLengthFraction`
8307
+ # @return [Float]
8308
+ attr_accessor :time_series_length_fraction
8309
+
8204
8310
  # Column to be designated as time series timestamp for ARIMA model.
8205
8311
  # Corresponds to the JSON property `timeSeriesTimestampColumn`
8206
8312
  # @return [String]
@@ -8211,6 +8317,11 @@ module Google
8211
8317
  # @return [String]
8212
8318
  attr_accessor :tree_method
8213
8319
 
8320
+ # The smoothing window size for the trend component of the time series.
8321
+ # Corresponds to the JSON property `trendSmoothingWindowSize`
8322
+ # @return [Fixnum]
8323
+ attr_accessor :trend_smoothing_window_size
8324
+
8214
8325
  # User column specified for matrix factorization models.
8215
8326
  # Corresponds to the JSON property `userColumn`
8216
8327
  # @return [String]
@@ -8273,9 +8384,11 @@ module Google
8273
8384
  @loss_type = args[:loss_type] if args.key?(:loss_type)
8274
8385
  @max_iterations = args[:max_iterations] if args.key?(:max_iterations)
8275
8386
  @max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
8387
+ @max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length)
8276
8388
  @max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
8277
8389
  @min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
8278
8390
  @min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
8391
+ @min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
8279
8392
  @min_tree_child_weight = args[:min_tree_child_weight] if args.key?(:min_tree_child_weight)
8280
8393
  @model_uri = args[:model_uri] if args.key?(:model_uri)
8281
8394
  @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order)
@@ -8290,8 +8403,10 @@ module Google
8290
8403
  @time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
8291
8404
  @time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
8292
8405
  @time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
8406
+ @time_series_length_fraction = args[:time_series_length_fraction] if args.key?(:time_series_length_fraction)
8293
8407
  @time_series_timestamp_column = args[:time_series_timestamp_column] if args.key?(:time_series_timestamp_column)
8294
8408
  @tree_method = args[:tree_method] if args.key?(:tree_method)
8409
+ @trend_smoothing_window_size = args[:trend_smoothing_window_size] if args.key?(:trend_smoothing_window_size)
8295
8410
  @user_column = args[:user_column] if args.key?(:user_column)
8296
8411
  @wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
8297
8412
  @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.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220429"
25
+ REVISION = "20220611"
26
26
  end
27
27
  end
28
28
  end
@@ -424,6 +424,12 @@ module Google
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
+ class IndexUnusedReason
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
427
433
  class IntArray
428
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
435
 
@@ -790,6 +796,12 @@ module Google
790
796
  include Google::Apis::Core::JsonObjectSupport
791
797
  end
792
798
 
799
+ class SearchStatistics
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
793
805
  class SessionInfo
794
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
807
 
@@ -1797,6 +1809,17 @@ module Google
1797
1809
  end
1798
1810
  end
1799
1811
 
1812
+ class IndexUnusedReason
1813
+ # @private
1814
+ class Representation < Google::Apis::Core::JsonRepresentation
1815
+ property :base_table, as: 'base_table', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1816
+
1817
+ property :code, as: 'code'
1818
+ property :index_name, as: 'index_name'
1819
+ property :message, as: 'message'
1820
+ end
1821
+ end
1822
+
1800
1823
  class IntArray
1801
1824
  # @private
1802
1825
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2136,6 +2159,8 @@ module Google
2136
2159
 
2137
2160
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2138
2161
 
2162
+ property :search_statistics, as: 'searchStatistics', class: Google::Apis::BigqueryV2::SearchStatistics, decorator: Google::Apis::BigqueryV2::SearchStatistics::Representation
2163
+
2139
2164
  property :statement_type, as: 'statementType'
2140
2165
  collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
2141
2166
 
@@ -2480,6 +2505,7 @@ module Google
2480
2505
  property :active_units, :numeric_string => true, as: 'activeUnits'
2481
2506
  property :completed_units, :numeric_string => true, as: 'completedUnits'
2482
2507
  property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
2508
+ property :estimated_runnable_units, :numeric_string => true, as: 'estimatedRunnableUnits'
2483
2509
  property :pending_units, :numeric_string => true, as: 'pendingUnits'
2484
2510
  property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
2485
2511
  end
@@ -2628,6 +2654,15 @@ module Google
2628
2654
  end
2629
2655
  end
2630
2656
 
2657
+ class SearchStatistics
2658
+ # @private
2659
+ class Representation < Google::Apis::Core::JsonRepresentation
2660
+ collection :index_unused_reason, as: 'indexUnusedReason', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
2661
+
2662
+ property :index_usage_mode, as: 'indexUsageMode'
2663
+ end
2664
+ end
2665
+
2631
2666
  class SessionInfo
2632
2667
  # @private
2633
2668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2730,6 +2765,7 @@ module Google
2730
2765
  property :location, as: 'location'
2731
2766
  property :materialized_view, as: 'materializedView', class: Google::Apis::BigqueryV2::MaterializedViewDefinition, decorator: Google::Apis::BigqueryV2::MaterializedViewDefinition::Representation
2732
2767
 
2768
+ property :max_staleness, :base64 => true, as: 'maxStaleness'
2733
2769
  property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
2734
2770
 
2735
2771
  property :num_bytes, :numeric_string => true, as: 'numBytes'
@@ -2990,9 +3026,11 @@ module Google
2990
3026
  property :loss_type, as: 'lossType'
2991
3027
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
2992
3028
  property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials'
3029
+ property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength'
2993
3030
  property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
2994
3031
  property :min_relative_progress, as: 'minRelativeProgress'
2995
3032
  property :min_split_loss, as: 'minSplitLoss'
3033
+ property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
2996
3034
  property :min_tree_child_weight, :numeric_string => true, as: 'minTreeChildWeight'
2997
3035
  property :model_uri, as: 'modelUri'
2998
3036
  property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
@@ -3008,8 +3046,10 @@ module Google
3008
3046
  property :time_series_data_column, as: 'timeSeriesDataColumn'
3009
3047
  property :time_series_id_column, as: 'timeSeriesIdColumn'
3010
3048
  collection :time_series_id_columns, as: 'timeSeriesIdColumns'
3049
+ property :time_series_length_fraction, as: 'timeSeriesLengthFraction'
3011
3050
  property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
3012
3051
  property :tree_method, as: 'treeMethod'
3052
+ property :trend_smoothing_window_size, :numeric_string => true, as: 'trendSmoothingWindowSize'
3013
3053
  property :user_column, as: 'userColumn'
3014
3054
  property :wals_alpha, as: 'walsAlpha'
3015
3055
  property :warm_start, as: 'warmStart'
@@ -1076,8 +1076,9 @@ module Google
1076
1076
  # Gets the access control policy for a resource. Returns an empty policy if the
1077
1077
  # resource exists and does not have a policy set.
1078
1078
  # @param [String] resource
1079
- # REQUIRED: The resource for which the policy is being requested. See the
1080
- # operation documentation for the appropriate value for this field.
1079
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1080
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1081
+ # appropriate value for this field.
1081
1082
  # @param [Google::Apis::BigqueryV2::GetIamPolicyRequest] get_iam_policy_request_object
1082
1083
  # @param [String] fields
1083
1084
  # Selector specifying which fields to include in a partial response.
@@ -1161,8 +1162,9 @@ module Google
1161
1162
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1162
1163
  # PERMISSION_DENIED` errors.
1163
1164
  # @param [String] resource
1164
- # REQUIRED: The resource for which the policy is being specified. See the
1165
- # operation documentation for the appropriate value for this field.
1165
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1166
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1167
+ # appropriate value for this field.
1166
1168
  # @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
1167
1169
  # @param [String] fields
1168
1170
  # Selector specifying which fields to include in a partial response.
@@ -1202,8 +1204,9 @@ module Google
1202
1204
  # permission-aware UIs and command-line tools, not for authorization checking.
1203
1205
  # This operation may "fail open" without warning.
1204
1206
  # @param [String] resource
1205
- # REQUIRED: The resource for which the policy detail is being requested. See the
1206
- # operation documentation for the appropriate value for this field.
1207
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1208
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1209
+ # appropriate value for this field.
1207
1210
  # @param [Google::Apis::BigqueryV2::TestIamPermissionsRequest] test_iam_permissions_request_object
1208
1211
  # @param [String] fields
1209
1212
  # Selector specifying which fields to include in a partial response.
@@ -1383,6 +1386,10 @@ module Google
1383
1386
  # @param [String] selected_fields
1384
1387
  # List of fields to return (comma-separated). If unspecified, all fields are
1385
1388
  # returned
1389
+ # @param [String] view
1390
+ # Specifies the view that determines which table information is returned. By
1391
+ # default, basic table information and storage statistics (STORAGE_STATS) are
1392
+ # returned.
1386
1393
  # @param [String] fields
1387
1394
  # Selector specifying which fields to include in a partial response.
1388
1395
  # @param [String] quota_user
@@ -1402,7 +1409,7 @@ module Google
1402
1409
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1403
1410
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1404
1411
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1405
- def get_table(project_id, dataset_id, table_id, selected_fields: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1412
+ def get_table(project_id, dataset_id, table_id, selected_fields: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1406
1413
  command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
1407
1414
  command.response_representation = Google::Apis::BigqueryV2::Table::Representation
1408
1415
  command.response_class = Google::Apis::BigqueryV2::Table
@@ -1410,6 +1417,7 @@ module Google
1410
1417
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
1411
1418
  command.params['tableId'] = table_id unless table_id.nil?
1412
1419
  command.query['selectedFields'] = selected_fields unless selected_fields.nil?
1420
+ command.query['view'] = view unless view.nil?
1413
1421
  command.query['fields'] = fields unless fields.nil?
1414
1422
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1415
1423
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1419,8 +1427,9 @@ module Google
1419
1427
  # Gets the access control policy for a resource. Returns an empty policy if the
1420
1428
  # resource exists and does not have a policy set.
1421
1429
  # @param [String] resource
1422
- # REQUIRED: The resource for which the policy is being requested. See the
1423
- # operation documentation for the appropriate value for this field.
1430
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1431
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1432
+ # appropriate value for this field.
1424
1433
  # @param [Google::Apis::BigqueryV2::GetIamPolicyRequest] get_iam_policy_request_object
1425
1434
  # @param [String] fields
1426
1435
  # Selector specifying which fields to include in a partial response.
@@ -1586,8 +1595,9 @@ module Google
1586
1595
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1587
1596
  # PERMISSION_DENIED` errors.
1588
1597
  # @param [String] resource
1589
- # REQUIRED: The resource for which the policy is being specified. See the
1590
- # operation documentation for the appropriate value for this field.
1598
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1599
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1600
+ # appropriate value for this field.
1591
1601
  # @param [Google::Apis::BigqueryV2::SetIamPolicyRequest] set_iam_policy_request_object
1592
1602
  # @param [String] fields
1593
1603
  # Selector specifying which fields to include in a partial response.
@@ -1627,8 +1637,9 @@ module Google
1627
1637
  # permission-aware UIs and command-line tools, not for authorization checking.
1628
1638
  # This operation may "fail open" without warning.
1629
1639
  # @param [String] resource
1630
- # REQUIRED: The resource for which the policy detail is being requested. See the
1631
- # operation documentation for the appropriate value for this field.
1640
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1641
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1642
+ # appropriate value for this field.
1632
1643
  # @param [Google::Apis::BigqueryV2::TestIamPermissionsRequest] test_iam_permissions_request_object
1633
1644
  # @param [String] fields
1634
1645
  # Selector specifying which fields to include in a partial response.
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.32.0
4
+ version: 0.35.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.4'
19
+ version: '0.6'
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.4'
29
+ version: '0.6'
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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.35.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for BigQuery API V2