google-apis-bigquery_v2 0.103.0 → 0.105.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43f1e18ce4d42fa6ca3effbdb9bd21c47cad03e15ec5df18877dee9371a07e88
|
|
4
|
+
data.tar.gz: c32572cca028d587a1e82400097ca3b8f453cf11d6a85ba20abbcfa257f89033
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e24822961d7c849fa5ef8337bf9d79ab0d224b280a72e5dae6fc203a7cf64f539e13d8515ffdffcb15eef95f2f45b2daa14e41e68d7662ad3e508fec19dcbc79
|
|
7
|
+
data.tar.gz: 4ce2003196cf90e6873e953d66ec12a1b0f910b5d4abaddecd8e92a308cb524cc90347bc3d41a662faeee7fd01343d02957ee1bde1f25746e68ac96f39446f3f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
|
2
2
|
|
|
3
|
+
### v0.105.0 (2026-07-12)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260620
|
|
6
|
+
|
|
7
|
+
### v0.104.0 (2026-06-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260605
|
|
10
|
+
|
|
3
11
|
### v0.103.0 (2026-06-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated using generator version 0.19.0
|
|
@@ -508,6 +508,77 @@ module Google
|
|
|
508
508
|
end
|
|
509
509
|
end
|
|
510
510
|
|
|
511
|
+
# Arrow RecordBatch. This feature is not yet available.
|
|
512
|
+
class ArrowRecordBatch
|
|
513
|
+
include Google::Apis::Core::Hashable
|
|
514
|
+
|
|
515
|
+
# IPC-serialized Arrow RecordBatch.
|
|
516
|
+
# Corresponds to the JSON property `serializedRecordBatch`
|
|
517
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
518
|
+
# @return [String]
|
|
519
|
+
attr_accessor :serialized_record_batch
|
|
520
|
+
|
|
521
|
+
def initialize(**args)
|
|
522
|
+
update!(**args)
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
# Update properties of this object
|
|
526
|
+
def update!(**args)
|
|
527
|
+
@serialized_record_batch = args[:serialized_record_batch] if args.key?(:serialized_record_batch)
|
|
528
|
+
end
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
# Arrow schema as specified in https://arrow.apache.org/docs/python/api/
|
|
532
|
+
# datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/
|
|
533
|
+
# docs/format/Columnar.html#serialization-and-interprocess-communication-ipc See
|
|
534
|
+
# code samples on how this message can be deserialized. This feature is not yet
|
|
535
|
+
# available.
|
|
536
|
+
class ArrowSchema
|
|
537
|
+
include Google::Apis::Core::Hashable
|
|
538
|
+
|
|
539
|
+
# IPC serialized Arrow schema.
|
|
540
|
+
# Corresponds to the JSON property `serializedSchema`
|
|
541
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
542
|
+
# @return [String]
|
|
543
|
+
attr_accessor :serialized_schema
|
|
544
|
+
|
|
545
|
+
def initialize(**args)
|
|
546
|
+
update!(**args)
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
# Update properties of this object
|
|
550
|
+
def update!(**args)
|
|
551
|
+
@serialized_schema = args[:serialized_schema] if args.key?(:serialized_schema)
|
|
552
|
+
end
|
|
553
|
+
end
|
|
554
|
+
|
|
555
|
+
# Contains options specific to Arrow Serialization. This feature is not yet
|
|
556
|
+
# available.
|
|
557
|
+
class ArrowSerializationOptions
|
|
558
|
+
include Google::Apis::Core::Hashable
|
|
559
|
+
|
|
560
|
+
# The compression codec to use for Arrow buffers in serialized record batches.
|
|
561
|
+
# Corresponds to the JSON property `bufferCompression`
|
|
562
|
+
# @return [String]
|
|
563
|
+
attr_accessor :buffer_compression
|
|
564
|
+
|
|
565
|
+
# Optional. Set timestamp precision option. If not set, the default precision is
|
|
566
|
+
# microseconds.
|
|
567
|
+
# Corresponds to the JSON property `picosTimestampPrecision`
|
|
568
|
+
# @return [String]
|
|
569
|
+
attr_accessor :picos_timestamp_precision
|
|
570
|
+
|
|
571
|
+
def initialize(**args)
|
|
572
|
+
update!(**args)
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
# Update properties of this object
|
|
576
|
+
def update!(**args)
|
|
577
|
+
@buffer_compression = args[:buffer_compression] if args.key?(:buffer_compression)
|
|
578
|
+
@picos_timestamp_precision = args[:picos_timestamp_precision] if args.key?(:picos_timestamp_precision)
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
|
|
511
582
|
# Specifies the audit configuration for a service. The configuration determines
|
|
512
583
|
# which permission types are logged, and what identities, if any, are exempted
|
|
513
584
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
@@ -3473,14 +3544,15 @@ module Google
|
|
|
3473
3544
|
|
|
3474
3545
|
# Precisions (maximum number of total digits in base 10) for seconds of
|
|
3475
3546
|
# TIMESTAMP types that are allowed to the destination table for autodetection
|
|
3476
|
-
# mode. Available for the formats: CSV, PARQUET, and
|
|
3477
|
-
# include: Not Specified, [], or [6]: timestamp(6) for
|
|
3478
|
-
# TIMESTAMP columns [6, 12]: timestamp(6) for all auto
|
|
3479
|
-
# columns that have less than 6 digits of subseconds.
|
|
3480
|
-
# detected TIMESTAMP columns that have more than 6
|
|
3481
|
-
# timestamp(12) for all auto detected TIMESTAMP
|
|
3482
|
-
# elements in this array is ignored. Inputs that have
|
|
3483
|
-
# highest target precision in this array will be
|
|
3547
|
+
# mode. Available for the formats: CSV, PARQUET, AVRO, and Iceberg External
|
|
3548
|
+
# Table. Possible values include: Not Specified, [], or [6]: timestamp(6) for
|
|
3549
|
+
# all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto
|
|
3550
|
+
# detected TIMESTAMP columns that have less than 6 digits of subseconds.
|
|
3551
|
+
# timestamp(12) for all auto detected TIMESTAMP columns that have more than 6
|
|
3552
|
+
# digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP
|
|
3553
|
+
# columns. The order of the elements in this array is ignored. Inputs that have
|
|
3554
|
+
# higher precision than the highest target precision in this array will be
|
|
3555
|
+
# truncated.
|
|
3484
3556
|
# Corresponds to the JSON property `timestampTargetPrecision`
|
|
3485
3557
|
# @return [Array<Fixnum>]
|
|
3486
3558
|
attr_accessor :timestamp_target_precision
|
|
@@ -3568,8 +3640,11 @@ module Google
|
|
|
3568
3640
|
# @return [String]
|
|
3569
3641
|
attr_accessor :container_memory
|
|
3570
3642
|
|
|
3571
|
-
# Optional. Maximum number of requests that a
|
|
3572
|
-
# concurrently. If absent or if `0`,
|
|
3643
|
+
# Optional. Maximum number of requests that a Python UDF instance can handle
|
|
3644
|
+
# concurrently. If absent or if `0`, the default concurrency value is used. For
|
|
3645
|
+
# more information, see [Configure container limits for Python UDFs](https://
|
|
3646
|
+
# cloud.google.com/bigquery/docs/user-defined-functions-python#configure-
|
|
3647
|
+
# container-limits).
|
|
3573
3648
|
# Corresponds to the JSON property `containerRequestConcurrency`
|
|
3574
3649
|
# @return [Fixnum]
|
|
3575
3650
|
attr_accessor :container_request_concurrency
|
|
@@ -3946,7 +4021,7 @@ module Google
|
|
|
3946
4021
|
attr_accessor :asynchronous
|
|
3947
4022
|
alias_method :asynchronous?, :asynchronous
|
|
3948
4023
|
|
|
3949
|
-
# Optional. The generation expression (e.g. AI.EMBED(...)) used to
|
|
4024
|
+
# Optional. The generation expression (e.g. AI.EMBED(...)) used to generate the
|
|
3950
4025
|
# field.
|
|
3951
4026
|
# Corresponds to the JSON property `generationExpression`
|
|
3952
4027
|
# @return [String]
|
|
@@ -5523,14 +5598,15 @@ module Google
|
|
|
5523
5598
|
|
|
5524
5599
|
# Precisions (maximum number of total digits in base 10) for seconds of
|
|
5525
5600
|
# TIMESTAMP types that are allowed to the destination table for autodetection
|
|
5526
|
-
# mode. Available for the formats: CSV, PARQUET, and
|
|
5527
|
-
# include: Not Specified, [], or [6]: timestamp(6) for
|
|
5528
|
-
# TIMESTAMP columns [6, 12]: timestamp(6) for all auto
|
|
5529
|
-
# columns that have less than 6 digits of subseconds.
|
|
5530
|
-
# detected TIMESTAMP columns that have more than 6
|
|
5531
|
-
# timestamp(12) for all auto detected TIMESTAMP
|
|
5532
|
-
# elements in this array is ignored. Inputs that have
|
|
5533
|
-
# highest target precision in this array will be
|
|
5601
|
+
# mode. Available for the formats: CSV, PARQUET, AVRO, and Iceberg External
|
|
5602
|
+
# Table. Possible values include: Not Specified, [], or [6]: timestamp(6) for
|
|
5603
|
+
# all auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto
|
|
5604
|
+
# detected TIMESTAMP columns that have less than 6 digits of subseconds.
|
|
5605
|
+
# timestamp(12) for all auto detected TIMESTAMP columns that have more than 6
|
|
5606
|
+
# digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP
|
|
5607
|
+
# columns. The order of the elements in this array is ignored. Inputs that have
|
|
5608
|
+
# higher precision than the highest target precision in this array will be
|
|
5609
|
+
# truncated.
|
|
5534
5610
|
# Corresponds to the JSON property `timestampTargetPrecision`
|
|
5535
5611
|
# @return [Array<Fixnum>]
|
|
5536
5612
|
attr_accessor :timestamp_target_precision
|
|
@@ -6661,8 +6737,11 @@ module Google
|
|
|
6661
6737
|
# @return [Fixnum]
|
|
6662
6738
|
attr_accessor :total_slot_ms
|
|
6663
6739
|
|
|
6664
|
-
# Output only. Total bytes transferred for
|
|
6665
|
-
# Cloud
|
|
6740
|
+
# Output only. Total bytes transferred for BigQuery Omni queries from the remote
|
|
6741
|
+
# cloud back to Google Cloud. This tracks data movement over Google-managed
|
|
6742
|
+
# connections (like query results). It doesn't include input data read from the
|
|
6743
|
+
# external data lake (for example, S3) because that data stays within the remote
|
|
6744
|
+
# cloud.
|
|
6666
6745
|
# Corresponds to the JSON property `transferredBytes`
|
|
6667
6746
|
# @return [Fixnum]
|
|
6668
6747
|
attr_accessor :transferred_bytes
|
|
@@ -8389,6 +8468,12 @@ module Google
|
|
|
8389
8468
|
class QueryRequest
|
|
8390
8469
|
include Google::Apis::Core::Hashable
|
|
8391
8470
|
|
|
8471
|
+
# Contains options specific to Arrow Serialization. This feature is not yet
|
|
8472
|
+
# available.
|
|
8473
|
+
# Corresponds to the JSON property `arrowSerializationOptions`
|
|
8474
|
+
# @return [Google::Apis::BigqueryV2::ArrowSerializationOptions]
|
|
8475
|
+
attr_accessor :arrow_serialization_options
|
|
8476
|
+
|
|
8392
8477
|
# Optional. Connection properties which can modify the query behavior.
|
|
8393
8478
|
# Corresponds to the JSON property `connectionProperties`
|
|
8394
8479
|
# @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
|
|
@@ -8521,6 +8606,17 @@ module Google
|
|
|
8521
8606
|
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
|
8522
8607
|
attr_accessor :query_parameters
|
|
8523
8608
|
|
|
8609
|
+
# Optional. The query results format. If the value is anything other than `
|
|
8610
|
+
# STRUCT_ENCODING` or unspecified: * The schema of the results will be provided
|
|
8611
|
+
# in `QueryResponse.results_schema` field. * The results of the first page will
|
|
8612
|
+
# be provided in `QueryResponse.results` field. * The `QueryResponse.rows` will
|
|
8613
|
+
# not be populated. * The `QueryResponse.schema` for `QueryResponse.rows` will
|
|
8614
|
+
# also not be populated since it is the schema of the `QueryResponse.rows`. This
|
|
8615
|
+
# feature is not yet available.
|
|
8616
|
+
# Corresponds to the JSON property `queryResultsFormat`
|
|
8617
|
+
# @return [String]
|
|
8618
|
+
attr_accessor :query_results_format
|
|
8619
|
+
|
|
8524
8620
|
# Optional. A unique user provided identifier to ensure idempotent behavior for
|
|
8525
8621
|
# queries. Note that this is different from the job_id. It has the following
|
|
8526
8622
|
# properties: 1. It is case-sensitive, limited to up to 36 ASCII characters. A
|
|
@@ -8598,6 +8694,7 @@ module Google
|
|
|
8598
8694
|
|
|
8599
8695
|
# Update properties of this object
|
|
8600
8696
|
def update!(**args)
|
|
8697
|
+
@arrow_serialization_options = args[:arrow_serialization_options] if args.key?(:arrow_serialization_options)
|
|
8601
8698
|
@connection_properties = args[:connection_properties] if args.key?(:connection_properties)
|
|
8602
8699
|
@continuous = args[:continuous] if args.key?(:continuous)
|
|
8603
8700
|
@create_session = args[:create_session] if args.key?(:create_session)
|
|
@@ -8617,6 +8714,7 @@ module Google
|
|
|
8617
8714
|
@preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
|
|
8618
8715
|
@query = args[:query] if args.key?(:query)
|
|
8619
8716
|
@query_parameters = args[:query_parameters] if args.key?(:query_parameters)
|
|
8717
|
+
@query_results_format = args[:query_results_format] if args.key?(:query_results_format)
|
|
8620
8718
|
@request_id = args[:request_id] if args.key?(:request_id)
|
|
8621
8719
|
@reservation = args[:reservation] if args.key?(:reservation)
|
|
8622
8720
|
@timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
|
|
@@ -8630,6 +8728,20 @@ module Google
|
|
|
8630
8728
|
class QueryResponse
|
|
8631
8729
|
include Google::Apis::Core::Hashable
|
|
8632
8730
|
|
|
8731
|
+
# Arrow RecordBatch. This feature is not yet available.
|
|
8732
|
+
# Corresponds to the JSON property `arrowRecordBatch`
|
|
8733
|
+
# @return [Google::Apis::BigqueryV2::ArrowRecordBatch]
|
|
8734
|
+
attr_accessor :arrow_record_batch
|
|
8735
|
+
|
|
8736
|
+
# Arrow schema as specified in https://arrow.apache.org/docs/python/api/
|
|
8737
|
+
# datatypes.html and serialized to bytes using IPC: https://arrow.apache.org/
|
|
8738
|
+
# docs/format/Columnar.html#serialization-and-interprocess-communication-ipc See
|
|
8739
|
+
# code samples on how this message can be deserialized. This feature is not yet
|
|
8740
|
+
# available.
|
|
8741
|
+
# Corresponds to the JSON property `arrowSchema`
|
|
8742
|
+
# @return [Google::Apis::BigqueryV2::ArrowSchema]
|
|
8743
|
+
attr_accessor :arrow_schema
|
|
8744
|
+
|
|
8633
8745
|
# Whether the query result was fetched from the query cache.
|
|
8634
8746
|
# Corresponds to the JSON property `cacheHit`
|
|
8635
8747
|
# @return [Boolean]
|
|
@@ -8700,6 +8812,12 @@ module Google
|
|
|
8700
8812
|
# @return [Fixnum]
|
|
8701
8813
|
attr_accessor :num_dml_affected_rows
|
|
8702
8814
|
|
|
8815
|
+
# Output only. The number of rows out of `total_rows` returned in this response.
|
|
8816
|
+
# This feature is not yet available.
|
|
8817
|
+
# Corresponds to the JSON property `pageRowCount`
|
|
8818
|
+
# @return [Fixnum]
|
|
8819
|
+
attr_accessor :page_row_count
|
|
8820
|
+
|
|
8703
8821
|
# A token used for paging results. A non-empty token indicates that additional
|
|
8704
8822
|
# results are available. To see additional results, query the [`jobs.
|
|
8705
8823
|
# getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/
|
|
@@ -8769,6 +8887,8 @@ module Google
|
|
|
8769
8887
|
|
|
8770
8888
|
# Update properties of this object
|
|
8771
8889
|
def update!(**args)
|
|
8890
|
+
@arrow_record_batch = args[:arrow_record_batch] if args.key?(:arrow_record_batch)
|
|
8891
|
+
@arrow_schema = args[:arrow_schema] if args.key?(:arrow_schema)
|
|
8772
8892
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
|
8773
8893
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
8774
8894
|
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
|
@@ -8780,6 +8900,7 @@ module Google
|
|
|
8780
8900
|
@kind = args[:kind] if args.key?(:kind)
|
|
8781
8901
|
@location = args[:location] if args.key?(:location)
|
|
8782
8902
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
|
8903
|
+
@page_row_count = args[:page_row_count] if args.key?(:page_row_count)
|
|
8783
8904
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
8784
8905
|
@query_id = args[:query_id] if args.key?(:query_id)
|
|
8785
8906
|
@rows = args[:rows] if args.key?(:rows)
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.105.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260620"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -82,6 +82,24 @@ module Google
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
+
class ArrowRecordBatch
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class ArrowSchema
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class ArrowSerializationOptions
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
85
103
|
class AuditConfig
|
|
86
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
105
|
|
|
@@ -1594,6 +1612,28 @@ module Google
|
|
|
1594
1612
|
end
|
|
1595
1613
|
end
|
|
1596
1614
|
|
|
1615
|
+
class ArrowRecordBatch
|
|
1616
|
+
# @private
|
|
1617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1618
|
+
property :serialized_record_batch, :base64 => true, as: 'serializedRecordBatch'
|
|
1619
|
+
end
|
|
1620
|
+
end
|
|
1621
|
+
|
|
1622
|
+
class ArrowSchema
|
|
1623
|
+
# @private
|
|
1624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1625
|
+
property :serialized_schema, :base64 => true, as: 'serializedSchema'
|
|
1626
|
+
end
|
|
1627
|
+
end
|
|
1628
|
+
|
|
1629
|
+
class ArrowSerializationOptions
|
|
1630
|
+
# @private
|
|
1631
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1632
|
+
property :buffer_compression, as: 'bufferCompression'
|
|
1633
|
+
property :picos_timestamp_precision, as: 'picosTimestampPrecision'
|
|
1634
|
+
end
|
|
1635
|
+
end
|
|
1636
|
+
|
|
1597
1637
|
class AuditConfig
|
|
1598
1638
|
# @private
|
|
1599
1639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3513,6 +3553,8 @@ module Google
|
|
|
3513
3553
|
class QueryRequest
|
|
3514
3554
|
# @private
|
|
3515
3555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3556
|
+
property :arrow_serialization_options, as: 'arrowSerializationOptions', class: Google::Apis::BigqueryV2::ArrowSerializationOptions, decorator: Google::Apis::BigqueryV2::ArrowSerializationOptions::Representation
|
|
3557
|
+
|
|
3516
3558
|
collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
|
|
3517
3559
|
|
|
3518
3560
|
property :continuous, as: 'continuous'
|
|
@@ -3537,6 +3579,7 @@ module Google
|
|
|
3537
3579
|
property :query, as: 'query'
|
|
3538
3580
|
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
|
3539
3581
|
|
|
3582
|
+
property :query_results_format, as: 'queryResultsFormat'
|
|
3540
3583
|
property :request_id, as: 'requestId'
|
|
3541
3584
|
property :reservation, as: 'reservation'
|
|
3542
3585
|
property :timeout_ms, as: 'timeoutMs'
|
|
@@ -3549,6 +3592,10 @@ module Google
|
|
|
3549
3592
|
class QueryResponse
|
|
3550
3593
|
# @private
|
|
3551
3594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3595
|
+
property :arrow_record_batch, as: 'arrowRecordBatch', class: Google::Apis::BigqueryV2::ArrowRecordBatch, decorator: Google::Apis::BigqueryV2::ArrowRecordBatch::Representation
|
|
3596
|
+
|
|
3597
|
+
property :arrow_schema, as: 'arrowSchema', class: Google::Apis::BigqueryV2::ArrowSchema, decorator: Google::Apis::BigqueryV2::ArrowSchema::Representation
|
|
3598
|
+
|
|
3552
3599
|
property :cache_hit, as: 'cacheHit'
|
|
3553
3600
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
|
3554
3601
|
property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
|
|
@@ -3564,6 +3611,7 @@ module Google
|
|
|
3564
3611
|
property :kind, as: 'kind'
|
|
3565
3612
|
property :location, as: 'location'
|
|
3566
3613
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
|
3614
|
+
property :page_row_count, :numeric_string => true, as: 'pageRowCount'
|
|
3567
3615
|
property :page_token, as: 'pageToken'
|
|
3568
3616
|
property :query_id, as: 'queryId'
|
|
3569
3617
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
|
@@ -54,7 +54,8 @@ module Google
|
|
|
54
54
|
# Deletes the dataset specified by the datasetId value. Before you can delete a
|
|
55
55
|
# dataset, you must delete all its tables, either manually or by specifying
|
|
56
56
|
# deleteContents. Immediately after deletion, you can create another dataset
|
|
57
|
-
# with the same name.
|
|
57
|
+
# with the same name. # IAM Permissions Requires the `bigquery.datasets.delete`
|
|
58
|
+
# permission on the dataset.
|
|
58
59
|
# @param [String] project_id
|
|
59
60
|
# Required. Project ID of the dataset being deleted
|
|
60
61
|
# @param [String] dataset_id
|
|
@@ -89,7 +90,8 @@ module Google
|
|
|
89
90
|
execute_or_queue_command(command, &block)
|
|
90
91
|
end
|
|
91
92
|
|
|
92
|
-
# Returns the dataset specified by datasetID.
|
|
93
|
+
# Returns the dataset specified by datasetID. # IAM Permissions Requires the `
|
|
94
|
+
# bigquery.datasets.get` permission on the dataset.
|
|
93
95
|
# @param [String] project_id
|
|
94
96
|
# Required. Project ID of the requested dataset
|
|
95
97
|
# @param [String] dataset_id
|
|
@@ -141,7 +143,8 @@ module Google
|
|
|
141
143
|
execute_or_queue_command(command, &block)
|
|
142
144
|
end
|
|
143
145
|
|
|
144
|
-
# Creates a new empty dataset.
|
|
146
|
+
# Creates a new empty dataset. # IAM Permissions Requires the `bigquery.datasets.
|
|
147
|
+
# create` permission on the project.
|
|
145
148
|
# @param [String] project_id
|
|
146
149
|
# Required. Project ID of the new dataset
|
|
147
150
|
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
|
|
@@ -188,7 +191,9 @@ module Google
|
|
|
188
191
|
end
|
|
189
192
|
|
|
190
193
|
# Lists all datasets in the specified project to which the user has been granted
|
|
191
|
-
# the READER dataset role.
|
|
194
|
+
# the READER dataset role. # IAM Permissions Requires no specific IAM permission(
|
|
195
|
+
# s) to use this method. Results are filtered to only include datasets on which
|
|
196
|
+
# the caller has the `bigquery.datasets.get` permission.
|
|
192
197
|
# @param [String] project_id
|
|
193
198
|
# Required. Project ID of the datasets to be listed
|
|
194
199
|
# @param [Boolean] all
|
|
@@ -238,7 +243,9 @@ module Google
|
|
|
238
243
|
# Updates information in an existing dataset. The update method replaces the
|
|
239
244
|
# entire dataset resource, whereas the patch method only replaces fields that
|
|
240
245
|
# are provided in the submitted dataset resource. This method supports RFC5789
|
|
241
|
-
# patch semantics.
|
|
246
|
+
# patch semantics. # IAM Permissions Requires the following IAM permission(s) to
|
|
247
|
+
# use this method: - `bigquery.datasets.update` on the dataset. - `bigquery.
|
|
248
|
+
# datasets.get` on the dataset.
|
|
242
249
|
# @param [String] project_id
|
|
243
250
|
# Required. Project ID of the dataset being updated
|
|
244
251
|
# @param [String] dataset_id
|
|
@@ -295,7 +302,9 @@ module Google
|
|
|
295
302
|
|
|
296
303
|
# Undeletes a dataset which is within time travel window based on datasetId. If
|
|
297
304
|
# a time is specified, the dataset version deleted at that time is undeleted,
|
|
298
|
-
# else the last live version is undeleted.
|
|
305
|
+
# else the last live version is undeleted. # IAM Permissions Requires the
|
|
306
|
+
# following IAM permission(s) to use this method: - `bigquery.datasets.create`
|
|
307
|
+
# on the project. - `bigquery.datasets.get` on the dataset.
|
|
299
308
|
# @param [String] project_id
|
|
300
309
|
# Required. Project ID of the dataset to be undeleted
|
|
301
310
|
# @param [String] dataset_id
|
|
@@ -333,7 +342,8 @@ module Google
|
|
|
333
342
|
|
|
334
343
|
# Updates information in an existing dataset. The update method replaces the
|
|
335
344
|
# entire dataset resource, whereas the patch method only replaces fields that
|
|
336
|
-
# are provided in the submitted dataset resource.
|
|
345
|
+
# are provided in the submitted dataset resource. # IAM Permissions Requires the
|
|
346
|
+
# `bigquery.datasets.update` permission on the dataset.
|
|
337
347
|
# @param [String] project_id
|
|
338
348
|
# Required. Project ID of the dataset being updated
|
|
339
349
|
# @param [String] dataset_id
|
|
@@ -390,7 +400,10 @@ module Google
|
|
|
390
400
|
|
|
391
401
|
# Requests that a job be cancelled. This call will return immediately, and the
|
|
392
402
|
# client will need to poll for the job status to see if the cancel completed
|
|
393
|
-
# successfully. Cancelled jobs may still incur costs.
|
|
403
|
+
# successfully. Cancelled jobs may still incur costs. # IAM Permissions Requires
|
|
404
|
+
# the `bigquery.jobs.update` permission on the job resource. If the user matches
|
|
405
|
+
# the creator of the job, the `bigquery.jobs.create` permission on the project
|
|
406
|
+
# is required instead.
|
|
394
407
|
# @param [String] project_id
|
|
395
408
|
# Required. Project ID of the job to cancel
|
|
396
409
|
# @param [String] job_id
|
|
@@ -431,7 +444,8 @@ module Google
|
|
|
431
444
|
end
|
|
432
445
|
|
|
433
446
|
# Requests the deletion of the metadata of a job. This call returns when the job'
|
|
434
|
-
# s metadata is deleted.
|
|
447
|
+
# s metadata is deleted. # IAM Permissions Requires the `bigquery.jobs.delete`
|
|
448
|
+
# permission on the job resource.
|
|
435
449
|
# @param [String] project_id
|
|
436
450
|
# Required. Project ID of the job for which metadata is to be deleted.
|
|
437
451
|
# @param [String] job_id
|
|
@@ -471,7 +485,10 @@ module Google
|
|
|
471
485
|
|
|
472
486
|
# Returns information about a specific job. Job information is available for a
|
|
473
487
|
# six month period after creation. Requires that you're the person who ran the
|
|
474
|
-
# job, or have the Is Owner project role.
|
|
488
|
+
# job, or have the Is Owner project role. # IAM Permissions Requires the `
|
|
489
|
+
# bigquery.jobs.get` permission on the job resource. If the user matches the
|
|
490
|
+
# creator of the job, the `bigquery.jobs.create` permission on the project is
|
|
491
|
+
# required instead.
|
|
475
492
|
# @param [String] project_id
|
|
476
493
|
# Required. Project ID of the requested job.
|
|
477
494
|
# @param [String] job_id
|
|
@@ -511,7 +528,12 @@ module Google
|
|
|
511
528
|
execute_or_queue_command(command, &block)
|
|
512
529
|
end
|
|
513
530
|
|
|
514
|
-
# RPC to get the results of a query job.
|
|
531
|
+
# RPC to get the results of a query job. # IAM Permissions Requires the
|
|
532
|
+
# following IAM permission(s) to use this method: - `bigquery.jobs.get` on the
|
|
533
|
+
# job. - `bigquery.tables.getData` on the destination table. If the user matches
|
|
534
|
+
# the creator of the job, the following IAM permission(s) are required instead: -
|
|
535
|
+
# `bigquery.jobs.create` on the project. - `bigquery.tables.getData` on the
|
|
536
|
+
# destination table.
|
|
515
537
|
# @param [String] project_id
|
|
516
538
|
# Required. Project ID of the query job.
|
|
517
539
|
# @param [String] job_id
|
|
@@ -585,7 +607,14 @@ module Google
|
|
|
585
607
|
# used for most interactions, as it accepts the job configuration directly. *
|
|
586
608
|
# The *Upload* URI is ONLY for the case when you're sending both a load job
|
|
587
609
|
# configuration and a data stream together. In this case, the Upload URI accepts
|
|
588
|
-
# the job configuration and the data as two distinct multipart MIME parts.
|
|
610
|
+
# the job configuration and the data as two distinct multipart MIME parts. # IAM
|
|
611
|
+
# Permissions Requires the `bigquery.jobs.create` permission on the project
|
|
612
|
+
# resource. Additional permissions are required depending on the job type: - **
|
|
613
|
+
# Load, Export, and Copy jobs**: Generally require data-level permissions such
|
|
614
|
+
# as `bigquery.tables.export` or access to external storage. - **Query jobs**:
|
|
615
|
+
# Permissions are dependent on the SQL statement. Complex queries (DDL, DCL) may
|
|
616
|
+
# require additional permissions to create reservations, modify IAM policies, or
|
|
617
|
+
# update project settings.
|
|
589
618
|
# @param [String] project_id
|
|
590
619
|
# Project ID of project that will be billed for the job.
|
|
591
620
|
# @param [Google::Apis::BigqueryV2::Job] job_object
|
|
@@ -631,7 +660,13 @@ module Google
|
|
|
631
660
|
# Lists all jobs that you started in the specified project. Job information is
|
|
632
661
|
# available for a six month period after creation. The job list is sorted in
|
|
633
662
|
# reverse chronological order, by job creation time. Requires the Can View
|
|
634
|
-
# project role, or the Is Owner project role if you set the allUsers property.
|
|
663
|
+
# project role, or the Is Owner project role if you set the allUsers property. #
|
|
664
|
+
# IAM Permissions Requires no specific IAM permission(s) to use this method.
|
|
665
|
+
# Users are able to list the jobs they created. Additional access is granted
|
|
666
|
+
# based on the following permissions: - Users with the `bigquery.jobs.listAll`
|
|
667
|
+
# permission can list all jobs with all metadata. - Users with the `bigquery.
|
|
668
|
+
# jobs.list` permission can list all jobs, but with redacted information for
|
|
669
|
+
# jobs they did not create.
|
|
635
670
|
# @param [String] project_id
|
|
636
671
|
# Project ID of the jobs to list.
|
|
637
672
|
# @param [Boolean] all_users
|
|
@@ -690,7 +725,12 @@ module Google
|
|
|
690
725
|
end
|
|
691
726
|
|
|
692
727
|
# Runs a BigQuery SQL query synchronously and returns query results if the query
|
|
693
|
-
# completes within a specified timeout.
|
|
728
|
+
# completes within a specified timeout. # IAM Permissions Requires the `bigquery.
|
|
729
|
+
# jobs.create` permission on the project resource. Data-level permissions are
|
|
730
|
+
# highly dependent on the SQL statement being executed. While standard queries
|
|
731
|
+
# require data access (such as `bigquery.tables.getData`), complex operations
|
|
732
|
+
# like DDL or DCL may require permissions to manage reservations, IAM policies,
|
|
733
|
+
# or project settings.
|
|
694
734
|
# @param [String] project_id
|
|
695
735
|
# Required. Project ID of the query request.
|
|
696
736
|
# @param [Google::Apis::BigqueryV2::QueryRequest] query_request_object
|
|
@@ -723,7 +763,8 @@ module Google
|
|
|
723
763
|
execute_or_queue_command(command, &block)
|
|
724
764
|
end
|
|
725
765
|
|
|
726
|
-
# Deletes the model specified by modelId from the dataset.
|
|
766
|
+
# Deletes the model specified by modelId from the dataset. # IAM Permissions
|
|
767
|
+
# Requires the `bigquery.models.delete` permission on the model.
|
|
727
768
|
# @param [String] project_id
|
|
728
769
|
# Required. Project ID of the model to delete.
|
|
729
770
|
# @param [String] dataset_id
|
|
@@ -757,7 +798,8 @@ module Google
|
|
|
757
798
|
execute_or_queue_command(command, &block)
|
|
758
799
|
end
|
|
759
800
|
|
|
760
|
-
# Gets the specified model resource by model ID.
|
|
801
|
+
# Gets the specified model resource by model ID. # IAM Permissions Requires the `
|
|
802
|
+
# bigquery.models.getMetadata` permission on the model.
|
|
761
803
|
# @param [String] project_id
|
|
762
804
|
# Required. Project ID of the requested model.
|
|
763
805
|
# @param [String] dataset_id
|
|
@@ -795,7 +837,8 @@ module Google
|
|
|
795
837
|
|
|
796
838
|
# Lists all models in the specified dataset. Requires the READER dataset role.
|
|
797
839
|
# After retrieving the list of models, you can get information about a
|
|
798
|
-
# particular model by calling the models.get method.
|
|
840
|
+
# particular model by calling the models.get method. # IAM Permissions Requires
|
|
841
|
+
# the `bigquery.models.list` permission on the dataset.
|
|
799
842
|
# @param [String] project_id
|
|
800
843
|
# Required. Project ID of the models to list.
|
|
801
844
|
# @param [String] dataset_id
|
|
@@ -835,7 +878,8 @@ module Google
|
|
|
835
878
|
execute_or_queue_command(command, &block)
|
|
836
879
|
end
|
|
837
880
|
|
|
838
|
-
# Patch specific fields in the specified model.
|
|
881
|
+
# Patch specific fields in the specified model. # IAM Permissions Requires the `
|
|
882
|
+
# bigquery.models.updateMetadata` permission on the model.
|
|
839
883
|
# @param [String] project_id
|
|
840
884
|
# Required. Project ID of the model to patch.
|
|
841
885
|
# @param [String] dataset_id
|
|
@@ -875,7 +919,10 @@ module Google
|
|
|
875
919
|
end
|
|
876
920
|
|
|
877
921
|
# RPC to get the service account for a project used for interactions with Google
|
|
878
|
-
# Cloud KMS
|
|
922
|
+
# Cloud KMS. Requires the `bigquery.jobs.create` permission on the project
|
|
923
|
+
# resource. This permission is required to authorize the retrieval of the
|
|
924
|
+
# project's service identity for technical management tasks like encryption
|
|
925
|
+
# configuration.
|
|
879
926
|
# @param [String] project_id
|
|
880
927
|
# Required. ID of the project.
|
|
881
928
|
# @param [String] fields
|
|
@@ -908,7 +955,11 @@ module Google
|
|
|
908
955
|
# RPC to list projects to which the user has been granted any project role.
|
|
909
956
|
# Users of this method are encouraged to consider the [Resource Manager](https://
|
|
910
957
|
# cloud.google.com/resource-manager/docs/) API, which provides the underlying
|
|
911
|
-
# data for this method and has more capabilities.
|
|
958
|
+
# data for this method and has more capabilities. # IAM Permissions Requires no
|
|
959
|
+
# specific IAM permission(s) to use this method. The results are filtered to
|
|
960
|
+
# only include projects on which the caller has been granted a project-level
|
|
961
|
+
# role such as a BigQuery predefined IAM role or a basic role such as Viewer or
|
|
962
|
+
# Owner.
|
|
912
963
|
# @param [Fixnum] max_results
|
|
913
964
|
# `maxResults` unset returns all results, up to 50 per page. Additionally, the
|
|
914
965
|
# number of projects in a page may be fewer than `maxResults` because projects
|
|
@@ -944,7 +995,8 @@ module Google
|
|
|
944
995
|
execute_or_queue_command(command, &block)
|
|
945
996
|
end
|
|
946
997
|
|
|
947
|
-
# Deletes the routine specified by routineId from the dataset.
|
|
998
|
+
# Deletes the routine specified by routineId from the dataset. # IAM Permissions
|
|
999
|
+
# Requires the `bigquery.routines.delete` permission on the routine.
|
|
948
1000
|
# @param [String] project_id
|
|
949
1001
|
# Required. Project ID of the routine to delete
|
|
950
1002
|
# @param [String] dataset_id
|
|
@@ -978,7 +1030,8 @@ module Google
|
|
|
978
1030
|
execute_or_queue_command(command, &block)
|
|
979
1031
|
end
|
|
980
1032
|
|
|
981
|
-
# Gets the specified routine resource by routine ID.
|
|
1033
|
+
# Gets the specified routine resource by routine ID. # IAM Permissions Requires
|
|
1034
|
+
# the `bigquery.routines.get` permission on the routine.
|
|
982
1035
|
# @param [String] project_id
|
|
983
1036
|
# Required. Project ID of the requested routine
|
|
984
1037
|
# @param [String] dataset_id
|
|
@@ -1054,7 +1107,8 @@ module Google
|
|
|
1054
1107
|
execute_or_queue_command(command, &block)
|
|
1055
1108
|
end
|
|
1056
1109
|
|
|
1057
|
-
# Creates a new routine in the dataset.
|
|
1110
|
+
# Creates a new routine in the dataset. # IAM Permissions Requires the `bigquery.
|
|
1111
|
+
# routines.create` permission on the dataset.
|
|
1058
1112
|
# @param [String] project_id
|
|
1059
1113
|
# Required. Project ID of the new routine
|
|
1060
1114
|
# @param [String] dataset_id
|
|
@@ -1091,6 +1145,8 @@ module Google
|
|
|
1091
1145
|
end
|
|
1092
1146
|
|
|
1093
1147
|
# Lists all routines in the specified dataset. Requires the READER dataset role.
|
|
1148
|
+
# # IAM Permissions Requires the `bigquery.routines.list` permission on the
|
|
1149
|
+
# dataset.
|
|
1094
1150
|
# @param [String] project_id
|
|
1095
1151
|
# Required. Project ID of the routines to list
|
|
1096
1152
|
# @param [String] dataset_id
|
|
@@ -1218,7 +1274,8 @@ module Google
|
|
|
1218
1274
|
end
|
|
1219
1275
|
|
|
1220
1276
|
# Updates information in an existing routine. The update method replaces the
|
|
1221
|
-
# entire Routine resource.
|
|
1277
|
+
# entire Routine resource. # IAM Permissions Requires the `bigquery.routines.
|
|
1278
|
+
# update` permission on the routine.
|
|
1222
1279
|
# @param [String] project_id
|
|
1223
1280
|
# Required. Project ID of the routine to update
|
|
1224
1281
|
# @param [String] dataset_id
|
|
@@ -1257,7 +1314,9 @@ module Google
|
|
|
1257
1314
|
execute_or_queue_command(command, &block)
|
|
1258
1315
|
end
|
|
1259
1316
|
|
|
1260
|
-
# Deletes provided row access policies.
|
|
1317
|
+
# Deletes provided row access policies. # IAM Permissions Requires the following
|
|
1318
|
+
# IAM permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `
|
|
1319
|
+
# bigquery.rowAccessPolicies.setIamPolicy`
|
|
1261
1320
|
# @param [String] project_id
|
|
1262
1321
|
# Required. Project ID of the table to delete the row access policies.
|
|
1263
1322
|
# @param [String] dataset_id
|
|
@@ -1294,7 +1353,9 @@ module Google
|
|
|
1294
1353
|
execute_or_queue_command(command, &block)
|
|
1295
1354
|
end
|
|
1296
1355
|
|
|
1297
|
-
# Deletes a row access policy.
|
|
1356
|
+
# Deletes a row access policy. # IAM Permissions Requires the following IAM
|
|
1357
|
+
# permission(s) on the table: - `bigquery.rowAccessPolicies.delete` - `bigquery.
|
|
1358
|
+
# rowAccessPolicies.setIamPolicy`
|
|
1298
1359
|
# @param [String] project_id
|
|
1299
1360
|
# Required. Project ID of the table to delete the row access policy.
|
|
1300
1361
|
# @param [String] dataset_id
|
|
@@ -1336,7 +1397,8 @@ module Google
|
|
|
1336
1397
|
execute_or_queue_command(command, &block)
|
|
1337
1398
|
end
|
|
1338
1399
|
|
|
1339
|
-
# Gets the specified row access policy by policy ID.
|
|
1400
|
+
# Gets the specified row access policy by policy ID. # IAM Permissions Requires
|
|
1401
|
+
# the `bigquery.rowAccessPolicies.get` permission on the table.
|
|
1340
1402
|
# @param [String] project_id
|
|
1341
1403
|
# Required. Project ID of the table to get the row access policy.
|
|
1342
1404
|
# @param [String] dataset_id
|
|
@@ -1411,7 +1473,9 @@ module Google
|
|
|
1411
1473
|
execute_or_queue_command(command, &block)
|
|
1412
1474
|
end
|
|
1413
1475
|
|
|
1414
|
-
# Creates a row access policy.
|
|
1476
|
+
# Creates a row access policy. # IAM Permissions Requires the following IAM
|
|
1477
|
+
# permission(s) on the table: - `bigquery.rowAccessPolicies.create` - `bigquery.
|
|
1478
|
+
# rowAccessPolicies.setIamPolicy` - `bigquery.tables.getData`
|
|
1415
1479
|
# @param [String] project_id
|
|
1416
1480
|
# Required. Project ID of the table to get the row access policy.
|
|
1417
1481
|
# @param [String] dataset_id
|
|
@@ -1450,7 +1514,8 @@ module Google
|
|
|
1450
1514
|
execute_or_queue_command(command, &block)
|
|
1451
1515
|
end
|
|
1452
1516
|
|
|
1453
|
-
# Lists all row access policies on the specified table.
|
|
1517
|
+
# Lists all row access policies on the specified table. # IAM Permissions
|
|
1518
|
+
# Requires the `bigquery.rowAccessPolicies.list` permission on the table.
|
|
1454
1519
|
# @param [String] project_id
|
|
1455
1520
|
# Required. Project ID of the row access policies to list.
|
|
1456
1521
|
# @param [String] dataset_id
|
|
@@ -1532,7 +1597,9 @@ module Google
|
|
|
1532
1597
|
execute_or_queue_command(command, &block)
|
|
1533
1598
|
end
|
|
1534
1599
|
|
|
1535
|
-
# Updates a row access policy.
|
|
1600
|
+
# Updates a row access policy. # IAM Permissions Requires the following IAM
|
|
1601
|
+
# permission(s) on the table: - `bigquery.rowAccessPolicies.update` - `bigquery.
|
|
1602
|
+
# rowAccessPolicies.setIamPolicy` - `bigquery.tables.getData`
|
|
1536
1603
|
# @param [String] project_id
|
|
1537
1604
|
# Required. Project ID of the table to get the row access policy.
|
|
1538
1605
|
# @param [String] dataset_id
|
|
@@ -1575,7 +1642,9 @@ module Google
|
|
|
1575
1642
|
end
|
|
1576
1643
|
|
|
1577
1644
|
# Streams data into BigQuery one record at a time without needing to run a load
|
|
1578
|
-
# job.
|
|
1645
|
+
# job. # IAM Permissions Requires the following IAM permission(s) to use this
|
|
1646
|
+
# method: - `bigquery.tables.updateData` on the table. - `bigquery.tables.get`
|
|
1647
|
+
# on the table. - `bigquery.datasets.get` on the dataset.
|
|
1579
1648
|
# @param [String] project_id
|
|
1580
1649
|
# Required. Project ID of the destination.
|
|
1581
1650
|
# @param [String] dataset_id
|
|
@@ -1614,7 +1683,8 @@ module Google
|
|
|
1614
1683
|
execute_or_queue_command(command, &block)
|
|
1615
1684
|
end
|
|
1616
1685
|
|
|
1617
|
-
# List the content of a table in rows.
|
|
1686
|
+
# List the content of a table in rows. # IAM Permissions Requires the `bigquery.
|
|
1687
|
+
# tables.getData` permission on the table.
|
|
1618
1688
|
# @param [String] project_id
|
|
1619
1689
|
# Required. Project id of the table to list.
|
|
1620
1690
|
# @param [String] dataset_id
|
|
@@ -1674,7 +1744,8 @@ module Google
|
|
|
1674
1744
|
end
|
|
1675
1745
|
|
|
1676
1746
|
# Deletes the table specified by tableId from the dataset. If the table contains
|
|
1677
|
-
# data, all the data will be deleted.
|
|
1747
|
+
# data, all the data will be deleted. # IAM Permissions Requires the `bigquery.
|
|
1748
|
+
# tables.delete` permission on the table.
|
|
1678
1749
|
# @param [String] project_id
|
|
1679
1750
|
# Required. Project ID of the table to delete
|
|
1680
1751
|
# @param [String] dataset_id
|
|
@@ -1710,7 +1781,8 @@ module Google
|
|
|
1710
1781
|
|
|
1711
1782
|
# Gets the specified table resource by table ID. This method does not return the
|
|
1712
1783
|
# data in the table, it only returns the table resource, which describes the
|
|
1713
|
-
# structure of this table.
|
|
1784
|
+
# structure of this table. # IAM Permissions Requires the `bigquery.tables.get`
|
|
1785
|
+
# permission on the table.
|
|
1714
1786
|
# @param [String] project_id
|
|
1715
1787
|
# Required. Project ID of the requested table
|
|
1716
1788
|
# @param [String] dataset_id
|
|
@@ -1794,7 +1866,8 @@ module Google
|
|
|
1794
1866
|
execute_or_queue_command(command, &block)
|
|
1795
1867
|
end
|
|
1796
1868
|
|
|
1797
|
-
# Creates a new, empty table in the dataset.
|
|
1869
|
+
# Creates a new, empty table in the dataset. # IAM Permissions Requires the `
|
|
1870
|
+
# bigquery.tables.create` permission on the dataset.
|
|
1798
1871
|
# @param [String] project_id
|
|
1799
1872
|
# Required. Project ID of the new table
|
|
1800
1873
|
# @param [String] dataset_id
|
|
@@ -1830,7 +1903,8 @@ module Google
|
|
|
1830
1903
|
execute_or_queue_command(command, &block)
|
|
1831
1904
|
end
|
|
1832
1905
|
|
|
1833
|
-
# Lists all tables in the specified dataset. Requires the READER dataset role.
|
|
1906
|
+
# Lists all tables in the specified dataset. Requires the READER dataset role. #
|
|
1907
|
+
# IAM Permissions Requires the `bigquery.tables.list` permission on the dataset.
|
|
1834
1908
|
# @param [String] project_id
|
|
1835
1909
|
# Required. Project ID of the tables to list
|
|
1836
1910
|
# @param [String] dataset_id
|
|
@@ -1873,7 +1947,8 @@ module Google
|
|
|
1873
1947
|
# Updates information in an existing table. The update method replaces the
|
|
1874
1948
|
# entire table resource, whereas the patch method only replaces fields that are
|
|
1875
1949
|
# provided in the submitted table resource. This method supports RFC5789 patch
|
|
1876
|
-
# semantics.
|
|
1950
|
+
# semantics. # IAM Permissions Requires the following IAM permission(s) on the
|
|
1951
|
+
# table: - `bigquery.tables.update` - `bigquery.tables.get`
|
|
1877
1952
|
# @param [String] project_id
|
|
1878
1953
|
# Required. Project ID of the table to update
|
|
1879
1954
|
# @param [String] dataset_id
|
|
@@ -1993,7 +2068,8 @@ module Google
|
|
|
1993
2068
|
|
|
1994
2069
|
# Updates information in an existing table. The update method replaces the
|
|
1995
2070
|
# entire Table resource, whereas the patch method only replaces fields that are
|
|
1996
|
-
# provided in the submitted Table resource.
|
|
2071
|
+
# provided in the submitted Table resource. # IAM Permissions Requires the `
|
|
2072
|
+
# bigquery.tables.update` permission on the table.
|
|
1997
2073
|
# @param [String] project_id
|
|
1998
2074
|
# Required. Project ID of the table to update
|
|
1999
2075
|
# @param [String] dataset_id
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-bigquery_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.105.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.105.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|