google-cloud-bigquery-connection-v1 0.5.3 → 0.6.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 +5 -1
- data/lib/google/cloud/bigquery/connection/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/connection/v1.rb +2 -0
- data/proto_docs/google/cloud/bigquery/connection/v1/connection.rb +22 -0
- metadata +3 -4
- data/proto_docs/google/protobuf/wrappers.rb +0 -121
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2212930b473af40f84dd119ba218805b621214114f08ebe4ef9d60800b8bbee8
|
4
|
+
data.tar.gz: 4ba0f8beba245b2a44e656b417e39ea2032e8aea165994fec5f1d019c9aebe5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 616481a9cacdabf0303b84c42d1d3c746c8bcd9b5eb67bd3a9d93a244abe7995c9a108831a3efa23f0d8c49a857c9cfd4273491f1da196d96879d449b3b6f900
|
7
|
+
data.tar.gz: f2355e233484b589b235bb6d0533d23892e0b6a9dd651bc2485cabe754b8465af6704d87002e4ec7c8b189b20f0227880d1d086a1181d8fafe499201c7dea675
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Bigquery::Connection::V1::CreateConnectionRequest.new
|
|
37
37
|
response = client.create_connection request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/bigquery/docs/reference/bigqueryconnection)
|
@@ -9,7 +9,6 @@ require 'google/iam/v1/iam_policy_pb'
|
|
9
9
|
require 'google/iam/v1/policy_pb'
|
10
10
|
require 'google/protobuf/empty_pb'
|
11
11
|
require 'google/protobuf/field_mask_pb'
|
12
|
-
require 'google/protobuf/wrappers_pb'
|
13
12
|
require 'google/protobuf'
|
14
13
|
|
15
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -50,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
50
49
|
optional :cloud_sql, :message, 4, "google.cloud.bigquery.connection.v1.CloudSqlProperties"
|
51
50
|
optional :aws, :message, 8, "google.cloud.bigquery.connection.v1.AwsProperties"
|
52
51
|
optional :cloud_spanner, :message, 21, "google.cloud.bigquery.connection.v1.CloudSpannerProperties"
|
52
|
+
optional :cloud_resource, :message, 22, "google.cloud.bigquery.connection.v1.CloudResourceProperties"
|
53
53
|
end
|
54
54
|
end
|
55
55
|
add_message "google.cloud.bigquery.connection.v1.CloudSqlProperties" do
|
@@ -86,6 +86,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
86
86
|
optional :iam_role_id, :string, 1
|
87
87
|
optional :identity, :string, 2
|
88
88
|
end
|
89
|
+
add_message "google.cloud.bigquery.connection.v1.CloudResourceProperties" do
|
90
|
+
optional :service_account_id, :string, 1
|
91
|
+
end
|
89
92
|
end
|
90
93
|
end
|
91
94
|
|
@@ -108,6 +111,7 @@ module Google
|
|
108
111
|
AwsProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsProperties").msgclass
|
109
112
|
AwsCrossAccountRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsCrossAccountRole").msgclass
|
110
113
|
AwsAccessRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsAccessRole").msgclass
|
114
|
+
CloudResourceProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.CloudResourceProperties").msgclass
|
111
115
|
end
|
112
116
|
end
|
113
117
|
end
|
@@ -26,6 +26,8 @@ module Google
|
|
26
26
|
##
|
27
27
|
# To load this package, including all its services, and instantiate a client:
|
28
28
|
#
|
29
|
+
# @example
|
30
|
+
#
|
29
31
|
# require "google/cloud/bigquery/connection/v1"
|
30
32
|
# client = ::Google::Cloud::Bigquery::Connection::V1::ConnectionService::Client.new
|
31
33
|
#
|
@@ -123,6 +123,9 @@ module Google
|
|
123
123
|
# @!attribute [rw] cloud_spanner
|
124
124
|
# @return [::Google::Cloud::Bigquery::Connection::V1::CloudSpannerProperties]
|
125
125
|
# Cloud Spanner properties.
|
126
|
+
# @!attribute [rw] cloud_resource
|
127
|
+
# @return [::Google::Cloud::Bigquery::Connection::V1::CloudResourceProperties]
|
128
|
+
# Cloud Resource properties.
|
126
129
|
# @!attribute [r] creation_time
|
127
130
|
# @return [::Integer]
|
128
131
|
# Output only. The creation timestamp of the connection.
|
@@ -238,6 +241,25 @@ module Google
|
|
238
241
|
include ::Google::Protobuf::MessageExts
|
239
242
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
240
243
|
end
|
244
|
+
|
245
|
+
# Container for connection properties for delegation of access to GCP
|
246
|
+
# resources.
|
247
|
+
# @!attribute [r] service_account_id
|
248
|
+
# @return [::String]
|
249
|
+
# Output only. The account ID of the service created for the purpose of this connection.
|
250
|
+
#
|
251
|
+
# The service account does not have any permissions associated with it
|
252
|
+
# when it is created. After creation, customers delegate permissions
|
253
|
+
# to the service account. When the connection is used in the context of an
|
254
|
+
# operation in BigQuery, the service account will be used to connect to the
|
255
|
+
# desired resources in GCP.
|
256
|
+
#
|
257
|
+
# The account ID is in the form of:
|
258
|
+
# <service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
|
259
|
+
class CloudResourceProperties
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
241
263
|
end
|
242
264
|
end
|
243
265
|
end
|
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: 0.6.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: 2022-
|
11
|
+
date: 2022-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -207,7 +207,6 @@ files:
|
|
207
207
|
- proto_docs/google/iam/v1/policy.rb
|
208
208
|
- proto_docs/google/protobuf/empty.rb
|
209
209
|
- proto_docs/google/protobuf/field_mask.rb
|
210
|
-
- proto_docs/google/protobuf/wrappers.rb
|
211
210
|
- proto_docs/google/type/expr.rb
|
212
211
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
213
212
|
licenses:
|
@@ -228,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
227
|
- !ruby/object:Gem::Version
|
229
228
|
version: '0'
|
230
229
|
requirements: []
|
231
|
-
rubygems_version: 3.3.
|
230
|
+
rubygems_version: 3.3.5
|
232
231
|
signing_key:
|
233
232
|
specification_version: 4
|
234
233
|
summary: API Client library for the BigQuery Connection V1 API
|
@@ -1,121 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2020 Google LLC
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
-
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Protobuf
|
22
|
-
# Wrapper message for `double`.
|
23
|
-
#
|
24
|
-
# The JSON representation for `DoubleValue` is JSON number.
|
25
|
-
# @!attribute [rw] value
|
26
|
-
# @return [::Float]
|
27
|
-
# The double value.
|
28
|
-
class DoubleValue
|
29
|
-
include ::Google::Protobuf::MessageExts
|
30
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
-
end
|
32
|
-
|
33
|
-
# Wrapper message for `float`.
|
34
|
-
#
|
35
|
-
# The JSON representation for `FloatValue` is JSON number.
|
36
|
-
# @!attribute [rw] value
|
37
|
-
# @return [::Float]
|
38
|
-
# The float value.
|
39
|
-
class FloatValue
|
40
|
-
include ::Google::Protobuf::MessageExts
|
41
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
-
end
|
43
|
-
|
44
|
-
# Wrapper message for `int64`.
|
45
|
-
#
|
46
|
-
# The JSON representation for `Int64Value` is JSON string.
|
47
|
-
# @!attribute [rw] value
|
48
|
-
# @return [::Integer]
|
49
|
-
# The int64 value.
|
50
|
-
class Int64Value
|
51
|
-
include ::Google::Protobuf::MessageExts
|
52
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
53
|
-
end
|
54
|
-
|
55
|
-
# Wrapper message for `uint64`.
|
56
|
-
#
|
57
|
-
# The JSON representation for `UInt64Value` is JSON string.
|
58
|
-
# @!attribute [rw] value
|
59
|
-
# @return [::Integer]
|
60
|
-
# The uint64 value.
|
61
|
-
class UInt64Value
|
62
|
-
include ::Google::Protobuf::MessageExts
|
63
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
-
end
|
65
|
-
|
66
|
-
# Wrapper message for `int32`.
|
67
|
-
#
|
68
|
-
# The JSON representation for `Int32Value` is JSON number.
|
69
|
-
# @!attribute [rw] value
|
70
|
-
# @return [::Integer]
|
71
|
-
# The int32 value.
|
72
|
-
class Int32Value
|
73
|
-
include ::Google::Protobuf::MessageExts
|
74
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
-
end
|
76
|
-
|
77
|
-
# Wrapper message for `uint32`.
|
78
|
-
#
|
79
|
-
# The JSON representation for `UInt32Value` is JSON number.
|
80
|
-
# @!attribute [rw] value
|
81
|
-
# @return [::Integer]
|
82
|
-
# The uint32 value.
|
83
|
-
class UInt32Value
|
84
|
-
include ::Google::Protobuf::MessageExts
|
85
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
-
end
|
87
|
-
|
88
|
-
# Wrapper message for `bool`.
|
89
|
-
#
|
90
|
-
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
91
|
-
# @!attribute [rw] value
|
92
|
-
# @return [::Boolean]
|
93
|
-
# The bool value.
|
94
|
-
class BoolValue
|
95
|
-
include ::Google::Protobuf::MessageExts
|
96
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
-
end
|
98
|
-
|
99
|
-
# Wrapper message for `string`.
|
100
|
-
#
|
101
|
-
# The JSON representation for `StringValue` is JSON string.
|
102
|
-
# @!attribute [rw] value
|
103
|
-
# @return [::String]
|
104
|
-
# The string value.
|
105
|
-
class StringValue
|
106
|
-
include ::Google::Protobuf::MessageExts
|
107
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
|
-
end
|
109
|
-
|
110
|
-
# Wrapper message for `bytes`.
|
111
|
-
#
|
112
|
-
# The JSON representation for `BytesValue` is JSON string.
|
113
|
-
# @!attribute [rw] value
|
114
|
-
# @return [::String]
|
115
|
-
# The bytes value.
|
116
|
-
class BytesValue
|
117
|
-
include ::Google::Protobuf::MessageExts
|
118
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|