google-cloud-bigquery-connection-v1 0.7.0 → 0.10.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: 338b49103dea833bd3f3178a192a467307396e94f25045603dfcb566e7843b6c
4
- data.tar.gz: 7e42851da6de0337478c11cfab5150f39f13d184063796b3e5c3990fc196be49
3
+ metadata.gz: 7ef22af8ed90b56231671cb1f8c331218bc63e98534cb0614b5392114cd39885
4
+ data.tar.gz: 0077e96d7ae6005a384350444d10ec6cb044d129d4c31d94c3ae3ed8cad0902f
5
5
  SHA512:
6
- metadata.gz: 7daa689c66448f1c127129d36573f5f5529bd6819bcaa976182b4063a965ad9dd1cfcf542b712d8fe953d825d6bf216ecac13c40cafa6066bc6730a47cc26115
7
- data.tar.gz: 32841f59b16c67875bcc4012f278269889bdd49daffe663dd3bd45e5495ee51981c389c1d2918ce9fa77ad670ab6a15526bdc8ecffeec7d5d3ad94d388601ffd
6
+ metadata.gz: f718bf907e77181793af4e01844e597f497fdddf01341589e170d4912418c2191554016c94cd7acc4a08562abeb03b9e0476b1d5199de7ed52312db41da1c6d2
7
+ data.tar.gz: 1315143ad81baed1e1b92ca8e5b758eff174e8a837ce9edcbd2f17717680b24430d3dbd5b7b5783c505ee3b09ad15ea5475a7e008ca89c53d22ce485962bec78
data/README.md CHANGED
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/bigquery/connection/v1/connection.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/iam/v1/iam_policy_pb'
9
11
  require 'google/iam/v1/policy_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/bigquery/connection/v1/connection.proto", :syntax => :proto3) do
@@ -48,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
48
49
  oneof :properties do
49
50
  optional :cloud_sql, :message, 4, "google.cloud.bigquery.connection.v1.CloudSqlProperties"
50
51
  optional :aws, :message, 8, "google.cloud.bigquery.connection.v1.AwsProperties"
52
+ optional :azure, :message, 11, "google.cloud.bigquery.connection.v1.AzureProperties"
51
53
  optional :cloud_spanner, :message, 21, "google.cloud.bigquery.connection.v1.CloudSpannerProperties"
52
54
  optional :cloud_resource, :message, 22, "google.cloud.bigquery.connection.v1.CloudResourceProperties"
53
55
  end
@@ -57,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
57
59
  optional :database, :string, 2
58
60
  optional :type, :enum, 3, "google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType"
59
61
  optional :credential, :message, 4, "google.cloud.bigquery.connection.v1.CloudSqlCredential"
62
+ optional :service_account_id, :string, 5
60
63
  end
61
64
  add_enum "google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType" do
62
65
  value :DATABASE_TYPE_UNSPECIFIED, 0
@@ -86,6 +89,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
86
89
  optional :iam_role_id, :string, 1
87
90
  optional :identity, :string, 2
88
91
  end
92
+ add_message "google.cloud.bigquery.connection.v1.AzureProperties" do
93
+ optional :application, :string, 1
94
+ optional :client_id, :string, 2
95
+ optional :object_id, :string, 3
96
+ optional :customer_tenant_id, :string, 4
97
+ optional :redirect_uri, :string, 5
98
+ optional :federated_application_client_id, :string, 6
99
+ optional :identity, :string, 7
100
+ end
89
101
  add_message "google.cloud.bigquery.connection.v1.CloudResourceProperties" do
90
102
  optional :service_account_id, :string, 1
91
103
  end
@@ -111,6 +123,7 @@ module Google
111
123
  AwsProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsProperties").msgclass
112
124
  AwsCrossAccountRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsCrossAccountRole").msgclass
113
125
  AwsAccessRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AwsAccessRole").msgclass
126
+ AzureProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.AzureProperties").msgclass
114
127
  CloudResourceProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.connection.v1.CloudResourceProperties").msgclass
115
128
  end
116
129
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Connection
24
24
  module V1
25
- VERSION = "0.7.0"
25
+ VERSION = "0.10.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] azure
124
+ # @return [::Google::Cloud::Bigquery::Connection::V1::AzureProperties]
125
+ # Azure properties.
123
126
  # @!attribute [rw] cloud_spanner
124
127
  # @return [::Google::Cloud::Bigquery::Connection::V1::CloudSpannerProperties]
125
128
  # Cloud Spanner properties.
@@ -153,6 +156,13 @@ module Google
153
156
  # @!attribute [rw] credential
154
157
  # @return [::Google::Cloud::Bigquery::Connection::V1::CloudSqlCredential]
155
158
  # Input only. Cloud SQL credential.
159
+ # @!attribute [r] service_account_id
160
+ # @return [::String]
161
+ # Output only. The account ID of the service used for the purpose of this connection.
162
+ #
163
+ # When the connection is used in the context of an operation in
164
+ # BigQuery, this service account will serve as identity being used for
165
+ # connecting to the CloudSQL instance specified in this connection.
156
166
  class CloudSqlProperties
157
167
  include ::Google::Protobuf::MessageExts
158
168
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -199,6 +209,7 @@ module Google
199
209
  # @return [::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole]
200
210
  # Authentication using Google owned AWS IAM user's access key to assume
201
211
  # into customer's AWS IAM Role.
212
+ # Deprecated, do not use.
202
213
  # @!attribute [rw] access_role
203
214
  # @return [::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole]
204
215
  # Authentication using Google owned service account to assume into
@@ -242,6 +253,37 @@ module Google
242
253
  extend ::Google::Protobuf::MessageExts::ClassMethods
243
254
  end
244
255
 
256
+ # Container for connection properties specific to Azure.
257
+ # @!attribute [r] application
258
+ # @return [::String]
259
+ # Output only. The name of the Azure Active Directory Application.
260
+ # @!attribute [r] client_id
261
+ # @return [::String]
262
+ # Output only. The client id of the Azure Active Directory Application.
263
+ # @!attribute [r] object_id
264
+ # @return [::String]
265
+ # Output only. The object id of the Azure Active Directory Application.
266
+ # @!attribute [rw] customer_tenant_id
267
+ # @return [::String]
268
+ # The id of customer's directory that host the data.
269
+ # @!attribute [rw] redirect_uri
270
+ # @return [::String]
271
+ # The URL user will be redirected to after granting consent during connection
272
+ # setup.
273
+ # @!attribute [rw] federated_application_client_id
274
+ # @return [::String]
275
+ # The client id of the user's Azure Active Directory Application used for a
276
+ # federated connection.
277
+ # @!attribute [r] identity
278
+ # @return [::String]
279
+ # Output only. A unique Google-owned and Google-generated identity for the Connection.
280
+ # This identity will be used to access the user's Azure Active Directory
281
+ # Application.
282
+ class AzureProperties
283
+ include ::Google::Protobuf::MessageExts
284
+ extend ::Google::Protobuf::MessageExts::ClassMethods
285
+ end
286
+
245
287
  # Container for connection properties for delegation of access to GCP
246
288
  # resources.
247
289
  # @!attribute [r] service_account_id
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  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.7.0
4
+ version: 0.10.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-04-20 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.10'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '0.10'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -64,28 +64,28 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.25.1
67
+ version: 1.26.1
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.25.1
74
+ version: 1.26.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '5.14'
81
+ version: '5.16'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '5.14'
88
+ version: '5.16'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: minitest-focus
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- version: '12.0'
123
+ version: '13.0'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: '12.0'
130
+ version: '13.0'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: redcarpet
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -214,14 +214,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  requirements:
215
215
  - - ">="
216
216
  - !ruby/object:Gem::Version
217
- version: '2.5'
217
+ version: '2.6'
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  requirements: []
224
- rubygems_version: 3.3.5
224
+ rubygems_version: 3.3.14
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: API Client library for the BigQuery Connection V1 API