google-cloud-bigquery-connection-v1 0.10.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/bigquery/connection/v1/connection_pb.rb +2 -0
- data/lib/google/cloud/bigquery/connection/v1/connection_service/client.rb +4 -6
- data/lib/google/cloud/bigquery/connection/v1/connection_service/rest/client.rb +906 -0
- data/lib/google/cloud/bigquery/connection/v1/connection_service/rest/service_stub.rb +527 -0
- data/lib/google/cloud/bigquery/connection/v1/connection_service/rest.rb +54 -0
- data/lib/google/cloud/bigquery/connection/v1/connection_service.rb +7 -1
- data/lib/google/cloud/bigquery/connection/v1/rest.rb +39 -0
- data/lib/google/cloud/bigquery/connection/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/connection/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/bigquery/connection/v1/connection.rb +41 -14
- data/proto_docs/google/protobuf/duration.rb +98 -0
- metadata +15 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df3785ff03665bc77560721ee3fcf0474410e6b1cd98d67068c806c6617c3d00
|
4
|
+
data.tar.gz: 6f3c0e9bd45c86cccef7ddcc6cdeddea168c3fd7d3333f4afc4637fe2ed56bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cb937e69dfa9e02a7ce3fff916d2afe6f6f87ad1353f548900242d8ce06b2f6b786c90ef159d76db58d3d7d27195d220f61a95d7c246206fab4b9320280331e
|
7
|
+
data.tar.gz: 46c87c7675adbba24f41de7d157d88751645f1abf798d89aa6f4314cbe76b540d1c716d34f31c0467bd45560b299475c9931e4d1fa02e679a66d0cb5df7e6272
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the BigQuery Connection V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Allows users to manage BigQuery connections to external data sources.
|
4
4
|
|
5
5
|
The BigQuery Connection API allows users to manage BigQuery connections to external data sources.
|
6
6
|
|
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -73,6 +73,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
73
73
|
add_message "google.cloud.bigquery.connection.v1.CloudSpannerProperties" do
|
74
74
|
optional :database, :string, 1
|
75
75
|
optional :use_parallelism, :bool, 2
|
76
|
+
optional :use_serverless_analytics, :bool, 3
|
77
|
+
optional :database_role, :string, 4
|
76
78
|
end
|
77
79
|
add_message "google.cloud.bigquery.connection.v1.AwsProperties" do
|
78
80
|
oneof :authentication_method do
|
@@ -392,13 +392,11 @@ module Google
|
|
392
392
|
# # Call the list_connections method.
|
393
393
|
# result = client.list_connections request
|
394
394
|
#
|
395
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
396
|
-
# #
|
397
|
-
#
|
398
|
-
# # methods are also available for managing paging directly.
|
399
|
-
# result.each do |response|
|
395
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
396
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
397
|
+
# result.each do |item|
|
400
398
|
# # Each element is of type ::Google::Cloud::Bigquery::Connection::V1::Connection.
|
401
|
-
# p
|
399
|
+
# p item
|
402
400
|
# end
|
403
401
|
#
|
404
402
|
def list_connections request, options = nil
|