google-cloud-bigquery-connection-v1 0.17.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/bigquery/connection/v1/connection_pb.rb +1 -1
- data/lib/google/cloud/bigquery/connection/v1/connection_service/client.rb +19 -8
- data/lib/google/cloud/bigquery/connection/v1/connection_service/rest/client.rb +19 -8
- data/lib/google/cloud/bigquery/connection/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb013b941ca047c8d2593796e5b8f9f8e0a8cbce4fa01825a899b8ad14646226
|
4
|
+
data.tar.gz: 58f4f1b1be367666f3329e8da495a69dcf7f479821f142fad81b6fdd508b80f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa833c9e7e206b658ce14d337b408de9ff591172154cb5c512df3a245b3f4c387c47f231134403a2c4b45263757cbfa6dbfd6c4fd66f1860018f4a7bbff18ba4
|
7
|
+
data.tar.gz: 0d64b3c57cc103c47487dbb7ab7fbaca84d3660f8cb952ac562a47a3d415a069320420540f787322df29e7687740da2ccf79b8b05ed339600cd21755e58ded60
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -14,7 +14,7 @@ require 'google/protobuf/empty_pb'
|
|
14
14
|
require 'google/protobuf/field_mask_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n4google/cloud/bigquery/connection/v1/connection.proto\x12#google.cloud.bigquery.connection.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
17
|
+
descriptor_data = "\n4google/cloud/bigquery/connection/v1/connection.proto\x12#google.cloud.bigquery.connection.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xba\x01\n\x17\x43reateConnectionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\nconnection\x18\x03 \x01(\x0b\x32/.google.cloud.bigquery.connection.v1.ConnectionB\x03\xe0\x41\x02\"Z\n\x14GetConnectionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,bigqueryconnection.googleapis.com/Connection\"\x7f\n\x16ListConnectionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x03 \x01(\t\"x\n\x17ListConnectionsResponse\x12\x17\n\x0fnext_page_token\x18\x01 \x01(\t\x12\x44\n\x0b\x63onnections\x18\x02 \x03(\x0b\x32/.google.cloud.bigquery.connection.v1.Connection\"\xdd\x01\n\x17UpdateConnectionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,bigqueryconnection.googleapis.com/Connection\x12H\n\nconnection\x18\x02 \x01(\x0b\x32/.google.cloud.bigquery.connection.v1.ConnectionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"]\n\x17\x44\x65leteConnectionRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,bigqueryconnection.googleapis.com/Connection\"\xda\x06\n\nConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rfriendly_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12L\n\tcloud_sql\x18\x04 \x01(\x0b\x32\x37.google.cloud.bigquery.connection.v1.CloudSqlPropertiesH\x00\x12\x41\n\x03\x61ws\x18\x08 \x01(\x0b\x32\x32.google.cloud.bigquery.connection.v1.AwsPropertiesH\x00\x12\x45\n\x05\x61zure\x18\x0b \x01(\x0b\x32\x34.google.cloud.bigquery.connection.v1.AzurePropertiesH\x00\x12T\n\rcloud_spanner\x18\x15 \x01(\x0b\x32;.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesH\x00\x12V\n\x0e\x63loud_resource\x18\x16 \x01(\x0b\x32<.google.cloud.bigquery.connection.v1.CloudResourcePropertiesH\x00\x12\x45\n\x05spark\x18\x17 \x01(\x0b\x32\x34.google.cloud.bigquery.connection.v1.SparkPropertiesH\x00\x12h\n\x15salesforce_data_cloud\x18\x18 \x01(\x0b\x32\x42.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesB\x03\xe0\x41\x01H\x00\x12\x1a\n\rcreation_time\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1f\n\x12last_modified_time\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1b\n\x0ehas_credential\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03:s\xea\x41p\n,bigqueryconnection.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}B\x0c\n\nproperties\"\xca\x02\n\x12\x43loudSqlProperties\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12R\n\x04type\x18\x03 \x01(\x0e\x32\x44.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType\x12P\n\ncredential\x18\x04 \x01(\x0b\x32\x37.google.cloud.bigquery.connection.v1.CloudSqlCredentialB\x03\xe0\x41\x04\x12\x1f\n\x12service_account_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\"F\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08POSTGRES\x10\x01\x12\t\n\x05MYSQL\x10\x02\"8\n\x12\x43loudSqlCredential\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\xb2\x01\n\x16\x43loudSpannerProperties\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x17\n\x0fuse_parallelism\x18\x02 \x01(\x08\x12\x17\n\x0fmax_parallelism\x18\x05 \x01(\x05\x12 \n\x18use_serverless_analytics\x18\x03 \x01(\x08\x12\x16\n\x0euse_data_boost\x18\x06 \x01(\x08\x12\x1a\n\rdatabase_role\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xcf\x01\n\rAwsProperties\x12Z\n\x12\x63ross_account_role\x18\x02 \x01(\x0b\x32\x38.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleB\x02\x18\x01H\x00\x12I\n\x0b\x61\x63\x63\x65ss_role\x18\x03 \x01(\x0b\x32\x32.google.cloud.bigquery.connection.v1.AwsAccessRoleH\x00\x42\x17\n\x15\x61uthentication_method\"^\n\x13\x41wsCrossAccountRole\x12\x13\n\x0biam_role_id\x18\x01 \x01(\t\x12\x18\n\x0biam_user_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xternal_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\"6\n\rAwsAccessRole\x12\x13\n\x0biam_role_id\x18\x01 \x01(\t\x12\x10\n\x08identity\x18\x02 \x01(\t\"\xcd\x01\n\x0f\x41zureProperties\x12\x18\n\x0b\x61pplication\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tclient_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tobject_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\x12\x63ustomer_tenant_id\x18\x04 \x01(\t\x12\x14\n\x0credirect_uri\x18\x05 \x01(\t\x12\'\n\x1f\x66\x65\x64\x65rated_application_client_id\x18\x06 \x01(\t\x12\x15\n\x08identity\x18\x07 \x01(\tB\x03\xe0\x41\x03\":\n\x17\x43loudResourceProperties\x12\x1f\n\x12service_account_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\"]\n\x16MetastoreServiceConfig\x12\x43\n\x11metastore_service\x18\x01 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n metastore.googleapis.com/Service\"]\n\x18SparkHistoryServerConfig\x12\x41\n\x10\x64\x61taproc_cluster\x18\x01 \x01(\tB\'\xe0\x41\x01\xfa\x41!\n\x1f\x64\x61taproc.googleapis.com/Cluster\"\xff\x01\n\x0fSparkProperties\x12\x1f\n\x12service_account_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x62\n\x18metastore_service_config\x18\x03 \x01(\x0b\x32;.google.cloud.bigquery.connection.v1.MetastoreServiceConfigB\x03\xe0\x41\x01\x12g\n\x1bspark_history_server_config\x18\x04 \x01(\x0b\x32=.google.cloud.bigquery.connection.v1.SparkHistoryServerConfigB\x03\xe0\x41\x01\"_\n\x1dSalesforceDataCloudProperties\x12\x14\n\x0cinstance_uri\x18\x01 \x01(\t\x12\x15\n\x08identity\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\ttenant_id\x18\x03 \x01(\t2\xcc\r\n\x11\x43onnectionService\x12\xe8\x01\n\x10\x43reateConnection\x12<.google.cloud.bigquery.connection.v1.CreateConnectionRequest\x1a/.google.cloud.bigquery.connection.v1.Connection\"e\xda\x41\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/connections:\nconnection\x12\xbb\x01\n\rGetConnection\x12\x39.google.cloud.bigquery.connection.v1.GetConnectionRequest\x1a/.google.cloud.bigquery.connection.v1.Connection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/connections/*}\x12\xce\x01\n\x0fListConnections\x12;.google.cloud.bigquery.connection.v1.ListConnectionsRequest\x1a<.google.cloud.bigquery.connection.v1.ListConnectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/connections\x12\xe4\x01\n\x10UpdateConnection\x12<.google.cloud.bigquery.connection.v1.UpdateConnectionRequest\x1a/.google.cloud.bigquery.connection.v1.Connection\"a\xda\x41\x1bname,connection,update_mask\x82\xd3\xe4\x93\x02=2//v1/{name=projects/*/locations/*/connections/*}:\nconnection\x12\xa8\x01\n\x10\x44\x65leteConnection\x12<.google.cloud.bigquery.connection.v1.DeleteConnectionRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/connections/*}\x12\xa9\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"^\xda\x41\x10resource,options\x82\xd3\xe4\x93\x02\x45\"@/v1/{resource=projects/*/locations/*/connections/*}:getIamPolicy:\x01*\x12\xa8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"]\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x45\"@/v1/{resource=projects/*/locations/*/connections/*}:setIamPolicy:\x01*\x12\xd3\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"h\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02K\"F/v1/{resource=projects/*/locations/*/connections/*}:testIamPermissions:\x01*\x1a~\xca\x41!bigqueryconnection.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xfd\x02\n\'com.google.cloud.bigquery.connection.v1P\x01ZGcloud.google.com/go/bigquery/connection/apiv1/connectionpb;connectionpb\xaa\x02#Google.Cloud.BigQuery.Connection.V1\xca\x02#Google\\Cloud\\BigQuery\\Connection\\V1\xea\x41Y\n\x1f\x64\x61taproc.googleapis.com/Cluster\x12\x36projects/{project}/regions/{region}/clusters/{cluster}\xea\x41^\n metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}b\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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,
|
@@ -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.
|
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-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,118 +58,6 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.1'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: google-style
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.26.3
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 1.26.3
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '5.16'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '5.16'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-focus
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '1.1'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '1.1'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: minitest-rg
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '5.2'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '5.2'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '13.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '13.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: redcarpet
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '3.0'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '3.0'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: simplecov
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.18'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.18'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: yard
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.9'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.9'
|
173
61
|
description: The BigQuery Connection API allows users to manage BigQuery connections
|
174
62
|
to external data sources. Note that google-cloud-bigquery-connection-v1 is a version-specific
|
175
63
|
client library. For most uses, we recommend installing the main client library google-cloud-bigquery-connection
|
@@ -221,14 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
221
109
|
requirements:
|
222
110
|
- - ">="
|
223
111
|
- !ruby/object:Gem::Version
|
224
|
-
version: '2.
|
112
|
+
version: '2.7'
|
225
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
114
|
requirements:
|
227
115
|
- - ">="
|
228
116
|
- !ruby/object:Gem::Version
|
229
117
|
version: '0'
|
230
118
|
requirements: []
|
231
|
-
rubygems_version: 3.5.
|
119
|
+
rubygems_version: 3.5.6
|
232
120
|
signing_key:
|
233
121
|
specification_version: 4
|
234
122
|
summary: Allows users to manage BigQuery connections to external data sources.
|