google-cloud-bigquery-connection-v1 0.4.2 → 0.5.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: 2286cbd9fa1266a75410195e5ce163e86787f64279eb0ba9b9a953128a6cf8f9
4
- data.tar.gz: '061490d9beb41fead63177ff3d3400c81911c51718876f54210de10c9fb49506'
3
+ metadata.gz: 62d11bcfff98ed5e5e2d68104d6afab2bfa9fe717f2f432b7577359944b6e689
4
+ data.tar.gz: 44d1194ea1f7027e026ba3cb4f7f0aa09f894bd5e00dc664982ab8a4030cca6b
5
5
  SHA512:
6
- metadata.gz: 22aa5389bd482b44e66654930587c937b23b6f576f847890a98d7444366c3ef866552fbc73a6cce7892b0bf2859a3af3bf0719b14885b7f563c719ac834a70ed
7
- data.tar.gz: f4b3307c28ccc09edb5a68220887512782785e63c7cb440be7e23bdb6a155a5702b45dd4aa7e844f239f61ce274bb5e4c18f7d823cee33ec877f8c5c234961ad
6
+ metadata.gz: b45c82b0d70ac3711cc8cb4179b23fed4825cec8a063188bf8fe8b4f0a141177fbdbe9bacea762197ed37f0ec44469141bd7d1dda034365f3cd557023128bb03
7
+ data.tar.gz: 649ca756e0d90535e8dc2cb3f36ef285716f1b7163325d12286df5a2e3d596ecb2b32de5140c61cdb31b42946959c8be145c4af80ab4f34e6db0eca3652ec319
@@ -49,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
49
49
  oneof :properties do
50
50
  optional :cloud_sql, :message, 4, "google.cloud.bigquery.connection.v1.CloudSqlProperties"
51
51
  optional :aws, :message, 8, "google.cloud.bigquery.connection.v1.AwsProperties"
52
+ optional :cloud_spanner, :message, 21, "google.cloud.bigquery.connection.v1.CloudSpannerProperties"
52
53
  end
53
54
  end
54
55
  add_message "google.cloud.bigquery.connection.v1.CloudSqlProperties" do
@@ -66,9 +67,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
66
67
  optional :username, :string, 1
67
68
  optional :password, :string, 2
68
69
  end
70
+ add_message "google.cloud.bigquery.connection.v1.CloudSpannerProperties" do
71
+ optional :database, :string, 1
72
+ optional :use_parallelism, :bool, 2
73
+ end
69
74
  add_message "google.cloud.bigquery.connection.v1.AwsProperties" do
70
75
  oneof :authentication_method do
71
76
  optional :cross_account_role, :message, 2, "google.cloud.bigquery.connection.v1.AwsCrossAccountRole"
77
+ optional :access_role, :message, 3, "google.cloud.bigquery.connection.v1.AwsAccessRole"
72
78
  end
73
79
  end
74
80
  add_message "google.cloud.bigquery.connection.v1.AwsCrossAccountRole" do
@@ -76,6 +82,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
76
82
  optional :iam_user_id, :string, 2
77
83
  optional :external_id, :string, 3
78
84
  end
85
+ add_message "google.cloud.bigquery.connection.v1.AwsAccessRole" do
86
+ optional :iam_role_id, :string, 1
87
+ optional :identity, :string, 2
88
+ end
79
89
  end
80
90
  end
81
91
 
@@ -94,8 +104,10 @@ module Google
94
104
  CloudSqlProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.CloudSqlProperties").msgclass
95
105
  CloudSqlProperties::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType").enummodule
96
106
  CloudSqlCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.CloudSqlCredential").msgclass
107
+ CloudSpannerProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.CloudSpannerProperties").msgclass
97
108
  AwsProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsProperties").msgclass
98
109
  AwsCrossAccountRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsCrossAccountRole").msgclass
110
+ AwsAccessRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsAccessRole").msgclass
99
111
  end
100
112
  end
101
113
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Connection
24
24
  module V1
25
- VERSION = "0.4.2"
25
+ VERSION = "0.5.0"
26
26
  end
27
27
  end
28
28
  end
@@ -120,6 +120,9 @@ module Google
120
120
  # @!attribute [rw] aws
121
121
  # @return [::Google::Cloud::Bigquery::Connection::V1::AwsProperties]
122
122
  # Amazon Web Services (AWS) properties.
123
+ # @!attribute [rw] cloud_spanner
124
+ # @return [::Google::Cloud::Bigquery::Connection::V1::CloudSpannerProperties]
125
+ # Cloud Spanner properties.
123
126
  # @!attribute [r] creation_time
124
127
  # @return [::Integer]
125
128
  # Output only. The creation timestamp of the connection.
@@ -176,11 +179,27 @@ module Google
176
179
  extend ::Google::Protobuf::MessageExts::ClassMethods
177
180
  end
178
181
 
182
+ # Connection properties specific to Cloud Spanner.
183
+ # @!attribute [rw] database
184
+ # @return [::String]
185
+ # Cloud Spanner database in the form `project/instance/database'
186
+ # @!attribute [rw] use_parallelism
187
+ # @return [::Boolean]
188
+ # If parallelism should be used when reading from Cloud Spanner
189
+ class CloudSpannerProperties
190
+ include ::Google::Protobuf::MessageExts
191
+ extend ::Google::Protobuf::MessageExts::ClassMethods
192
+ end
193
+
179
194
  # Connection properties specific to Amazon Web Services (AWS).
180
195
  # @!attribute [rw] cross_account_role
181
196
  # @return [::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole]
182
197
  # Authentication using Google owned AWS IAM user's access key to assume
183
198
  # into customer's AWS IAM Role.
199
+ # @!attribute [rw] access_role
200
+ # @return [::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole]
201
+ # Authentication using Google owned service account to assume into
202
+ # customer's AWS IAM Role.
184
203
  class AwsProperties
185
204
  include ::Google::Protobuf::MessageExts
186
205
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -204,6 +223,21 @@ module Google
204
223
  include ::Google::Protobuf::MessageExts
205
224
  extend ::Google::Protobuf::MessageExts::ClassMethods
206
225
  end
226
+
227
+ # Authentication method for Amazon Web Services (AWS) that uses Google owned
228
+ # Google service account to assume into customer's AWS IAM Role.
229
+ # @!attribute [rw] iam_role_id
230
+ # @return [::String]
231
+ # The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
232
+ # Connection.
233
+ # @!attribute [rw] identity
234
+ # @return [::String]
235
+ # A unique Google-owned and Google-generated identity for the Connection.
236
+ # This identity will be used to access the user's AWS IAM Role.
237
+ class AwsAccessRole
238
+ include ::Google::Protobuf::MessageExts
239
+ extend ::Google::Protobuf::MessageExts::ClassMethods
240
+ end
207
241
  end
208
242
  end
209
243
  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.2
4
+ version: 0.5.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: 2021-07-12 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common