google-cloud-bigquery-connection-v1 0.18.0 → 1.0.1

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: e51602167b0c4fd6ca1123bcb8e3a382437b949b3ac303b53c7937ea7310f674
4
- data.tar.gz: 63d69a4401df9e8d078415124a554bd106784fba6cead963eeb4875b53da2086
3
+ metadata.gz: fd3438d8ed95019fd6cfd5bf1ecdffecadb0b02746b2e6009ffb37c775f59ca6
4
+ data.tar.gz: 87cc599aee2951c7787cf52d60677381aa75b3f5cdbc7b81522d474497f0fc6b
5
5
  SHA512:
6
- metadata.gz: aff8552efd2b80330529672b4ac4e0a2a2b857573bb6e639a6204d8021ed1e0ca213f9aeb118c387b4ca2fd4b53fdb3219c4e40343571cd1ade94cd68c2b59a5
7
- data.tar.gz: d78ad076d70ebe1ce760c1669beced1a0806de17f8d3f0df80fbb6fab00ad798c0d3d5b131877596de57691c0798e67670fc9c8365ce9756462957cabbc647ab
6
+ metadata.gz: 94e1fcc135f11d853a1a0dadf037f91d9483c90f9cd315ff298a7299c3422dabc25ded9b61d3d3359dbc7a2c353396380e97f2b1a19a30b23696dda705d1e902
7
+ data.tar.gz: e009b5797129c265d89df2c8841eca89ddde3c64976d099f9a7e140b06c05bbe24a50edf97c1a24eb04eacee10374e04b00ecaeb8899a06598b9baf44919ec1a
@@ -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.1"
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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
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.1
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-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common