google-cloud-bigquery-connection-v1 0.11.0 → 0.13.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/bigquery/connection/v1/connection_pb.rb +15 -0
- data/lib/google/cloud/bigquery/connection/v1/connection_service/client.rb +2 -2
- data/lib/google/cloud/bigquery/connection/v1/connection_service/paths.rb +38 -0
- 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 +6 -0
- 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 +5 -0
- data/proto_docs/google/api/client.rb +9 -3
- data/proto_docs/google/cloud/bigquery/connection/v1/connection.rb +56 -0
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- metadata +6 -2
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -240,8 +246,8 @@ module Google
|
|
240
246
|
# Example of a YAML configuration::
|
241
247
|
#
|
242
248
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
249
|
+
# method_settings:
|
250
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
251
|
# long_running:
|
246
252
|
# initial_poll_delay:
|
247
253
|
# seconds: 60 # 1 minute
|
@@ -134,6 +134,9 @@ module Google
|
|
134
134
|
# @!attribute [rw] cloud_resource
|
135
135
|
# @return [::Google::Cloud::Bigquery::Connection::V1::CloudResourceProperties]
|
136
136
|
# Cloud Resource properties.
|
137
|
+
# @!attribute [rw] spark
|
138
|
+
# @return [::Google::Cloud::Bigquery::Connection::V1::SparkProperties]
|
139
|
+
# Spark properties.
|
137
140
|
# @!attribute [r] creation_time
|
138
141
|
# @return [::Integer]
|
139
142
|
# Output only. The creation timestamp of the connection.
|
@@ -329,6 +332,59 @@ module Google
|
|
329
332
|
include ::Google::Protobuf::MessageExts
|
330
333
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
331
334
|
end
|
335
|
+
|
336
|
+
# Configuration of the Dataproc Metastore Service.
|
337
|
+
# @!attribute [rw] metastore_service
|
338
|
+
# @return [::String]
|
339
|
+
# Optional. Resource name of an existing Dataproc Metastore service.
|
340
|
+
#
|
341
|
+
# Example:
|
342
|
+
#
|
343
|
+
# * `projects/[project_id]/locations/[region]/services/[service_id]`
|
344
|
+
class MetastoreServiceConfig
|
345
|
+
include ::Google::Protobuf::MessageExts
|
346
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
347
|
+
end
|
348
|
+
|
349
|
+
# Configuration of the Spark History Server.
|
350
|
+
# @!attribute [rw] dataproc_cluster
|
351
|
+
# @return [::String]
|
352
|
+
# Optional. Resource name of an existing Dataproc Cluster to act as a Spark
|
353
|
+
# History Server for the connection.
|
354
|
+
#
|
355
|
+
# Example:
|
356
|
+
#
|
357
|
+
# * `projects/[project_id]/regions/[region]/clusters/[cluster_name]`
|
358
|
+
class SparkHistoryServerConfig
|
359
|
+
include ::Google::Protobuf::MessageExts
|
360
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
361
|
+
end
|
362
|
+
|
363
|
+
# Container for connection properties to execute stored procedures for Apache
|
364
|
+
# Spark.
|
365
|
+
# @!attribute [r] service_account_id
|
366
|
+
# @return [::String]
|
367
|
+
# Output only. The account ID of the service created for the purpose of this
|
368
|
+
# connection.
|
369
|
+
#
|
370
|
+
# The service account does not have any permissions associated with it when
|
371
|
+
# it is created. After creation, customers delegate permissions to the
|
372
|
+
# service account. When the connection is used in the context of a stored
|
373
|
+
# procedure for Apache Spark in BigQuery, the service account will be used to
|
374
|
+
# connect to the desired resources in Google Cloud.
|
375
|
+
#
|
376
|
+
# The account ID is in the form of:
|
377
|
+
# bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
|
378
|
+
# @!attribute [rw] metastore_service_config
|
379
|
+
# @return [::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig]
|
380
|
+
# Optional. Dataproc Metastore Service configuration for the connection.
|
381
|
+
# @!attribute [rw] spark_history_server_config
|
382
|
+
# @return [::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig]
|
383
|
+
# Optional. Spark History Server configuration for the connection.
|
384
|
+
class SparkProperties
|
385
|
+
include ::Google::Protobuf::MessageExts
|
386
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
387
|
+
end
|
332
388
|
end
|
333
389
|
end
|
334
390
|
end
|
@@ -35,7 +35,8 @@ module Google
|
|
35
35
|
# only if the expression evaluates to `true`. A condition can add constraints
|
36
36
|
# based on attributes of the request, the resource, or both. To learn which
|
37
37
|
# resources support conditions in their IAM policies, see the
|
38
|
-
# [IAM
|
38
|
+
# [IAM
|
39
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
39
40
|
#
|
40
41
|
# **JSON example:**
|
41
42
|
#
|
@@ -58,7 +59,8 @@ module Google
|
|
58
59
|
# "condition": {
|
59
60
|
# "title": "expirable access",
|
60
61
|
# "description": "Does not grant access after Sep 2020",
|
61
|
-
# "expression": "request.time <
|
62
|
+
# "expression": "request.time <
|
63
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
62
64
|
# }
|
63
65
|
# }
|
64
66
|
# ],
|
@@ -112,7 +114,8 @@ module Google
|
|
112
114
|
# specify any valid version or leave the field unset.
|
113
115
|
#
|
114
116
|
# To learn which resources support conditions in their IAM policies, see the
|
115
|
-
# [IAM
|
117
|
+
# [IAM
|
118
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
116
119
|
# @!attribute [rw] bindings
|
117
120
|
# @return [::Array<::Google::Iam::V1::Binding>]
|
118
121
|
# Associates a list of `members`, or principals, with a `role`. Optionally,
|
@@ -305,7 +308,8 @@ module Google
|
|
305
308
|
# @return [::Array<::String>]
|
306
309
|
# Specifies the identities that do not cause logging for this type of
|
307
310
|
# permission.
|
308
|
-
# Follows the same format of
|
311
|
+
# Follows the same format of
|
312
|
+
# {::Google::Iam::V1::Binding#members Binding.members}.
|
309
313
|
class AuditLogConfig
|
310
314
|
include ::Google::Protobuf::MessageExts
|
311
315
|
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.
|
4
|
+
version: 0.13.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: 2023-
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -190,7 +190,11 @@ files:
|
|
190
190
|
- lib/google/cloud/bigquery/connection/v1/connection_service/client.rb
|
191
191
|
- lib/google/cloud/bigquery/connection/v1/connection_service/credentials.rb
|
192
192
|
- lib/google/cloud/bigquery/connection/v1/connection_service/paths.rb
|
193
|
+
- lib/google/cloud/bigquery/connection/v1/connection_service/rest.rb
|
194
|
+
- lib/google/cloud/bigquery/connection/v1/connection_service/rest/client.rb
|
195
|
+
- lib/google/cloud/bigquery/connection/v1/connection_service/rest/service_stub.rb
|
193
196
|
- lib/google/cloud/bigquery/connection/v1/connection_services_pb.rb
|
197
|
+
- lib/google/cloud/bigquery/connection/v1/rest.rb
|
194
198
|
- lib/google/cloud/bigquery/connection/v1/version.rb
|
195
199
|
- proto_docs/README.md
|
196
200
|
- proto_docs/google/api/client.rb
|