google-cloud-bigquery-connection-v1 0.18.0 → 1.0.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: e51602167b0c4fd6ca1123bcb8e3a382437b949b3ac303b53c7937ea7310f674
4
- data.tar.gz: 63d69a4401df9e8d078415124a554bd106784fba6cead963eeb4875b53da2086
3
+ metadata.gz: cb013b941ca047c8d2593796e5b8f9f8e0a8cbce4fa01825a899b8ad14646226
4
+ data.tar.gz: 58f4f1b1be367666f3329e8da495a69dcf7f479821f142fad81b6fdd508b80f5
5
5
  SHA512:
6
- metadata.gz: aff8552efd2b80330529672b4ac4e0a2a2b857573bb6e639a6204d8021ed1e0ca213f9aeb118c387b4ca2fd4b53fdb3219c4e40343571cd1ade94cd68c2b59a5
7
- data.tar.gz: d78ad076d70ebe1ce760c1669beced1a0806de17f8d3f0df80fbb6fab00ad798c0d3d5b131877596de57691c0798e67670fc9c8365ce9756462957cabbc647ab
6
+ metadata.gz: aa833c9e7e206b658ce14d337b408de9ff591172154cb5c512df3a245b3f4c387c47f231134403a2c4b45263757cbfa6dbfd6c4fd66f1860018f4a7bbff18ba4
7
+ data.tar.gz: 0d64b3c57cc103c47487dbb7ab7fbaca84d3660f8cb952ac562a47a3d415a069320420540f787322df29e7687740da2ccf79b8b05ed339600cd21755e58ded60
@@ -31,6 +31,9 @@ module Google
31
31
  # Manages external data source connections and credentials.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "bigqueryconnection.$UNIVERSE_DOMAIN$"
36
39
 
@@ -246,10 +249,11 @@ module Google
246
249
  # Customize the options with defaults
247
250
  metadata = @config.rpcs.create_connection.metadata.to_h
248
251
 
249
- # Set x-goog-api-client and x-goog-user-project headers
252
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
250
253
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
251
254
  lib_name: @config.lib_name, lib_version: @config.lib_version,
252
255
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
256
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
253
257
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
254
258
 
255
259
  header_params = {}
@@ -332,10 +336,11 @@ module Google
332
336
  # Customize the options with defaults
333
337
  metadata = @config.rpcs.get_connection.metadata.to_h
334
338
 
335
- # Set x-goog-api-client and x-goog-user-project headers
339
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
336
340
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
337
341
  lib_name: @config.lib_name, lib_version: @config.lib_version,
338
342
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
343
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
339
344
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
340
345
 
341
346
  header_params = {}
@@ -426,10 +431,11 @@ module Google
426
431
  # Customize the options with defaults
427
432
  metadata = @config.rpcs.list_connections.metadata.to_h
428
433
 
429
- # Set x-goog-api-client and x-goog-user-project headers
434
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
430
435
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
431
436
  lib_name: @config.lib_name, lib_version: @config.lib_version,
432
437
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
438
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
433
439
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
434
440
 
435
441
  header_params = {}
@@ -518,10 +524,11 @@ module Google
518
524
  # Customize the options with defaults
519
525
  metadata = @config.rpcs.update_connection.metadata.to_h
520
526
 
521
- # Set x-goog-api-client and x-goog-user-project headers
527
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
522
528
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
523
529
  lib_name: @config.lib_name, lib_version: @config.lib_version,
524
530
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
531
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
525
532
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
526
533
 
527
534
  header_params = {}
@@ -604,10 +611,11 @@ module Google
604
611
  # Customize the options with defaults
605
612
  metadata = @config.rpcs.delete_connection.metadata.to_h
606
613
 
607
- # Set x-goog-api-client and x-goog-user-project headers
614
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
608
615
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
609
616
  lib_name: @config.lib_name, lib_version: @config.lib_version,
610
617
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
618
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
611
619
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
612
620
 
613
621
  header_params = {}
@@ -695,10 +703,11 @@ module Google
695
703
  # Customize the options with defaults
696
704
  metadata = @config.rpcs.get_iam_policy.metadata.to_h
697
705
 
698
- # Set x-goog-api-client and x-goog-user-project headers
706
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
699
707
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
700
708
  lib_name: @config.lib_name, lib_version: @config.lib_version,
701
709
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
710
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
702
711
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
703
712
 
704
713
  header_params = {}
@@ -795,10 +804,11 @@ module Google
795
804
  # Customize the options with defaults
796
805
  metadata = @config.rpcs.set_iam_policy.metadata.to_h
797
806
 
798
- # Set x-goog-api-client and x-goog-user-project headers
807
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
799
808
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
800
809
  lib_name: @config.lib_name, lib_version: @config.lib_version,
801
810
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
811
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
802
812
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
803
813
 
804
814
  header_params = {}
@@ -892,10 +902,11 @@ module Google
892
902
  # Customize the options with defaults
893
903
  metadata = @config.rpcs.test_iam_permissions.metadata.to_h
894
904
 
895
- # Set x-goog-api-client and x-goog-user-project headers
905
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
896
906
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
897
907
  lib_name: @config.lib_name, lib_version: @config.lib_version,
898
908
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION
909
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
899
910
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
900
911
 
901
912
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # Manages external data source connections and credentials.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "bigqueryconnection.$UNIVERSE_DOMAIN$"
38
41
 
@@ -238,12 +241,13 @@ module Google
238
241
  # Customize the options with defaults
239
242
  call_metadata = @config.rpcs.create_connection.metadata.to_h
240
243
 
241
- # Set x-goog-api-client and x-goog-user-project headers
244
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
242
245
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
243
246
  lib_name: @config.lib_name, lib_version: @config.lib_version,
244
247
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
245
248
  transports_version_send: [:rest]
246
249
 
250
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
247
251
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
248
252
 
249
253
  options.apply_defaults timeout: @config.rpcs.create_connection.timeout,
@@ -317,12 +321,13 @@ module Google
317
321
  # Customize the options with defaults
318
322
  call_metadata = @config.rpcs.get_connection.metadata.to_h
319
323
 
320
- # Set x-goog-api-client and x-goog-user-project headers
324
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
321
325
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
322
326
  lib_name: @config.lib_name, lib_version: @config.lib_version,
323
327
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
324
328
  transports_version_send: [:rest]
325
329
 
330
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
326
331
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
327
332
 
328
333
  options.apply_defaults timeout: @config.rpcs.get_connection.timeout,
@@ -404,12 +409,13 @@ module Google
404
409
  # Customize the options with defaults
405
410
  call_metadata = @config.rpcs.list_connections.metadata.to_h
406
411
 
407
- # Set x-goog-api-client and x-goog-user-project headers
412
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
408
413
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
409
414
  lib_name: @config.lib_name, lib_version: @config.lib_version,
410
415
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
411
416
  transports_version_send: [:rest]
412
417
 
418
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
413
419
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
414
420
 
415
421
  options.apply_defaults timeout: @config.rpcs.list_connections.timeout,
@@ -489,12 +495,13 @@ module Google
489
495
  # Customize the options with defaults
490
496
  call_metadata = @config.rpcs.update_connection.metadata.to_h
491
497
 
492
- # Set x-goog-api-client and x-goog-user-project headers
498
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
493
499
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
494
500
  lib_name: @config.lib_name, lib_version: @config.lib_version,
495
501
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
496
502
  transports_version_send: [:rest]
497
503
 
504
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
498
505
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
499
506
 
500
507
  options.apply_defaults timeout: @config.rpcs.update_connection.timeout,
@@ -568,12 +575,13 @@ module Google
568
575
  # Customize the options with defaults
569
576
  call_metadata = @config.rpcs.delete_connection.metadata.to_h
570
577
 
571
- # Set x-goog-api-client and x-goog-user-project headers
578
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
572
579
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
573
580
  lib_name: @config.lib_name, lib_version: @config.lib_version,
574
581
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
575
582
  transports_version_send: [:rest]
576
583
 
584
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
577
585
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
578
586
 
579
587
  options.apply_defaults timeout: @config.rpcs.delete_connection.timeout,
@@ -652,12 +660,13 @@ module Google
652
660
  # Customize the options with defaults
653
661
  call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
654
662
 
655
- # Set x-goog-api-client and x-goog-user-project headers
663
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
656
664
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
657
665
  lib_name: @config.lib_name, lib_version: @config.lib_version,
658
666
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
659
667
  transports_version_send: [:rest]
660
668
 
669
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
661
670
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
662
671
 
663
672
  options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
@@ -745,12 +754,13 @@ module Google
745
754
  # Customize the options with defaults
746
755
  call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
747
756
 
748
- # Set x-goog-api-client and x-goog-user-project headers
757
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
749
758
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
750
759
  lib_name: @config.lib_name, lib_version: @config.lib_version,
751
760
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
752
761
  transports_version_send: [:rest]
753
762
 
763
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
754
764
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
755
765
 
756
766
  options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
@@ -835,12 +845,13 @@ module Google
835
845
  # Customize the options with defaults
836
846
  call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
837
847
 
838
- # Set x-goog-api-client and x-goog-user-project headers
848
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
839
849
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
840
850
  lib_name: @config.lib_name, lib_version: @config.lib_version,
841
851
  gapic_version: ::Google::Cloud::Bigquery::Connection::V1::VERSION,
842
852
  transports_version_send: [:rest]
843
853
 
854
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
844
855
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
845
856
 
846
857
  options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Connection
24
24
  module V1
25
- VERSION = "0.18.0"
25
+ VERSION = "1.0.0"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-connection-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 1.0.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common