google-cloud-bigquery 1.35.0 → 1.38.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 +4 -4
- data/CHANGELOG.md +36 -0
- data/lib/google/cloud/bigquery/dataset.rb +130 -42
- data/lib/google/cloud/bigquery/external/avro_source.rb +107 -0
- data/lib/google/cloud/bigquery/external/data_source.rb +2 -2
- data/lib/google/cloud/bigquery/external.rb +16 -14
- data/lib/google/cloud/bigquery/job.rb +34 -2
- data/lib/google/cloud/bigquery/load_job.rb +13 -13
- data/lib/google/cloud/bigquery/model.rb +8 -8
- data/lib/google/cloud/bigquery/project.rb +114 -68
- data/lib/google/cloud/bigquery/query_job.rb +33 -0
- data/lib/google/cloud/bigquery/routine.rb +2 -2
- data/lib/google/cloud/bigquery/schema/field.rb +25 -16
- data/lib/google/cloud/bigquery/schema.rb +13 -13
- data/lib/google/cloud/bigquery/service.rb +8 -0
- data/lib/google/cloud/bigquery/table.rb +29 -29
- data/lib/google/cloud/bigquery/version.rb +1 -1
- metadata +3 -2
@@ -64,7 +64,7 @@ module Google
|
|
64
64
|
# The name of the field.
|
65
65
|
#
|
66
66
|
# @return [String] The field name. The name must contain only
|
67
|
-
# letters (
|
67
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
68
68
|
# start with a letter or underscore. The maximum length is 128
|
69
69
|
# characters.
|
70
70
|
#
|
@@ -76,7 +76,7 @@ module Google
|
|
76
76
|
# Updates the name of the field.
|
77
77
|
#
|
78
78
|
# @param [String] new_name The field name. The name must contain only
|
79
|
-
# letters (
|
79
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
80
80
|
# start with a letter or underscore. The maximum length is 128
|
81
81
|
# characters.
|
82
82
|
#
|
@@ -495,7 +495,7 @@ module Google
|
|
495
495
|
# This can only be called on fields that are of type `RECORD`.
|
496
496
|
#
|
497
497
|
# @param [String] name The field name. The name must contain only
|
498
|
-
# letters (
|
498
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
499
499
|
# start with a letter or underscore. The maximum length is 128
|
500
500
|
# characters.
|
501
501
|
# @param [String] description A description of the field.
|
@@ -526,7 +526,7 @@ module Google
|
|
526
526
|
# This can only be called on fields that are of type `RECORD`.
|
527
527
|
#
|
528
528
|
# @param [String] name The field name. The name must contain only
|
529
|
-
# letters (
|
529
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
530
530
|
# start with a letter or underscore. The maximum length is 128
|
531
531
|
# characters.
|
532
532
|
# @param [String] description A description of the field.
|
@@ -551,7 +551,7 @@ module Google
|
|
551
551
|
# This can only be called on fields that are of type `RECORD`.
|
552
552
|
#
|
553
553
|
# @param [String] name The field name. The name must contain only
|
554
|
-
# letters (
|
554
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
555
555
|
# start with a letter or underscore. The maximum length is 128
|
556
556
|
# characters.
|
557
557
|
# @param [String] description A description of the field.
|
@@ -586,7 +586,7 @@ module Google
|
|
586
586
|
# This can only be called on fields that are of type `RECORD`.
|
587
587
|
#
|
588
588
|
# @param [String] name The field name. The name must contain only
|
589
|
-
# letters (
|
589
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
590
590
|
# start with a letter or underscore. The maximum length is 128
|
591
591
|
# characters.
|
592
592
|
# @param [String] description A description of the field.
|
@@ -637,7 +637,7 @@ module Google
|
|
637
637
|
# This can only be called on fields that are of type `RECORD`.
|
638
638
|
#
|
639
639
|
# @param [String] name The field name. The name must contain only
|
640
|
-
# letters (
|
640
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
641
641
|
# start with a letter or underscore. The maximum length is 128
|
642
642
|
# characters.
|
643
643
|
# @param [String] description A description of the field.
|
@@ -677,7 +677,7 @@ module Google
|
|
677
677
|
# This can only be called on fields that are of type `RECORD`.
|
678
678
|
#
|
679
679
|
# @param [String] name The field name. The name must contain only
|
680
|
-
# letters (
|
680
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
681
681
|
# start with a letter or underscore. The maximum length is 128
|
682
682
|
# characters.
|
683
683
|
# @param [String] description A description of the field.
|
@@ -701,7 +701,7 @@ module Google
|
|
701
701
|
# This can only be called on fields that are of type `RECORD`.
|
702
702
|
#
|
703
703
|
# @param [String] name The field name. The name must contain only
|
704
|
-
# letters (
|
704
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
705
705
|
# start with a letter or underscore. The maximum length is 128
|
706
706
|
# characters.
|
707
707
|
# @param [String] description A description of the field.
|
@@ -732,7 +732,7 @@ module Google
|
|
732
732
|
# This can only be called on fields that are of type `RECORD`.
|
733
733
|
#
|
734
734
|
# @param [String] name The field name. The name must contain only
|
735
|
-
# letters (
|
735
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
736
736
|
# start with a letter or underscore. The maximum length is 128
|
737
737
|
# characters.
|
738
738
|
# @param [String] description A description of the field.
|
@@ -756,7 +756,7 @@ module Google
|
|
756
756
|
# This can only be called on fields that are of type `RECORD`.
|
757
757
|
#
|
758
758
|
# @param [String] name The field name. The name must contain only
|
759
|
-
# letters (
|
759
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
760
760
|
# start with a letter or underscore. The maximum length is 128
|
761
761
|
# characters.
|
762
762
|
# @param [String] description A description of the field.
|
@@ -780,7 +780,7 @@ module Google
|
|
780
780
|
# This can only be called on fields that are of type `RECORD`.
|
781
781
|
#
|
782
782
|
# @param [String] name The field name. The name must contain only
|
783
|
-
# letters (
|
783
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
784
784
|
# start with a letter or underscore. The maximum length is 128
|
785
785
|
# characters.
|
786
786
|
# @param [String] description A description of the field.
|
@@ -804,7 +804,7 @@ module Google
|
|
804
804
|
# This can only be called on fields that are of type `RECORD`.
|
805
805
|
#
|
806
806
|
# @param [String] name The field name. The name must contain only
|
807
|
-
# letters (
|
807
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
808
808
|
# start with a letter or underscore. The maximum length is 128
|
809
809
|
# characters.
|
810
810
|
# @param [String] description A description of the field.
|
@@ -828,7 +828,7 @@ module Google
|
|
828
828
|
# @see https://cloud.google.com/bigquery/docs/gis-data Working with BigQuery GIS data
|
829
829
|
#
|
830
830
|
# @param [String] name The field name. The name must contain only
|
831
|
-
# letters (
|
831
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
832
832
|
# start with a letter or underscore. The maximum length is 128
|
833
833
|
# characters.
|
834
834
|
# @param [String] description A description of the field.
|
@@ -855,7 +855,7 @@ module Google
|
|
855
855
|
# This can only be called on fields that are of type `RECORD`.
|
856
856
|
#
|
857
857
|
# @param [String] name The field name. The name must contain only
|
858
|
-
# letters (
|
858
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
859
859
|
# start with a letter or underscore. The maximum length is 128
|
860
860
|
# characters.
|
861
861
|
# @param [String] description A description of the field.
|
@@ -939,7 +939,14 @@ module Google
|
|
939
939
|
"Cannot add fields to a non-RECORD field (#{type})"
|
940
940
|
end
|
941
941
|
|
942
|
-
def add_field name,
|
942
|
+
def add_field name,
|
943
|
+
type,
|
944
|
+
description: nil,
|
945
|
+
mode: :nullable,
|
946
|
+
policy_tags: nil,
|
947
|
+
max_length: nil,
|
948
|
+
precision: nil,
|
949
|
+
scale: nil
|
943
950
|
frozen_check!
|
944
951
|
|
945
952
|
new_gapi = Google::Apis::BigqueryV2::TableFieldSchema.new(
|
@@ -954,6 +961,8 @@ module Google
|
|
954
961
|
new_gapi.policy_tags = Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags.new names: policy_tags
|
955
962
|
end
|
956
963
|
new_gapi.max_length = max_length if max_length
|
964
|
+
new_gapi.precision = precision if precision
|
965
|
+
new_gapi.scale = scale if scale
|
957
966
|
# Remove any existing field of this name
|
958
967
|
@gapi.fields ||= []
|
959
968
|
@gapi.fields.reject! { |f| f.name == new_gapi.name }
|
@@ -287,7 +287,7 @@ module Google
|
|
287
287
|
# Adds a string field to the schema.
|
288
288
|
#
|
289
289
|
# @param [String] name The field name. The name must contain only
|
290
|
-
# letters (
|
290
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
291
291
|
# start with a letter or underscore. The maximum length is 128
|
292
292
|
# characters.
|
293
293
|
# @param [String] description A description of the field.
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
# Adds an integer field to the schema.
|
315
315
|
#
|
316
316
|
# @param [String] name The field name. The name must contain only
|
317
|
-
# letters (
|
317
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
318
318
|
# start with a letter or underscore. The maximum length is 128
|
319
319
|
# characters.
|
320
320
|
# @param [String] description A description of the field.
|
@@ -334,7 +334,7 @@ module Google
|
|
334
334
|
# Adds a floating-point number field to the schema.
|
335
335
|
#
|
336
336
|
# @param [String] name The field name. The name must contain only
|
337
|
-
# letters (
|
337
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
338
338
|
# start with a letter or underscore. The maximum length is 128
|
339
339
|
# characters.
|
340
340
|
# @param [String] description A description of the field.
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
# for financial calculations.
|
366
366
|
#
|
367
367
|
# @param [String] name The field name. The name must contain only
|
368
|
-
# letters (
|
368
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
369
369
|
# start with a letter or underscore. The maximum length is 128
|
370
370
|
# characters.
|
371
371
|
# @param [String] description A description of the field.
|
@@ -412,7 +412,7 @@ module Google
|
|
412
412
|
# for financial calculations.
|
413
413
|
#
|
414
414
|
# @param [String] name The field name. The name must contain only
|
415
|
-
# letters (
|
415
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
416
416
|
# start with a letter or underscore. The maximum length is 128
|
417
417
|
# characters.
|
418
418
|
# @param [String] description A description of the field.
|
@@ -448,7 +448,7 @@ module Google
|
|
448
448
|
# Adds a boolean field to the schema.
|
449
449
|
#
|
450
450
|
# @param [String] name The field name. The name must contain only
|
451
|
-
# letters (
|
451
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
452
452
|
# start with a letter or underscore. The maximum length is 128
|
453
453
|
# characters.
|
454
454
|
# @param [String] description A description of the field.
|
@@ -468,7 +468,7 @@ module Google
|
|
468
468
|
# Adds a bytes field to the schema.
|
469
469
|
#
|
470
470
|
# @param [String] name The field name. The name must contain only
|
471
|
-
# letters (
|
471
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
472
472
|
# start with a letter or underscore. The maximum length is 128
|
473
473
|
# characters.
|
474
474
|
# @param [String] description A description of the field.
|
@@ -490,7 +490,7 @@ module Google
|
|
490
490
|
# Adds a timestamp field to the schema.
|
491
491
|
#
|
492
492
|
# @param [String] name The field name. The name must contain only
|
493
|
-
# letters (
|
493
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
494
494
|
# start with a letter or underscore. The maximum length is 128
|
495
495
|
# characters.
|
496
496
|
# @param [String] description A description of the field.
|
@@ -510,7 +510,7 @@ module Google
|
|
510
510
|
# Adds a time field to the schema.
|
511
511
|
#
|
512
512
|
# @param [String] name The field name. The name must contain only
|
513
|
-
# letters (
|
513
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
514
514
|
# start with a letter or underscore. The maximum length is 128
|
515
515
|
# characters.
|
516
516
|
# @param [String] description A description of the field.
|
@@ -530,7 +530,7 @@ module Google
|
|
530
530
|
# Adds a datetime field to the schema.
|
531
531
|
#
|
532
532
|
# @param [String] name The field name. The name must contain only
|
533
|
-
# letters (
|
533
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
534
534
|
# start with a letter or underscore. The maximum length is 128
|
535
535
|
# characters.
|
536
536
|
# @param [String] description A description of the field.
|
@@ -550,7 +550,7 @@ module Google
|
|
550
550
|
# Adds a date field to the schema.
|
551
551
|
#
|
552
552
|
# @param [String] name The field name. The name must contain only
|
553
|
-
# letters (
|
553
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
554
554
|
# start with a letter or underscore. The maximum length is 128
|
555
555
|
# characters.
|
556
556
|
# @param [String] description A description of the field.
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
# @see https://cloud.google.com/bigquery/docs/gis-data Working with BigQuery GIS data
|
573
573
|
#
|
574
574
|
# @param [String] name The field name. The name must contain only
|
575
|
-
# letters (
|
575
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
576
576
|
# start with a letter or underscore. The maximum length is 128
|
577
577
|
# characters.
|
578
578
|
# @param [String] description A description of the field.
|
@@ -596,7 +596,7 @@ module Google
|
|
596
596
|
# ](https://cloud.google.com/bigquery/docs/loading-data#loading_denormalized_nested_and_repeated_data).
|
597
597
|
#
|
598
598
|
# @param [String] name The field name. The name must contain only
|
599
|
-
# letters (
|
599
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
600
600
|
# start with a letter or underscore. The maximum length is 128
|
601
601
|
# characters.
|
602
602
|
# @param [String] description A description of the field.
|
@@ -418,6 +418,14 @@ module Google
|
|
418
418
|
end
|
419
419
|
end
|
420
420
|
|
421
|
+
##
|
422
|
+
# Deletes the job specified by jobId and location (required).
|
423
|
+
def delete_job job_id, location: nil
|
424
|
+
execute do
|
425
|
+
service.delete_job @project, job_id, location: location
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
421
429
|
##
|
422
430
|
# Returns the query data for the job
|
423
431
|
def job_query_results job_id, location: nil, max: nil, token: nil, start: nil, timeout: nil
|
@@ -119,8 +119,8 @@ module Google
|
|
119
119
|
##
|
120
120
|
# A unique ID for this table.
|
121
121
|
#
|
122
|
-
# @return [String] The ID must contain only letters (
|
123
|
-
# (0-9), or underscores (_). The maximum length is 1,024 characters.
|
122
|
+
# @return [String] The ID must contain only letters (`[A-Za-z]`), numbers
|
123
|
+
# (`[0-9]`), or underscores (`_`). The maximum length is 1,024 characters.
|
124
124
|
#
|
125
125
|
# @!group Attributes
|
126
126
|
#
|
@@ -132,8 +132,8 @@ module Google
|
|
132
132
|
##
|
133
133
|
# The ID of the `Dataset` containing this table.
|
134
134
|
#
|
135
|
-
# @return [String] The ID must contain only letters (
|
136
|
-
# (0-9), or underscores (_). The maximum length is 1,024 characters.
|
135
|
+
# @return [String] The ID must contain only letters (`[A-Za-z]`), numbers
|
136
|
+
# (`[0-9]`), or underscores (`_`). The maximum length is 1,024 characters.
|
137
137
|
#
|
138
138
|
# @!group Attributes
|
139
139
|
#
|
@@ -1633,8 +1633,8 @@ module Google
|
|
1633
1633
|
# * `empty` - An error will be returned if the destination table
|
1634
1634
|
# already contains data.
|
1635
1635
|
# @param [String] job_id A user-defined ID for the copy job. The ID
|
1636
|
-
# must contain only letters (
|
1637
|
-
# (_), or dashes (
|
1636
|
+
# must contain only letters (`[A-Za-z]`), numbers (`[0-9]`), underscores
|
1637
|
+
# (`_`), or dashes (`-`). The maximum length is 1,024 characters. If
|
1638
1638
|
# `job_id` is provided, then `prefix` will not be used.
|
1639
1639
|
#
|
1640
1640
|
# See [Generating a job
|
@@ -1643,8 +1643,8 @@ module Google
|
|
1643
1643
|
# prepended to a generated value to produce a unique job ID. For
|
1644
1644
|
# example, the prefix `daily_import_job_` can be given to generate a
|
1645
1645
|
# job ID such as `daily_import_job_12vEDtMQ0mbp1Mo5Z7mzAFQJZazh`. The
|
1646
|
-
# prefix must contain only letters (
|
1647
|
-
# underscores (_), or dashes (
|
1646
|
+
# prefix must contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
1647
|
+
# underscores (`_`), or dashes (`-`). The maximum length of the entire ID
|
1648
1648
|
# is 1,024 characters. If `job_id` is provided, then `prefix` will not
|
1649
1649
|
# be used.
|
1650
1650
|
# @param [Hash] labels A hash of user-provided labels associated with
|
@@ -1822,8 +1822,8 @@ module Google
|
|
1822
1822
|
# @param [Boolean] header Whether to print out a header row in the
|
1823
1823
|
# results. Default is `true`.
|
1824
1824
|
# @param [String] job_id A user-defined ID for the extract job. The ID
|
1825
|
-
# must contain only letters (
|
1826
|
-
# (_), or dashes (
|
1825
|
+
# must contain only letters (`[A-Za-z]`), numbers (`[0-9]`), underscores
|
1826
|
+
# (`_`), or dashes (`-`). The maximum length is 1,024 characters. If
|
1827
1827
|
# `job_id` is provided, then `prefix` will not be used.
|
1828
1828
|
#
|
1829
1829
|
# See [Generating a job
|
@@ -1832,8 +1832,8 @@ module Google
|
|
1832
1832
|
# prepended to a generated value to produce a unique job ID. For
|
1833
1833
|
# example, the prefix `daily_import_job_` can be given to generate a
|
1834
1834
|
# job ID such as `daily_import_job_12vEDtMQ0mbp1Mo5Z7mzAFQJZazh`. The
|
1835
|
-
# prefix must contain only letters (
|
1836
|
-
# underscores (_), or dashes (
|
1835
|
+
# prefix must contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
1836
|
+
# underscores (`_`), or dashes (`-`). The maximum length of the entire ID
|
1837
1837
|
# is 1,024 characters. If `job_id` is provided, then `prefix` will not
|
1838
1838
|
# be used.
|
1839
1839
|
# @param [Hash] labels A hash of user-provided labels associated with
|
@@ -2070,8 +2070,8 @@ module Google
|
|
2070
2070
|
# value is `0`. This property is useful if you have header rows in the
|
2071
2071
|
# file that should be skipped.
|
2072
2072
|
# @param [String] job_id A user-defined ID for the load job. The ID
|
2073
|
-
# must contain only letters (
|
2074
|
-
# (_), or dashes (
|
2073
|
+
# must contain only letters (`[A-Za-z]`), numbers (`[0-9]`), underscores
|
2074
|
+
# (`_`), or dashes (`-`). The maximum length is 1,024 characters. If
|
2075
2075
|
# `job_id` is provided, then `prefix` will not be used.
|
2076
2076
|
#
|
2077
2077
|
# See [Generating a job
|
@@ -2080,8 +2080,8 @@ module Google
|
|
2080
2080
|
# prepended to a generated value to produce a unique job ID. For
|
2081
2081
|
# example, the prefix `daily_import_job_` can be given to generate a
|
2082
2082
|
# job ID such as `daily_import_job_12vEDtMQ0mbp1Mo5Z7mzAFQJZazh`. The
|
2083
|
-
# prefix must contain only letters (
|
2084
|
-
# underscores (_), or dashes (
|
2083
|
+
# prefix must contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
2084
|
+
# underscores (`_`), or dashes (`-`). The maximum length of the entire ID
|
2085
2085
|
# is 1,024 characters. If `job_id` is provided, then `prefix` will not
|
2086
2086
|
# be used.
|
2087
2087
|
# @param [Hash] labels A hash of user-provided labels associated with
|
@@ -3234,7 +3234,7 @@ module Google
|
|
3234
3234
|
# See {Schema#string}.
|
3235
3235
|
#
|
3236
3236
|
# @param [String] name The field name. The name must contain only
|
3237
|
-
# letters (
|
3237
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3238
3238
|
# start with a letter or underscore. The maximum length is 128
|
3239
3239
|
# characters.
|
3240
3240
|
# @param [String] description A description of the field.
|
@@ -3268,7 +3268,7 @@ module Google
|
|
3268
3268
|
# See {Schema#integer}.
|
3269
3269
|
#
|
3270
3270
|
# @param [String] name The field name. The name must contain only
|
3271
|
-
# letters (
|
3271
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3272
3272
|
# start with a letter or underscore. The maximum length is 128
|
3273
3273
|
# characters.
|
3274
3274
|
# @param [String] description A description of the field.
|
@@ -3300,7 +3300,7 @@ module Google
|
|
3300
3300
|
# See {Schema#float}.
|
3301
3301
|
#
|
3302
3302
|
# @param [String] name The field name. The name must contain only
|
3303
|
-
# letters (
|
3303
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3304
3304
|
# start with a letter or underscore. The maximum length is 128
|
3305
3305
|
# characters.
|
3306
3306
|
# @param [String] description A description of the field.
|
@@ -3343,7 +3343,7 @@ module Google
|
|
3343
3343
|
# See {Schema#numeric}
|
3344
3344
|
#
|
3345
3345
|
# @param [String] name The field name. The name must contain only
|
3346
|
-
# letters (
|
3346
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3347
3347
|
# start with a letter or underscore. The maximum length is 128
|
3348
3348
|
# characters.
|
3349
3349
|
# @param [String] description A description of the field.
|
@@ -3401,7 +3401,7 @@ module Google
|
|
3401
3401
|
# See {Schema#bignumeric}
|
3402
3402
|
#
|
3403
3403
|
# @param [String] name The field name. The name must contain only
|
3404
|
-
# letters (
|
3404
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3405
3405
|
# start with a letter or underscore. The maximum length is 128
|
3406
3406
|
# characters.
|
3407
3407
|
# @param [String] description A description of the field.
|
@@ -3448,7 +3448,7 @@ module Google
|
|
3448
3448
|
# See {Schema#boolean}.
|
3449
3449
|
#
|
3450
3450
|
# @param [String] name The field name. The name must contain only
|
3451
|
-
# letters (
|
3451
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3452
3452
|
# start with a letter or underscore. The maximum length is 128
|
3453
3453
|
# characters.
|
3454
3454
|
# @param [String] description A description of the field.
|
@@ -3480,7 +3480,7 @@ module Google
|
|
3480
3480
|
# See {Schema#bytes}.
|
3481
3481
|
#
|
3482
3482
|
# @param [String] name The field name. The name must contain only
|
3483
|
-
# letters (
|
3483
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3484
3484
|
# start with a letter or underscore. The maximum length is 128
|
3485
3485
|
# characters.
|
3486
3486
|
# @param [String] description A description of the field.
|
@@ -3514,7 +3514,7 @@ module Google
|
|
3514
3514
|
# See {Schema#timestamp}.
|
3515
3515
|
#
|
3516
3516
|
# @param [String] name The field name. The name must contain only
|
3517
|
-
# letters (
|
3517
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3518
3518
|
# start with a letter or underscore. The maximum length is 128
|
3519
3519
|
# characters.
|
3520
3520
|
# @param [String] description A description of the field.
|
@@ -3546,7 +3546,7 @@ module Google
|
|
3546
3546
|
# See {Schema#time}.
|
3547
3547
|
#
|
3548
3548
|
# @param [String] name The field name. The name must contain only
|
3549
|
-
# letters (
|
3549
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3550
3550
|
# start with a letter or underscore. The maximum length is 128
|
3551
3551
|
# characters.
|
3552
3552
|
# @param [String] description A description of the field.
|
@@ -3578,7 +3578,7 @@ module Google
|
|
3578
3578
|
# See {Schema#datetime}.
|
3579
3579
|
#
|
3580
3580
|
# @param [String] name The field name. The name must contain only
|
3581
|
-
# letters (
|
3581
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3582
3582
|
# start with a letter or underscore. The maximum length is 128
|
3583
3583
|
# characters.
|
3584
3584
|
# @param [String] description A description of the field.
|
@@ -3610,7 +3610,7 @@ module Google
|
|
3610
3610
|
# See {Schema#date}.
|
3611
3611
|
#
|
3612
3612
|
# @param [String] name The field name. The name must contain only
|
3613
|
-
# letters (
|
3613
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3614
3614
|
# start with a letter or underscore. The maximum length is 128
|
3615
3615
|
# characters.
|
3616
3616
|
# @param [String] description A description of the field.
|
@@ -3642,7 +3642,7 @@ module Google
|
|
3642
3642
|
# @see https://cloud.google.com/bigquery/docs/gis-data Working with BigQuery GIS data
|
3643
3643
|
#
|
3644
3644
|
# @param [String] name The field name. The name must contain only
|
3645
|
-
# letters (
|
3645
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3646
3646
|
# start with a letter or underscore. The maximum length is 128
|
3647
3647
|
# characters.
|
3648
3648
|
# @param [String] description A description of the field.
|
@@ -3677,7 +3677,7 @@ module Google
|
|
3677
3677
|
# See {Schema#record}.
|
3678
3678
|
#
|
3679
3679
|
# @param [String] name The field name. The name must contain only
|
3680
|
-
# letters (
|
3680
|
+
# letters (`[A-Za-z]`), numbers (`[0-9]`), or underscores (`_`), and must
|
3681
3681
|
# start with a letter or underscore. The maximum length is 128
|
3682
3682
|
# characters.
|
3683
3683
|
# @param [String] description A description of the field.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: concurrent-ruby
|
@@ -270,6 +270,7 @@ files:
|
|
270
270
|
- lib/google/cloud/bigquery/dataset/list.rb
|
271
271
|
- lib/google/cloud/bigquery/encryption_configuration.rb
|
272
272
|
- lib/google/cloud/bigquery/external.rb
|
273
|
+
- lib/google/cloud/bigquery/external/avro_source.rb
|
273
274
|
- lib/google/cloud/bigquery/external/bigtable_source.rb
|
274
275
|
- lib/google/cloud/bigquery/external/bigtable_source/column.rb
|
275
276
|
- lib/google/cloud/bigquery/external/bigtable_source/column_family.rb
|