google-cloud-bigquery-connection-v1 1.1.0 → 1.2.1
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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/bigquery/connection/v1/connection_service/client.rb +9 -2
- data/lib/google/cloud/bigquery/connection/v1/connection_service/rest/client.rb +8 -1
- data/lib/google/cloud/bigquery/connection/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/bigquery/connection/v1/connection.rb +18 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed0e8a87c04a222a08cf9abae2226ecdbf66c98bc4228eab958e66b5dda433f3
|
4
|
+
data.tar.gz: dde2215f3829a9db453d50618e2f5d852244f1ba50bba74619c9a617c7ccd5dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28465d7a407eaafd6a564f2fa65ed497bd1cb8bcf02005bbca3aa0968c4f5341330157eb47d44820717ff0975466dfc3a5bee9b3524b17845e9387f28968a0f4
|
7
|
+
data.tar.gz: addbc6c67842768cacc8b1eb86c9beb8061a692cfafb37e75f4f06f7d89ea48e4bb6abe3af80b097bc96abaa289ab41467590c06db1b306087bd19d0e291928c
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -990,6 +990,13 @@ module Google
|
|
990
990
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
991
991
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
992
992
|
# * (`nil`) indicating no credentials
|
993
|
+
#
|
994
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
995
|
+
# external source for authentication to Google Cloud, you must validate it before
|
996
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
997
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
998
|
+
# For more information, refer to [Validate credential configurations from external
|
999
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
993
1000
|
# @return [::Object]
|
994
1001
|
# @!attribute [rw] scope
|
995
1002
|
# The OAuth scopes
|
@@ -1044,8 +1051,8 @@ module Google
|
|
1044
1051
|
|
1045
1052
|
config_attr :endpoint, nil, ::String, nil
|
1046
1053
|
config_attr :credentials, nil do |value|
|
1047
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1048
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1054
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1055
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1049
1056
|
allowed.any? { |klass| klass === value }
|
1050
1057
|
end
|
1051
1058
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -925,6 +925,13 @@ module Google
|
|
925
925
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
926
926
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
927
927
|
# * (`nil`) indicating no credentials
|
928
|
+
#
|
929
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
930
|
+
# external source for authentication to Google Cloud, you must validate it before
|
931
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
932
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
933
|
+
# For more information, refer to [Validate credential configurations from external
|
934
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
928
935
|
# @return [::Object]
|
929
936
|
# @!attribute [rw] scope
|
930
937
|
# The OAuth scopes
|
@@ -972,7 +979,7 @@ module Google
|
|
972
979
|
|
973
980
|
config_attr :endpoint, nil, ::String, nil
|
974
981
|
config_attr :credentials, nil do |value|
|
975
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
982
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
976
983
|
allowed.any? { |klass| klass === value }
|
977
984
|
end
|
978
985
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -122,26 +122,40 @@ module Google
|
|
122
122
|
# @!attribute [rw] cloud_sql
|
123
123
|
# @return [::Google::Cloud::Bigquery::Connection::V1::CloudSqlProperties]
|
124
124
|
# Cloud SQL properties.
|
125
|
+
#
|
126
|
+
# Note: The following fields are mutually exclusive: `cloud_sql`, `aws`, `azure`, `cloud_spanner`, `cloud_resource`, `spark`, `salesforce_data_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
125
127
|
# @!attribute [rw] aws
|
126
128
|
# @return [::Google::Cloud::Bigquery::Connection::V1::AwsProperties]
|
127
129
|
# Amazon Web Services (AWS) properties.
|
130
|
+
#
|
131
|
+
# Note: The following fields are mutually exclusive: `aws`, `cloud_sql`, `azure`, `cloud_spanner`, `cloud_resource`, `spark`, `salesforce_data_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
128
132
|
# @!attribute [rw] azure
|
129
133
|
# @return [::Google::Cloud::Bigquery::Connection::V1::AzureProperties]
|
130
134
|
# Azure properties.
|
135
|
+
#
|
136
|
+
# Note: The following fields are mutually exclusive: `azure`, `cloud_sql`, `aws`, `cloud_spanner`, `cloud_resource`, `spark`, `salesforce_data_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
131
137
|
# @!attribute [rw] cloud_spanner
|
132
138
|
# @return [::Google::Cloud::Bigquery::Connection::V1::CloudSpannerProperties]
|
133
139
|
# Cloud Spanner properties.
|
140
|
+
#
|
141
|
+
# Note: The following fields are mutually exclusive: `cloud_spanner`, `cloud_sql`, `aws`, `azure`, `cloud_resource`, `spark`, `salesforce_data_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
134
142
|
# @!attribute [rw] cloud_resource
|
135
143
|
# @return [::Google::Cloud::Bigquery::Connection::V1::CloudResourceProperties]
|
136
144
|
# Cloud Resource properties.
|
145
|
+
#
|
146
|
+
# Note: The following fields are mutually exclusive: `cloud_resource`, `cloud_sql`, `aws`, `azure`, `cloud_spanner`, `spark`, `salesforce_data_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
137
147
|
# @!attribute [rw] spark
|
138
148
|
# @return [::Google::Cloud::Bigquery::Connection::V1::SparkProperties]
|
139
149
|
# Spark properties.
|
150
|
+
#
|
151
|
+
# Note: The following fields are mutually exclusive: `spark`, `cloud_sql`, `aws`, `azure`, `cloud_spanner`, `cloud_resource`, `salesforce_data_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
140
152
|
# @!attribute [rw] salesforce_data_cloud
|
141
153
|
# @return [::Google::Cloud::Bigquery::Connection::V1::SalesforceDataCloudProperties]
|
142
154
|
# Optional. Salesforce DataCloud properties. This field is intended for
|
143
155
|
# use only by Salesforce partner projects. This field contains properties
|
144
156
|
# for your Salesforce DataCloud connection.
|
157
|
+
#
|
158
|
+
# Note: The following fields are mutually exclusive: `salesforce_data_cloud`, `cloud_sql`, `aws`, `azure`, `cloud_spanner`, `cloud_resource`, `spark`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
145
159
|
# @!attribute [r] creation_time
|
146
160
|
# @return [::Integer]
|
147
161
|
# Output only. The creation timestamp of the connection.
|
@@ -260,10 +274,14 @@ module Google
|
|
260
274
|
# Authentication using Google owned AWS IAM user's access key to assume
|
261
275
|
# into customer's AWS IAM Role.
|
262
276
|
# Deprecated, do not use.
|
277
|
+
#
|
278
|
+
# Note: The following fields are mutually exclusive: `cross_account_role`, `access_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
263
279
|
# @!attribute [rw] access_role
|
264
280
|
# @return [::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole]
|
265
281
|
# Authentication using Google owned service account to assume into
|
266
282
|
# customer's AWS IAM Role.
|
283
|
+
#
|
284
|
+
# Note: The following fields are mutually exclusive: `access_role`, `cross_account_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
267
285
|
class AwsProperties
|
268
286
|
include ::Google::Protobuf::MessageExts
|
269
287
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery-connection-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -101,7 +100,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
101
100
|
licenses:
|
102
101
|
- Apache-2.0
|
103
102
|
metadata: {}
|
104
|
-
post_install_message:
|
105
103
|
rdoc_options: []
|
106
104
|
require_paths:
|
107
105
|
- lib
|
@@ -109,15 +107,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
107
|
requirements:
|
110
108
|
- - ">="
|
111
109
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
110
|
+
version: '3.0'
|
113
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
112
|
requirements:
|
115
113
|
- - ">="
|
116
114
|
- !ruby/object:Gem::Version
|
117
115
|
version: '0'
|
118
116
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
-
signing_key:
|
117
|
+
rubygems_version: 3.6.8
|
121
118
|
specification_version: 4
|
122
119
|
summary: Allows users to manage BigQuery connections to external data sources.
|
123
120
|
test_files: []
|